/* =====================================================================
   Blaue Lagune – Stylesheet
   ---------------------------------------------------------------------
   01 Schriften            08 Wohnungen
   02 Design-Tokens        09 Ausstattung & Fakten
   03 Basis                10 Galerie & Lightbox
   04 Layout & Typografie  11 Lage, Karte, Tour, CTA
   05 Buttons & Formulare  12 Unterseiten
   06 Header & Navigation  13 Footer
   07 Hero & Verfügbarkeit 14 Animationen & Hilfsklassen
   ===================================================================== */

/* 01 Schriften – lokal gehostet (keine Verbindung zu Google, DSGVO) --- */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-semibold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('../fonts/lora-var.woff') format('woff');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('../fonts/lora-italic-var.woff') format('woff');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

/* 02 Design-Tokens ---------------------------------------------------- */
/* Farben, Schriften, Größen und Abstände an EINER Stelle. Farbe ändern = nur hier anpassen. */
:root {
  --navy-950: #051a2b; /* Footer-Hintergrund */
  --navy-900: #072339; /* Dunkelblau: Überschriften, dunkle Bereiche */
  --navy-800: #0a3352; /* Navigationstext */
  --navy-700: #0d4669; /* Button-Hover */
  --blue-600: #0d6e9f; /* Hauptfarbe: Buttons, Links, Icons */
  --lagoon-500: #18a3cc; /* Lagunenblau (Fokus-Rahmen) */
  --lagoon-400: #3dbbe0; /* Slider-Fortschrittslinie */
  --lagoon-200: #a9e2f2; /* Helles Blau auf dunklem Grund */
  --lagoon-100: #e3f4f9; /* Sehr helles Blau: Icon-Hintergründe */
  --lagoon-50: #f2fafc; /* Hintergrund getönter Bereiche */
  --sand-100: #f7f3ec; /* Sandfarbener Bereich */
  --sand-200: #ece4d6;
  --ink: #0f2738; /* Fließtextfarbe */
  --muted: #58707f; /* Grauer Nebentext */
  --line: #dbe6ec; /* Rahmenlinien */
  --white: #fff;
  --danger: #b4232c;

  --font-display: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.06rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 1.8vw, 3.1rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.4vw, 5rem);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(7, 35, 57, 0.06);
  --shadow: 0 18px 50px -18px rgba(7, 35, 57, 0.28);
  --shadow-lg: 0 30px 80px -30px rgba(7, 35, 57, 0.45);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 03 Basis ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 var(--step-0)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--lagoon-400);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: var(--lagoon-200);
  color: var(--navy-900);
}
/* Alle Icons (SVG): Größe folgt der Schriftgröße, Farbe folgt der Textfarbe */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.icon--fill {
  fill: currentColor;
  stroke: none;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Sprunglink für Tastaturnutzer (sonst unsichtbar) */
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  background: var(--navy-900);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

/* 04 Layout & Typografie --------------------------------------------- */
/* Inhaltsbreite: max. 1200 px, mit seitlichem Abstand auf dem Handy */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
/* Standard-Abstand oben/unten für jeden Bereich */
.section {
  padding-block: clamp(72px, 9vw, 128px);
}
.section--tint {
  background: var(--lagoon-50);
}
.section--sand {
  background: var(--sand-100);
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--navy-900);
}
h1 {
  font-size: var(--step-4);
}
h2 {
  font-size: var(--step-3);
}
h3 {
  font-size: var(--step-1);
  line-height: 1.25;
}
p {
  margin: 0 0 1em;
}
.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--muted);
  font-weight: 400;
}
/* Kleine Überschrift in Großbuchstaben über den Titeln (z. B. „AUSSTATTUNG“) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font: 700 0.72rem/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--light {
  color: var(--lagoon-200);
}
/* Kopfzeile eines Bereichs: Titel links, Text/Link rechts */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-head h2 {
  max-width: 20ch;
}
.section-head p {
  max-width: 46ch;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 760px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}
.section-head--center h2 {
  max-width: 22ch;
}
.section-head--center p:last-child {
  margin-top: 14px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--blue-600);
  transition: gap 0.2s var(--ease);
}
.text-link:hover {
  gap: 12px;
}
.text-link--light {
  color: #fff;
}

/* 05 Buttons & Formulare --------------------------------------------- */
/* Buttons – Varianten: --primary (blau), --light (weiß), --ghost (durchsichtig), --outline, --sm (klein) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 0.95rem/1 var(--font-body);
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition:
    transform 0.2s var(--ease),
    background-color 0.2s,
    box-shadow 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: none;
}
.btn--primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(13, 110, 159, 0.7);
}
.btn--primary:hover {
  background: var(--navy-700);
}
.btn--light {
  background: #fff;
  color: var(--navy-900);
}
.btn--light:hover {
  background: var(--lagoon-100);
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}
.btn--outline {
  border-color: var(--line);
  color: var(--navy-900);
  background: #fff;
}
.btn--outline:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
}
.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.875rem;
}
.btn--block {
  width: 100%;
}

/* Formularfelder (Verfügbarkeitssuche + Kontaktformular) */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field > span,
.field-label {
  font: 600 0.74rem/1.2 var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.input,
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: 500 1rem/1.3 var(--font-body);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2358707f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--lagoon-500);
  box-shadow: 0 0 0 4px rgba(24, 163, 204, 0.15);
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--muted);
  cursor: pointer;
}
.check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--blue-600);
  flex: none;
}
.check a {
  color: var(--blue-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Unsichtbares Spam-Fangfeld im Kontaktformular */
.honeypot {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 06 Header & Navigation --------------------------------------------- */
/* Schwebender Header oben (bleibt beim Scrollen sichtbar) */
.site-header {
  position: fixed;
  inset: 14px 0 auto;
  z-index: 100;
  pointer-events: none;
}
.site-header__bar {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
  padding: 0 14px 0 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 40px -16px rgba(7, 35, 57, 0.35);
  transition:
    background-color 0.3s,
    box-shadow 0.3s;
}
.is-scrolled .site-header__bar {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 40px -18px rgba(7, 35, 57, 0.4);
}
.brand {
  display: flex;
  align-items: center;
  flex: none;
}
.brand img {
  width: auto;
  height: 46px;
}
/* Hauptmenü – auf dem Handy wird daraus ein Aufklapp-Menü (siehe @media unten) */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.93rem;
  color: var(--navy-800);
  transition:
    background-color 0.2s,
    color 0.2s;
}
.nav a:hover {
  background: var(--lagoon-100);
}
.nav a[aria-current='page'] {
  color: var(--blue-600);
}
.nav a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: currentColor;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--navy-800);
  background: transparent;
  border: 0;
  transition: background-color 0.2s;
}
.icon-btn:hover {
  background: var(--lagoon-100);
}
/* Sprachauswahl mit Flaggen (Markup erzeugt tools/i18n/build.py).
   <details> klappt auch ohne JavaScript auf; js/main.js schließt es bei Klick daneben / Esc. */
.lang-menu {
  position: relative;
}
.lang-menu__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 10px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 700 0.8rem/1 var(--font-body);
  letter-spacing: 0.06em;
  color: var(--navy-800);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.lang-menu__btn::-webkit-details-marker {
  display: none;
}
.lang-menu__btn:hover,
.lang-menu[open] .lang-menu__btn {
  border-color: var(--blue-600);
  color: var(--blue-600);
}
.lang-menu__btn .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}
.lang-menu[open] .lang-menu__btn .icon {
  transform: rotate(180deg);
}
/* Flaggen: gleich groß, leicht abgerundet, feiner Rand (Weiß auf Weiß sichtbar) */
.lang-menu img {
  width: 22px;
  height: 16px;
  flex: none;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(7, 35, 57, 0.15);
}
.lang-menu__list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 190px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  animation: langIn 0.18s var(--ease);
}
@keyframes langIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
.lang-menu__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.lang-menu__list a:hover {
  background: var(--lagoon-50);
  color: var(--blue-600);
}
.lang-menu__list a[aria-current] {
  background: var(--lagoon-100);
  font-weight: 700;
}
@media (max-width: 560px) {
  /* Handy: nur Flagge + Pfeil, damit der Kopf nicht überläuft */
  .lang-menu__btn span {
    display: none;
  }
  .lang-menu__btn {
    padding: 0 8px 0 10px;
  }
}
.nav-toggle {
  display: none;
}
.nav-toggle .icon {
  width: 24px;
  height: 24px;
}
.nav__extra {
  display: none;
}

