/* =========================================================
   Apartment Himmelsbach – Stylesheet
   Ruhige, großzügige Gestaltung: viel Weißraum, große Typografie,
   Übergänge, die dem Scrollen folgen.
   Die Schrift liegt lokal im Ordner /fonts (kein Abruf bei Dritten).

   Aufbau:  1 Grundlagen · 2 Navigation · 3 Start · 4 Leitsatz
            5 Auf einen Blick · 6 Wohnung · 7 Galerie · 8 Bewertungen
            9 Lage · 10 Details · 11 Anfrage · 12 Fußzeile
            13 Großansicht · 14 Rechtstexte · 15 Bewegung · 16 Kleine Bildschirme
   ========================================================= */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-opsz-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- 1 Grundlagen ---------- */
:root {
  --white: #ffffff;
  --soft: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-text: #0066cc;
  --black: #000000;
  --night: #161617;
  --on-dark: #f5f5f7;
  --on-dark-2: #a1a1a6;
  --line-dark: rgba(255, 255, 255, 0.16);
  --blue-on-dark: #2997ff;
  --grad: linear-gradient(100deg, #0050c8 0%, #0060d6 55%, #006edb 100%);
  --grad-on-dark: linear-gradient(100deg, #2997ff 0%, #64d2ff 100%);

  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4.5vw, 48px);
  --gl: max(var(--gutter), env(safe-area-inset-left, 0px));
  --gr: max(var(--gutter), env(safe-area-inset-right, 0px));
  --nav-h: 52px;
  --r: 28px;
  --r-s: 18px;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.motion { scroll-behavior: smooth; }
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.47;
  letter-spacing: -0.011em;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 120;
  height: env(safe-area-inset-top, 0px);
  background: var(--white);
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, dl, dd, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: var(--gl);
  padding-right: var(--gr);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 200;
  padding: 10px 16px; border-radius: 12px;
  background: var(--ink); color: #fff; text-decoration: none;
}
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.section--dark .grad { background-image: var(--grad-on-dark); }

/* Schaltflächen und Textlinks */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  border: 0; border-radius: 999px;
  background: var(--blue); color: #fff;
  font: inherit; font-weight: 500; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.25s, transform 0.25s var(--ease);
}
.btn:hover { background: #006edb; }
.btn:active { transform: scale(0.97); }
.btn--block { width: 100%; }

.link {
  display: inline-flex; align-items: center; gap: 0.3em;
  color: var(--blue-text); font-weight: 500; text-decoration: none;
}
.link::after {
  content: ""; width: 0.42em; height: 0.42em; margin-top: 0.05em;
  border-top: 0.1em solid currentColor; border-right: 0.1em solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.link:hover::after { transform: translateX(4px) rotate(45deg); }
.section--dark .link { color: var(--blue-on-dark); }

/* Abschnitte */
.section { position: relative; padding-block: clamp(96px, 13vw, 176px); background: var(--white); }
.section--soft { background: var(--soft); }
.section--dark { background: var(--black); color: var(--on-dark); }
/* „Blatt“: Abschnitt schiebt sich mit runden Ecken über den vorigen */
.sheet {
  --sheet-r: clamp(28px, 4.5vw, 64px);
  z-index: 1;
  margin-top: calc(-1 * var(--sheet-r));
  border-radius: var(--sheet-r) var(--sheet-r) 0 0;
}
.sheet + .section, .sheet + .footer { padding-top: calc(clamp(96px, 13vw, 176px)); }

.head { margin-bottom: clamp(44px, 6.5vw, 88px); }
.head__eyebrow {
  margin-bottom: 0.55em;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2;
  color: var(--blue-text);
}
.section--dark .head__eyebrow { color: var(--blue-on-dark); }
.head h2, .booking h2, .score h2 {
  font-size: clamp(2.35rem, 6.2vw, 4.9rem);
  font-weight: 700; letter-spacing: -0.045em; line-height: 1.02;
  text-wrap: balance;
}
.head__lead {
  max-width: 33em; margin-top: 1.25em;
  font-size: clamp(1.1rem, 1.65vw, 1.4rem); font-weight: 500; line-height: 1.38; letter-spacing: -0.016em;
  color: var(--ink-2);
}
.section--dark .head__lead { color: var(--on-dark-2); }

.note { margin-top: 22px; font-size: 0.8rem; color: var(--ink-2); }
.note--dark { color: var(--on-dark-2); }

/* ---------- 2 Navigation ---------- */
.nav {
  position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--ink);
  transition: transform 0.55s var(--ease), background-color 0.4s, color 0.4s, border-color 0.4s;
}
.nav.is-hidden { transform: translateY(calc(-100% - env(safe-area-inset-top, 0px) - 2px)); }
.nav:focus-within { transform: none; }
.nav.is-dark { background: rgba(22, 22, 23, 0.72); color: var(--on-dark); border-bottom-color: rgba(255, 255, 255, 0.12); }
.nav__inner {
  display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px);
  height: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto; padding-left: var(--gl); padding-right: var(--gr);
}
.nav__brand {
  margin-right: auto;
  font-size: 1.1rem; font-weight: 650; letter-spacing: -0.025em;
  text-decoration: none; white-space: nowrap;
}
.nav__links { display: flex; gap: clamp(18px, 2.6vw, 34px); }
.nav__links a {
  font-size: 0.8rem; letter-spacing: -0.005em; text-decoration: none;
  opacity: 0.78; transition: opacity 0.25s;
}
.nav__links a:hover, .nav__links a.is-current { opacity: 1; }
.nav__cta {
  padding: 6px 14px; border-radius: 999px;
  background: var(--blue); color: #fff;
  font-size: 0.8rem; text-decoration: none; white-space: nowrap;
  transition: background-color 0.25s;
}
.nav__cta:hover { background: #006edb; }
.nav__toggle {
  display: none; place-items: center;
  width: 40px; height: 40px; margin-right: -10px; padding: 0;
  border: 0; background: none; cursor: pointer;
}
.nav__toggle-lines { position: relative; width: 18px; height: 10px; }
.nav__toggle-lines::before, .nav__toggle-lines::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 2px;
  background: currentColor;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav__toggle-lines::before { top: 0; }
.nav__toggle-lines::after { top: 9px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines::before { top: 4.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines::after { top: 4.5px; transform: rotate(-45deg); }
.nav__progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--blue);
  transform: scaleX(var(--page, 0)); transform-origin: left;
}
.nav.is-dark .nav__progress { background: var(--blue-on-dark); }

/* Vollflächiges Menü auf kleinen Bildschirmen */
.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: flex-start;
  padding: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + 36px) var(--gr) 40px var(--gl);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
}
.menu.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.menu__links { display: grid; gap: 6px; width: 100%; }
.menu__links a {
  padding: 8px 0;
  font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 650; letter-spacing: -0.04em; line-height: 1.1;
  text-decoration: none;
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: 0.06s; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 0.10s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 0.14s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 0.18s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: 0.22s; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: 0.26s; color: var(--blue-text); }

