@charset "UTF-8";
/* ==========================================================================
   ROLLA Web Engine · Design Tokens
   Quelle: Figma phV1E12vUa880SFGBqF9uN, Seite "Rolla-rollout",
           Section 904:1449 "10 · CHECKOUT & ONBOARDING · Stand 01.11.2026"
           Komponenten 904:2382 "ROLLA Web · Components"
   Ausgelesen am 18.11.2026 (Werte 1:1 aus den Figma-Knoten, siehe spec/FIGMA_SPEC.md).
   Motion: ROLLA-Live-CSS (rolla.media) + Motion-Regeln aus dem Second Brain
           (STYLEGUIDE_PRINZIPIEN_SCAN_TO_READY, SCAN_TO_READY_FLOW_MOTION).
   Nicht in Figma, sondern Vorgabe aus Andrews Feedback 18.11.: --color-highlight-*
   ========================================================================== */

/* Fonts: lokal hosten (DM Sans, Work Sans). Dateien in /assets/fonts/ ablegen,
   @font-face-Blöcke stehen am Ende dieser Datei und greifen erst, wenn die
   Dateien da sind. Fallbacks sind gesetzt. */

:root {
  /* ---------- Farben (Figma, Hex 1:1) ---------- */
  --color-magenta: #ff00ff;          /* ROLLA-Magenta: CTA, Akzent, Claim, aktive Auswahl */
  --color-ink: #171717;              /* Text, dunkle Flächen, Footer, Pfeilkreis */
  --color-ink-2: #2d2d2d;            /* Chat-Blase, Chip-Rahmen, Footer-Trennlinie, Rechtstext */
  --color-text: #171717;
  --color-text-muted: #5e5e5e;       /* Fließtext, Beschreibungen, Eyebrows */
  --color-text-subtle: #8c8c8c;      /* Meta, Platzhalter, Footer-Kleingedrucktes, Schritt-Nr. */
  --color-text-on-dark: #ffffff;
  --color-text-on-dark-muted: #d2d2d2;
  --color-line-strong: #d2d2d2;      /* Input-Rand, Tabellenzeilen, Upload-Rahmen (gestrichelt) */
  --color-line: #e7e7e7;             /* Option-Card-Rand, FAQ-Trenner, Divider */
  --color-bg: #f4f4f4;               /* Seitenhintergrund, Notizen, Tags neutral */
  --color-surface: #ffffff;          /* Karten, Nav-Pille, Inputs */
  --color-mockup-bg: #d1d1d1;        /* Hintergrund Vorschau-Mockup */
  --color-warn-bg: #fff4d6;          /* Hinweis-Box (z. B. /vorschau "Garantie endet") */
  --color-magenta-tint: #ffd1ff;     /* Illustrations-Akzent hell (20.4) */

  /* Hervorhebung "Was sich für eure Kunden ändert" (Andrew 18.11.: rosa) */
  --color-highlight-bg: #ffd1ff;
  --color-highlight-text: #171717;
  --color-highlight-accent: #ff00ff;

  /* Semantik */
  --color-focus: #ff00ff;
  --color-selected-border: #171717;  /* gewählte Option: 2px Ink-Rand */
  --color-emphasis-border: #ff00ff;  /* Bestell-/Live-Karte: 2px Magenta-Rand */

  /* ---------- Schriften ---------- */
  --font-display: "DM Sans", "Helvetica Neue", Arial, sans-serif;  /* Headlines, Titel, Preise, Claim */
  --font-body: "Work Sans", "Helvetica Neue", Arial, sans-serif;   /* Fließtext, UI, Buttons, Labels */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;

  /* ---------- Typo-Skala Desktop (px aus Figma @1440) ---------- */
  /* Display / Headlines: DM Sans SemiBold, Tracking negativ */
  --fs-claim: 120px;     --lh-claim: 1;      --ls-claim: -0.075em;   /* "Let's rolla." Footer */
  --fs-display-xl: 110px;--lh-display-xl: 0.982; --ls-display-xl: -0.055em; /* /websites Hero */
  --fs-display-l: 85px;  --lh-display-l: 1.024;  --ls-display-l: -0.055em;  /* H1 Seiten + Footer-CTA */
  --fs-display-price: 96px; --lh-display-price: 1; --ls-display-price: -0.042em; /* "399 €" Preiskarte */
  --fs-h1-legal: 72px;   --lh-h1-legal: 1.014;   --ls-h1-legal: -0.055em;
  --fs-h2: 56px;         --lh-h2: 1.071;         --ls-h2: -0.039em;
  --fs-h2-s: 48px;       --lh-h2-s: 1.083;       --ls-h2-s: -0.0375em;
  --fs-h3-xl: 40px;      --lh-h3-xl: 1.025;      --ls-h3-xl: -0.055em;   /* "Alles gut?" */
  --fs-h3-l: 32px;       --lh-h3-l: 1.094;       --ls-h3-l: -0.04em;     /* Danke-Schritte */
  --fs-h3: 27px;         --lh-h3: 1.185;         --ls-h3: -0.03em;       /* Karten-Titel App */
  --fs-h4: 24px;         --lh-h4: 1.167;         --ls-h4: -0.042em;      /* Schritt-Titel */
  --fs-h5: 20px;         --lh-h5: 1.3;           --ls-h5: -0.03em;       /* FAQ-Frage, Vorteil-Karte */
  --fs-h6: 18px;         --lh-h6: 1.333;         --ls-h6: -0.028em;      /* Option-Card-Titel */
  --fs-title-s: 16px;    --lh-title-s: 1.375;                            /* Befund-Zeile, Upload-Titel */

  /* Body: Work Sans */
  --fs-lead-l: 20px;     --lh-lead-l: 1.5;    /* Danke-Lead */
  --fs-lead: 17px;       --lh-lead: 1.588;    /* Hero-Lead rechts */
  --fs-body-l: 16px;     --lh-body-l: 1.625;  /* Seiten-Intro, Rechtstext (lh 27px) */
  --fs-body: 15px;       --lh-body: 1.467;    /* Karten-Text, Inputs */
  --fs-body-s: 14px;     --lh-body-s: 1.5;    /* Beschreibungen, Footer-Links */
  --fs-ui: 13px;         --lh-ui: 1.385;      /* Nav-Links, Labels, Help-Link (Medium) */
  --fs-caption: 12px;    --lh-caption: 1.417; /* Meta, Tag (SemiBold) */
  --fs-micro: 11px;      --lh-micro: 1.545;   /* Eyebrow, Schritt-Nr., Footer-Legal */
  --fs-button: 16px;     --lh-button: 1.375;  /* Button-Label Work Sans Medium */
  --ls-eyebrow: 0.1em;       /* Marketing-Seiten: 11/16 SemiBold UPPERCASE, Tracking 10 %, #5e5e5e */
  --ls-eyebrow-app: 0.164em; /* App-/Legal-Seiten: 11/17 SemiBold UPPERCASE, Tracking 1.8px, #171717 */

  /* Mobile-Skala (Figma 17-M @390) */
  --fs-claim-m: 64px;    --ls-claim-m: -0.047em;
  --fs-display-m: 50px;  --lh-display-m: 1.06;  --ls-display-m: -0.035em;
  --fs-h2-m: 34px;       --lh-h2-m: 1.06;       --ls-h2-m: -0.035em;
  --fs-price-m: 50px;

  /* ---------- Abstände ---------- */
  --space-2: 2px; --space-4: 4px; --space-6: 6px; --space-8: 8px; --space-10: 10px;
  --space-12: 12px; --space-14: 14px; --space-16: 16px; --space-18: 18px; --space-20: 20px;
  --space-24: 24px; --space-28: 28px; --space-32: 32px; --space-36: 36px; --space-40: 40px;
  --space-48: 48px; --space-56: 56px; --space-60: 60px; --space-64: 64px; --space-72: 72px;
  --space-80: 80px; --space-96: 96px; --space-120: 120px;

  --page-max: 1440px;              /* Frame-Breite */
  --content-max: 1344px;           /* 1440 − 2 × 48 */
  --gutter: 48px;                  /* Seitenrand Desktop */
  --gutter-m: 20px;                /* Seitenrand Mobile */
  --nav-inset: 32px;               /* Nav schwebt 32px vom Rand (1376 breit) */
  --nav-top: 24px;
  --page-top-app: 194px;           /* Abstand oben App-/Legal-Seiten (unter schwebender Nav) */
  --section-y: 72px;               /* Marketing-Sektion oben/unten */
  --section-y-variant: 64px;       /* Varianten-Seiten */
  --section-y-m: 36px;
  --hero-y: 96px;
  --stack-section: 28px;           /* Eyebrow → H2 → Inhalt */
  --stack-app: 56px;               /* Blöcke auf App-Seiten (64 Checkout/Danke/Legal) */
  --grid-gap: 16px;                /* Karten-Raster */
  --grid-gap-l: 24px;              /* Spalten App */
  --card-pad: 36px;                /* App-Karten */
  --card-pad-m: 28px;              /* Vorteil-Karten */
  --card-pad-stat: 32px;

  /* ---------- Radien ---------- */
  --radius-pill: 99px;     /* Buttons, Inputs, Nav, Tags, Chips, Launcher */
  --radius-xl: 28px;       /* App-Karten, Preiskarte, Kennzahl-Karten, Dunkel-Blöcke */
  --radius-l: 24px;        /* Vorteil-Karten, Bild-Platzhalter, Chat-Widget, Hilfe-Box */
  --radius-m: 20px;        /* Upload-Kachel */
  --radius-option: 18px;   /* Option Card, Garantie-Box */
  --radius-s: 16px;        /* Notizen, Stepper-Item, Chat-Blase, Vorschau-Bild */
  --radius-xs: 12px;       /* Browser-Leiste */
  --radius-checkbox: 6px;
  --radius-circle: 50%;

  /* ---------- Rahmen ---------- */
  --border-hair: 1px;
  --border: 1.5px;         /* Input, Secondary-Button, Option Card, Checkbox, Help-Icon */
  --border-strong: 2px;    /* Fokus-Input, gewählte Option, Magenta-Rahmen Bestellung/Live */
  --border-step: 1.5px;    /* Linie über Schritt (Ink oder Magenta) */
  --icon-stroke: 1.7px;    /* Streamline Flex Line, nicht skalierend (Figma 1.714) */

  /* ---------- Schatten (Figma) ---------- */
  --shadow-launcher: 0 8px 24px rgba(0, 0, 0, 0.25);   /* Chat Launcher */
  --shadow-chat: 0 12px 32px rgba(0, 0, 0, 0.25);      /* Chat-Widget offen */
  --shadow-none: none;                                  /* Karten haben keinen Schatten */

  /* ---------- Komponenten-Maße ---------- */
  --btn-h: 52px;
  --btn-pad: 6px 6px 6px 24px;
  --btn-gap: 14px;
  --btn-arrow: 40px;               /* Pfeilkreis im Button */
  --arrow-circle-xl: 110px;        /* Footer-CTA */
  --input-h: 56px;
  --input-pad-x: 20px;
  --nav-h: 80px;
  --nav-h-m: 51px;
  --launcher-h: 56px;
  --icon-s: 16px; --icon-m: 20px; --icon-l: 28px; --icon-xl: 32px;

  /* ---------- Motion ---------- */
  --ease-out: cubic-bezier(.22, .61, .36, 1);      /* Standard (rolla.media Reveal) */
  --ease-out-strong: cubic-bezier(.2, .7, .2, 1);  /* Pfeil, Hover-Bewegung */
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-xs: 120ms;
  --dur-hover: 200ms;     /* Hover nur per CSS */
  --dur-s: 250ms;
  --dur-m: 400ms;
  --dur-l: 700ms;
  --dur-reveal: 800ms;
  --stagger: 60ms;        /* Versatz zwischen Karten */
  --reveal-distance: 24px;
}

