/* =============================================================
   ReloCrate — Landingpage
   Baut auf tokens.css der WebApp auf. Framework-frei.
   ============================================================= */

/* ---- Reset / Base ------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: var(--fs-md);
    line-height: var(--lh-base);
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent-soft); color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius-xs); }

* { scrollbar-width: thin; scrollbar-color: var(--n-300) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: var(--n-300); border-radius: 99px; border: 3px solid transparent; background-clip: content-box; }

.skip-link {
    position: absolute; left: -999px; top: 8px; z-index: 200;
    background: var(--surface); color: var(--text-strong);
    padding: 10px 16px; border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.skip-link:focus { left: 16px; }

/* ---- Hintergrund-Glows (wie App) ---------------------------- */
.bg-glow { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-glow::before, .bg-glow::after {
    content: ""; position: absolute; border-radius: 50%; filter: blur(100px);
}
.bg-glow::before {
    width: 680px; height: 680px; top: -280px; right: -140px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    opacity: 0.30;
}
.bg-glow::after {
    width: 560px; height: 560px; top: 40%; left: -180px;
    background: radial-gradient(circle, rgba(31,168,144,0.22), transparent 70%);
    opacity: 0.22;
}

/* ---- Layout-Helfer ------------------------------------------ */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
main { position: relative; z-index: 1; }
.grad {
    background: linear-gradient(120deg, var(--accent), #7A7FE0 55%, var(--accent-2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; letter-spacing: -0.01em; }
.link { color: var(--accent); font-weight: 500; }
.link:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }

.prose {
    max-width: 68ch; margin-inline: auto; text-align: center;
    font-size: var(--fs-md); line-height: var(--lh-base); color: var(--text-muted);
}

.badge {
    display: inline-flex; align-items: center;
    font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.1em;
    font-size: var(--fs-xs); font-weight: 600;
    padding: 4px 11px; border-radius: var(--radius-pill);
    background: var(--accent-soft); color: var(--accent);
    border: 1px solid var(--accent-line);
}

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); text-transform: uppercase;
    letter-spacing: 0.16em; font-weight: 600; font-size: var(--fs-xs);
    color: var(--accent);
}
.eyebrow .ic { width: 15px; height: 15px; }

/* ---- Icons -------------------------------------------------- */
.ic { width: 22px; height: 22px; flex-shrink: 0; }
.ic--sm { width: 16px; height: 16px; }
.ic--xs { width: 13px; height: 13px; }
.ic--lg { width: 26px; height: 26px; }

/* ---- Buttons (aus App abgeleitet) --------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 46px; padding: 0 var(--space-6);
    border: 1px solid transparent; border-radius: var(--radius);
    font-weight: 600; font-size: var(--fs-base); letter-spacing: 0.01em;
    white-space: nowrap; transition: background var(--dur) var(--ease),
        border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease),
        box-shadow var(--dur) var(--ease); cursor: pointer;
}
.btn .ic { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn--primary {
    background: var(--accent); color: var(--text-on-accent);
    box-shadow: 0 8px 22px var(--accent-glow);
}
.btn--primary:hover { background: var(--accent-hover); box-shadow: 0 12px 30px var(--accent-glow); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: var(--surface); color: var(--text-strong); border-color: var(--hairline-strong); }
.btn--ghost:hover { border-color: var(--n-300); background: var(--surface-2); transform: translateY(-1px); }
.btn--lg { height: 54px; padding: 0 var(--space-8); font-size: var(--fs-md); border-radius: var(--radius-lg); }
.btn--sm { height: 40px; padding: 0 var(--space-5); font-size: var(--fs-sm); }
.btn--block { width: 100%; }

.icon-btn {
    display: inline-grid; place-items: center; width: 42px; height: 42px;
    border-radius: var(--radius); color: var(--text-muted);
    border: 1px solid transparent; transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.icon-btn:hover { background: var(--surface-hover); color: var(--text-strong); }
.icon-btn .ic { width: 20px; height: 20px; }

/* =============================================================
   NAV — schwebende Glasleiste
   ============================================================= */
