/* ==========================================================================
   M&R Textilreinigung
   Konzept: ein Flug durch den echten Laden. Das Video ist die Bühne, die Informationen
   liegen als Glas (frosted, hell) darauf. Kondensierte Schildschrift (wie auf der
   Visitenkarte), Logo-Blau, Weiß. Nur transform/opacity werden animiert.
   Reines CSS, kein Build. Ohne JS / bei reduzierter Bewegung: Foto + Text untereinander.
   ========================================================================== */

@font-face {
  font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2-variations");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
}
@font-face {
  font-family: "Geist"; src: url("../fonts/geist-var.woff2") format("woff2-variations");
  font-weight: 100 900; font-display: swap;
}

:root {
  --blue: #3853A4;              /* aus dem Logo gemessen */
  --blue-2: #2A3F86;
  --blue-deep: #17235A;
  --navy: #0E1740;
  --aqua: #8EDCF0;              /* nur als Lichtakzent auf Dunkel */

  --bg: #FFFFFF;
  --ice: #EEF2FB;
  --ink: #0F1840;
  --muted: #475174;             /* ≥ 7:1 auf Weiß */
  --line: rgba(15, 24, 64, .14);
  --on-dark: #FFFFFF;
  --on-dark-muted: #CBD4F1;     /* ≥ 7:1 auf --navy */

  --r: 18px;
  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1240px;
  --head-h: 68px;

  /* Rundgang: Höhe der Bühne, Scrolllänge je Bereich, Glas-Panel, Video */
  --vh: 100vh;
  --stop: 115vh;
  --panel-w: clamp(340px, 31vw, 470px);
  --ov: 96px;                                             /* so weit ragt das Panel ins Video hinein */
  /* Laptop: Video quadratisch, höchstens in Originalgröße (1080 px) — es wird nie hochskaliert und bleibt scharf */
  --film-box: min(calc(var(--vh) - 56px), 1080px, calc(100vw - var(--panel-w) + var(--ov) - 2 * var(--gutter) - 56px));
  --film-h: var(--film-box);
  --film-w: var(--film-box);
  --film-s: var(--film-box);
  --grp-left: max(var(--gutter), calc((100vw - (var(--panel-w) - var(--ov) + var(--film-box))) / 2));   /* Panel + Video als Gruppe mittig */
}
@supports (height: 1svh) { :root { --vh: 100svh; --stop: 115svh; } }
@media (max-width: 820px) {
  /* Handy: Video groß über die ganze Breite, die kleine Glaskarte schwebt über seinem unteren Teil (Höhe wächst mit dem Inhalt) */
  :root { --head-h: 60px; --film-h: calc(var(--vh) - 200px); --film-w: 100vw; --film-s: max(100vw, var(--film-h)); }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--navy); }
