/* Vereinsheim CMS – Produktwebseite */

@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-800-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-ext-800-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1E9F; }

:root {
    --schwarz: #050507;
    --dunkel: #0d0d11;
    --dunkel-2: #16161b;
    --hell: #f5f5f7;
    --weiss: #ffffff;
    --text: #1d1d1f;
    --grau: #6e6e73;
    --grau-hell: #a1a1a6;
    --rot: #e30a17;
    --rot-hell: #ff3341;
    --verlauf: linear-gradient(100deg, #ff2a3a 0%, #ff5a36 55%, #ff8a3d 100%);
    --linie-dunkel: rgba(255, 255, 255, .09);
    --linie-hell: rgba(0, 0, 0, .08);
    --breite: 1200px;
    --rand: max(20px, 4vw);
    --kopf: 56px;
    --sanft: cubic-bezier(.16, 1, .3, 1);
    --schrift: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
    --schrift-marke: "Barlow Condensed", "Bahnschrift", "Arial Narrow", sans-serif;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--kopf); }
body {
    margin: 0; background: var(--schwarz); color: var(--weiss);
    font-family: var(--schrift); font-size: 17px; line-height: 1.55; letter-spacing: -.011em;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--rot); color: #fff; }
:focus-visible { outline: 2px solid var(--rot-hell); outline-offset: 3px; border-radius: 4px; }

.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.springen { position: fixed; left: 12px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; }
.springen:focus { top: 12px; }

.rahmen { width: min(var(--breite), 100% - 2 * var(--rand)); margin-inline: auto; }
.rahmen-schmal { width: min(820px, 100% - 2 * var(--rand)); }

/* Abschnittsfarben */
.hg-dunkel { background: var(--schwarz); color: var(--weiss); }
.hg-hell { background: var(--hell); color: var(--text); color-scheme: light; }
.hg-hell + .hg-hell, .hg-dunkel + .hg-dunkel { border-top: 1px solid var(--linie-dunkel); }
.hg-hell + .hg-hell { border-top-color: var(--linie-hell); }
section { position: relative; }

/* Typografie */
.kicker {
    font-family: var(--schrift-marke); font-style: italic; font-weight: 800;
    text-transform: uppercase; letter-spacing: .06em; font-size: 1.15rem; color: var(--rot-hell); margin-bottom: .9rem;
}
.hg-hell .kicker { color: var(--rot); }
.riesig { font-size: clamp(2.9rem, 8vw, 7rem); letter-spacing: -.045em; line-height: .98; }
.gross { font-size: clamp(2.3rem, 5.4vw, 4.6rem); letter-spacing: -.04em; }
h1 strong, h2 strong, .leitsatz .betont.an {
    background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: inherit;
}
.einleitung { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--grau-hell); max-width: 40em; margin-top: 1.4rem; font-weight: 450; }
.hg-hell .einleitung { color: var(--grau); }
.einleitung strong { color: var(--weiss); font-weight: 600; }
.hg-hell .einleitung strong { color: var(--text); }
.klein { font-size: .9rem; color: var(--grau-hell); margin-top: 1rem; }
.hg-hell .klein { color: var(--grau); }
.abschnitt-kopf { text-align: center; padding: clamp(90px, 16vh, 180px) 0 clamp(40px, 8vh, 90px); }
.abschnitt-kopf .einleitung { margin-inline: auto; }