/* Durchgehende Leiste über die volle Fensterbreite — der Inhalt sitzt am
   Rand, nicht im 1200er-Raster. */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
}
.nav__inner {
    display: flex; align-items: center; gap: var(--space-6);
    padding: 11px clamp(20px, 4vw, 40px);
    background: color-mix(in srgb, var(--surface) 80%, transparent);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 1px solid transparent;
    transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease),
        background var(--dur) var(--ease);
}
.nav.is-scrolled .nav__inner {
    border-bottom-color: var(--hairline);
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    box-shadow: var(--shadow-sm);
}
.nav__brand { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo { height: 30px; width: auto; }
.nav__logo--dark { display: none; }
:root[data-theme="dark"] .nav__logo--light { display: none; }
:root[data-theme="dark"] .nav__logo--dark { display: block; }

/* auto auf beiden Seiten → Links mittig, Aktionen an den rechten Rand */
.nav__links { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav__link {
    padding: 9px 14px; border-radius: var(--radius-sm);
    font-size: var(--fs-sm); font-weight: 500; color: var(--text-muted);
    transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nav__link:hover { color: var(--text-strong); background: var(--surface-hover); }
.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.ic--moon { display: none; }
:root[data-theme="dark"] .ic--sun { display: none; }
:root[data-theme="dark"] .ic--moon { display: block; }
.nav__burger, .ic--close { display: none; }

.nav__mobile { display: none; }

/* =============================================================
   HERO
   ============================================================= */
.hero { padding: clamp(120px, 16vh, 190px) 0 clamp(60px, 8vh, 90px); }
.hero__grid {
    display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 4vw, 60px);
    align-items: center;
}
.hero__eyebrow { margin-bottom: var(--space-5); }
.hero__badges {
    list-style: none; padding: 0; margin-bottom: var(--space-5);
    display: flex; flex-wrap: wrap; gap: 8px;
}
.hero__title {
    font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.005em; line-height: 0.98;
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    color: var(--text-strong);
}
/* längere Headlines aus der Content-API brauchen etwas weniger Grösse */
.hero__title--long { font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.08; }
.hero__lead {
    margin-top: var(--space-6); max-width: 46ch;
    font-size: var(--fs-md); line-height: var(--lh-base); color: var(--text-muted);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.hero__trust {
    list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-5) var(--space-6);
    margin-top: var(--space-8); padding: 0;
}
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--text-muted); }
.ic--tick { width: 18px; height: 18px; color: var(--accent-2); }

/* Hero-Artwork */
.hero__art { position: relative; min-height: 440px; display: grid; place-items: center; }
.ph3d--hero { width: min(84%, 400px); }
.ph3d.ph3d--floataway { position: absolute; width: 150px; z-index: 3; margin: 0; }
.ph3d.ph3d--tl { top: 2%; left: -3%; width: 128px; }
.ph3d.ph3d--br { bottom: 0%; right: -3%; width: 168px; }

.floatcard {
    position: absolute; z-index: 4;
    background: color-mix(in srgb, var(--surface) 90%, transparent);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--hairline); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 14px 16px;
}
.floatcard--status { right: 2%; top: 12%; width: 232px; animation: floatY 6s var(--ease) infinite; }
.floatcard__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.floatcard__code { font-size: var(--fs-xs); color: var(--text-faint); }
.floatcard__meta { margin-top: 8px; font-size: var(--fs-xs); color: var(--text-muted); }

.chip-status {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: var(--fs-xs); font-weight: 600; padding: 4px 10px;
    border-radius: var(--radius-pill); background: var(--accent-2-soft); color: var(--accent-2);
}
.chip-status .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.progress { height: 8px; border-radius: 99px; background: var(--n-100); overflow: hidden; }
.progress__fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* ---- Tilt / Parallax ----------------------------------------
   Der Zeiger wird auf der ganzen Seite ausgewertet; JS setzt die
   `translate`-Eigenschaft. Bewusst nicht `transform` — darauf liegen die
   Schwebe-Keyframes, und beide Angaben würden sich gegenseitig überschreiben. */
[data-tilt] { transition: translate 0.55s cubic-bezier(0.22, 0.61, 0.36, 1); }
@media (prefers-reduced-motion: reduce) { [data-tilt] { translate: none !important; } }

