/* ==========================================================================
   GemeinsamKI – main.css
   Farben: #685EFF (Marke) · #111111 (Dunkel) · Schrift: Inter (lokal)
   ========================================================================== */

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

/* ---- Design-Tokens -------------------------------------------------------- */
:root {
    --brand: #685EFF;
    --brand-600: #5246F2;
    --brand-500: #685EFF;
    --brand-400: #8A82FF;
    --brand-300: #ADA7FF;
    --brand-200: #CFCBFF;
    --brand-100: #E8E6FF;
    --brand-50: #F4F3FF;
    --brand-text: #5E54FF; /* Markenfarbe für kleine Schrift auf hellen Flächen: ≥ 4,5:1 auf --brand-50/--soft */
    --ink: #111111;
    --ink-2: #18181B;
    --ink-3: #1F1F24;
    --ink-4: #2A2A31;
    --mint: #3EE6B4;
    --mint-600: #1FC796;
    --sky: #5EB0FF;
    --rose: #FF5C8A;
    --amber: #FFB547;

    --text: #111111;
    --text-2: #45454F;
    --text-3: #6E6E78;
    --line: #E6E5EF;
    --soft: #F5F4FF;
    --paper: #FFFFFF;
    --on-dark: #F5F5F8;
    --on-dark-2: rgba(245, 245, 248, .72);
    --on-dark-3: rgba(245, 245, 248, .5);
    --line-dark: rgba(255, 255, 255, .09);

    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --radius-xl: 44px;

    --shadow-soft: 0 12px 40px -16px rgba(17, 17, 17, .18);
    --shadow-card: 0 1px 2px rgba(17, 17, 17, .04), 0 20px 50px -24px rgba(17, 17, 17, .22);
    --shadow-brand: 0 16px 40px -14px rgba(104, 94, 255, .7);
    --shadow-deep: 0 50px 120px -40px rgba(0, 0, 0, .85);

    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
    --ease-in-out: cubic-bezier(.65, 0, .35, 1);

    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    /* Platz der schwebenden Knöpfe unten: Höhe der untersten Reihe (Chat, Transparenz, Mesh-Status) samt Abstand
       und Breite der rechten Spalte („Nach oben“) – die Fußzeile hält ihn frei, damit nichts Impressum & Co. verdeckt */
    --float-band: 108px;
    --float-side: 96px;
    --header-h: 78px;
    --section-y: clamp(88px, 11vw, 150px);
    --stack-overlap: 44px;
}

/* ---- Reset & Basis --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'cv05', 'cv08', 'ss03';
    overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong, b { font-weight: 700; }
code, kbd, pre { font-family: var(--mono); }
address { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 3px; border-radius: 6px; }
.section-light :focus-visible, .section-soft :focus-visible { outline-color: var(--brand); } /* ≥ 3:1 auf hellen Flächen */
main:focus { outline: none; }

.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; left: 16px; top: -60px; z-index: 300; padding: 12px 20px; border-radius: 999px;
    background: var(--brand); color: #fff; font-weight: 600; transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 16px; }

.icon {
    width: 1.15em; height: 1.15em; flex: none;
    fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: -.01em; }

/* ---- Sektionen: übereinandergestapelte, abgerundete Flächen ------------------ */
main > section { position: relative; padding-block: var(--section-y); overflow: hidden; }
main > section + section {
    margin-top: calc(var(--stack-overlap) * -1);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding-top: calc(var(--section-y) + var(--stack-overlap) * .5);
    box-shadow: 0 -24px 60px -30px rgba(17, 17, 17, .25);
}
main > section:last-child { padding-bottom: calc(var(--section-y) + var(--stack-overlap)); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-light { background: var(--paper); color: var(--text); }
.section-soft { background: var(--soft); color: var(--text); }

/* ---- Typografie ------------------------------------------------------------ */
h1, h2, h3 { font-weight: 800; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
h2 { font-size: clamp(2.15rem, 5vw, 4.1rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -.02em; line-height: 1.2; }
h1 em, h2 em, .cta-title em, .page-title em { font-style: normal; font-weight: 300; color: var(--brand); letter-spacing: -.04em; }
.section-dark h1 em, .section-dark h2 em, .section-dark .cta-title em { color: var(--brand-400); }
p { text-wrap: pretty; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--on-dark-2); max-width: 36em; }
.section-light .lead, .section-soft .lead { color: var(--text-2); }
.section-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-2); max-width: 38em; margin-top: 18px; }
.section-dark .section-lead { color: var(--on-dark-2); }
.center .section-lead, .section-head.center .section-lead { margin-inline: auto; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .6em;
    padding: .45em .95em; margin-bottom: 22px; border-radius: 999px;
    font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--brand-300); background: rgba(104, 94, 255, .12); border: 1px solid rgba(104, 94, 255, .28);
}
.eyebrow .icon { width: 1.1em; height: 1.1em; }
.eyebrow-dark { color: var(--brand-text); background: var(--brand-50); border-color: var(--brand-100); }

.text-gradient {
    background: linear-gradient(100deg, #A7A1FF 0%, #685EFF 35%, #9F8CFF 60%, #3EE6B4 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    animation: gradientShift 9s ease-in-out infinite alternate;
}

.section-head { max-width: 860px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }

.pulse-dot {
    position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none;
    box-shadow: 0 0 0 0 rgba(62, 230, 180, .6); animation: dotPulse 2.2s ease-out infinite;
}
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px rgba(62, 230, 180, .8); flex: none; }

/* ---- Buttons & Links ------------------------------------------------------- */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
    padding: .9em 1.45em; border-radius: 999px; border: 1.5px solid transparent;
    font-weight: 650; font-size: 1rem; line-height: 1.2; letter-spacing: -.01em; white-space: nowrap;
    transition: background-color .3s, color .3s, border-color .3s, box-shadow .4s var(--ease-out), translate .5s var(--ease-out);
    isolation: isolate;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: translate .4s var(--ease-spring); }
.btn:hover .icon-arrow-right { translate: 4px 0; }
.btn::after {
    content: ''; position: absolute; inset: -1.5px; border-radius: inherit; z-index: -1;
    border: 2px solid currentColor; opacity: 0; pointer-events: none;
}
.btn-heart:hover { animation: heartbeat 1.35s ease-in-out infinite; }
.btn-heart:hover::after { animation: heartRing 1.35s ease-out infinite; }
.btn-sm { padding: .62em 1.1em; font-size: .92rem; }
.btn-lg { padding: 1.05em 1.75em; font-size: 1.06rem; }

.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary::after { border-color: var(--brand-400); }
.btn-primary:hover { background: #776EFF; box-shadow: 0 20px 50px -14px rgba(104, 94, 255, .9); }
.btn-ghost { color: var(--on-dark); background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .32); }
.section-light .btn-ghost, .section-soft .btn-ghost, .form .btn-ghost { color: var(--text); background: transparent; border-color: var(--line); }
.section-light .btn-ghost:hover, .section-soft .btn-ghost:hover, .form .btn-ghost:hover { border-color: var(--text); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #26262c; }
.btn-dark::after { border-color: var(--ink); }
.btn-outline { color: var(--text); border-color: rgba(17, 17, 17, .2); }
.btn-outline:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.center .btn-row, .btn-row.center { justify-content: center; }

.btn-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); animation: dotPulse 2.2s ease-out infinite; }
.btn-play { display: grid; place-items: center; width: 26px; height: 26px; margin-left: -.35em; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.btn-play .icon { width: 12px; height: 12px; translate: 1px 0; }

.magnetic { will-change: translate; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .45em; font-weight: 650; color: var(--brand-300);
    padding-block: .2em; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
    transition: background-size .5s var(--ease-out), color .3s;
}
.link-arrow .icon { transition: translate .45s var(--ease-spring); }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow:hover .icon { translate: 5px 0; animation: heartbeatSoft 1.3s ease-in-out infinite; }
.link-arrow-dark { color: var(--brand-text); }

.link-pulse {
    display: inline-flex; align-items: center; gap: .5em;
    background: linear-gradient(var(--brand-400), var(--brand-400)) 0 100% / 0 1.5px no-repeat;
    transition: background-size .5s var(--ease-out), color .3s;
}
.link-pulse:hover { background-size: 100% 1.5px; color: #fff; animation: heartbeatSoft 1.3s ease-in-out infinite; }

/* ---- Header ------------------------------------------------------------------ */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 120; height: var(--header-h);
    transition: translate .55s var(--ease-out), background-color .4s, border-color .4s, backdrop-filter .4s;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(17, 17, 17, .72); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border-color: rgba(255, 255, 255, .06); }
.site-header.is-hidden { translate: 0 -105%; }
.menu-open .site-header { translate: 0 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.brand { display: block; flex: none; transition: scale .4s var(--ease-spring); }
.brand:hover { scale: 1.03; }
.brand-logo { height: 30px; width: auto; }
.quick-nav ul { display: flex; gap: 2px; }
.quick-link {
    position: relative; display: block; padding: .55em .8em; border-radius: 999px; white-space: nowrap;
    font-size: .95rem; font-weight: 550; color: var(--on-dark-2); transition: color .3s, background-color .3s;
}
.quick-link:hover, .quick-link.is-active { color: #fff; background: rgba(255, 255, 255, .07); }
.quick-link.is-active::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--mint); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { color: #fff; }

/* Konto oben rechts (FUEHRUNG.md C1): Gast-Links, angemeldet „Mein Konto“ mit Zahl offener Schritte; mobil als Symbol */
.header-account { display: flex; align-items: center; gap: 4px; }
.header-login { display: block; padding: .55em .75em; border-radius: 999px; font-size: .95rem; font-weight: 550; color: var(--on-dark-2); white-space: nowrap; transition: color .3s, background-color .3s; }
.header-login:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.header-register { white-space: nowrap; }
.header-register.btn-sm { padding-inline: .95em; }
.header-me {
    display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px 0 6px; border-radius: 999px; max-width: 200px;
    color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); transition: background-color .3s, border-color .3s;
}
.header-me:hover, .header-me.is-active { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .28); }
.header-me-icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: rgba(104, 94, 255, .3); color: #fff; }
.header-me-icon .icon { width: 17px; height: 17px; }
.header-me-text { display: grid; min-width: 0; line-height: 1.15; }
.header-me-text small { font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-3); }
.header-me-text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; font-weight: 650; }
.konto-count { display: inline-grid; place-items: center; flex: none; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--amber); color: var(--ink); font-size: .75rem; font-weight: 800; line-height: 1; }
.konto-count[hidden] { display: none; }
.header-account-icon {
    position: relative; display: none; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); transition: background-color .3s;
}
.header-account-icon:hover { background: rgba(255, 255, 255, .13); }
.header-account-icon .icon { width: 20px; height: 20px; }
.header-account-icon .konto-count { position: absolute; top: -4px; right: -4px; box-shadow: 0 0 0 2px var(--ink); }