/* Knöpfe */
.knoepfe { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; align-items: center; }
.knopf {
    display: inline-flex; align-items: center; gap: .55em; padding: .8em 1.5em; border-radius: 999px;
    background: var(--rot); color: #fff; text-decoration: none; font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em;
    transition: transform .4s var(--sanft), background .25s, box-shadow .4s var(--sanft); border: 0; cursor: pointer;
    box-shadow: 0 8px 30px -10px rgba(227, 10, 23, .7);
}
.knopf:hover { background: var(--rot-hell); transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 40px -12px rgba(227, 10, 23, .8); }
.knopf:active { transform: scale(.98); }
.knopf-hell { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); backdrop-filter: blur(10px); }
.knopf-hell:hover { background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.hg-hell .knopf-hell { background: rgba(0, 0, 0, .05); color: var(--text); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.knopf-gross { font-size: 1.1rem; padding: 1em 1.8em; }
.knopf-klein { font-size: .85rem; padding: .5em 1.05em; box-shadow: none; }

/* Kopfzeile */
.kopf {
    position: fixed; inset: 0 0 auto; z-index: 50; height: var(--kopf);
    background: rgba(10, 10, 13, .62); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, .06); transition: transform .5s var(--sanft), background .3s;
}
.kopf-innen { height: 100%; width: min(1280px, 100% - 2 * var(--rand)); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.kopf-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.kopf-logo img { width: 34px; height: auto; }
.kopf-logo span { font-family: var(--schrift-marke); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.3rem; letter-spacing: .01em; }
.kopf-logo b { color: var(--rot-hell); margin-left: .2em; }
.kopf-nav { display: flex; gap: 4px; margin-left: auto; }
.kopf-nav a { text-decoration: none; font-size: .86rem; color: rgba(255, 255, 255, .78); padding: 6px 11px; border-radius: 8px; transition: color .2s, background .2s; }
.kopf-nav a:hover, .kopf-nav a[aria-current] { color: #fff; background: rgba(255, 255, 255, .07); }
.kopf-nav a { position: relative; }
.kopf-nav a.aktiv { color: #fff; background: rgba(255, 255, 255, .07); }
.kopf-nav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--rot-hell); transform: scaleX(0); transition: transform .35s var(--sanft); }
.kopf-nav a.aktiv::after { transform: scaleX(1); }
.kopf-knopf-mobil { display: none; }
.kopf-menue { display: none; }

@media (max-width: 1060px) {
    .kopf-knopf { display: none; }
    .kopf-menue {
        display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; margin-left: auto; margin-right: -10px;
        background: none; border: 0; cursor: pointer; color: #fff;
    }
    .kopf-menue span:not(.unsichtbar) { display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform .4s var(--sanft); }
    .kopf-menue[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
    .kopf-menue[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
    .kopf-nav {
        position: fixed; inset: var(--kopf) 0 auto; flex-direction: column; gap: 0; margin: 0;
        padding: 12px var(--rand) 28px; background: rgba(10, 10, 13, .96); backdrop-filter: blur(20px);
        opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .35s, transform .45s var(--sanft), visibility .35s;
        max-height: calc(100dvh - var(--kopf)); overflow: auto;
    }
    .kopf.offen .kopf-nav { opacity: 1; visibility: visible; transform: none; }
    .kopf-nav a { font-size: 1.5rem; font-weight: 600; padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--linie-dunkel); color: #fff; letter-spacing: -.02em; }
    .kopf-nav a:hover, .kopf-nav a.aktiv { background: none; }
    .kopf-nav a::after { display: none; }
    .kopf-nav a.aktiv { color: var(--rot-hell); }
    .kopf-nav .kopf-knopf-mobil { display: inline-flex; align-self: flex-start; margin-top: 22px; font-size: 1rem; padding: .8em 1.5em; border: 0; }
}

/* Einblenden beim Scrollen */
.js [data-einblenden] { opacity: 0; transform: translateY(46px); transition: opacity 1.1s var(--sanft) var(--v, 0s), transform 1.1s var(--sanft) var(--v, 0s); }
.js [data-einblenden].sichtbar { opacity: 1; transform: none; }
.einblenden { animation: hoch 1.2s var(--sanft) var(--v, .2s) both; }
@keyframes hoch { from { opacity: 0; transform: translateY(30px); } }

/* Glanz-Hintergründe */
.hero-glanz, .abschluss-glanz {
    position: absolute; inset: 0; pointer-events: none; overflow: hidden;
    background:
        radial-gradient(60% 50% at 50% 0%, rgba(227, 10, 23, .32), transparent 70%),
        radial-gradient(40% 40% at 85% 30%, rgba(255, 106, 61, .12), transparent 70%),
        radial-gradient(40% 50% at 10% 40%, rgba(120, 30, 60, .18), transparent 70%);
}

/* ---------- Startbereich ---------- */
.hero { height: 240vh; }
.hero-buehne { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; align-items: center; perspective: 1800px; }
.hero-glanz { opacity: calc(1 - var(--p, 0) * .6); }
.hero-text {
    position: relative; z-index: 2; text-align: center; padding: calc(var(--kopf) + clamp(40px, 11vh, 120px)) var(--rand) 0;
    opacity: calc(1 - var(--p, 0) * 2.6); transform: translateY(calc(var(--p, 0) * -140px)) scale(calc(1 - var(--p, 0) * .08));
    filter: blur(calc(var(--p, 0) * 14px)); will-change: transform, opacity;
}
.hero .kicker { font-size: 1.35rem; }
.hero-titel { font-size: clamp(2.8rem, 8.4vw, 7.6rem); letter-spacing: -.05em; line-height: .98; }
.hero-titel .zeile { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-titel .zeile > span { display: inline-block; animation: zeile 1.3s var(--sanft) calc(.15s + var(--i) * .12s) both; }
@keyframes zeile { from { transform: translateY(105%); } }
.hero-unter { font-size: clamp(1.1rem, 1.7vw, 1.4rem); color: var(--grau-hell); max-width: 38em; margin: 1.6rem auto 0; line-height: 1.5; }
.hero .knoepfe { justify-content: center; }

.laptop {
    position: absolute; left: 50%; bottom: 0; z-index: 1; width: min(1040px, 92vw);
    transform: translate(-50%, calc((1 - var(--p, 0)) * 40%)) scale(calc(.8 + var(--p, 0) * .22));
    transform-origin: 50% 100%; transform-style: preserve-3d; will-change: transform;
    margin-bottom: calc(50vh - min(1040px, 92vw) * .33);
}
.laptop-deckel {
    position: relative; aspect-ratio: 16 / 10.4; background: #1b1b1f; border-radius: 22px 22px 4px 4px; padding: 1.6% 1.6% 2.6%;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 -30px 120px -30px rgba(227, 10, 23, .45);
    transform-origin: 50% 100%; transform: rotateX(calc((1 - min(1, var(--p, 0) * 1.7)) * -62deg));
    will-change: transform;
}
.laptop-bildschirm { width: 100%; height: 100%; border-radius: 8px; overflow: hidden; background: #f7f8fa; }
.laptop-bildschirm img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.laptop-basis {
    height: clamp(10px, 1.6vw, 20px); margin: 0 -7%; border-radius: 0 0 26px 26px;
    background: linear-gradient(#3a3a40, #1a1a1e 60%, #0d0d10); box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
    position: relative;
}
.laptop-basis::before { content: ""; position: absolute; left: 50%; top: 0; width: 14%; height: 40%; transform: translateX(-50%); background: #111; border-radius: 0 0 10px 10px; }
.hero-pfeil { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; opacity: calc(1 - var(--p, 0) * 6); }
.hero-pfeil span { display: block; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 14px; position: relative; }
.hero-pfeil span::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: maus 1.8s infinite; }
@keyframes maus { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Leitsatz ---------- */
.leitsatz { height: 280vh; }
.leitsatz-buehne { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.leitsatz-text { font-size: clamp(1.9rem, 4.6vw, 4.2rem); font-weight: 650; letter-spacing: -.035em; line-height: 1.12; margin: 0; }
.leitsatz .wort { opacity: .14; transition: opacity .35s ease, color .35s; }
.leitsatz .wort.an { opacity: 1; }
.leitsatz-unter { margin-top: 2.6rem; max-width: 42em; color: var(--grau-hell); font-size: clamp(1.05rem, 1.4vw, 1.25rem); }

/* ---------- Bildwand ---------- */
.bildwand { height: 320vh; }
.bildwand-buehne {
    --z: clamp(0, calc((var(--p, 0) - .08) * 1.7), 1);
    position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center;
    padding: var(--kopf) 0 clamp(90px, 14vh, 140px);
}
.bildwand-raster {
    display: grid; grid-template-columns: repeat(var(--spalten), 1fr); gap: clamp(8px, 1.2vw, 16px);
    width: min(1100px, 92vw, (100svh - var(--kopf) - 170px) * 1.45);
}
.bildwand-foto { margin: 0; aspect-ratio: 3 / 2; border-radius: clamp(8px, 1.2vw, 18px); overflow: hidden; background: var(--dunkel-2); will-change: transform, opacity; }
.bildwand-foto img { width: 100%; height: 100%; object-fit: cover; }
.bildwand-foto:not(.bildwand-mitte) {
    opacity: var(--z);
    transform: translate(calc(var(--dx) * (1 - var(--z)) * 130%), calc(var(--dy) * (1 - var(--z)) * 130%)) scale(calc(.7 + var(--z) * .3));
}
.bildwand-mitte {
    position: relative; z-index: 2;
    transform: translate(calc(var(--mx, 0px) * (1 - var(--z))), calc(var(--my, 0px) * (1 - var(--z)))) scale(calc(1 + (var(--start, 3) - 1) * (1 - var(--z))));
    border-radius: calc(clamp(8px, 1.2vw, 18px) * var(--z));
}
.bildwand-ueber {
    position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; text-align: center; padding: 0 var(--rand);
    background: linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .55));
    opacity: clamp(0, calc(1 - var(--z) * 2.4), 1); pointer-events: none;
}
.bildwand-ueber h2 { text-shadow: 0 4px 40px rgba(0, 0, 0, .5); }
.bildwand-ueber .kicker { color: #fff; }
.bildwand-text {
    position: absolute; left: 50%; bottom: clamp(16px, 3.5vh, 40px); transform: translate(-50%, calc((1 - var(--z)) * 30px));
    width: min(760px, 100% - 2 * var(--rand)); margin: 0; text-align: center; opacity: clamp(0, calc((var(--z) - .75) * 4), 1);
}

/* ---------- Fenster (Browser-Rahmen) ---------- */
.fenster {
    background: #fff; border-radius: 14px; overflow: hidden; color: var(--text);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 30px 80px -20px rgba(0, 0, 0, .35), 0 12px 24px -12px rgba(0, 0, 0, .2);
}
.hg-dunkel .fenster { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 100px -20px rgba(0, 0, 0, .9); }
.fenster-leiste { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #ececef; border-bottom: 1px solid rgba(0, 0, 0, .06); position: relative; }
.fenster-leiste i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.fenster-leiste i:nth-child(2) { background: #febc2e; }
.fenster-leiste i:nth-child(3) { background: #28c840; }
.fenster-adresse { position: absolute; left: 50%; transform: translateX(-50%); font-size: .75rem; color: #6e6e73; background: #fff; padding: 3px 40px; border-radius: 6px; white-space: nowrap; }

/* ---------- Funktionen ---------- */
.funktionen { padding-bottom: 14vh; }
.funktionen-raster { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 90px); }
.funktionen-liste { list-style: none; margin: 0; padding: 0; }
.funktion { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .22; transition: opacity .6s var(--sanft); }
.funktion.aktiv { opacity: 1; }
.funktion h3 { font-size: clamp(1.7rem, 2.7vw, 2.5rem); margin: .3rem 0 1rem; }
.funktion-text { font-size: 1.12rem; color: var(--grau); }
.funktion-text strong { color: var(--text); }
.funktion-nr { font-family: var(--schrift-marke); font-style: italic; font-weight: 800; font-size: 1.1rem; color: var(--rot); letter-spacing: .04em; }
.funktionen-bild { position: sticky; top: calc(var(--kopf) + 8vh); height: fit-content; align-self: start; margin-top: 18vh; }
.fenster-stapel { position: relative; aspect-ratio: 1440 / 1000; background: #f7f8fa; }
.fenster-stapel img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
    opacity: 0; transform: scale(1.04); transition: opacity .7s var(--sanft), transform 1.1s var(--sanft);
}
.fenster-stapel img.aktiv { opacity: 1; transform: none; }
.funktionen-punkte { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.funktionen-punkte span { width: 8px; height: 8px; border-radius: 4px; background: rgba(0, 0, 0, .15); transition: width .5s var(--sanft), background .3s; }
.funktionen-punkte span.aktiv { width: 28px; background: var(--rot); }
.fenster-mobil { display: none; }

@media (max-width: 900px) {
    .funktionen-raster { grid-template-columns: 1fr; }
    .funktionen-bild { display: none; }
    .funktion { min-height: 0; opacity: 1; padding: 34px 0 44px; border-top: 1px solid var(--linie-hell); }
    .fenster-mobil { display: block; margin-top: 26px; }
    .fenster-mobil img { width: 100%; aspect-ratio: 1440 / 1000; object-fit: cover; object-position: top; }
}

/* ---------- Vorteile ---------- */
.vorteile { padding-bottom: clamp(90px, 16vh, 180px); }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.kachel {
    --mx: 50%; --my: 0%;
    position: relative; padding: 38px 34px 36px; border-radius: 28px; background: var(--dunkel-2); overflow: hidden;
    box-shadow: inset 0 0 0 1px var(--linie-dunkel);
}
.kachel::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
    background: radial-gradient(400px circle at var(--mx) var(--my), rgba(255, 51, 65, .16), transparent 60%);
}
.kachel:hover::before { opacity: 1; }
.js .kachel[data-einblenden].sichtbar { transition: opacity 1.1s var(--sanft) var(--v, 0s), transform 1.1s var(--sanft) var(--v, 0s); }
.kachel-wert {
    font-family: var(--schrift-marke); font-style: italic; font-weight: 800; font-size: clamp(4rem, 7vw, 5.6rem); line-height: 1;
    background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px;
    font-variant-numeric: tabular-nums; padding-right: .1em;
}
.kachel h3 { font-size: 1.35rem; letter-spacing: -.02em; margin-bottom: 10px; }
.kachel div { color: var(--grau-hell); font-size: 1rem; }

/* ---------- Handy ---------- */
.handy { padding: clamp(90px, 16vh, 180px) 0; overflow: clip; }
.handy-raster { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.haken { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 14px; }
.haken li { position: relative; padding-left: 36px; font-size: 1.08rem; font-weight: 500; }
.haken li::before {
    content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; background: var(--rot);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.6 17.2-4.8-4.8 1.7-1.7 3.1 3.1 6.7-6.7 1.7 1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.6 17.2-4.8-4.8 1.7-1.7 3.1 3.1 6.7-6.7 1.7 1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hg-dunkel .haken li { color: #e8e8ed; }
.handy-bild { position: relative; display: grid; place-items: center; min-height: 640px; }
.handy-geraet {
    position: relative; width: min(310px, 72vw); aspect-ratio: 388 / 800; border-radius: 52px; padding: 11px;
    background: linear-gradient(145deg, #3b3b42, #111114 40%, #26262b); box-shadow: 0 0 0 2px #0b0b0d, 0 60px 100px -30px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .12);
    transform: translateY(calc((var(--p, .5) - .5) * -90px)) rotate(calc((var(--p, .5) - .5) * -10deg));
    will-change: transform;
}
.handy-geraet img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 42px; background: #0b2a50; }
.handy-insel { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 30%; height: 24px; border-radius: 14px; background: #000; z-index: 2; }
.schwebe {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 18px;
    background: rgba(255, 255, 255, .78); backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(255, 255, 255, .6);
    font-weight: 600; font-size: .95rem; color: var(--text); white-space: nowrap; will-change: transform;
}
.schwebe b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--rot); color: #fff; font-size: .9rem; }
.schwebe-1 { top: 14%; left: 2%; transform: translateY(calc((var(--p, .5) - .5) * -220px)); }
.schwebe-2 { top: 46%; right: 0; transform: translateY(calc((var(--p, .5) - .5) * -140px)); }
.schwebe-3 { bottom: 12%; left: 6%; transform: translateY(calc((var(--p, .5) - .5) * -300px)); }

@media (max-width: 900px) {
    .handy-raster { grid-template-columns: 1fr; }
    .handy-bild { min-height: 560px; }
    .schwebe { font-size: .85rem; }
    .schwebe-1 { left: 0; }
    .schwebe-3 { left: 0; }
}

/* ---------- Galerie ---------- */
.galerie-buehne { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.galerie .abschnitt-kopf { padding: calc(var(--kopf) + 2vh) 0 4vh; }
.galerie-band {
    display: flex; gap: 28px; padding-inline: max(var(--rand), (100vw - var(--breite)) / 2); width: max-content;
    transform: translateX(calc(var(--weg, 0) * -1px)); will-change: transform;
}
.galerie-karte { margin: 0; width: clamp(260px, min(42vw, (100svh - 400px) * 1.33), 600px); flex: none; }
.galerie-bild { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 20px; background: var(--dunkel-2); box-shadow: inset 0 0 0 1px var(--linie-dunkel); }
.galerie-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transition: object-position 6s ease-in-out, transform .8s var(--sanft); }
.galerie-karte:hover .galerie-bild img { object-position: 50% 100%; }
.galerie-karte figcaption { margin-top: 14px; color: var(--grau-hell); font-size: .98rem; font-weight: 500; }

@media (max-width: 760px) {
    .galerie { height: auto !important; padding-bottom: 80px; }
    .galerie-buehne { position: static; height: auto; overflow: visible; }
    .galerie .abschnitt-kopf { padding-top: 100px; }
    .galerie-band { transform: none; width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
    .galerie-karte { width: 78vw; scroll-snap-align: center; }
}

/* ---------- Vergleich ---------- */
.vergleich { padding-bottom: clamp(90px, 16vh, 180px); }
.vergleich-tabelle { border-radius: 28px; overflow: hidden; box-shadow: 0 0 0 1px var(--linie-hell), 0 30px 80px -40px rgba(0, 0, 0, .25); background: #fff; }
.hg-dunkel .vergleich-tabelle { background: var(--dunkel-2); box-shadow: 0 0 0 1px var(--linie-dunkel); }
.vergleich-zeile { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.15fr); border-top: 1px solid var(--linie-hell); }
.hg-dunkel .vergleich-zeile { border-color: var(--linie-dunkel); }
.vergleich-zeile > * { padding: 22px 26px; margin: 0; }
.vergleich-zeile h3 { font-size: 1.05rem; letter-spacing: -.015em; line-height: 1.35; }
.vergleich-kopf { border-top: 0; font-weight: 700; font-size: .95rem; }
.vergleich-kopf > span { padding-top: 26px; padding-bottom: 18px; color: var(--grau); }
.vergleich-kopf .vergleich-wir { color: var(--rot); }
.vergleich-links { color: var(--grau); font-size: 1rem; }
.hg-dunkel .vergleich-links, .hg-dunkel .vergleich-kopf > span:not(.vergleich-wir) { color: var(--grau-hell); }
.vergleich-rechts { font-weight: 550; font-size: 1rem; background: rgba(227, 10, 23, .045); position: relative; padding-left: 52px !important; }
.vergleich-rechts::before {
    content: ""; position: absolute; left: 22px; top: 25px; width: 20px; height: 20px; border-radius: 50%; background: var(--rot);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.6 17.2-4.8-4.8 1.7-1.7 3.1 3.1 6.7-6.7 1.7 1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.6 17.2-4.8-4.8 1.7-1.7 3.1 3.1 6.7-6.7 1.7 1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.vergleich-kopf .vergleich-wir { background: rgba(227, 10, 23, .045); }
.vergleich-mobil { display: none; }
.vergleich-hinweis { text-align: center; max-width: 46em; margin: 22px auto 0; }
@media (max-width: 760px) {
    .vergleich-kopf { display: none; }
    .vergleich-zeile { grid-template-columns: 1fr; border-top-width: 6px; }
    .vergleich-zeile > * { padding: 14px 20px; }
    .vergleich-zeile h3 { padding-top: 20px; font-size: 1.15rem; }
    .vergleich-mobil { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--grau); margin-bottom: 4px; }
    .vergleich-rechts .vergleich-mobil { color: var(--rot); }
    .vergleich-rechts::before { top: 32px; }
}

/* ---------- Referenz ---------- */
.referenz { padding: clamp(90px, 16vh, 180px) 0; overflow: clip; }
.referenz-raster { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.referenz-verein { display: flex; align-items: center; gap: 12px; margin-top: 1.4rem; font-weight: 700; font-size: 1.15rem; }
.referenz-verein img { width: 44px; height: 44px; object-fit: contain; }
.referenz-bild {
    display: block; text-decoration: none; perspective: 1600px;
}
.referenz-bild .fenster {
    transform: rotateY(calc((1 - var(--p, .5) * 1.6) * -16deg)) rotateX(calc((1 - var(--p, .5) * 1.6) * 6deg));
    transition: box-shadow .4s; will-change: transform;
}
.referenz-bild:hover .fenster { box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 50px 100px -20px rgba(0, 0, 0, .45); }
.referenz-scroller { aspect-ratio: 1440 / 872; overflow: hidden; }
.referenz-scroller img { width: 100%; transition: transform 1.2s var(--sanft); }
.referenz-bild:hover .referenz-scroller img { transform: scale(1.03); }
@media (max-width: 900px) {
    .referenz-raster { grid-template-columns: 1fr; }
    .referenz-bild .fenster { transform: none; }
}

/* ---------- Handbuch ---------- */
.handbuch { padding: clamp(90px, 16vh, 180px) 0; overflow: clip; }
.handbuch-raster { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.handbuch-cover { perspective: 1400px; display: grid; place-items: center; }
.handbuch-cover img, .handbuch-ersatz {
    width: min(420px, 80%); border-radius: 6px 14px 14px 6px; aspect-ratio: 210 / 297; object-fit: cover; background: #fff;
    transform: rotateY(var(--ry, -14deg)) rotateX(var(--rx, 4deg)); transition: transform .8s var(--sanft);
    box-shadow: -2px 0 0 #d9d9de, 30px 50px 90px -30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .05);
}
.hg-dunkel .handbuch-cover img { box-shadow: -2px 0 0 #9a9aa3, 30px 50px 120px -20px rgba(227, 10, 23, .35), 0 40px 80px -30px #000; }
.handbuch-ersatz { display: grid; place-content: center; gap: 20px; padding: 30px; text-align: center; color: var(--text); font-weight: 700; font-size: 1.6rem; }
.handbuch .knopf-gross { margin-top: 2.2rem; }

@media (max-width: 900px) {
    .handbuch-raster { grid-template-columns: 1fr; }
    .handbuch-cover img { width: min(300px, 70%); }
}

/* ---------- Demo-Hinweis ---------- */
.demo-teaser { padding: clamp(90px, 16vh, 180px) 0; overflow: clip; }
.demo-teaser::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(50% 60% at 80% 50%, rgba(227, 10, 23, .22), transparent 70%);
}
.demo-teaser-innen { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.demo-teaser .riesig { font-size: clamp(2.6rem, 5.4vw, 5.2rem); hyphens: auto; }
.demo-teaser-bild { perspective: 1600px; }
.demo-teaser-bild .fenster {
    transform: translateX(calc((1 - var(--p, .5) * 1.5) * 18%)) rotateY(calc((1 - var(--p, .5) * 1.5) * -22deg)) scale(calc(.92 + var(--p, .5) * .1));
    will-change: transform;
}
.demo-teaser-bild img { width: 100%; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top; }
@media (max-width: 900px) {
    .demo-teaser-innen { grid-template-columns: 1fr; }
    .demo-teaser-bild .fenster { transform: none; }
}

/* ---------- Fragen ---------- */
.fragen { padding-bottom: clamp(90px, 16vh, 180px); }
.fragen-liste { border-top: 1px solid var(--linie-hell); }
.hg-dunkel .fragen-liste, .hg-dunkel .frage { border-color: var(--linie-dunkel); }
.frage { border-bottom: 1px solid var(--linie-hell); }
.frage summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 26px 0; font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 600; letter-spacing: -.02em;
}
.frage summary::-webkit-details-marker { display: none; }
.frage-plus { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; background: rgba(0, 0, 0, .05); transition: transform .5s var(--sanft), background .3s; }
.frage-plus::before, .frage-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 1px; }
.frage-plus::after { transform: rotate(90deg); }
.frage[open] .frage-plus { transform: rotate(45deg); background: var(--rot); color: #fff; }
.frage-antwort { padding: 0 60px 28px 0; color: var(--grau); font-size: 1.08rem; }
.frage[open] .frage-antwort { animation: hoch .6s var(--sanft); }

/* ---------- Abschluss ---------- */
.abschluss { padding: clamp(110px, 22vh, 240px) 0; text-align: center; overflow: clip; }
.abschluss .abschluss-glanz {
    background: radial-gradient(50% 60% at 50% 100%, rgba(227, 10, 23, .4), transparent 70%), radial-gradient(30% 30% at 50% 40%, rgba(255, 106, 61, .08), transparent 70%);
}
.abschluss .rahmen { position: relative; }
.abschluss-foto { position: absolute; inset: 0; overflow: hidden; }
.abschluss-foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.18 - var(--p, .5) * .18)); will-change: transform; }
.abschluss-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(5, 5, 7, .78), rgba(5, 5, 7, .6) 50%, rgba(5, 5, 7, .88)); }
.abschluss-icon { width: 110px; height: auto; margin: 0 auto 34px; }
.abschluss .einleitung { margin-inline: auto; }
.abschluss .knoepfe { justify-content: center; }

/* ---------- Unterseiten ---------- */
.unterseite-kopf { padding: calc(var(--kopf) + clamp(70px, 16vh, 170px)) 0 clamp(70px, 12vh, 130px); overflow: clip; }
.unterseite-kopf .rahmen { position: relative; }
.unterseite-kurz { padding-bottom: 60px; }
.zugang { margin-top: 3rem; padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--linie-dunkel); backdrop-filter: blur(10px); max-width: 760px; }
.zugang .knoepfe { margin-top: 0; }
.zugang .einleitung { margin-top: 0; }
.zugang .einleitung + .knoepfe { margin-top: 1.6rem; }
.zugang-titel { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -.02em; margin: 0 0 14px; }
.rollen { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.rollen li { font-size: .85rem; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--linie-dunkel); color: rgba(255, 255, 255, .85); }

.schritte { padding-bottom: clamp(70px, 12vh, 140px); }
.schritt { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 90px); align-items: center; padding: 50px 0; }
.schritt-gedreht .schritt-text { order: 2; }
.schritt h3 { font-size: clamp(1.7rem, 2.7vw, 2.4rem); margin: .3rem 0 1rem; }
.schritt-text > div { color: var(--grau); font-size: 1.12rem; }
.schritt-bild img { width: 100%; aspect-ratio: 1440 / 1000; object-fit: cover; object-position: top; }
@media (max-width: 900px) {
    .schritt { grid-template-columns: 1fr; }
    .schritt-gedreht .schritt-text { order: 0; }
}

.textabschnitt { padding: clamp(60px, 10vh, 120px) 0; }
.fliesstext { font-size: 1.08rem; }
.fliesstext h2 { font-size: 1.6rem; margin: 2.2em 0 .6em; letter-spacing: -.025em; }
.fliesstext h3 { font-size: 1.25rem; margin: 1.8em 0 .5em; letter-spacing: -.02em; }
.fliesstext > :first-child { margin-top: 0; }
.fliesstext a { color: var(--rot); }
.hg-dunkel .fliesstext a { color: var(--rot-hell); }
.fliesstext ul { padding-left: 1.2em; }

/* ---------- Fußzeile ---------- */
.fuss { background: #000; color: var(--grau-hell); padding: 70px 0 40px; border-top: 1px solid var(--linie-dunkel); font-size: .92rem; }
.fuss-innen { width: min(var(--breite), 100% - 2 * var(--rand)); margin-inline: auto; display: grid; gap: 22px; justify-items: center; text-align: center; }
.fuss-logo { width: 240px; height: auto; }
.fuss-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }
.fuss-nav a { text-decoration: none; color: #e8e8ed; }
.fuss-nav a:hover { color: #fff; text-decoration: underline; }
.fuss-klein { font-size: .8rem; color: #6e6e73; }

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
    .hero, .leitsatz { height: auto; }
    .hero-buehne { position: relative; height: auto; padding-bottom: 60px; }
    .hero-text { opacity: 1; transform: none; filter: none; }
    .laptop { position: relative; left: auto; transform: none; margin: 60px auto 0; }
    .laptop-deckel { transform: none; }
    .leitsatz-buehne { position: relative; height: auto; padding: 120px 0; }
    .leitsatz .wort { opacity: 1; }
    .bildwand { height: auto; }
    .bildwand-buehne { --z: 1; position: relative; height: auto; padding: 100px 0; gap: 30px; }
    .bildwand-ueber { position: static; background: none; opacity: 1; order: -1; }
    .bildwand-text { position: static; transform: none; opacity: 1; }
    .galerie { height: auto !important; padding-bottom: 80px; }
    .galerie-buehne { position: static; height: auto; }
    .galerie-band { transform: none; width: auto; overflow-x: auto; }
    .js [data-einblenden] { opacity: 1; transform: none; }
}