/* ---------- 3 Start ---------- */
.hero {
  display: grid; place-items: center;
  background: radial-gradient(90% 70% at 50% -12%, #e6f1ff 0%, rgba(230, 241, 255, 0) 70%);
  min-height: min(76vh, 860px);
  padding: calc(var(--nav-h) + clamp(44px, 9vh, 110px)) var(--gr) clamp(20px, 4vh, 48px) var(--gl);
  text-align: center;
}
.hero__heading { margin: 0; font: inherit; letter-spacing: inherit; }
.hero__heading > .hero__eyebrow, .hero__heading > .hero__title { display: block; }
.hero__eyebrow {
  font-size: clamp(1.05rem, 1.7vw, 1.45rem); font-weight: 600; letter-spacing: -0.015em;
  color: var(--ink-2);
}
.hero__title {
  margin: 0.14em 0 0.22em;
  font-size: clamp(3rem, 11.6vw, 9.25rem);
  font-weight: 700; letter-spacing: -0.055em; line-height: 0.94;
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.09em; margin-bottom: -0.09em; }
.hero__line > span { display: block; }
.hero__sub {
  font-size: clamp(1.3rem, 2.7vw, 2.15rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.16;
  text-wrap: balance;
}
.hero__actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px;
  margin-top: clamp(24px, 3.4vh, 38px);
}
.hero__rating {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: clamp(24px, 3.4vh, 40px);
  font-size: 0.88rem; color: var(--ink-2); text-decoration: none; text-align: left; line-height: 1.35;
}
.hero__rating b {
  display: grid; place-items: center; flex: none;
  min-width: 42px; height: 42px; padding: 0 8px;
  border-radius: 12px 12px 12px 4px;
  background: var(--ink); color: #fff;
  font-size: 1.02rem; font-weight: 650; letter-spacing: -0.02em;
}
.hero__rating strong { color: var(--ink); font-weight: 600; }

/* Titelbild: ohne Bewegung eine ruhige, abgerundete Karte */
.stage { padding: 0 var(--gr) 0 var(--gl); }
.stage__sticky { position: relative; }
.stage__frame { overflow: hidden; border-radius: var(--r); }
.stage__frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.stage__shade { display: none; }
.stage__caption {
  margin-top: 28px;
  font-size: clamp(2rem, 6.4vw, 5.25rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1;
}

/* Titelbild mit Bewegung: wächst beim Scrollen von der Karte zum Vollbild */
.motion .stage { height: 340vh; padding: 0; }
.motion .stage__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100lvh;   /* größte Fensterhöhe: kein Streifen, wenn die Browserleiste einklappt */
  overflow: clip;
  --e: clamp(0, calc(var(--p, 0) / 0.3), 1);                 /* Karte wird zum Vollbild */
  --c: clamp(0, calc((var(--p, 0) - 0.32) / 0.12), 1);       /* Schriftzug erscheint */
  --dim: clamp(0, calc((var(--p, 0) - 0.6) / 0.4), 1);       /* Bild tritt zurück, wenn der Text darüberfährt */
}
.motion .stage__frame {
  position: absolute; inset: 0; border-radius: 0;
  clip-path: inset(
    calc((1 - var(--e)) * 6vh) calc((1 - var(--e)) * 5.5vw)
    calc((1 - var(--e)) * 6vh) calc((1 - var(--e)) * 5.5vw)
    round calc((1 - var(--e)) * 34px));
  will-change: clip-path;
}
.motion .stage__frame img {
  width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 44% 50%;
  transform: scale(calc(1.16 - 0.16 * var(--e)));
  will-change: transform;
}
.motion .stage__shade {
  display: block; position: absolute; inset: 0;
  background:
    linear-gradient(rgb(0 0 0 / calc(0.5 * var(--dim))), rgb(0 0 0 / calc(0.5 * var(--dim)))),
    linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.18) 42%, transparent 66%);
  opacity: var(--c);
}
.motion .stage__caption {
  position: absolute; left: var(--gl); right: var(--gr); bottom: clamp(36px, 9vh, 110px);
  bottom: calc(100lvh - 100svh + clamp(36px, 9vh, 110px));
  margin: 0; color: #fff;
  opacity: var(--c);
  transform: translateY(calc((1 - var(--c)) * 46px));
}

