@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
    src: url('../fonts/outfit-latin.woff2') format('woff2');
}

:root {
    --bg: #F3F6FB;
    --bg-top: #EAF2FC;
    --card: #FFFFFF;
    --line: #E1E8F2;
    --text: #13233F;
    --soft: #56637A;
    --accent: #1B6CC2;
    --brand: #2B86DD;
    --signal: #4DA8F5;
    --chip: #E7F0FC;
    --dark-1: #1A2F55;
    --dark-2: #0E1B33;
    --warn: #A35400;
    --warn-bg: #FFF1DF;
    --btn-1: #2B86DD;
    --btn-2: #1A5DB0;
    --grid: rgba(27, 108, 194, .07);

    --shadow: 0 1px 2px rgba(19, 35, 63, .04), 0 14px 34px -16px rgba(19, 35, 63, .16);
    --shadow-lg: 0 2px 6px rgba(19, 35, 63, .05), 0 40px 80px -30px rgba(19, 35, 63, .34);
    --radius: 24px;
    --wrap: 1180px;
    --head-h: 68px;
    --ease: cubic-bezier(.2, .7, .1, 1);

    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0A1426;
        --bg-top: #0D1A31;
        --card: #12213C;
        --line: #1F3354;
        --text: #EEF3FB;
        --soft: #A7B4CA;
        --accent: #5FB2FF;
        --brand: #5FB2FF;
        --chip: #183056;
        --warn: #FFC685;
        --warn-bg: #3A2710;
        --grid: rgba(95, 178, 255, .07);
        --shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 14px 34px -16px rgba(0, 0, 0, .55);
        --shadow-lg: 0 2px 6px rgba(0, 0, 0, .25), 0 40px 80px -30px rgba(0, 0, 0, .7);
        color-scheme: dark;
    }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Outfit', 'Inter', system-ui, sans-serif; color: var(--text); margin: 0; letter-spacing: -.025em; line-height: 1.08; }
h2 { font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 em { font-style: normal; color: var(--brand); }
h3 { font-weight: 700; font-size: 1.25rem; letter-spacing: -.015em; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: .18em; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--card); color: var(--accent); padding: .6rem 1rem; border-radius: 999px; box-shadow: var(--shadow); }
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

/* Messband als Scroll-Fortschritt */
.tape {
    position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 60; pointer-events: none;
    background: repeating-linear-gradient(90deg, transparent 0 9px, color-mix(in srgb, var(--signal) 35%, transparent) 9px 10px);
}
.tape__fill {
    display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0));
    background: linear-gradient(90deg, var(--brand), var(--signal));
}

/* Kopf */
.head {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    backdrop-filter: saturate(1.6) blur(18px);
    -webkit-backdrop-filter: saturate(1.6) blur(18px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease;
}
.head.is-scrolled { border-bottom-color: var(--line); }
.head__inner { height: var(--head-h); display: flex; align-items: center; gap: 1.5rem; }
.head__logo { display: block; flex: 0 0 auto; margin-right: auto; }
.head__logo img { height: 34px; width: auto; }
.nav { display: flex; gap: .15rem; }
.nav a {
    position: relative; color: var(--soft); text-decoration: none; font-size: .94rem; font-weight: 500;
    padding: .45rem .8rem; border-radius: 999px; transition: color .2s;
}
.nav a::after {
    content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; border-radius: 2px;
    background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover, .nav a.is-current { color: var(--text); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
.head__cta {
    font-size: .85rem; font-weight: 600; color: var(--accent); background: var(--chip);
    padding: .5rem .95rem; border-radius: 999px; white-space: nowrap;
}

.logo-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
    .logo-light { display: none !important; }
    .logo-dark { display: block !important; }
}

@media (max-width: 860px) { .head__cta { display: none; } }
@media (max-width: 760px) {
    :root { --head-h: 104px; }
    .head__inner { height: auto; flex-wrap: wrap; gap: .35rem; padding: .7rem 0 .55rem; }
    .head__logo img { height: 30px; }
    .nav { width: 100%; overflow-x: auto; scrollbar-width: none; gap: 0; justify-content: space-between; }
    .nav::-webkit-scrollbar { display: none; }
    .nav a { white-space: nowrap; font-size: .84rem; padding: .4rem .3rem; }
    .nav a::after { left: .3rem; right: .3rem; }
    .nav a:first-child { padding-left: 0; }
    .nav a:first-child::after { left: 0; }
    .nav a:last-child { padding-right: 0; }
    .nav a:last-child::after { right: 0; }
}

/* Buttons */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    font: 600 1rem/1 'Inter', sans-serif; text-decoration: none;
    padding: 1rem 1.6rem; border-radius: 999px; border: 0; cursor: pointer; overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s, background .2s;
}
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.btn--primary {
    color: #fff;
    background: linear-gradient(180deg, var(--btn-1), var(--btn-2));
    box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 12px 28px -12px rgba(27, 108, 194, .8);
}
.btn--primary::after {
    content: ''; position: absolute; inset: 0; transform: translateX(-120%);
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
    animation: shine 4.5s ease-in-out 2.5s infinite;
}
.btn--primary[aria-disabled="true"] { cursor: default; }
.btn--ghost { color: var(--text); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--signal); transform: translateY(-1px); }
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* Hero */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; isolation: isolate; }
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: -2;
    background: linear-gradient(180deg, var(--bg-top), var(--bg) 85%);
}
.hero__grid-bg {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px),
        linear-gradient(color-mix(in srgb, var(--grid) 45%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--grid) 45%, transparent) 1px, transparent 1px);
    background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
    -webkit-mask-image: radial-gradient(520px circle at var(--mx, 70%) var(--my, 40%), #000 0, rgba(0, 0, 0, .35) 45%, transparent 75%);
    mask-image: radial-gradient(520px circle at var(--mx, 70%) var(--my, 40%), #000 0, rgba(0, 0, 0, .35) 45%, transparent 75%);
}
.hero__inner { display: grid; gap: clamp(2.5rem, 5vw, 3rem); align-items: center; }
@media (min-width: 980px) { .hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); } }