.menu-toggle {
    display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 8px 0 18px; border-radius: 999px;
    color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
    font-weight: 600; font-size: .95rem; transition: background-color .3s, border-color .3s;
}
.menu-toggle:hover { background: rgba(255, 255, 255, .13); }
.burger { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); }
.burger i { position: absolute; left: 9px; width: 12px; height: 1.8px; border-radius: 2px; background: #fff; transition: translate .45s var(--ease-out), rotate .45s var(--ease-out), opacity .3s, width .3s; }
.burger i:nth-child(1) { translate: 0 -4px; }
.burger i:nth-child(3) { translate: 0 4px; width: 8px; }
.menu-toggle:hover .burger i:nth-child(3) { width: 12px; }
.menu-open .burger i:nth-child(1) { translate: 0 0; rotate: 45deg; }
.menu-open .burger i:nth-child(2) { opacity: 0; }
.menu-open .burger i:nth-child(3) { translate: 0 0; rotate: -45deg; width: 12px; }

/* ---- Megamenü ------------------------------------------------------------------ */
.mega { position: fixed; inset: 0; z-index: 110; visibility: hidden; pointer-events: none; transition: visibility 0s .8s; }
.mega.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.mega-backdrop {
    position: absolute; inset: 0; overflow: hidden;
    background: radial-gradient(120% 90% at 85% 0%, #1d1a44 0%, #121214 45%, #0c0c0e 100%);
    clip-path: circle(0 at var(--mx, calc(100% - 60px)) var(--my, 40px));
    transition: clip-path .85s var(--ease-in-out);
}
.mega.is-open .mega-backdrop { clip-path: circle(150% at var(--mx, calc(100% - 60px)) var(--my, 40px)); }
.mega-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: orbFloat 16s ease-in-out infinite alternate; }
.mega-orb-a { width: 46vw; height: 46vw; right: -12vw; top: -14vw; background: radial-gradient(circle, rgba(104, 94, 255, .7), transparent 65%); }
.mega-orb-b { width: 34vw; height: 34vw; left: -10vw; bottom: -12vw; background: radial-gradient(circle, rgba(62, 230, 180, .25), transparent 65%); animation-delay: -6s; }
.mega-grid-lines {
    position: absolute; inset: 0; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
    mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
.mega-inner {
    position: relative; height: 100%; overflow-y: auto; overscroll-behavior: contain;
    display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 80px);
    padding-top: calc(var(--header-h) + clamp(20px, 5vh, 56px)); padding-bottom: 48px; color: var(--on-dark);
}
.mega-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 56px); align-content: start; }
.mega-group, .mega-aside > * { opacity: 0; translate: 0 34px; transition: opacity .5s, translate .7s var(--ease-out); }
.mega.is-open .mega-group, .mega.is-open .mega-aside > * { opacity: 1; translate: 0 0; transition-duration: .8s, .9s; }
.mega.is-open .mega-group:nth-child(1) { transition-delay: .18s; }
.mega.is-open .mega-group:nth-child(2) { transition-delay: .25s; }
.mega.is-open .mega-group:nth-child(3) { transition-delay: .32s; }
.mega.is-open .mega-group:nth-child(4) { transition-delay: .39s; }
.mega.is-open .mega-aside > *:nth-child(1) { transition-delay: .3s; }
.mega.is-open .mega-aside > *:nth-child(2) { transition-delay: .4s; }
.mega.is-open .mega-aside > *:nth-child(3) { transition-delay: .48s; }
.mega-label { display: flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-3); }
.mega-num { font-family: var(--mono); color: var(--brand-400); letter-spacing: 0; }
.mega-intro { margin: 6px 0 14px; font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 300; letter-spacing: -.02em; color: var(--on-dark); line-height: 1.25; }
.mega-list { display: grid; gap: 4px; border-top: 1px solid var(--line-dark); padding-top: 10px; }
.mega-link {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
    padding: 12px 14px 12px 12px; margin-inline: -12px; border-radius: 18px; transition: background-color .35s, translate .45s var(--ease-out);
}
.mega-link-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: var(--brand-300); transition: background-color .35s, color .35s, scale .4s var(--ease-spring); }
.mega-link-icon .icon { width: 21px; height: 21px; }
.mega-link-text strong { display: block; font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.mega-link-text small { display: block; color: var(--on-dark-3); font-size: .9rem; }
.mega-link-arrow { width: 20px; height: 20px; opacity: 0; translate: -10px 0; color: var(--brand-300); transition: opacity .35s, translate .45s var(--ease-spring); }
.mega-link:hover, .mega-link:focus-visible { background: rgba(255, 255, 255, .05); translate: 6px 0; }
.mega-link:hover .mega-link-icon { background: var(--brand); color: #fff; animation: heartbeat 1.35s ease-in-out infinite; }
.mega-link:hover .mega-link-arrow { opacity: 1; translate: 0 0; }
.mega-link.is-active .mega-link-icon { background: rgba(104, 94, 255, .25); border-color: rgba(104, 94, 255, .5); color: #fff; }
.mega-link.is-active strong::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 10px; vertical-align: middle; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }

.mega-aside { display: flex; flex-direction: column; gap: 28px; }
/* Konto-Block oben im Megamenü – nur schmal sichtbar (im Kopf steht dort nur das Symbol) */
.mega-account { display: none; padding-bottom: 22px; border-bottom: 1px solid var(--line-dark); opacity: 0; translate: 0 34px; transition: opacity .5s, translate .7s var(--ease-out); }
.mega.is-open .mega-account { opacity: 1; translate: 0 0; transition-duration: .8s, .9s; transition-delay: .12s; }
.mega-account-text { margin: 8px 0 14px; color: var(--on-dark-2); font-size: .95rem; }
.mega-account-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mega-account-me { margin-top: 8px; }
.mega-account-me .konto-count { margin-left: auto; }
.mega-feature {
    position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius-lg); overflow: hidden;
    background: linear-gradient(145deg, #7A71FF 0%, #5246F2 55%, #2C2290 100%); color: #fff;
    box-shadow: 0 30px 70px -30px rgba(104, 94, 255, .9); transition: translate .5s var(--ease-out), box-shadow .5s;
}
.mega-feature:hover { translate: 0 -4px; box-shadow: 0 40px 80px -30px rgba(104, 94, 255, 1); }
.mega-feature strong { font-size: 1.9rem; line-height: 1.05; letter-spacing: -.035em; font-weight: 800; position: relative; }
.mega-feature-text { color: rgba(255, 255, 255, .8); font-size: .95rem; position: relative; }
.mega-feature-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; position: relative; }
.mega-feature-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 700; position: relative; }
.mega-feature:hover .mega-feature-cta .icon { animation: heartbeatSoft 1.3s infinite; translate: 4px 0; }
.mega-feature-mesh { position: absolute; right: -30px; top: -30px; width: 170px; height: 170px; opacity: .45; }
.mega-feature-mesh i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px #fff; animation: meshBlink 3s ease-in-out infinite; }
.mega-feature-mesh i:nth-child(1) { left: 20%; top: 30%; }
.mega-feature-mesh i:nth-child(2) { left: 60%; top: 18%; animation-delay: -.6s; }
.mega-feature-mesh i:nth-child(3) { left: 46%; top: 56%; animation-delay: -1.2s; width: 16px; height: 16px; }
.mega-feature-mesh i:nth-child(4) { left: 80%; top: 62%; animation-delay: -1.8s; }
.mega-feature-mesh i:nth-child(5) { left: 28%; top: 80%; animation-delay: -2.4s; }
.mega-contact ul { display: grid; gap: 6px; margin-top: 12px; }
.mega-contact a { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--on-dark-2); transition: color .3s, translate .4s var(--ease-out); }
.mega-contact a:hover { color: #fff; translate: 4px 0; }
.mega-contact .icon { color: var(--brand-300); }
.mega-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; color: var(--on-dark-3); margin-top: auto; }
.mega-legal a:hover { color: #fff; }
.mega-legal span { width: 100%; }

/* ---- Hero ---------------------------------------------------------------------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 48px) !important; padding-bottom: 140px !important; isolation: isolate; }
.mesh-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-glow, .page-hero .hero-glow { position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background:
        radial-gradient(60% 70% at 72% 48%, rgba(104, 94, 255, .28), transparent 65%),
        radial-gradient(40% 40% at 8% 100%, rgba(62, 230, 180, .1), transparent 70%),
        radial-gradient(50% 50% at 0% 0%, rgba(104, 94, 255, .12), transparent 70%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; align-items: center; }
.hero-title { font-size: clamp(3rem, 6.1vw, 5.7rem); line-height: .94; letter-spacing: -.05em; margin-bottom: 30px; }
.hero-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-line > span { display: inline-block; translate: 0 110%; animation: lineUp 1.2s var(--ease-out) .15s forwards; }
.hero-line + .hero-line > span { animation-delay: .3s; }
.hero .lead { margin-bottom: 4px; }
.hero-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.hero-steps li {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px;
    font-size: .9rem; font-weight: 600; color: var(--on-dark-3); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03);
    animation: stepGlow 6s infinite;
}
.hero-steps li .icon { width: 16px; height: 16px; }
.hero-steps li:nth-child(2) { animation-delay: 2s; }
.hero-steps li:nth-child(3) { animation-delay: 4s; }

.hero-visual { position: relative; height: min(560px, 62vh); }
.float-card {
    position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px;
    background: rgba(28, 28, 34, .62); border: 1px solid rgba(255, 255, 255, .1); color: var(--on-dark);
    backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
    opacity: 0; animation: cardIn 1s var(--ease-out) forwards, floatY 7s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .95rem; letter-spacing: -.01em; }
.float-card small { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--on-dark-3); }
.fc-join { top: 6%; left: 2%; animation-delay: 1s, 1s; }
.fc-request { top: 44%; right: -2%; animation-delay: 1.3s, 2.4s; }
.fc-night { bottom: 6%; left: 14%; animation-delay: 1.6s, 3.6s; }
.fc-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(104, 94, 255, .22); color: var(--brand-300); }
.fc-icon-play { background: rgba(62, 230, 180, .15); color: var(--mint); }

.identicon { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; width: 46px; height: 46px; padding: 6px; border-radius: 12px; background: #0E1512; border: 1px solid rgba(62, 230, 180, .25); flex: none; }
.identicon i { border-radius: 50%; background: rgba(62, 230, 180, .12); }
.identicon i.on { background: var(--mint); box-shadow: 0 0 4px rgba(62, 230, 180, .8); }
.identicon-sm { width: 40px; height: 40px; padding: 5px; gap: 1.5px; }

.scroll-cue { position: absolute; left: 50%; bottom: 72px; translate: -50% 0; z-index: 3; opacity: .7; transition: opacity .3s; }
.scroll-cue:hover { opacity: 1; }
.scroll-mouse { display: block; width: 26px; height: 40px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .5); position: relative; }
.scroll-mouse i { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollWheel 2s var(--ease-in-out) infinite; }

/* ---- Seitenkopf Unterseiten ------------------------------------------------------ */
.page-hero { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px)) !important; padding-bottom: calc(var(--section-y) * .8 + var(--stack-overlap)) !important; isolation: isolate; min-height: min(78vh, 760px); display: flex; align-items: center; }
.page-hero-inner { position: relative; display: grid; gap: 48px; align-items: center; }
.page-hero.has-visual .page-hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.page-title { font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: .98; letter-spacing: -.045em; margin-bottom: 26px; }
.page-hero .page-title em { color: var(--brand-400); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; font-size: .88rem; color: var(--on-dark-3); }
.breadcrumb li + li::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 10px; border-radius: 50%; background: var(--brand-400); vertical-align: middle; }
.breadcrumb a { display: inline-flex; padding: 6px; margin: -6px; border-radius: 8px; transition: color .3s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .icon { width: 16px; height: 16px; }
.page-hero-visual { position: relative; }

/* ---- Footer ------------------------------------------------------------------------ */
.site-footer { position: relative; z-index: 2; margin-top: calc(var(--stack-overlap) * -1); border-radius: var(--radius-xl) var(--radius-xl) 0 0; background: #0B0B0D; color: var(--on-dark-2); overflow: hidden; padding-bottom: var(--float-band); }
.footer-marquee { padding: clamp(32px, 5vw, 56px) 0; border-bottom: 1px solid var(--line-dark); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.footer-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-word { font-size: clamp(3rem, 9vw, 8rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .22); padding-inline: .2em; transition: color .5s, -webkit-text-stroke-color .5s; }
.marquee-word:hover { color: var(--brand); -webkit-text-stroke-color: var(--brand); }
.marquee-star { font-size: clamp(1.5rem, 3vw, 2.6rem); color: var(--brand); padding-inline: .5em; }
.footer-main { display: grid; grid-template-columns: minmax(220px, .9fr) minmax(0, 2.3fr) minmax(200px, .9fr); gap: clamp(32px, 5vw, 72px); padding-block: clamp(48px, 7vw, 88px) 48px; }
.footer-logo-img { width: 240px; height: auto; }
.footer-claim { margin-top: 20px; max-width: 28em; font-size: .95rem; }
.footer-domains { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-family: var(--mono); font-size: .82rem; color: var(--on-dark-3); }
.footer-domains span { color: var(--brand-400); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); transition: background-color .3s, color .3s, scale .4s var(--ease-spring); }
.footer-social a:hover { background: var(--brand); color: #fff; scale: 1.08; }
.footer-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-heading { margin-bottom: 16px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.footer-col ul, .footer-channels { display: grid; gap: 10px; font-size: .95rem; }
.footer-contact address { font-size: .95rem; line-height: 1.7; margin-bottom: 16px; }
.footer-contact strong { color: #fff; }
.footer-channels .icon { color: var(--brand-400); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: .86rem; color: var(--on-dark-3); }
/* Rechts Abstand zum „Nach oben“-Knopf – nur so viel, wie der Seitenrand nicht ohnehin schon gibt */
.container.footer-bottom { padding-right: max(var(--gutter), calc(var(--float-side) - max(0px, (100vw - var(--container)) / 2 - var(--gutter)))); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-love { display: inline-flex; align-items: center; gap: 6px; }
.heart-beat { color: var(--rose); fill: var(--rose); stroke: var(--rose); animation: heartbeat 1.6s ease-in-out infinite; }

/* ---- Back-to-Top mit Fortschrittsring ------------------------------------------------- */
.to-top {
    position: fixed; right: 26px; bottom: 102px; z-index: 90; display: grid; place-items: center;
    width: 54px; height: 54px; border-radius: 50%; color: #fff;
    background: rgba(17, 17, 17, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6);
    opacity: 0; translate: 0 18px; scale: .8; pointer-events: none; visibility: hidden;
    transition: opacity .45s, translate .6s var(--ease-spring), scale .6s var(--ease-spring), visibility 0s .6s;
}
.to-top.is-visible { opacity: 1; translate: 0 0; scale: 1; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.to-top:hover { scale: 1.07; }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; overflow: visible; }
.to-top-track { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 3; }
.to-top-progress { fill: none; stroke: var(--brand-400); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--progress, 0)); transition: stroke .5s, filter .5s; }
.to-top-icon, .to-top-done { position: absolute; display: grid; place-items: center; transition: opacity .35s, translate .5s var(--ease-spring), scale .5s var(--ease-spring); }
.to-top-icon .icon, .to-top-done .icon { width: 20px; height: 20px; }
.to-top:hover .to-top-icon { animation: arrowBounce 1s var(--ease-in-out) infinite; }
.to-top-done { opacity: 0; scale: .4; color: var(--mint); }
.to-top.is-complete { background: rgba(17, 17, 17, .9); box-shadow: 0 0 0 6px rgba(62, 230, 180, .12), 0 0 34px -4px rgba(62, 230, 180, .55); }
.to-top.is-complete .to-top-progress { stroke: var(--mint); filter: drop-shadow(0 0 4px rgba(62, 230, 180, .9)); }
.to-top.is-celebrating .to-top-icon { opacity: 0; scale: .4; }
.to-top.is-celebrating .to-top-done { opacity: 1; scale: 1; }
.to-top-burst { position: absolute; inset: 0; pointer-events: none; }
.to-top-burst i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--mint); opacity: 0; }
.to-top-burst i:nth-child(even) { background: var(--brand-400); width: 5px; height: 5px; }
.to-top.is-celebrating .to-top-burst i { animation: burst .9s var(--ease-out) forwards; }
.to-top-burst i:nth-child(1) { --bx: 0px; --by: -46px; }
.to-top-burst i:nth-child(2) { --bx: 33px; --by: -33px; }
.to-top-burst i:nth-child(3) { --bx: 46px; --by: 0px; }
.to-top-burst i:nth-child(4) { --bx: 33px; --by: 33px; }
.to-top-burst i:nth-child(5) { --bx: 0px; --by: 46px; }
.to-top-burst i:nth-child(6) { --bx: -33px; --by: 33px; }
.to-top-burst i:nth-child(7) { --bx: -46px; --by: 0px; }
.to-top-burst i:nth-child(8) { --bx: -33px; --by: -33px; }

/* ---- Kontakt-Button mit Aufklappmenü --------------------------------------------------- */
.contact-fab { position: fixed; right: 24px; bottom: 24px; z-index: 95; transition: opacity .3s; }
/* Liegt ein Formular unter den schwebenden Buttons, blenden sie sich aus (main.js: updateFloating) */
.floating-hidden .contact-fab, .floating-hidden .to-top { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility 0s .3s; }
.contact-fab-button {
    position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(140deg, #8178FF, #5246F2); color: #fff;
    box-shadow: 0 18px 40px -12px rgba(104, 94, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: scale .5s var(--ease-spring), rotate .5s var(--ease-spring);
}
.contact-fab-button:hover { scale: 1.08; }
.contact-fab-button .icon { position: absolute; width: 25px; height: 25px; transition: opacity .3s, rotate .5s var(--ease-spring), scale .5s var(--ease-spring); }
.fab-icon-close { opacity: 0; rotate: -90deg; scale: .5; }
.contact-fab.is-open .fab-icon-open { opacity: 0; rotate: 90deg; scale: .5; }
.contact-fab.is-open .fab-icon-close { opacity: 1; rotate: 0deg; scale: 1; }
.contact-fab-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand-400); animation: fabRing 3.2s ease-out infinite; pointer-events: none; }
.contact-fab.is-open .contact-fab-ring { animation: none; opacity: 0; }
.contact-fab-panel {
    position: absolute; right: 0; bottom: 76px; width: min(360px, calc(100vw - 32px));
    padding: 10px; border-radius: 26px; background: #fff; color: var(--text);
    box-shadow: 0 40px 90px -30px rgba(17, 17, 17, .55), 0 0 0 1px rgba(17, 17, 17, .05);
    transform-origin: calc(100% - 30px) calc(100% + 40px);
    opacity: 0; scale: .5; translate: 0 20px; visibility: hidden;
    transition: opacity .3s, scale .55s var(--ease-spring), translate .55s var(--ease-spring), visibility 0s .55s;
}
.contact-fab.is-open .contact-fab-panel { opacity: 1; scale: 1; translate: 0 0; visibility: visible; transition-delay: 0s; }
.contact-fab-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 4px 16px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.contact-fab-close { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); transition: background-color .3s, rotate .4s var(--ease-spring); }
.contact-fab-close:hover { background: var(--brand-100); rotate: 90deg; }
.contact-fab-close .icon { width: 18px; height: 18px; }
.contact-fab-intro { padding: 0 16px 10px; font-size: .9rem; color: var(--text-3); }
.contact-fab-links { display: grid; gap: 2px; }
.contact-fab-item {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 18px;
    opacity: 0; translate: 0 12px; transition: background-color .3s, opacity .4s, translate .5s var(--ease-out);
}
.contact-fab.is-open .contact-fab-item { opacity: 1; translate: 0 0; }
.contact-fab.is-open .contact-fab-item:nth-child(1) { transition-delay: .08s; }
.contact-fab.is-open .contact-fab-item:nth-child(2) { transition-delay: .13s; }
.contact-fab.is-open .contact-fab-item:nth-child(3) { transition-delay: .18s; }
.contact-fab.is-open .contact-fab-item:nth-child(4) { transition-delay: .23s; }
.contact-fab.is-open .contact-fab-item:nth-child(5) { transition-delay: .28s; }
.contact-fab.is-open .contact-fab-item:nth-child(6) { transition-delay: .33s; }
.contact-fab-item:hover { background: var(--soft); }
.contact-fab-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #fff; transition: scale .45s var(--ease-spring); }
.contact-fab-icon .icon { width: 20px; height: 20px; }
.contact-fab-item:hover .contact-fab-icon { animation: heartbeat 1.35s ease-in-out infinite; }
.cfab-phone { background: var(--brand); }
.cfab-whatsapp { background: #25D366; }
.cfab-email { background: #3B82F6; }
.cfab-form { background: var(--amber); }
.cfab-join { background: var(--ink); }
.cfab-support { background: var(--rose); }
.contact-fab-text strong { display: block; font-size: .98rem; line-height: 1.25; }
.contact-fab-text small { display: block; font-size: .83rem; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-fab-text { min-width: 0; }
.contact-fab-arrow { width: 18px; height: 18px; color: var(--text-3); opacity: 0; translate: -6px 0; transition: opacity .3s, translate .4s var(--ease-spring); }
.contact-fab-item:hover .contact-fab-arrow { opacity: 1; translate: 0 0; color: var(--brand); }

/* ---- Transparenz-Button mit Aufklappfenster (unten links) ------------------------------ */
.trust-fab { position: fixed; left: 24px; bottom: 24px; z-index: 94; transition: opacity .3s; }
.trust-fab-button {
    display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px;
    background: rgba(17, 17, 17, .82); color: var(--on-dark); border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .6);
    font-size: .86rem; font-weight: 650; transition: border-color .3s, scale .5s var(--ease-spring);
}
.trust-fab-button .icon { width: 18px; height: 18px; color: var(--mint); }
.trust-fab-button:hover { scale: 1.04; border-color: rgba(62, 230, 180, .45); }
.trust-fab.is-open .trust-fab-button { border-color: var(--mint); }
.trust-panel {
    position: absolute; left: 0; bottom: 60px; width: min(390px, calc(100vw - 32px));
    padding: 10px; border-radius: 26px; background: #fff; color: var(--text);
    box-shadow: 0 40px 90px -30px rgba(17, 17, 17, .55), 0 0 0 1px rgba(17, 17, 17, .05);
    transform-origin: 30px calc(100% + 40px);
    opacity: 0; scale: .5; translate: 0 20px; visibility: hidden;
    transition: opacity .3s, scale .55s var(--ease-spring), translate .55s var(--ease-spring), visibility 0s .55s;
}
.trust-fab.is-open .trust-panel { opacity: 1; scale: 1; translate: 0 0; visibility: visible; transition-delay: 0s; }
.trust-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 6px 16px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.trust-close { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); transition: background-color .3s, rotate .4s var(--ease-spring); }
.trust-close:hover { background: var(--brand-100); rotate: 90deg; }
.trust-close .icon { width: 18px; height: 18px; }
.trust-list { display: grid; gap: 2px; }
.trust-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 14px; padding: 10px 12px; border-radius: 18px; }
.trust-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--brand-50); color: var(--brand); }
.trust-icon .icon { width: 19px; height: 19px; }
.trust-list strong { display: block; font-size: .96rem; line-height: 1.3; }
.trust-list small { display: block; margin-top: 2px; font-size: .84rem; line-height: 1.45; color: var(--text-2); }
.trust-foot { margin: 4px 6px 2px; padding: 10px 10px 4px; border-top: 1px solid var(--line); font-size: .78rem; line-height: 1.5; color: var(--text-3); }
.trust-foot a { color: var(--brand-text); font-weight: 600; }
.trust-foot a:hover { text-decoration: underline; }