/* ---------- 4 Leitsatz ---------- */
.statement { padding: clamp(104px, 17vw, 240px) var(--gr) clamp(104px, 17vw, 240px) var(--gl); }
.statement__text {
  max-width: 21.500em; margin-inline: auto;
  font-size: clamp(1.6rem, 3.7vw, 3.15rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1.13;
}
/* Mit Bewegung schiebt sich der Leitsatz als Blatt über das Vollbild */
.motion .statement {
  position: relative; z-index: 2;
  margin-top: -100vh;
  border-radius: clamp(28px, 4.5vw, 64px) clamp(28px, 4.5vw, 64px) 0 0;
  background: var(--white);
}
.motion .statement__text .w {
  opacity: clamp(0.16, calc((var(--p, 0) * (var(--n, 1) + 7) - var(--i, 0)) / 3), 1);
}

/* ---------- 5 Auf einen Blick ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(clamp(230px, 23.500vw, 306px), auto);
  gap: clamp(12px, 1.5vw, 20px);
}
.tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  grid-column: span 2;
  padding: clamp(24px, 2.7vw, 38px);
  border-radius: var(--r);
  background: var(--white);
}
.tile--a { grid-column: span 4; grid-row: span 2; }
.tile__big {
  margin-bottom: auto;
  font-size: clamp(3.2rem, 5.7vw, 5.1rem); font-weight: 700; letter-spacing: -0.06em; line-height: 0.9;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.tile__big small { margin-left: 0.16em; font-size: 0.3em; font-weight: 650; letter-spacing: -0.02em; }
.tile h3 {
  margin-top: 22px;
  font-size: clamp(1.3rem, 1.9vw, 1.65rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1.12;
}
.tile h3 + p { margin-top: 6px; color: var(--ink-2); font-size: 1rem; line-height: 1.4; }
.tile--photo { padding: 0; color: #fff; background: var(--night); }
.tile--photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.tile--photo:hover img { transform: scale(1.045); }
.tile--photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.12) 46%, transparent 64%);
}
.tile__text { position: relative; z-index: 1; padding: clamp(24px, 2.7vw, 38px); }
.tile--photo h3 { margin-top: 0; }
.tile--photo h3 + p { color: rgba(255, 255, 255, 0.84); max-width: 26em; }
.tile--a h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); letter-spacing: -0.04em; }

/* ---------- 6 Die Wohnung ---------- */
/* Ohne Bewegung: Räume untereinander */
.rooms { background: var(--white); padding-block: clamp(72px, 10vw, 140px); }
.room {
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 84px); align-items: center;
  max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto;
  padding: clamp(28px, 4vw, 56px) var(--gr) clamp(28px, 4vw, 56px) var(--gl);
}
.room__media { overflow: hidden; border-radius: var(--r); background: var(--soft); }
.room__media img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.room__label {
  margin-bottom: 0.6em;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem); font-weight: 600; letter-spacing: -0.015em;
  color: var(--blue-text);
}
.room h2 {
  font-size: clamp(2rem, 3.7vw, 3.3rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.04;
  text-wrap: balance;
}
.room h2 + p {
  margin-top: 0.9em;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem); font-weight: 500; line-height: 1.4; letter-spacing: -0.016em;
  color: var(--ink-2);
}
.room ul { margin-top: 26px; border-top: 1px solid var(--line); }
.room li { padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.rooms__rail { display: none; }

/* Mit Bewegung: ein fester Bildschirm, die Räume wechseln beim Scrollen */
.motion .rooms { height: calc(100vh + var(--steps) * 88vh); padding: 0; }
.motion .rooms__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: clip;
}
.motion .room {
  position: absolute; inset: 0;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  max-width: calc(1344px + 2 * var(--gutter));
  padding-top: calc(var(--nav-h) + 20px); padding-bottom: 108px;
  pointer-events: none;
}
.motion .room.is-active { pointer-events: auto; }
.motion .room__media {
  aspect-ratio: 4 / 3; max-height: 72vh;
  opacity: 0; transform: scale(1.05);
  transition: opacity 0.75s var(--ease), transform 1.5s var(--ease-out);
}
.motion .room__media img { aspect-ratio: auto; }
.motion .room.is-active .room__media { opacity: 1; transform: none; }
.motion .room__copy > * {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.motion .room.is-active .room__copy > * {
  opacity: 1; transform: none;
  transition: opacity 0.8s var(--ease) 0.16s, transform 0.95s var(--ease-out) 0.16s;
}
.motion .room.is-active .room__copy > :nth-child(2) { transition-delay: 0.22s; }
.motion .room.is-active .room__copy > :nth-child(3) { transition-delay: 0.3s; }
.motion .room.is-active .room__copy > :nth-child(4) { transition-delay: 0.38s; }

.motion .rooms__rail {
  position: absolute; left: 50%; bottom: 34px; z-index: 2;
  display: flex; gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(232, 232, 237, 0.76);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transform: translateX(-50%);
}
.rooms__tab {
  position: relative; z-index: 1;
  padding: 8px 16px; border: 0; border-radius: 999px;
  background: none; cursor: pointer;
  font-size: 0.86rem; font-weight: 500; letter-spacing: -0.01em; color: #636366; white-space: nowrap;
  transition: color 0.35s, background-color 0.45s var(--ease);
}
.rooms__tab.is-active { background: var(--white); color: var(--ink); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); }
.rooms__bar { display: none; }