/* =============================================================
   3D-PLATZHALTER
   ============================================================= */
.ph3d { position: relative; display: grid; place-items: center; margin: 0; }
.ph3d__stage {
    position: relative; z-index: 2; width: 100%;
    filter: drop-shadow(0 24px 30px rgba(58, 63, 166, 0.28));
}
.ph3d[data-float="a"] .ph3d__stage { animation: floatY 7s var(--ease) infinite; }
.ph3d[data-float="b"] .ph3d__stage { animation: floatY 5.5s var(--ease) infinite 0.4s; }
.ph3d[data-float="c"] .ph3d__stage { animation: floatY 6.4s var(--ease) infinite 0.9s; }
.ph3d__svg, .ph3d__img { width: 100%; height: auto; }

.ph3d__glow {
    position: absolute; z-index: 0; inset: 8% 8% auto 8%; aspect-ratio: 1; margin: auto;
    background: radial-gradient(circle, var(--accent-glow), transparent 68%);
    filter: blur(34px); opacity: 0.5;
}
.ph3d__ground {
    position: absolute; z-index: 1; bottom: 4%; left: 50%; transform: translateX(-50%);
    width: 62%; height: 26px; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(20,20,30,0.22), transparent 70%);
    filter: blur(6px);
}
:root[data-theme="dark"] .ph3d__ground { background: radial-gradient(ellipse, rgba(0,0,0,0.5), transparent 70%); }

.ph3d__tag {
    position: absolute; z-index: 5; bottom: -6px; left: 50%; transform: translateX(-50%);
    font-family: var(--font-mono); font-size: 11px; color: var(--accent);
    background: var(--accent-soft); border: 1px dashed var(--accent-line);
    padding: 2px 8px; border-radius: var(--radius-pill); white-space: nowrap;
}
.ph3d.is-missing .ph3d__stage::after {
    content: "Render fehlt: assets/img/3d/ · " attr(data-ph3d);
    position: absolute; inset: 0; display: grid; place-items: center;
    font-family: var(--font-mono); font-size: 11px; color: var(--danger);
    background: var(--danger-soft); border: 1px dashed var(--danger); border-radius: var(--radius);
}

/* =============================================================
   STAT-STRIP
   ============================================================= */
.stats { padding: clamp(20px, 4vh, 40px) 0; }
.stats__grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: var(--hairline); border: 1px solid var(--hairline);
    border-radius: var(--radius-lg); overflow: hidden;
}
.stat { background: var(--surface); padding: var(--space-7) var(--space-6); }
.stat__num {
    font-family: var(--font-head); font-weight: 700; font-size: var(--fs-2xl);
    color: var(--text-strong); line-height: 1; letter-spacing: 0.01em;
}
.stat__unit { font-size: var(--fs-lg); color: var(--accent); }
.stat__label { margin-top: 10px; font-size: var(--fs-sm); color: var(--text-muted); }

/* =============================================================
   SECTIONS
   ============================================================= */
.section { padding: clamp(64px, 10vh, 120px) 0; position: relative; }
.section--alt::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--surface-2); border-block: 1px solid var(--hairline);
}
.section__head { max-width: 660px; margin: 0 auto clamp(40px, 6vh, 68px); text-align: center; }
.section__head--left, .section__title--left, .section__sub--left { text-align: left; margin-left: 0; }
.section__title {
    font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.01em; line-height: 1.04; color: var(--text-strong);
    font-size: clamp(1.9rem, 4vw, 3rem); margin-top: var(--space-4);
}
.section__title--long { font-size: clamp(1.6rem, 3.1vw, 2.35rem); line-height: 1.12; }
.section__sub { margin-top: var(--space-5); font-size: var(--fs-md); color: var(--text-muted); }
.section__head .eyebrow { justify-content: center; }
.section__head--left .eyebrow { justify-content: flex-start; }

/* ---- Feature-Grid ------------------------------------------- */
.feature-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5);
}
.feature {
    background: var(--surface); border: 1px solid var(--hairline);
    border-radius: var(--radius-lg); padding: var(--space-7);
    box-shadow: var(--shadow-xs);
    transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.feature:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow-md); }
