/* Next Canvas – Stylesheet. Mobil zuerst, keine externen Quellen. */

@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #07080C;
  --surface: #0E1016;
  --line: #1E2230;
  --control: #6B7186; /* Rand von Eingabefeldern und Chips, 4,1:1 auf --ink */
  /* Liquid Glass: durchscheinend, stark weichgezeichnet, Glanz oben, feine Lichtkante */
  --glass: rgb(255 255 255 / .07);
  --glass-strong: rgb(255 255 255 / .15);
  --glass-edge: rgb(255 255 255 / .24);
  --glass-gloss: radial-gradient(120% 95% at 50% -15%, rgb(255 255 255 / .30), rgb(255 255 255 / 0) 58%);
  --glass-shadow: inset 0 1px 0 rgb(255 255 255 / .38), inset 0 -1px 1px rgb(255 255 255 / .07), 0 8px 28px rgb(0 0 0 / .32);
  --glass-blur: blur(16px) saturate(180%);
  /* Angebots-Button: Glas mit Markenfarbe; dunkle Grundschicht hält die weiße Schrift auch über hellen Bildern lesbar (mind. 4,5:1) */
  --glass-brand: var(--glass-gloss), linear-gradient(110deg, rgb(124 92 255 / .4), rgb(255 79 163 / .4) 55%, rgb(255 176 46 / .4)), rgb(7 8 12 / .7);
  --text: #F2F3F7;
  --muted: #8C92A6;
  --violet: #7C5CFF;
  --pink: #FF4FA3;
  --amber: #FFB02E;
  --grad: linear-gradient(90deg, var(--violet), var(--pink) 55%, var(--amber));
  --grad-up: linear-gradient(to top right, var(--violet), var(--pink) 55%, var(--amber));

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.55rem, 1.3rem + 1.2vw, 2.2rem);
  --step-3: clamp(2rem, 1.5rem + 2.6vw, 3.4rem);
  --step-4: clamp(2.4rem, 1.6rem + 4.2vw, 4.8rem);

  --gutter: clamp(16px, 5vw, 72px);
  --max: 1240px;
  --header-h: 64px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 var(--step-0)/1.6 var(--sans); overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