/* ---------- 7 Galerie ---------- */
.reel { --slide: min(76vw, 1040px); }
.reel__track {
  display: flex; gap: clamp(12px, 2vw, 26px);
  padding-inline: calc((100% - var(--slide)) / 2);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.reel__track::-webkit-scrollbar { display: none; }
.reel__slide {
  position: relative; flex: none; overflow: hidden;
  width: var(--slide); aspect-ratio: 3 / 2;
  border-radius: var(--r);
  background: var(--night);
  scroll-snap-align: center;
  cursor: zoom-in;
  opacity: calc(0.34 + 0.66 * var(--o, 1));
  transform: scale(calc(0.93 + 0.07 * var(--o, 1)));
}
.reel__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: clamp(22px, 3vw, 36px);
}
.reel__info { display: flex; align-items: baseline; gap: 16px; min-width: 0; }
.reel__count { font-size: 0.86rem; font-variant-numeric: tabular-nums; color: var(--on-dark-2); white-space: nowrap; }
.reel__label { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600; letter-spacing: -0.02em; }
.reel__nav { display: flex; gap: 12px; flex: none; }
.reel__btn {
  display: grid; place-items: center;
  width: 46px; height: 46px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer;
  transition: background-color 0.25s, opacity 0.25s, transform 0.25s var(--ease);
}
.reel__btn:hover { background: rgba(255, 255, 255, 0.26); }
.reel__btn:active { transform: scale(0.94); }
.reel__btn:disabled { opacity: 0.32; cursor: default; }
.reel__btn svg, .lightbox button svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- 8 Bewertungen ---------- */
.score {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(28px, 6vw, 96px); align-items: center;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.score__value {
  font-size: clamp(7rem, 23vw, 17rem); font-weight: 700; letter-spacing: -0.07em; line-height: 0.82;
  font-variant-numeric: tabular-nums;
  padding-right: 0.06em;
}
.score__lead {
  margin-top: 0.7em;
  font-size: clamp(1.1rem, 1.65vw, 1.4rem); font-weight: 500; line-height: 1.38; letter-spacing: -0.016em;
  color: var(--ink-2);
}
.meters { display: grid; gap: 14px; max-width: 30rem; margin-top: clamp(26px, 3vw, 40px); }
.meters > div { display: grid; grid-template-columns: 7.2em minmax(0, 1fr) 2.2em; align-items: center; gap: 14px; }
.meters dt { font-size: 0.95rem; font-weight: 500; }
.meters dd { display: contents; }
.meters b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.meter { position: relative; height: 6px; overflow: hidden; border-radius: 99px; background: rgba(0, 0, 0, 0.09); }
.meter::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--ink);
  transform: scaleX(var(--v)); transform-origin: left;
}