body {
  margin: 0; background: var(--navy); color: var(--ink);
  font: 400 clamp(1rem, .96rem + .18vw, 1.1rem)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd, dt, figure, address { margin: 0; padding: 0; }
ol, ul { list-style: none; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.finale :focus-visible, .site-foot :focus-visible { outline-color: var(--aqua); }
.anfrage-card :focus-visible { outline-color: var(--blue); }
::selection { background: var(--blue); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }

/* Schildschrift: kondensiert, nie fetter als nötig */
h1, h2, h3, .price dd, .svc-t { font-family: var(--f-display); font-stretch: 78%; font-weight: 700; }
h1 { font-size: clamp(2.7rem, 1rem + 4.4vw, 5.2rem); line-height: .95; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem); line-height: .98; letter-spacing: -.02em; text-wrap: balance; }
h3 { font-size: 1.5rem; line-height: 1.1; letter-spacing: -.01em; }
.sub { margin-top: 14px; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: var(--muted); }

/* ---------- Logo (SVG als Maske, nimmt jede Farbe an) ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 34px; height: 32px; flex: none; background: currentColor; -webkit-mask: url("../img/logo-mark.svg") center / contain no-repeat; mask: url("../img/logo-mark.svg") center / contain no-repeat; }
.brand-name { font: 700 1.02rem/1 var(--f-display); font-stretch: 85%; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

/* ---------- Buttons & Links ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border: 0; border-radius: 999px; font: 600 1rem/1 var(--f-body); white-space: nowrap; cursor: pointer; transition: transform .25s var(--ease), background-color .25s, box-shadow .25s; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:active { transform: scale(.97); transition-duration: .08s; }
.btn-light { background: #fff; color: var(--blue-deep); }
.btn-light:hover { background: #E3E9F8; }
.btn-blue { background: var(--blue); color: #fff; min-height: 52px; box-shadow: 0 10px 24px -10px rgba(56, 83, 164, .8); }
.btn-blue:hover { background: var(--blue-2); }
.btn-blue[disabled] { opacity: .65; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; font-weight: 600; border-bottom: 1.5px solid currentColor; transition: gap .3s var(--ease), opacity .2s; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow:active { opacity: .7; }
button.link-arrow { background: none; border: 0; border-bottom: 1.5px solid currentColor; border-radius: 0; color: var(--blue-deep); font: 600 1rem/1.6 var(--f-body); cursor: pointer; }

/* ---------- Glas: ein Material für Kopfzeile, Panels und Navigation ----------
   Helles Milchglas (Weißanteil ≥ 62 %) — dunkle Schrift bleibt über jedem Bildausschnitt lesbar.
   Die Lichtkante (::after) und die Glanzkante (inset) machen aus der Fläche Glas. */
.head-pill, .panel, .rail ol {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, .82), rgba(243, 247, 255, .64) 55%, rgba(236, 241, 255, .74));
  -webkit-backdrop-filter: blur(24px) saturate(1.8); backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(255, 255, 255, .4), 0 28px 60px -26px rgba(8, 14, 50, .55), 0 2px 8px rgba(8, 14, 50, .12);
}
.head-pill::after, .panel::after, .sheet::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0) 68%, rgba(255, 255, 255, .7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .head-pill, .panel, .rail ol { background: rgba(255, 255, 255, .95); }
}

