/* ============================================================
   Office XXL – öffentliche Seiten (Startseite, Anmeldung, Registrierung)
   Neues Design, Oktober 2026. Schriften liegen in assets/fonts (kein Abruf bei Dritten).
   ============================================================ */

@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --ink: #0b1020;
    --ink-2: #131a31;
    --ink-3: #222b49;
    --paper: #f6f4ef;
    --paper-2: #eeebe3;
    --card: #ffffff;
    --text: #0b1020;
    --muted: #545d72;
    --dim: #8a91a3;
    --line: rgba(11, 16, 32, 0.09);
    --line-2: rgba(11, 16, 32, 0.17);
    --accent: #2747e6;
    --accent-2: #1b34b8;
    --accent-soft: rgba(39, 71, 230, 0.08);
    --ok: #0c8a5c;
    --ok-soft: rgba(12, 138, 92, 0.11);
    --grad: linear-gradient(115deg, #22d3ee 0%, #8b5cf6 52%, #f43f5e 100%);
    --r-sm: 10px;
    --r: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --shadow-1: 0 1px 2px rgba(11, 16, 32, 0.05), 0 4px 14px rgba(11, 16, 32, 0.05);
    --shadow-2: 0 2px 6px rgba(11, 16, 32, 0.05), 0 18px 50px rgba(11, 16, 32, 0.10);
    --shadow-3: 0 30px 80px rgba(11, 16, 32, 0.18);
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --serif: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
    --logo-scale: 1;
    --mobile-logo-scale: 1;
    --nav-h: 76px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }

body {
    font-family: var(--font);
    background: var(--paper);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'cv11', 'ss01';
}

img, svg, video { max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { left: 12px; }

/* Akzentwort in Überschriften (kommt aus den Seitentexten als <span class="gradient-text">) */
.gradient-text {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--accent);
    padding-right: 0.06em;
}

/* lange deutsche Wörter dürfen in Überschriften getrennt werden, statt aus dem Bildschirm zu laufen */
.hero-title, .section-title, .video-title, .cta-card h2, .feature-title, .flow-step h3, .plan-name { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Lesefortschritt ganz oben */
.scrollbar { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: var(--grad); z-index: 1200; pointer-events: none; }

/* ============ Knöpfe ============ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 20px; border-radius: 12px; border: 1px solid transparent;
    font: 600 15px/1.2 var(--font); letter-spacing: -0.005em; text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.btn svg { flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-lg { padding: 16px 26px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.btn-block { display: flex; width: 100%; }
.btn-ink, .btn-primary { background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 8px 22px rgba(11, 16, 32, 0.20); }
.btn-ink:hover, .btn-primary:hover { background: var(--ink-3); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 14px 30px rgba(11, 16, 32, 0.26); }
.btn-line, .btn-ghost, .btn-outline { background: rgba(255, 255, 255, 0.6); color: var(--ink); border-color: var(--line-2); }
.btn-line:hover, .btn-ghost:hover, .btn-outline:hover { background: #fff; border-color: var(--ink); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32); }

/* ============ Kopfleiste ============ */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
.navbar::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(246, 244, 239, 0.86); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.navbar.scrolled::before { opacity: 1; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 28px; min-height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: min-height 0.3s var(--ease); }
.navbar.scrolled .nav-container { min-height: 64px; }

.nav-logo { display: inline-flex; align-items: center; gap: calc(7px * var(--ls, 1)); text-decoration: none; color: var(--ink); flex: none; --ls: clamp(0.8, var(--logo-scale), 2.6); }
.logo-icon { width: calc(20px * var(--ls, 1)); height: calc(20px * var(--ls, 1)); flex: none; }
.logo-text { font-size: calc(14.5px * var(--ls, 1)); font-weight: 750; letter-spacing: -0.035em; line-height: 1; white-space: nowrap; }
.logo-xxl { margin-left: 0.14em; font-weight: 850; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > a { position: relative; padding: 9px 14px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s, background-color 0.2s; }
.nav-links > a:hover { color: var(--ink); background: rgba(11, 16, 32, 0.05); }
.nav-links > a.is-current { color: var(--ink); }
.nav-links > a.is-current::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--ink); }
.mobile-nav-actions { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-login { padding: 9px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; transition: background-color 0.2s; }
.nav-login:hover { background: rgba(11, 16, 32, 0.05); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255, 255, 255, 0.7); cursor: pointer; position: relative; flex: none; -webkit-tap-highlight-color: transparent; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.2s, top 0.3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ============ Einstieg (Hero) ============ */
.hero { position: relative; padding: calc(var(--nav-h) + 64px) 0 72px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(11, 16, 32, 0.13) 1px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 75% 70% at 70% 30%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse 75% 70% at 70% 30%, #000 0%, transparent 72%); }
.hero-bg::after { content: ''; position: absolute; width: 760px; height: 760px; right: -220px; top: -260px; border-radius: 50%; background: var(--grad); opacity: 0.13; filter: blur(90px); }
.hero-container { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }

.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); font-size: 13.5px; font-weight: 600; color: var(--ink-3); margin-bottom: 26px; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(12, 138, 92, 0.5); animation: puls 2.4s infinite; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(12, 138, 92, 0.45); } 70% { box-shadow: 0 0 0 9px rgba(12, 138, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(12, 138, 92, 0); } }

