/* Open Rating – Startseite. Grundzustand ohne Bewegung, html.fx schaltet die Animationen ein: Sie laufen einmal von selbst, sobald man beim Abschnitt ankommt. */
:root {
  --ink: #1D1D1F;
  --ink-2: #6E6E73;
  --gray-on-dark: #A1A1A6;
  --paper: #FFFFFF;
  --mist: #F5F5F7;
  --rule: #D2D2D7;
  --accent: #0F766E;
  --accent-on-dark: #5FB8AD;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --gutter: clamp(20px, 4vw, 40px);
  --max: 1120px;
  --sv: 100vh; /* kleinste Bildschirmhöhe: Inhalt bleibt sichtbar, auch wenn die Safari-Leiste da ist */
}
@supports (height: 100svh) { :root { --sv: 100svh; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #000; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.47 var(--font); letter-spacing: -0.011em; -webkit-font-smoothing: antialiased; }
main { overflow-x: clip; }
img, video, svg, picture { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol { margin: 0; padding: 0; }
ol { list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3 { font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, min(6vw, 10.5vh), 5.25rem); line-height: 1.03; letter-spacing: -0.032em; }
h2 { font-size: clamp(2.125rem, 5.2vw, 4rem); line-height: 1.06; letter-spacing: -0.028em; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.12; letter-spacing: -0.022em; }
.lead { font-size: clamp(1.1875rem, 1.9vw, 1.5rem); line-height: 1.34; letter-spacing: -0.018em; }
.kicker { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); font-weight: 600; letter-spacing: -0.014em; color: var(--accent); }
.on-dark .kicker, .kicker.on-dark { color: var(--accent-on-dark); }
.muted { color: var(--ink-2); }

.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 980px; background: var(--accent); color: #fff; font-weight: 500; font-size: 17px; transition: background-color .2s ease, transform .16s var(--ease-out); }
.pill:active { transform: scale(.97); }
.more { display: inline-flex; align-items: center; min-height: 44px; gap: .28em; color: var(--accent); font-size: 17px; }
.on-dark .more, .more.on-dark { color: var(--accent-on-dark); }
.chev { display: inline-block; transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .pill:hover { background: #115E59; }
  .more:hover { text-decoration: underline; text-underline-offset: 3px; }
  .more:hover .chev { transform: translateX(3px); }
}

/* Einblenden beim Hineinscrollen */
.fx [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease-out) var(--d, 0s), transform .45s var(--ease-out) var(--d, 0s); }
.fx [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Kopfleiste: passt sich dem Abschnitt darunter an, ohne Unschärfe auf dem Handy ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; color: #fff; transition: color .2s ease; }
.nav::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); transition: opacity .2s ease; pointer-events: none; }
.nav::after { content: ""; position: absolute; inset: 0; background: #fff; border-bottom: 1px solid rgba(0, 0, 0, .08); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.nav.light { color: var(--ink); }
.nav.light::before { opacity: 0; }
.nav.light::after { opacity: 1; }
.nav-in { position: relative; z-index: 1; max-width: var(--max); height: 48px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; letter-spacing: -0.015em; min-height: 44px; }
.brand svg { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; opacity: .84; transition: opacity .2s ease; }
.nav-cta { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 980px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 500; transition: background-color .2s ease; }
.burger { display: none; width: 44px; height: 44px; margin-right: -10px; padding: 0; background: none; border: 0; cursor: pointer; }
.burger span { display: block; width: 20px; height: 1.5px; margin: 5px auto; background: currentColor; transition: transform .2s var(--ease-out); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.sheet { position: absolute; left: 0; right: 0; top: 48px; z-index: 0; padding: 6px var(--gutter) 22px; background: #fff; color: var(--ink); box-shadow: 0 24px 40px rgba(0, 0, 0, .14); transform-origin: top; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s linear .2s; }
.sheet.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sheet a { display: flex; align-items: center; min-height: 52px; font-size: 21px; font-weight: 500; letter-spacing: -0.018em; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.sheet a:last-child { border-bottom: 0; }
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { opacity: 1; }
  .nav-cta:hover { background: #115E59; }
  .nav::after { background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .nav::after { background: #fff !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; } /* Handy: deckend, ohne Unschärfe */
}

/* ---------- 1. Titelbild: ruhig, füllt den ersten Bildschirm ---------- */
/* Das Titelbild füllt nicht den ganzen Bildschirm, damit darunter der helle Abschnitt zu sehen ist. Text und Bild liegen im selben Rasterfeld: Längerer Text macht das Bild höher, so bleibt er immer auf dem dunklen Grund. */
.hero { position: relative; display: grid; background: #000; }
.hero > * { grid-area: 1 / 1; min-width: 0; }
.hero-media { position: relative; min-height: calc(var(--sv) * .8); overflow: hidden; background: #000; }
.hero-media img { position: absolute; inset: 0 0 auto 0; width: 100%; height: calc(100% + 8vw); object-fit: cover; object-position: 50% 100%; } /* etwas nach unten verschoben, damit die Person unter dem Text steht */
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .76) 48%, rgba(0, 0, 0, .42) 62%, rgba(0, 0, 0, 0) 76%); }
.hero-title { position: relative; z-index: 2; padding: calc(48px + clamp(22px, 4.4vh, 48px)) var(--gutter) max(170px, calc(18.7vw - 70px)); text-align: center; color: #fff; }
.hero-title .eyebrow { font-size: clamp(1.0625rem, 1.7vw, 1.5rem); font-weight: 600; letter-spacing: -0.018em; color: var(--accent-on-dark); margin-bottom: 10px; }
.hero-title .lead { max-width: 30em; margin: 16px auto 0; color: rgba(255, 255, 255, .88); }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 24px; margin-top: 24px; }
.fx .hero-title > * { animation: rise .45s var(--ease-out) backwards; }
.fx .hero-title > :nth-child(2) { animation-delay: .04s; }
.fx .hero-title > :nth-child(3) { animation-delay: .08s; }
.fx .hero-title > :nth-child(4) { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero-next { background: #fff; padding: clamp(56px, 9vw, 96px) var(--gutter) 0; text-align: center; }
.hero-next p { max-width: 30em; margin: 12px auto 0; }
@media (max-width: 760px) {
  .hero-media { min-height: calc(var(--sv) * .66); }
  .hero-media img { top: 12.5%; height: 100%; object-position: 74% 100%; }
  .hero-title { padding-bottom: 150px; }
  .hero-title h1 br { display: none; } /* auf dem Handy bricht die Überschrift von selbst passend um */
  .hero-scrim { background: linear-gradient(180deg, #000 0%, #000 13%, rgba(0, 0, 0, .84) 28%, rgba(0, 0, 0, .84) 60%, rgba(0, 0, 0, 0) 84%); } /* oben ganz schwarz: verdeckt die Oberkante des nach unten verschobenen Bilds */
}
@media (max-width: 380px) { .hero-title { padding-top: 62px; } h1 { font-size: 2.5rem; } }
@media (max-height: 760px) and (min-width: 761px) { .hero-title .lead { display: none; } }
@media (max-width: 760px) { h1 { font-size: clamp(2.5rem, 11vw, 3.25rem); } }

/* ---------- 2. Aussage: Wort für Wort sichtbar, einmal beim Ankommen ---------- */
.statement { background: #fff; padding: clamp(72px, 11vw, 128px) var(--gutter); }
.statement-in { max-width: 1040px; margin: 0 auto; }
.statement .kicker { margin-bottom: clamp(14px, 2vw, 24px); }
.display { font-size: clamp(2.25rem, 6.4vw, 5.5rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.032em; }
.fx #st-words span { opacity: .16; transition: opacity .3s ease; }
.fx #st-words.on span { opacity: 1; }

/* ---------- 3. Risikoklassen: Die Kugel läuft einmal das Seil entlang, die Klassen leuchten nacheinander auf ---------- */
.rope { background: #000; color: #fff; padding: clamp(80px, 10vw, 120px) var(--gutter); text-align: center; }
.rope-head h2 { margin-top: 8px; }
.rope-labels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: var(--max); margin: 44px auto; }
.rope-labels b { display: block; font-size: clamp(4rem, 9vw, 7rem); font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: var(--accent-on-dark); }
.rope-labels span { display: block; font-size: clamp(1.0625rem, 1.9vw, 1.5rem); font-weight: 500; letter-spacing: -0.018em; margin-top: 8px; }
.rope-labels li { transition: opacity .25s ease; }
.fx .rope-labels li { opacity: .22; }
.fx .rope-labels li.on { opacity: 1; }
.rope-field { display: none; }
.js .rope-field { display: block; position: relative; height: clamp(150px, 30vh, 300px); margin: 0 calc(var(--gutter) * -1); }
.rope-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rope-ticks { position: absolute; inset: auto 0 0 0; height: 28px; font-size: 14px; color: var(--gray-on-dark); }
.rope-ticks span { position: absolute; top: 0; transform: translateX(-50%); transition: color .2s ease; }
.rope-ticks span.on { color: #fff; }
@media (max-width: 760px) { .rope-labels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 4. Produkt: echtes Rating im Gerät, die drei Schritte wechseln von selbst ---------- */
.product { background: var(--mist); padding: clamp(80px, 10vw, 120px) var(--gutter); text-align: center; }
.product-title { margin-bottom: clamp(20px, 3vw, 36px); }
.device { --dw: min(86vw, 900px); position: relative; width: var(--dw); margin: 0 auto; padding: 10px 10px 12px; border-radius: 18px 18px 6px 6px; background: #101012; }
.device::after { content: ""; position: absolute; left: -6.5%; right: -6.5%; bottom: -13px; height: 13px; border-radius: 1px 1px 14px 14px; background: linear-gradient(#DADADF, #B4B4BB); box-shadow: 0 18px 32px rgba(0, 0, 0, .16); }
.device-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 7px; background: #fff; }
.screen { position: absolute; inset: 0; opacity: 0; }
.screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.screen.s2 { opacity: 1; }
.bars { display: none; }
.captions { display: grid; gap: 28px; max-width: 640px; margin: 44px auto 0; }
.cap p { margin-top: 6px; color: var(--ink-2); }
.fx .captions { display: block; position: relative; width: min(100%, 640px); height: 92px; margin: 0 auto; }
.fx .cap { position: absolute; inset: 0; opacity: 0; transition: opacity .2s ease; }
.fx .cap.on { opacity: 1; transition-delay: .1s; }
.sample { margin-top: 14px; font-size: 12px; color: var(--ink-2); letter-spacing: 0; }
.fx .sample { margin-top: 2px; }
.fx .product { display: flex; flex-direction: column; align-items: center; padding: calc(48px + clamp(14px, 3vh, 32px)) var(--gutter) clamp(14px, 3vh, 32px); }
.fx .device { --dw: min(86vw, 900px, calc((var(--sv) - 320px) * 1.6)); }
.fx .screen { transition: opacity .3s ease; }
.fx .screen.s1 { opacity: 1; }
.fx .screen.s2 { opacity: 0; }
.fx .screen.on { opacity: 1; }
.fx .bars { display: flex; gap: 6px; margin-top: 18px; }
.bars button { display: grid; align-items: center; width: 52px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.bars i { display: block; height: 4px; border-radius: 2px; overflow: hidden; background: rgba(0, 0, 0, .12); }
.bars b { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
@media (max-width: 760px) {
  .device { --dw: auto; width: min(64vw, 280px); padding: 7px; border-radius: 36px; }
  .device::after { display: none; }
  .fx .device { --dw: auto; width: auto; height: calc(var(--sv) - 336px); max-height: 600px; aspect-ratio: 390 / 844; }
  .fx .bars { margin-top: 4px; }
  .fx .captions { height: 112px; margin-top: 6px; }
  .device-screen { aspect-ratio: 390 / 844; border-radius: 29px; height: 100%; }
  .product-title { font-size: 1.875rem; margin-bottom: 14px; }
}

/* ---------- 5. Genauigkeit ---------- */
.accuracy { background: #fff; padding: clamp(96px, 13vw, 150px) var(--gutter); text-align: center; }
.acc-num { font-size: clamp(5rem, min(24vw, 40vh), 22rem); font-weight: 600; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; margin: 10px 0 clamp(26px, 3.4vw, 44px); white-space: nowrap; }
.acc-num small { font-size: .5em; font-weight: 600; letter-spacing: -0.02em; color: var(--accent); margin-left: .08em; }
.accuracy p.lead { max-width: 30em; margin: 0 auto; }

/* ---------- 6. Kacheln ---------- */
.tiles { background: var(--mist); padding: clamp(80px, 10vw, 130px) var(--gutter); }
.tiles > h2 { max-width: var(--max); margin: 0 auto clamp(32px, 5vw, 56px); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; max-width: var(--max); margin: 0 auto; }
.tile { position: relative; grid-column: span 2; display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: #fff; padding: clamp(26px, 3vw, 38px); }
.tile p { margin-top: 10px; }
.t4 { grid-column: span 4; }
.tall { grid-row: span 2; }
.tile.photo { min-height: clamp(380px, 38vw, 480px); background: #000; color: #fff; }
.tile.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0) 52%); pointer-events: none; }
.tile.photo > div { position: relative; z-index: 1; max-width: 30em; }
.tile.photo p { color: rgba(255, 255, 255, .86); }
.plus { position: absolute; z-index: 2; right: 20px; bottom: 20px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: transform .16s var(--ease-out); }
.plus:active { transform: scale(.94); }
.plus svg { width: 16px; height: 16px; }
.segment { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-top: 20px; padding: 3px; border-radius: 12px; background: #E8E8ED; }
.segment::before { content: ""; position: absolute; left: 3px; top: 3px; bottom: 3px; width: calc(50% - 3px); border-radius: 9px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .14); transition: transform .2s var(--ease-in-out); }
.segment.right::before { transform: translateX(100%); }
.segment button { position: relative; min-height: 38px; padding: 0 6px; border: 0; background: none; font-size: 15px; font-weight: 500; cursor: pointer; }
.switch-val { margin-top: auto; padding-top: 26px; font-size: clamp(3.5rem, 6vw, 5rem); font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.switch-name { font-weight: 500; margin-top: 6px; }
.note { font-size: 12px; color: var(--ink-2); letter-spacing: 0; margin-top: 4px !important; }
.tile.cert { background: #E8E8ED; }
.cert-wrap { position: relative; margin: auto auto 0; padding-top: 26px; width: min(100%, 300px); }
.cert-wrap img { width: 100%; height: auto; border-radius: 3px; box-shadow: 0 16px 44px rgba(0, 0, 0, .22); }
@media (max-width: 860px) {
  .bento { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tile, .t4, .tall { grid-column: auto; grid-row: auto; border-radius: 24px; }
  .tile.photo { min-height: 460px; }
  .tile.photo img { object-position: 60% 50%; }
  .cert-wrap { width: min(80%, 300px); }
}

/* Fenster für die langen Texte */
dialog { width: min(680px, calc(100vw - 32px)); max-height: min(84vh, 760px); padding: clamp(28px, 4vw, 48px); border: 0; border-radius: 28px; background: #fff; color: var(--ink); overflow-y: auto; }
dialog::backdrop { background: rgba(0, 0, 0, .48); }
dialog[open] { animation: dlg .28s var(--ease-drawer) backwards; }
dialog[open]::backdrop { animation: fade .2s ease backwards; }
dialog p { margin-top: 16px; color: var(--ink-2); }
dialog h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); padding-right: 44px; }
.close { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; display: grid; place-items: center; }
.close i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #E8E8ED; }
.close svg { width: 12px; height: 12px; }
@keyframes dlg { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 600px) {
  dialog { width: 100vw; max-width: 100vw; max-height: 86vh; margin: auto 0 0; border-radius: 28px 28px 0 0; padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
  @keyframes dlg { from { transform: translateY(100%); } to { transform: none; } }
}

/* ---------- 7. Für wen: Galerie zum Wischen ---------- */
.who { background: #fff; padding: clamp(80px, 10vw, 130px) 0 clamp(64px, 8vw, 96px); }
.who > h2 { max-width: var(--max); margin: 0 auto clamp(28px, 4vw, 48px); padding: 0 var(--gutter); }
.gallery { --cw: min(84vw, 880px); display: flex; gap: clamp(12px, 2vw, 20px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 calc((100vw - var(--cw)) / 2); -webkit-overflow-scrolling: touch; }
.gallery::-webkit-scrollbar { display: none; }
.card { position: relative; flex: 0 0 var(--cw); scroll-snap-align: center; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 28px; background: #000; color: #fff; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .66), rgba(0, 0, 0, 0) 58%); }
.card > div { position: absolute; z-index: 1; inset: 0 0 auto 0; padding: clamp(24px, 3.4vw, 44px); }
.card p { margin-top: 8px; max-width: 26em; color: rgba(255, 255, 255, .9); }
.card.bright { color: var(--ink); background: #EDEAE8; }
.card.bright::after { display: none; }
.card.bright p { color: #3A3A3C; }
.gallery-ui { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.dots { display: flex; gap: 2px; }
.dots button { width: 24px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dots i { display: block; width: 8px; height: 8px; border-radius: 50%; background: #C7C7CC; transition: background-color .2s ease; }
.dots button[aria-current="true"] i { background: var(--ink); }
.who-end { text-align: center; padding: clamp(44px, 6vw, 72px) var(--gutter) 0; }
.who-end .lead { max-width: 30em; margin: 0 auto 18px; }
@media (max-width: 760px) { .card { aspect-ratio: 4 / 5; border-radius: 24px; } .card.bright img { object-position: 52% 100%; } }

/* ---------- 8. Partner ---------- */
.partner { background: #fff; padding: 0 var(--gutter) clamp(72px, 10vw, 120px); text-align: center; }
.partner-in { max-width: 680px; margin: 0 auto; padding-top: clamp(48px, 7vw, 76px); border-top: 1px solid var(--rule); }
.partner img { width: 170px; height: auto; margin: 0 auto 20px; }
.partner p { color: var(--ink-2); }

/* ---------- 9. Video ganz unten ---------- */
.video { background: #000; color: #fff; padding: clamp(72px, 10vw, 120px) 0; text-align: center; }
.video-head { padding: 0 var(--gutter); }
.video-head h2 { margin-top: 8px; }
.frame { position: relative; width: min(calc(100vw - 2 * var(--gutter)), var(--max), calc((var(--sv) - 240px) * 16 / 9)); margin: clamp(28px, 5vw, 48px) auto 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 22px; background: #0B0F1A; }
.frame video { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: 0 0 3.5% 3.5%; background: none; border: 0; cursor: pointer; }
.play span { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 980px; background: #fff; color: var(--ink); font-weight: 500; font-size: 17px; letter-spacing: -0.011em; transition: transform .16s var(--ease-out); }
.play:active span { transform: scale(.96); }
.play svg { width: 13px; height: 13px; fill: currentColor; }
.play b { font-weight: inherit; }
.frame.playing .play { display: none; }
.video-note { max-width: 34em; margin: 20px auto 0; padding: 0 var(--gutter); color: var(--gray-on-dark); }
@media (max-width: 520px) { .play span { width: 48px; padding: 0; } .play b { display: none; } .frame { border-radius: 14px; } }

/* ---------- Schluss ---------- */
.final { background: #000; color: #fff; text-align: center; padding: clamp(80px, 12vw, 150px) var(--gutter) clamp(88px, 12vw, 160px); }
.final .actions { margin-top: 26px; }

/* ---------- Fußzeile ---------- */
footer { background: var(--mist); color: var(--ink-2); font-size: 12px; line-height: 1.5; letter-spacing: 0; padding: clamp(32px, 4vw, 44px) var(--gutter) calc(32px + env(safe-area-inset-bottom)); }
.foot-in { max-width: var(--max); margin: 0 auto; }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.foot-cols b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.foot-cols a { display: block; padding: 5px 0; overflow-wrap: anywhere; }
.foot-copy { padding-top: 16px; }
@media (hover: hover) and (pointer: fine) { .foot-cols a:hover { text-decoration: underline; } }
@media (max-width: 760px) { .foot-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-cols > :first-child, .foot-cols > :last-child { grid-column: 1 / -1; } .foot-cols a { padding: 10px 0; } }

/* ---------- Funktionen-Menü (klappt aus der Kopfleiste auf) ---------- */
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-links button { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; font-size: 14px; opacity: .84; cursor: pointer; transition: opacity .2s ease; }
.nav-links button[aria-expanded="true"] { opacity: 1; }
.flyout { position: absolute; z-index: 0; left: 0; right: 0; top: 48px; background: #fff; color: var(--ink); box-shadow: 0 30px 50px rgba(0, 0, 0, .12); border-top: 1px solid rgba(0, 0, 0, .08); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s linear .2s; }
.flyout.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.flyout-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; max-width: var(--max); margin: 0 auto; padding: 32px var(--gutter) 44px; }
.flyout h2 { font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--ink-2); margin-bottom: 10px; }
.flyout a { display: block; padding: 6px 0; font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -0.018em; transition: color .15s ease; }
@media (hover: hover) and (pointer: fine) { .flyout a:hover { color: var(--accent); } .nav-links button:hover { opacity: 1; } }
.sheet { max-height: calc(100vh - 48px); max-height: calc(100svh - 48px); overflow-y: auto; }
.sheet h2 { font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--ink-2); margin: 14px 0 2px; }
.sheet .sheet-cta { color: var(--accent); }

/* ---------- Konto-Menü für Angemeldete ---------- */
.account { position: relative; display: flex; }
.account[hidden] { display: none; }
.account-btn { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 -6px; padding: 0; border: 0; background: none; cursor: pointer; }
.account-btn span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0; }
.account-menu { position: absolute; right: -6px; top: 46px; width: 240px; padding: 8px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 16px 44px rgba(0, 0, 0, .2); transform-origin: top right; opacity: 0; visibility: hidden; transform: scale(.96); transition: opacity .15s var(--ease-out), transform .2s var(--ease-out), visibility 0s linear .2s; }
.account-menu.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.account-menu strong { display: block; padding: 8px 10px 10px; font-size: 15px; font-weight: 600; border-bottom: 1px solid rgba(0, 0, 0, .08); margin-bottom: 4px; overflow-wrap: anywhere; }
.account-menu a, .account-menu button { display: flex; align-items: center; width: 100%; min-height: 40px; padding: 0 10px; border: 0; border-radius: 9px; background: none; font-size: 15px; text-align: left; cursor: pointer; transition: background-color .15s ease; }
@media (hover: hover) and (pointer: fine) { .account-menu a:hover, .account-menu button:hover { background: var(--mist); } }
.account-menu button { color: #C4291C; }

/* ---------- Cookie-Hinweis ---------- */
#cookie-banner { position: fixed; z-index: 120; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); max-width: 720px; margin: 0 auto; padding: 22px 24px; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 12px 48px rgba(0, 0, 0, .28); }
.fx #cookie-banner { animation: rise .3s var(--ease-out) backwards; }
#cookie-banner h2 { font-size: 17px; font-weight: 600; letter-spacing: -0.014em; line-height: 1.3; }
#cookie-banner p { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
#cookie-banner p a { color: var(--accent); }
.cookie-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.cookie-actions button, #cookie-modal-footer button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 980px; background: #E8E8ED; font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .2s ease; }
.cookie-actions .primary, #cookie-modal-footer .primary { background: var(--accent); color: #fff; }
.cookie-actions .plain { margin-right: auto; background: none; padding: 0 4px; color: var(--accent); }
#cookie-modal { width: min(560px, calc(100vw - 32px)); }
#cookie-modal h2 { font-size: clamp(1.5rem, 3vw, 2rem); padding-right: 44px; }
#cookie-modal > p { margin-top: 10px; }
.cookie-cat { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.cookie-cat p { margin: 4px 0 0; font-size: 14px; line-height: 1.4; }
.cookie-cat b { font-weight: 600; }
.cookie-cat em { font-style: normal; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.cookie-switch { position: relative; flex: none; width: 51px; height: 31px; }
.cookie-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cookie-switch i { position: absolute; inset: 0; border-radius: 31px; background: #E8E8ED; pointer-events: none; transition: background-color .2s ease; }
.cookie-switch i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .22); transition: transform .2s var(--ease-out); }
.cookie-switch input:checked + i { background: var(--accent); }
.cookie-switch input:checked + i::after { transform: translateX(20px); }
.cookie-switch input:focus-visible + i { outline: 3px solid var(--accent); outline-offset: 2px; }
#cookie-modal-footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.foot-settings { display: block; padding: 5px 0; border: 0; background: none; font: inherit; letter-spacing: inherit; color: inherit; cursor: pointer; text-align: left; }
@media (hover: hover) and (pointer: fine) { .foot-settings:hover { text-decoration: underline; } }
@media (max-width: 760px) { .foot-settings { padding: 10px 0; } }
