/* =====================================================================
   AI Cowork – Landingpage
   Premium-Dark-Theme, abgeleitet von der Markenpalette peter-krause.net
   (Slate #22272F, warmer Gold/Creme-Akzent, Slate-Blau #516278).
   Mobile-first. Keine externen Frameworks.
   ===================================================================== */

/* ---------- Design-Tokens ------------------------------------------- */
:root {
    /* Flaechen */
    --bg: #20252c;
    --bg-deep: #161a20;
    --surface: #272d36;
    --surface-2: #2f3742;
    --surface-3: #39424f;
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);

    /* Text */
    --text: #ffffff;
    --text-muted: #aab2bd;
    --text-dim: #7f8893;

    /* Akzent (warmes Gold/Creme aus der Marke) */
    --gold: #d8c074;
    --gold-strong: #e7d58a;
    --cream: #fdf9cf;
    --slate-blue: #6f88a6;
    --success: #6fbf8b;

    /* Effekte */
    --glow: 0 0 0 1px var(--border), 0 20px 60px -20px rgba(0, 0, 0, 0.65);
    --glow-gold: 0 14px 40px -12px rgba(216, 192, 116, 0.45);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --maxw: 1180px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

    --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset / Base -------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    padding-top: 72px;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    line-height: 1.12;
    margin: 0 0 0.5em;
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    margin: 0 0 1rem;
}

a {
    color: var(--gold-strong);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img,
svg {
    max-width: 100%;
    display: block;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

/* ---------- Layout-Primitive ---------------------------------------- */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 22px;
}

.section {
    padding: 84px 0;
    position: relative;
    overflow: clip;
}

.section--alt {
    background: var(--bg-deep);
}

.section__head {
    max-width: 720px;
    margin: 0 auto 52px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.eyebrow--warn { color: #e89a6c; }

/* ---------- Dringlichkeit / Urgency -------------------------------- */
.urgency__inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.urgency__split {
    display: grid;
    gap: 16px;
    margin: 30px 0 24px;
    text-align: left;
}

@media (min-width: 640px) {
    .urgency__split { grid-template-columns: 1fr 1fr; }
}

.urgency__col {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 24px;
    background: var(--surface);
}

.urgency__col--bad {
    border-color: rgba(224, 108, 108, 0.3);
    background: linear-gradient(170deg, rgba(224, 108, 108, 0.08), var(--surface));
}

.urgency__col--good {
    border-color: rgba(216, 192, 116, 0.34);
    background: linear-gradient(170deg, rgba(216, 192, 116, 0.1), var(--surface));
}

.urgency__label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.02rem;
    margin-bottom: 14px;
}

.urgency__label svg { width: 18px; height: 18px; flex: none; }
.urgency__col--bad .urgency__label { color: #e89a6c; }
.urgency__col--good .urgency__label { color: var(--gold-strong); }

.urgency__col ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.urgency__col li {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding-left: 16px;
    position: relative;
}

.urgency__col li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-dim);
}

.urgency__col--good li::before { background: var(--gold); }

.urgency__kicker {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text);
    max-width: 620px;
    margin: 0 auto 24px;
}

.section h2 {
    font-size: clamp(1.7rem, 1rem + 2.6vw, 2.6rem);
}

.lead {
    color: var(--text-muted);
    font-size: 1.12rem;
}

.text-gold {
    color: var(--gold-strong);
}