.hero-title { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; font-weight: 680; letter-spacing: -0.042em; color: var(--ink); margin-bottom: 24px; text-wrap: balance; }
.hero-title .gradient-text { font-size: 1.06em; letter-spacing: -0.02em; }
.hero-subtitle { font-size: clamp(17px, 1.45vw, 19.5px); line-height: 1.6; color: var(--muted); max-width: 33em; margin-bottom: 34px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }

.hero-stats { display: flex; align-items: stretch; gap: 28px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 560px; }
.stat { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.stat-number { font-size: 28px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.stat-divider { width: 1px; background: var(--line); flex: none; }

/* --- Die „lebende“ Rechnung --- */
.hero-visual { position: relative; }
.demo { position: relative; padding: 14px 26px 0 8px; }
.demo-sheet { position: relative; background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-3); padding: 26px 26px 22px; transform: rotate(-1.2deg); transform-origin: 60% 50%; transition: transform 0.9s var(--ease); min-height: 456px; }
.demo:hover .demo-sheet { transform: rotate(0deg); }
.demo-sheet::before { content: ''; position: absolute; left: 26px; right: 26px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
.demo-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.demo-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.demo-logo { width: 38px; height: 38px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; flex: none; }
.demo-logo svg { width: 20px; height: 20px; }
.demo-brand b { display: block; font-size: 14px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.demo-brand small { display: block; font-size: 11.5px; color: var(--dim); white-space: nowrap; }
.demo-meta { text-align: right; flex: none; }
.demo-kind { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.demo-nr { display: block; font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; margin-top: 2px; }
.demo-status { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: rgba(11, 16, 32, 0.06); color: var(--muted); transition: background-color 0.4s, color 0.4s; }
.demo-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.demo-status[data-status="gesendet"] { background: var(--accent-soft); color: var(--accent); }
.demo-status[data-status="bezahlt"] { background: var(--ok-soft); color: var(--ok); }
.demo-to { padding: 16px 0 14px; min-height: 66px; }
.demo-to small { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); margin-bottom: 3px; }
.demo-to b { font-size: 15px; font-weight: 650; letter-spacing: -0.01em; }
.demo-caret::after { content: ''; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.16em; background: var(--accent); animation: caret 0.9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.demo-th, .demo-row { display: grid; grid-template-columns: minmax(0, 1fr) 56px 82px 92px; gap: 10px; align-items: baseline; }
.demo-th { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.demo-th span:nth-child(n+2), .demo-row span:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.demo-rows { min-height: 132px; }
.demo-row { padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; color: var(--ink-3); opacity: 0; transform: translateY(8px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.demo-row.in { opacity: 1; transform: none; }
.demo-row span:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-row span:last-child { font-weight: 650; color: var(--ink); }
.demo-row .leer { opacity: 0; transition: opacity 0.35s; }
.demo-row .da { opacity: 1; }
.demo-sum { margin: 14px 0 0 auto; width: min(100%, 250px); font-size: 13.5px; }
.demo-sum div { display: flex; justify-content: space-between; padding: 5px 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.demo-sum b { font-weight: 600; color: var(--ink); }
.demo-sum .demo-total { margin-top: 6px; padding-top: 11px; border-top: 1.5px solid var(--ink); color: var(--ink); font-weight: 700; font-size: 15.5px; }
.demo-sum .demo-total b { font-weight: 750; letter-spacing: -0.02em; }
.demo-stamp { position: absolute; left: 34px; bottom: 58px; padding: 7px 16px 6px; border: 2.5px solid var(--ok); border-radius: 10px; color: var(--ok); font-size: 17px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; transform: rotate(-9deg) scale(1.6); opacity: 0; pointer-events: none; }
.demo-stamp.in { animation: stempel 0.5s var(--ease) forwards; }
@keyframes stempel { 0% { opacity: 0; transform: rotate(-9deg) scale(1.9); } 60% { opacity: 1; transform: rotate(-9deg) scale(0.94); } 100% { opacity: 0.92; transform: rotate(-9deg) scale(1); } }
.demo-toast { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-2); opacity: 0; transform: translateY(14px) scale(0.96); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); pointer-events: none; white-space: nowrap; }
.demo-toast.in { opacity: 1; transform: none; }
.demo-toast i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; font-style: normal; }
.demo-toast b { display: block; font-size: 13.5px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.demo-toast small { display: block; font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.demo-toast-1 { right: -8px; top: 126px; }
.demo-toast-1 i { background: var(--accent-soft); color: var(--accent); }
.demo-toast-2 { right: -8px; top: 126px; }
.demo-toast-2 i { background: var(--ok-soft); color: var(--ok); }
.demo-steps { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.demo-steps span { position: relative; padding: 6px 13px 6px 26px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--dim); background: rgba(11, 16, 32, 0.04); transition: color 0.4s, background-color 0.4s; }
.demo-steps span::before { content: ''; position: absolute; left: 11px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.demo-steps span.on { color: var(--ink); background: #fff; box-shadow: var(--shadow-1); }
.demo-steps span.on::before { opacity: 1; background: var(--accent); }
.demo-steps span.done::before { opacity: 1; background: var(--ok); }

/* ============ Branchen-Zeile ============ */
.trusted { padding: 6px 0 34px; }
.trusted .container { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 26px; padding-top: 30px; padding-bottom: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trusted-label { font-size: 13.5px; font-weight: 600; color: var(--dim); }
.trusted-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.trusted-logo { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-3); }
.trusted-logo::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

/* ============ Abschnitte allgemein ============ */
section { position: relative; }
.features, .workflow, .pricing, .faq, .video-section { padding: 104px 0; }
.section-header { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section-badge, .video-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.section-title, .video-title { font-size: clamp(31px, 3.7vw, 50px); line-height: 1.07; font-weight: 680; letter-spacing: -0.038em; color: var(--ink); text-wrap: balance; }
.section-title .gradient-text, .video-title .gradient-text { font-size: 1.06em; }
.section-subtitle, .video-subtitle { margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* ============ Funktionen ============ */
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px 28px; overflow: hidden; transition: opacity 0.8s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s; }
.feature-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(39, 71, 230, 0.07), transparent 60%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.feature-card:hover::after { opacity: 1; }
.feature-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); color: var(--ink); margin-bottom: 22px; transition: background-color 0.35s, color 0.35s, transform 0.45s var(--ease), border-color 0.35s; }
.feature-icon svg { width: 23px; height: 23px; }
.feature-card:hover .feature-icon { background: var(--ink); color: #fff; border-color: var(--ink); transform: rotate(-6deg) scale(1.06); }
.feature-title { font-size: 18.5px; font-weight: 680; letter-spacing: -0.022em; line-height: 1.25; margin-bottom: 9px; color: var(--ink); }
.feature-desc { font-size: 15px; line-height: 1.62; color: var(--muted); }
.feature-nr { position: absolute; top: 26px; right: 26px; font-size: 12px; font-weight: 600; color: var(--dim); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

/* ============ So funktioniert's ============ */
.workflow { background: var(--ink); color: #fff; border-radius: var(--r-xl); margin: 0 14px; overflow: hidden; }
.workflow::before { content: ''; position: absolute; width: 620px; height: 620px; left: -200px; bottom: -330px; border-radius: 50%; background: var(--grad); opacity: 0.20; filter: blur(110px); pointer-events: none; }
.workflow .section-header { margin-bottom: 54px; }
.workflow .section-badge { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.14); color: #cbd5ff; }
.workflow .section-title { color: #fff; }
.workflow .gradient-text, .cta-card .gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.flow { position: relative; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 44px; align-items: stretch; }
.flow-steps { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.flow-step { position: relative; display: flex; gap: 18px; padding: 22px 22px 24px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.09); background: rgba(255, 255, 255, 0.025); cursor: pointer; overflow: hidden; transition: background-color 0.35s, border-color 0.35s, transform 0.35s var(--ease); -webkit-tap-highlight-color: transparent; flex: 1; }
.flow-step:hover { background: rgba(255, 255, 255, 0.05); }
.flow-step.is-active { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); }
.flow-num { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.06); transition: background-color 0.35s, color 0.35s; }
.flow-step.is-active .flow-num { background: #fff; color: var(--ink); }
.flow-step h3 { font-size: 18.5px; font-weight: 660; letter-spacing: -0.022em; line-height: 1.3; margin-bottom: 6px; color: rgba(255, 255, 255, 0.72); transition: color 0.35s; }
.flow-step.is-active h3 { color: #fff; }
.flow-step p { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.5); transition: color 0.35s; }
.flow-step.is-active p { color: rgba(255, 255, 255, 0.76); }
.flow-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; }
.flow-step.is-active .flow-bar { animation: laufzeit var(--dauer, 6s) linear forwards; }
.flow.is-paused .flow-step.is-active .flow-bar { animation-play-state: paused; }
@keyframes laufzeit { to { transform: scaleX(1); } }

.flow-stage { position: relative; border-radius: 24px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03)); border: 1px solid rgba(255, 255, 255, 0.12); min-height: 430px; overflow: hidden; }
.flow-scene { position: absolute; inset: 0; padding: 34px; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.985); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s 0.5s; }
.flow-scene.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.scene-card { width: min(100%, 430px); background: #fff; color: var(--ink); border-radius: 18px; padding: 24px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
.scene-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.scene-head b { font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em; }
.scene-head span { font-size: 12px; font-weight: 600; color: var(--dim); }
/* Die Animationen laufen nur in der sichtbaren Szene – beim Wechsel beginnen sie von vorn */
.flow-scene .anim { opacity: 0; }
.flow-scene.is-active .anim { animation: herein 0.55s var(--ease) forwards; animation-delay: var(--t, 0s); }
@keyframes herein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.feld { margin-bottom: 12px; }
.feld small { display: block; font-size: 11.5px; font-weight: 600; color: var(--dim); margin-bottom: 5px; }
.feld-box { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 13px; border-radius: 11px; border: 1px solid var(--line-2); background: #fbfaf7; font-size: 14.5px; font-weight: 600; overflow: hidden; }
.tipp { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; }
.flow-scene.is-active .tipp { animation: tippen var(--tz, 1.2s) steps(var(--n, 18)) forwards; animation-delay: var(--t, 0s); }
@keyframes tippen { to { width: calc(var(--n, 18) * 1ch + 0.4ch); } }
.feld-box .mono { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 13.5px; font-weight: 500; }
.haken { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; flex: none; transform: scale(0); }
.flow-scene.is-active .haken { animation: plopp 0.45s var(--ease) forwards; animation-delay: var(--t, 0s); }
@keyframes plopp { 0% { transform: scale(0); } 70% { transform: scale(1.18); } 100% { transform: scale(1); } }
.logo-drop { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 11px; border: 1.5px dashed var(--line-2); background: #fbfaf7; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.logo-drop i { width: 34px; height: 34px; border-radius: 9px; background: var(--ink); display: grid; place-items: center; flex: none; }
.scene-fertig { display: flex; align-items: center; gap: 9px; margin-top: 16px; padding: 11px 13px; border-radius: 11px; background: var(--ok-soft); color: var(--ok); font-size: 13.5px; font-weight: 700; }
.reiter { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.reiter span { padding: 6px 12px; border-radius: 9px; font-size: 12.5px; font-weight: 600; color: var(--muted); background: var(--paper); border: 1px solid var(--line); }
.reiter span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pos { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 11px 13px; border-radius: 11px; border: 1px solid var(--line); margin-bottom: 8px; font-size: 13.5px; }
.pos b { font-weight: 650; }
.pos em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.pos small { grid-column: 1 / -1; color: var(--dim); font-size: 12px; }
.pos-plus { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 11px; border: 1.5px dashed var(--line-2); font-size: 13px; font-weight: 600; color: var(--accent); }
.scene-summe { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1.5px solid var(--ink); font-size: 14px; font-weight: 600; }
.scene-summe b { font-size: 20px; font-weight: 750; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.versand { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center; }
.blatt { position: relative; aspect-ratio: 210 / 297; border-radius: 8px; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 10px 24px rgba(11, 16, 32, 0.12); padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; }
.blatt i { display: block; height: 5px; border-radius: 3px; background: rgba(11, 16, 32, 0.12); }
.blatt i.k { width: 45%; background: var(--ink); height: 7px; margin-bottom: 4px; }
.blatt i.h { width: 70%; } .blatt i.m { width: 88%; } .blatt i.s { width: 56%; }
.blatt u { position: absolute; right: -9px; bottom: 10px; padding: 3px 7px; border-radius: 6px; background: #e5484d; color: #fff; font-size: 10px; font-weight: 800; text-decoration: none; letter-spacing: 0.04em; }
.wege { display: flex; flex-direction: column; gap: 8px; }
.weg { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 11px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.weg i { width: 30px; height: 30px; border-radius: 9px; background: var(--paper); display: grid; place-items: center; flex: none; color: var(--ink); }
.weg .haken { width: 20px; height: 20px; }

/* ============ Video ============ */
.video-section { text-align: center; }
.video-section-header { max-width: 760px; margin: 0 auto 44px; }
.video-player-wrapper { position: relative; max-width: 980px; margin: 0 auto; }
.video-glow { position: absolute; inset: 8% 6% -4%; background: var(--grad); filter: blur(70px); opacity: 0.22; border-radius: 40px; pointer-events: none; }
.video-frame { position: relative; border-radius: 22px; overflow: hidden; background: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--shadow-3); padding: 8px; }
.video-frame video { display: block; width: 100%; height: auto; border-radius: 15px; background: #000; aspect-ratio: 16 / 9; }
.video-ton { position: absolute; left: 24px; top: 24px; z-index: 2; display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px 11px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(11, 16, 32, 0.74); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-family: inherit; font-size: 14.5px; font-weight: 650; line-height: 1; cursor: pointer; box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35); transition: transform 0.18s ease, background 0.18s ease; }
.video-ton:hover { background: rgba(11, 16, 32, 0.9); transform: translateY(-1px); }
.video-ton[hidden] { display: none; }

/* ============ Preise ============ */
.pricing { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.55) 30%, rgba(255, 255, 255, 0.55) 70%, transparent); }
.pricing .section-header { margin-bottom: 34px; }
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 48px; }
.toggle-label { font-size: 15px; font-weight: 600; color: var(--dim); transition: color 0.25s; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.toggle-label.active { color: var(--ink); }
.save-badge { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: 12px; font-weight: 700; }
.toggle-switch { position: relative; width: 54px; height: 30px; border-radius: 999px; border: none; background: var(--ink); cursor: pointer; flex: none; -webkit-tap-highlight-color: transparent; }
.toggle-knob { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 0.35s var(--ease); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); }
.toggle-switch.active .toggle-knob { transform: translateX(24px); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.pricing-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px 28px; transition: opacity 0.8s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.pricing-card.featured { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-3); }
.pricing-card.featured::before { content: ''; position: absolute; left: 28px; right: 28px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
.featured-badge { position: absolute; top: 22px; right: 22px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.18); font-size: 12px; font-weight: 700; color: #fff; }
.plan-name { font-size: 20px; font-weight: 700; letter-spacing: -0.025em; }
.plan-desc { margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.featured .plan-desc { color: rgba(255, 255, 255, 0.62); }
.pricing-card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 9px; margin: 26px 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.featured .pricing-card-price { border-bottom-color: rgba(255, 255, 255, 0.14); }
.price-amount { font-size: 46px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; display: inline-block; }
.price-amount.wechsel { animation: preiswechsel 0.45s var(--ease); }
@keyframes preiswechsel { 0% { opacity: 0; transform: translateY(12px); } 100% { opacity: 1; transform: none; } }
.price-period { font-size: 14.5px; color: var(--muted); font-weight: 500; }
.featured .price-period { color: rgba(255, 255, 255, 0.62); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; line-height: 1.45; color: var(--ink-3); }
.plan-features li svg { flex: none; margin-top: 2px; }
.plan-features li.excluded { color: var(--dim); }
.featured .plan-features li { color: rgba(255, 255, 255, 0.86); }
.featured .plan-features li.excluded { color: rgba(255, 255, 255, 0.4); }
.featured .btn-primary { background: #fff; color: var(--ink); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3); }
.featured .btn-primary:hover { background: #fff; box-shadow: 0 16px 38px rgba(0, 0, 0, 0.4); }

/* ============ Fragen ============ */
.faq-bg { display: none; }
.faq .container { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq .section-header { text-align: left; margin: 0; position: sticky; top: 110px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 18px; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.faq-item.open { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 21px 22px; background: none; border: none; cursor: pointer; text-align: left; font: 650 17px/1.35 var(--font); letter-spacing: -0.018em; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.faq-plus { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); flex: none; transition: background-color 0.3s, transform 0.4s var(--ease), border-color 0.3s; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform 0.4s var(--ease), background-color 0.3s; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item.open .faq-plus { background: var(--ink); border-color: var(--ink); transform: rotate(180deg); }
.faq-item.open .faq-plus::before, .faq-item.open .faq-plus::after { background: #fff; }
.faq-item.open .faq-plus::after { transform: rotate(0deg); }
.faq-answer-wrapper { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.faq-item.open .faq-answer-wrapper { grid-template-rows: 1fr; }
.faq-answer { overflow: hidden; min-height: 0; }
.faq-answer-inner { padding: 0 22px 22px; font-size: 15.5px; line-height: 1.68; color: var(--muted); max-width: 62ch; }

/* ============ Abschluss ============ */
.cta-section { padding: 30px 0 100px; }
.cta-card { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 78px 40px; text-align: center; }
.cta-bg-effect { position: absolute; inset: 0; pointer-events: none; }
.cta-bg-effect::before { content: ''; position: absolute; width: 560px; height: 560px; right: -160px; top: -300px; border-radius: 50%; background: var(--grad); opacity: 0.32; filter: blur(100px); }
.cta-bg-effect::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 55%); mask-image: linear-gradient(180deg, transparent, #000 55%); opacity: 0.6; }
.cta-card h2 { position: relative; font-size: clamp(30px, 3.9vw, 50px); line-height: 1.08; font-weight: 680; letter-spacing: -0.038em; max-width: 17em; margin: 0 auto 16px; text-wrap: balance; }
.cta-card p { position: relative; font-size: 18px; color: rgba(255, 255, 255, 0.72); max-width: 36em; margin: 0 auto 34px; text-wrap: pretty; }
.cta-actions { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ============ Fußbereich ============ */
.footer { border-top: 1px solid var(--line); padding: 64px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .nav-logo { --ls: 1.35; margin-bottom: 16px; }
.footer-desc { font-size: 15px; color: var(--muted); max-width: 30em; line-height: 1.6; }
.footer-links h4 { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.footer-links a { display: block; width: fit-content; padding: 5px 0; font-size: 15px; color: var(--ink-3); text-decoration: none; transition: color 0.2s, transform 0.25s var(--ease); }
.footer-links a:hover { color: var(--accent); transform: translateX(3px); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); }

/* ============ Rechtstexte (Fenster) ============ */
.legal-modal-overlay { position: fixed; inset: 0; z-index: 1500; background: rgba(11, 16, 32, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s 0.3s; }
.legal-modal-overlay.active { opacity: 1; visibility: visible; transition: opacity 0.3s; }
.legal-modal-box { position: fixed; z-index: 1600; left: 50%; top: 50%; width: min(820px, calc(100vw - 28px)); max-height: min(84vh, 900px); overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; background: #fff; color: var(--ink); border-radius: 22px; padding: 44px 44px 36px; box-shadow: var(--shadow-3); opacity: 0; visibility: hidden; transform: translate(-50%, -46%) scale(0.98); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s 0.3s; }
.legal-modal-box.active { opacity: 1; visibility: visible; transform: translate(-50%, -50%); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.modal-close { position: sticky; top: 0; float: right; margin: -22px -22px 0 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink); transition: background-color 0.2s, transform 0.3s var(--ease); z-index: 2; }
.modal-close:hover { background: var(--paper-2); transform: rotate(90deg); }
.modal-content { font-size: 15.5px; line-height: 1.7; color: var(--ink-3); overflow-wrap: anywhere; }
.modal-content h1, .modal-content h2 { font-size: 27px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; color: var(--ink); margin-bottom: 18px; }
.modal-content h3, .modal-content h4 { font-size: 17.5px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); margin: 22px 0 8px; }
.modal-content p { margin-bottom: 14px; }
.modal-content ul, .modal-content ol { margin: 0 0 14px 22px; }
.modal-content li { margin-bottom: 6px; }
.modal-content a { color: var(--accent); }

/* ============ Nach-oben-Knopf ============ */
#scrollTopBtn { position: fixed; bottom: 24px; right: 24px; z-index: 900; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-1); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.2s; -webkit-tap-highlight-color: transparent; }
#scrollTopBtn.visible { opacity: 1; transform: none; pointer-events: auto; }
#scrollTopBtn:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }

/* ============ Kleinere Bildschirme ============ */
@media (max-width: 1100px) {
    .hero-container { grid-template-columns: minmax(0, 1fr); gap: 54px; }
    .hero-content { max-width: 720px; }
    .hero-visual { max-width: 640px; width: 100%; margin: 0 auto; }
    .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pricing-card.featured { order: -1; grid-column: 1 / -1; }
    .flow { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .faq .container { grid-template-columns: minmax(0, 1fr); gap: 34px; }
    .faq .section-header { position: static; }
}

@media (max-width: 900px) {
    :root { --nav-h: 66px; }
    html { scroll-padding-top: 76px; }
    .container, .nav-container, .hero-container { padding-left: 20px; padding-right: 20px; }
    .nav-logo { --ls: clamp(0.8, var(--mobile-logo-scale), 2.4); gap: calc(6px * var(--ls, 1)); }
    .logo-icon { width: calc(17px * var(--ls, 1)); height: calc(17px * var(--ls, 1)); }
    .logo-text { font-size: calc(13px * var(--ls, 1)); }
    .footer .nav-logo { --ls: 1.35; }
    .nav-actions { display: none; }
    .nav-toggle { display: block; }
    .navbar::before { opacity: 1; background: rgba(246, 244, 239, 0.92); }
    .nav-links { position: fixed; left: 0; right: 0; top: var(--nav-h); bottom: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 22px 20px calc(28px + env(safe-area-inset-bottom)); background: rgba(11, 16, 32, 0.98); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s 0.3s; }
    .nav-links.active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
    .nav-links > a { color: rgba(255, 255, 255, 0.82); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; padding: 15px 12px; border-radius: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
    .nav-links > a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
    .nav-links > a.is-current::after { display: none; }
    .mobile-nav-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
    .mobile-nav-actions a { display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 14px; text-decoration: none; font-size: 17px; font-weight: 650; }
    .mobile-nav-actions .nav-login { color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); background: none; }
    .mobile-nav-actions .nav-cta { background: #fff; color: var(--ink); }
    body.menu-offen { overflow: hidden; }

    .hero { padding: calc(var(--nav-h) + 34px) 0 54px; }
    .hero-bg::after { width: 460px; height: 460px; right: -200px; top: -180px; }
    .hero-title { margin-bottom: 18px; }
    .hero-subtitle { margin-bottom: 26px; }
    .hero-actions { margin-bottom: 34px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-stats { gap: 16px; max-width: none; }
    .stat { flex: 1; }
    .stat-number { font-size: 23px; }
    .stat-label { font-size: 12.5px; }
    .demo { padding: 8px 0 0; }
    .demo-sheet { transform: none; padding: 20px 18px 18px; min-height: 0; border-radius: 16px; }
    .demo-sheet::before { left: 18px; right: 18px; }
    .demo-brand small { display: none; }
    .demo-th, .demo-row { grid-template-columns: minmax(0, 1fr) 38px 64px 78px; gap: 8px; }
    .demo-row { font-size: 12.5px; }
    .demo-toast-1, .demo-toast-2 { right: -6px; top: 104px; }
    .demo-stamp { left: 18px; bottom: 54px; font-size: 12.5px; padding: 6px 11px 5px; letter-spacing: 0.1em; }
    .demo-sum { width: min(100%, 196px); }

    .features, .workflow, .pricing, .faq, .video-section { padding: 68px 0; }
    .section-header { margin-bottom: 38px; }
    .section-subtitle, .video-subtitle { font-size: 16.5px; }
    .features-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .feature-card { padding: 24px 22px; border-radius: 20px; display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; }
    .feature-icon { margin-bottom: 0; grid-row: 1 / span 2; }
    .feature-title { font-size: 17.5px; margin-bottom: 6px; padding-right: 26px; }
    .feature-desc { grid-column: 2; }
    .feature-nr { top: 22px; right: 20px; }
    .workflow { margin: 0 8px; border-radius: 26px; }
    .flow-step { padding: 18px 16px 20px; gap: 14px; }
    .flow-stage { min-height: 400px; }
    .flow-scene { padding: 18px; }
    .scene-card { padding: 20px 18px; }
    .versand { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; }
    .pricing-grid { grid-template-columns: minmax(0, 1fr); }
    .pricing-card { padding: 28px 22px 24px; }
    .price-amount { font-size: 42px; }
    .faq-question { padding: 18px 18px; font-size: 16px; }
    .faq-answer-inner { padding: 0 18px 20px; }
    .cta-section { padding: 10px 0 68px; }
    .cta-card { padding: 54px 24px; border-radius: 26px; }
    .cta-card p { font-size: 16.5px; }
    .cta-actions .btn { width: 100%; }
    .footer { padding: 48px 0 calc(28px + env(safe-area-inset-bottom)); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
    .footer-brand { grid-column: 1 / -1; }
    .legal-modal-box { padding: 30px 22px 26px; border-radius: 20px; max-height: 88vh; }
    .modal-close { margin: -12px -8px 0 10px; }
    .modal-content h1, .modal-content h2 { font-size: 23px; }
    #scrollTopBtn { bottom: calc(18px + env(safe-area-inset-bottom)); right: 16px; }
}

@media (max-width: 420px) {
    .section-title, .video-title { font-size: 28px; }
    .cta-card h2 { font-size: 27px; }
    .hero-stats { flex-wrap: wrap; }
    .stat-divider:nth-of-type(4) { display: none; }
    .hero-stats .stat:last-child { flex: 1 1 100%; padding-top: 14px; border-top: 1px solid var(--line); }
    .demo-brand b { font-size: 13px; }
    .demo-kind { font-size: 17px; }
    .demo-toast { padding: 10px 13px 10px 10px; }
    .demo-steps span { padding: 6px 10px 6px 23px; font-size: 12px; }
    .demo-steps span::before { left: 9px; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* Wer Bewegung am Gerät abgeschaltet hat, bekommt eine ruhige Seite */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; transition-duration: 0.001s !important; transition-delay: 0s !important; }
    .reveal { opacity: 1; transform: none; }
    .flow-step.is-active .flow-bar { animation: none; transform: scaleX(1); }
    .tipp { width: auto; }
}

@media print {
    .navbar, .scrollbar, #scrollTopBtn, .hero-visual, .video-section, .nav-toggle { display: none !important; }
    body { background: #fff; }
    .reveal { opacity: 1 !important; transform: none !important; }
}