.feature__icon {
    display: inline-grid; place-items: center; width: 52px; height: 52px;
    border-radius: var(--radius); background: var(--accent-soft); color: var(--accent);
    margin-bottom: var(--space-5);
}
.feature__icon .ic { width: 26px; height: 26px; }
.feature__title {
    font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.03em;
    font-weight: 700; font-size: var(--fs-lg); color: var(--text-strong); margin-bottom: 10px;
}
.feature__text { font-size: var(--fs-base); color: var(--text-muted); line-height: var(--lh-snug); }

/* ---- Ablauf / Steps ----------------------------------------- */
/* auto-fit: verträgt 3 oder 4 Schritte aus der Content-API gleich gut */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--space-5); }
.step {
    background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-5) var(--space-7); text-align: center;
    box-shadow: var(--shadow-xs); position: relative; overflow: hidden;
}
.step__art { height: clamp(140px, 15vw, 190px); display: grid; place-items: center; margin-bottom: var(--space-4); }
.step__art .ph3d { width: 76%; }
.step__num {
    display: inline-block; font-size: var(--fs-sm); font-weight: 500; color: var(--accent);
    background: var(--accent-soft); padding: 3px 12px; border-radius: var(--radius-pill); margin-bottom: 14px;
}
.step__title {
    font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.03em;
    font-weight: 700; font-size: var(--fs-lg); color: var(--text-strong); margin-bottom: 10px;
}
.step__text { font-size: var(--fs-base); color: var(--text-muted); max-width: 34ch; margin-inline: auto; }

/* =============================================================
   MAGIC IMPORT
   ============================================================= */
.magic { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.checklist { list-style: none; padding: 0; display: grid; gap: 12px; margin: var(--space-6) 0 var(--space-7); }
.checklist li { display: flex; align-items: center; gap: 12px; font-size: var(--fs-base); color: var(--text); }
.checklist .ic--tick { width: 20px; height: 20px; }
.checklist--muted li { color: var(--text-muted); }
.checklist--muted .ic { color: var(--accent); }

.magic__art { position: relative; }
.mockcard {
    background: var(--surface); border: 1px solid var(--hairline);
    border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); overflow: hidden;
    position: relative; z-index: 2;
}
.mockcard__head {
    display: flex; align-items: center; gap: 14px; padding: 14px 18px;
    border-bottom: 1px solid var(--hairline); background: var(--surface-2);
}
.mockcard__dots { display: inline-flex; gap: 6px; }
.mockcard__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--n-200); }
.mockcard__title { color: var(--text-muted); }
.mockcard__body { padding: var(--space-6); }

.import-row { display: flex; align-items: center; gap: 12px; margin-bottom: var(--space-5); }
.import-row__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.import-row__ico .ic { width: 20px; height: 20px; }
.import-row__bar { flex: 1; height: 8px; border-radius: 99px; background: var(--n-100); overflow: hidden; }
.import-row__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 99px; animation: fillbar 2.4s var(--ease-out) infinite; }
.import-row__pct { font-size: var(--fs-xs); color: var(--text-muted); white-space: nowrap; }

.import-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.import-list li {
    display: flex; align-items: center; gap: 12px; padding: 11px 14px;
    background: var(--surface-2); border: 1px solid var(--hairline); border-radius: var(--radius);
    font-size: var(--fs-base); color: var(--text-strong);
}
.import-list__ico { color: var(--text-faint); }
.import-list__ico .ic { width: 18px; height: 18px; }
.import-list__q { color: var(--text-muted); margin-left: auto; }
.import-badge {
    display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding: 0 8px;
    font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--accent); background: var(--accent-soft); border-radius: var(--radius-pill);
}
.import-badge--done { color: var(--accent-2); background: var(--accent-2-soft); }
.import-badge .ic { width: 12px; height: 12px; }

/* =============================================================
   SCREENSHOTS  (Bilder kommen als absolute URLs aus der Content-API)
   ============================================================= */
/* Keine Scrollleiste: die Spur wird per JS bewegt (langsames Hin und Her) und
   lässt sich ziehen. touch-action: pan-y hält das vertikale Seiten-Scrollen frei. */