@media (max-width: 1060px) {
  .nav-toggle {
    display: inline-grid;
  }
  .header-actions .btn {
    display: none;
  }
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.25s,
      transform 0.25s var(--ease),
      visibility 0.25s;
    pointer-events: auto;
    max-height: calc(100dvh - var(--header-h) - 60px);
    overflow: auto;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav a {
    padding: 14px 16px;
    font-size: 1.05rem;
    border-radius: 14px;
  }
  .nav a[aria-current='page'] {
    background: var(--lagoon-50);
  }
  .nav a[aria-current='page']::after {
    display: none;
  }
  .nav__extra {
    display: block;
    margin-top: 8px;
  }
  .nav__extra .btn {
    width: 100%;
    color: #fff;
  }
  .header-actions {
    margin-left: auto;
  }
}
@media (max-width: 560px) {
  :root {
    --header-h: 64px;
  }
  .site-header {
    inset: 10px 0 auto;
  }
  .site-header__bar {
    padding: 0 6px 0 14px;
    border-radius: 18px;
    gap: 8px;
  }
  .brand img {
    height: 36px;
  }
  .header-actions .icon-btn--social {
    display: none;
  }
}

/* 07 Hero & Verfügbarkeit -------------------------------------------- */
/* Startseiten-Slider: Bilder wechseln per js/main.js, Dauer in site-config.js (heroSlideDelay) */
.hero {
  position: relative;
  min-height: max(620px, 92svh);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--navy-900);
  overflow: hidden;
  isolation: isolate;
}
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero__slide.is-active {
  opacity: 1;
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 7.5s linear;
}
.hero__slide.is-active img {
  transform: scale(1);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(5, 26, 43, 0.55) 0%,
      rgba(5, 26, 43, 0.05) 30%,
      rgba(5, 26, 43, 0.1) 55%,
      rgba(5, 26, 43, 0.78) 100%
    ),
    linear-gradient(90deg, rgba(5, 26, 43, 0.45), transparent 60%);
}
.hero__content {
  padding-bottom: clamp(150px, 18vh, 200px);
  padding-top: calc(var(--header-h) + 80px);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  font: 600 0.74rem/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1 {
  color: #fff;
  max-width: 20ch;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}
.hero h1 em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--lagoon-200);
}
.hero__lead {
  max-width: 44ch;
  margin: 22px 0 32px;
  font-size: var(--step-1);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__controls {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(120px, 15vh, 160px);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__dots {
  display: flex;
  gap: 8px;
}
.hero__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition:
    width 0.35s var(--ease),
    background-color 0.3s;
}
.hero__dot.is-active {
  width: 30px;
  background: #fff;
}
.hero__arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(5, 26, 43, 0.25);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: background-color 0.2s;
}
.hero__arrow:hover {
  background: rgba(255, 255, 255, 0.2);
}
/* Fortschrittslinie unten im Slider */
.hero__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--lagoon-400);
  transform-origin: left;
  transform: scaleX(0);
}
.hero__progress.is-running {
  animation: heroProgress var(--delay, 6000ms) linear forwards;
}
@keyframes heroProgress {
  to {
    transform: scaleX(1);
  }
}

/* Verfügbarkeits-Karte, ragt etwas in den Slider hinein */
.booking {
  position: relative;
  z-index: 5;
  margin-top: -96px;
}
.booking__card {
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(219, 230, 236, 0.7);
}
.booking__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.booking__head h2 {
  font-size: var(--step-2);
}
.booking__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}
.booking__form {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr auto;
  gap: 12px;
  align-items: end;
}
.booking__results:not(:empty) {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.results__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 16px;
}
.results__head strong {
  font: 500 var(--step-1)/1.2 var(--font-display);
  color: var(--navy-900);
}
.results__head span {
  font-size: 0.85rem;
  color: var(--muted);
}
.results__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}
/* Einzelnes Suchergebnis (Wohnung frei) */
.result {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.result:hover {
  border-color: var(--lagoon-200);
  box-shadow: var(--shadow-sm);
}
.result img {
  width: 116px;
  height: 100%;
  min-height: 116px;
  object-fit: cover;
  border-radius: 14px;
}
.result h3 {
  font-size: 1.08rem;
  margin: 6px 0 4px;
}
.result p {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0 0 10px;
}
.result__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.result__actions a:first-child {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-600);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font: 700 0.7rem/1 var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #e5f6ec;
  color: #17673a;
}
.notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--sand-100);
}
.notice strong {
  display: block;
  color: var(--navy-900);
}
.notice span {
  color: var(--muted);
  font-size: 0.92rem;
}
.notice--error {
  background: #fdeef0;
  color: var(--danger);
}

@media (max-width: 900px) {
  .booking__form {
    grid-template-columns: 1fr 1fr;
  }
  .booking__form .btn {
    grid-column: 1/-1;
  }
}
@media (max-width: 560px) {
  .hero {
    min-height: max(600px, 88svh);
  }
  .hero__content {
    padding-bottom: 140px;
  }
  .hero__controls {
    left: 0;
    right: 0;
    bottom: 104px;
    justify-content: center;
  }
  .hero__arrow {
    display: none;
  }
  .hero__actions .btn--primary {
    flex: 1 1 100%;
  }
  .hero__actions .btn--ghost {
    display: none;
  }
  .hero__lead {
    margin: 16px 0 24px;
  }
  .booking {
    margin-top: -80px;
  }
  .booking__form {
    grid-template-columns: 1fr;
  }
  .result {
    grid-template-columns: 92px 1fr;
  }
  .result img {
    width: 92px;
    min-height: 92px;
  }
}

/* 08 Wohnungen -------------------------------------------------------- */
/* Faktenleiste unter den Wohnungen (5 Wohnungen · 2–8 Gäste …) */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(40px, 5vw, 64px);
  border-block: 1px solid var(--line);
}
.fact {
  /* Zahl bzw. Icon oben mittig, Beschriftung darunter */
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}
.fact + .fact {
  border-left: 1px solid var(--line);
}
.fact__value {
  font: 500 2.2rem/1 var(--font-display);
  color: var(--blue-600);
}
.fact__label {
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--muted);
}
.fact .icon {
  width: 34px;
  height: 34px;
  color: var(--blue-600);
  stroke-width: 1.5;
}

/* Wohnungskarten: 6 Wohnungen = 2 Reihen à 3 Karten (Tablet: 3 × 2, Handy: untereinander) */
.units {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.unit {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.3s;
}
.unit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.unit__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--lagoon-100);
}
.unit__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.unit:hover .unit__media img {
  transform: scale(1.04);
}
.unit__guests {
  position: absolute;
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  font: 600 0.8rem/1 var(--font-body);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.unit__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  padding: clamp(20px, 2.4vw, 28px);
}
.unit__body h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem);
}
.unit__subtitle {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Kleine Merkmal-Etiketten auf den Wohnungskarten */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--lagoon-50);
  border: 1px solid var(--lagoon-100);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy-800);
}
.chip .icon {
  width: 15px;
  height: 15px;
  color: var(--blue-600);
}
.unit__details {
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.unit__details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 0;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--blue-600);
  cursor: pointer;
  list-style: none;
}
.unit__details summary::-webkit-details-marker {
  display: none;
}
.unit__details summary .icon {
  transition: transform 0.25s var(--ease);
}
.unit__details[open] summary .icon {
  transform: rotate(180deg);
}
.unit__details dl {
  display: grid;
  gap: 14px;
  margin: 16px 0 4px;
}
.unit__details dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy-900);
}
.unit__details dt .icon {
  color: var(--blue-600);
  width: 17px;
  height: 17px;
}
.unit__details dd {
  margin: 2px 0 0 25px;
  font-size: 0.9rem;
  color: var(--muted);
}
/* ---------- Ausstattungs-Liste in „Weitere Details“ (2 Spalten mit Häkchen) ---------- */
.uamen {
  margin: 16px 0 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.uamen__title {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-900);
}
.uamen__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.uamen__list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--ink);
}
.uamen__list .icon {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--blue-600);
}

/* ---------- Wohnungs-Beschreibung: drehende Text-Kacheln (in „Weitere Details“) ---------- */
.udesc {
  margin: 4px 0 14px;
}
.udesc__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--navy-900);
}
.udesc__lead {
  margin: 4px 0 12px;
  font-size: 0.9rem;
  color: var(--muted);
}
/* 2 Spalten; die Rückseite legt sich beim Drehen über die ganze Breite (kein Verschieben der anderen Kacheln) */
.tiles {
  --tiles-gap: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--tiles-gap);
}
.tile {
  /* Flex, damit beide Kacheln einer Reihe gleich hoch sind */
  position: relative;
  display: flex;
  perspective: 900px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}