/* ---------- Buttons ------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    padding: 15px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease),
        background 0.25s var(--ease), border-color 0.25s var(--ease);
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--gold-strong), var(--gold));
    color: #1c1a10;
    box-shadow: var(--glow-gold);
}

.btn--primary:hover {
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 18px 48px -10px rgba(216, 192, 116, 0.6);
}

.btn--ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--gold);
    text-decoration: none;
    transform: translateY(-2px);
}

.btn--lg {
    padding: 18px 34px;
    font-size: 1.08rem;
}

.btn--block {
    width: 100%;
}

/* ---------- Header -------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--bg);
    transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease),
        border-color 0.3s var(--ease);
    border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
    background: rgba(22, 26, 32, 0.85);
    backdrop-filter: blur(12px);
    border-bottom-color: var(--border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--text);
}

.brand:hover {
    text-decoration: none;
}

.brand__logo {
    display: block;
    height: 28px;
    width: auto;
    max-width: min(164px, 42vw);
    flex: none;
}

@media (min-width: 720px) {
    .brand__logo {
        height: 32px;
    }
}

.footer-brand .brand__logo {
    height: 30px;
}

.site-header__cta {
    display: inline-flex;
    font-size: 0.85rem;
    padding: 8px 14px;
}

@media (min-width: 720px) {
    .site-header__cta {
        font-size: 0.9rem;
        padding: 10px 18px;
    }
}

/* ---------- Hero ---------------------------------------------------- */
.hero {
    position: relative;
    padding: 56px 0 72px;
    overflow: clip;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -20% 30% auto -10%;
    height: 560px;
    background: radial-gradient(
        50% 50% at 50% 50%,
        rgba(216, 192, 116, 0.18),
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 10% -15% auto auto;
    width: 520px;
    height: 520px;
    background: radial-gradient(
        50% 50% at 50% 50%,
        rgba(111, 136, 166, 0.18),
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 960px) {
    .hero__grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 56px;
    }
}

.hero__title {
    font-size: clamp(1.9rem, 0.9rem + 4vw, 3.2rem);
}

.hero__sub {
    font-size: 1.18rem;
    color: var(--text-muted);
    max-width: 36ch;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 20px;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: var(--text-dim);
    font-size: 0.92rem;
}

.hero__trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero__trust svg {
    color: var(--gold);
    flex: none;
}

/* ---------- Tag/Pill ------------------------------------------------ */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 22px;
    text-align: center;
    line-height: 1.5;
}

.pill__br { display: none; }

@media (max-width: 520px) {
    .pill__br { display: block; }
    .pill {
        display: flex;
        width: 100%;
        border-radius: 14px;
        padding: 10px 18px;
        gap: 10px;
        text-align: left;
        line-height: 1.6;
    }
}

.pill__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(111, 191, 139, 0.18);
}

/* ---------- Hero-Demo: filigranes Fenster -------------------------- */
/* Rahmenlos: Animation laeuft transparent auf dem Hintergrund */
.demo {
    position: relative;
    max-width: 480px;
    margin-left: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

/* Buehne: Szenen liegen uebereinander */
.demo__stage {
    position: relative;
    background: transparent;
    padding: 0;
    min-height: 420px;
}

.demo-scene {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
        visibility 0s linear 0.4s;
}

.demo-scene.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.pill-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--surface-3);
    border-radius: 999px;
    padding: 2px 8px;
}

.pill-tag--due {
    color: #e8a088;
    background: rgba(224, 108, 108, 0.14);
}

/* --- Szene 1: Chat --- */
.chatline {
    display: flex;
    gap: 8px;
}

.chatline--user { justify-content: flex-end; }

.cl-ava {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    flex: none;
    display: grid;
    place-items: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.66rem;
    color: #1c1a10;
    background: linear-gradient(135deg, var(--gold-strong), var(--gold));
}

.cl-bubble {
    max-width: 82%;
    padding: 10px 12px;
    border-radius: 13px;
    font-size: 0.84rem;
    line-height: 1.5;
}

.chatline--user .cl-bubble {
    background: var(--surface-3);
    color: var(--text);
    border-bottom-right-radius: 4px;
}

.chatline--bot .cl-bubble {
    background: linear-gradient(135deg, rgba(216, 192, 116, 0.16), rgba(216, 192, 116, 0.05));
    border: 1px solid rgba(216, 192, 116, 0.24);
    color: var(--text);
    border-bottom-left-radius: 4px;
}

.cl-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 7px;
    font-size: 0.72rem;
    color: var(--text-dim);
}

.chatbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    padding: 7px 7px 7px 14px;
}

.chatbar__text {
    flex: 1;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.chatbar__send {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex: none;
    display: grid;
    place-items: center;
    color: #1c1a10;
    background: linear-gradient(135deg, var(--gold-strong), var(--gold));
}

.chatbar__send .chev { transform: rotate(-90deg); }
.chatbar__send svg { width: 15px; height: 15px; }

.chatbar__mic {
    flex: none;
    display: inline-flex;
    color: var(--gold-strong);
}

.chatbar__mic svg { width: 16px; height: 16px; }

/* Sprachnachricht */
.cl-bubble--voice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
}