.shots {
    position: relative; overflow: hidden;
    cursor: grab; touch-action: pan-y;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.shots.is-dragging { cursor: grabbing; }
.shots.is-static { cursor: default; }   /* alles sichtbar — nichts zu ziehen */
.shots:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: var(--radius-lg); }

.shots__track {
    list-style: none; margin: 0; display: flex; gap: var(--space-5);
    /* oben Luft, damit der Hover-Lift der Karten nicht am Rand abgeschnitten wird */
    padding: 10px clamp(20px, 4vw, 40px) var(--space-6);
    width: max-content;
    user-select: none; -webkit-user-select: none;
    will-change: transform;
}
.shot {
    /* an der Fensterbreite bemessen, damit die Spur breiter sein darf als der Container */
    flex: 0 0 min(78vw, 680px); margin: 0;
    background: var(--surface); border: 1px solid var(--hairline);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
        transform var(--dur) var(--ease-out);
}
.shots:not(.is-dragging) .shot:hover { border-color: var(--accent-line); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.shot img {
    width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover;
    background: var(--surface-2); -webkit-user-drag: none;
}
.shot__cap {
    padding: 12px var(--space-5); font-size: var(--fs-sm); color: var(--text-muted);
    border-top: 1px solid var(--hairline);
}

/* =============================================================
   PREISE
   ============================================================= */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); max-width: 880px; margin-inline: auto; }
.price-card {
    position: relative; background: var(--surface); border: 1px solid var(--hairline);
    border-radius: var(--radius-xl); padding: var(--space-8); box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
}
.price-card--featured { border-color: var(--accent-line); box-shadow: var(--shadow-md); }
.price-card--featured::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    box-shadow: 0 0 0 1px var(--accent-line), 0 24px 60px rgba(94,99,214,0.14);
}
.price-card--soon { background: var(--surface-2); }
.price-card__ribbon {
    position: absolute; top: var(--space-6); right: var(--space-6);
    font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.08em;
    font-size: 10px; font-weight: 700; color: var(--text-on-accent);
    background: var(--accent); padding: 4px 12px; border-radius: var(--radius-pill);
}
.price-card__ribbon--soon { background: var(--n-400); color: #fff; }
.price-card__price { margin: var(--space-4) 0 var(--space-2); font-size: var(--fs-2xl); font-weight: 700; color: var(--text-strong); }
.price-card__price .mono { font-family: var(--font-head); }
.price-card__per { font-size: var(--fs-base); font-weight: 400; color: var(--text-muted); }
.price-card__lead { color: var(--text-muted); font-size: var(--fs-base); margin-bottom: var(--space-6); }
.price-card .checklist { margin-top: 0; margin-bottom: var(--space-7); }
.price-card .btn { margin-top: auto; }
.price-card__note { margin-top: var(--space-4); font-size: var(--fs-xs); color: var(--text-faint); text-align: center; }

.donate {
    display: flex; align-items: center; gap: var(--space-5);
    max-width: 880px; margin: var(--space-8) auto 0; padding: var(--space-6) var(--space-7);
    background: var(--accent-2-soft); border: 1px solid color-mix(in srgb, var(--accent-2) 22%, transparent);
    border-radius: var(--radius-lg); color: var(--text);
}
.donate__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); color: var(--accent-2); flex-shrink: 0; }
.donate p { font-size: var(--fs-base); }

/* =============================================================
   FAQ
   ============================================================= */