.tile__face {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-sm);
}
/* Vorderseite: farbige Kachel mit Symbol und Titel */
.tile__front {
  flex: 1;
  gap: 6px;
  min-height: 112px;
  padding: 12px;
  background: linear-gradient(150deg, var(--lagoon-100), var(--lagoon-50));
  border: 1px solid var(--line);
}
.tile:nth-child(4n + 2) .tile__front,
.tile:nth-child(4n + 3) .tile__front {
  background: linear-gradient(150deg, var(--sand-100), #fbf9f5);
}
.tile__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue-600);
  box-shadow: var(--shadow-sm);
}
.tile__front strong {
  font-size: 0.92rem;
  line-height: 1.25;
  color: var(--navy-900);
}
.tile__front small {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  font-size: 0.72rem;
  color: var(--blue-600);
}
.tile__front small .icon {
  width: 12px;
  height: 12px;
}
/* Rückseite: weiße Karte mit dem Text, liegt über der Kachelreihe (linke Kachel nach rechts,
   rechte Kachel nach links ausgerichtet), mindestens so hoch wie die Kachel */
.tile__back {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: calc(200% + var(--tiles-gap));
  min-height: 100%;
  display: none;
  gap: 6px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--lagoon-200);
  box-shadow: var(--shadow);
  transform-origin: left center;
  animation: tile-turn 0.45s var(--ease);
}
.tile:nth-child(even) .tile__back {
  left: auto;
  right: 0;
  transform-origin: right center;
}
.tile__back strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  color: var(--blue-600);
}
.tile__back > span {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink);
}
/* Ungerade Anzahl Kacheln: die letzte nimmt die ganze Breite, ihre Rückseite ebenso */
.tile:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.tile:last-child:nth-child(odd) .tile__front {
  min-height: 0;
}
.tile:last-child:nth-child(odd) .tile__back {
  width: 100%;
}
/* Gedrehte Kachel nach vorne holen, sonst liegen die Kacheln der nächsten Reihe über dem Text */
.tile[aria-expanded='true'],
.tile:focus-visible {
  z-index: 6;
}
@media (hover: hover) and (pointer: fine) {
  .tile:hover {
    z-index: 6;
  }
}
/* Umdrehen: Touch über aria-expanded (JS), Maus über :hover, Tastatur über Fokus.
   Beim Einblenden spielt die Dreh-Animation jedes Mal neu ab. */
.tile[aria-expanded='true'] .tile__back,
.tile:focus-visible .tile__back {
  display: flex;
}
@media (hover: hover) and (pointer: fine) {
  .tile:hover .tile__back {
    display: flex;
  }
}
@keyframes tile-turn {
  from {
    transform: rotateY(-90deg);
    opacity: 0.4;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.udesc__close {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--blue-600);
}
@media (prefers-reduced-motion: reduce) {
  .tile__back {
    animation: none;
  }
}
.unit__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}
.unit__actions .text-link {
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .units {
    grid-template-columns: repeat(2, 1fr);
  }
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }
  .fact:nth-child(3) {
    border-left: 0;
  }
  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 640px) {
  .units {
    grid-template-columns: 1fr;
  }
  .fact {
    padding: 20px 12px;
    gap: 8px;
  }
  .fact__value {
    font-size: 1.8rem;
  }
}

/* 09 Ausstattung ------------------------------------------------------ */
/* Ausstattungs-Kacheln: 4 pro Reihe, Inhalt zentriert */
.amenities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.amenity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}
.amenity:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.amenity__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--lagoon-100), #fff);
  border: 1px solid var(--lagoon-100);
  color: var(--blue-600);
}
.amenity__icon .icon {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}
.amenity h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.amenity p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
/* Freizeit & Grillen: Kacheln wie .amenity, mit Fakten-Etiketten und Link zur Galerie */
.leisure {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.leisure__tile {
  color: inherit;
  text-decoration: none;
}
a.leisure__tile:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 3px;
}
.leisure__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  /* Etiketten unten ausrichten → gleiche Höhe in allen Kacheln einer Reihe */
  margin: auto 0 0;
  padding-top: 14px;
  padding: 0;
  list-style: none;
}
.leisure__chips li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lagoon-100);
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 600;
}
.leisure__chips .icon {
  width: 13px;
  height: 13px;
  stroke-width: 2.4;
}
.leisure__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-600);
}
.leisure__more .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}
a.leisure__tile:hover .leisure__more .icon {
  transform: translateX(3px);
}
.leisure__more--soon {
  color: var(--muted);
  font-weight: 500;
}
/* Knopf mittig unter einem Kachel-Raster */
.section-cta {
  margin: 28px 0 0;
  text-align: center;
}
/* Kacheln dürfen schmaler werden als ihr Inhalt (sonst rutscht die Reihe aus dem Bild) */
.leisure .amenity {
  min-width: 0;
}
/* Handy: eine Kachel pro Zeile – wie bei den Ferienwohnungen */
@media (max-width: 640px) {
  .amenities.leisure {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 980px) {
  .amenities {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 420px) {
  .amenity {
    padding: 20px 16px;
  }
  .amenity__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
  }
}

/* 10 Galerie & Lightbox ---------------------------------------------- */
/* Bild-Mosaik auf der Startseite (1 großes + 4 kleine Bilder) */
.mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, clamp(180px, 20vw, 270px));
  gap: 12px;
}
.mosaic__item {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--lagoon-100);
}
.mosaic__item:first-child {
  grid-row: span 2;
}
.mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.mosaic__item:hover img {
  transform: scale(1.05);
}
.mosaic__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5, 26, 43, 0.35));
  opacity: 0;
  transition: opacity 0.3s;
}
.mosaic__item:hover::after {
  opacity: 1;
}
.mosaic__more {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy-900);
  font: 600 0.85rem/1 var(--font-body);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 760px) {
  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px;
    grid-auto-rows: 160px;
    gap: 10px;
  }
  .mosaic__item:first-child {
    grid-column: 1/-1;
    grid-row: auto;
  }
}

/* Galerie-Filter (Pool, Garten, Winter …) */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.filter {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-800);
  transition: all 0.2s;
}
.filter:hover {
  border-color: var(--blue-600);
}
.filter[aria-pressed='true'] {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}
.filter small {
  margin-left: 6px;
  font-weight: 500;
  opacity: 0.6;
}
/* Galerieseite: gleichmäßiges Raster, quadratische Vorschaubilder */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--lagoon-100);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.gallery__item:hover img {
  transform: scale(1.05);
}
.gallery__item[hidden] {
  display: none;
}
@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 560px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

/* Großansicht beim Klick auf ein Bild */
.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(3, 15, 25, 0.96);
  color: #fff;
  overscroll-behavior: contain;
}
.lightbox::backdrop {
  background: rgba(3, 15, 25, 0.9);
}
.lightbox[open] {
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.lightbox__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}
.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0 72px;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: calc(100dvh - 150px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  user-select: none;
}
.lightbox__caption {
  padding: 14px 18px 22px;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}
.lightbox__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: background-color 0.2s;
}
.lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.18);
}
.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__prev {
  left: 14px;
}
.lightbox__next {
  right: 14px;
}
@media (max-width: 640px) {
  .lightbox__stage {
    padding: 0 8px;
  }
  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: -62px;
    transform: none;
  }
  .lightbox__prev {
    left: 18px;
  }
  .lightbox__next {
    right: 18px;
  }
  .lightbox__caption {
    padding: 18px 80px 24px;
  }
}

/* 11 Lage, Karte, Tour, CTA ------------------------------------------ */
/* Zweispaltiges Layout: Text + Bilder */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.split--reverse {
  grid-template-columns: 1.1fr 1fr;
}
.split--reverse > :first-child {
  order: 2;
}
.split__copy p {
  color: var(--muted);
}
.split__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 26px;
}
/* Bildcollage: großes Bild + zwei überlappende kleine Bilder */
.stack {
  position: relative;
  min-height: 520px;
}
.stack img {
  position: absolute;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.stack img:nth-child(1) {
  inset: 0 18% 12% 0;
  width: 82%;
  height: 88%;
}
.stack img:nth-child(2) {
  right: 0;
  top: 8%;
  width: 38%;
  height: 36%;
  border: 6px solid #fff;
}
.stack img:nth-child(3) {
  right: 6%;
  bottom: 0;
  width: 44%;
  height: 40%;
  border: 6px solid #fff;
}
@media (max-width: 900px) {
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }
  .split--reverse > :first-child {
    order: 0;
  }
  .stack {
    min-height: 420px;
  }
}