.cl-play {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex: none;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.cl-play::before {
    content: "";
    border-left: 7px solid currentColor;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    margin-left: 2px;
}

.cl-wave {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 18px;
}

.cl-wave i {
    width: 2px;
    height: 40%;
    border-radius: 2px;
    background: currentColor;
    opacity: 0.5;
}

.cl-wave i:nth-child(3n) { height: 80%; }
.cl-wave i:nth-child(3n + 1) { height: 55%; }
.cl-wave i:nth-child(4n) { height: 95%; }

.demo-scene.is-active .cl-wave i {
    animation: clWave 1.1s ease-in-out infinite;
}

.cl-wave i:nth-child(2n) { animation-delay: 0.15s; }
.cl-wave i:nth-child(3n) { animation-delay: 0.3s; }
.cl-wave i:nth-child(4n) { animation-delay: 0.45s; }

@keyframes clWave {
    0%, 100% { transform: scaleY(0.6); }
    50% { transform: scaleY(1.25); }
}

.cl-dur {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: var(--text-dim);
    white-space: nowrap;
}

.cl-dur svg { width: 12px; height: 12px; }

/* Transkript der Spracheingabe */
.cl-trans {
    align-self: flex-end;
    max-width: 82%;
    text-align: right;
    margin-top: -3px;
    font-size: 0.74rem;
    font-style: italic;
    color: var(--text-dim);
}

/* --- Szene 2: Autonome Queue --- */
.queue__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.queue__rule {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 500;
}

.queue__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    flex: none;
    animation: demoPulse 1.6s ease-in-out infinite;
}

@keyframes demoPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(111, 191, 139, 0.5); }
    50% { box-shadow: 0 0 0 5px rgba(111, 191, 139, 0); }
}

.queue__count {
    flex: none;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold-strong);
    background: rgba(216, 192, 116, 0.12);
    border-radius: 999px;
    padding: 3px 9px;
}

.queue__progress {
    height: 4px;
    border-radius: 999px;
    background: var(--surface-3);
    overflow: hidden;
}

.queue__progress i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), var(--gold-strong));
}

.demo-scene.is-active .queue__progress i {
    animation: queueFill 5s var(--ease) 0.4s forwards;
}

@keyframes queueFill {
    from { width: 0; }
    to { width: 100%; }
}

.queue {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 2px;
}

.qitem {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 11px;
}

.qstat {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex: none;
    border: 2px solid var(--surface-3);
    background: transparent;
    display: grid;
    place-items: center;
}

.qcheck {
    display: grid;
    place-items: center;
    color: #10241a;
    opacity: 0;
    transform: scale(0.5);
}

.qcheck svg { width: 12px; height: 12px; }

.qtitle {
    flex: 1;
    font-size: 0.84rem;
    color: var(--text);
}

.qtime {
    position: relative;
    flex: none;
    font-size: 0.7rem;
    color: var(--text-dim);
}

.qt-done {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    color: var(--success);
    white-space: nowrap;
}

/* Szenen-Bausteine (Kopf, Balken, Liste, Chat) gestaffelt einblenden */
.demo-scene.is-active > * {
    opacity: 0;
    animation: demoIn 0.45s var(--ease) forwards;
}

.demo-scene.is-active > *:nth-child(1) { animation-delay: 0.08s; }
.demo-scene.is-active > *:nth-child(2) { animation-delay: 0.26s; }
.demo-scene.is-active > *:nth-child(3) { animation-delay: 0.44s; }
.demo-scene.is-active > *:nth-child(4) { animation-delay: 0.62s; }
.demo-scene.is-active > *:nth-child(5) { animation-delay: 0.8s; }
.demo-scene.is-active > *:nth-child(6) { animation-delay: 0.98s; }
.demo-scene.is-active > *:nth-child(7) { animation-delay: 1.16s; }
.demo-scene.is-active > *:nth-child(8) { animation-delay: 1.34s; }