.hero__origin {
    display: inline-flex; align-items: center; gap: .55rem;
    font-size: .9rem; font-weight: 500; color: var(--soft);
    padding: .35rem .85rem .35rem .4rem; border-radius: 999px; background: var(--card); box-shadow: var(--shadow);
}
.hero__origin svg { width: 20px; height: 20px; flex: 0 0 auto; }
@media (max-width: 480px) { .hero__origin { font-size: .78rem; gap: .45rem; } .hero__origin svg { width: 18px; height: 18px; } }
.hero__title { font-size: clamp(2.7rem, 10.5vw, 4.6rem); font-weight: 800; letter-spacing: -.045em; line-height: .98; margin: 1.4rem 0 1.5rem; }
.hero__title .line { display: block; }
.hero__title .line--accent {
    background: linear-gradient(90deg, var(--brand), var(--signal) 60%, var(--brand));
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: sheen 7s ease-in-out infinite;
    padding-bottom: .06em;
}
@keyframes sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.hero__lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--soft); max-width: 33rem; line-height: 1.6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }
.hero__meta { margin-top: 1.1rem; font-size: .9rem; color: var(--soft); }

/* Hero-Bühne */
.hero__stage { position: relative; padding-bottom: clamp(3.5rem, 10vw, 6rem); perspective: 1400px; }
.scan {
    position: relative; margin: 0; width: 82%;
    background: var(--card); border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow-lg);
    padding: clamp(1rem, 3vw, 1.6rem);
    transform: rotateY(calc(var(--tx, 0) * 6deg)) rotateX(calc(var(--ty, 0) * -6deg));
    transition: transform .6s var(--ease);
}
.scan__hud { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.scan__status {
    display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; color: var(--accent);
    background: var(--chip); border-radius: 999px; padding: .35rem .8rem;
}
.scan__status::before {
    content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--signal);
    animation: pulse 1.4s ease-in-out infinite;
}
.scan.is-done .scan__status::before { animation: none; background: #2f9e6a; }
.scan__pct { font: 700 .95rem 'Outfit', sans-serif; color: var(--soft); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(77, 168, 245, .55); } 50% { box-shadow: 0 0 0 7px rgba(77, 168, 245, 0); } }