/* Lage-Bereich mit Adresse und Karte */
.location {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}
.address {
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 18px 0 24px;
  color: var(--navy-900);
}
.mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 26px;
}
.mini-card {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
}
.mini-card strong {
  display: block;
  color: var(--navy-900);
}
.mini-card span {
  font-size: 0.85rem;
  color: var(--muted);
}
.map {
  position: relative;
  min-height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-800);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Platzhalter vor dem Laden von Google Maps (Datenschutz) */
.map__consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(7, 35, 57, 0.72), rgba(7, 35, 57, 0.86)),
    url('../images/bilder/klein/top6-titel.webp') center/cover;
}
.map__consent .icon {
  width: 40px;
  height: 40px;
  stroke-width: 1.4;
  color: var(--lagoon-200);
}
.map__consent p {
  max-width: 40ch;
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}
.map__consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 900px) {
  .location {
    grid-template-columns: 1fr;
  }
  .map {
    min-height: 380px;
  }
}

/* 360°-Tour-Bereich: links Tour/Platzhalter, rechts Text */
.tour {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  background: var(--navy-900);
  color: #fff;
}
.tour__frame {
  position: relative;
  min-height: 520px;
  background: var(--navy-950);
}
.tour__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.tour__poster {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
}
.tour__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.tour__poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(5, 26, 43, 0.25), rgba(5, 26, 43, 0.8));
}
.tour__poster-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 32px;
  max-width: 440px;
}
.tour__badge {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  font: 500 2rem/1 var(--font-display);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  animation: tourPulse 3s ease-in-out infinite;
}
@keyframes tourPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(169, 226, 242, 0.45);
  }
  50% {
    box-shadow: 0 0 0 18px rgba(169, 226, 242, 0);
  }
}
.tour__soon {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}
.tour__poster small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
}
[hidden] {
  display: none !important;
}
.tour__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 90px);
}
.tour__copy h2 {
  color: #fff;
}
.tour__copy p {
  color: rgba(255, 255, 255, 0.75);
  margin: 18px 0 26px;
}
@media (max-width: 900px) {
  .tour {
    grid-template-columns: 1fr;
  }
  .tour__frame {
    min-height: 380px;
  }
}

/* Abschluss-Banner mit Hintergrundbild */
.cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: var(--navy-900);
}
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(7, 35, 57, 0.2), rgba(7, 35, 57, 0.85));
}
.cta .container {
  position: relative;
  z-index: 1;
}
.cta h2 {
  color: #fff;
  max-width: 18ch;
  margin: 0 auto 30px;
}

/* 12 Unterseiten ------------------------------------------------------ */
/* Kopfbereich der Unterseiten (Galerie, Bodensee, Kontakt …) */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 110px) 0 clamp(56px, 7vw, 96px);
  color: #fff;
  background: var(--navy-900);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(5, 26, 43, 0.88) 10%,
    rgba(5, 26, 43, 0.45) 70%,
    rgba(5, 26, 43, 0.3)
  );
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 1.8rem + 3.6vw, 4.6rem);
}
.page-hero p:not(.eyebrow) {
  max-width: 52ch;
  margin: 18px 0 0;
  font-size: var(--step-1);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}
.page-hero--plain {
  padding-bottom: clamp(48px, 5vw, 72px);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
}
.page-hero--plain::after {
  display: none;
}

/* Textseiten (Impressum, Datenschutz): gut lesbare Zeilenlänge */
.prose {
  max-width: 760px;
}
.prose h2 {
  font-size: var(--step-2);
  margin: 2.2em 0 0.6em;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 1.15rem;
  margin: 1.6em 0 0.4em;
}
.prose p,
.prose li {
  color: #3b5464;
}
.prose ul {
  padding-left: 1.2em;
}
.prose li {
  margin-bottom: 0.35em;
}
.prose a {
  color: var(--blue-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose dl {
  display: grid;
  grid-template-columns: minmax(140px, max-content) 1fr;
  gap: 8px 24px;
  margin: 0 0 1.5em;
}
.prose dt {
  font-weight: 600;
  color: var(--navy-900);
}
.prose dd {
  margin: 0;
  color: #3b5464;
}
/* Gelbe Markierung für noch fehlende Angaben – vor dem Livegang ersetzen */
.todo {
  background: #fff4d6;
  color: #7a5200;
  padding: 1px 6px;
  border-radius: 6px;
  border: 1px dashed #e0b44c;
  font-size: 0.92em;
  font-style: normal;
}
.info-box {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--lagoon-50);
  border: 1px solid var(--lagoon-100);
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 2em;
}

/* FAQ-Akkordeon (aufklappbare Fragen) */
.faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition:
    box-shadow 0.25s,
    border-color 0.25s;
}
.faq details[open] {
  border-color: var(--lagoon-200);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  font: 500 1.12rem/1.35 var(--font-display);
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .icon {
  flex: none;
  color: var(--blue-600);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary .icon {
  transform: rotate(45deg);
}
.faq__body {
  padding: 0 22px 20px;
  color: var(--muted);
}
.faq__body p:last-child {
  margin: 0;
}

/* Anlage & Hausordnung (anlage.html): aufklappbare Bereiche mit Symbol, Regeln und Fotoreihe */
.facility__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 860px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.facility__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--lagoon-100);
  color: var(--blue-600);
  font-size: 0.9rem;
}
.facility__facts .icon {
  width: 16px;
  height: 16px;
}
.facility summary {
  justify-content: flex-start;
}
.facility__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--lagoon-100), #fff);
  border: 1px solid var(--lagoon-100);
}
.facility__icon .icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.6;
}
.facility__title {
  flex: 1;
}
.facility__body h3 {
  margin: 18px 0 8px;
  font-size: 1rem;
  color: var(--ink, #072339);
}
.facility__rules {
  margin: 0;
  padding-left: 1.2em;
}
.facility__rules li {
  margin-bottom: 6px;
}
.facility__photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.facility__all {
  grid-column: 1 / -1;
}
.facility__photos:empty {
  display: none;
}
.facility__soon {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.9rem;
}
.facility__soon .icon {
  width: 16px;
  height: 16px;
  color: var(--blue-600);
}
/* Nur das Plus-Symbol dreht sich beim Aufklappen – nicht das Bereichs-Symbol */
.faq .facility[open] summary .facility__icon .icon {
  transform: none;
}
/* Hausordnung: Regel-Karten mit Symbol */
.rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}
.rule {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.rule .amenity__icon {
  flex: none;
  width: 48px;
  height: 48px;
  margin: 0;
}
.rule h3 {
  margin: 2px 0 6px;
  font-size: 1.08rem;
}
.rule p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}
/* „Allgemein“ über die ganze Breite, darunter die 6 nummerierten Regeln */
@media (min-width: 640px) {
  .rule:first-child {
    grid-column: 1 / -1;
  }
}
.rules__thanks {
  margin: 26px auto 0;
  max-width: 640px;
  text-align: center;
  font: italic 500 1.08rem/1.5 var(--font-display);
  color: var(--blue-600);
}
@media (max-width: 420px) {
  .rules {
    grid-template-columns: 1fr;
  }
  .rule {
    padding: 18px;
  }
}

/* Über-uns-Seite: Bild links, Text rechts */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.about__img {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__copy p:not(.eyebrow):not(.lead) {
  color: #3b5464;
  font-size: 1.05rem;
}
.about__copy .lead {
  margin-bottom: 1em;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--lagoon-50);
  border: 1px solid var(--lagoon-100);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy-800);
}
.pill .icon {
  color: var(--blue-600);
  width: 16px;
  height: 16px;
}
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
  }
  .about__img {
    position: static;
    aspect-ratio: 16/11;
  }
}

/* Kontaktseite: Infokarte links, Formular rechts */
.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.contact__aside {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
}
.contact__aside h2 {
  color: #fff;
  font-size: var(--step-2);
  margin-bottom: 12px;
}
.contact__aside p {
  color: rgba(255, 255, 255, 0.75);
}
.contact__list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.contact__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.9);
}
.contact__list .icon {
  color: var(--lagoon-200);
  margin-top: 2px;
}
.contact__list a:hover {
  text-decoration: underline;
}
/* Telefonnummern mit Sprach-Flagge (Deutsch = Österreich, Englisch = UK).
   Kommt per CSS, damit alle 11 Sprachversionen sie ohne HTML-Änderung bekommen. */