@keyframes demoIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

/* Autonome Abarbeitung: jede Aufgabe nacheinander erledigt (--d je Zeile) */
.demo-scene.is-active .qitem {
    animation: qRow 0.9s var(--ease) var(--d) forwards;
}

.demo-scene.is-active .qstat {
    animation: qProc 0.8s var(--ease) var(--d) forwards;
}

.demo-scene.is-active .qcheck {
    animation: qCheck 0.3s var(--ease) calc(var(--d) + 0.55s) forwards;
}

.demo-scene.is-active .qt-wait {
    animation: qFadeOut 0.25s var(--ease) calc(var(--d) + 0.55s) forwards;
}

.demo-scene.is-active .qt-done {
    animation: qFadeIn 0.25s var(--ease) calc(var(--d) + 0.55s) forwards;
}

@keyframes qProc {
    0% { border-color: var(--surface-3); background: transparent; }
    45% { border-color: var(--gold); background: transparent; }
    100% { border-color: transparent; background: var(--success); }
}

@keyframes qCheck {
    to { opacity: 1; transform: scale(1); }
}

@keyframes qFadeOut { to { opacity: 0; } }
@keyframes qFadeIn { to { opacity: 1; } }

@keyframes qRow {
    0% { border-color: var(--border); background: var(--surface); }
    45% {
        border-color: rgba(216, 192, 116, 0.34);
        background: linear-gradient(135deg, rgba(216, 192, 116, 0.1), var(--surface));
    }
    100% { border-color: var(--border); background: var(--surface); opacity: 0.72; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .hero { padding: 40px 0 50px; }
    .hero__grid { gap: 32px; }
    .hero__actions { margin: 20px 0 12px; }
}

@media (max-width: 520px) {
    body { padding-top: 64px; }
    
    .demo { 
        max-width: none; 
        margin: 0 auto;
        padding: 0 10px;
    }
    .section { padding: 50px 0; }
    .hero { padding: 32px 0 40px; }
    
    /* Formular an mobile Breite anpassen */
    .container {
        padding: 0 16px;
    }
    
    .form-card {
        padding: 16px 12px;
    }
    
    .field input,
    .field textarea {
        width: 85%;
        min-width: 0;
        padding: 11px 12px;
    }
    
    /* Logo-Wand mobile Optimierung */
    .logo-wall {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 12px;
        padding: 24px 16px;
    }
    
    .logo-wall__img {
        max-height: 32px;
    }
    
    /* Header mobile Anpassung */
    .site-header__inner {
        height: 64px;
    }
    
    .brand__logo {
        height: 28px;
        width: auto;
    }
    
    .site-header__cta {
        white-space: nowrap;
    }
    
    /* Button und Texte an mobile Breite anpassen */
    .btn--lg {
        padding: 14px 22px;
        font-size: 0.95rem;
    }
    
    .btn--block {
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }
    
    .form-consent {
        font-size: 0.82rem;
    }
    
    .form-card .addons-note,
    .form-card p {
        font-size: 0.82rem;
        word-break: break-word;
    }
}

@media (prefers-reduced-motion: reduce) {
    .demo-scene,
    .demo-scene.is-active > *,
    .demo-scene.is-active .qitem,
    .demo-scene.is-active .qstat,
    .demo-scene.is-active .cl-wave i {
        transition: none;
        animation: none;
        opacity: 1;
    }
    .queue__dot { animation: none; }
    .qitem { opacity: 0.72; }
    .qstat { border-color: transparent; background: var(--success); }
    .qcheck { opacity: 1; transform: none; }
    .qt-wait { opacity: 0; }
    .qt-done { opacity: 1; }
    .queue__progress i { width: 100%; }
}

/* ---------- Trustbar ------------------------------------------------ */
.trustbar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-deep);
}

.trustbar__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 40px;
    padding: 24px 0;
}

.trustbar__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.96rem;
}

.trustbar__item svg {
    color: var(--gold);
    flex: none;
}

/* ---------- Demo-Video ------------------------------------------------ */
.section--video {
    padding-top: 72px;
    padding-bottom: 72px;
    background:
        radial-gradient(55% 80% at 50% 0%, rgba(111, 136, 166, 0.12), transparent 70%),
        var(--bg);
}