p { margin: 0; max-width: 70ch; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.lt { font-weight: 300; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.skip-link { position: fixed; left: 16px; top: -100px; z-index: 200; padding: 12px 18px; background: var(--text); color: var(--ink); border-radius: 8px; font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(80px, 12vw, 160px); border-top: 1px solid var(--line); }
.section__head { display: grid; gap: 16px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head h2 { font-size: var(--step-3); }
.section__head p { color: var(--muted); font-size: var(--step-1); line-height: 1.45; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--glass-strong); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--glass-edge); background: var(--glass-gloss), var(--bg); color: var(--text); box-shadow: var(--glass-shadow); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); font-weight: 500; font-size: var(--step--1); text-decoration: none; cursor: pointer; transition: background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), scale .15s var(--ease); }
.btn:hover { --bg: rgb(255 255 255 / .22); border-color: rgb(255 255 255 / .38); }
.btn:active { scale: .97; }
.btn--ghost { --bg: var(--glass); }
.btn--ghost:hover { --bg: rgb(255 255 255 / .13); }
.btn--small { min-height: 44px; padding: 8px 18px; }
.btn--glass { --bg: var(--glass); }
/* gleiches Farbglas wie der Angebots-Button unten rechts */
.btn--brand { background: var(--glass-brand); box-shadow: var(--glass-shadow), 0 0 24px rgb(255 79 163 / .22); }
.btn--brand:hover { filter: brightness(1.12); }
.btn--glass:hover { --bg: rgb(255 255 255 / .13); }
.btn--off { background: none; color: var(--muted); border: 1px dashed var(--line); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; cursor: not-allowed; }
.btn--off:hover { border-color: var(--line); }
.btn--off:active { scale: 1; }
/* runde Glas-Knöpfe (Menü, Schließen, Video-Pause) */
.menu-btn, .icon-btn, .media-toggle { border: 1px solid var(--glass-edge); background: var(--glass-gloss), var(--glass); box-shadow: var(--glass-shadow); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); color: var(--text); }
.menu-btn:hover, .icon-btn:hover, .media-toggle:hover { background: var(--glass-gloss), rgb(255 255 255 / .14); }
.btn__arrow { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translate(2px, -2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Seitenkopf ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background-color .3s var(--ease), border-color .3s var(--ease); border-bottom: 1px solid transparent; }
.site-header.is-solid { background: rgb(7 8 12 / .92); border-bottom-color: var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.brand svg { height: 34px; width: auto; }
.nav { display: none; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--muted); text-decoration: none; font-size: var(--step--1); transition: color .2s; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--text); }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a[aria-current="true"]::after { transform: scaleX(1); }
.header-cta { display: none; }
.menu-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -4px; cursor: pointer; border-radius: 50%; }
.menu-btn svg { width: 24px; height: 24px; }
.mobile-nav { position: fixed; inset: var(--header-h) 0 auto; z-index: 49; background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; }
.mobile-nav a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: var(--step-2); font-weight: 300; text-decoration: none; }
.mobile-nav .btn { margin-top: 20px; width: 100%; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-btn, .mobile-nav { display: none !important; }
  .brand svg { height: 38px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero__media, .intro__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .intro__media video, .intro__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* Verlaufs-Überlagerung: färbt das orange Licht der Treppe wie das Logo (Violett unten links, Amber oben rechts). Identisch im Intro, damit der Übergang nahtlos ist. */
.tint { position: absolute; inset: 0; z-index: -1; background: var(--grad-up); mix-blend-mode: color; opacity: .55; pointer-events: none; }
.hero__scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgb(7 8 12 / 0) 35%, rgb(7 8 12 / .72) 72%, var(--ink)); }
.hero__content { padding-top: calc(var(--header-h) + 40px); display: grid; gap: 20px; }
.hero h1 { font-size: var(--step-4); max-width: 13ch; }
.hero h1 span { display: block; }
.hero__lead { color: #C9CCD8; font-size: var(--step-1); line-height: 1.45; max-width: 36ch; }
.hero__actions { position: absolute; left: 0; right: 0; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; padding-inline: 16px; }
.hero__actions .btn { min-height: 52px; }
.hero__content { padding-bottom: 168px; }
@media (min-aspect-ratio: 1/1) {
  .hero { align-items: center; }
  .hero__scrim { background: linear-gradient(90deg, rgb(7 8 12 / .55), rgb(7 8 12 / 0) 50%), linear-gradient(180deg, rgb(7 8 12 / 0) 70%, var(--ink)); }
  .hero__content { padding-top: var(--header-h); padding-bottom: 120px; }
  .hero__lead { max-width: min(36ch, 44vw); }
  /* Überschrift richtet sich nach Breite und Höhe, damit sie auch auf niedrigen Bildschirmen ganz sichtbar bleibt */
  .hero h1 { font-size: clamp(2.4rem, min(5vw, 9.5vh), 5rem); max-width: none; }
  .hero h1 span { white-space: nowrap; }
  .hero__actions { bottom: clamp(28px, 6vh, 64px); }
}

/* ---------- Intro ---------- */
.intro, .intro-skip { display: none; }
html.has-intro { overflow: hidden; }
html.has-intro .intro { display: block; position: fixed; inset: 0; z-index: 100; background: #000; clip-path: inset(0 0 0 0); cursor: pointer; }
html.has-intro .intro-skip { display: inline-flex; position: fixed; z-index: 101; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
html.has-intro .intro-skip.is-shown { opacity: 1; visibility: visible; }
.intro .tint { opacity: 0; transition: opacity .7s var(--ease); }
.intro.is-end .tint { opacity: .55; }
.intro .hero__scrim { opacity: 0; transition: opacity .7s var(--ease); }
.intro.is-end .hero__scrim { opacity: 1; }
.intro.is-leaving { clip-path: inset(0 0 100% 0); transition: clip-path .6s cubic-bezier(.7, 0, .2, 1); }
.intro__brand { position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 14px; justify-items: start; }
.intro__logo { width: min(78vw, 560px); height: auto; overflow: visible; }
.intro__logo .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro__logo .word { opacity: 0; }
.intro__slogan { margin-left: calc(min(78vw, 560px) * 0.355); font-size: clamp(.8rem, .6rem + .8vw, 1.1rem); letter-spacing: .08em; color: var(--muted); opacity: 0; max-width: none; }
/* Takt passend zum gekürzten Video (3,3 s, Stillstand am Ende entfernt) */
.intro.is-playing .draw--frame { animation: draw .7s var(--ease) .6s forwards; }
.intro.is-playing .draw--n { animation: draw .55s var(--ease) 1.05s forwards; }
.intro.is-playing .draw--arrow { animation: draw .3s var(--ease) 1.5s forwards; }
.intro.is-playing .word { animation: fade .55s var(--ease) 1.75s forwards; }
.intro.is-playing .intro__slogan { animation: fade .55s var(--ease) 2s forwards; }
.intro.is-leaving .intro__slogan { opacity: 0; transition: opacity .2s; }
.intro.is-leaving .intro__logo { visibility: hidden; }
html.is-flipping .site-header { z-index: 102; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@media (max-aspect-ratio: 1/1) {
  .intro__brand { top: auto; bottom: calc(16vh + env(safe-area-inset-bottom, 0px)); transform: none; }
  .intro__slogan { margin-left: 0; font-size: .78rem; letter-spacing: .04em; white-space: nowrap; }
}
@media (min-aspect-ratio: 1/1) {
  .intro__logo { width: min(40vw, 560px); }
  .intro__slogan { margin-left: calc(min(40vw, 560px) * 0.355); }
}

/* ---------- Ablauf ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; counter-reset: step; }
.step { position: relative; display: grid; gap: 10px; padding-left: 64px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: -4px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-family: var(--display); font-weight: 300; font-size: 1.15rem; background: var(--ink); }
.step:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 48px; bottom: -36px; width: 1px; background: var(--line); }
.step h3 { font-size: var(--step-2); }
.step p { color: var(--muted); }
.payment { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.payment strong { color: var(--text); font-weight: 500; }
@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .step { padding-left: 0; padding-top: 72px; }
  .step::before { top: 0; }
  .step:not(:last-child)::after { left: 52px; right: -24px; top: 22px; bottom: auto; width: auto; height: 1px; }
}

/* ---------- Pakete als Treppe ---------- */
.stairs { --rise: 0px; list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.tier { position: relative; display: grid; align-content: start; gap: 16px; padding: 28px 0 32px 28px; border-left: 1px solid var(--line); }
.tier:nth-child(2) { margin-left: 16px; }
.tier:nth-child(3) { margin-left: 32px; }
/* Treppenhinweis am Handy: jede Stufe beginnt mit einem kurzen Verlaufsabsatz */
.tier::before { content: ""; position: absolute; left: -1px; top: 0; width: 40px; height: 2px; background: var(--grad); }
.tier__name { font-size: var(--step-2); }
.tier__price { font-family: var(--display); font-size: var(--step-3); font-weight: 300; letter-spacing: -0.02em; line-height: 1; }
.tier__price small { font-size: var(--step--1); font-family: var(--sans); color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.tier dl { margin: 0; display: grid; gap: 14px; }
.tier dt { font-size: var(--step--1); color: var(--muted); }
.tier dd { margin: 2px 0 0; }
.tier .btn { justify-self: start; margin-top: 8px; }
.tier--top { background: linear-gradient(90deg, var(--surface), transparent); }
@media (min-width: 900px) { .tier--top { background: linear-gradient(180deg, var(--surface), transparent); } }
@media (min-width: 900px) {
  .stairs { --rise: clamp(48px, 6vw, 88px); grid-template-columns: repeat(3, 1fr); align-items: end; padding-top: calc(var(--rise) * 2); }
  .tier { margin-left: 0 !important; padding: 32px 28px 40px; border-left: 0; border-top: 1px solid var(--line); }
  .tier::before { left: 0; top: -1px; width: 100%; }
  .tier:nth-child(2) { margin-bottom: var(--rise); }
  .tier:nth-child(3) { margin-bottom: calc(var(--rise) * 2); }
  .tier + .tier { border-left: 1px solid var(--line); }
}

.compare { margin-top: clamp(64px, 9vw, 112px); display: grid; gap: 20px; }
.compare h3 { font-size: var(--step-2); }
.compare > p { color: var(--muted); }
.table-wrap { overflow-x: auto; }
.compare table { width: 100%; max-width: 760px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.compare th, .compare td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare td:last-child, .compare th:last-child { text-align: right; padding-left: 16px; white-space: nowrap; }
.compare thead th { font-size: var(--step--1); color: var(--muted); font-weight: 400; }
.compare tfoot th, .compare tfoot td { font-weight: 500; }
.compare .row-total th, .compare .row-total td { border-bottom-color: var(--muted); }
.compare .row-large td:last-child { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notes { display: grid; gap: 8px; color: var(--muted); font-size: var(--step--1); margin: 0; padding-left: 1.1em; max-width: 70ch; }

/* ---------- Referenz ---------- */
.gate { position: relative; display: grid; grid-template-rows: 1fr 1fr; height: min(150vw, 760px); border-radius: 18px; overflow: hidden; background: #140f0c; color: #FBF8F3; isolation: isolate; }
.gate__half { position: relative; overflow: hidden; display: grid; align-items: end; justify-items: center; isolation: isolate; }
.gate__half video, .gate__half img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.gate__half--a video, .gate__half--a img { object-position: 50% 0%; }
.gate__half::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(20 15 12 / .05) 30%, rgb(20 15 12 / .65)); }
.gate__text { display: grid; justify-items: center; gap: 6px; padding: 0 20px 28px; text-align: center; }
.gate__title { font: 300 clamp(1.7rem, 1.2rem + 2vw, 2.8rem)/1.05 var(--display); letter-spacing: .01em; }
.gate__sub { font-size: .9rem; opacity: .9; }
.gate__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; font: 300 clamp(1.2rem, .9rem + 1.6vw, 2rem)/1 var(--display); letter-spacing: .32em; padding: 10px 16px 10px calc(16px + .32em); background: rgb(20 15 12 / .55); border: 1px solid rgb(251 248 243 / .4); white-space: nowrap; pointer-events: none; }
.media-toggle { position: absolute; right: 12px; top: 12px; z-index: 3; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.media-toggle svg { width: 14px; height: 14px; }
.ref { display: grid; gap: clamp(40px, 6vw, 72px); }
.ref__intro { display: grid; gap: 18px; align-content: start; }
.ref__intro h3 { font-size: var(--step-2); }
.ref__intro p { color: var(--muted); }
.ref__credit { color: var(--text); font-weight: 500; }
.ref__credit a { text-underline-offset: 4px; }
.ref figcaption { margin-top: 10px; color: var(--muted); font-size: var(--step--1); }
/* Handy: Wisch-Galerie, ein Foto fast bildschirmbreit, das nächste lugt rechts hervor */
.ref__gallery { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.ref__gallery::-webkit-scrollbar { display: none; }
.ref__gallery figure { flex: 0 0 86%; min-width: 0; margin: 0; position: relative; scroll-snap-align: start; }
.gallery-dots { display: flex; justify-content: center; gap: 4px; margin-top: -24px; }
.gallery-dots button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; }
.gallery-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); box-shadow: inset 0 0 0 1px var(--muted); transition: width .3s var(--ease), background-color .3s; }
.gallery-dots button[aria-current="true"]::before { width: 22px; border-radius: 4px; background: var(--grad); box-shadow: none; }
@media (min-width: 900px) {
  .ref__gallery { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .ref__gallery figure { flex: none; }
  .gallery-dots { display: none; }
}
/* Bausteine, Service-Paket, besondere Wünsche */
.extras { margin-top: clamp(56px, 8vw, 96px); display: grid; gap: 48px; }
.extras__block { display: grid; gap: 14px; align-content: start; }
.extras__block h3, .custom h3 { font-size: var(--step-2); }
.extras__block > p, .custom p { color: var(--muted); }
.price-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; font-variant-numeric: tabular-nums; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price-list li span:last-child { white-space: nowrap; font-weight: 500; }
.price-list small { color: var(--muted); font-weight: 400; }
.price-list em { font-style: normal; font-size: var(--step--1); margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--glass-brand); border: 1px solid var(--glass-edge); }
.price-list .is-best { border-bottom-color: transparent; background: linear-gradient(90deg, rgb(255 79 163 / .08), transparent); padding-inline: 12px; margin-inline: -12px; border-radius: 10px; }
.custom { margin-top: 48px; display: grid; gap: 16px; padding: 28px; border-radius: 20px; border: 1px solid var(--glass-edge); background: var(--glass-gloss), var(--glass); box-shadow: var(--glass-shadow); }
.custom .btn { justify-self: start; }
@media (min-width: 820px) {
  .extras { grid-template-columns: 1fr 1fr; gap: 64px; }
  .custom { grid-template-columns: 1fr auto; align-items: center; padding: 32px 40px; }
}
.ref__gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: var(--surface); }
@media (min-width: 900px) {
  .ref { grid-template-columns: 1.25fr 1fr; align-items: start; }
  .gate { grid-template-rows: none; grid-template-columns: 1fr 1fr; height: auto; aspect-ratio: 16 / 10; }
  .gate__text { padding-bottom: 40px; }
  .ref__intro { grid-column: 2; grid-row: 1; align-self: center; }
  .ref__gallery { grid-column: 1 / -1; }
}

/* ---------- Kontakt ---------- */
.paths { display: grid; gap: 0; border-top: 1px solid var(--line); }
.path { display: grid; gap: 16px; align-content: start; padding: 40px 0; border-bottom: 1px solid var(--line); }
.path h3 { font-size: var(--step-2); }
.path p { color: var(--muted); }
.path .btn { justify-self: start; margin-top: 8px; }
@media (min-width: 820px) {
  .paths { grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
  .path { padding: 48px 48px 56px 0; border-bottom: 0; }
  .path + .path { padding-left: 48px; border-left: 1px solid var(--line); }
}

/* ---------- Dialoge ---------- */
dialog { padding: 0; border: 1px solid var(--line); background: var(--surface); color: var(--text); width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 20px 20px 0 0; overscroll-behavior: contain; }
dialog::backdrop { background: rgb(3 4 6 / .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
dialog[open] { display: flex; flex-direction: column; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  dialog[open] { animation: sheet-in .35s var(--ease); }
  @keyframes sheet-in { from { transform: translateY(24px); opacity: 0; } }
}
@media (min-width: 720px) {
  dialog { width: min(640px, 100% - 32px); max-height: min(86vh, 820px); margin: auto; border-radius: 20px; }
}
.dlg__bar { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 24px; border-bottom: 1px solid var(--line); }
.dlg__title { font-family: var(--display); font-size: var(--step-1); font-weight: 700; margin-right: auto; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.icon-btn svg { width: 16px; height: 16px; }
.dlg__body { padding: 24px; overflow-y: auto; display: grid; gap: 20px; align-content: start; }
.progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--grad); transition: width .35s var(--ease); }
.progress-label { font-size: var(--step--1); color: var(--muted); }
.q { font-family: var(--display); font-size: var(--step-2); font-weight: 300; line-height: 1.15; margin: 0; }
.q:focus { outline: none; }
.hint { font-size: var(--step--1); color: var(--muted); }
.choices { position: relative; display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.choice { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 12px 16px; border: 1px solid var(--glass-edge); border-radius: 14px; cursor: pointer; background: var(--glass-gloss), var(--glass); box-shadow: inset 0 1px 0 rgb(255 255 255 / .18); transition: border-color .2s, background-color .2s; }
.choice:hover { border-color: rgb(255 255 255 / .42); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box { flex: none; width: 22px; height: 22px; border: 1.5px solid var(--muted); border-radius: 50%; display: grid; place-items: center; }
.choice--multi .choice__box { border-radius: 6px; }
.choice input:checked + .choice__box { border-color: #fff; background: #fff; }
.choice input:checked + .choice__box::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.choice--multi input:checked + .choice__box::after { width: 10px; height: 6px; border-radius: 0; background: none; border: solid var(--ink); border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
/* Einzelauswahl: der gleitende Glas-Hintergrund liegt hinter der gewählten Antwort */
.choices--single .choice:has(input:checked) { background: transparent; border-color: transparent; box-shadow: none; }
.choice--multi:has(input:checked) { background: var(--glass-brand); border-color: var(--glass-edge); }
.choice-indicator { --y: 0px; --h: 56px; position: absolute; left: 0; right: 0; top: 0; z-index: 0; height: var(--h); translate: 0 var(--y); border-radius: 14px; border: 1px solid var(--glass-edge); background: var(--glass-brand); box-shadow: var(--glass-shadow), 0 0 28px rgb(255 79 163 / .28); opacity: 0; pointer-events: none; transition: translate .5s cubic-bezier(.34, 1.4, .5, 1), height .35s var(--ease), opacity .25s; }
.choice-indicator.is-on { opacity: 1; }
@keyframes pop { 0% { scale: 1; } 35% { scale: 1.035; } 70% { scale: .995; } 100% { scale: 1; } }
.choice.pop, .choice-indicator.pop { animation: pop .45s cubic-bezier(.34, 1.56, .64, 1); }
/* Wechsel zwischen den Fragen: gleitet von rechts (weiter) oder links (zurück) herein */
.dlg__body.slide-next { animation: slide-next .4s var(--ease); }
.dlg__body.slide-prev { animation: slide-prev .4s var(--ease); }
@keyframes slide-next { from { opacity: 0; translate: 32px 0; } }
@keyframes slide-prev { from { opacity: 0; translate: -32px 0; } }
.choice:has(input:focus-visible) { outline: 2px solid var(--amber); outline-offset: 2px; }
.choice--unsure { border-style: dashed; color: var(--muted); }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: var(--step--1); color: var(--muted); padding: 0; }
.field input[type="text"], .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--control); border-radius: 12px; background: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--amber); outline-offset: 1px; }
.field .error { color: #FF8FBF; font-size: var(--step--1); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--control); border-radius: 999px; cursor: pointer; font-size: var(--step--1); background: var(--glass-gloss), var(--glass); box-shadow: var(--glass-shadow); }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.field .chip { padding: 8px 16px; color: var(--text); } /* sonst greift .field label (padding 0, grau) */
.chip:has(input:checked) { border-color: var(--glass-edge); background: var(--glass-brand); color: var(--text); }
.chip:has(input:checked)::before { content: "✓"; font-weight: 500; }
.chip:has(input:focus-visible) { outline: 2px solid var(--amber); outline-offset: 2px; }
.dlg__nav { display: flex; gap: 12px; justify-content: space-between; padding: 16px 24px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.dlg__nav .btn:only-child { margin-left: auto; }
.dlg__nav:empty { display: none; }
.result__pkg { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
.result__pkg strong { font-family: var(--display); font-size: var(--step-3); line-height: 1; }
.result__pkg span { font-family: var(--display); font-weight: 300; font-size: var(--step-2); }
.reasons { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.note { padding: 14px 16px; border-left: 2px solid var(--pink); background: rgb(255 79 163 / .06); border-radius: 0 10px 10px 0; font-size: var(--step--1); }
.message { width: 100%; min-height: 150px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--ink); color: #C9CCD8; font: 400 .9rem/1.55 var(--sans); white-space: pre-wrap; resize: vertical; }
.status { font-size: var(--step--1); color: var(--muted); min-height: 1.4em; }
.stack { display: grid; gap: 10px; }
.stack .btn { width: 100%; }

/* ---------- Fußzeile ---------- */
.site-footer { padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--step--1); }
.site-footer__inner { display: grid; gap: 24px; }
.site-footer svg { height: 48px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-underline-offset: 4px; }
@media (min-width: 820px) {
  .site-footer__inner { grid-template-columns: 1fr auto; align-items: end; }
}

/* ---------- „Welches Angebot passt?“: ein Button für Hero und Ecke ----------
   Oben steht er in der Hero-Reihe (Platzhalter .fab-slot), beim Scrollen rutscht er nach unten rechts.
   Position über die Eigenschaft translate (aus JS: --dx/--dy), Herzschlag über scale, damit sich beides nicht stört. */
.fab { --dx: 0px; --dy: 0px; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px 0 18px; border: 1px solid var(--glass-edge); border-radius: 999px; cursor: pointer; font-weight: 500; font-size: var(--step--1); white-space: nowrap; color: var(--text); background: var(--glass-brand); box-shadow: var(--glass-shadow), 0 0 32px rgb(255 79 163 / .25); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); isolation: isolate; translate: 0 0; transition: translate .7s cubic-bezier(.65, 0, .25, 1), color .4s, background-color .4s, box-shadow .4s, opacity .3s var(--ease), visibility .3s; }
.fab__icon { width: 22px; height: 22px; flex: none; }
.fab::after { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--grad); opacity: 0; pointer-events: none; }
.fab:hover { filter: brightness(1.12); }
.fab:focus-visible { outline-offset: 5px; }
/* im Hero: Glas mit Verlaufsrand, das Bild bleibt sichtbar */
.fab.in-hero { translate: var(--dx) var(--dy); }
html.has-intro .fab, .fab.is-hidden { opacity: 0; visibility: hidden; }
.fab-slot { display: inline-block; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .fab:not(.is-calm) { animation: heartbeat 2.8s ease-in-out 1.5s infinite; }
  .fab:not(.is-calm)::after { animation: pulse-ring 2.8s ease-out 1.5s infinite; }
  @keyframes heartbeat { 0%, 30%, 100% { scale: 1; } 8% { scale: 1.06; } 16% { scale: 1; } 22% { scale: 1.05; } }
  @keyframes pulse-ring { 0% { scale: 1; opacity: .5; } 45%, 100% { scale: 1.35 1.8; opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { .fab { transition: opacity .3s, visibility .3s; } }
@media (min-width: 900px) { .fab { right: 28px; bottom: 28px; } }
.site-footer { padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }

/* ---------- Rechtliche Seiten ---------- */
.legal { padding-block: calc(var(--header-h) + 56px) 96px; }
.legal h1 { font-size: var(--step-3); margin-bottom: 32px; }
.legal h2 { font-size: var(--step-1); margin: 40px 0 12px; }
.legal p, .legal li { color: #C9CCD8; }
.legal p + p { margin-top: 12px; }
.legal ul { max-width: 70ch; padding-left: 1.2em; }
.todo { background: #FFE14D; color: #111; padding: 0 .3em; border-radius: 3px; font-weight: 500; }
.draft-banner { display: block; margin-bottom: 32px; padding: 14px 18px; border: 2px solid #FFE14D; border-radius: 10px; color: #FFE14D; font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