/* ---------- Kopfzeile: schwebende Kapsel, blendet beim Abwärtsscrollen aus, beim Hinaufscrollen ein ---------- */
.site-head { position: fixed; inset: max(12px, env(safe-area-inset-top)) 0 auto 0; z-index: 60; padding-inline: clamp(12px, 3vw, 32px); pointer-events: none; transition: transform .7s var(--ease); }
.site-head.is-hidden { transform: translateY(calc(-100% - 28px)); }
.head-pill { pointer-events: auto; width: min(100%, 1180px); margin-inline: auto; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); padding: 7px 7px 7px 20px; border-radius: 999px; color: var(--ink); }
.head-pill .brand-mark { color: var(--blue); }
.nav { display: flex; gap: clamp(18px, 2.4vw, 34px); margin-left: auto; }
.nav a { position: relative; padding: 8px 2px; font-weight: 500; font-size: .98rem; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1.5px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.head-call { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; font-size: .98rem; white-space: nowrap; transition: background-color .25s, transform .25s var(--ease); }
.head-call svg { width: 18px; height: 18px; }
.head-call:hover { background: var(--blue-2); }
.head-call:active { transform: scale(.97); }

.status { display: inline-flex; align-items: center; gap: 10px; font-size: .98rem; font-weight: 500; }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #8A93B4; flex: none; }
[data-state="open"] .pulse { background: #1FA660; }
[data-state="open"] .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #1FA660; animation: ping 2.2s ease-out infinite; }
@keyframes ping { to { transform: scale(3.2); opacity: 0; } }

/* ==========================================================================
   RUNDGANG
   Standard (ohne JS, reduzierte Bewegung): jeder Bereich = Foto + Text, untereinander.
   Mit JS (.is-scrolly): Bühne klebt (sticky), das Video fliegt beim Scrollen von Bereich zu Bereich.
   ========================================================================== */
.rundgang { position: relative; background: var(--navy); }
.stage { display: none; }
.stop { padding: clamp(36px, 5vw, 72px) 0; }
.stop:first-child { padding-top: calc(var(--head-h) + 56px); }
.stop-in { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 64px); align-items: center; }
.stop:nth-child(even) .stop-fig { order: 2; }
.stop-fig img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 28px; }
.panel { padding: clamp(22px, 2.1vw, 34px); border-radius: 30px; color: var(--ink); background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.panel::after { display: none; }
@media (max-width: 820px) {
  .stop-in { grid-template-columns: 1fr; }
  .stop:nth-child(even) .stop-fig { order: 0; }
}

/* kein kurzes Aufblitzen der statischen Ansicht, bevor das Script die Bühne aufgebaut hat */
@media (prefers-reduced-motion: no-preference) { .js .rundgang:not(.is-scrolly):not(.is-static) { visibility: hidden; min-height: 100vh; } }

/* Werte, die das Script bei jeder Fahrt pro Bild setzt: nicht vererben, sonst werden bei jedem Bild alle Kind-Elemente (Text der Karten, Fotos) neu gezeichnet */
@property --o { syntax: "<number>"; inherits: false; initial-value: 1; }
@property --s { syntax: "<number>"; inherits: false; initial-value: 1; }
@property --ty { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --fx { syntax: "<number>"; inherits: false; initial-value: .5; }
@property --ambx { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@property --cue { syntax: "<number>"; inherits: false; initial-value: 0; }

/* --- Bühne --- */
.is-scrolly .stage { touch-action: none; display: block; position: sticky; top: 0; height: var(--vh); overflow: hidden; z-index: 1; background: #F5F6FF; }
.ambient { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #F5F6FF; }   /* Farbverlauf: je Bereich eine eigene Stimmung, blendet weich über und wandert mit */
.amb-in { position: absolute; inset: 0 -8%; transform: translate3d(var(--ambx, 0%), 0, 0); }
.amb-in i { position: absolute; inset: 0; opacity: 0; will-change: opacity; }   /* Farbflächen bleiben als Ebenen auf der Grafikkarte, statt bei jeder Fahrt neu berechnet zu werden */
.amb-in .a1 { background: radial-gradient(55% 70% at 14% 24%, #FFBFD9, transparent 72%), radial-gradient(60% 75% at 86% 80%, #8FDDF1, transparent 72%), radial-gradient(40% 45% at 60% 8%, #FFE6F1, transparent 70%), #F6F6FF; }
.amb-in .a2 { background: radial-gradient(55% 70% at 12% 80%, #A9C4FF, transparent 72%), radial-gradient(60% 75% at 88% 22%, #9DE8DC, transparent 72%), radial-gradient(40% 45% at 52% 96%, #DCE7FF, transparent 70%), #F4F8FF; }
.amb-in .a3 { background: radial-gradient(55% 70% at 16% 18%, #FFE29E, transparent 72%), radial-gradient(60% 75% at 84% 84%, #9CE9D6, transparent 72%), radial-gradient(40% 45% at 64% 14%, #FFD7B8, transparent 70%), #FFFBF2; }
.amb-in .a4 { background: radial-gradient(55% 70% at 12% 84%, #FFB3AE, transparent 72%), radial-gradient(60% 75% at 88% 18%, #FFDFA3, transparent 72%), radial-gradient(40% 45% at 46% 96%, #FFD0E0, transparent 70%), #FFF7F3; }
.amb-in .a5 { background: radial-gradient(55% 70% at 16% 22%, #FFEC8F, transparent 72%), radial-gradient(60% 75% at 86% 82%, #A6C6FF, transparent 72%), radial-gradient(40% 45% at 60% 10%, #FFF3C2, transparent 70%), #FBFBFF; }
.amb-in .a6 { background: radial-gradient(55% 70% at 12% 80%, #AEC0FF, transparent 72%), radial-gradient(60% 75% at 88% 22%, #D7B8FF, transparent 72%), radial-gradient(40% 45% at 50% 96%, #BFE6FF, transparent 70%), #F6F5FF; }
.ambient::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 62% 48%, rgba(255, 255, 255, .38), transparent 70%); }
.film { position: absolute; z-index: 1; left: calc(var(--grp-left) + var(--panel-w) - var(--ov)); top: calc((var(--vh) - var(--film-box)) / 2); width: var(--film-box); height: var(--film-box); overflow: hidden; border-radius: 30px; background: var(--blue-deep); contain: strict; box-shadow: 0 50px 90px -36px rgba(36, 46, 110, .6), 0 0 0 1px rgba(255, 255, 255, .85); }
.film-in { will-change: transform; position: absolute; left: 50%; top: 0; width: var(--film-s); height: var(--film-s); transform: translate3d(calc(-50% + (.5 - var(--fx, .5)) * (var(--film-s) - var(--film-w))), calc(var(--fy, .5) * (var(--film-h) - var(--film-s))), 0); }
.film-in img, .film-in video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.film-p { opacity: 0; will-change: opacity; }   /* Fotos liegen über dem Video; JS blendet das scharfe Foto am Bereich ein */
.is-live .film-p { transition: opacity .35s; }
.film-in video { opacity: 0; }   /* zwei Elemente halten je eine Fahrt bereit; sichtbar ist nur das, das gerade läuft (.is-top) */
.is-live .film-in video.is-top { opacity: 1; }
.film-shade { display: none; }

.is-scrolly .stops { position: relative; z-index: 2; margin-top: calc(-1 * var(--vh)); pointer-events: none; }
.is-scrolly .stop { height: var(--stop); padding: 0; }
.is-scrolly .stop:last-child { height: var(--vh); }
.is-scrolly .stop-in { display: none; }

/* --- Panel (Glas): liegt in der Bühne, bleibt stehen; Scrollen blendet ein/aus und hebt es leicht an --- */
.panels, .sheet { display: none; }
.is-scrolly .panels { display: block; position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.is-scrolly .panel {
  position: absolute; left: var(--grp-left); top: calc(50% + var(--head-h) / 2);
  width: min(calc(100% - 2 * var(--gutter)), var(--panel-w)); pointer-events: auto; transform-origin: 18% 50%;
  opacity: var(--o, 1); transform: translate3d(0, calc(-50% + var(--ty, 0px)), 0) scale(var(--s, 1)); will-change: transform, opacity;   /* eigene Ebene: sonst wird die Karte bei jedem Bild der Fahrt neu gerastert (Skalierung ändert sich) */
  background: linear-gradient(160deg, rgba(255, 255, 255, .82), rgba(243, 247, 255, .64) 55%, rgba(236, 241, 255, .74));
  -webkit-backdrop-filter: blur(24px) saturate(1.8); backdrop-filter: blur(24px) saturate(1.8);
}
.is-scrolly .panel::after { display: block; }
.is-scrolly .panel.is-off { visibility: hidden; }
/* Solange das Video läuft: keine Unschärfe-Effekte darüber (die rechnet jedes Videobild neu und ruckelt); am Bereich ist das Glas wieder da */
.is-scrolly.is-flying .panel, .is-scrolly.is-flying .sheet, .is-scrolly.is-flying .rail ol, .is-scrolly.is-flying .head-pill { -webkit-backdrop-filter: none; backdrop-filter: none; }
.is-scrolly.is-flying .panel { background: rgba(255, 255, 255, .86); }
.is-scrolly.is-flying .sheet { background: rgba(250, 252, 255, .88); }
.is-scrolly.is-flying .rail ol { background: rgba(255, 255, 255, .85); }
/* Glanzlicht folgt dem Zeiger (nur Maus/Trackpad) */
.panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(360px circle at var(--mx, 30%) var(--my, 0%), rgba(255, 255, 255, .7), transparent 60%); }
@media (hover: hover) and (pointer: fine) { .is-scrolly .panel:hover::before { opacity: 1; } }

.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 600 .76rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); }
.eb-n { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .72rem; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.panel h1, .panel h2 { color: var(--blue-deep); font-size: clamp(2.3rem, 1.1rem + 2.6vw, 3.7rem); line-height: .96; }
.panel h1 { font-size: clamp(2.5rem, 1.1rem + 3vw, 4.2rem); }
.panel .lede { margin-top: 14px; font-size: clamp(1.02rem, .98rem + .22vw, 1.15rem); line-height: 1.45; color: var(--ink); }
.actions { margin-top: 22px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; }
.panel .link-arrow { color: var(--blue-deep); }
.panel .status { margin-top: 18px; color: var(--ink); }
.panel .lede + .prices, .panel h2 + .svc-list, .panel h2 + .hours-mini { margin-top: 18px; }

/* Preise */
.prices { margin-top: 16px; border-top: 1px solid rgba(23, 35, 90, .14); }
.price { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid rgba(23, 35, 90, .12); }
.price dt { font-weight: 500; }
.price dd { font-size: 1.7rem; line-height: 1; letter-spacing: -.01em; color: var(--blue-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { margin-right: 4px; font: 500 .86rem/1 var(--f-body); letter-spacing: 0; color: var(--blue-deep); }

/* Leistungen */
.svc-list { border-top: 1px solid rgba(23, 35, 90, .14); }
.svc { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 2px; border-bottom: 1px solid rgba(23, 35, 90, .12); }
.svc-t { font-size: 1.7rem; line-height: 1.1; font-stretch: 80%; letter-spacing: -.01em; transition: transform .45s var(--ease); }
.svc-a { width: 22px; height: 22px; flex: none; color: var(--blue); opacity: .5; transition: opacity .3s, transform .45s var(--ease); }
@media (hover: hover) {
  .svc:hover .svc-t { transform: translateX(6px); }
  .svc:hover .svc-a { opacity: 1; transform: translateX(3px); }
}
.svc:focus-visible .svc-a { opacity: 1; }

/* Öffnungszeiten im Panel */
.hours-mini { border-top: 1px solid rgba(23, 35, 90, .14); }
.hours-mini li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(23, 35, 90, .12); font-variant-numeric: tabular-nums; }
.hours-mini li:first-child { font-weight: 600; }

/* --- Fortschritt: Punkte rechts (Laptop), Segmente unter dem Video (Handy) --- */
.rail { position: absolute; right: clamp(14px, 2vw, 30px); top: 50%; z-index: 5; transform: translateY(-50%); }
.rail ol { display: flex; flex-direction: column; padding: 8px 6px; border-radius: 999px; }
.rail a { position: relative; display: flex; align-items: center; justify-content: center; width: 30px; height: 32px; }
.rd { width: 9px; height: 9px; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 2px rgba(23, 35, 90, .45); transition: transform .45s var(--ease), background-color .3s, box-shadow .3s; }
.rail a.is-passed .rd { background: var(--blue); box-shadow: none; }
.rail a.is-active .rd { transform: scale(1.5); background: var(--blue); box-shadow: 0 0 0 4px rgba(56, 83, 164, .25); }
.rl { position: absolute; right: calc(100% + 6px); top: 50%; padding: 8px 14px; border-radius: 999px; background: rgba(14, 23, 64, .86); color: #fff; font: 600 .82rem/1 var(--f-body); white-space: nowrap; opacity: 0; transform: translate(8px, -50%); pointer-events: none; transition: opacity .25s, transform .4s var(--ease); }
.rail a:hover .rl, .rail a:focus-visible .rl, .rail a.is-active .rl { opacity: 1; transform: translate(0, -50%); }
.rail a.is-active:not(:hover) .rl { opacity: 0; }   /* aktiver Bereich steht ohnehin im Panel; Name erscheint bei Zeiger/Fokus */

@media (max-width: 820px) {
  .film { left: 0; top: 0; width: auto; right: 0; height: var(--film-h); border-radius: 0; box-shadow: none; }
  /* kleine, schwebende Glaskarte; ihre Höhe folgt dem Inhalt (JS setzt --sheet-now) */
  .is-scrolly .sheet { display: block; position: absolute; z-index: 3; left: 10px; right: 10px; bottom: max(34px, calc(env(safe-area-inset-bottom) + 14px)); height: var(--sheet-now, 280px); transition: height .5s var(--ease); border-radius: 28px; background: linear-gradient(180deg, rgba(255, 255, 255, .6), rgba(246, 249, 255, .7) 40%, rgba(240, 245, 255, .8)); -webkit-backdrop-filter: blur(26px) saturate(1.9); backdrop-filter: blur(26px) saturate(1.9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .26), 0 24px 50px -18px rgba(8, 14, 50, .55); }
  .sheet-cue { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font: 600 .74rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); opacity: var(--cue, 0); }
  .sheet::before { content: ""; position: absolute; left: 50%; top: 8px; width: 34px; height: 4px; margin-left: -17px; border-radius: 2px; background: rgba(23, 35, 90, .2); }
  .is-scrolly .panels { top: auto; left: 10px; right: 10px; bottom: max(34px, calc(env(safe-area-inset-bottom) + 14px)); height: var(--sheet-now, 280px); transition: height .5s var(--ease); }
  .is-scrolly .panel { left: 0; right: 0; top: 0; width: auto; padding: 22px 20px 18px; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform-origin: 50% 0; transform: translate3d(0, var(--ty, 0px), 0) scale(var(--s, 1)); }
  .is-scrolly .panel::after, .is-scrolly .panel::before { display: none; }
  .film-shade { display: block; background: linear-gradient(rgba(8, 14, 50, .4), transparent 110px); }
  .rail { left: 18px; right: 18px; top: calc(max(12px, env(safe-area-inset-top)) + 68px); transform: none; }
  .rail ol { flex-direction: row; gap: 6px; padding: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .rail li { flex: 1; }
  .rail a { width: 100%; height: 26px; }
  .rd { width: 100%; height: 4px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .38); box-shadow: 0 0 0 1px rgba(8, 14, 50, .12); }
  .rd::after { content: ""; display: block; width: 100%; height: 100%; background: #fff; transform: scaleX(var(--f, 0)); transform-origin: left; }
  .rail a.is-passed .rd, .rail a.is-active .rd { background: rgba(255, 255, 255, .38); box-shadow: 0 0 0 1px rgba(8, 14, 50, .12); transform: none; }
  .rl { display: none; }
  /* Schrift und Abstände in der Karte kleiner */
  .panel h1 { font-size: clamp(1.95rem, 1.2rem + 3vw, 2.4rem); }
  .panel h2 { font-size: clamp(1.7rem, 1.1rem + 2.6vw, 2.1rem); }
  .eyebrow { margin-bottom: 8px; font-size: .68rem; gap: 8px; }
  .eb-n { min-width: 22px; height: 22px; padding: 0 7px; font-size: .66rem; }
  .panel .lede { margin-top: 8px; font-size: .95rem; line-height: 1.4; }
  .actions { margin-top: 14px; gap: 10px 18px; }
  .actions .btn { min-height: 44px; padding: 11px 20px; font-size: .95rem; }
  .actions .link-arrow { font-size: .92rem; }
  .panel .status { margin-top: 12px; font-size: .88rem; }
  .prices { margin-top: 10px; }
  .price { padding: 6px 0; }
  .price dt { font-size: .86rem; }
  .price dd { font-size: 1.28rem; }
  .price small { font-size: .74rem; }
  .svc-list, .hours-mini { margin-top: 10px; }
  .svc { padding: 8px 2px; }
  .svc-t { font-size: 1.28rem; }
  .svc-a { width: 18px; height: 18px; }
  .hours-mini li { padding: 8px 0; font-size: .92rem; }
  .panel .lede + .prices, .panel h2 + .svc-list, .panel h2 + .hours-mini { margin-top: 10px; }
}
@media (max-width: 820px) {
  .prices { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .price { flex-direction: column; align-items: flex-start; gap: 2px; }
}

/* ---------- Umschalter: Rundgang ⇄ ganz normal scrollen (nur mit Skript; Handy: im Rundgang oben unter den Balken, sonst unten mittig) ---------- */
.mode {
  position: fixed; z-index: 55; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 17px 0 14px; border: 0; border-radius: 999px;
  color: var(--blue-deep); font: 600 .86rem/1 var(--f-body); white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent;
  background: linear-gradient(160deg, rgba(255, 255, 255, .86), rgba(243, 247, 255, .7) 55%, rgba(236, 241, 255, .8));
  -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 16px 32px -14px rgba(8, 14, 50, .6), 0 2px 6px rgba(8, 14, 50, .16);
  opacity: 0; visibility: hidden; transform: translate3d(0, -6px, 0);
  transition: opacity .35s, transform .5s var(--ease), visibility 0s .35s;
}
.mode.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mode.is-flying { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .9); }
.mode:active { transform: scale(.97); transition-duration: .08s; }
.mode svg { width: 17px; height: 17px; flex: none; color: var(--blue); }
.mode[data-state="rundgang"] { right: 18px; top: calc(max(12px, env(safe-area-inset-top)) + 104px); }
.mode[data-state="free"] { left: 0; right: 0; margin-inline: auto; width: max-content; bottom: max(18px, calc(env(safe-area-inset-bottom) + 10px)); transform: translate3d(0, 8px, 0); }
.mode[data-state="free"].is-on { transform: none; }
@media (min-width: 821px) { .mode[data-state="rundgang"] { display: none; } }

/* Einstieg: erstes Panel baut sich beim Laden auf */
.js .stop:first-child .panel > * { animation: rise 1s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 90ms + 250ms); }
.stop:first-child .panel > :nth-child(1) { --i: 0; } .stop:first-child .panel > :nth-child(2) { --i: 1; } .stop:first-child .panel > :nth-child(3) { --i: 2; }
.stop:first-child .panel > :nth-child(4) { --i: 3; } .stop:first-child .panel > :nth-child(5) { --i: 4; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } }
.js .site-head { animation: drop 1s var(--ease) .1s backwards; }
@keyframes drop { from { opacity: 0; transform: translate3d(0, -18px, 0); } }
.stop:first-child .link-arrow svg { animation: nudge 2.2s var(--ease) 1.6s infinite; }
@keyframes nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(4px); } }

/* ==========================================================================
   FINALE: Anfrage + Kontakt auf dem weichgezeichneten Bügelraum
   ========================================================================== */
.finale { position: relative; isolation: isolate; z-index: 3; margin-top: -34px; border-radius: 34px 34px 0 0; background: var(--navy); color: var(--on-dark); overflow: hidden; }
.finale-bg { position: absolute; inset: 0; z-index: -1; background: var(--navy) url("../img/rundgang/finale-bg.webp") center top / cover no-repeat; }
.finale-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 23, 64, .35), rgba(14, 23, 64, .8) 55%, var(--navy)); }

.anfrage { padding: clamp(88px, 10vw, 150px) 0 clamp(56px, 7vw, 100px); scroll-margin-top: 10px; }
.anfrage-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.anfrage-intro { position: sticky; top: calc(var(--head-h) + 40px); }
.anfrage-intro h2 { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.2rem); }
.anfrage .sub { color: var(--on-dark-muted); }
.anfrage-alt { margin-top: 24px; color: var(--on-dark-muted); }
.anfrage-alt a { color: #fff; font-weight: 600; border-bottom: 1.5px solid currentColor; }
.anfrage-card { color: var(--ink); background: rgba(255, 255, 255, .95); border-radius: 28px; padding: clamp(22px, 3.2vw, 44px); box-shadow: inset 0 1px 0 #fff, 0 40px 90px -34px rgba(0, 0, 0, .7); }
.chips { border: 0; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend, .field label, .consent { font-size: .98rem; }
.chips legend { padding: 0; margin-bottom: 14px; font-weight: 600; width: 100%; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #C5CFEA; background: #fff; font-weight: 500; transition: background-color .25s, color .25s, border-color .25s, transform .2s var(--ease); }
.chip:hover span { border-color: var(--blue); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:active + span { transform: scale(.97); }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-weight: 600; }
.opt { margin-left: 6px; font-weight: 400; color: var(--muted); font-size: .88rem; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border: 1.5px solid #C5CFEA; border-radius: 12px; background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--f-body); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(56, 83, 164, .25); }
.field input.is-invalid, .field textarea.is-invalid { border-color: #B3261E; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field-hint { margin: -6px 0 20px; color: var(--muted); font-size: .9rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; line-height: 1.45; cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }
.consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.form-msg { margin-bottom: 16px; padding: 12px 16px; border-radius: 12px; background: #FDECEA; color: #8C1D18; font-weight: 500; }
.anfrage-card .btn-blue { width: 100%; justify-content: center; }
.form-done { text-align: center; padding: clamp(20px, 4vw, 48px) 0; }
.form-done svg { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 2.4; }
.form-done h3 { margin-top: 20px; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); }
.form-done p { margin: 10px 0 22px; color: var(--muted); }
.form-done:focus { outline: none; }

.visit { padding: clamp(40px, 6vw, 90px) 0 clamp(88px, 11vw, 160px); scroll-margin-top: 10px; }
.visit-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 7vw, 120px); align-items: end; }
.visit-main h2 { font-size: clamp(2.8rem, 1.2rem + 6.4vw, 6.6rem); line-height: .94; }
.visit-actions { margin-top: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; }
.visit-actions .link-arrow { color: #fff; }
.hours { padding: clamp(20px, 2.4vw, 32px); border-radius: 28px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.hours h3 { margin-bottom: 14px; font-size: 1.05rem; font-family: var(--f-body); font-stretch: 100%; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 14px; margin-inline: -14px; border-radius: 12px; font-variant-numeric: tabular-nums; }
.hours li + li { border-top: 1px solid rgba(255, 255, 255, .14); }
.hours li.is-today { background: #fff; color: var(--blue-deep); font-weight: 600; border-top-color: transparent; }
.hours li.is-today + li { border-top-color: transparent; }
.hours .status { margin-top: 18px; color: var(--on-dark-muted); }

/* Fuß */
.site-foot { position: relative; z-index: 3; background: var(--navy); color: var(--on-dark-muted); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); font-size: .95rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.foot-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 36px; align-items: center; }
.site-foot a { color: #fff; }
.site-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-foot nav { display: flex; gap: 24px; justify-content: flex-end; }
.brand-foot { color: #fff; }
.credit { grid-column: 1 / -1; opacity: .8; }

@media (max-width: 900px) {
  .anfrage-grid, .visit-grid { grid-template-columns: 1fr; }
  .anfrage-intro { position: static; }
  .visit-grid { align-items: start; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .head-call { margin-left: auto; }
  .brand-name { font-size: .92rem; }
  .visit-main h2 { font-size: clamp(2.4rem, 1rem + 8vw, 3.4rem); }
  .foot-grid { grid-template-columns: 1fr; }
  .site-foot nav { justify-content: flex-start; }
  .finale { margin-top: -24px; border-radius: 26px 26px 0 0; }
}
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
@media (max-width: 430px) {
  .head-pill { padding-left: 16px; }
  .head-call { padding: 12px; }
  .head-call span { display: none; }
}

/* ---------- Rechtsseiten ---------- */
.legal-head { background: var(--blue-deep); color: #fff; padding: 20px 0; }
.legal-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-head .back { font-weight: 600; }
.legal-head .back:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal { padding: clamp(48px, 7vw, 96px) 0; background: var(--bg); }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.4rem); margin-bottom: 32px; }
.legal-h { font: 700 1.5rem/1.15 var(--f-display); font-stretch: 85%; margin: 36px 0 10px; }
.legal p, .legal li { margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 1.3em; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-todo { display: inline-block; background: #FFF3C4; color: #5B4300; border: 1px dashed #C99A00; border-radius: 8px; padding: 2px 10px; font-weight: 600; font-size: .95em; }
.legal-note { margin-top: 36px; padding: 16px 18px; border-radius: 14px; background: var(--ice); color: var(--muted); font-size: .95rem; }

/* ---------- Bewegung: ruhig, ein Prinzip (einblenden + 16 px hochgleiten) ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Zugänglichkeit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .site-head.is-hidden { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .head-pill, .panel, .rail ol, .mode { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hours { background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: #2B3558; --on-dark-muted: #fff; }
  .link-arrow { border-width: 2px; }
  .head-pill, .panel, .mode { background: #fff; }
}