.quotes {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 20px);
}
.quote {
  display: flex; flex-direction: column; gap: 22px;
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: var(--r);
  background: var(--white);
}
.quote blockquote { font-size: clamp(1.06rem, 1.35vw, 1.2rem); font-weight: 500; line-height: 1.42; letter-spacing: -0.016em; }
.quote figcaption { margin-top: auto; font-size: 0.86rem; color: var(--ink-2); }
.quote figcaption strong { display: block; color: var(--ink); font-size: 0.98rem; font-weight: 600; }

/* ---------- 9 Lage ---------- */
.view {
  position: relative; overflow: hidden;
  width: min(100% - var(--gl) - var(--gr), 1400px); margin-inline: auto;
  aspect-ratio: 21 / 9;
  border-radius: var(--r);
  background: var(--night);
}
.view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 62%; }
.motion .view img {
  inset: -9% 0; height: 118%;
  transform: translateY(calc((var(--p, 0.5) - 0.5) * 13%));
  will-change: transform;
}
.view figcaption {
  position: absolute; left: 18px; right: 18px; bottom: 18px; width: fit-content;
  padding: 8px 15px; border-radius: 999px;
  background: rgba(22, 22, 23, 0.72); color: #fff;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font-size: 0.82rem;
}

.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
  margin-top: clamp(48px, 7vw, 96px);
}
.stats > div { display: flex; flex-direction: column; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.stats dd {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 700; letter-spacing: -0.055em; line-height: 1;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.stats dd small { margin-left: 0.2em; font-size: 0.34em; font-weight: 650; letter-spacing: -0.02em; color: var(--on-dark-2); }
.stats dt { order: 2; margin-top: 12px; color: var(--on-dark-2); font-size: 1rem; line-height: 1.35; }

.trips__title {
  margin: clamp(72px, 10vw, 136px) 0 clamp(18px, 2vw, 28px);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: -0.04em;
}
.trips { border-top: 1px solid var(--line-dark); }
.trips li {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) minmax(0, 0.7fr);
  gap: 12px clamp(20px, 3vw, 48px); align-items: baseline;
  padding: clamp(20px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--line-dark);
}
.trips h4 { font-size: clamp(1.3rem, 2.1vw, 1.75rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1.15; }
.trips p { color: var(--on-dark-2); }
.trips span { justify-self: end; text-align: right; font-size: 0.9rem; color: var(--on-dark); white-space: nowrap; }

/* ---------- 10 Details & Anreise ---------- */
.specs { border-top: 1px solid var(--line); }
.specs > div {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  gap: 6px clamp(20px, 4vw, 64px);
  padding: clamp(18px, 2vw, 24px) 0;
  border-bottom: 1px solid var(--line);
}
.specs dt { font-weight: 600; letter-spacing: -0.015em; }
.specs dd { color: var(--ink-2); }

.arrive { margin-top: clamp(72px, 10vw, 136px); }
.arrive__title { margin-bottom: clamp(22px, 3vw, 36px); font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: -0.04em; }
.arrive__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 52px); }
.arrive__grid > div { padding-top: 20px; border-top: 1px solid var(--line); }
.arrive__grid h4 { margin-bottom: 8px; font-size: 1.15rem; font-weight: 650; letter-spacing: -0.025em; }
.arrive__grid p { color: var(--ink-2); }
.address {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
  margin-top: clamp(32px, 4vw, 56px); padding: clamp(22px, 2.6vw, 32px) clamp(24px, 3vw, 38px);
  border-radius: var(--r);
  background: var(--soft);
}
.address strong { font-weight: 650; letter-spacing: -0.02em; }