/* ---------- Mobile-Overrides (Figma 17-M, 390 breit) ---------- */
@media (max-width: 767px) {
  :root {
    --gutter: var(--gutter-m);
    --section-y: var(--section-y-m);
    --section-y-variant: var(--section-y-m);
    --hero-y: 48px;
    --page-top-app: 112px;
    --fs-claim: var(--fs-claim-m); --ls-claim: var(--ls-claim-m);
    --fs-display-xl: var(--fs-display-m); --lh-display-xl: var(--lh-display-m); --ls-display-xl: var(--ls-display-m);
    --fs-display-l: var(--fs-display-m);  --lh-display-l: var(--lh-display-m);  --ls-display-l: var(--ls-display-m);
    --fs-h1-legal: 44px;
    --fs-h2: var(--fs-h2-m); --lh-h2: var(--lh-h2-m); --ls-h2: var(--ls-h2-m);
    --fs-h2-s: 30px;
    --fs-display-price: var(--fs-price-m);
    --card-pad: 22px;
    --card-pad-stat: 24px;
  }
}

/* ==========================================================================
   Reveal-Utilities
   Nutzung: Element bekommt .reveal (oder .reveal-up / -fade / -scale / -clip /
   -line). Ein Script setzt .is-visible, sobald 15 % sichtbar sind (einmalig),
   z. B. per IntersectionObserver({threshold:.15}). Gruppen: .reveal-stagger
   auf dem Elternteil, Kinder bekommen automatisch Versatz (oder --i manuell).
   Ohne JS (.no-js oder fehlendes Script) bleibt alles sichtbar, weil die
   Ausgangszustände nur unter html.js greifen.
   Nur transform/opacity. Footer-Link "Bewegung pausieren" setzt
   html[data-motion="off"].
   ========================================================================== */

