/**
 * Familie Ising — visuelles Theme (lädt nach den Seiten-Styles und überschreibt CSS-Variablen).
 */
:root {
  --bg: #f3f7f8;
  --bg-accent: #e6f2f5;
  --surface: #ffffff;
  --card: #ffffff;
  --text: #1a2328;
  --muted: #56616b;
  --accent: #1a7f96;
  --accent-dark: #156878;
  --accent-light: #dff0f4;
  --accent-warm: #c17a45;
  --border: #d8e3e8;
  --shadow: 0 8px 32px rgba(22, 32, 38, 0.08);
  --shadow-lg: 0 18px 48px rgba(22, 32, 38, 0.11);
  --radius: 14px;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(26, 127, 150, 0.09), transparent 70%),
    radial-gradient(ellipse 55% 45% at 100% 100%, rgba(193, 122, 69, 0.07), transparent 65%),
    radial-gradient(ellipse 40% 35% at 0% 80%, rgba(26, 127, 150, 0.05), transparent 60%),
    var(--bg);
}

main {
  animation: none;
}

/* —— Scroll-Reveal —— */
.isi-reveal {
  opacity: 0;
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--isi-reveal-delay, 0ms);
  will-change: opacity, transform;
}

.isi-reveal--up {
  transform: translate3d(0, 32px, 0);
}

.isi-reveal--left {
  transform: translate3d(-36px, 16px, 0);
}

.isi-reveal--right {
  transform: translate3d(36px, 16px, 0);
}

.isi-reveal--scale {
  transform: translate3d(0, 24px, 0) scale(0.96);
}

.isi-reveal.isi-reveal--visible {
  opacity: 1;
  transform: none;
}

@keyframes isi-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Header & Navigation —— */
.site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(216, 227, 232, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), 0 4px 24px rgba(22, 32, 38, 0.05);
}

.site-header__top {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}

.site-header__top .site-tag {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  text-align: left;
}

.site-header__top--index {
  justify-content: center;
  position: relative;
}