/* ---- Mesh-Status als schwebende Anzeige (unten in der Mitte) --------------------------- */
.mesh-pill {
    position: fixed; left: 50%; bottom: 24px; z-index: 92; translate: -50% 14px;
    display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 15px; border-radius: 999px;
    background: rgba(17, 17, 17, .82); color: var(--on-dark); border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .6);
    font-size: .86rem; font-weight: 600; white-space: nowrap;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .4s, translate .6s var(--ease-spring), border-color .4s, background-color .4s, visibility 0s .6s;
}
.mesh-pill.is-ready { opacity: 1; visibility: visible; pointer-events: auto; translate: -50% 0; transition-delay: 0s; }
.mesh-pill:hover { border-color: rgba(255, 255, 255, .3); }
.mesh-pill-dot { width: 9px; height: 9px; border-radius: 50%; background: #6b6b75; flex: none; transition: background-color .4s; }
.mesh-pill-text { display: inline-flex; align-items: center; }
.mesh-pill-text span + span::before { content: '·'; margin: 0 8px; color: var(--on-dark-3); }
.mesh-pill.is-online .mesh-pill-dot { background: var(--mint); animation: dotPulse 2.2s ease-out infinite; }
.mesh-pill.is-busy { border-color: rgba(255, 181, 71, .5); background: rgba(38, 30, 17, .88); }
.mesh-pill.is-busy .mesh-pill-dot { background: var(--amber); animation: dotPulseAmber 1.2s ease-out infinite; }
.mesh-pill.is-busy .mesh-pill-text span:first-child { color: var(--amber); }
.mesh-pill.is-offline .mesh-pill-dot { background: var(--rose); }
/* Ausblenden: über einem Formular oder solange das Dashboard selbst sichtbar ist */
.mesh-in-view .mesh-pill, .mesh-pill.is-covered { opacity: 0; visibility: hidden; pointer-events: none; translate: -50% 14px; transition: opacity .3s, translate .4s, visibility 0s .4s; }
.trust-fab.is-covered { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility 0s .3s; }

/* ---- Toasts ------------------------------------------------------------------------------ */
.toast-stack { position: fixed; left: 24px; bottom: 86px; z-index: 130; display: grid; gap: 10px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; max-width: 340px; padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(17, 17, 17, .92); color: #fff; font-size: .92rem; box-shadow: var(--shadow-deep); backdrop-filter: blur(10px); animation: toastIn .6s var(--ease-spring) both; }
.toast.is-leaving { animation: toastOut .4s var(--ease-in-out) forwards; }
.toast-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(62, 230, 180, .15); color: var(--mint); flex: none; }
.toast-icon .icon { width: 18px; height: 18px; }

/* ---- Mesh-Rail (Abschnittsnavigation Startseite) ----------------------------------------------- */
.mesh-rail { position: fixed; left: 22px; top: 50%; z-index: 80; translate: 0 -50%; padding: 12px 8px; border-radius: 999px; background: rgba(17, 17, 17, .42); border: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; pointer-events: none; }
.mesh-rail.is-visible { pointer-events: auto; visibility: visible; transition-delay: 0s; }
.mesh-rail.is-visible { opacity: 1; }
.mesh-rail ol { position: relative; display: grid; gap: 14px; z-index: 1; }
.mesh-rail a { position: relative; display: grid; place-items: center; width: 18px; height: 18px; }
.rail-node { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .25); border: 1.5px solid transparent; transition: background-color .4s, scale .5s var(--ease-spring), box-shadow .4s; }
.mesh-rail a.is-visited .rail-node { background: var(--brand-400); }
.mesh-rail a.is-current .rail-node { background: var(--mint); scale: 1.5; box-shadow: 0 0 0 4px rgba(62, 230, 180, .18), 0 0 14px rgba(62, 230, 180, .8); }
.mesh-rail a:hover .rail-node { scale: 1.6; background: #fff; }
.rail-label { position: absolute; left: 30px; top: 50%; translate: -8px -50%; white-space: nowrap; padding: 5px 12px; border-radius: 999px; background: rgba(17, 17, 17, .9); color: #fff; font-size: .8rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .3s, translate .4s var(--ease-out); }
.mesh-rail a:hover .rail-label, .mesh-rail a:focus-visible .rail-label { opacity: 1; translate: 0 -50%; }
.rail-progress { position: absolute; left: 50%; top: 21px; bottom: 21px; width: 2px; margin-left: -1px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.rail-progress i { position: absolute; inset: 0 0 auto; height: calc(var(--rail, 0) * 1%); background: linear-gradient(var(--brand-400), var(--mint)); transition: height .3s; }

/* ---- Einblend-Animationen ---------------------------------------------------------------------- */
.reveal { opacity: 0; translate: 0 32px; filter: blur(8px); transition: opacity 1s var(--ease-out), translate 1.1s var(--ease-out), filter 1s var(--ease-out), scale 1.1s var(--ease-out); transition-delay: var(--delay, 0s); }
.reveal-scale { scale: .95; }
.reveal.is-in { opacity: 1; translate: 0 0; filter: blur(0); scale: 1; }
.split-ready .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-ready .w > span { display: inline-block; translate: 0 105%; transition: translate 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms + 80ms); }
.split-ready.is-in .w > span { translate: 0 0; }

/* ==========================================================================
   Startseite
   ========================================================================== */

/* ---- Die Idee (Wort-für-Wort-Scroll) ---------------------------------------- */
.statement-text {
    max-width: 1080px; font-size: clamp(1.9rem, 4.4vw, 3.9rem); font-weight: 750; line-height: 1.1; letter-spacing: -.038em; text-wrap: balance;
}
.statement-text .word { transition: color .4s, opacity .4s; opacity: .14; }
.statement-text .word.is-lit { opacity: 1; }
.statement-text .word.is-key.is-lit { color: var(--brand); }
.fact-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(56px, 8vw, 96px); padding-top: 40px; border-top: 1px solid var(--line); }
.fact strong { display: block; font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--brand); }
.fact > span { display: block; margin-top: 10px; color: var(--text-2); font-weight: 500; }

/* ---- Drei Schritte ------------------------------------------------------------ */
.steps-track { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); margin-bottom: 48px; }
.steps-line { position: absolute; left: 4%; top: 52px; width: 92%; height: 120px; z-index: 0; overflow: visible; pointer-events: none; }
.steps-line path { fill: none; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.steps-line-bg { stroke: var(--brand-100); stroke-dasharray: 2 8; }
.steps-line-fg { stroke: var(--brand); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--draw, 0) * 100); transition: stroke-dashoffset .2s linear; }
.step-card {
    position: relative; z-index: 1; padding: 22px 22px 30px; border-radius: var(--radius-lg); background: #fff;
    border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: translate .6s var(--ease-out), box-shadow .6s;
}
.step-card:hover { translate: 0 -8px; box-shadow: 0 30px 60px -28px rgba(104, 94, 255, .45); }
.step-card h3 { margin-bottom: 8px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.step-card p { color: var(--text-2); }
.step-num { position: absolute; right: 24px; top: 168px; font-size: 4.6rem; font-weight: 800; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--brand-200); pointer-events: none; }
.step-visual { position: relative; display: grid; place-items: center; height: 170px; margin-bottom: 28px; border-radius: 20px; overflow: hidden; background: radial-gradient(80% 90% at 50% 100%, rgba(104, 94, 255, .22), transparent 70%), linear-gradient(180deg, #f8f7ff, #efedff); }
.mini-laptop { position: relative; width: 132px; height: 86px; border-radius: 10px 10px 4px 4px; border: 3px solid var(--ink); background: #fff; }
.mini-laptop::after { content: ''; position: absolute; left: -18px; right: -18px; bottom: -11px; height: 8px; border-radius: 0 0 10px 10px; background: var(--ink); }
.mini-screen { position: absolute; inset: 10px; display: grid; place-items: center; border-radius: 4px; background: var(--brand-50); }
.mini-bar { width: 70%; height: 8px; border-radius: 8px; background: var(--brand-100); overflow: hidden; }
.mini-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--brand); animation: loadBar 3.2s var(--ease-in-out) infinite; }
.mini-play { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.mini-play .icon { width: 32px; height: 32px; translate: 3px 0; }
.mini-play::before, .mini-play::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand); animation: ripple 2.6s ease-out infinite; }
.mini-play::after { animation-delay: 1.3s; }
.step-visual-use { display: flex; flex-direction: column; gap: 12px; }
.mini-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; background: #fff; font-weight: 700; font-size: .95rem; box-shadow: var(--shadow-soft); animation: chipSwap 4s var(--ease-in-out) infinite; }
.mini-chip .icon { color: var(--brand); }
.mini-chip-b { animation-delay: -2s; translate: 26px 0; }