.contact__list [data-config-phone]::before {
  content: '';
  display: inline-block;
  width: 21px;
  height: 14px;
  margin-right: 8px;
  vertical-align: -1px;
  border-radius: 2px;
  background: center / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.contact__list [data-config-phone='de']::before {
  background-image: url('../images/flags/de.svg');
}
.contact__list [data-config-phone='en']::before {
  background-image: url('../images/flags/en.svg');
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.form .full {
  grid-column: 1/-1;
}
.form__section {
  grid-column: 1/-1;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font: 500 1.15rem/1.2 var(--font-display);
  color: var(--navy-900);
}
.form__section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
/* „Ich bin kein Roboter“-Box (Logik: js/main.js Abschnitt 8, Prüfung: anfrage.php)
   Zustände über data-state: idle | working (Kreisel) | done (Haken) | error (roter Rahmen) */
.captcha {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  max-width: 600px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--lagoon-50);
}
.captcha__box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
/* Das Kästchen */
.captcha__tick {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border: 2px solid #9fb4c1;
  border-radius: 6px;
  background: var(--white);
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.captcha__tick .icon {
  width: 18px;
  height: 18px;
  color: var(--white);
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.captcha__box:hover .captcha__tick,
.captcha__box:focus-visible .captcha__tick {
  border-color: var(--blue-600);
}
.captcha__status {
  flex: 1 1 auto;
  white-space: nowrap;
  font-size: var(--step--1);
  color: var(--muted);
}
/* Kleiner Hinweis rechts: Schild + „Spam-Schutz ohne Cookies“ */
.captcha__brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 0.7rem;
  line-height: 1.2;
  color: var(--muted);
}
.captcha__brand .icon {
  width: 20px;
  height: 20px;
  color: var(--blue-600);
}
/* working: Kästchen wird zum Lade-Kreisel */
.captcha[data-state='working'] .captcha__tick {
  border-color: var(--lagoon-200);
  border-top-color: var(--blue-600);
  border-radius: 50%;
  animation: captcha-spin 0.8s linear infinite;
}
/* done: blaues Kästchen mit weißem Haken */
.captcha[data-state='done'] .captcha__tick {
  border-color: var(--blue-600);
  background: var(--blue-600);
}
.captcha[data-state='done'] .captcha__tick .icon {
  opacity: 1;
  transform: none;
}
.captcha[data-state='done'] .captcha__status {
  color: var(--blue-600);
  font-weight: 600;
}
.captcha[data-state='done'] .captcha__box {
  cursor: default;
}
/* error: z. B. Absenden ohne Bestätigung */
.captcha[data-state='error'] {
  border-color: var(--danger);
}
.captcha[data-state='error'] .captcha__status {
  color: var(--danger);
  font-weight: 600;
}
/* Handy: oben die Box, darunter Status links + Hinweis rechts */
@media (max-width: 480px) {
  .captcha__box {
    flex-basis: 100%;
  }
}
@keyframes captcha-spin {
  to {
    transform: rotate(360deg);
  }
}
.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.form__foot small {
  color: var(--muted);
}
@media (max-width: 900px) {
  .contact {
    grid-template-columns: 1fr;
  }
  .contact__aside {
    position: static;
  }
}
@media (max-width: 560px) {
  .form {
    grid-template-columns: 1fr;
  }
  .form__foot .btn {
    width: 100%;
  }
}

/* Bodensee-Seite: Ausflugsideen mit Icons */
.lake-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lake-card {
  /* Inhalt zentriert – gleiche Optik wie die Ausstattungs-Kacheln */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 30px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.lake-card .icon {
  /* Icon im hellblauen Quadrat (wie .amenity__icon) – rein per CSS, kein Extra-HTML nötig */
  width: 60px;
  height: 60px;
  padding: 16px;
  margin-bottom: 8px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--lagoon-100), #fff);
  border: 1px solid var(--lagoon-100);
  color: var(--blue-600);
  stroke-width: 1.5;
}
.lake-card h3 {
  font-size: 1.2rem;
}
.lake-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}
@media (max-width: 900px) {
  .lake-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .lake-grid {
    grid-template-columns: 1fr;
  }
}

/* Danke-/Fehlerseite nach dem Absenden des Formulars (anfrage.php) */
.status-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 80px) 0 80px;
  background: var(--lagoon-50);
}
.status-card {
  max-width: 640px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}
.status-card .icon {
  width: 56px;
  height: 56px;
  color: var(--blue-600);
  stroke-width: 1.4;
  margin-bottom: 18px;
}
.status-card p {
  color: var(--muted);
  margin: 16px 0 28px;
}

/* Bodensee-Seite: drei Highlight-Karten mit Foto */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.photo-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s;
}
.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.photo-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.photo-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.photo-card:hover .photo-card__img img {
  transform: scale(1.05);
}
.photo-card__body {
  padding: 22px 24px 26px;
}
.photo-card__body h3 {
  margin-bottom: 8px;
}
.photo-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}
@media (max-width: 900px) {
  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .photo-card:first-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 600px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
  .photo-card:first-child {
    grid-column: auto;
  }
}

/* Inhaltsverzeichnis der Datenschutzerklärung */
.toc {
  margin: 28px 0 8px;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}
.toc strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy-900);
}
.toc ol {
  columns: 2 220px;
  column-gap: 28px;
  margin: 0;
  padding-left: 1.3em;
}
.toc li {
  margin: 0 0 6px;
  font-size: 0.92rem;
}
.toc a {
  text-decoration: none;
}
.toc a:hover {
  text-decoration: underline;
}
.prose code {
  font-size: 0.88em;
  background: var(--lagoon-50);
  padding: 1px 6px;
  border-radius: 6px;
}

/* Cookie-Banner am unteren Bildschirmrand */
.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  padding: 14px 0 calc(14px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line);
  box-shadow: 0 -18px 50px -20px rgba(7, 35, 57, 0.35);
  backdrop-filter: blur(12px);
  animation: cookieIn 0.45s var(--ease);
}
@keyframes cookieIn {
  from {
    transform: translateY(100%);
  }
  to {
    transform: none;
  }
}
.cookie__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.cookie__text {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.cookie__text > .icon {
  width: 30px;
  height: 30px;
  color: var(--blue-600);
  margin-top: 2px;
}
.cookie__text strong {
  display: block;
  color: var(--navy-900);
  margin-bottom: 2px;
}
.cookie__text p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 72ch;
}
.cookie__text a {
  color: var(--blue-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie__actions {
  display: flex;
  gap: 10px;
  flex: none;
}
body.has-cookie-banner {
  padding-bottom: 110px;
}
@media (max-width: 820px) {
  .cookie__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie__actions .btn {
    flex: 1;
  }
  body.has-cookie-banner {
    padding-bottom: 220px;
  }
}
@media (max-width: 420px) {
  .cookie__actions {
    flex-direction: column-reverse;
  }
  .cookie__text > .icon {
    display: none;
  }
}

/* 13 Footer ----------------------------------------------------------- */
/* Footer (dunkelblau) */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 28px;
  font-size: 0.92rem;
}
/* Werbepartner-Leiste im Footer (KOEB Finanz) */
.partner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
  padding: 20px 24px;
  margin-bottom: 56px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}