.faq { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq__list { display: grid; gap: 10px; }
.faq__item { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); overflow: hidden; transition: border-color var(--dur) var(--ease); }
.faq__item[open] { border-color: var(--accent-line); }
.faq__q {
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
    padding: var(--space-5) var(--space-6); cursor: pointer; list-style: none;
    font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.02em;
    font-weight: 600; font-size: var(--fs-base); color: var(--text-strong);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__chevron { display: grid; place-items: center; color: var(--text-faint); transition: transform var(--dur) var(--ease), color var(--dur) var(--ease); }
.faq__item[open] .faq__chevron { transform: rotate(180deg); color: var(--accent); }
.faq__a { padding: 0 var(--space-6) var(--space-6); color: var(--text-muted); font-size: var(--fs-base); }

/* =============================================================
   CTA-BAND
   ============================================================= */
.cta { padding: clamp(40px, 6vh, 72px) 0 clamp(72px, 10vh, 120px); }
.cta__inner {
    position: relative; text-align: center; padding: clamp(48px, 8vw, 88px) var(--space-6);
    background:
        radial-gradient(120% 140% at 50% -20%, rgba(94,99,214,0.16), transparent 60%),
        var(--surface);
    border: 1px solid var(--accent-line); border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg); overflow: hidden;
}
.cta__art { width: 160px; margin: 0 auto var(--space-5); }
.cta__title {
    font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em;
    line-height: 1.05; font-size: clamp(1.9rem, 4.5vw, 3.2rem); color: var(--text-strong);
}
.cta__sub { margin: var(--space-5) auto 0; max-width: 46ch; color: var(--text-muted); font-size: var(--fs-md); }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-top: var(--space-8); }

/* =============================================================
   FOOTER
   ============================================================= */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--hairline); background: var(--surface); }
.footer__inner {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr; gap: var(--space-8);
    padding-block: clamp(48px, 7vh, 80px);
}
.footer__brand { max-width: 280px; }
.footer__tagline { margin-top: var(--space-4); font-size: var(--fs-sm); color: var(--text-muted); line-height: var(--lh-snug); }
.footer__made { margin-top: var(--space-5); font-size: var(--fs-sm); color: var(--text-muted); display: inline-flex; align-items: center; gap: 7px; }
.footer__heart { color: var(--danger); display: inline-grid; place-items: center; }
.footer__heart .ic { width: 15px; height: 15px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__head { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.1em; font-size: var(--fs-xs); font-weight: 600; color: var(--text-faint); margin-bottom: 4px; }
.footer__col a { font-size: var(--fs-sm); color: var(--text-muted); transition: color var(--dur-fast) var(--ease); width: fit-content; }
.footer__col a:hover { color: var(--accent); }
.footer__cta { display: flex; flex-direction: column; gap: 10px; }
.footer__ctatext { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 4px; }
.footer__bar {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding-block: var(--space-5); border-top: 1px solid var(--hairline);
    font-size: var(--fs-sm); color: var(--text-faint);
}
.footer__dot { opacity: 0.5; }

/* =============================================================
   Reveal-Animationen
   ============================================================= */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }

@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes fillbar { 0% { width: 8%; } 70% { width: 100%; } 100% { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1150px) {
    /* zwischen 900 und 1150 wird die Leiste sonst so eng, dass der rechte
       Rand aufgebraucht wird — „Anmelden" steckt auch im Mobile-Menü */
    .nav__inner { gap: var(--space-4); }
    .nav__login { display: none; }
}
@media (max-width: 950px) {
    /* letztes Stück vor dem Burger-Menü */
    .nav__link { padding-inline: 8px; }
}
@media (max-width: 1000px) {
    .footer__inner { grid-template-columns: 1fr 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; max-width: none; }
    .footer__cta { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .nav__links { display: none; }
    .nav__login { display: none; }
    /* ohne die Links fehlt der Schubser nach rechts */
    .nav__actions { margin-left: auto; }
    .nav__burger { display: inline-grid; }
    .nav.is-open .ic--burger { display: none; }
    .nav.is-open .ic--close { display: block; }

    .nav__mobile {
        display: grid; gap: 4px; padding: var(--space-4) clamp(20px, 4vw, 40px) var(--space-5);
        background: color-mix(in srgb, var(--surface) 94%, transparent);
        backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--hairline); box-shadow: var(--shadow-lg);
    }
    .nav__mobile[hidden] { display: none; }
    .nav__mobile-link { padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 500; color: var(--text); }
    .nav__mobile-link:hover { background: var(--surface-hover); }
    .nav__mobile-cta { display: grid; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--hairline); }

    .hero__grid { grid-template-columns: 1fr; gap: var(--space-10); }
    .hero__art { order: -1; min-height: 340px; }
    .ph3d--hero { width: min(70%, 320px); }
    .magic { grid-template-columns: 1fr; }
    .magic__art { order: -1; }
    .faq { grid-template-columns: 1fr; }
    .section__head--left { text-align: center; }
    .section__head--left .eyebrow { justify-content: center; }
    .section__title--left, .section__sub--left { text-align: center; }
}
@media (max-width: 560px) {
    /* Auf schmalen Geräten würde der Haupt-CTA den Burger aus der Leiste
       drängen — er steckt ohnehin im Mobile-Menü. */
    .nav__inner { gap: var(--space-4); }
    .nav__actions .btn--primary { display: none; }
}
@media (max-width: 720px) {
    .feature-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .stats__grid { grid-template-columns: 1fr 1fr; }
    .pricing { grid-template-columns: 1fr; }
    .magic__title { text-align: center; }
}
@media (max-width: 460px) {
    .stats__grid { grid-template-columns: 1fr; }
    .btn--lg { width: 100%; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
}

/* =============================================================
   CONTENT-AUDIT
   -------------------------------------------------------------
   Sanft rot unterstrichen = Inhalt steht statisch im Repo und hat
   (noch) kein Gegenstück in der PixelCraft Content-API.
   Aktiv nur solange <body class="cms-audit"> gesetzt ist
   ($CMS_AUDIT in index.php) — reine Arbeitsansicht, kein Layout.
   ============================================================= */
.cms-audit .lp-todo {
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--danger) 65%, transparent);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    text-decoration-skip-ink: auto;
}
.cms-audit .lp-todo::selection { background: var(--danger-soft); }
.cms-audit.audit-off .lp-todo { text-decoration: none; }