.video-frame {
    max-width: 960px;
    margin: 0 auto;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-deep);
    box-shadow: var(--glow);
}

/* Seitenverhaeltnis der Quelldatei (3024x1812), nicht 16:9 */
.video-frame__media {
    aspect-ratio: 3024 / 1812;
    width: 100%;
    line-height: 0;
    background: var(--bg-deep);
}

.video-frame__player {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    vertical-align: middle;
    background: transparent;
}

.video-frame__caption {
    padding: 14px 20px;
    font-size: 0.88rem;
    color: var(--text-dim);
    text-align: center;
    border-top: 1px solid var(--border);
    margin: 0;
}

.video-cta {
    text-align: center;
    margin: 28px 0 0;
}

/* ---------- Karten-Raster generisch --------------------------------- */
.grid {
    display: grid;
    gap: 22px;
}

@media (min-width: 640px) {
    .grid--2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 920px) {
    .grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 560px) {
    .grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 920px) {
    .grid--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card {
    background: linear-gradient(170deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
        box-shadow 0.25s var(--ease);
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--glow);
}

/* Icon-Kacheln in Karten – groesser, einheitlich positioniert */
.problem-card,
.feature,
.extend {
    display: flex;
    flex-direction: column;
}

.card .icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin: 0 0 22px;
    flex-shrink: 0;
}

.card .icon svg {
    width: 32px;
    height: 32px;
}

/* ---------- Problem ------------------------------------------------- */
.problem-card {
    border-color: rgba(224, 108, 108, 0.18);
}

.problem-card .icon {
    background: rgba(224, 108, 108, 0.14);
    color: #e8a088;
    border: 1px solid rgba(224, 108, 108, 0.24);
}

/* ---------- Features ------------------------------------------------ */
.feature .icon {
    background: rgba(216, 192, 116, 0.14);
    color: var(--gold-strong);
    border: 1px solid rgba(216, 192, 116, 0.22);
}

.feature h3 {
    font-size: 1.22rem;
}

.feature p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.feature--highlight {
    border-color: rgba(216, 192, 116, 0.4);
    background: linear-gradient(170deg, rgba(216, 192, 116, 0.1), var(--surface-2));
}

.feature__tag {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.04em;
}

/* ---------- Steps --------------------------------------------------- */
.steps {
    counter-reset: step;
}

.step {
    position: relative;
    padding-top: 8px;
}

.step__num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.1rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #1c1a10;
    background: linear-gradient(135deg, var(--gold-strong), var(--gold));
    margin-bottom: 16px;
}

.step h3 {
    font-size: 1.18rem;
}

.step p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ---------- Testimonials -------------------------------------------- */
.quote {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.quote__stars {
    color: var(--gold);
    letter-spacing: 3px;
    font-size: 0.95rem;
}

.quote__text {
    font-size: 1.05rem;
    color: var(--text);
    margin: 0;
}

.quote__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.quote__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--slate-blue), var(--surface-3));
    display: grid;
    place-items: center;
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--text);
    flex: none;
}

.quote__name {
    font-weight: 600;
}

.quote__role {
    color: var(--text-dim);
    font-size: 0.86rem;
}

/* ---------- Kundenlogos (einfarbig) --------------------------------- */
.clients {
    margin-top: 64px;
    padding-top: 52px;
    border-top: 1px solid var(--border);
}

.clients__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 36px;
}