html.js .reveal,
html.js .reveal-up,
html.js .reveal-fade,
html.js .reveal-scale,
html.js .reveal-clip,
html.js .reveal-line > * {
  transition:
    opacity var(--dur-reveal) var(--ease-out),
    transform var(--dur-reveal) var(--ease-out),
    clip-path var(--dur-reveal) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger));
  will-change: opacity, transform;
}

html.js .reveal,
html.js .reveal-up      { opacity: 0; transform: translate3d(0, var(--reveal-distance), 0); }
html.js .reveal-fade    { opacity: 0; }
html.js .reveal-scale   { opacity: 0; transform: scale(.96); }
html.js .reveal-clip    { clip-path: inset(0 0 100% 0 round var(--radius-l)); }
html.js .reveal-line { clip-path: inset(-.35em -.25em -.08em -.25em); } /* Platz für Ä Ö Ü und Oberlängen */
html.js .reveal-line > * { display: block; transform: translate3d(0, 105%, 0); }

html.js .is-visible.reveal,
html.js .is-visible.reveal-up,
html.js .is-visible.reveal-fade,
html.js .is-visible.reveal-scale { opacity: 1; transform: none; }
html.js .is-visible.reveal-clip  { clip-path: inset(0 0 0 0 round var(--radius-l)); }
html.js .is-visible.reveal-line > * { transform: none; }