.room { --r-floor: #F7FAFE; --r-wall-l: #E7F0FC; --r-wall-r: #DCEAFB; --r-win: #EAF5FF; --r-edge: #1B6CC2; --r-label: #FFFFFF; width: 100%; height: auto; overflow: visible; }
@media (prefers-color-scheme: dark) {
    .room { --r-floor: #0F1C33; --r-wall-l: #183056; --r-wall-r: #1C3863; --r-win: #1F4677; --r-edge: #5FB2FF; --r-label: #0E1B33; }
}
.room__floor { fill: var(--r-floor); }
.room__wall-l { fill: var(--r-wall-l); }
.room__wall-r { fill: var(--r-wall-r); }
.room__win { fill: var(--r-win); }
.room__door { fill: var(--r-floor); }
.room__fills { opacity: 0; animation: fade 1s ease 1.1s forwards; }
.room__lines * { fill: none; stroke: var(--r-edge); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.room__lines .draw--win { stroke: #4DA8F5; }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.3s var(--ease) var(--d, 0s) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

.room__band { transform: translateX(0); animation: band 2.6s cubic-bezier(.45, 0, .25, 1) .4s 1 forwards, band 3.4s cubic-bezier(.45, 0, .25, 1) 6s infinite; }
.room__band line { stroke: #4DA8F5; stroke-width: 2; }
@keyframes band { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(600px); opacity: 0; } }

.room__dots circle { fill: #4DA8F5; opacity: 0; animation: dot 1.4s ease var(--d) forwards; }
@keyframes dot { 0% { opacity: 0; transform: scale(0); } 40% { opacity: 1; transform: scale(1.6); } 100% { opacity: .55; transform: scale(1); } }
.room__dots circle { transform-box: fill-box; transform-origin: center; }

.room__dims { opacity: 0; animation: fade .6s ease 2.4s forwards; }
.room__dim { stroke: #4DA8F5; stroke-width: 1.4; stroke-dasharray: 3 4; stroke-linecap: round; }
.room__tick { stroke: #4DA8F5; stroke-width: 1.6; stroke-linecap: round; }
.room__corner { fill: none; stroke: #4DA8F5; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; animation: corners 2.4s ease-in-out infinite; transform-origin: 275px 200px; }
@keyframes corners { 0%, 100% { transform: scale(1); } 50% { transform: scale(.985); } }
.room__label { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pop .6s cubic-bezier(.3, 1.6, .5, 1) calc(2.5s + var(--d)) forwards; filter: drop-shadow(0 6px 10px rgba(19, 35, 63, .16)); }
.room__label rect { fill: var(--r-label); stroke: var(--line); }
.room__label text { font: 700 15px 'Outfit', sans-serif; fill: var(--r-edge); font-variant-numeric: tabular-nums; text-anchor: middle; dominant-baseline: central; }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }

.phone {
    width: 230px; aspect-ratio: 9 / 19.5; border-radius: 15% / 7%; padding: 3.2%;
    background: linear-gradient(145deg, #2c3648, #0b1119);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 0 0 2px #0b1119, var(--shadow-lg);
}
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 12.5% / 5.8%; overflow: hidden; background: #F3F6FB; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone__island { position: absolute; top: 2.2%; left: 50%; transform: translateX(-50%); width: 32%; height: 3.6%; border-radius: 999px; background: #05080d; z-index: 5; }

.phone--hero {
    position: absolute; right: 0; bottom: 0; width: clamp(110px, 30%, 225px);
    transform: translateZ(60px) rotateY(calc(var(--tx, 0) * -10deg)) rotateX(calc(var(--ty, 0) * 8deg)) translateY(var(--float, 0));
    transition: transform .6s var(--ease);
    animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 600px) { .scan { width: 78%; border-radius: 22px; } }

/* Kennzahlen */
.facts {
    margin: clamp(2.5rem, 6vw, 4rem) 0 0; display: grid; grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--line);
}
@media (min-width: 860px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: 1.4rem 1rem 0 0; position: relative; }
.fact::before { content: ''; position: absolute; top: -4px; left: 0; width: 1px; height: 8px; background: var(--soft); opacity: .5; }
.fact dt { order: 2; font-size: .9rem; color: var(--soft); margin-top: .2rem; }
.fact dd { margin: 0; font: 800 clamp(2rem, 4vw, 2.8rem)/1 'Outfit', sans-serif; letter-spacing: -.03em; }
.fact { display: flex; flex-direction: column; }
.fact dd { order: 1; }

/* Laufband */
.marquee { overflow: hidden; padding: clamp(1.5rem, 4vw, 2.5rem) 0; border-block: 1px solid var(--line); background: var(--card); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span {
    font: 800 clamp(2.2rem, 6vw, 4.4rem)/1 'Outfit', sans-serif; letter-spacing: -.035em;
    padding-inline: clamp(1rem, 2.5vw, 2rem); color: var(--text); white-space: nowrap;
    display: inline-flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem);
}
.marquee span::after { content: ''; width: .28em; height: .28em; border-radius: 50%; background: var(--signal); margin-left: clamp(1rem, 2.5vw, 2rem); }
.marquee span.o { color: color-mix(in srgb, var(--signal) 45%, var(--card)); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sektionen */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--tight { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.sec-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.sec-head h2 { margin: 1.1rem 0 1rem; }
.sec-head p { font-size: 1.15rem; color: var(--soft); max-width: 36rem; }

.dimline { display: flex; align-items: center; gap: .9rem; color: var(--accent); max-width: 240px; }
.dimline span { font: 700 .95rem 'Outfit', sans-serif; letter-spacing: .04em; }
.dimline i {
    position: relative; flex: 1; height: 1px; background: currentColor; opacity: .6;
    transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease) .15s;
}
.dimline i::before, .dimline i::after { content: ''; position: absolute; top: -5px; width: 1px; height: 11px; background: currentColor; }
.dimline i::before { left: 0; }
.dimline i::after { right: 0; }
.is-in .dimline i, .dimline.is-in i { transform: scaleX(1); }
.dimline--light { color: #5FB2FF; }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* Bento */
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
    .bento { grid-template-columns: repeat(6, 1fr); }
    .tile--scan { grid-column: span 4; }
    .tile--3d { grid-column: span 2; }
    .tile--trade { grid-column: span 3; }
    .tile--rules { grid-column: span 3; }
    .tile--scan .mini-scan { align-self: stretch; grid-template-rows: 1fr auto; }
    .tile--scan .mini-scan__wall { height: auto; min-height: 200px; }
    .tile--pdf { grid-column: span 3; }
    .tile--notes { grid-column: span 3; }
    .tile--privacy { grid-column: span 6; }
}
@media (min-width: 720px) and (max-width: 1039px) {
    .tile--scan, .tile--privacy { grid-column: span 2; }
}

.tile {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: clamp(1.4rem, 2.5vw, 1.9rem); box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 1.4rem;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--signal) 40%, var(--line)); }
[data-spot]::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s;
    background: radial-gradient(380px circle at var(--sx, 50%) var(--sy, 50%), color-mix(in srgb, var(--signal) 16%, transparent), transparent 70%);
}
[data-spot]:hover::before { opacity: 1; }
.tile__text h3 { margin-bottom: .5rem; }
.tile__text p { color: var(--soft); font-size: .98rem; }

/* Segment-Schalter */
.seg { display: inline-flex; gap: 3px; padding: 3px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; }
.seg--wrap { flex-wrap: wrap; border-radius: 18px; }
.seg button {
    border: 0; background: transparent; cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--soft);
    padding: .45rem .85rem; border-radius: 999px; transition: background .25s, color .25s, box-shadow .25s;
}
.seg button:hover { color: var(--text); }
.seg button[aria-selected="true"] { background: var(--card); color: var(--accent); box-shadow: 0 1px 3px rgba(19, 35, 63, .12); }

/* Scannen */
.tile--scan { flex-direction: column; }
@media (min-width: 720px) { .tile--scan { flex-direction: row; align-items: center; } .tile--scan .tile__text { flex: 1; } }
.mini-scan { flex: 1.1; display: grid; gap: .8rem; min-width: 0; }
.mini-scan__wall {
    position: relative; height: 170px; border-radius: 16px; overflow: hidden;
    background:
        linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 18px 18px,
        linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 18px 18px,
        var(--chip);
    border: 1.5px solid color-mix(in srgb, var(--accent) 50%, transparent);
}
.mini-scan__win { position: absolute; left: 14%; top: 22px; width: 24%; height: 72px; border: 2px solid #4DA8F5; border-radius: 4px; background: color-mix(in srgb, #4DA8F5 14%, transparent); }
.mini-scan__sofa { position: absolute; right: 10%; bottom: 0; width: 44%; height: 34%; border-radius: 14px 14px 0 0; background: color-mix(in srgb, var(--text) 16%, transparent); }
.mini-scan__sofa::before { content: ''; position: absolute; inset: -46% 0 auto; height: 46%; border: 2px dashed #A35400; border-bottom: 0; border-radius: 6px 6px 0 0; opacity: .8; }
.mini-scan__beam {
    position: absolute; top: 0; bottom: 0; width: 70px; left: -70px;
    background: linear-gradient(90deg, transparent, rgba(77, 168, 245, .35) 80%, #4DA8F5);
    animation: beam 3.2s cubic-bezier(.45, 0, .25, 1) infinite;
}
@keyframes beam { to { left: 100%; } }
.mini-scan__tip {
    justify-self: start; display: inline-flex; align-items: center; gap: .5rem;
    font-size: .85rem; font-weight: 600; color: var(--warn); background: var(--warn-bg);
    padding: .45rem .8rem; border-radius: 999px;
}
.mini-scan__tip svg { width: 16px; height: 16px; }

/* Beruf */
.trade { display: grid; gap: 1rem; margin-top: auto; }
.trade__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.trade__list li {
    display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border-radius: 14px;
    background: var(--bg); border: 1px solid var(--line); font-size: .95rem;
    animation: rowIn .45s var(--ease) both; animation-delay: calc(var(--i) * 60ms);
}
.trade__list li b { font: 700 1rem 'Outfit', sans-serif; font-variant-numeric: tabular-nums; color: var(--accent); white-space: nowrap; }
.trade__note { font-size: .8rem; color: var(--soft); }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Regeln */
.rules { display: grid; gap: .9rem; margin-top: auto; }
.rules__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.rules__list li {
    display: flex; justify-content: space-between; align-items: center; gap: .8rem; font-size: .9rem;
    padding: .55rem 0; border-bottom: 1px dashed var(--line);
    animation: rowIn .45s var(--ease) both; animation-delay: calc(var(--i) * 60ms);
}
.rules__list li:last-child { border-bottom: 0; }
.badge { font-size: .72rem; font-weight: 700; padding: .22rem .6rem; border-radius: 999px; white-space: nowrap; }
.badge--ok { color: var(--accent); background: var(--chip); }
.badge--warn { color: var(--warn); background: var(--warn-bg); }
.rules__norm { font: 700 .8rem 'Outfit', sans-serif; letter-spacing: .06em; color: var(--soft); }

/* 3D */
.tap { display: grid; gap: .6rem; margin-top: auto; }
.tap__svg { width: 100%; height: auto; max-height: 220px; }
.tap__part {
    fill: var(--chip); stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; cursor: pointer;
    transition: fill .25s, stroke-width .25s;
}
.tap__part[data-part="floor"] { fill: var(--bg); }
.tap__part--open { fill: color-mix(in srgb, #4DA8F5 18%, var(--card)); stroke: #4DA8F5; }
.tap__part--check { stroke-dasharray: 8 6; stroke: #A35400; }
.tap__part:hover, .tap__part.is-active { fill: color-mix(in srgb, #4DA8F5 42%, var(--card)); }
.tap__part:focus-visible { outline: none; stroke-width: 4; }
.tap__readout {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem;
    padding: .75rem 1rem; border-radius: 14px; background: var(--bg); border: 1px solid var(--line);
}
.tap__name { font-weight: 600; font-size: .92rem; }
.tap__val { font: 800 1.15rem 'Outfit', sans-serif; color: var(--accent); margin-left: auto; }
.tap__flag { width: 100%; font-size: .78rem; font-weight: 600; color: var(--warn); }
.tap__flag:empty { display: none; }

/* PDF */
.tile--pdf { flex-direction: column; }
@media (min-width: 720px) { .tile--pdf { flex-direction: row; align-items: center; } .tile--pdf .tile__text { flex: 1; } }
.paper { position: relative; flex: 1; min-height: 230px; display: grid; place-items: center; }
.paper__sheet {
    position: relative; width: 190px; padding: 14px; border-radius: 6px; background: #fff; color: #13233F;
    box-shadow: 0 1px 2px rgba(19, 35, 63, .08), 0 20px 40px -18px rgba(19, 35, 63, .4);
    transform: rotate(-5deg) translateY(6px); transition: transform .6s var(--ease); font-size: 9.5px;
}
.paper__sheet--back { position: absolute; height: 230px; transform: rotate(5deg) translate(18px, -2px); background: #f4f7fb; }
.tile--pdf:hover .paper__sheet { transform: rotate(0) translateY(-10px) scale(1.04); }
.tile--pdf:hover .paper__sheet--back { transform: rotate(9deg) translate(34px, 0); }
.paper__head { display: flex; flex-direction: column; margin-bottom: 8px; }
.paper__head b { font: 800 13px 'Outfit', sans-serif; }
.paper__head span { color: #56637A; }
.paper__model {
    height: 62px; border-radius: 4px; margin-bottom: 8px;
    background: #EAF2FC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='70 0 420 390'%3E%3Cg fill='none' stroke='%231B6CC2' stroke-width='9' stroke-linejoin='round'%3E%3Cpolygon points='260,150 468.7,270.5 297.7,369.25 89,248.75'/%3E%3Cpolyline points='89,248.75 89,118.75 260,20 468.7,140.5 468.7,270.5'/%3E%3Cline x1='260' y1='20' x2='260' y2='150'/%3E%3C/g%3E%3C/svg%3E") center / auto 80% no-repeat;
}
.paper__row { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid #E1E8F2; }
.paper__row--sum { border-bottom: 0; border-top: 1.5px solid #13233F; margin-top: 2px; font-weight: 700; }

/* Notizen */
.tile--notes { flex-direction: column; }
@media (min-width: 720px) { .tile--notes { flex-direction: row; align-items: center; } .tile--notes .tile__text { flex: 1; } }
.dictate { flex: 1; display: grid; gap: .8rem; min-width: 0; }
.dictate__wave { display: flex; align-items: center; gap: 4px; height: 42px; }
.dictate__wave i { width: 5px; border-radius: 3px; background: linear-gradient(var(--signal), var(--brand)); height: 30%; animation: wave 1.1s ease-in-out infinite; }
.dictate__wave i:nth-child(3n) { animation-delay: -.3s; }
.dictate__wave i:nth-child(3n+1) { animation-delay: -.6s; }
.dictate__wave i:nth-child(4n) { animation-delay: -.85s; animation-duration: 1.4s; }
@keyframes wave { 0%, 100% { height: 22%; } 50% { height: 100%; } }
.dictate__text { min-height: 3.2em; padding: .8rem 1rem; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-size: .95rem; }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--accent); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.dictate__photo {
    justify-self: start; display: flex; align-items: flex-end; width: 150px; height: 92px; border-radius: 12px; padding: .5rem;
    background: linear-gradient(160deg, #cfdcec, #9fb3cc); color: #13233F; font-size: .72rem; font-weight: 600;
    transform: rotate(-3deg); box-shadow: var(--shadow); position: relative;
}
.dictate__photo::before { content: ''; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); box-shadow: 0 2px 4px rgba(0, 0, 0, .2); }
.dictate__photo span { background: rgba(255, 255, 255, .85); padding: .15rem .45rem; border-radius: 6px; }

/* Daten */
.tile--privacy { background: linear-gradient(140deg, var(--dark-1), var(--dark-2)); border-color: transparent; color: #EEF3FB; }
.tile--privacy h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .4rem; }
.tile--privacy p { color: #B9C6DC; }
.privacy { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .privacy { grid-template-columns: 1fr 1.6fr; } }
.strike { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.strike li { position: relative; font: 800 clamp(1.3rem, 2.6vw, 1.9rem)/1.2 'Outfit', sans-serif; letter-spacing: -.02em; color: #EEF3FB; }
.strike li::after {
    content: ''; position: absolute; left: -2%; right: -2%; top: 55%; height: 3px; border-radius: 3px; background: #4DA8F5;
    transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.is-in .strike li::after { transform: scaleX(1); }
.is-in .strike li:nth-child(1)::after { transition-delay: .3s; }
.is-in .strike li:nth-child(2)::after { transition-delay: .45s; }
.is-in .strike li:nth-child(3)::after { transition-delay: .6s; }
.is-in .strike li:nth-child(4)::after { transition-delay: .75s; }
.is-in .strike li:nth-child(5)::after { transition-delay: .9s; }

/* Ablauf: Sticky-Story */
.story__grid { display: grid; gap: 2rem; }
.story__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.story__step {
    position: relative; padding: 1.6rem 1.6rem 1.6rem 5rem; border-radius: var(--radius);
    background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
    transition: opacity .5s, transform .5s var(--ease), border-color .4s;
}
.story__num {
    position: absolute; left: 1.4rem; top: 1.5rem; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    font: 800 1.1rem 'Outfit', sans-serif; color: var(--accent); background: var(--chip); transition: background .4s, color .4s;
}
.story__step h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: .35rem; }
.story__step p { color: var(--soft); font-size: 1.05rem; }
.story__step.is-active .story__num { background: linear-gradient(180deg, var(--btn-1), var(--btn-2)); color: #fff; }

.story__stage { display: none; }
@media (min-width: 900px) {
    .story__grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
    .story__stage { display: grid; place-items: center; position: sticky; top: calc(var(--head-h) + 4vh); height: calc(100vh - var(--head-h) - 8vh); min-height: 560px; }
    .story__steps { gap: 0; padding: 18vh 0 22vh; }
    .story__step { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; background: transparent; border-color: transparent; box-shadow: none; opacity: .3; padding-left: 5.4rem; }
    .story__step.is-active { opacity: 1; }
    .story__num { top: 50%; transform: translateY(-120%); }
    .story__step h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
}

.phone--story { width: min(290px, 70%); position: relative; }
.phone--story::before {
    content: ''; position: absolute; inset: -18% -30%; z-index: -1; border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--signal) 30%, transparent), transparent);
}
.screen {
    position: absolute; inset: 0; padding: 54px 16px 18px; display: flex; flex-direction: column; gap: 10px;
    font-size: 12px; color: #13233F; background: #F3F6FB;
    opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.screen.is-active { opacity: 1; transform: none; }
.screen__nav { color: #1B6CC2; font-weight: 600; }
.screen__title { font: 800 22px 'Outfit', sans-serif; letter-spacing: -.02em; }
.screen__field { background: #fff; border-radius: 12px; padding: 10px 12px; font-weight: 600; display: grid; }
.screen__field small, .screen__label { font-size: 10px; font-weight: 600; color: #56637A; letter-spacing: .08em; text-transform: uppercase; }
.screen__seg { display: flex; background: #E1E8F2; border-radius: 10px; padding: 3px; }
.screen__seg > * { flex: 1; text-align: center; padding: 6px 0; border-radius: 8px; font-weight: 600; color: #56637A; }
.screen__seg b { background: #fff; color: #1B6CC2; box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.screen__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.screen__chips > * { padding: 6px 10px; border-radius: 999px; background: #fff; font-weight: 600; color: #56637A; }
.screen__chips b { background: #1B6CC2; color: #fff; }
.screen__btn { margin-top: auto; text-align: center; padding: 12px; border-radius: 999px; color: #fff; font-weight: 600; background: linear-gradient(180deg, #2B86DD, #1A5DB0); }

.screen--scan { background: radial-gradient(120% 80% at 50% 30%, #23406f, #0E1B33); padding: 0; }
.screen__room { position: absolute; left: 6%; right: 6%; top: 24%; width: 88%; }
.screen__room * { fill: rgba(77, 168, 245, .1); stroke: #4DA8F5; stroke-width: 4; stroke-linejoin: round; }
.screen__room polyline, .screen__room line { fill: none; }
.screen__sweep { position: absolute; left: 0; right: 0; height: 90px; top: 10%; background: linear-gradient(180deg, transparent, rgba(77, 168, 245, .28) 85%, #4DA8F5 100%); animation: sweep 2.6s ease-in-out infinite alternate; }
@keyframes sweep { to { top: 62%; } }
.screen__finder { position: absolute; inset: 18% 10% 30%; border-radius: 6px;
    background:
        linear-gradient(#4DA8F5, #4DA8F5) 0 0 / 22px 3px, linear-gradient(#4DA8F5, #4DA8F5) 0 0 / 3px 22px,
        linear-gradient(#4DA8F5, #4DA8F5) 100% 0 / 22px 3px, linear-gradient(#4DA8F5, #4DA8F5) 100% 0 / 3px 22px,
        linear-gradient(#4DA8F5, #4DA8F5) 0 100% / 22px 3px, linear-gradient(#4DA8F5, #4DA8F5) 0 100% / 3px 22px,
        linear-gradient(#4DA8F5, #4DA8F5) 100% 100% / 22px 3px, linear-gradient(#4DA8F5, #4DA8F5) 100% 100% / 3px 22px;
    background-repeat: no-repeat;
}
.screen__tip { position: absolute; left: 50%; top: 9%; transform: translateX(-50%); white-space: nowrap; background: rgba(255, 255, 255, .92); color: #13233F; font-weight: 600; padding: 7px 12px; border-radius: 999px; }
.screen__done { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); width: 64px; height: 64px; border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; color: #fff; font-weight: 700; background: rgba(255, 255, 255, .15); }

.screen__paper { background: #fff; border-radius: 10px; padding: 12px; display: grid; gap: 6px; box-shadow: 0 10px 24px -14px rgba(19, 35, 63, .45); }
.screen__paper b { font: 800 14px 'Outfit', sans-serif; }
.screen__paper > div { display: flex; justify-content: space-between; border-bottom: 1px solid #E1E8F2; padding-bottom: 5px; font-variant-numeric: tabular-nums; }
.screen__paper .sum { border-bottom: 0; border-top: 1.5px solid #13233F; padding-top: 6px; font-weight: 700; }
.screen__paper small { color: #56637A; font-size: 10px; }
.screen__mini { height: 86px; border-radius: 6px; background: #EAF2FC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='70 0 420 390'%3E%3Cg fill='none' stroke='%231B6CC2' stroke-width='8' stroke-linejoin='round'%3E%3Cpolygon points='260,150 468.7,270.5 297.7,369.25 89,248.75'/%3E%3Cpolyline points='89,248.75 89,118.75 260,20 468.7,140.5 468.7,270.5'/%3E%3Cline x1='260' y1='20' x2='260' y2='150'/%3E%3C/g%3E%3C/svg%3E") center / auto 80% no-repeat; }
.screen__share { margin-top: auto; display: flex; gap: 8px; }
.screen__share > * { flex: 1; text-align: center; padding: 11px; border-radius: 999px; font-weight: 600; background: #E7F0FC; color: #1B6CC2; }
.screen__share b { background: linear-gradient(180deg, #2B86DD, #1A5DB0); color: #fff; }

/* Voraussetzungen */
.req { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 4vw, 2.6rem); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (min-width: 900px) { .req { grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; } }
.req h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: .9rem 0 1.1rem; }
.req__list { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; color: var(--soft); }
.req__list li { padding-left: 1.6rem; position: relative; }
.req__list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--signal); }
.req__list b { color: var(--text); font-weight: 600; }
.req__warn { background: var(--warn-bg); border-radius: 18px; padding: 1.3rem 1.4rem; }
.req__warn strong { color: var(--warn); display: flex; align-items: center; gap: .5rem; margin-bottom: .45rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.req__warn strong svg { width: 18px; height: 18px; }
.req__warn p { font-size: .98rem; }

/* Support */
.support { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 960px) { .support { grid-template-columns: .9fr 1.1fr; align-items: start; } .contact { position: sticky; top: calc(var(--head-h) + 24px); } }
.contact { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(150deg, var(--dark-1), var(--dark-2)); color: #EEF3FB; border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 2.6rem); box-shadow: var(--shadow-lg); }
.contact::after {
    content: ''; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; z-index: -1; opacity: .5;
    background:
        linear-gradient(rgba(95, 178, 255, .18) 1px, transparent 1px) 0 0 / 22px 22px,
        linear-gradient(90deg, rgba(95, 178, 255, .18) 1px, transparent 1px) 0 0 / 22px 22px;
    -webkit-mask-image: radial-gradient(circle, #000, transparent 70%); mask-image: radial-gradient(circle, #000, transparent 70%);
}
.contact h2 { color: #fff; margin: 1rem 0 1rem; font-size: clamp(2rem, 4vw, 2.8rem); }
.contact p { color: #B9C6DC; font-size: 1.05rem; }
.contact__mail {
    display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.6rem;
    font-weight: 600; color: #fff; text-decoration: none; font-size: 1.05rem;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
    padding: .9rem 1.3rem; border-radius: 999px; transition: background .25s, transform .25s var(--ease);
}
.contact__mail:hover { background: rgba(255, 255, 255, .15); transform: translateY(-2px); }
.contact__mail svg { width: 20px; height: 20px; color: #5FB2FF; }
.contact__mail .arrow { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.contact__mail:hover .arrow { transform: translate(3px, -3px); }

.faq h3 { margin-bottom: 1.1rem; font-size: 1.4rem; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer; padding: 1.25rem .2rem; font-weight: 600; font-size: 1.05rem;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: color .2s;
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ''; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
    background: var(--chip) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B6CC2' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
    transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq details[open] .faq__body { grid-template-rows: 1fr; }
.faq__body > p { overflow: hidden; color: var(--soft); padding: 0 .2rem; }
.faq details[open] .faq__body > p { padding-bottom: 1.3rem; }

/* Datenschutz */
.legal { display: grid; gap: 2rem; }
@media (min-width: 960px) { .legal { grid-template-columns: 1fr 2fr; gap: 4rem; } .legal__head { position: sticky; top: calc(var(--head-h) + 24px); align-self: start; } }
.legal__head h2, .legal__head h1 { margin: 1rem 0 .6rem; font-size: clamp(1.75rem, 4vw, 2.6rem); overflow-wrap: break-word; hyphens: auto; }
.legal__date { color: var(--soft); font-size: .95rem; }
.legal__body { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.legal__body h3 { font-size: 1.12rem; margin: 2rem 0 .6rem; }
.legal__body h3:first-child { margin-top: 0; }
.legal__body p, .legal__body li { color: var(--soft); }
.legal__body p + p, .legal__body p + ul, .legal__body ul + p { margin-top: .7rem; }
.legal__body ul { padding-left: 1.2rem; margin: .6rem 0 0; }
.legal__body li + li { margin-top: .5rem; }
.legal__body strong { color: var(--text); font-weight: 600; }
.legal__body address { font-style: normal; color: var(--soft); }
.legal__link { margin-top: 1.5rem; font-size: .95rem; }

/* Footer */
.foot { background: linear-gradient(160deg, var(--dark-1), var(--dark-2)); color: #B9C6DC; padding: clamp(3rem, 8vw, 5.5rem) 0 2.5rem; overflow: hidden; }
.foot__big { font: 800 clamp(2.6rem, 9vw, 7rem)/.95 'Outfit', sans-serif; letter-spacing: -.045em; color: #fff; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.foot__big span { color: #4DA8F5; }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.foot img { height: 32px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.foot a { color: #EEF3FB; text-decoration: none; font-size: .94rem; }
.foot nav a:hover { text-decoration: underline; }
.foot__copy { width: 100%; font-size: .88rem; }

/* Unterseite Datenschutz */
.page-top { padding: clamp(2rem, 5vw, 3.5rem) 0 1.5rem; }
.back { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; font-size: .95rem; }
.back svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.back:hover svg { transform: translateX(-3px); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .marquee__track { animation: none; }
    [data-reveal] { opacity: 1; transform: none; }
}
.legal__head .back { margin-bottom: 1.2rem; }
.foot__copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; }
.foot__by a { font-size: inherit; color: #EEF3FB; }
.foot__by a:hover { text-decoration: underline; }
.foot__by b { color: #e8562a; }