/* ---- Mac-App (Split) --------------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.split-top { align-items: start; }
.sticky-copy { position: sticky; top: calc(var(--header-h) + 40px); }
.section-glow { position: absolute; width: 60vw; height: 60vw; border-radius: 50%; filter: blur(40px); pointer-events: none; opacity: .7; }
.section-glow-left { left: -25vw; top: -10vw; background: radial-gradient(circle, rgba(104, 94, 255, .28), transparent 62%); }
.section-glow-right { right: -25vw; top: 10%; background: radial-gradient(circle, rgba(104, 94, 255, .25), transparent 62%); }
.feature-list { display: grid; gap: 18px; margin: 36px 0; }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.feature-list strong { display: block; color: #fff; font-size: 1.08rem; }
.feature-list span span, .feature-list li > span:last-child { color: var(--on-dark-2); }
.feature-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(104, 94, 255, .16); border: 1px solid rgba(104, 94, 255, .3); color: var(--brand-300); transition: scale .45s var(--ease-spring); }
.feature-list li:hover .feature-icon { animation: heartbeat 1.35s ease-in-out infinite; }
.section-light .feature-list strong, .section-soft .feature-list strong { color: var(--text); }
.section-light .feature-list li > span:last-child, .section-soft .feature-list li > span:last-child { color: var(--text-2); }
.section-light .feature-icon, .section-soft .feature-icon { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand); }
.split-visual { position: relative; }
.try-hint { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px 8px; font-family: var(--mono); font-size: .85rem; color: var(--mint); animation: hintBob 2.4s ease-in-out infinite; }
.demo-note { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; padding: 10px 14px; border-radius: 14px; font-size: .85rem; line-height: 1.45; color: var(--on-dark-2); background: rgba(255, 181, 71, .08); border: 1px solid rgba(255, 181, 71, .3); }
.demo-note .icon { margin-top: 1px; color: var(--amber); }
.demo-note strong { color: var(--on-dark); font-weight: 650; }

/* ---- App-Mockup ------------------------------------------------------------- */
.app-mock { position: relative; max-width: 450px; }
.app-window {
    position: relative; border-radius: 22px; overflow: hidden; color: var(--on-dark);
    background: linear-gradient(180deg, #202026 0%, #17171B 100%); border: 1px solid rgba(255, 255, 255, .09);
    box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.app-titlebar { position: relative; display: flex; align-items: center; justify-content: center; height: 44px; border-bottom: 1px solid rgba(255, 255, 255, .06); background: rgba(255, 255, 255, .02); }
.traffic { position: absolute; left: 16px; display: flex; gap: 8px; }
.traffic i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.traffic i:nth-child(2) { background: #FEBC2E; }
.traffic i:nth-child(3) { background: #28C840; }
.app-title { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 650; color: var(--on-dark-2); }
.app-title-mark { width: 18px; height: 18px; border-radius: 5px; }
.app-version { position: absolute; right: 14px; padding: 2px 8px; border-radius: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(104, 94, 255, .2); color: var(--brand-300); }
.app-body { display: grid; gap: 18px; padding: 20px; }
.app-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-device { display: flex; align-items: center; gap: 12px; }
.app-device-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .06); color: var(--brand-300); }
.app-device strong { display: block; font-size: .95rem; }
.app-device small { display: block; font-size: .8rem; color: var(--on-dark-3); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 650; background: rgba(255, 255, 255, .06); color: var(--on-dark-3); border: 1px solid rgba(255, 255, 255, .08); transition: all .4s; }
.status-pill .status-dot { background: #6b6b75; box-shadow: none; transition: all .4s; }
.app-mock.is-active .status-pill { color: var(--mint); background: rgba(62, 230, 180, .1); border-color: rgba(62, 230, 180, .35); }
.app-mock.is-active .status-pill .status-dot { background: var(--mint); box-shadow: 0 0 10px var(--mint); animation: dotPulse 2s ease-out infinite; }
.app-control { display: flex; align-items: center; gap: 20px; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); }
.power-button {
    position: relative; display: grid; place-items: center; width: 88px; height: 88px; flex: none; border-radius: 50%;
    background: linear-gradient(140deg, #8A82FF, #5246F2); color: #fff;
    box-shadow: 0 16px 36px -10px rgba(104, 94, 255, .9), inset 0 2px 0 rgba(255, 255, 255, .25);
    transition: background .5s, box-shadow .5s, scale .4s var(--ease-spring);
}
.power-button:hover { scale: 1.06; }
.power-button:active { scale: .94; }
.power-icon { position: absolute; display: grid; place-items: center; transition: opacity .3s, scale .5s var(--ease-spring), rotate .5s var(--ease-spring); }
.power-icon .icon { width: 34px; height: 34px; }
.power-play .icon { translate: 3px 0; }
.power-stop { opacity: 0; scale: .3; rotate: -90deg; }
.power-ripple { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand-400); opacity: 0; animation: ripple 2.4s ease-out infinite; }
.power-ripple-2 { animation-delay: 1.2s; }
.app-mock.is-active .power-button { background: linear-gradient(140deg, #2A2A31, #1B1B20); box-shadow: 0 0 0 2px var(--mint), 0 0 40px -6px rgba(62, 230, 180, .7); color: var(--mint); }
.app-mock.is-active .power-play { opacity: 0; scale: .3; rotate: 90deg; }
.app-mock.is-active .power-stop { opacity: 1; scale: 1; rotate: 0deg; }
.app-mock.is-active .power-ripple { border-color: var(--mint); }
.app-control-copy strong { display: block; font-size: 1.12rem; letter-spacing: -.01em; }
.app-control-copy small { display: block; color: var(--on-dark-3); font-size: .88rem; }
.app-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.app-metrics div { padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .05); }
.app-metrics small { display: block; font-size: .7rem; color: var(--on-dark-3); letter-spacing: .04em; }
.app-metrics strong { display: block; margin-top: 2px; font-size: 1.05rem; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-metrics strong.mono { font-size: .82rem; padding-top: 3px; }
.app-mock.is-active [data-app-requests] { color: var(--mint); }
.app-section { display: grid; gap: 10px; }
.app-section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .88rem; font-weight: 650; }
.app-section-head span { display: inline-flex; align-items: center; gap: 8px; }
.app-section-head .icon { color: var(--brand-300); width: 17px; height: 17px; }
.app-section-head small { color: var(--on-dark-3); font-weight: 500; }
.schedule-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: .84rem; font-weight: 600;
    color: var(--on-dark-2); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); transition: all .3s;
}
.chip .icon { width: 15px; height: 15px; }
.chip:hover { color: #fff; border-color: rgba(255, 255, 255, .2); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(104, 94, 255, .8); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; outline-offset: 6px; background: linear-gradient(90deg, var(--brand) 0 var(--fill, 50%), rgba(255, 255, 255, .1) var(--fill, 50%) 100%); cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--brand); box-shadow: 0 4px 12px rgba(104, 94, 255, .6); transition: scale .3s var(--ease-spring); }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--brand); box-shadow: 0 4px 12px rgba(104, 94, 255, .6); }
.range:active::-webkit-slider-thumb { scale: 1.2; }
.section-light .range, .section-soft .range, .mac-check .range { background: linear-gradient(90deg, var(--brand) 0 var(--fill, 50%), var(--brand-100) var(--fill, 50%) 100%); }

.clock-card {
    position: absolute; right: -186px; bottom: 36px; width: 176px; padding: 16px 16px 14px; border-radius: 24px;
    background: rgba(32, 32, 40, .72); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); color: var(--on-dark); animation: floatY 8s ease-in-out infinite;
}
.clock-ring { width: 100%; height: auto; overflow: visible; }
.clock-track { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 12; }
.clock-arc { fill: none; stroke: var(--brand-400); stroke-width: 12; stroke-linecap: round; transform-origin: 60px 60px; rotate: -90deg; stroke-dasharray: var(--arc, 375) 1000; stroke-dashoffset: var(--arc-offset, -916); transition: stroke-dasharray .9s var(--ease-out), stroke-dashoffset .9s var(--ease-out), stroke .5s; }
.app-mock.is-active .clock-arc { stroke: var(--mint); filter: drop-shadow(0 0 6px rgba(62, 230, 180, .6)); }
.clock-tick { fill: rgba(255, 255, 255, .25); }
.clock-tick.is-major { fill: rgba(255, 255, 255, .6); }
.clock-hand { stroke: #fff; stroke-width: 2.5; stroke-linecap: round; transform-origin: 60px 60px; rotate: var(--hand, 0deg); transition: rotate 1s var(--ease-out); }
.clock-center { fill: #fff; }
.clock-labels { position: relative; height: 0; }
.clock-labels span { position: absolute; font-family: var(--mono); font-size: .62rem; color: var(--on-dark-3); }
.clock-labels span:nth-child(1) { left: 50%; top: -168px; translate: -50% 0; }
.clock-labels span:nth-child(2) { right: -4px; top: -88px; }
.clock-labels span:nth-child(3) { left: 50%; top: -12px; translate: -50% 0; }
.clock-labels span:nth-child(4) { left: -4px; top: -88px; }
.clock-caption { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: .82rem; font-weight: 600; color: var(--on-dark-2); }
.clock-caption .icon { color: var(--brand-300); width: 15px; height: 15px; }

/* ---- Mac-Check -------------------------------------------------------------------- */
.mac-check { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--radius-xl); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.mac-check-controls { display: grid; gap: 30px; align-content: center; padding: clamp(28px, 4vw, 52px); }
.field-label { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: .9rem; font-weight: 700; color: var(--text); }
.field-label .icon { color: var(--brand); width: 18px; height: 18px; }
.range-output { margin-left: auto; padding: 3px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: .85rem; }
.segmented { display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); }
.segmented button { flex: 1 1 auto; min-width: 56px; padding: 10px 14px; border-radius: 13px; font-weight: 650; font-size: .95rem; color: var(--text-2); transition: background-color .3s, color .3s, box-shadow .3s, scale .4s var(--ease-spring); }
.segmented button:hover { color: var(--text); background: rgba(255, 255, 255, .7); }
.segmented button.is-active { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(17, 17, 17, .7); }
.segmented button:disabled { opacity: .3; cursor: not-allowed; }
.range-scale { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--mono); font-size: .72rem; color: var(--text-3); }
.mac-check-result {
    position: relative; display: flex; flex-direction: column; gap: 14px; justify-content: center; padding: clamp(28px, 4vw, 52px); overflow: hidden;
    background: radial-gradient(90% 80% at 100% 0%, rgba(104, 94, 255, .45), transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(62, 230, 180, .14), transparent 70%), var(--ink);
    color: var(--on-dark);
}
.level-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.level-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-weight: 750; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.level-badge .icon { color: var(--amber); }
.level-badge.is-bump { animation: badgeBump .7s var(--ease-spring); }
.level-step { font-family: var(--mono); font-size: .82rem; color: var(--on-dark-3); }
.result-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-top: 10px; font-weight: 600; color: var(--on-dark-2); }
.result-big strong { font-size: clamp(4rem, 9vw, 6.6rem); line-height: .9; font-weight: 800; letter-spacing: -.06em; color: #fff; font-variant-numeric: tabular-nums; background: linear-gradient(120deg, #fff 20%, var(--brand-300) 70%, var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result-prefix { font-family: var(--mono); font-size: .85rem; }
.result-sub { color: var(--on-dark-2); }
.result-sub small { color: var(--on-dark-3); }
.result-facts { display: grid; gap: 10px; margin: 8px 0 6px; }
.result-facts li { display: flex; align-items: center; gap: 12px; color: var(--on-dark-2); }
.result-facts strong { color: #fff; }
.result-facts .icon { color: var(--brand-300); }
.level-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 12px 0 18px; }
.level-track li { position: relative; padding-top: 18px; font-size: .72rem; font-weight: 650; color: var(--on-dark-3); text-align: center; transition: color .4s; }
.level-track li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); transition: background .5s, box-shadow .5s; }
.level-track li.is-on { color: #fff; }
.level-track li.is-on::before { background: linear-gradient(90deg, var(--brand), var(--brand-400)); }
.level-track li.is-current::before { background: linear-gradient(90deg, var(--brand-400), var(--mint)); box-shadow: 0 0 14px rgba(62, 230, 180, .6); }
.mac-check-result .btn { align-self: flex-start; }

/* ---- Mesh-Dashboard ------------------------------------------------------------------- */
.dash {
    position: relative; padding: 16px; border-radius: 28px; color: var(--on-dark);
    background: linear-gradient(180deg, #0F0F13, #0A0A0D); border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 60px 140px -50px rgba(104, 94, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.dash-top { display: flex; align-items: center; gap: 18px; padding: 6px 8px 16px; }
.dash-brand { display: inline-flex; align-items: center; gap: 10px; }
.dash-mark { width: 30px; height: 30px; border-radius: 9px; }
.dash-brand small { color: var(--on-dark-3); font-size: .85rem; }
.dash-tabs { display: flex; gap: 4px; font-size: .9rem; color: var(--on-dark-2); }
.dash-tabs b, .dash-tabs span { padding: 6px 14px; border-radius: 10px; }
.dash-tabs b { background: rgba(104, 94, 255, .2); color: #fff; font-weight: 600; }
.dash-live { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; color: var(--on-dark-2); transition: color .4s, border-color .4s, background-color .4s; }
.dash-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #6b6b75; flex: none; transition: background-color .4s; }
.dash-live.is-online { color: var(--mint); border-color: rgba(62, 230, 180, .35); }
.dash-live.is-online .dash-live-dot { background: var(--mint); animation: dotPulse 2.2s ease-out infinite; }
.dash-live.is-busy { color: var(--amber); border-color: rgba(255, 181, 71, .45); background: rgba(255, 181, 71, .07); }
.dash-live.is-busy .dash-live-dot { background: var(--amber); animation: dotPulseAmber 1.2s ease-out infinite; }
.dash-live.is-offline { color: var(--rose); border-color: rgba(255, 92, 138, .4); }
.dash-live.is-offline .dash-live-dot { background: var(--rose); }
.dash-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.dash-stat { padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .07); }
.dash-stat strong { display: block; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 750; letter-spacing: -.03em; font-variant-numeric: tabular-nums; transition: color .4s; }
.dash-stat strong.is-bump { color: var(--mint); }
.dash-stat.is-busy { border-color: rgba(255, 181, 71, .35); background: rgba(255, 181, 71, .05); }
.dash-stat.is-busy strong { color: var(--amber); }
.dash.is-loading .dash-stat strong { color: var(--on-dark-3); }
.dash-stat small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); }
.dash-grid { display: grid; grid-template-columns: 330px minmax(0, 1fr) 300px; gap: 14px; height: 520px; }
.dash-panel { display: flex; flex-direction: column; min-height: 0; border-radius: 20px; background: rgba(255, 255, 255, .02); border: 1px solid rgba(255, 255, 255, .07); }
.dash-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: .78rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.dash-panel-head small { font-size: .8rem; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--on-dark-3); }
.dash-device-list, .dash-model-list { display: grid; gap: 10px; padding: 12px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; align-content: start; }
.dash-device { display: grid; gap: 10px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .07); transition: opacity .5s, border-color .5s, max-height .6s; opacity: .45; }
.dash-device.is-online { opacity: 1; border-color: rgba(62, 230, 180, .16); }
.dash-device-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.dash-device-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(62, 230, 180, .08); color: var(--mint); transition: background-color .4s, color .4s; }
.dash-device-icon .icon { width: 20px; height: 20px; }
.dash-device-name { min-width: 0; display: grid; }
.dash-device-name strong { font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-device-name small { font-size: .76rem; color: var(--on-dark-3); }
.dash-badge { padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 650; border: 1px solid rgba(255, 255, 255, .15); color: var(--on-dark-3); }
.dash-device.is-online .dash-badge { color: var(--mint); border-color: rgba(62, 230, 180, .45); background: rgba(62, 230, 180, .07); }
.dash-device-model { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; background: rgba(62, 230, 180, .05); font-size: .76rem; min-width: 0; }
.dash-device-model code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--on-dark); }
.dash-device-model code.is-muted { color: var(--on-dark-3); }
.dash-device-model small { font-family: var(--mono); font-size: .66rem; color: var(--on-dark-3); white-space: nowrap; }
/* Gelb, solange das Gerät rechnet – wie in der Mesh-Ansicht des Hubs */
.dash-device.is-busy { border-color: rgba(255, 181, 71, .5); }
.dash-device.is-busy .dash-device-icon { background: rgba(255, 181, 71, .1); color: var(--amber); }
.dash-device.is-busy .dash-badge { color: var(--amber); border-color: rgba(255, 181, 71, .5); background: rgba(255, 181, 71, .08); }
.dash-device.is-busy .dash-device-model { background: rgba(255, 181, 71, .07); }
.dash-device.is-busy .status-dot { background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: dotPulseAmber 1.2s ease-out infinite; }
.dash-empty { padding: 22px 12px; border-radius: 16px; border: 1px dashed rgba(255, 255, 255, .1); text-align: center; font-size: .85rem; color: var(--on-dark-3); }
.dash-map { position: relative; min-height: 0; border-radius: 20px; background: radial-gradient(60% 60% at 50% 50%, rgba(104, 94, 255, .14), transparent 70%); overflow: hidden; }
.dash-map::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 26px 26px; opacity: .35; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); }
.dash-map-svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.dash-orbits circle { fill: none; stroke: rgba(138, 130, 255, .22); stroke-width: 1; stroke-dasharray: 3 7; }
.dash-orbits circle:nth-child(1) { animation: spin 40s linear infinite; transform-origin: 300px 230px; }
.dash-orbits circle:nth-child(2) { animation: spin 60s linear infinite reverse; transform-origin: 300px 230px; stroke-dasharray: 18 10; stroke: rgba(138, 130, 255, .18); }
.dash-orbits circle:nth-child(3) { stroke: rgba(138, 130, 255, .1); }
.hub-glow { animation: hubPulse 4s ease-in-out infinite; transform-origin: 300px 230px; }
.hub-core { fill: #3A3480; stroke: rgba(184, 178, 255, .65); stroke-width: 1.5; }
.hub-label { fill: #fff; font-size: 14px; font-weight: 750; letter-spacing: .1em; text-anchor: middle; font-family: var(--font); }
.map-link { stroke: rgba(255, 255, 255, .2); stroke-width: 1.4; stroke-dasharray: 5 7; fill: none; transition: stroke .5s, opacity .5s; }
.map-link.is-busy { stroke: rgba(255, 181, 71, .8); stroke-width: 1.8; animation: dashFlow 1s linear infinite; }
.map-packet { fill: var(--amber); filter: drop-shadow(0 0 4px var(--amber)); }
.map-packet.is-back { fill: var(--brand-300); filter: drop-shadow(0 0 4px var(--brand-400)); }
.map-node-ring { fill: #0C1411; stroke: var(--mint); stroke-width: 2; transition: stroke .4s; }
.map-node-halo { fill: rgba(62, 230, 180, .12); transform-box: fill-box; transform-origin: center; animation: haloPulse 3s ease-out infinite; }
.map-node-icon { fill: none; stroke: var(--mint); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.map-node-badge { fill: var(--amber); stroke: #0A0A0D; stroke-width: 3; }
.map-node-badge-text { fill: #0A0A0D; font-size: 11px; font-weight: 800; text-anchor: middle; font-family: var(--font); }
.map-node:not(.is-busy) .map-node-badge, .map-node:not(.is-busy) .map-node-badge-text { display: none; }
.map-node.is-busy .map-node-ring, .map-node.is-busy .map-node-icon { stroke: var(--amber); }
.map-node.is-busy .map-node-halo { fill: rgba(255, 181, 71, .2); animation-duration: 1.4s; }
.map-node-name { fill: #fff; font-size: 13px; font-weight: 650; text-anchor: middle; font-family: var(--font); }
.is-compact .map-node-name { font-size: 11px; }
.map-node-meta { fill: rgba(245, 245, 248, .55); font-size: 10.5px; text-anchor: middle; font-family: var(--font); }
.dash-map.is-busy .hub-core { stroke: var(--amber); }
.dash-map.is-offline .hub-core { fill: #24242A; stroke: rgba(255, 92, 138, .55); }
.dash-map.is-offline .hub-glow { opacity: .12; animation: none; }
.dash-map.is-offline .dash-orbits { opacity: .4; }
.dash-map-note { position: absolute; left: 50%; top: calc(50% + 58px); translate: -50% 0; max-width: 80%; margin: 0; text-align: center; font-size: .85rem; color: var(--on-dark-3); pointer-events: none; }
.dash-map-note:empty { display: none; }
.dash-noscript { margin: 12px 8px 0; text-align: center; font-size: .85rem; color: var(--on-dark-3); }
.dash-toast { position: absolute; left: 50%; bottom: 14px; translate: -50% 20px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; white-space: nowrap; background: rgba(62, 230, 180, .12); border: 1px solid rgba(62, 230, 180, .35); color: var(--mint); font-size: .82rem; font-weight: 600; opacity: 0; transition: opacity .5s, translate .6s var(--ease-spring); }
.dash-toast.is-visible { opacity: 1; translate: -50% 0; }
.dash-model { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; border: 1px solid rgba(62, 230, 180, .16); background: rgba(255, 255, 255, .02); transition: opacity .5s, border-color .5s; }
.dash-model.is-busy { border-color: rgba(255, 181, 71, .5); }
.dash-model-type { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(62, 230, 180, .08); color: var(--mint); font-family: var(--mono); font-size: .72rem; font-weight: 700; transition: background-color .4s, color .4s; }
.dash-model.is-busy .dash-model-type { background: rgba(255, 181, 71, .1); color: var(--amber); }
.dash-model-text { min-width: 0; }
.dash-model-text code { display: block; font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-model-text small { display: block; font-size: .72rem; color: var(--on-dark-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-model-text strong { color: var(--on-dark-2); font-weight: 600; }
.dash-model-chat { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 650; color: var(--brand-300); }
.dash-model-chat .icon { width: 14px; height: 14px; transition: translate .4s var(--ease-spring); }
.dash-model-chat:hover .icon { translate: 3px 0; }

/* ---- Mitnutzen: Chat & Editor ---------------------------------------------------------- */
.use-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); }
.use-card { display: flex; flex-direction: column; gap: 26px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-xl); background: var(--soft); border: 1px solid var(--line); transition: box-shadow .6s, transform .5s var(--ease-out); transform-style: preserve-3d; will-change: transform; }
.use-card:hover { box-shadow: 0 40px 80px -40px rgba(104, 94, 255, .5); }
.use-card-head { display: flex; gap: 16px; align-items: flex-start; }
.use-card-head h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 4px; }
.use-card-head p { color: var(--text-2); }
.use-icon { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 17px; background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.use-icon .icon { width: 24px; height: 24px; }
.use-card:hover .use-icon { animation: heartbeat 1.35s ease-in-out infinite; }
.use-card .link-arrow { margin-top: auto; align-self: flex-start; }

.chat-mini { border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); overflow: hidden; }
.chat-mini-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-mini-title { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .8rem; color: var(--text-3); }
.chat-mini-title .icon { color: var(--brand); }
.model-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: .72rem; }
.chat-mini-body { display: grid; gap: 12px; align-content: start; min-height: 230px; padding: 18px 16px; }
.bubble { max-width: 86%; padding: 12px 16px; border-radius: 20px; font-size: .95rem; line-height: 1.5; opacity: 0; translate: 0 12px; scale: .96; transition: opacity .5s, translate .6s var(--ease-spring), scale .6s var(--ease-spring); }
.bubble-user { justify-self: end; background: var(--brand); color: #fff; border-bottom-right-radius: 6px; }
.bubble-ai { justify-self: start; background: var(--soft); color: var(--text); border-bottom-left-radius: 6px; position: relative; }
.bubble-ai .bubble-text { display: none; }
.bubble-ai .typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-300); animation: typingDot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.chat-mini.is-answered .bubble-ai .typing { display: none; }
.chat-mini.is-answered .bubble-ai .bubble-text { display: inline; }
.bubble-meta { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--text-3); opacity: 0; transition: opacity .6s; }
.bubble-meta .icon { width: 14px; height: 14px; color: var(--mint-600); }
.chat-mini[data-stage="1"] [data-chat-step="1"], .chat-mini[data-stage="2"] [data-chat-step="1"], .chat-mini[data-stage="2"] [data-chat-step="2"], .chat-mini[data-stage="3"] [data-chat-step] { opacity: 1; translate: 0 0; scale: 1; }
.chat-mini-input { display: flex; align-items: center; justify-content: space-between; margin: 0 12px 12px; padding: 10px 10px 10px 16px; border-radius: 16px; background: var(--soft); color: var(--text-3); font-size: .92rem; }
.chat-mini-send { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--brand); color: #fff; }
.chat-mini-send .icon { width: 16px; height: 16px; }

.editor { border-radius: 20px; overflow: hidden; background: #1E1E22; border: 1px solid #2B2B31; box-shadow: 0 30px 60px -30px rgba(17, 17, 17, .6); color: #D4D4D4; }
.editor-bar { position: relative; display: flex; align-items: flex-end; gap: 2px; height: 42px; padding-left: 86px; background: #18181B; }
.editor-bar .traffic { top: 15px; }
.editor-tab { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 8px 8px 0 0; font-family: var(--mono); font-size: .76rem; color: #8b8b95; }
.editor-tab .icon { width: 13px; height: 13px; color: #4EC9B0; }
.editor-tab.is-active { background: #1E1E22; color: #fff; }
.editor-body { position: relative; display: grid; grid-template-columns: 46px 1fr; min-height: 230px; }
.editor-side { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 14px; background: #19191C; color: #6b6b75; }
.editor-side .icon { width: 19px; height: 19px; }
.editor-side .is-active { color: #fff; }
.editor-side-brand img { width: 22px; height: 22px; border-radius: 6px; }
.editor-code code { display: flex; flex-direction: column; }
.editor-code { margin: 0; padding: 16px 18px; overflow: hidden; font-size: clamp(.68rem, 1vw, .8rem); line-height: 1.75; counter-reset: line; }
.code-line { display: block; white-space: pre; position: relative; padding-left: 30px; }
.code-line::before { counter-increment: line; content: counter(line); position: absolute; left: 0; width: 18px; text-align: right; color: #5a5a64; }
.tk-c { color: #6A9955; font-style: italic; }
.tk-k { color: #C586C0; }
.tk-f { color: #DCDCAA; }
.tk-t { color: #4EC9B0; }
.tk-n { color: #B5CEA8; }
.editor [data-line="typed"] { clip-path: inset(0 100% 0 0); }
.editor [data-line="ghost"] { opacity: 0; }
.editor.is-typing [data-line="typed"]:nth-child(1) { animation: typeLine 1.3s steps(40) forwards; }
.editor.is-typing [data-line="typed"]:nth-child(2) { animation: typeLine 1.4s steps(48) 1.4s forwards; }
.editor.is-typing [data-line="ghost"] { animation: ghostIn .6s ease 3.1s forwards; font-style: italic; }
.editor.is-typing [data-line="ghost"] * { color: inherit !important; }
.editor.is-typing [data-line="ghost"] { color: #77777f; }
.editor.is-accepted [data-line="typed"] { clip-path: none; }
.editor.is-accepted [data-line="ghost"] { opacity: 1; font-style: normal; animation: acceptFlash .8s ease; }
.editor-hint { position: absolute; right: 16px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 10px; background: rgba(104, 94, 255, .2); color: #c9c5ff; font-size: .76rem; opacity: 0; translate: 0 8px; transition: opacity .4s, translate .5s var(--ease-spring); }
.editor-hint kbd { padding: 2px 6px; border-radius: 5px; background: rgba(255, 255, 255, .12); font-size: .7rem; color: #fff; }
.editor.is-hinting .editor-hint { opacity: 1; translate: 0 0; }
.editor.is-accepted .editor-hint { opacity: 0; }
.editor-status { display: flex; align-items: center; gap: 16px; padding: 6px 12px; background: var(--brand); color: #fff; font-size: .72rem; font-family: var(--mono); }
.editor-status span { display: inline-flex; align-items: center; gap: 6px; }
.editor-status .icon { width: 13px; height: 13px; }
.editor-status-ok { margin-left: auto; }

/* ---- Dienste (Startseite) ------------------------------------------------------------ */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.service-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 28px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: translate .6s var(--ease-out), box-shadow .6s, border-color .4s; }
.service-card:hover { translate: 0 -6px; box-shadow: var(--shadow-card); border-color: var(--brand-100); }
.service-card:hover .feature-card-icon { animation: heartbeat 1.35s ease-in-out infinite; }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.service-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--brand-50); color: var(--brand-text); font-size: .78rem; font-weight: 700; }
.service-badge .icon { width: 13px; height: 13px; }
.service-name { font-size: 1.3rem; letter-spacing: -.02em; }
.service-host { font-family: var(--mono); font-size: .8rem; color: var(--brand-text); overflow-wrap: anywhere; }
.service-text { margin-top: 6px; color: var(--text-2); }
.service-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font-weight: 700; color: var(--brand-text); }
.service-cta .icon { width: 16px; height: 16px; transition: translate .45s var(--ease-spring); }
.service-card:hover .service-cta .icon { translate: 4px 0; }
/* Agent hervorgehoben: dunkler Verlauf, damit weiße Schrift ≥ 4,5:1 bleibt */
.service-card.is-featured { background: linear-gradient(135deg, var(--brand), #4A3FE6); border-color: transparent; color: #fff; }
.service-card.is-featured .service-host, .service-card.is-featured .service-cta { color: #fff; }
.service-card.is-featured .service-text { color: rgba(255, 255, 255, .92); }
.service-card.is-featured .feature-card-icon, .service-card.is-featured .service-badge { background: rgba(255, 255, 255, .18); color: #fff; box-shadow: none; }
.service-more { margin-top: 28px; color: var(--text-2); }
.service-more .icon { margin-right: 6px; vertical-align: -3px; color: var(--brand); }

/* ---- Agent-Download (/agent) ----------------------------------------------------------- */
.agent-platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); align-items: start; }
.agent-card { display: grid; gap: 14px; min-width: 0; padding: 28px 24px; border-radius: var(--radius-lg); background: var(--soft); }
.agent-card h3 { margin-top: 6px; font-size: 1.4rem; }
.agent-card p { color: var(--text-2); }
.agent-card .agent-card-meta { margin-top: -8px; font-size: .9rem; color: var(--text-3); }
.agent-card .btn { justify-self: start; }
.agent-command { border-radius: 18px; box-shadow: none; }
.agent-command .code-card-head { height: 40px; }
.agent-command pre { padding: 16px 18px; white-space: pre-wrap; word-break: break-all; }
.agent-more { display: grid; gap: 12px; }
.agent-more summary { cursor: pointer; font-weight: 700; color: var(--brand-text); }
.agent-personal { display: flex; align-items: flex-start; gap: 12px; margin-top: 26px; padding: 16px 18px; border-radius: 16px; background: var(--brand-50); color: var(--text-2); font-size: .95rem; }
.agent-personal .icon { flex: none; margin-top: 3px; color: var(--brand); }
.agent-gate { display: grid; justify-items: start; gap: 14px; max-width: 680px; }
.agent-gate h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.agent-gate p { color: var(--text-2); }
.agent-gate-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.agent-gate-icon .icon { width: 26px; height: 26px; }
.agent-gate-actions { margin-top: 28px; }
.agent-hint { margin-top: 16px; color: var(--text-2); font-size: .95rem; }
.agent-card kbd, .agent-hint kbd { padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line); background: #fff; font-size: .85em; }
.agent-files { overflow-x: auto; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.agent-files table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.agent-files th, .agent-files td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.agent-files th { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.agent-files tr:last-child td { border-bottom: 0; }
.agent-files code { font-size: .85rem; color: var(--text-2); }

@media (max-width: 1180px) {
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
    .agent-platforms { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .service-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Werte ------------------------------------------------------------------------- */
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.value-card { position: relative; padding: 30px 26px 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: translate .6s var(--ease-out), box-shadow .6s; }
.value-card::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(104, 94, 255, .14), transparent 70%); transition: scale .8s var(--ease-out); }
.value-card:hover { translate: 0 -6px; box-shadow: var(--shadow-card); }
.value-card:hover::after { scale: 2.4; }
.value-card h3 { margin: 22px 0 8px; font-size: 1.3rem; }
.value-card p { color: var(--text-2); position: relative; z-index: 1; }
.value-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--brand-50); color: var(--brand); border: 1px solid var(--brand-100); }
.value-icon .icon { width: 25px; height: 25px; }
.value-card:hover .value-icon { animation: heartbeat 1.35s ease-in-out infinite; background: var(--brand); color: #fff; }

/* ---- FAQ ------------------------------------------------------------------------------ */
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: 22px; background: var(--soft); border: 1px solid transparent; transition: background-color .4s, border-color .4s, box-shadow .4s; }
.faq-item[open] { background: #fff; border-color: var(--line); box-shadow: var(--shadow-card); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; border-radius: 22px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { position: relative; display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: #fff; border: 1px solid var(--line); transition: background-color .3s, rotate .5s var(--ease-spring); }
.faq-toggle i { position: absolute; width: 12px; height: 2px; border-radius: 2px; background: var(--text); transition: rotate .5s var(--ease-spring), background-color .3s; }
.faq-toggle i:nth-child(2) { rotate: 90deg; }
.faq-item summary:hover .faq-toggle { animation: heartbeat 1.35s ease-in-out infinite; }
.faq-item[open] .faq-toggle { background: var(--brand); border-color: var(--brand); rotate: 180deg; }
.faq-item[open] .faq-toggle i { background: #fff; }
.faq-item[open] .faq-toggle i:nth-child(2) { rotate: 0deg; }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 24px 24px; color: var(--text-2); max-width: 60em; }

/* ---- CTA-Band -------------------------------------------------------------------------- */
.cta-band { text-align: center; isolation: isolate; }
.cta-orb { position: absolute; left: 50%; top: 60%; width: min(900px, 120vw); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(104, 94, 255, .5) 0%, rgba(104, 94, 255, .15) 35%, transparent 65%); animation: hubPulse 8s ease-in-out infinite; }
.cta-inner { position: relative; max-width: 920px; }
.cta-title { font-size: clamp(2.6rem, 6.5vw, 5.6rem); line-height: .98; letter-spacing: -.05em; margin-bottom: 22px; }
.cta-band .lead { margin: 0 auto 36px; }
.cta-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; margin-top: 28px; color: var(--on-dark-2); }
.cta-count { display: inline-flex; align-items: center; gap: 8px; }
.cta-count strong { color: #fff; }

/* ==========================================================================
   Unterseiten-Komponenten
   ========================================================================== */

/* ---- Orbit ------------------------------------------------------------------ */
.orbit { position: relative; width: min(500px, 100%); aspect-ratio: 1; margin-inline: auto; }
.orbit-ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px dashed rgba(138, 130, 255, .3); animation: spin 36s linear infinite; }
.orbit-ring-1 { width: 42%; height: 42%; animation-duration: 22s; }
.orbit-ring-2 { width: 70%; height: 70%; animation-direction: reverse; animation-duration: 34s; border-style: solid; border-color: rgba(138, 130, 255, .14); }
.orbit-ring-3 { width: 98%; height: 98%; animation-duration: 50s; border-color: rgba(138, 130, 255, .1); }
.orbit-node { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.orbit-node-inner {
    position: absolute; left: -24px; top: -24px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px;
    background: rgba(28, 28, 36, .85); border: 1px solid rgba(62, 230, 180, .4); color: var(--mint);
    box-shadow: 0 0 24px -6px rgba(62, 230, 180, .6); animation: spin 22s linear infinite reverse;
}
.orbit-ring-2 .orbit-node-inner { animation-duration: 34s; animation-direction: normal; color: var(--brand-300); border-color: rgba(138, 130, 255, .45); box-shadow: 0 0 24px -6px rgba(104, 94, 255, .7); }
.orbit-ring-3 .orbit-node-inner { animation-duration: 50s; }
.orbit-node-inner .icon { width: 21px; height: 21px; }
.orbit-pos-2-1 { left: 100%; top: 50%; }
.orbit-pos-2-2 { left: 0%; top: 50%; }
.orbit-pos-3-1 { left: 50%; top: 0%; }
.orbit-pos-3-2 { left: 93.3%; top: 75%; }
.orbit-pos-3-3 { left: 6.7%; top: 75%; }
.orbit-pos-4-1 { left: 85.4%; top: 14.6%; }
.orbit-pos-4-2 { left: 85.4%; top: 85.4%; }
.orbit-pos-4-3 { left: 14.6%; top: 85.4%; }
.orbit-pos-4-4 { left: 14.6%; top: 14.6%; }
.orbit-hub {
    position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 26%; height: 26%; border-radius: 50%; color: #fff;
    background: radial-gradient(circle at 35% 30%, #8F88FF, #4B40D9 60%, #2C2390);
    box-shadow: 0 0 0 10px rgba(104, 94, 255, .12), 0 0 80px 10px rgba(104, 94, 255, .55); animation: hubPulse 4s ease-in-out infinite;
}
.orbit-hub .icon { width: 40%; height: 40%; }
.orbit-hub-label { font-weight: 800; letter-spacing: .14em; font-size: clamp(.9rem, 2vw, 1.1rem); }

/* ---- Story (So funktioniert's) -------------------------------------------- */
.story { display: grid; gap: clamp(72px, 10vw, 140px); }
.story-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; scroll-margin-top: calc(var(--header-h) + 20px); }
.story-row:nth-child(even) .story-copy { order: 2; }
.story-num { display: block; margin-bottom: 8px; font-size: clamp(4rem, 9vw, 7rem); font-weight: 800; line-height: .9; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--brand-200); }
.story-visual { display: grid; place-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-xl); background: radial-gradient(80% 80% at 50% 100%, rgba(104, 94, 255, .2), transparent 70%), var(--soft); min-height: 380px; }
.story-visual .chat-mini { width: 100%; max-width: 420px; }
.check-list { display: grid; gap: 10px; margin-top: 22px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 550; }
.check-list .icon { display: grid; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--brand-50); color: var(--brand); stroke-width: 2.6; flex: none; }
.section-dark .check-list .icon { background: rgba(104, 94, 255, .2); color: var(--brand-300); }
.install-card { display: grid; justify-items: center; gap: 18px; width: 100%; max-width: 360px; padding: 32px 28px; border-radius: 28px; background: #fff; box-shadow: var(--shadow-card); text-align: center; }
.install-ring { position: relative; width: 120px; height: 120px; }
.install-ring svg { width: 100%; height: 100%; rotate: -90deg; }
.install-track { fill: none; stroke: var(--brand-50); stroke-width: 8; }
.install-progress { fill: none; stroke: var(--brand); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.is-in .install-progress, .install-card.is-in .install-progress { animation: installFill 2.6s var(--ease-in-out) .3s forwards; }
.story-visual.is-in .install-progress { animation: installFill 2.6s var(--ease-in-out) .3s forwards; }
.install-icon { position: absolute; inset: 22px; display: grid; place-items: center; }
.install-icon img { width: 64px; height: 64px; border-radius: 18px; }
.install-steps { display: grid; gap: 8px; width: 100%; text-align: left; }
.install-steps li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--soft); font-size: .92rem; font-weight: 550; opacity: 0; translate: 0 10px; }
.install-steps .icon { color: var(--mint-600); stroke-width: 2.6; }
.story-visual.is-in .install-steps li { animation: listIn .6s var(--ease-out) forwards; }
.story-visual.is-in .install-steps li:nth-child(1) { animation-delay: 1s; }
.story-visual.is-in .install-steps li:nth-child(2) { animation-delay: 1.8s; }
.story-visual.is-in .install-steps li:nth-child(3) { animation-delay: 2.6s; }
.week-plan { width: 100%; max-width: 480px; padding: 24px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-card); }
.week-plan-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.week-plan-head strong { display: inline-flex; align-items: center; gap: 8px; }
.week-plan-head .icon { color: var(--brand); }
.week-legend { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--text-3); }
.week-legend i { width: 12px; height: 12px; border-radius: 4px; background: var(--brand); }
.week-grid { display: grid; grid-template-columns: 28px repeat(24, minmax(0, 1fr)); gap: 3px; align-items: center; }
.week-day { font-size: .72rem; font-weight: 650; color: var(--text-3); }
.week-cell { aspect-ratio: 1 / 1.6; border-radius: 3px; background: var(--brand-50); transition: background-color .4s; }
.week-cell.is-on { background: var(--brand-100); }
.week-plan.is-lit .week-cell.is-on { background: var(--brand); }
.week-scale { display: flex; justify-content: space-between; margin: 8px 0 0 31px; font-family: var(--mono); font-size: .66rem; color: var(--text-3); }

/* ---- Flow (Anfrageweg) --------------------------------------------------- */
.flow { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: flow; }
.flow::before { content: ''; position: absolute; left: 12%; right: 12%; top: 44px; height: 2px; background: repeating-linear-gradient(90deg, rgba(138, 130, 255, .45) 0 8px, transparent 8px 16px); }
.flow::after { content: ''; position: absolute; top: 38px; left: 12%; width: 14px; height: 14px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 18px var(--mint); animation: flowPacket 5s var(--ease-in-out) infinite; }
.flow-step { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; text-align: center; padding: 0 8px; }
.flow-icon { display: grid; place-items: center; width: 88px; height: 88px; margin-bottom: 10px; border-radius: 28px; background: linear-gradient(160deg, #24242C, #17171B); border: 1px solid rgba(255, 255, 255, .1); color: var(--brand-300); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); transition: scale .5s var(--ease-spring), color .4s, border-color .4s; }
.flow-icon .icon { width: 32px; height: 32px; }
.flow-step:hover .flow-icon { scale: 1.08; color: var(--mint); border-color: rgba(62, 230, 180, .5); }
.flow-step strong { font-size: 1.2rem; color: #fff; }
.flow-step small { color: var(--on-dark-2); font-size: .95rem; max-width: 220px; }
.flow-step::before { counter-increment: flow; content: counter(flow, decimal-leading-zero); position: absolute; top: -12px; right: calc(50% - 56px); padding: 2px 8px; border-radius: 999px; background: var(--brand); color: #fff; font-family: var(--mono); font-size: .72rem; z-index: 2; }

/* ---- Karten-Raster --------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.feature-card { position: relative; padding: 28px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: translate .6s var(--ease-out), box-shadow .6s, border-color .4s; }
.section-light .feature-card { background: var(--soft); border-color: transparent; }
.feature-card:hover { translate: 0 -6px; box-shadow: var(--shadow-card); border-color: var(--brand-100); }
.feature-card h3 { margin: 20px 0 8px; font-size: 1.22rem; }
.feature-card p { color: var(--text-2); }
.feature-card-lg { padding: 36px 30px; }
.feature-card-lg h3 { font-size: 1.5rem; }
.feature-card-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--brand); color: #fff; box-shadow: 0 12px 24px -12px rgba(104, 94, 255, .9); }
.feature-card-icon .icon { width: 23px; height: 23px; }
.feature-card:hover .feature-card-icon, .bento-card:hover .feature-card-icon { animation: heartbeat 1.35s ease-in-out infinite; }
.card-grid-dark .feature-card { background: rgba(255, 255, 255, .03); border-color: var(--line-dark); }
.card-grid-dark .feature-card p { color: var(--on-dark-2); }
.card-grid-dark .feature-card:hover { border-color: rgba(104, 94, 255, .4); box-shadow: 0 30px 60px -30px rgba(104, 94, 255, .5); }

/* ---- Bento (Mac-App) -------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 20px); }
.bento-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 30px 26px; border-radius: var(--radius-lg); background: var(--soft); overflow: hidden; transition: translate .6s var(--ease-out), box-shadow .6s; }
.bento-card:hover { translate: 0 -6px; box-shadow: var(--shadow-card); }
.bento-card h3 { margin-top: 16px; font-size: 1.3rem; }
.bento-card p { color: var(--text-2); }
.bento-wide { grid-column: span 2; }
.bento-dark { background: radial-gradient(80% 100% at 100% 100%, rgba(104, 94, 255, .45), transparent 60%), var(--ink); color: #fff; }
.bento-dark p { color: var(--on-dark-2); }
.bento-brand { background: linear-gradient(135deg, #7A71FF, #5246F2); color: #fff; }
.bento-brand p { color: rgba(255, 255, 255, .82); }
.bento-brand .feature-card-icon { background: rgba(255, 255, 255, .18); box-shadow: none; }
.bento-power { position: absolute; right: 28px; bottom: 26px; display: flex; align-items: center; gap: 18px; }
.bento-power .mini-play { width: 64px; height: 64px; }
.bento-power .mini-play .icon { width: 24px; height: 24px; }
.bento-wave { display: flex; align-items: center; gap: 4px; height: 40px; }
.bento-wave i { width: 4px; height: 30%; border-radius: 4px; background: var(--mint); animation: wave 1.2s ease-in-out infinite; }
.bento-wave i:nth-child(2) { animation-delay: .1s; } .bento-wave i:nth-child(3) { animation-delay: .2s; } .bento-wave i:nth-child(4) { animation-delay: .3s; }
.bento-wave i:nth-child(5) { animation-delay: .4s; } .bento-wave i:nth-child(6) { animation-delay: .5s; } .bento-wave i:nth-child(7) { animation-delay: .6s; } .bento-wave i:nth-child(8) { animation-delay: .7s; }
.bento-dark p, .bento-dark h3 { max-width: 60%; }
.bento-counter { margin-top: auto; padding-top: 22px; }
.bento-counter strong { display: block; font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.bento-counter small { color: rgba(255, 255, 255, .75); }

.spec-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 36px; }
.spec-list li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.spec-list .icon { width: 42px; height: 42px; padding: 10px; border-radius: 13px; background: var(--brand-50); color: var(--brand); flex: none; }
.spec-list strong { display: block; }
.spec-list span { color: var(--text-2); font-size: .92rem; }
.spec-list-stack { grid-template-columns: 1fr; margin: 0; }
.spec-list-stack strong { font-size: 1.4rem; letter-spacing: -.02em; color: var(--text); }

/* ---- Code-Karte (VS Code) --------------------------------------------------- */
.number-steps { display: grid; gap: 14px; margin-top: 30px; }
.number-steps li { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); color: var(--text-2); }
.number-steps li > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; font-family: var(--mono); }
.number-steps strong { display: block; color: var(--text); font-size: 1.1rem; }
.code-card { border-radius: 24px; background: #1E1E22; color: #D4D4D4; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(17, 17, 17, .7); }
.code-card-head { position: relative; display: flex; align-items: center; justify-content: center; height: 46px; background: #18181B; font-family: var(--mono); font-size: .8rem; color: #9a9aa5; }
.code-card pre { margin: 0; padding: 24px 26px; font-size: clamp(.75rem, 1.2vw, .9rem); line-height: 1.8; overflow-x: auto; }
.code-card-note { padding: 0 26px 22px; font-size: .82rem; color: #8a8a95; }
.code-copy { position: absolute; right: 10px; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: inherit; transition: background-color .3s, color .3s; }
.code-copy:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.code-copy.is-copied { color: var(--mint); }
.code-copy .icon { width: 16px; height: 16px; }

/* ---- Chat-App ----------------------------------------------------------------- */
.chat-hero { min-height: 100svh; }
.chat-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chat-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); font-size: .9rem; color: var(--on-dark-2); }
.chat-facts .icon { color: var(--brand-300); }
.chat-app { display: flex; flex-direction: column; height: min(640px, 76vh); border-radius: 28px; background: #fff; color: var(--text); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; }
.chat-app-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-app-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.chat-app-mark { width: 36px; height: 36px; border-radius: 11px; }
.chat-app-brand strong { display: block; font-size: .98rem; }
.chat-app-brand small { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--text-3); }
.chat-model { max-width: 46%; padding: 8px 32px 8px 12px; border-radius: 12px; border: 1px solid var(--line); background-color: var(--soft); background-image: linear-gradient(45deg, transparent 50%, var(--brand) 50%), linear-gradient(135deg, var(--brand) 50%, transparent 50%); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; background-position: calc(100% - 18px) 52%, calc(100% - 12px) 52%; font-family: var(--mono); font-size: .78rem; -webkit-appearance: none; appearance: none; cursor: pointer; }
.chat-app-log { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 20px 16px; overflow-y: auto; scroll-behavior: smooth; overscroll-behavior: contain; }
.chat-msg { display: flex; gap: 10px; align-items: flex-end; max-width: 88%; animation: msgIn .55s var(--ease-spring) both; }
.chat-msg-user { align-self: flex-end; flex-direction: row-reverse; }
.chat-avatar { flex: none; width: 30px; height: 30px; border-radius: 9px; overflow: hidden; }
.chat-bubble { padding: 12px 16px; border-radius: 20px; font-size: .97rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg-ai .chat-bubble { background: var(--soft); border-bottom-left-radius: 6px; }
.chat-msg-user .chat-bubble { background: var(--brand); color: #fff; border-bottom-right-radius: 6px; }
.chat-msg-meta { display: block; margin-top: 6px; font-family: var(--mono); font-size: .7rem; color: var(--text-3); }
.chat-msg.is-error .chat-bubble { background: #FFF1F2; color: #9F1239; }
.chat-suggestions { display: flex; gap: 8px; padding: 0 16px 12px; overflow-x: auto; scrollbar-width: none; }
.chat-suggestions::-webkit-scrollbar { display: none; }
.chat-suggestions .chip, .chip-group-light .chip, .section-light .chip-group .chip { flex: none; color: var(--text-2); background: var(--soft); border-color: var(--line); }
.chat-suggestions .chip:hover, .chip-group-light .chip:hover { color: var(--brand); border-color: var(--brand-200); }
.chip-group-light .chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }
.chat-app-input { display: flex; align-items: flex-end; gap: 10px; margin: 0 12px; padding: 8px 8px 8px 16px; border-radius: 20px; background: var(--soft); border: 1.5px solid transparent; transition: border-color .3s, box-shadow .3s; }
.chat-app-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(104, 94, 255, .14); }
.chat-app-input textarea { flex: 1; min-height: 40px; max-height: 160px; padding: 9px 0; border: 0; background: transparent; resize: none; outline: none; line-height: 1.45; }
.chat-send { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 14px; background: var(--brand); color: #fff; transition: scale .4s var(--ease-spring), opacity .3s; }
.chat-send:hover { scale: 1.08; }
.chat-send:disabled { opacity: .5; scale: 1; cursor: wait; }
.chat-send .icon { width: 19px; height: 19px; }
.chat-app-note { display: flex; align-items: center; gap: 8px; padding: 10px 18px 14px; font-size: .78rem; color: var(--text-3); }
.chat-app-note .icon { color: var(--brand); width: 15px; height: 15px; }
.chat-msg-links { margin-top: 8px; }

/* ---- Mitmachen ----------------------------------------------------------------- */
.join-hero .page-hero-inner { align-items: start; }
.join-hero.page-hero { align-items: flex-start; }
.perk-list { display: grid; gap: 18px; margin-top: 36px; }
.perk-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; color: var(--on-dark-2); }
.perk-list strong { display: block; color: #fff; }
.perk-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(104, 94, 255, .18); color: var(--brand-300); }
.form-card { position: relative; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-xl); background: #fff; color: var(--text); box-shadow: 0 50px 100px -40px rgba(17, 17, 17, .5), 0 0 0 1px rgba(17, 17, 17, .04); scroll-margin-top: calc(var(--header-h) + 20px); }
.join-beta .number-steps { margin-top: 18px; }
.join-beta .number-steps li.is-done > span { background: var(--brand); }
.join-beta .number-steps .icon { width: 18px; height: 18px; }
.join-beta .btn-row { margin-top: 24px; }
.join-beta .form-legal { margin-top: 18px; }
.join-account { margin: 0 0 18px; }
.form-card .join-account, .section-dark .form-card .join-account { color: var(--text-2); }
.section-dark .form-card .join-account .icon { color: var(--brand); }
.join-account strong { color: var(--text); }
/* E-Mail aus dem Konto (Bewerbung am Konto): sichtbar nicht änderbar */
.form input[type="email"][readonly] { background: var(--soft); color: var(--text-2); cursor: default; }

/* ---- Mein Konto (/konto, FUEHRUNG.md C3) ------------------------------------------- */
.konto-hero.page-hero { min-height: 0; padding-bottom: calc(var(--section-y) * .55 + var(--stack-overlap)) !important; }
.konto-title { overflow-wrap: anywhere; }
.konto-container { max-width: calc(980px + var(--gutter) * 2); }
main > .konto-main { padding-top: calc(clamp(48px, 6vw, 80px) + var(--stack-overlap) * .5); }
.konto-main .form-notice { margin-bottom: 28px; }
.konto-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.konto-head h2 { margin-top: 14px; font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.035em; line-height: 1.1; }
.konto-head h2 em { color: var(--brand-text); }
.konto-progress { color: var(--text-3); font-size: .95rem; }
.konto-progress strong { color: var(--text); }
.konto-steps { margin-top: 26px; }
.konto-steps li { transition: border-color .3s, box-shadow .3s; }
.konto-steps h3 { font-size: 1.1rem; color: var(--text); }
.konto-step-num .icon { width: 18px; height: 18px; }
.konto-step-body { min-width: 0; }
.konto-step-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 4px; }
.konto-step-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.konto-step-actions form { display: contents; }
.konto-step-actions .btn { max-width: 100%; white-space: normal; text-align: left; }
.konto-steps li.is-done > span { background: var(--mint-600); }
.konto-steps li.is-todo { border-color: var(--brand-300); box-shadow: 0 0 0 4px var(--brand-50); }
.konto-steps li.is-todo > span, .konto-steps li.is-next > span { background: var(--brand); }
.konto-steps li.is-wait > span { background: var(--amber); color: var(--ink); }
.konto-steps li.is-locked { background: var(--soft); }
.konto-steps li.is-locked > span { background: #C9C8D6; }
.konto-steps li.is-locked h3, .konto-steps li.is-locked p { color: var(--text-3); }
.konto-steps li.is-info > span { background: var(--ink-4); }
.konto-pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; background: var(--soft); color: var(--text-3); }
.konto-pill.is-done { background: #ECFDF5; color: #065F46; }
.konto-pill.is-todo, .konto-pill.is-next { background: var(--brand-100); color: var(--brand-text); }
.konto-pill.is-wait { background: #FFF4E0; color: #7A4A00; }
.konto-pill.is-info { background: var(--brand-50); color: var(--text-2); }
.konto-subtitle { margin-top: clamp(48px, 7vw, 72px); font-size: clamp(1.35rem, 2.4vw, 1.7rem); letter-spacing: -.03em; }
.konto-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 18px); margin-top: 20px; }
.konto-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 22px; border-radius: var(--radius); background: var(--soft); }
.konto-card h3 { font-size: 1.1rem; }
.konto-card p { color: var(--text-2); font-size: .95rem; }
.konto-card .link-arrow, .konto-card form { margin-top: auto; }
.konto-card-minor { font-size: .88rem; color: var(--text-3); }
.konto-card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--brand-50); color: var(--brand); }
.konto-card-icon .icon { width: 20px; height: 20px; }
.section-dark .form-card { box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06); }

/* ---- Mein Konto: Abschnitt „Cluster“ (CLUSTER.md 5.6, kein Schritt) ---------------- */
.konto-cluster { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 18px; align-items: start; margin-top: 20px; padding: 24px 22px; border-radius: var(--radius); background: var(--soft); }
.konto-cluster-body p { max-width: 46em; color: var(--text-2); font-size: .95rem; }

/* ---- Cluster (/cluster, Hub 0.11.4) ------------------------------------------------- */
.card-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cluster-universe { width: min(520px, 100%); margin: 0 auto; }
.cu-svg { display: block; width: 100%; height: auto; overflow: visible; }
.cu-links line { stroke: rgba(255, 255, 255, .14); stroke-width: 1.5; }
.cu-orbit { fill: none; stroke: rgba(138, 130, 255, .34); stroke-width: 1.2; stroke-dasharray: 3 7; animation: cuFlow 40s linear infinite; }
.cu-orbit-faint { stroke: rgba(138, 130, 255, .12); stroke-dasharray: none; animation: none; }
.cu-node { fill: #17152B; stroke: var(--brand-400); stroke-width: 2; }
.cu-node-bridge { fill: #10231D; stroke: var(--mint); stroke-width: 2.5; }
.cu-bridge { stroke: var(--mint); stroke-width: 1.6; stroke-dasharray: 5 5; opacity: .85; animation: cuFlow 14s linear infinite; }
.cu-ring { fill: none; stroke-width: 1.2; stroke-dasharray: 3 6; animation: cuFlow 30s linear infinite reverse; }
.cu-core { stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: cuPulse 3.2s ease-in-out infinite; }
.cu-label { font-size: 13px; font-weight: 700; letter-spacing: .02em; text-anchor: middle; }
.cu-a .cu-ring, .cu-a .cu-node { stroke: var(--mint); }
.cu-a .cu-node { fill: #10231D; }
.cu-a .cu-core { fill: rgba(62, 230, 180, .22); stroke: var(--mint); }
.cu-a .cu-label { fill: var(--mint); }
.cu-b .cu-ring, .cu-b .cu-node { stroke: var(--amber); }
.cu-b .cu-node { fill: #2A1F0E; }
.cu-b .cu-core { fill: rgba(255, 181, 71, .2); stroke: var(--amber); animation-delay: 1.4s; }
.cu-b .cu-label { fill: var(--amber); }
.cu-hub-glow { fill: rgba(104, 94, 255, .16); }
.cu-hub { fill: var(--brand); stroke: var(--brand-300); stroke-width: 2; }
.cu-hub-label { fill: #fff; font-size: 12px; font-weight: 800; letter-spacing: .02em; text-anchor: middle; }
.cu-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 14px; font-size: .82rem; color: var(--on-dark-3); }
.cu-legend li { display: inline-flex; align-items: center; gap: 8px; }
.cu-key { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--brand-400); }
.cu-key-cluster { border-color: var(--mint); }
.cu-key-bridge { width: 22px; height: 0; border: 0; border-radius: 0; border-top: 2px dashed var(--mint); }
@keyframes cuFlow { to { stroke-dashoffset: -200; } }
@keyframes cuPulse { 50% { scale: 1.08; opacity: .85; } }
.cluster-callout { padding: clamp(26px, 3.4vw, 36px); border-radius: var(--radius-lg); background: var(--soft); border: 1px solid var(--brand-100); }
.cluster-callout h3 { margin: 20px 0 10px; font-size: 1.22rem; }
.cluster-callout p { color: var(--text-2); }
.cluster-callout p + p { margin-top: 12px; }
.cluster-facts { display: grid; gap: 12px; }
.cluster-facts li { position: relative; padding-left: 22px; }
.cluster-facts li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.cluster-cta { isolation: isolate; }
.cluster-cta .section-head { margin-bottom: 0; }

/* ---- Grundsätze & Timeline ------------------------------------------------------- */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.principle { position: relative; padding: 32px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: translate .6s var(--ease-out), box-shadow .6s; }
.principle:hover { translate: 0 -6px; box-shadow: var(--shadow-card); }
.principle-num { display: block; font-family: var(--mono); font-size: .85rem; color: var(--brand); margin-bottom: 26px; }
.principle h3 { margin-bottom: 8px; }
.principle p { color: var(--text-2); }
.principle::after { content: ''; position: absolute; right: 22px; top: 26px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-100); transition: background-color .4s, box-shadow .4s; }
.principle:hover::after { background: var(--mint); box-shadow: 0 0 14px var(--mint); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, var(--mint), var(--brand) 35%, rgba(104, 94, 255, .2)); }
.timeline-item { position: relative; padding-top: 44px; }
.timeline-node { position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); border: 2px solid rgba(138, 130, 255, .5); }
.timeline-item.is-aktiv .timeline-node { background: var(--mint); border-color: var(--mint); box-shadow: 0 0 0 6px rgba(62, 230, 180, .15), 0 0 20px var(--mint); animation: dotPulse 2.2s ease-out infinite; }
.timeline-item.is-next .timeline-node { border-color: var(--brand-400); background: var(--brand); }
.timeline-item small { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: .8rem; color: var(--brand-300); text-transform: uppercase; letter-spacing: .08em; }
.timeline-item.is-aktiv small { color: var(--mint); }
.timeline-item h3 { margin-bottom: 6px; color: #fff; }
.timeline-item p { color: var(--on-dark-2); }
.org-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-xl); background: var(--soft); border: 1px solid var(--line); }
.org-card-logo { width: min(320px, 100%); margin-bottom: 28px; }
.org-card dl { display: grid; gap: 14px; margin: 0; }
.org-card dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.org-card dt { font-size: .85rem; font-weight: 650; color: var(--text-3); }
.org-card dd { margin: 0; font-weight: 550; }

/* ---- Bankkarte & Spenden ----------------------------------------------------------- */
.bank-card {
    position: relative; width: min(440px, 100%); aspect-ratio: 1.586; margin-inline: auto; padding: clamp(20px, 3vw, 30px); border-radius: 26px; overflow: hidden; color: #fff;
    display: flex; flex-direction: column;
    background: radial-gradient(120% 120% at 0% 0%, #8A82FF 0%, #5246F2 45%, #241B85 100%);
    box-shadow: 0 50px 100px -30px rgba(104, 94, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .3);
    rotate: -4deg; transition: rotate .8s var(--ease-spring), scale .8s var(--ease-spring);
    animation: floatY 7s ease-in-out infinite;
}
.bank-card:hover { rotate: 0deg; scale: 1.03; }
.bank-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .25) 45%, transparent 60%); translate: -100% 0; animation: shine 6s ease-in-out infinite; }
.bank-card-top { display: flex; align-items: center; justify-content: space-between; }
.bank-card-logo { width: 150px; }
.bank-chip { width: 46px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #F5D78E, #C9A04A); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.bank-card-label { margin-top: auto; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.bank-card-iban { font-size: clamp(.95rem, 2.4vw, 1.25rem); letter-spacing: .06em; margin: 4px 0 16px; }
.bank-card-foot { display: flex; gap: 24px; font-size: .88rem; font-weight: 600; }
.bank-card-foot small { display: block; font-size: .66rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.bank-card-heart { position: absolute; right: 24px; bottom: 22px; color: #fff; opacity: .9; }
.bank-card-heart .icon { width: 28px; height: 28px; fill: rgba(255, 255, 255, .25); animation: heartbeat 1.6s ease-in-out infinite; }
.bank-details { display: grid; gap: 10px; margin: 28px 0 0; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.bank-details div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; align-items: center; }
.bank-details dt { font-size: .85rem; color: var(--text-3); font-weight: 600; }
.bank-details dd { margin: 0; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.bank-details .code-copy { position: static; color: var(--brand); }
.note { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; color: var(--text-3); font-size: .92rem; }
.note .icon { color: var(--brand); margin-top: 2px; }

/* ---- FAQ-Seite ------------------------------------------------------------------------ */
.faq-page { max-width: 980px; }
.faq-tools { display: grid; gap: 16px; margin-bottom: 28px; }
.faq-search { display: flex; align-items: center; gap: 12px; padding: 4px 20px; border-radius: 999px; background: var(--soft); border: 1.5px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.faq-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(104, 94, 255, .14); }
.faq-search .icon { color: var(--brand); }
.faq-search input { flex: 1; padding: 14px 0; border: 0; background: transparent; outline: none; font-size: 1.05rem; }
.faq-item.is-hidden { display: none; }
.faq-empty { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 28px; border-radius: 22px; background: var(--soft); color: var(--text-2); }
.ask-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; margin-top: 56px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-xl); background: radial-gradient(80% 120% at 100% 0%, rgba(104, 94, 255, .5), transparent 60%), var(--ink); color: #fff; }
.ask-card h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.ask-card p { color: var(--on-dark-2); }
.ask-card .btn-row { margin-top: 0; }
.ask-card-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--brand); }
.ask-card-icon .icon { width: 28px; height: 28px; }

/* ---- Kontakt ---------------------------------------------------------------------------- */
/* auto-fit: Telefon/WhatsApp sind optional (config.json) – die Karten füllen die Zeile trotzdem */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: clamp(14px, 2vw, 20px); }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 28px 24px; border-radius: var(--radius-lg); background: var(--soft); border: 1px solid transparent; transition: translate .6s var(--ease-out), box-shadow .6s, border-color .4s; }
.contact-card:not(.contact-card-static):hover { translate: 0 -6px; box-shadow: var(--shadow-card); border-color: var(--brand-100); }
.contact-card strong { margin-top: 18px; font-size: 1.25rem; letter-spacing: -.02em; }
.contact-card > span:not(.contact-card-icon):not(.contact-card-cta) { color: var(--text-2); overflow-wrap: anywhere; }
.contact-card-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; color: #fff; }
.contact-card-icon .icon { width: 24px; height: 24px; }
.contact-card:hover .contact-card-icon { animation: heartbeat 1.35s ease-in-out infinite; }
.contact-card-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; font-weight: 650; color: var(--brand-text); }
.contact-card-cta .icon { transition: translate .4s var(--ease-spring); }
.contact-card:hover .contact-card-cta .icon { translate: 4px 0; }
.contact-card-hours { color: var(--text-3); font-weight: 550; }

/* ---- Rechtstexte -------------------------------------------------------------------------- */
.legal { max-width: 1040px; }
.legal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 56px; }
.legal-block { padding: 26px; border-radius: var(--radius); background: var(--soft); }
.legal-block h2 { margin-bottom: 10px; font-size: .8rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-text); }
.legal-block p { line-height: 1.7; }
.legal-text { max-width: 760px; }
.legal-text h2 { margin: 44px 0 12px; font-size: clamp(1.3rem, 2.2vw, 1.6rem); letter-spacing: -.02em; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-text h2:first-child { margin-top: 0; }
.legal-text p { margin-bottom: 14px; color: var(--text-2); line-height: 1.75; }
.legal-text a, .legal-block a { color: var(--brand-text); text-decoration: underline; text-underline-offset: 3px; }
.legal-with-toc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 32px); padding: 22px; border-radius: var(--radius); background: var(--soft); }
.legal-toc ol { display: grid; gap: 4px; counter-reset: toc; }
.legal-toc a { display: block; padding: 6px 10px; margin-inline: -10px; border-radius: 10px; font-size: .92rem; color: var(--text-2); transition: background-color .3s, color .3s; }
.legal-toc a:hover { background: #fff; color: var(--brand); }

/* ---- 404 ----------------------------------------------------------------------------------- */
.notfound { min-height: 100svh; display: flex; align-items: center; text-align: center; isolation: isolate; }
.notfound-inner { display: grid; justify-items: center; padding-top: var(--header-h); }
.notfound-inner .lead { margin-inline: auto; }
.notfound-code { display: flex; align-items: center; gap: .1em; font-size: clamp(6rem, 22vw, 14rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .3); margin-bottom: 20px; }
.notfound-node { display: grid; place-items: center; width: .8em; height: .8em; border-radius: 50%; border: 3px dashed rgba(255, 255, 255, .25); animation: spin 20s linear infinite; }
.notfound-node .identicon { width: .42em; height: .42em; filter: grayscale(1); opacity: .7; animation: spin 20s linear infinite reverse; }
.pulse-dot-off { background: #FF6B6B; animation-name: dotPulseRed; }
.notfound-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 48px; }

/* ==========================================================================
   Formulare
   ========================================================================== */
.form { position: relative; display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 650; }
.req { color: var(--brand); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="number"], .form select, .form textarea {
    width: 100%; padding: 14px 16px; border-radius: 15px; border: 1.5px solid var(--line); background: #fff; color: var(--text);
    font-size: 1rem; transition: border-color .3s, box-shadow .3s, background-color .3s; -webkit-appearance: none; appearance: none;
}
.form select { padding-right: 42px; background-color: #fff; background-image: linear-gradient(45deg, transparent 50%, var(--brand) 50%), linear-gradient(135deg, var(--brand) 50%, transparent 50%); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; background-position: calc(100% - 24px) 52%, calc(100% - 18px) 52%; cursor: pointer; }
.form textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.form input::placeholder, .form textarea::placeholder { color: var(--text-3); }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--brand-200); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(104, 94, 255, .14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #E5484D; background: #FFF8F8; }
.field-error { font-size: .82rem; font-weight: 600; color: #D93036; }
.form-hint { color: var(--text-3); font-size: .9rem; }
.form-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 6px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-input { position: relative; padding: 0; cursor: pointer; color: var(--text-2); background: var(--soft); border-color: var(--line); }
.chip-input input { position: absolute; opacity: 0; pointer-events: none; }
.chip-input span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: inherit; }
/* .chip-group-Varianten: sonst gewinnt „.section-light .chip-group .chip“ und die Auswahl ist nicht zu sehen */
.chip-input:hover, .chip-group .chip-input:hover { color: var(--brand); border-color: var(--brand-200); }
.chip-input:has(input:checked), .chip-group .chip-input:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-input:has(input:focus-visible) { outline: 3px solid var(--brand-400); outline-offset: 2px; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: .92rem; color: var(--text-2); cursor: pointer; line-height: 1.5; }
.check input { -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 7px; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; transition: background-color .3s, border-color .3s; cursor: pointer; }
.check input::after { content: ''; width: 10px; height: 6px; border-left: 2.4px solid #fff; border-bottom: 2.4px solid #fff; rotate: -45deg; translate: 0 -1px; scale: 0; transition: scale .35s var(--ease-spring); }
.check input:checked { background: var(--brand); border-color: var(--brand); }
.check input:checked::after { scale: 1; }
.check input:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 2px; }
.check a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.check.has-error input { border-color: #E5484D; }
.check + .field-error { margin-top: -10px; padding-left: 34px; }
.check-light { color: var(--on-dark-2); }
.check-light input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); }
.check-light a { color: var(--brand-300); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.choice-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choice-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.choice-card { position: relative; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card-inner { position: relative; display: grid; justify-items: start; gap: 4px; height: 100%; padding: 18px 16px; border-radius: 20px; border: 1.5px solid var(--line); background: #fff; transition: border-color .3s, background-color .3s, translate .4s var(--ease-out), box-shadow .4s; }
.choice-card:hover .choice-card-inner { border-color: var(--brand-200); translate: 0 -3px; }
.choice-card input:checked + .choice-card-inner { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 14px 30px -18px rgba(104, 94, 255, .8); }
.choice-card input:focus-visible + .choice-card-inner { outline: 3px solid var(--brand-400); outline-offset: 2px; }
.choice-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 8px; border-radius: 13px; background: var(--soft); color: var(--brand); transition: background-color .3s, color .3s; }
.choice-card input:checked + .choice-card-inner .choice-icon { background: var(--brand); color: #fff; animation: heartbeat 1.35s ease-in-out 1; }
.choice-card strong { font-size: 1rem; }
.choice-card small { font-size: .82rem; color: var(--text-3); }
.choice-check { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; scale: 0; transition: scale .4s var(--ease-spring); }
.choice-check .icon { width: 13px; height: 13px; stroke-width: 3; }
.choice-card input:checked + .choice-card-inner .choice-check { scale: 1; }
.choice-card-sm .choice-card-inner { justify-items: center; text-align: center; padding: 16px 10px; }
.choice-card-sm .choice-icon { margin-bottom: 4px; }

.form-steps fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .form-step { display: none; }
.js .form-step.is-active { display: grid; gap: 18px; animation: stepIn .6s var(--ease-out); }
.form-step-title { padding: 0; margin-bottom: 4px; font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.step-progress { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 8px; }
.step-progress::before { content: ''; position: absolute; left: 16.6%; right: 16.6%; top: 17px; height: 3px; border-radius: 3px; background: var(--line); }
.step-progress::after { content: ''; position: absolute; left: 16.6%; top: 17px; height: 3px; border-radius: 3px; width: calc(66.8% * var(--step-fill, 0)); background: linear-gradient(90deg, var(--brand), var(--mint)); transition: width .7s var(--ease-out); }
.step-progress li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; }
.step-node { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 50%; background: #fff; border: 2px solid var(--line); font-weight: 750; font-size: .9rem; color: var(--text-3); transition: all .5s var(--ease-spring); }
.step-progress small { font-size: .78rem; font-weight: 650; color: var(--text-3); }
.step-progress li.is-active .step-node { border-color: var(--brand); color: var(--brand); scale: 1.12; box-shadow: 0 0 0 5px rgba(104, 94, 255, .12); }
.step-progress li.is-done .step-node { background: var(--brand); border-color: var(--brand); color: #fff; }
.step-progress li.is-active small, .step-progress li.is-done small { color: var(--text); }

.form-message:empty { display: none; }
.form-message, .form-notice { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 16px; font-size: .95rem; font-weight: 550; }
.form-message.is-error, .form-notice.is-error { background: #FFF1F2; color: #9F1239; }
.form-message.is-success, .form-notice.is-success { background: #ECFDF5; color: #065F46; }
.form-notice .icon { margin-top: 2px; }
.form.is-busy button[type="submit"] { pointer-events: none; opacity: .7; }
.form.is-busy button[type="submit"]::before { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; }
.form-success { display: grid; justify-items: center; gap: 12px; padding: 30px 10px; text-align: center; animation: stepIn .7s var(--ease-out); }
.form-success-check { position: relative; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); animation: popIn .8s var(--ease-spring); }
.form-success-check svg { width: 46px; height: 46px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.form-success-check path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: drawCheck .6s var(--ease-out) .35s forwards; }
.form-success h3 { font-size: 1.6rem; }
.form-success p { color: var(--text-2); max-width: 30em; }
.section-dark .quick-join .form-success h3 { color: #fff; }
.section-dark .quick-join .form-success p { color: var(--on-dark-2); }
.confetti { position: fixed; z-index: 400; pointer-events: none; width: 10px; height: 14px; border-radius: 3px; }

.quick-join { max-width: 760px; margin-inline: auto; gap: 14px; }
.quick-join-row { display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: border-color .3s, box-shadow .3s; }
.quick-join-row:focus-within { border-color: var(--brand-400); box-shadow: 0 0 0 5px rgba(104, 94, 255, .2); }
.quick-join input[type="email"], .quick-join select { padding: 12px 18px; border: 0; border-radius: 999px; background: transparent; color: #fff; box-shadow: none !important; }
.quick-join input[type="email"] { flex: 1.4; min-width: 0; }
.quick-join input::placeholder { color: var(--on-dark-3); }
.quick-join select { flex: 1; min-width: 0; padding-right: 40px; background-color: rgba(255, 255, 255, .06); background-image: linear-gradient(45deg, transparent 50%, var(--brand-300) 50%), linear-gradient(135deg, var(--brand-300) 50%, transparent 50%); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; background-position: calc(100% - 24px) 52%, calc(100% - 18px) 52%; }
.quick-join select option { color: var(--text); }
.quick-join .check { justify-content: center; text-align: left; }
.quick-join .form-message { justify-content: center; }
.quick-join .field-error { margin-top: -6px; padding-left: 0; text-align: center; color: #FF8A8F; }
.quick-join-row.has-error { border-color: #FF8A8F; }

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes heartbeat { 0%, 100% { scale: 1; } 14% { scale: 1.07; } 28% { scale: 1; } 42% { scale: 1.045; } 70% { scale: 1; } }
@keyframes heartbeatSoft { 0%, 100% { scale: 1; } 14% { scale: 1.04; } 28% { scale: 1; } 42% { scale: 1.025; } 70% { scale: 1; } }
@keyframes heartRing { 0% { opacity: .55; scale: 1; } 100% { opacity: 0; scale: 1.25; } }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 rgba(62, 230, 180, .6); } 70% { box-shadow: 0 0 0 9px rgba(62, 230, 180, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 230, 180, 0); } }
@keyframes dotPulseAmber { 0% { box-shadow: 0 0 0 0 rgba(255, 181, 71, .6); } 70% { box-shadow: 0 0 0 9px rgba(255, 181, 71, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 181, 71, 0); } }
@keyframes dotPulseRed { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, .6); } 70% { box-shadow: 0 0 0 9px rgba(255, 107, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
@keyframes lineUp { to { translate: 0 0; } }
@keyframes cardIn { from { opacity: 0; translate: 0 24px; scale: .94; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes stepGlow { 0%, 30%, 100% { color: var(--on-dark-3); border-color: var(--line-dark); background: rgba(255, 255, 255, .03); } 6%, 26% { color: #fff; border-color: rgba(104, 94, 255, .6); background: rgba(104, 94, 255, .2); } }
@keyframes scrollWheel { 0% { opacity: 0; translate: 0 -2px; } 30% { opacity: 1; } 100% { opacity: 0; translate: 0 12px; } }
@keyframes orbFloat { 0% { translate: 0 0; } 100% { translate: -6vw 6vw; } }
@keyframes meshBlink { 0%, 100% { opacity: .4; scale: .8; } 50% { opacity: 1; scale: 1.1; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes fabRing { 0% { opacity: .7; scale: 1; } 60%, 100% { opacity: 0; scale: 1.55; } }
@keyframes arrowBounce { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@keyframes burst { 0% { opacity: 1; translate: 0 0; scale: 1; } 100% { opacity: 0; translate: var(--bx) var(--by); scale: .3; } }
@keyframes toastIn { from { opacity: 0; translate: -20px 10px; scale: .9; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes toastOut { to { opacity: 0; translate: -20px 0; scale: .95; } }
@keyframes loadBar { 0% { width: 0; } 70%, 100% { width: 100%; } }
@keyframes ripple { 0% { opacity: .7; scale: 1; } 100% { opacity: 0; scale: 1.7; } }
@keyframes chipSwap { 0%, 100% { translate: 0 0; } 50% { translate: 18px -4px; } }
@keyframes hintBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes hubPulse { 0%, 100% { scale: 1; opacity: .9; } 50% { scale: 1.06; opacity: 1; } }
@keyframes haloPulse { 0% { scale: 1; opacity: .9; } 100% { scale: 1.6; opacity: 0; } }
@keyframes dashFlow { to { stroke-dashoffset: -24; } }
@keyframes badgeBump { 0% { scale: 1; } 40% { scale: 1.15; } 100% { scale: 1; } }
@keyframes typingDot { 0%, 60%, 100% { translate: 0 0; opacity: .5; } 30% { translate: 0 -5px; opacity: 1; } }
@keyframes typeLine { to { clip-path: inset(0 0 0 0); } }
@keyframes ghostIn { to { opacity: .55; } }
@keyframes acceptFlash { 0% { background: rgba(104, 94, 255, .35); } 100% { background: transparent; } }
@keyframes installFill { to { stroke-dashoffset: 0; } }
@keyframes listIn { to { opacity: 1; translate: 0 0; } }
@keyframes flowPacket { 0% { left: 12%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: calc(88% - 14px); opacity: 0; } }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }
@keyframes shine { 0%, 60% { translate: -100% 0; } 100% { translate: 100% 0; } }
@keyframes msgIn { from { opacity: 0; translate: 0 14px; scale: .96; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes stepIn { from { opacity: 0; translate: 24px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes popIn { 0% { scale: 0; } 100% { scale: 1; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
@keyframes confettiFall { 0% { opacity: 1; transform: translate(0, 0) rotate(0deg); } 100% { opacity: 0; transform: translate(var(--cx), var(--cy)) rotate(var(--cr)); } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1420px) {
    .app-mock { margin-inline: auto; }
    .clock-card { position: relative; right: auto; bottom: auto; width: 100%; max-width: 300px; margin: 18px auto 0; display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 16px; animation: none; }
    .clock-card .clock-labels { display: none; }
    .clock-caption { margin: 0; justify-content: flex-start; }
}

@media (max-width: 1280px) {
    .dash-grid { grid-template-columns: 300px minmax(0, 1fr) 270px; }
    .card-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mesh-rail { left: 12px; }
}

/* Kopf mit Konto-Links (FUEHRUNG.md C1): Wo es eng wird, zeigt der Menü-Knopf nur das Symbol (1241–1320 px neben der
   Schnellnavigation, 761–860 px), bis 1240 px fällt die Schnellnavigation weg (alles steht auch im Megamenü) –
   so passt alles in eine Zeile */
@media (min-width: 1241px) and (max-width: 1320px), (min-width: 761px) and (max-width: 860px) {
    .menu-toggle-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
    .menu-toggle { padding: 0 6px; }
}
@media (max-width: 1240px) {
    .quick-nav { display: none; }
}

@media (max-width: 1180px) {
    .quick-nav { display: none; }
    .mesh-rail { display: none; }
    .dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; }
    .dash-map { grid-column: 1 / -1; order: -1; height: 440px; }
    .dash-device-list, .dash-model-list { max-height: 460px; }
    .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-nav { grid-column: 1 / -1; order: 3; }
    .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .spec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .spec-list-stack { grid-template-columns: 1fr; }
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .legal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Schmaler Desktop: Das Spendenformular steht neben dem Text, vier Auswahlkarten nebeneinander wären zu eng für ihre Beschriftung */
@media (min-width: 981px) and (max-width: 1180px) {
    .choice-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
    :root { --header-h: 70px; --stack-overlap: 32px; --radius-xl: 32px; }
    .hero-inner, .split, .page-hero.has-visual .page-hero-inner, .story-row, .mac-check, .use-grid { grid-template-columns: minmax(0, 1fr); }
    .hero { padding-bottom: 120px !important; }
    .hero-visual { height: 340px; margin-top: 8px; }
    .fc-join { top: 0; left: 0; }
    .fc-request { top: 38%; right: 0; }
    .fc-night { bottom: 0; left: 8%; }
    .story-row:nth-child(even) .story-copy { order: 0; }
    .story-visual { min-height: 0; }
    .sticky-copy { position: static; }
    .app-mock { margin-inline: auto; }
    .steps-track { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
    .steps-line { display: none; }
    .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
    .flow::before, .flow::after { display: none; }
    .timeline { grid-template-columns: 1fr; gap: 28px; padding-left: 40px; }
    .timeline::before { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--mint), var(--brand) 35%, rgba(104, 94, 255, .2)); }
    .timeline-item { padding-top: 0; }
    .timeline-node { left: -40px; }
    .mega-inner { grid-template-columns: 1fr; }
    .mega-aside { padding-bottom: 20px; }
    .legal-with-toc { grid-template-columns: 1fr; }
    .legal-toc { position: static; }
    .ask-card { grid-template-columns: 1fr; text-align: left; }
    .card-grid, .card-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-hero { min-height: 0; }
    .chat-hero { min-height: 0; }
    .join-hero .page-hero-inner { gap: 36px; }
    .konto-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    body { font-size: 1rem; }
    .header-cta { display: none; }
    /* Konto: im Kopf nur das Symbol, Anmelden/Registrieren bzw. „Mein Konto“ oben im Megamenü */
    .header-account { display: none; }
    .header-account-icon { display: inline-grid; }
    .mega-account { display: block; }
    .konto-cards { grid-template-columns: 1fr; }
    .konto-cluster { grid-template-columns: 1fr; padding: 20px 18px; }
    .konto-steps li { padding: 16px; gap: 14px; }
    .brand-logo { height: 26px; }
    .menu-toggle { padding-left: 14px; }
    .mega-columns { grid-template-columns: 1fr; gap: 30px; }
    .mega-intro { font-size: 1.2rem; }
    .fact-row { grid-template-columns: 1fr; gap: 28px; }
    .dash { padding: 10px; border-radius: 22px; }
    .dash-top { flex-wrap: wrap; gap: 10px; }
    .dash-tabs { display: none; }
    .dash-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dash-stat:nth-child(n + 4) { display: none; }
    .dash-grid { grid-template-columns: 1fr; }
    .dash-map { height: 340px; }
    .dash-models { display: none; }
    .dash-device-list { max-height: 420px; }
    .value-grid, .card-grid, .card-grid-3, .card-grid-5, .principles, .contact-cards, .legal-grid, .bento, .spec-list { grid-template-columns: 1fr; }
    .bento-wide { grid-column: auto; }
    .bento-dark p, .bento-dark h3 { max-width: none; }
    .bento-power { position: static; margin-top: 20px; }
    .choice-cards { grid-template-columns: 1fr; }
    .choice-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .choice-card-inner { grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; }
    .choice-card-inner .choice-icon { grid-row: span 2; margin: 0; }
    .choice-card-sm .choice-card-inner { display: grid; grid-template-columns: 1fr; justify-items: center; }
    .choice-card-sm .choice-card-inner .choice-icon { grid-row: auto; }
    .form-grid { grid-template-columns: 1fr; }
    .quick-join-row { flex-direction: column; border-radius: 26px; }
    .quick-join input[type="email"], .quick-join select { padding: 14px 18px; }
    .quick-join .btn { width: 100%; }
    .app-mock { padding-right: 0; padding-bottom: 0; }
    .clock-card { position: relative; width: 100%; max-width: 280px; margin: 18px auto 0; display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 16px; animation: none; }
    .clock-card .clock-labels { display: none; }
    .clock-caption { margin: 0; justify-content: flex-start; }
    .app-metrics { grid-template-columns: 1fr 1fr; }
    .app-metrics div:last-child { grid-column: 1 / -1; }
    .flow { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; }
    .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    :root { --float-band: 96px; --float-side: 82px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .to-top { right: 20px; bottom: 92px; width: 50px; height: 50px; }
    .contact-fab { right: 18px; bottom: 18px; }
    .contact-fab-button { width: 56px; height: 56px; }
    .toast-stack { left: 16px; right: 90px; bottom: 80px; }
    .trust-fab { left: 16px; bottom: 22px; }
    .trust-fab-button { width: 48px; height: 48px; padding: 0; justify-content: center; }
    .trust-fab-label { display: none; }
    .trust-panel { bottom: 62px; }
    .mesh-pill { bottom: 22px; height: 48px; padding: 0 16px 0 13px; font-size: .8rem; }
    .story-visual { padding: 18px; }
    .week-plan { padding: 16px; }
    .result-big strong { font-size: 4.2rem; }
    .level-track li { font-size: .62rem; }
    .org-card dl div, .bank-details div { grid-template-columns: 1fr; gap: 2px; }
    .hero-title { font-size: clamp(2.9rem, 13vw, 4.4rem); }
    .hero-visual { height: 300px; }
    .float-card { padding: 10px 14px 10px 10px; }
    .float-card strong { font-size: .88rem; }
    .chat-app { height: min(600px, 80vh); }
    .scroll-cue { display: none; }
    .ask-card .btn-row { flex-direction: column; }
}

@media (max-width: 420px) {
    .segmented button { min-width: 0; padding: 9px 10px; }
    .hero-steps li { font-size: .8rem; padding: 6px 10px 6px 8px; }
    .mac-check-result .btn { white-space: normal; }
    /* Nur optisch ausblenden – der Button behält seinen zugänglichen Namen „Menü“/„Schließen“ */
    .menu-toggle-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
    .menu-toggle { padding: 0 6px; }
    /* Modellauswahl im Chat: nicht schrumpfen, damit „GPT-OSS 20B“ ganz sichtbar bleibt; Obergrenze für lange Modellnamen */
    .chat-model { max-width: 60%; flex: none; padding-right: 26px; background-position: calc(100% - 15px) 52%, calc(100% - 9px) 52%; }
}

/* Sechs Chip-Generationen im Mac-Check: 3 + 3 statt eines einzelnen Knopfs in Zeile 2 (bis ca. 465 px) */
@media (max-width: 480px) {
    .segmented[data-gen-group] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mesh-pill-text span:nth-child(3) { display: none; }
}

@media (hover: none) {
    .btn-heart:hover, .btn-heart:hover::after { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
    .reveal, .split-ready .w > span, .hero-line > span { opacity: 1 !important; translate: none !important; filter: none !important; scale: none !important; }
    .float-card { opacity: 1; }
    .marquee-track { animation: none; }
}

@media print {
    :root { --float-band: 32px; --float-side: 0px; }
    .site-header, .mega, .contact-fab, .to-top, .mesh-rail, .mesh-canvas, .footer-marquee, .cta-band { display: none !important; }
    body, .section-dark { background: #fff !important; color: #000 !important; }
    main > section + section { margin: 0; border-radius: 0; box-shadow: none; }
    .reveal { opacity: 1 !important; translate: none !important; filter: none !important; }
}

/* ==========================================================================
   Plattformen, Clearingstelle, Geräte-Check, Rechtstexte (Erweiterung 10/2026)
   ========================================================================== */
.platform-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.platform-pill { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: var(--on-dark); }
.platform-pill .icon { width: 18px; height: 18px; color: var(--brand-300); }
.platform-pill strong { font-size: .95rem; }
.platform-pill small { font-size: .74rem; color: var(--on-dark-3); }
.platform-pill.is-focus { background: rgba(104, 94, 255, .18); border-color: rgba(138, 130, 255, .5); }
.platform-pill.is-focus small { color: var(--mint); }

.platform-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.platform-card { position: relative; padding: 30px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.platform-card h3 { margin: 18px 0 4px; font-size: 1.5rem; }
.platform-card.is-focus { border-color: var(--brand-200); box-shadow: 0 30px 60px -36px rgba(104, 94, 255, .7); }
.platform-state { position: absolute; top: 22px; right: 22px; padding: 4px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700; color: var(--text-2); background: var(--soft); }
.platform-card.is-focus .platform-state { color: #fff; background: var(--brand); }
.center-note { justify-content: center; text-align: center; margin-top: 28px; }

.clearing-demo { display: grid; gap: 12px; margin: 0; }
.clearing-step { padding: 18px 20px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.clearing-step p { color: var(--text-2); line-height: 1.6; }
.clearing-step small { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .8rem; font-weight: 650; color: var(--text-3); }
.clearing-step.is-clearing { background: var(--ink); border-color: var(--ink); translate: 18px 0; }
.clearing-step.is-clearing p { color: var(--on-dark-2); }
.clearing-step.is-clearing small { color: var(--mint); }
.clearing-label { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); }
.is-clearing .clearing-label { color: var(--brand-300); }
.clearing-num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--brand-50); color: var(--brand); font-family: var(--mono); letter-spacing: 0; }
.is-clearing .clearing-num { background: var(--brand); color: #fff; }
.clearing-num .icon { width: 14px; height: 14px; }
.clearing-demo mark { padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.clearing-demo mark.pii { background: #FFF1E0; color: #8A4B00; }
.clearing-demo mark.pseudo { background: rgba(62, 230, 180, .16); color: var(--mint); font-family: var(--mono); font-size: .9em; }
.clearing-demo figcaption { font-size: .78rem; color: var(--text-3); text-align: right; }

.device-check { display: grid; gap: 14px; }
.device-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; justify-self: center; padding: 6px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.device-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 16px; font-weight: 700; color: var(--text-2); transition: background-color .3s, color .3s; }
.device-tabs button small { font-weight: 500; font-size: .8rem; color: var(--text-3); }
.device-tabs button.is-active { background: var(--ink); color: #fff; }
.device-tabs button.is-active small { color: var(--on-dark-3); }
.device-tabs .icon { width: 18px; height: 18px; }
.device-note { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--on-dark-3); }
.device-note .icon { flex: none; margin-top: 2px; color: var(--brand-300); }

.form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-legal { font-size: .84rem; color: var(--text-3); line-height: 1.5; }
.form-legal a, .text-link { color: var(--brand-text); text-decoration: underline; text-underline-offset: 3px; }
.section-dark .text-link { color: var(--brand-300); }
.form-legal-light { text-align: center; color: var(--on-dark-3); }
.form-legal-light a { color: var(--brand-300); }
.form input[type="password"], .form input[type="search"], .form input[type="url"] {
    width: 100%; padding: 14px 16px; border-radius: 15px; border: 1.5px solid var(--line); background: #fff; color: var(--text);
    font-size: 1rem; transition: border-color .3s, box-shadow .3s; -webkit-appearance: none; appearance: none;
}
.form input[type="password"]:focus, .form input[type="search"]:focus, .form input[type="url"]:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(104, 94, 255, .14); }
.field.has-error input[type="password"] { border-color: #E5484D; background: #FFF8F8; }
.check.has-error input { border-color: #E5484D; }
.btn-danger { background: #D93036; color: #fff; }
.btn-danger:hover { background: #B8262B; }
.btn-danger::after { border-color: #D93036; }

.prose { display: grid; gap: 16px; max-width: 46em; color: var(--text-2); font-size: 1.06rem; line-height: 1.75; }
.prose strong { color: var(--text); }
.prose-wide { max-width: 60em; margin-top: 36px; }
.statement-text-sm { font-size: clamp(1.6rem, 3.4vw, 2.9rem); }
.feature-card-link { display: block; color: inherit; }
.feature-card-link h3 { color: var(--text); }
.narrow-card { max-width: 720px; }
.footer-operator { margin-top: 10px; font-size: .9rem; color: var(--on-dark-3); }
.footer-operator a { color: var(--on-dark-2); }

.legal-small { margin-top: 10px; font-size: .88rem; color: var(--text-3); }
.legal-list { display: grid; gap: 8px; margin: 0 0 16px; padding-left: 1.2em; list-style: disc; color: var(--text-2); line-height: 1.7; }
.legal-list li::marker { color: var(--brand); }
.legal-box { margin: 40px 0; padding: 26px 28px; border-radius: var(--radius); background: var(--brand-50); border: 1px solid var(--brand-100); }
.legal-box h2 { margin-top: 0 !important; }
.legal-box p { margin-bottom: 0; }
.legal-box-top { margin-top: 0; }
.legal-box p + p { margin-top: 12px; }
.legal-text h3 { margin: 30px 0 10px; font-size: 1.08rem; font-weight: 750; letter-spacing: -.01em; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-list-num { list-style: decimal; }
.legal-list .legal-list { margin: 8px 0 0; }
.legal-table { width: 100%; margin: 0 0 18px; border-collapse: collapse; font-size: .95rem; color: var(--text-2); line-height: 1.6; }
.legal-table th, .legal-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table th { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.legal-meta { font-size: .92rem; color: var(--text-3); }
.section-dark .prose { color: var(--on-dark-2); }
.section-dark .prose strong { color: #fff; }
.section-dark .note { color: var(--on-dark-2); }
.section-dark .note .icon { color: var(--brand-300); }

@media (max-width: 980px) {
    .platform-grid { grid-template-columns: minmax(0, 1fr); }
    .clearing-step.is-clearing { translate: 0 0; }
}
@media (max-width: 760px) {
    .form-grid-3 { grid-template-columns: minmax(0, 1fr); }
    .device-tabs { justify-self: stretch; }
    .device-tabs button { flex: 1 1 auto; justify-content: center; }
    .device-tabs button small { display: none; }
}