.partner__copy {
  display: flex;
  align-items: center;
  gap: 12px 20px;
  flex-wrap: wrap;
}
.partner__kicker {
  font: 700 0.66rem/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.partner__mark {
  font: 800 1.25rem/1 var(--font-body);
  letter-spacing: -0.02em;
  color: #fff;
}
.partner__mark b {
  font-weight: 300;
  color: var(--lagoon-200);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer__brand img {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}
.footer h2 {
  font: 700 0.74rem/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin: 6px 0 16px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer a {
  transition: color 0.2s;
}
.footer a:hover {
  color: #fff;
}
.footer address {
  font-style: normal;
  line-height: 1.7;
}
.socials {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.socials a:hover {
  background: rgba(255, 255, 255, 0.08);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer__bottom nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 480px) {
  .partner .btn {
    width: 100%;
  }
}

/* 14 Animationen & Hilfsklassen -------------------------------------- */
/* Sanftes Einblenden beim Scrollen (wird von js/main.js ausgelöst) */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}
.mt-0 {
  margin-top: 0;
}
.center {
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero__slide img {
    transform: none !important;
  }
  .hero__slide {
    transition: opacity 1s ease !important;
  }
  .hero__progress {
    display: none;
  }
}
@media print {
  .site-header,
  .hero__controls,
  .booking,
  .footer,
  .cta {
    display: none !important;
  }
}

/* ===== SEO-Ergänzungen ===== */
/* Ortsangabe-Badge sitzt jetzt IN der H1 (Keyword für Google) – optisch unverändert */
.hero h1 .hero__badge {
  display: flex;
  width: fit-content;
  max-width: 100%;
  color: #fff;
  text-shadow: none;
}

/* Zeile „Beliebte Ziele in der Nähe“ unter dem SEO-Textbereich */
.seo-places {
  margin: 28px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center;
}
.seo-places a {
  color: var(--blue-600);
  font-weight: 600;
}
/* Handy: Ortszeile etwas kleiner, damit sie sauber in max. 2 Zeilen passt */
@media (max-width: 560px) {
  .hero h1 .hero__badge {
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    line-height: 1.5;
    padding: 7px 12px;
  }
}

/* 360°-Tour: Button „Tour im Vollbild öffnen“ nur so breit wie sein Text */
.tour__copy .btn {
  align-self: flex-start;
  margin-bottom: 18px;
}

/* ===== Hero: weniger Text, Slider bleibt sichtbar ===== */
.hero h1 {
  font-size: clamp(2.3rem, 1.6rem + 2.8vw, 4.2rem);
  margin-bottom: 28px;
}
@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(2.1rem, 9vw, 2.6rem);
  }
}

/* ===== Wohnungskarten: Top-Nummer klein, Name groß, Wohnungstyp darunter ===== */
.unit__top {
  margin: 0 0 4px;
  font: 700 0.72rem/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.unit__type {
  margin: 6px 0 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-800);
}

/* ===== Suchergebnisse: Kurz-Details klappen direkt in der Karte auf ===== */
.result__details {
  margin: 0 0 12px;
}
.result__details .chip {
  font-size: 0.74rem;
  padding: 5px 9px;
}
.result__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-600);
}
.result__toggle .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}
.result__toggle[aria-expanded='true'] .icon {
  transform: rotate(180deg);
}

/* ===== 360°-Tour: kompakt – Raum-Leiste liegt unten in der Tour ===== */
.tour {
  grid-template-columns: 1.6fr 1fr;
}
.tour__media {
  position: relative;
}
.tour__frame {
  min-height: 460px;
  height: 100%;
}
.tour__copy {
  padding: clamp(32px, 4vw, 56px);
}
.tour__copy p {
  margin: 14px 0 18px;
}
/* Raum-Leiste: eine Zeile, auf schmalen Bildschirmen seitlich wischbar */
.tour__scenes {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  gap: 6px;
  padding: 6px;
  overflow-x: auto;
  border-radius: 999px;
  background: rgba(5, 26, 43, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  scrollbar-width: none;
}
.tour__scenes::-webkit-scrollbar {
  display: none;
}
.tour__scene {
  flex: none;
  min-height: 34px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.tour__scene:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.tour__scene[aria-pressed='true'] {
  background: #fff;
  color: var(--navy-900);
}
/* Poster-Inhalt etwas nach oben, damit die Leiste ihn nicht verdeckt */
.tour__poster-inner {
  padding-bottom: 64px;
}
@media (max-width: 900px) {
  /* Handy/Tablet: Tour oben, Text darunter */
  .tour {
    grid-template-columns: 1fr;
  }
  .tour__frame {
    min-height: 360px;
  }
  .tour__poster-inner {
    padding: 20px 20px 70px;
  }
  .tour__badge {
    width: 84px;
    height: 84px;
    font-size: 1.5rem;
  }
  .tour__copy {
    padding: 28px var(--gutter) 36px;
  }
}

/* ===== Hauptmenü: Menüpunkte nie umbrechen (z. B. „360° Tour“), bei mittlerer Breite etwas enger ===== */
.nav a {
  white-space: nowrap;
}
@media (min-width: 1061px) and (max-width: 1300px) {
  .nav a {
    padding: 10px 10px;
    font-size: 0.88rem;
  }
  .header-actions .icon-btn--social {
    display: none;
  }
}

/* =====================================================================
   IT-360-Credit (Impressum) – Webdesign-Hinweis als kleine Visitenkarte
   Aufbau: Eyebrow · Wortmarke „IT-360“ · Kurztext · Leistungs-Chips · Button
   ===================================================================== */
.credit {
  position: relative;
  overflow: hidden;
  margin: 48px 0 28px;
  padding: 32px 32px 30px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-950));
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
/* Dekorativer Lagunen-Lichtkreis rechts oben */
.credit::after {
  content: '';
  position: absolute;
  top: -90px;
  right: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 187, 224, 0.35), transparent 70%);
  pointer-events: none;
}
.prose .credit__eyebrow,
.credit__eyebrow {
  margin: 0 0 6px;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lagoon-200);
}
/* Wortmarke: überschreibt die normale h2 im Rechtstext */
.prose .credit__logo,
.credit__logo {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 1.8rem + 2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
}
.credit__logo span,
.footer__credit span {
  background: linear-gradient(90deg, var(--lagoon-400), var(--lagoon-200));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.prose .credit__lead,
.credit__lead {
  max-width: 52ch;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
}
/* Leistungen als runde „Chips“ */
.prose .credit__chips,
.credit__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.prose .credit__chips li,
.credit__chips li {
  margin: 0;
  padding: 6px 12px;
  border: 1px solid rgba(169, 226, 242, 0.35);
  border-radius: 999px;
  font-size: var(--step--1);
  color: var(--lagoon-200);
}
.credit__chips li::before {
  content: none; /* evtl. Listenpunkte aus .prose abschalten */
}
/* Button zur IT-360-Website */
.prose .credit__cta,
.credit__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.credit__cta:hover,
.credit__cta:focus-visible {
  background: var(--lagoon-100);
  transform: translateY(-2px);
}
.credit__cta .icon {
  width: 18px;
  height: 18px;
}
@media (max-width: 600px) {
  .credit {
    padding: 26px 20px 24px;
  }
}

/* Footer-Credit „Webdesign by IT-360“ (alle Seiten) */
.footer__credit strong {
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* =====================================================================
   Zeitraum-Kalender (js/main.js Abschnitt 8b)
   Ein Feld „Anreise – Abreise“ mit Aufklapp-Kalender; vergangene Tage grau
   ===================================================================== */
.range {
  position: relative;
}
/* Startseite: das Zeitraum-Feld bekommt die Breite der zwei alten Felder */
.booking__form:has(.range) {
  grid-template-columns: 2fr 0.8fr auto;
}
/* Knopf sieht aus wie ein normales Eingabefeld */
.range__trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: 500 1rem/1.3 var(--font-body);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.range__trigger .icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--blue-600);
}
.range__value {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.range__trigger.is-empty .range__value {
  color: var(--muted);
}
.range__trigger:focus-visible,
.range__trigger[aria-expanded='true'] {
  outline: 0;
  border-color: var(--lagoon-500);
  box-shadow: 0 0 0 4px rgba(24, 163, 204, 0.15);
}
.range.is-invalid .range__trigger {
  border-color: var(--danger);
}
.range.is-invalid .range__value {
  color: var(--danger);
}

/* Aufklapp-Kalender */
.range__pop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 60;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.range__pop[hidden] {
  display: none;
}
/* Pfeile oben links/rechts, über den Monatstiteln */
.range__nav {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.range__arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--navy-900);
  cursor: pointer;
  pointer-events: auto;
}
.range__arrow:hover {
  background: var(--lagoon-100);
}
.range__arrow:disabled {
  opacity: 0.25;
  cursor: default;
  background: none;
}
.range__arrow .icon {
  width: 18px;
  height: 18px;
}
.range__months {
  display: flex;
  gap: 28px;
}
.range__title {
  margin: 4px 0 12px;
  text-align: center;
  font-weight: 700;
  color: var(--navy-900);
  text-transform: capitalize;
}
.range__grid {
  display: grid;
  grid-template-columns: repeat(7, 40px);
  row-gap: 2px;
}
.range__wd {
  padding-bottom: 6px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}