.clients__title {
    font-family: var(--font-head);
    font-size: clamp(1.25rem, 1rem + 1vw, 1.55rem);
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.clients__lead {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
}

.logo-wall {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    list-style: none;
    margin: 0;
    padding: 32px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

@media (min-width: 560px) {
    .logo-wall {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px 20px;
        padding: 36px 32px;
    }
}

.logo-wall__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.25s var(--ease);
}

.logo-wall__item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.logo-wall__img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 44px;
    height: auto;
    object-fit: contain;
    /* Einfarbig hell auf dunklem Hintergrund */
    filter: grayscale(100%) brightness(0) invert(1);
    opacity: 0.78;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.logo-wall__item:hover .logo-wall__img {
    opacity: 1;
    transform: scale(1.04);
}

@media (min-width: 920px) {
    .logo-wall__img {
        max-height: 48px;
    }
}

/* ---------- Extend -------------------------------------------------- */
.extend .icon {
    background: rgba(216, 192, 116, 0.12);
    color: var(--gold-strong);
    border: 1px solid rgba(216, 192, 116, 0.2);
}

.extend h3 {
    font-size: 1.15rem;
}

.extend p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ---------- Vergleich SaaS vs. Eigentum ----------------------------- */
.compare {
    display: grid;
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 720px) {
    .compare {
        grid-template-columns: 1fr 1fr;
    }
}

.compare__col {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    background: var(--surface);
}

.compare__col--muted {
    opacity: 0.86;
}

.compare__col--win {
    border-color: var(--gold);
    background: linear-gradient(170deg, rgba(216, 192, 116, 0.1), var(--surface-2));
    box-shadow: var(--glow-gold);
}

.compare__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.18rem;
    margin-bottom: 16px;
}

.compare__col--win .compare__title {
    color: var(--gold-strong);
}

.compare ul {
    display: grid;
    gap: 12px;
}

.compare li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.compare__col--muted svg {
    color: var(--text-dim);
    flex: none;
    margin-top: 3px;
}

.compare__col--win svg {
    color: var(--gold);
    flex: none;
    margin-top: 3px;
}

/* ---------- Nutzen / Outcomes --------------------------------------- */
.outcome h3 {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 1.12rem;
}

.outcome h3 svg {
    color: var(--gold);
    flex: none;
    margin-top: 3px;
}

.outcome p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ---------- Für wen / ICP-Fit --------------------------------------- */
.fit-grid {
    display: grid;
    gap: 22px;
    max-width: 940px;
    margin: 0 auto;
}

@media (min-width: 760px) {
    .fit-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.fit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.fit-list {
    display: grid;
    gap: 12px;
}

.fit-list li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.fit-list svg {
    color: var(--gold);
    flex: none;
    margin-top: 3px;
}

.fit-note {
    margin: 20px 0 0;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    display: inline-block;
    padding: 9px 15px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 500;
}

/* ---------- Pricing ------------------------------------------------- */
/* Vergleich: echter vs. virtueller Mitarbeiter */
.price-compare {
    display: grid;
    gap: 14px;
    align-items: stretch;
    max-width: 760px;
    margin: 0 auto 16px;
}

@media (min-width: 720px) {
    .price-compare {
        grid-template-columns: 1fr auto 1fr;
        gap: 18px;
    }
}

.pc-card {
    background: linear-gradient(175deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
}

.pc-card--accent {
    border-color: rgba(216, 192, 116, 0.4);
    background: linear-gradient(175deg, rgba(216, 192, 116, 0.1), var(--surface));
    box-shadow: var(--glow);
}

.pc-head {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
}

.pc-figure {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.9rem;
    margin: 8px 0 14px;
    color: var(--text-muted);
}

.pc-card--accent .pc-figure { color: var(--gold-strong); }

.pc-figure small {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dim);
}

.pc-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.pc-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.pc-list svg {
    width: 17px;
    height: 17px;
    flex: none;
    color: var(--gold-strong);
    margin-top: 1px;
}

.pc-vs {
    display: grid;
    place-items: center;
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--text-dim);
}

.pc-note {
    max-width: 680px;
    margin: 0 auto 26px;
    text-align: center;
    font-size: 0.98rem;
    color: var(--text-muted);
}

.price-grid {
    display: grid;
    gap: 22px;
    align-items: start;
}

@media (min-width: 920px) {
    .price-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.plan {
    background: linear-gradient(175deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
}

.plan--featured {
    border-color: var(--gold);
    box-shadow: var(--glow-gold);
    position: relative;
}

.plan__badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold-strong), var(--gold));
    color: #1c1a10;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
}

.plan__name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.plan__tagline {
    color: var(--text-dim);
    font-size: 0.92rem;
    min-height: 2.6em;
}

.plan__price {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2rem;
    margin: 14px 0 2px;
}