/* Stagger: bis zu 8 Kinder automatisch versetzt */
.reveal-stagger > :nth-child(1) { --i: 0; }
.reveal-stagger > :nth-child(2) { --i: 1; }
.reveal-stagger > :nth-child(3) { --i: 2; }
.reveal-stagger > :nth-child(4) { --i: 3; }
.reveal-stagger > :nth-child(5) { --i: 4; }
.reveal-stagger > :nth-child(6) { --i: 5; }
.reveal-stagger > :nth-child(7) { --i: 6; }
.reveal-stagger > :nth-child(8) { --i: 7; }
.reveal-line > :nth-child(2) { --i: 1; }
.reveal-line > :nth-child(3) { --i: 2; }

/* Hover: Pfeil im Kreis dreht von → auf ↗ (Figma State=Hover) */
.arrow-circle svg,
.btn .arrow svg {
  transition: transform var(--dur-s) var(--ease-out-strong);
}
.btn:hover .arrow svg,
.btn:focus-visible .arrow svg,
a:hover > .arrow-circle svg,
.arrow-circle:hover svg { transform: rotate(-45deg); }

/* Fortschritts-Balken (/start-Wizard) */
.progress-bar > i {
  display: block;
  height: 100%;
  transform-origin: left center;
  transition: transform var(--dur-m) var(--ease-out);
}

/* Count-up-Zahlen: nur Klasse für Script, keine CSS-Animation nötig */
.count-up { font-variant-numeric: tabular-nums; }

/* Reduced Motion und "Bewegung pausieren": alles sofort sichtbar, keine Bewegung */
@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .reveal-up, html.js .reveal-fade, html.js .reveal-scale,
  html.js .reveal-clip, html.js .reveal-line > * {
    opacity: 1 !important; transform: none !important; clip-path: none !important;
    transition: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
html[data-motion="off"] .reveal, html[data-motion="off"] .reveal-up,
html[data-motion="off"] .reveal-fade, html[data-motion="off"] .reveal-scale,
html[data-motion="off"] .reveal-clip, html[data-motion="off"] .reveal-line > * {
  opacity: 1 !important; transform: none !important; clip-path: none !important;
  transition: none !important;
}
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after {
  animation: none !important;
  transition-duration: 0.01ms !important;
}

/* ==========================================================================
   Lokale Fonts (DM Sans 600, Work Sans 400/500/600). Dateien nach
   /assets/fonts/ legen (woff2, Latin inkl. Umlaute). Bis dahin greifen die
   Fallbacks bzw. eine bereits geladene Webfont.
   ========================================================================== */
@font-face { font-family: "DM Sans";  font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/dm-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/work-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/work-sans-500.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/work-sans-600.woff2") format("woff2"); }