.audit {
    position: fixed; z-index: 150; right: 16px; bottom: 16px; width: 262px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid var(--hairline-strong); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); font-size: var(--fs-sm); color: var(--text-muted);
    overflow: hidden;
}
.audit__toggle {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 11px 14px; text-align: left;
    font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.1em;
    font-size: var(--fs-xs); font-weight: 600; color: var(--text-strong);
}
.audit__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-2); flex-shrink: 0; }
.audit__dot--stale, .audit__dot--fallback { background: #E8A559; }
.audit__dot--none { background: var(--danger); }
.audit__toggle-label { flex: 1; }
.audit__toggle::after {
    content: "−"; font-family: var(--font-mono); color: var(--text-faint); font-size: 14px;
}
.audit.is-collapsed .audit__toggle::after { content: "+"; }
.audit.is-collapsed .audit__body { display: none; }

.audit__body { padding: 0 14px 14px; border-top: 1px solid var(--hairline); padding-top: 12px; }
.audit__row { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.audit__key { color: var(--text-faint); }
.audit__val { color: var(--text); text-align: right; font-size: var(--fs-xs); }
.audit__sep { border: 0; border-top: 1px solid var(--hairline); margin: 11px 0; }
.audit__legend { font-size: var(--fs-xs); line-height: var(--lh-snug); margin-bottom: 6px; }
.audit__legend--muted { color: var(--text-faint); }
.audit__legend code { font-family: var(--font-mono); font-size: 10px; color: var(--accent); }
.audit__sample { color: var(--text-strong); }
.audit__count { font-size: var(--fs-xs); color: var(--text-faint); margin-top: 8px; }
.audit__count b { color: var(--danger); font-size: var(--fs-sm); }
.audit__off {
    margin-top: 10px; width: 100%; padding: 7px 10px;
    border: 1px solid var(--hairline-strong); border-radius: var(--radius-sm);
    font-size: var(--fs-xs); color: var(--text-muted); background: var(--surface-2);
    transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.audit__off:hover { color: var(--text-strong); border-color: var(--n-300); }

@media (max-width: 900px) {
    .audit { left: 10px; right: 10px; bottom: 10px; width: auto; }
}
@media print { .audit { display: none; } }

/* ---- Dark-Theme Feinschliff ---------------------------------- */
:root[data-theme="dark"] .nav__inner { background: color-mix(in srgb, var(--surface) 72%, transparent); }
:root[data-theme="dark"] .mockcard__dots i { background: var(--hairline-strong); }
:root[data-theme="dark"] .progress, :root[data-theme="dark"] .import-row__bar { background: var(--hairline); }
:root[data-theme="dark"] .stat__num, :root[data-theme="dark"] .price-card__price .mono { color: var(--text-strong); }