/* ---------- 11 Anfrage ---------- */
.booking {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px); align-items: start;
}
.booking__alt { margin-top: 26px; }
.inquiry {
  display: grid; gap: 16px;
  padding: clamp(24px, 3.2vw, 40px);
  border-radius: var(--r);
  background: var(--white);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > span { font-size: 0.82rem; font-weight: 600; color: var(--ink-2); }
.field small { font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #86868b; border-radius: 12px;
  background: var(--white); color: var(--ink);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.16);
}
.field textarea { resize: vertical; }
.inquiry__hint, .inquiry__legal { font-size: 0.8rem; color: var(--ink-2); }
.inquiry__hint.is-error { color: #c9302c; font-weight: 600; }
.inquiry a { color: var(--blue-text); text-decoration: none; }
.inquiry a:hover { text-decoration: underline; }

/* ---------- 12 Fußzeile ---------- */
.footer { background: var(--soft); padding-block: 0 44px; font-size: 0.8rem; color: var(--ink-2); }
.footer .wrap { border-top: 1px solid var(--line); padding-top: 26px; }
.footer__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 28px; margin-bottom: 18px; }
.footer__brand { font-size: 1rem; font-weight: 650; letter-spacing: -0.025em; color: var(--ink); }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer__links a { color: var(--ink); text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }
.footer__legal + .footer__legal { margin-top: 6px; }
.footer--page { background: var(--white); }