.site-header__top--index .site-header__lang {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.site-header__brand-mark {
  flex: 0 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.site-header__inner > .site-tag {
  display: block;
  width: 100%;
  margin: 0;
  text-align: center;
}

.site-header__inner--sub {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0;
}

.site-header__inner--sub > .site-tag {
  text-align: left;
  width: 100%;
  margin: 0;
}

.site-header__inner--sub .site-header__lang-row {
  margin: 0;
  padding: 0;
  min-height: 0;
  flex: 0 0 auto;
  flex-grow: 0;
  align-self: flex-end;
}

.site-header__inner--sub .site-header__nav-scroll {
  flex: 0 0 auto;
  flex-grow: 0;
}

.site-header__lang-row {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  line-height: 0;
}

.site-header__nav-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
  display: flex;
  justify-content: center;
}

.site-header__nav-scroll .site-nav {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  max-width: none;
  margin-inline: auto;
  justify-content: center;
}

.site-nav a {
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.site-nav a:hover {
  text-decoration: none;
  background: var(--accent-light);
  color: var(--accent-dark);
}

.site-nav a[aria-current="page"] {
  background: linear-gradient(135deg, var(--accent) 0%, #1e96a8 100%);
  color: #fff;
  box-shadow: 0 3px 12px rgba(26, 127, 150, 0.32);
}

@media (max-width: 640px) {
  .site-header__nav-scroll .site-nav a {
    font-size: clamp(0.88rem, 3.6vw, 1rem);
    padding: 0.42rem 0.62rem;
    letter-spacing: -0.005em;
  }

  .site-header__nav-scroll .site-nav {
    gap: 0.5rem;
  }

  .site-header__inner.site-header__inner--sub {
    gap: 0;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: nowrap;
  }

  .site-header:has(.site-header__inner--sub) {
    padding-top: 0.45rem;
    padding-bottom: 0.5rem;
  }

  .site-header__inner.site-header__inner--sub > .site-header__lang-row,
  .site-header__inner.site-header__inner--sub > .site-header__nav-scroll {
    flex: 0 0 auto;
    flex-grow: 0;
    min-height: 0;
  }

  .site-header__inner--sub .site-header__lang-row {
    justify-content: flex-end;
    align-self: flex-end;
    margin: 0;
    padding: 0;
    height: auto;
  }

  .site-header__inner--sub .site-header__lang {
    gap: 0.3rem;
    margin: 0;
    padding: 0;
    line-height: 0;
  }

  .site-header__inner--sub .site-lang-btn {
    padding: 0.1rem;
    border-width: 1px;
  }

  .site-header__inner--sub .site-lang-btn__flag {
    width: 26px;
    height: 18px;
  }

  .site-header__inner--sub > .site-tag {
    margin-top: 0.22rem;
    margin-bottom: 0.7rem;
    line-height: 1.35;
  }

  .site-header__inner--listing > .site-tag {
    margin-top: 0;
    margin-bottom: 0;
  }

  .site-header__inner--sub .site-header__nav-scroll {
    margin-top: 0;
  }

  /* FW / Apartment: Schriftzug und Sprach-Icons in einer Zeile, vertikal mittig */
  .site-header__inner--listing.site-header__inner--sub {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 0.5rem;
    row-gap: 0;
  }

  .site-header__inner--listing .site-header__lang-row {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    justify-self: end;
    align-self: center;
  }

  .site-header__inner--listing > .site-tag {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    margin: 0;
    text-align: left;
    line-height: 1.3;
  }

  .site-header__inner--listing .site-header__nav-scroll {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0.7rem;
  }

  .site-header__top--index .site-header__brand-mark {
    padding-inline: 3.25rem;
    box-sizing: border-box;
    width: 100%;
  }

  .site-header__top--index .site-header__logo {
    max-width: min(72vw, 22rem);
  }
}

@media (min-width: 641px) {
  .site-header__inner--sub {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
  }

  .site-header__inner--sub > .site-tag {
    order: 1;
    flex: 1 1 12rem;
    width: auto;
    margin-top: 0;
    margin-bottom: 0;
  }

  .site-header__inner--sub .site-header__lang-row {
    order: 3;
    width: auto;
    margin: 0;
    align-self: center;
    display: flex;
    align-items: center;
  }

  .site-header__inner--sub .site-header__nav-scroll {
    order: 2;
    width: auto;
    margin-top: 0;
    align-self: center;
    display: flex;
    align-items: center;
  }

  .site-header__inner--sub .site-lang-btn {
    padding: 0.2rem;
  }

  /* Startseite: Flaggen in einer Zeile mit der Navigation, vertikal mittig */
  .site-header__inner--index {
    display: grid;
    grid-template-columns: 1fr auto auto 1fr;
    grid-template-rows: auto auto auto;
    align-items: center;
    justify-items: center;
    column-gap: 0.85rem;
    row-gap: 0.5rem;
    width: 100%;
  }

  .site-header__inner--index .site-header__top--index {
    display: contents;
  }

  .site-header__inner--index .site-header__brand-mark {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
  }

  .site-header__inner--index > .site-tag {
    grid-column: 1 / -1;
    grid-row: 2;
    width: auto;
    text-align: center;
  }

  .site-header__inner--index .site-header__nav-scroll {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
    width: auto;
    display: flex;
    align-items: center;
  }

  .site-header__inner--index .site-header__lang {
    grid-column: 3;
    grid-row: 3;
    justify-self: start;
    align-self: center;
    position: static;
    top: auto;
    right: auto;
    transform: none;
  }
}

/* —— Typografie (Überschriften) —— */
.intro h1,
.hero__content h1,
main > h1,
.block__title,
.booking-panel__title,
.card h2,
.pick-card__body h2,
.faq-panel__title {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.block__title,
.booking-panel__title {
  position: relative;
  padding-bottom: 0.15rem;
}

.block__title::after,
.booking-panel__title::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: 0.45rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
}

.booking-panel__title::after {
  margin-inline: auto;
}

/* —— Startseite —— */
.intro {
  position: relative;
  padding: 1.6rem 1.15rem 1.5rem;
  margin-bottom: 2rem;
  overflow: hidden;
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 20px;
  border: 1px solid rgba(216, 227, 232, 0.85);
  background:
    linear-gradient(90deg, var(--accent-dark) 0%, var(--accent) 42%, #1e96a8 72%, var(--accent-warm) 100%) top / 100% 4px no-repeat,
    linear-gradient(180deg, rgba(26, 127, 150, 0.13) 0%, rgba(30, 170, 191, 0.06) 32%, rgba(193, 122, 69, 0.04) 55%, transparent 72%) top / 100% 100% no-repeat,
    linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(230, 242, 245, 0.58) 100%);
  box-shadow: var(--shadow);
}

.intro h1 {
  color: var(--accent-dark);
}

@media (min-width: 641px) {
  .intro p {
    max-width: none;
  }
}

.pick-card {
  border-radius: 18px;
  border-color: rgba(216, 227, 232, 0.9);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pick-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pick-card__img {
  transition: transform 0.45s ease;
}

.pick-card:hover .pick-card__img {
  transform: scale(1.05);
}

.pick-card__cta {
  background: linear-gradient(135deg, var(--accent) 0%, #1e96a8 100%);
  box-shadow: 0 4px 14px rgba(26, 127, 150, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pick-card:hover .pick-card__cta {
  box-shadow: 0 6px 18px rgba(26, 127, 150, 0.38);
}

/* —— Hero —— */
.hero {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.hero__overlay {
  background: linear-gradient(
    125deg,
    rgba(21, 104, 120, 0.62) 0%,
    rgba(26, 127, 150, 0.38) 42%,
    rgba(22, 32, 38, 0.52) 100%
  );
}

.hero__kicker {
  font-weight: 600;
  letter-spacing: 0.14em;
}

/* —— Inhaltsblöcke —— */
.block--accent {
  background: linear-gradient(135deg, #e8f5f8 0%, #f2faf9 48%, #fdf4eb 100%);
  border-color: rgba(26, 127, 150, 0.18);
  border-radius: 18px;
}

.perk-card {
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.perk-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 32, 38, 0.08);
}

.perk-card__icon {
  background: linear-gradient(135deg, var(--accent) 0%, #2aabbf 100%);
  box-shadow: 0 3px 10px rgba(26, 127, 150, 0.25);
}

/* —— Galerie —— */
.gallery__grid figure {
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery__grid figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(22, 32, 38, 0.12);
}

.gallery__grid img {
  transition: transform 0.45s ease;
}

.gallery__grid figure:hover img {
  transform: scale(1.06);
}

/* —— Buchung —— */
.booking-panel {
  border-radius: 20px;
  border-color: rgba(216, 227, 232, 0.95);
  box-shadow: var(--shadow-lg);
}

form button {
  background: linear-gradient(135deg, var(--accent) 0%, #1e96a8 100%);
  box-shadow: 0 4px 14px rgba(26, 127, 150, 0.28);
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

form button:hover:not(:disabled) {
  box-shadow: 0 6px 18px rgba(26, 127, 150, 0.38);
}

input:focus,
select:focus {
  outline-color: rgba(26, 127, 150, 0.35);
}

/* —— FAQ —— */
.faq-panel {
  border-radius: 18px;
  box-shadow: var(--shadow);
  border-color: rgba(216, 227, 232, 0.95);
}

.faq-panel[open] > summary {
  background: linear-gradient(180deg, var(--accent-light) 0%, rgba(255, 255, 255, 0.6) 100%);
}

.faq-item {
  border-radius: 12px;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(26, 127, 150, 0.25);
}

.faq-item[open] summary {
  color: var(--accent-dark);
}

/* —— Impressum & Karten —— */
.card {
  border-radius: 18px;
  border-color: rgba(216, 227, 232, 0.95);
  box-shadow: var(--shadow);
  transition: box-shadow 0.22s ease;
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

.card h2 {
  color: var(--accent-dark);
}

.card-gastgeber__img {
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(22, 32, 38, 0.1);
}

/* —— Footer —— */
.site-footer {
  margin-top: 2.75rem;
  padding: 1.5rem 1rem 0.5rem;
  border-top: none;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.65) 40%);
  border-radius: 20px 20px 0 0;
}

.site-footer__nav a {
  font-weight: 400;
}

/* —— News-Ticker —— */
.isi-news-ticker {
  background: linear-gradient(90deg, var(--accent-dark) 0%, var(--accent) 50%, #1e96a8 100%);
}

/* —— Floating Buttons —— */
.isi-float-btn {
  box-shadow: 0 6px 22px rgba(22, 32, 38, 0.2);
}

.isi-float-btn--phone {
  background: linear-gradient(145deg, #2a9cb0, var(--accent-dark));
}

/* —— Kalender & Zahlungsauswahl —— */
.controls .navBtn {
  background: linear-gradient(135deg, var(--accent) 0%, #1e96a8 100%);
  box-shadow: 0 3px 10px rgba(26, 127, 150, 0.3);
}

.pay-method-option:hover .pay-method-option__surface {
  box-shadow: 0 2px 10px rgba(26, 127, 150, 0.12);
}

.pay-method-option input:checked + .pay-method-option__surface {
  background: linear-gradient(180deg, var(--accent-light) 0%, #fff 100%);
  box-shadow: 0 0 0 1px rgba(26, 127, 150, 0.18), 0 4px 14px rgba(26, 127, 150, 0.12);
}

.pay-method-option input:checked + .pay-method-option__surface .pay-method-option__icon--card,
.pay-method-option input:checked + .pay-method-option__surface .pay-method-option__icon--bank,
.pay-method-option input:checked + .pay-method-option__surface .pay-method-option__icon--paypal {
  background: linear-gradient(180deg, var(--accent-light) 0%, #fff 100%);
}

.monthDisplay {
  background: linear-gradient(180deg, #eef5f7 0%, #e3edf0 100%);
  border-color: var(--border);
}

.calendar .day.free:not(.selected):not(.range) {
  background: #c5e8d8;
}

.calendar .day.free:not(.selected):not(.range):hover {
  background: #b0dfc9;
}

.calendar .day.selected {
  background: linear-gradient(145deg, var(--accent) 0%, #156878 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(21, 104, 120, 0.45);
  outline: 2px solid #fff;
  outline-offset: -1px;
  z-index: 1;
  position: relative;
}

.calendar .day.range {
  background: #7ec8db;
  color: #0a3d4a;
  font-weight: 600;
}

.calendar .day.selected:hover,
.calendar .day.range:hover {
  filter: brightness(1.03);
}

/* —— Barrierefreiheit —— */
@media (prefers-reduced-motion: reduce) {
  main {
    animation: none;
  }

  .isi-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pick-card,
  .pick-card__img,
  .perk-card,
  .gallery__grid figure,
  .gallery__grid img,
  .site-nav a,
  form button,
  .card {
    transition: none;
  }

  .pick-card:hover .pick-card__img,
  .gallery__grid figure:hover img {
    transform: none;
  }
}