.plan__price small {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dim);
}

.plan__list {
    display: grid;
    gap: 11px;
    margin: 22px 0 26px;
}

.plan__list li {
    display: flex;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.96rem;
}

.plan__list svg {
    color: var(--gold);
    flex: none;
    margin-top: 4px;
}

.plan .btn {
    margin-top: auto;
}

.addons {
    margin-top: 26px;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* ---------- FAQ ----------------------------------------------------- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-q {
    list-style: none;
    text-align: left;
    color: var(--text);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.04rem;
    padding: 19px 22px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    cursor: pointer;
}

.faq-q::-webkit-details-marker {
    display: none;
}

.faq-q .chev {
    display: inline-flex;
    transition: transform 0.25s var(--ease);
    color: var(--gold);
    flex: none;
}

.faq-item[open] .chev {
    transform: rotate(180deg);
}

.faq-a__inner {
    padding: 0 22px 20px;
    color: var(--text-muted);
}

/* Anker-Offset wegen Sticky-Header */
section[id] {
    scroll-margin-top: 84px;
}

/* ---------- CTA + Formular ------------------------------------------ */
.cta-final {
    background:
        radial-gradient(60% 100% at 50% 0%, rgba(216, 192, 116, 0.12), transparent 70%),
        var(--bg-deep);
}

.form-card {
    max-width: 720px;
    margin: 0 auto;
    background: linear-gradient(170deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--glow);
}

.lead-form {
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    gap: 16px;
}

@media (min-width: 600px) {
    .form-row--2 {
        grid-template-columns: 1fr 1fr;
    }
}

.field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 7px;
    color: var(--text-muted);
}

.field input,
.field textarea {
    width: 100%;
    background: var(--bg-deep);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--text);
    font: inherit;
    padding: 13px 15px;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(216, 192, 116, 0.18);
}

.field textarea {
    resize: vertical;
    min-height: 110px;
}

/* Honeypot – fuer Menschen unsichtbar */
.hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-consent {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.form-consent input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    flex: none;
}

.form-status {
    border-radius: var(--radius-sm);
    padding: 13px 15px;
    font-size: 0.95rem;
    display: none;
}

.form-status.is-ok {
    display: block;
    background: rgba(111, 191, 139, 0.14);
    border: 1px solid rgba(111, 191, 139, 0.4);
    color: #bfe9cd;
}

.form-status.is-error {
    display: block;
    background: rgba(224, 108, 108, 0.14);
    border: 1px solid rgba(224, 108, 108, 0.4);
    color: #f0c2c2;
}

.form-hint {
    font-size: 0.82rem;
    color: var(--text-dim);
    text-align: center;
    margin: 0;
}

/* ---------- Footer -------------------------------------------------- */
.site-footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    padding: 56px 0 30px;
}

.footer-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr;
}

@media (min-width: 760px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 0.94rem;
    max-width: 34ch;
}

.footer-col h4 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-dim);
}

.footer-col a,
.footer-col span {
    display: block;
    color: var(--text-muted);
    padding: 5px 0;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--gold-strong);
}

.footer-bottom {
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    justify-content: space-between;
    color: var(--text-dim);
    font-size: 0.86rem;
}

/* ---------- Sticky-CTA (Mobil) -------------------------------------- */
.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(22, 26, 32, 0.94);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    transform: translateY(120%);
    transition: transform 0.3s var(--ease);
}

.sticky-cta.is-visible {
    transform: translateY(0);
}

.sticky-cta {
    display: none;
}

/* ---------- Consent-Banner ------------------------------------------ */
.consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 70;
    max-width: 540px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    box-shadow: var(--glow);
    padding: 18px 20px;
    display: none;
}

.consent.is-visible {
    display: block;
}

.consent p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.consent__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.consent .btn {
    padding: 11px 18px;
    font-size: 0.92rem;
}

/* ---------- Reveal-Animation ---------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    will-change: opacity, transform;
}

.reveal.in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Body-Padding, damit Sticky-CTA Inhalt nicht verdeckt */
@media (max-width: 719px) {
    body.has-sticky {
        padding-bottom: 78px;
    }
}