/* Einzelner Tag */
.range__day {
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink);
  font: 500 0.92rem var(--font-body);
  cursor: pointer;
}
.range__day:hover:not(:disabled) {
  background: var(--lagoon-100);
}
.range__day[aria-current='date'] {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Vergangene Tage: grau und durchgestrichen, nicht klickbar */
.range__day:disabled {
  color: #b8c5cd;
  text-decoration: line-through;
  cursor: not-allowed;
}
/* Tage zwischen Anreise und Abreise: hellblaues Band */
.range__day.is-in {
  border-radius: 0;
  background: var(--lagoon-100);
}
/* Anreise & Abreise: dunkelblaue Kreise, Band läuft halb hinein */
.range__day.is-start,
.range__day.is-end {
  background: var(--blue-600);
  color: #fff;
  font-weight: 700;
}
.range__day.is-start:not(.is-end) {
  border-radius: 50% 0 0 50%;
}
.range__day.is-end:not(.is-start) {
  border-radius: 0 50% 50% 0;
}
.range__day.is-start:hover,
.range__day.is-end:hover {
  background: var(--navy-700);
}
/* Fußzeile: Auswahl + Knöpfe */
.range__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.range__info {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-900);
}
.range__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.range__reset {
  border: 0;
  background: none;
  color: var(--muted);
  font: 500 0.9rem var(--font-body);
  text-decoration: underline;
  cursor: pointer;
}
.range__done {
  min-height: 40px;
  padding: 8px 18px;
}

/* Tablet (wie oben 07): Startseite – Zeitraum über die volle Breite */
@media (max-width: 900px) {
  .booking__form:has(.range) {
    grid-template-columns: 1fr 1fr;
  }
  .booking__form .range {
    grid-column: 1/-1;
  }
}
/* Handy: Kalender über die ganze Feldbreite, Tage passen sich an */
@media (max-width: 640px) {
  .booking__form:has(.range) {
    grid-template-columns: 1fr;
  }
  .range__pop {
    width: 100%;
    max-width: none;
    padding: 14px;
  }
  .range__grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

/* =====================================================================
   „In der Nähe“ – Entfernungen mit Reitern (HTML: index/bodensee, JS: 4b)
   ===================================================================== */
.near {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
/* Reiterleiste – nur mit JavaScript sichtbar (.is-tabs) */
.near__tabs {
  display: none;
  gap: 4px;
  padding: 8px;
  border-bottom: 1px solid var(--line);
  background: var(--lagoon-50);
  overflow-x: auto;
  scrollbar-width: none;
}
.near__tabs::-webkit-scrollbar {
  display: none;
}
.near.is-tabs .near__tabs {
  display: flex;
}
.near__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1 0 auto;
  justify-content: center;
  padding: 11px 16px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--navy-800);
  font: 600 0.92rem var(--font-body);
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.near__tab .icon {
  width: 18px;
  height: 18px;
  color: var(--blue-600);
}
.near__tab:hover {
  background: #fff;
}
.near__tab[aria-selected='true'] {
  background: var(--blue-600);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.near__tab[aria-selected='true'] .icon {
  color: #fff;
}
/* Gruppen-Überschrift nur ohne Reiter (ohne JavaScript) zeigen */
.near__heading {
  margin: 0;
  padding: 18px 22px 0;
  font-size: var(--step-1);
}
.near.is-tabs .near__heading {
  display: none;
}
/* Liste: zwei Spalten am Desktop */
.near__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 24px;
  margin: 0;
  padding: 10px 22px 14px;
  list-style: none;
}
/* Eine Zeile: Icon · Name/Info · Entfernung · Route-Pfeil */
.near__item {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.near__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lagoon-100);
  color: var(--blue-600);
}
.near__icon .icon {
  width: 22px;
  height: 22px;
}
.near__text,
.near__dist {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.near__text strong {
  color: var(--navy-900);
}
.near__text small,
.near__dist small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}
.near__dist {
  text-align: right;
}
.near__dist strong {
  color: var(--blue-600);
  font-size: 1.05rem;
  white-space: nowrap;
}
.near__route {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--muted);
  transition:
    background 0.2s,
    color 0.2s;
}
.near__route:hover,
.near__route:focus-visible {
  background: var(--lagoon-100);
  color: var(--blue-600);
}
.near__route .icon {
  width: 16px;
  height: 16px;
}
.near__note {
  margin: 14px 4px 0;
  font-size: 0.8rem;
  color: var(--muted);
}
/* Tablet/Handy: eine Spalte, Reiter nur mit Icon + kurzem Text, wischbar */
@media (max-width: 900px) {
  .near__list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .near__list {
    padding: 4px 16px 8px;
  }
  .near__item {
    gap: 12px;
  }
  .near__icon {
    width: 38px;
    height: 38px;
  }
  .near__tab {
    flex: 0 0 auto;
    padding: 10px 12px;
  }
}

/* =====================================================================
   Beds24: belegte Tage im Kalender + Preise (js/main.js 4a / 8b)
   ===================================================================== */
/* Belegte Nacht: grau schraffiert, nicht wählbar (als Abreisetag aber erlaubt) */
.range__day.is-booked {
  background: repeating-linear-gradient(135deg, #eef2f5 0 4px, #fff 4px 8px);
  color: #9fb0bb;
}
.range__day.is-booked:disabled {
  text-decoration: none;
}
/* Unter Mindestaufenthalt: als Abreise nicht wählbar, leicht ausgegraut */
.range__day.is-short {
  color: #b7c4cc;
  text-decoration: line-through;
}

/* Langzeit-Rabatt & Mindestaufenthalt (site-config: availabilitySync.longStay / minNights) */
.unit__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
}
.unit__note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lagoon-50);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-900);
}
.unit__note .icon {
  width: 14px;
  height: 14px;
  color: var(--blue-600);
}
.unit__note--deal {
  background: #fdf3e1;
  color: #8a5a12;
}
.unit__note--deal .icon {
  color: #c98a1c;
}
.results__head .results__deal,
.search-deal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fdf3e1;
  color: #8a5a12;
  font-size: 0.85rem;
  font-weight: 600;
}
.results__deal .icon,
.search-deal .icon {
  width: 14px;
  height: 14px;
  color: #c98a1c;
}
.search-deal {
  margin: 12px 0 0;
}
.result__price s {
  margin-right: 4px;
  font-weight: 500;
  color: var(--muted);
}
/* Zusatzkosten unter dem Preis: Ortstaxe, Endreinigung, Gesamt */
.price-extras {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}
.price-grand {
  display: block;
  margin-top: 2px;
  font-size: 0.95rem;
  color: var(--navy-900);
}
.price-grand small {
  font-weight: 500;
  color: var(--muted);
}
.search-tax {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.search-tax .icon {
  width: 14px;
  height: 14px;
  color: var(--blue-600);
}
.result__deal {
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 6px;
  background: #c98a1c;
  color: #fff;
  font-size: 0.75rem;
}

/* =====================================================================
   Wohnungskarten: Bild als Knopf, Hinweis „360° & Fotos“, Preis-Plakette
   ===================================================================== */
.unit__open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
/* Hinweis unten rechts: es gibt mehr zu sehen */
.unit__more {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7, 35, 57, 0.78);
  backdrop-filter: blur(6px);
  font: 600 0.78rem/1 var(--font-body);
  color: #fff;
  transition: background 0.2s;
}
.unit__open:hover .unit__more,
.unit__open:focus-visible .unit__more {
  background: var(--blue-600);
}
/* Preis-Plakette oben rechts: „ab 176 € / Nacht“ (oben links steht die Gästezahl) */
.unit__price {
  position: absolute;
  right: 14px;
  top: 14px;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 9px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  color: var(--navy-900);
  pointer-events: none;
}
.unit__price strong {
  font: 700 1.25rem/1 var(--font-display);
  color: var(--blue-600);
}
.unit__price small {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Suchergebnis: Preis als Kasten, belegte/zu kleine Wohnungen */
.result__price {
  display: inline-block;
  margin: 2px 0 4px;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--lagoon-50);
  font-weight: 700;
  color: var(--blue-600);
}
.badge--booked {
  background: #fdeaea;
  color: #b4232c;
}
.badge--muted {
  background: #eef2f5;
  color: var(--muted);
}
.result--booked,
.result--small {
  background: #fafbfc;
}
.result--booked img,
.result--small img {
  filter: grayscale(0.6);
  opacity: 0.75;
}
.result--booked {
  border-color: #f3c9cc;
}

/* Kontaktformular: Preis-Schätzung */
.form__estimate {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--lagoon-50);
  border: 1px solid var(--lagoon-200);
}
.form__estimate[hidden] {
  display: none;
}
.form__estimate .icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--blue-600);
}
.form__estimate strong {
  display: block;
  color: var(--navy-900);
}
.form__estimate small {
  color: var(--muted);
}

/* =====================================================================
   Wohnungs-Fenster (js/main.js 6b): 360°-Räume + Fotos
   ===================================================================== */