/* ---------- 13 Großansicht ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  padding: 0; border: 0; background: transparent; color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.94); }
.lightbox figure { display: grid; justify-items: center; gap: 14px; padding: 64px 16px 28px; max-width: 100vw; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 78dvh; border-radius: 14px; object-fit: contain; }
.lightbox figcaption { font-size: 0.92rem; color: var(--on-dark-2); text-align: center; }
.lightbox button {
  position: fixed; z-index: 2;
  display: grid; place-items: center;
  width: 46px; height: 46px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer;
  transition: background-color 0.25s;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.26); }
.lightbox__close { top: calc(env(safe-area-inset-top, 0px) + 14px); right: max(14px, env(safe-area-inset-right, 0px)); }
.lightbox__nav--prev { left: max(14px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: max(14px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }

/* ---------- 14 Rechtstexte (Impressum, Datenschutz, AGB) ---------- */
.legal { padding: calc(var(--nav-h) + clamp(48px, 8vw, 110px)) 0 clamp(72px, 10vw, 140px); }
.legal .wrap { max-width: calc(780px + 2 * var(--gutter)); }
.legal .back { display: inline-flex; margin-bottom: 30px; font-size: 0.92rem; }
.legal .back::after { display: none; }
.legal .back::before {
  content: ""; width: 0.42em; height: 0.42em; margin-top: 0.05em;
  border-bottom: 0.1em solid currentColor; border-left: 0.1em solid currentColor;
  transform: rotate(45deg);
}
.legal h1 { margin-bottom: 0.5em; font-size: clamp(2.5rem, 7vw, 4.6rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.legal .legal__lead { margin-bottom: 8px; font-size: clamp(1.1rem, 1.65vw, 1.3rem); font-weight: 500; line-height: 1.4; color: var(--ink-2); }
.legal h2 { margin: 2.1em 0 0.55em; font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1.2; }
.legal p + p, .legal ul + p, .legal ol + p, .legal p + ul, .legal p + ol { margin-top: 0.85em; }
.legal ul, .legal ol { display: grid; gap: 0.55em; padding-left: 1.4em; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal ol > li::marker { color: var(--ink-2); }
.legal a:not(.link) { color: var(--blue-text); text-decoration: none; }
.legal a:not(.link):hover { text-decoration: underline; }
.todo {
  display: inline-block; padding: 0 0.5em;
  border: 1px dashed #c98500; border-radius: 7px;
  background: rgba(255, 176, 32, 0.16); color: #7a4a00;
  font-size: 0.9em; font-weight: 600; line-height: 1.6;
}

/* ---------- 15 Bewegung ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes line-up { from { transform: translateY(108%); } to { transform: none; } }
.motion .rise { animation: rise 1.1s var(--ease-out) both; animation-delay: calc(0.15s + var(--d, 0) * 0.09s); }
.motion .hero__line > span { animation: line-up 1.25s var(--ease-out) both; animation-delay: calc(0.15s + var(--d, 0) * 0.09s); }

.motion [data-reveal] {
  opacity: 0; transform: translateY(40px) scale(0.985);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 85ms);
}
.motion [data-reveal].is-in { opacity: 1; transform: none; }
.motion .score .meter::after { transform: scaleX(0); transition: transform 1.6s var(--ease-out) 0.35s; }
.motion .score.is-in .meter::after { transform: scaleX(var(--v)); }

/* ---------- 16 Kleine Bildschirme ---------- */
@media (max-width: 1020px) {
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trips li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
  .trips span { grid-column: 2; justify-self: start; text-align: left; color: var(--on-dark-2); white-space: normal; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: grid; }
  .nav__inner { gap: 14px; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); }
  .tile { grid-column: span 1; }
  .tile--a, .tile--f { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .tile--b, .tile--c { grid-column: span 2; min-height: 230px; }

  .room, .motion .room { grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; align-content: start; }
  .motion .room { padding-top: calc(var(--nav-h) + 14px); padding-bottom: 84px; }
  .motion .room__media { aspect-ratio: auto; height: min(42svh, calc(100svh - 400px)); max-height: none; }
  .motion .room ul { display: none; }
  .room ul { margin-top: 18px; }
  .room li { padding: 10px 0; font-size: 0.98rem; }
  .motion .rooms__rail { bottom: 20px; max-width: calc(100% - 24px); }
  .rooms__tab { padding: 7px 11px; font-size: 0.78rem; }

  .reel { --slide: 86vw; }
  .score { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .view { aspect-ratio: 4 / 3; }
  .view img { object-position: 30% 60%; }
  .view figcaption { left: 12px; right: 12px; bottom: 12px; border-radius: 14px; font-size: 0.78rem; }
  .specs > div { grid-template-columns: minmax(0, 1fr); }
  .arrive__grid, .booking { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero__actions { flex-direction: column; }
  .bento { grid-auto-rows: auto; }
  .tile--b, .tile--c, .tile--d, .tile--e { grid-column: span 2; min-height: 0; }
  .tile__big { margin-bottom: 16px; font-size: 3.5rem; }
  .tile h3 { margin-top: 0; }
  .hero__rating { max-width: 19rem; }
  .quotes, .stats { grid-template-columns: minmax(0, 1fr); }
  .stats { gap: 30px; }
  .trips li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .trips span { grid-column: 1; }
  .field-row { gap: 10px; }
  .lightbox__nav--prev, .lightbox__nav--next { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0s !important; }
}

/* Kontaktangaben im Anfrage-Abschnitt */
.contact { display: grid; gap: 12px; margin-top: clamp(28px, 3.4vw, 44px); padding-top: 24px; border-top: 1px solid var(--line); }
.contact > div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 14px; align-items: baseline; }
.contact dt { font-size: 0.82rem; font-weight: 600; color: var(--ink-2); }
.contact a { color: var(--ink); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.contact a:hover { color: var(--blue-text); }

/* Sehr schmale Bildschirme: „Anfragen“ steht ohnehin im Menü */
@media (max-width: 380px) {
  .nav__cta { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .rooms__tab { padding: 7px 8px; }
}

/* Niedrige Fenster (Handy im Querformat): Räume untereinander statt fixiert */
@media (max-height: 520px) {
  .motion .rooms { height: auto; padding-block: clamp(72px, 10vw, 140px); }
  .motion .rooms__sticky { position: static; height: auto; overflow: visible; }
  .motion .room { position: static; pointer-events: auto; padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(28px, 4vw, 56px); }
  .motion .room .room__media, .motion .room .room__copy > * { opacity: 1; transform: none; }
  .motion .room__media { height: auto; max-height: none; aspect-ratio: 3 / 2; }
  .motion .room ul { display: block; }
  .motion .rooms__rail { display: none; }
}

/* Ohne JavaScript: Bedienelemente ausblenden, die dann nichts tun */
html:not(.js) .inquiry, html:not(.js) .nav__toggle, html:not(.js) .reel__nav { display: none; }

/* Belegungskalender im Anfrageformular */
.cal { display: grid; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cal__title { font-size: 1.1rem; font-weight: 650; letter-spacing: -0.025em; }
.cal__nav {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%;
  background: var(--soft); color: var(--ink); cursor: pointer;
  transition: background-color 0.25s, opacity 0.25s;
}
.cal__nav:hover:not(:disabled) { background: #e8e8ed; }
.cal__nav:disabled { opacity: 0.35; cursor: default; }
.cal__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cal__week, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__week span { text-align: center; font-size: 0.74rem; font-weight: 600; color: var(--ink-2); }
.cal__day {
  aspect-ratio: 1; min-height: 38px; padding: 0;
  border: 0; border-radius: 50%;
  background: none; color: var(--ink); cursor: pointer;
  font: inherit; font-size: 0.95rem; font-variant-numeric: tabular-nums;
  transition: background-color 0.2s, color 0.2s;
}
.cal__day:hover:not(:disabled) { background: var(--soft); }
.cal__day:disabled { color: #b4b4b9; cursor: default; }
.cal__day.is-today { box-shadow: inset 0 0 0 1.5px var(--line); }
.cal__day.is-busy { background: var(--soft); color: #8e8e93; text-decoration: line-through; }
.cal__day.is-between { background: var(--blue-pale, #e3effd); border-radius: 12px; }
.cal__day.is-pick, .cal__day.is-pick:hover { background: var(--blue); color: #fff; }
.cal__legend { display: none; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 0.8rem; color: var(--ink-2); }
.cal.is-live .cal__legend { display: flex; }
.cal__key { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); }
.cal__key:not(:first-child) { margin-left: 12px; }
.cal__key--busy { background: #d2d2d7; box-shadow: none; }
.cal__key--pick { background: var(--blue); box-shadow: none; }
.cal__status { font-size: 0.8rem; color: var(--ink-2); min-height: 1.2em; }

/* Preistabelle und Richtpreis */
.prices { margin-top: clamp(72px, 10vw, 136px); }
.cal__preis { padding: 12px 16px; border-radius: 12px; background: var(--soft); font-weight: 600; letter-spacing: -0.01em; }