.unit-dialog {
  width: min(1040px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: auto;
}
.unit-dialog::backdrop {
  background: rgba(5, 26, 43, 0.72);
  backdrop-filter: blur(4px);
}
.ud__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 10px;
}
.ud__head h2 {
  margin: 0;
  font-size: var(--step-2);
}
.ud__close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.ud__tabs {
  display: flex;
  gap: 6px;
  padding: 0 24px 14px;
}
.ud__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: 600 0.9rem var(--font-body);
  color: var(--navy-800);
  cursor: pointer;
}
.ud__tab small {
  color: var(--muted);
}
.ud__tab[aria-selected='true'] {
  border-color: var(--blue-600);
  background: var(--blue-600);
  color: #fff;
}
.ud__tab[aria-selected='true'] small {
  color: var(--lagoon-200);
}
.ud__panel {
  padding: 0 24px;
}
/* 360°-Bereich */
.ud__tour {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
}
.ud__tour iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.ud__start {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}
.ud__note {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.ud__rooms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0 4px;
}
.ud__room {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: 500 0.88rem var(--font-body);
  color: var(--navy-800);
  cursor: pointer;
}
.ud__room:hover,
.ud__room[aria-pressed='true'] {
  border-color: var(--blue-600);
  color: var(--blue-600);
  background: var(--lagoon-50);
}
/* Fotos */
.ud__photo {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--lagoon-100);
}
.ud__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ud__nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}
.ud__nav--prev {
  left: 12px;
}
.ud__nav--next {
  right: 12px;
}
.ud__count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(7, 35, 57, 0.75);
  font-size: 0.78rem;
  color: #fff;
}
.ud__thumbs {
  display: flex;
  gap: 8px;
  padding: 12px 0 4px;
  overflow-x: auto;
}
.ud__thumb {
  flex: none;
  width: 88px;
  aspect-ratio: 4/3;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
}
.ud__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ud__thumb[aria-current='true'] {
  border-color: var(--blue-600);
  opacity: 1;
}
.ud__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px 22px;
}
@media (max-width: 640px) {
  .unit-dialog {
    width: 100vw;
    max-width: 100vw;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
  }
  .ud__head,
  .ud__panel,
  .ud__foot {
    padding-left: 16px;
    padding-right: 16px;
  }
  .ud__tabs {
    padding: 0 16px 12px;
  }
  .ud__tour {
    aspect-ratio: 4/5;
  }
  .ud__photo {
    aspect-ratio: 4/3;
  }
}

/* Galerie: Wohnungs-Knöpfe (öffnen den 360°-Rundgang der Wohnung) */
.filter--unit {
  border-style: dashed;
}
.filter--unit .icon {
  width: 15px;
  height: 15px;
  margin-right: 4px;
  color: var(--blue-600);
}

/* =====================================================================
   Chat-Assistentin „Lia“ (js/chat.js)
   Rundes Symbol unten rechts, Fenster öffnet darüber. Auf dem Handy fast
   bildschirmfüllend. Solange der Cookie-Hinweis sichtbar ist, bleibt der
   Chat ausgeblendet (keine Überlappung unten am Bildschirm).
   ===================================================================== */
.bl-chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  font-family: var(--font-body);
}
body.has-cookie-banner .bl-chat {
  display: none;
}
/* Launcher: Schild „Lia · Assistentin“ + runder Avatar mit Online-Punkt (wie BILGE bei IT-360) */
.bl-chat__launcher {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.bl-chat__label {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 7px 13px;
  border-radius: 12px;
  background: rgba(7, 35, 57, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font: 700 0.95rem/1.15 var(--font-display);
  box-shadow: var(--shadow-sm);
  transition:
    opacity 0.2s,
    transform 0.2s var(--ease);
}
.bl-chat__label small {
  color: var(--lagoon-200);
  font: 500 0.7rem var(--font-body);
  letter-spacing: 0.04em;
}
.bl-chat.is-open .bl-chat__label {
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
}
/* runder Avatar mit hellem Lagunen-Ring */
.bl-chat__orb {
  position: relative;
  display: block;
  width: 64px;
  height: 64px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lagoon-200), var(--blue-600));
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease);
}
.bl-chat__launcher:hover .bl-chat__orb,
.bl-chat__launcher:focus-visible .bl-chat__orb {
  transform: scale(1.07) rotate(-6deg);
}
.bl-chat__face {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
/* grüner „online“-Punkt, pulsiert leicht */
.bl-chat__online,
.bl-chat__dot {
  display: inline-block;
  border-radius: 50%;
  background: #2ecc71;
}
.bl-chat__online {
  position: absolute;
  right: 2px;
  bottom: 3px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--white);
  animation: blChatPulse 2.4s infinite;
}
.bl-chat__dot {
  width: 7px;
  height: 7px;
  margin-right: 3px;
  vertical-align: 1px;
}
@keyframes blChatPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.55);
  }
  60% {
    box-shadow: 0 0 0 7px rgba(46, 204, 113, 0);
  }
}
.bl-chat__icon svg,
.bl-chat__form button svg,
.bl-chat__teaser-x svg {
  width: 26px;
  height: 26px;
}
.bl-chat :focus-visible {
  outline: 3px solid var(--lagoon-500);
  outline-offset: 2px;
}

/* Hinweis-Blase neben dem Symbol */
.bl-chat__teaser {
  position: absolute;
  right: 0;
  bottom: 80px;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  width: 260px;
  padding: 12px 8px 12px 14px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px 16px 4px 16px;
  box-shadow: var(--shadow);
  animation: blChatIn 0.3s var(--ease);
}
.bl-chat__teaser[hidden] {
  display: none;
}
.bl-chat__teaser-text {
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.88rem;
  line-height: 1.45;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.bl-chat__teaser-x {
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
}
.bl-chat__teaser-x svg {
  width: 16px;
  height: 16px;
}

/* Chat-Fenster */
.bl-chat__panel {
  position: absolute;
  right: 0;
  bottom: 80px;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: blChatIn 0.25s var(--ease);
}
.bl-chat__panel[hidden] {
  display: none;
}
@keyframes blChatIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
.bl-chat__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 12px 16px;
  background: var(--navy-900);
  color: var(--white);
}
.bl-chat__avatar {
  width: 42px;
  height: 42px;
  flex: none;
  padding: 2px;
  border-radius: 50%;
  background: var(--lagoon-200);
}
.bl-chat__who {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.bl-chat__who small {
  color: var(--lagoon-200);
  font-size: 0.78rem;
}
.bl-chat__icon {
  border: 0;
  background: none;
  color: var(--white);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.bl-chat__icon svg {
  width: 20px;
  height: 20px;
}
.bl-chat__icon:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Nachrichten */
.bl-chat__log {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--lagoon-50);
  overscroll-behavior: contain;
}
.bl-chat__msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.93rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.bl-chat__msg--bot {
  align-self: flex-start;
  background: var(--white);
  color: var(--ink);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.bl-chat__msg--user {
  align-self: flex-end;
  background: var(--blue-600);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.bl-chat__msg a {
  color: var(--blue-600);
  font-weight: 600;
}
.bl-chat__msg small {
  color: var(--muted);
  font-size: 0.78rem;
}
.bl-chat__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bl-chat__chips button {
  border: 1px solid var(--blue-600);
  background: var(--white);
  color: var(--blue-600);
  border-radius: 999px;
  padding: 5px 12px;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}
.bl-chat__chips button:hover {
  background: var(--blue-600);
  color: var(--white);
}

/* „Lia tippt …“ – drei hüpfende Punkte */
.bl-chat__typing {
  display: flex;
  gap: 4px;
}
.bl-chat__typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  animation: blChatDot 1s infinite;
}
.bl-chat__typing span:nth-child(2) {
  animation-delay: 0.15s;
}
.bl-chat__typing span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes blChatDot {
  50% {
    transform: translateY(-4px);
    opacity: 0.5;
  }
}

/* Eingabe */
.bl-chat__form {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
}
.bl-chat__form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 16px; /* verhindert Zoom auf dem iPhone */
}
.bl-chat__form input:focus {
  outline: none;
  border-color: var(--lagoon-500);
}
.bl-chat__form button {
  width: 44px;
  height: 44px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: var(--blue-600);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.bl-chat__form button svg {
  width: 20px;
  height: 20px;
}
.bl-chat__note {
  margin: 0;
  padding: 0 14px 10px;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
}

/* Handy: Fenster fast bildschirmfüllend */
@media (max-width: 520px) {
  .bl-chat {
    right: 16px;
    bottom: 16px;
  }
  .bl-chat__panel {
    position: fixed;
    inset: 12px 12px 92px;
    width: auto;
    height: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bl-chat__panel,
  .bl-chat__teaser,
  .bl-chat__online,
  .bl-chat__typing span {
    animation: none;
  }
}
