/* ==========================================================================
   leap42 — Site-Stylesheet
   Erzeugt aus clients/leap42/design/design-system/ (Token-Layer unverändert).
   Schriften: leap42-fonts.css (lokal eingebettet, kein Google-Request).
   ========================================================================== */


/* ==== tokens/colors.css ==== */
/* ==========================================================================
   leap42 — Colors

   The system is monochrome with two signal colors. Everything structural is
   a hairline or a surface step; color is reserved for state.

   Layer 1  PRIMITIVE  one neutral ramp, void (0) → paper (1000)
   Layer 2  SEMANTIC   purpose aliases — inverted wholesale by `.light`
   Layer 3  COMPONENT  see components.css
   ========================================================================== */

:root {
  /* ---------- LAYER 1 · PRIMITIVE ------------------------------------- */

  /* Neutral ramp. Dark end first — this is a dark-native brand.
     Every step below appears in the source landing page. */
  --n-0:    #050505;  /* void — page ground */
  --n-50:   #0d0d0d;
  --n-100:  #1a1a1a;  /* raised surface (cards on dark) */
  --n-200:  #222222;  /* raised surface, hover */
  --n-300:  #333333;  /* hairline on dark */
  --n-400:  #4d4d4d;
  --n-500:  #666666;
  --n-600:  #777777;
  --n-700:  #a0a0a0;  /* body copy on dark */
  --n-750:  #bbbbbb;
  --n-800:  #cccccc;
  --n-850:  #dddddd;  /* hairline on light */
  --n-880:  #d5d5d5;
  --n-900:  #e0e0e0;
  --n-950:  #e8e8e8;  /* raised surface (cards on light) */
  --n-1000: #f0f0f0;  /* paper — never pure white */

  /* Signal. Two colors, used sparingly and always to mean something. */
  --signal-green: #00ff41;  /* live · active · focus · cursor */
  --signal-blue:  #4a9eff;  /* in progress · secondary state */

  /* Signal at opacity — for glows, rails and dimmed marks. */
  --signal-green-40: rgba(0, 255, 65, 0.40);
  --signal-green-15: rgba(0, 255, 65, 0.15);
  --signal-blue-40:  rgba(74, 158, 255, 0.40);

  /* Atmosphere — the two texture overlays that carry the terminal feel. */
  --scanline: rgba(0, 0, 0, 0.03);
  --ghost:    rgba(255, 255, 255, 0.015); /* the oversized watermark numeral in the hero */

  /* ---------- LAYER 2 · SEMANTIC · DARK (default) ---------------------- */

  --surface:              var(--n-0);
  --surface-raised:       var(--n-100);
  --surface-raised-hover: var(--n-200);
  --surface-inset:        var(--n-100);   /* input wells */

  --text-primary:   var(--n-1000);
  --text-secondary: var(--n-700);   /* body copy */
  --text-muted:     var(--n-500);   /* nav, labels, meta */
  --text-faint:     var(--n-300);   /* index numbers, coordinates, tags */

  --hairline:        var(--n-300);
  --hairline-strong: var(--n-500);

  --accent:      var(--signal-green);
  --accent-soft: var(--signal-green-40);
  --accent-alt:  var(--signal-blue);

  --focus-ring: var(--signal-green);

  /* Inverse pair — for elements that must oppose the current surface,
     e.g. the solid newsletter button or a rule that reads as "ink". */
  --ink:    var(--n-1000);
  --ink-on: var(--n-0);
}

/* ---------- LAYER 2 · SEMANTIC · LIGHT (section-level inversion) --------
   `.light` is not a user preference — it is a compositional device. Sections
   alternate to give the page its rhythm. Same tokens, mirrored ramp. */

.light {
  --surface:              var(--n-1000);
  --surface-raised:       var(--n-950);
  --surface-raised-hover: var(--n-900);
  --surface-inset:        var(--n-950);

  --text-primary:   var(--n-0);
  --text-secondary: var(--n-500);
  --text-muted:     var(--n-600);
  --text-faint:     var(--n-800);

  --hairline:        var(--n-850);
  --hairline-strong: var(--n-750);

  --ink:    var(--n-0);
  --ink-on: var(--n-1000);

  /* Signal green is illegible on paper. On light surfaces, state is carried
     by the ink pair instead — see readme.md → Flags. */
  --accent: var(--n-0);
}


/* ==== tokens/typography.css ==== */
/* ==========================================================================
   leap42 — Typography

   Two faces, no third. The unusual move: JetBrains Mono is the *body* face,
   not an accent. Everything reads like a terminal buffer; Bebas Neue breaks
   that rhythm at display sizes.

   Rule of thumb — Bebas is ALWAYS uppercase and ALWAYS letter-spaced.
   Mono is never letter-spaced above 1px except in overline/tag roles.
   ========================================================================== */

:root {
  --font-display: 'Bebas Neue', 'Oswald', 'Haettenschweiler', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --font-body:    var(--font-mono);  /* deliberate — see above */

  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-bold:     700;

  /* ---------- DISPLAY (Bebas Neue) ------------------------------------
     Fluid, because these exist to fill the viewport edge to edge. */

  --text-hero-size:   clamp(64px, 13vw, 200px);
  --text-hero-line:   0.88;
  --text-hero-track:  4px;

  --text-statement-size:  clamp(52px, 10vw, 150px);
  --text-statement-line:  0.9;
  --text-statement-track: 4px;

  --text-cta-size:   clamp(52px, 9vw, 130px);
  --text-cta-line:   0.9;
  --text-cta-track:  4px;

  --text-section-size:  clamp(44px, 7vw, 88px);
  --text-section-line:  1;
  --text-section-track: 3px;

  --text-venture-size:  48px;
  --text-venture-line:  1;
  --text-venture-track: 3px;

  --text-h3-size:  26px;   /* service card titles */
  --text-h3-track: 2px;

  --text-h4-size:  18px;   /* tech tiles, newsletter */
  --text-h4-track: 2px;

  --text-h5-size:  14px;   /* footer column heads */
  --text-h5-track: 2px;

  /* ---------- BODY (JetBrains Mono) -----------------------------------
     Small by design. 13px base is the terminal register — do not scale it
     up "for readability" without revisiting the whole system. */

  --text-body-size: 13px;
  --text-body-line: 1.6;

  --text-copy-size: 12px;   /* the workhorse — descriptions, quotes, answers */
  --text-copy-line: 1.8;
  --text-copy-weight: var(--fw-light);

  --text-copy-relaxed-line: 1.9;  /* section intros, FAQ answers */

  --text-small-size: 11px;  /* nav links, meta, captions */
  --text-small-line: 1.6;

  --text-micro-size: 10px;  /* index numbers, coordinates, legal */
  --text-micro-line: 1.4;
  --text-micro-track: 1px;

  /* ---------- ROLE TRACKING -------------------------------------------- */
  --track-tag:   2px;   /* uppercase status tags */
  --track-label: 1px;   /* nav, section numbers, buttons */
}


/* ==== tokens/layout.css ==== */
/* ==========================================================================
   leap42 — Layout, Motion, Elevation

   Two structural rules define the brand more than any color does:

     1. RADIUS IS ZERO.  Everything is a hard rectangle. The only curves in
        the system are genuine circles (status dots, avatars) and the single
        12px tech-grid mosaic.
     2. THERE ARE NO SHADOWS.  Depth comes from 1px hairlines and surface
        steps. Adding a shadow anywhere breaks the look immediately.
   ========================================================================== */

:root {
  /* ---------- SPACING · 4px base -------------------------------------- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-7:  28px;
  --space-8:  32px;
  --space-9:  36px;
  --space-10: 40px;
  --space-11: 44px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-30: 120px;
  --space-40: 160px;

  /* ---------- PAGE FRAME ----------------------------------------------- */
  --gutter:        40px;   /* 20px below 900px */
  --gutter-mobile: 20px;
  --nav-height:    60px;

  --section-y:         var(--space-30);  /* 120px — standard section */
  --section-y-mobile:  var(--space-20);  /* 80px */
  --section-y-tall:    var(--space-40);  /* 160px — statement & CTA */
  --section-y-tall-mobile: var(--space-24);

  --measure-copy:  480px;  /* section descriptions */
  --measure-prose: 600px;  /* FAQ answers */
  --measure-faq:   760px;  /* FAQ column */
  --measure-form:  400px;  /* newsletter */

  /* ---------- RADIUS · effectively zero -------------------------------- */
  --radius-none: 0;
  --radius-tile: 12px;  /* tech-grid mosaic only */
  --radius-icon: 10px;  /* tech tile icon chip only */
  --radius-full: 50%;   /* status dots, avatars */

  /* ---------- BORDERS --------------------------------------------------- */
  --border-hairline: 1px solid var(--hairline);
  --border-accent:   3px;   /* the card top-rail that wipes in on hover */
  --border-cta:      2px;   /* CTA link underline */
  --stroke-text:     2px;   /* -webkit-text-stroke on outlined display type */

  /* ---------- ELEVATION -------------------------------------------------
     Intentionally empty. Kept as a token so the absence is explicit and
     tooling has something to point at. */
  --shadow-none: none;

  /* ---------- MOTION ---------------------------------------------------- */
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);  /* the house curve */
  --ease-step: steps(28);                       /* typing effect */

  --dur-instant: 200ms;
  --dur-fast:    250ms;
  --dur-base:    300ms;
  --dur-mid:     350ms;
  --dur-slow:    450ms;
  --dur-reveal:  800ms;
  --dur-wipe:    500ms;   /* card top-rail */

  /* Scroll-reveal stagger */
  --stagger-1: 80ms;
  --stagger-2: 160ms;
  --stagger-3: 240ms;
  --stagger-4: 320ms;
}


/* ==== tokens/components.css ==== */
/* ==========================================================================
   leap42 — Component Tokens (Layer 3)

   Per-component knobs. Every value here resolves through the semantic layer,
   so a section flipping to `.light` re-themes components for free.
   ========================================================================== */

:root {
  /* ---------- NAV -------------------------------------------------------- */
  --nav-bg:            rgba(5, 5, 5, 0.88);
  --nav-blur:          16px;
  --nav-border:        var(--hairline);
  --nav-link-color:    var(--text-muted);
  --nav-link-hover:    var(--text-primary);
  --nav-link-prefix:   '// ';

  /* ---------- BUTTON ----------------------------------------------------- */
  /* Outline — the default action. Inverts to solid on hover. */
  --btn-outline-bg:          transparent;
  --btn-outline-fg:          var(--text-primary);
  --btn-outline-border:      var(--hairline);
  --btn-outline-hover-bg:    var(--ink);
  --btn-outline-hover-fg:    var(--ink-on);

  /* Solid — reserved for form submits. */
  --btn-solid-bg:       var(--ink);
  --btn-solid-fg:       var(--ink-on);
  --btn-solid-hover-op: 0.85;

  --btn-padding-y:  12px;
  --btn-padding-x:  20px;
  --btn-padding-y-sm: 8px;
  --btn-padding-x-sm: 20px;
  --btn-font-size:  12px;
  --btn-track:      var(--track-label);
  --btn-radius:     var(--radius-none);

  /* ---------- CARD (service) --------------------------------------------- */
  --card-padding:      48px 32px;
  --card-border:       var(--hairline);
  --card-hover-bg:     var(--surface-raised);
  --card-rail-height:  var(--border-accent);
  --card-rail-color:   var(--ink);
  --card-idx-color:    var(--text-faint);
  --card-idx-gap:      36px;

  /* ---------- VENTURE ROW ------------------------------------------------- */
  --venture-py:            40px;
  --venture-gap:           36px;
  --venture-cols:          1fr 340px 100px;
  --venture-hover-indent:  16px;
  --venture-track:         var(--text-venture-track);
  --venture-track-hover:   6px;
  --venture-desc-width:    340px;

  /* ---------- STATUS DOT --------------------------------------------------- */
  --dot-size:      6px;
  --dot-live:      var(--signal-green);
  --dot-build:     var(--signal-blue);
  --dot-pulse-dur: 2s;

  /* ---------- TECH TILE ---------------------------------------------------- */
  --tile-grid-bg:     var(--n-800);
  --tile-gap:         1px;
  --tile-radius:      var(--radius-tile);
  --tile-bg:          var(--n-900);
  --tile-hover-bg:    var(--n-880);
  --tile-padding:     40px 28px;
  --tile-icon-size:   44px;
  --tile-icon-bg:     var(--n-750);
  --tile-icon-radius: var(--radius-icon);

  /* ---------- TESTIMONIAL ---------------------------------------------------- */
  --testi-bg:        var(--surface-raised);
  --testi-hover-bg:  var(--surface-raised-hover);
  --testi-padding:   40px 32px;
  --testi-gap:       1px;
  --testi-star:      var(--signal-green);
  --testi-avatar:    36px;

  /* ---------- FAQ ------------------------------------------------------------ */
  --faq-py:          24px;
  --faq-border:      var(--hairline);
  --faq-icon:        18px;
  --faq-max-height:  300px;
  --faq-hover-op:    0.7;

  /* ---------- INPUT ---------------------------------------------------------- */
  --input-bg:            var(--surface-inset);
  --input-border:        var(--hairline);
  --input-focus-border:  var(--focus-ring);
  --input-fg:            var(--text-primary);
  --input-placeholder:   var(--text-faint);
  --input-padding:       12px 16px;
  --input-radius:        var(--radius-none);

  /* ---------- CTA LINK -------------------------------------------------------- */
  --cta-size:        15px;
  --cta-border:      var(--border-cta);
  --cta-gap:         10px;
  --cta-gap-hover:   18px;
  --cta-hover-color: var(--accent);

  /* ---------- FOOTER ----------------------------------------------------------- */
  --footer-cols:  1.5fr repeat(4, 1fr);
  --footer-gap:   40px;
  --footer-pt:    56px;
}


/* ==== tokens/base.css ==== */
/* ==========================================================================
   leap42 — Base

   Reset, page ground, the two atmosphere effects (scanlines + watermark),
   the scroll-reveal contract and the shared keyframes.
   ========================================================================== */

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

html { scroll-behavior: smooth; }

body {
  background: var(--surface);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--signal-green); color: var(--n-0); }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* ---------- ATMOSPHERE · SCANLINES -----------------------------------------
   A fixed 4px repeating overlay across the whole viewport. Subtle enough to
   read as CRT texture, never as a pattern. Apply once, on <body>. */

.scanlines::after,
body.scanlines::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent, transparent 2px,
    var(--scanline) 2px, var(--scanline) 4px
  );
}

/* ---------- SECTION GROUND --------------------------------------------------
   `.light` flips the semantic layer (tokens/colors.css). These two lines are
   all the wiring a section needs. */

.section-ground { background: var(--surface); color: var(--text-primary); }
.light          { background: var(--surface); color: var(--text-primary); }

/* ---------- SCROLL REVEAL ---------------------------------------------------
   Elements start at `.rv` and gain `.v` via IntersectionObserver.
   Stagger siblings with .rv-d1 … .rv-d4. */

.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-reveal) var(--ease),
              transform var(--dur-reveal) var(--ease);
}
.rv.v { opacity: 1; transform: translateY(0); }

.rv-d1 { transition-delay: var(--stagger-1); }
.rv-d2 { transition-delay: var(--stagger-2); }
.rv-d3 { transition-delay: var(--stagger-3); }
.rv-d4 { transition-delay: var(--stagger-4); }

/* ---------- KEYFRAMES -------------------------------------------------------- */

@keyframes fu     { from { opacity: 0; transform: translateY(18px); }
                    to   { opacity: 1; transform: translateY(0); } }
@keyframes blink  { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes pulse  { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes typing { from { width: 0; } to { width: 18em; } }
@keyframes caret  { from, to { border-color: var(--signal-green); }
                    50%      { border-color: transparent; } }

/* ---------- REDUCED MOTION ----------------------------------------------------
   The typing effect and pulsing dots are decorative. Honour the preference. */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .rv { opacity: 1; transform: none; }
}


/* ==== styles.css · shared primitives ==== */
/* ==========================================================================
   leap42 Design System — single entry point

   Link this one file. It pulls in every token layer in dependency order.

     <link rel="stylesheet" href="styles.css">
   ========================================================================== */

/* ---------- SHARED PRIMITIVES ----------------------------------------------
   Small, unavoidable repeats that every surface needs. Anything larger lives
   in components/ as a React primitive. */

/* Display type — Bebas is always caps, always tracked. */
.display  { font-family: var(--font-display); text-transform: uppercase; }

/* Outlined display type. Used once or twice per page, never more.
   NB: the stroke color must be explicit. `currentColor` resolves against the
   element's own computed `color`, which is `transparent` here — the outline
   would vanish. Always name the token. */
.stroke {
  -webkit-text-stroke: var(--stroke-text) var(--text-primary);
  color: transparent;
}

/* Hairline rule. */
.hr { border: 0; border-top: var(--border-hairline); }

/* Terminal prompt line. */
.prompt { color: var(--text-muted); font-size: var(--text-small-size); }
.prompt .sigil { color: var(--signal-green); }

/* Blinking block cursor — the logo's tell. */
.cursor {
  display: inline-block; width: 2px; height: 20px;
  background: var(--signal-green); margin-left: 3px;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}


/* ==== ui_kits/website · Layout ==== */

  /* =====================================================================
     Every rule below reads from the token layer. The original page needed
     25 `.light .x { … }` overrides to invert its sections; this needs none,
     because `.light` re-points the semantic tokens instead.
     ===================================================================== */

  /* ---------- NAV ---------- */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 0 var(--gutter); height: var(--nav-height);
    display: flex; justify-content: space-between; align-items: center;
    background: var(--nav-bg);
    backdrop-filter: blur(var(--nav-blur));
    border-bottom: 1px solid var(--n-300);
  }
  .logo { font-family: var(--font-display); font-size: 28px;
          letter-spacing: 2px; text-transform: uppercase; color: var(--n-1000); }
  nav ul { list-style: none; display: flex; gap: var(--space-7); }
  nav a { color: var(--n-500); font-size: var(--text-small-size);
          letter-spacing: var(--track-label); transition: color var(--dur-instant); }
  nav a::before { content: var(--nav-link-prefix); color: var(--n-300); }
  nav a:hover { color: var(--n-1000); }
  .nav-cta { padding: 8px 20px; border: 1px solid var(--n-300);
             font-family: var(--font-mono); font-size: var(--text-small-size);
             color: var(--n-1000); letter-spacing: var(--track-label);
             transition: all var(--dur-fast); }
  .nav-cta::before { content: none; }
  .nav-cta:hover { background: var(--n-1000); color: var(--n-0); border-color: var(--n-1000); }

  /* ---------- HERO ---------- */
  .hero { min-height: 100vh; display: flex; flex-direction: column;
          justify-content: flex-end;
          padding: 0 var(--gutter) var(--space-14); position: relative; overflow: hidden; }
  .hero-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
             font-family: var(--font-display); font-size: clamp(200px, 32vw, 520px);
             color: var(--ghost); letter-spacing: 20px;
             white-space: nowrap; pointer-events: none; user-select: none; }
  .hero-term { font-size: var(--text-small-size); color: var(--text-muted);
               margin-bottom: var(--space-7); opacity: 0;
               animation: fu .6s var(--ease) .2s forwards; }
  .hero-term .pr { color: var(--signal-green); }
  .hero-term .typing { display: inline-block; overflow: hidden; white-space: nowrap;
                       border-right: 2px solid var(--signal-green); width: 0;
                       animation: typing 2s var(--ease-step) .8s forwards,
                                  caret .7s step-end infinite; }
  .hero h1 { font-family: var(--font-display); font-size: var(--text-hero-size);
             line-height: var(--text-hero-line); letter-spacing: var(--text-hero-track);
             text-transform: uppercase; opacity: 0;
             animation: fu .7s var(--ease) .5s forwards; }
  .hero h1 .stroke { -webkit-text-stroke: var(--stroke-text) var(--text-primary);
                     color: transparent; }
  .hero-bottom { display: flex; justify-content: space-between; align-items: flex-end;
                 margin-top: var(--space-11); padding-top: var(--space-5);
                 border-top: 1px solid var(--hairline);
                 opacity: 0; animation: fu .6s var(--ease) .8s forwards; }
  .hero-bottom p { max-width: 400px; color: var(--text-secondary);
                   font-size: var(--text-copy-size); line-height: var(--text-copy-line);
                   font-weight: var(--fw-light); }
  .hero-coords { font-size: var(--text-micro-size); color: var(--text-faint);
                 text-align: right; letter-spacing: var(--track-label); }
  .hero-feats { display: flex; gap: var(--space-7); margin-top: var(--space-7);
                opacity: 0; animation: fu .6s var(--ease) 1s forwards; }
  .hero-feat { display: flex; align-items: center; gap: var(--space-2);
               font-size: var(--text-small-size); color: var(--text-faint);
               letter-spacing: .5px; }
  .hero-feat svg { width: 14px; height: 14px; color: var(--signal-green); opacity: .7; }

  /* ---------- SECTION SHELL ---------- */
  .section { padding: var(--section-y) var(--gutter);
             background: var(--surface); color: var(--text-primary); }
  .sec-head { display: flex; align-items: baseline; gap: var(--space-5);
              margin-bottom: var(--space-16); }
  .sec-num { font-size: var(--text-small-size); color: var(--text-faint);
             letter-spacing: var(--track-label); flex-shrink: 0; }
  .sec-title { font-family: var(--font-display); font-size: var(--text-section-size);
               letter-spacing: var(--text-section-track); text-transform: uppercase;
               line-height: var(--text-section-line); }
  .sec-desc { color: var(--text-secondary); font-size: var(--text-copy-size);
              line-height: var(--text-copy-relaxed-line); max-width: var(--measure-copy);
              margin-top: var(--space-3); font-weight: var(--fw-light); }
  .sec-center { text-align: center; }
  .sec-center .sec-title { margin: 0 auto var(--space-3); }
  .sec-center .sec-desc { margin: 0 auto var(--space-16); max-width: 520px; }

  /* ---------- SERVICE CARDS ---------- */
  .cards { display: grid; grid-template-columns: repeat(3, 1fr); }
  .card { padding: var(--card-padding); border: 1px solid var(--hairline);
          border-right: none; position: relative;
          transition: background var(--dur-base); }
  .card:last-child { border-right: 1px solid var(--hairline); }
  .card::after { content: ''; position: absolute; top: 0; left: 0;
                 height: var(--card-rail-height); width: 0; background: var(--ink);
                 transition: width var(--dur-wipe) var(--ease); }
  .card:hover { background: var(--surface-raised); }
  .card:hover::after { width: 100%; }
  .card-idx { font-size: var(--text-micro-size); color: var(--text-faint);
              letter-spacing: var(--track-label); margin-bottom: var(--card-idx-gap);
              display: block; }
  .card h3 { font-family: var(--font-display); font-size: var(--text-h3-size);
             letter-spacing: var(--text-h3-track); text-transform: uppercase;
             margin-bottom: var(--space-3); }
  .card p { font-size: var(--text-copy-size); line-height: var(--text-copy-line);
            font-weight: var(--fw-light); color: var(--text-secondary); }

  /* ---------- VENTURES ---------- */
  .v-list { display: flex; flex-direction: column; }
  .v-row { display: grid; grid-template-columns: var(--venture-cols);
           gap: var(--venture-gap); align-items: center;
           padding: var(--venture-py) 0; border-bottom: 1px solid var(--hairline);
           transition: padding-left var(--dur-mid) var(--ease); }
  .v-row:first-child { border-top: 1px solid var(--hairline); }
  .v-row:hover { padding-left: var(--venture-hover-indent); }
  .v-name { font-family: var(--font-display); font-size: var(--text-venture-size);
            letter-spacing: var(--venture-track); text-transform: uppercase;
            transition: letter-spacing var(--dur-mid); }
  .v-row:hover .v-name { letter-spacing: var(--venture-track-hover); }
  .v-desc { color: var(--text-secondary); font-size: var(--text-copy-size);
            line-height: var(--text-copy-line); font-weight: var(--fw-light); }
  .v-tag { font-size: var(--text-micro-size); text-transform: uppercase;
           letter-spacing: var(--track-tag); color: var(--text-faint); text-align: right;
           display: flex; align-items: center; justify-content: flex-end; gap: var(--space-2); }
  .v-dot { width: var(--dot-size); height: var(--dot-size); border-radius: var(--radius-full);
           background: var(--dot-live); animation: pulse var(--dot-pulse-dur) ease-in-out infinite; }
  .v-dot.b { background: var(--dot-build); }

  /* ---------- TECH ---------- */
  .tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--tile-gap);
               background: var(--tile-grid-bg); border-radius: var(--tile-radius);
               overflow: hidden; }
  .tech-item { background: var(--tile-bg); padding: var(--tile-padding);
               text-align: center; transition: background var(--dur-base); }
  .tech-item:hover { background: var(--tile-hover-bg); }
  .tech-icon { width: var(--tile-icon-size); height: var(--tile-icon-size);
               margin: 0 auto var(--space-4); display: flex; align-items: center;
               justify-content: center; border-radius: var(--tile-icon-radius);
               background: var(--tile-icon-bg); color: var(--n-0); }
  .tech-icon svg { width: 22px; height: 22px; }
  .tech-item h4 { font-family: var(--font-display); font-size: var(--text-h4-size);
                  letter-spacing: var(--text-h4-track); text-transform: uppercase;
                  margin-bottom: var(--space-1); color: var(--n-0); }
  .tech-item p { font-size: var(--text-small-size); line-height: var(--text-small-line);
                 font-weight: var(--fw-light); color: var(--n-600); }

  /* ---------- STATEMENT ---------- */
  .statement { padding: var(--section-y-tall) var(--gutter); position: relative;
               overflow: hidden; background: var(--surface); color: var(--text-primary); }
  .statement-code { position: absolute; top: 0; right: 0; font-size: var(--text-micro-size);
                    line-height: 1.4; color: var(--text-faint); max-width: 50%;
                    padding: var(--gutter); white-space: pre-wrap; overflow: hidden;
                    max-height: 100%; pointer-events: none; user-select: none; opacity: .45; }
  .statement h2 { font-family: var(--font-display); font-size: var(--text-statement-size);
                  line-height: var(--text-statement-line);
                  letter-spacing: var(--text-statement-track);
                  text-transform: uppercase; max-width: 800px; position: relative; z-index: 2; }
  .statement h2 .stroke { -webkit-text-stroke: var(--stroke-text) var(--text-primary);
                          color: transparent; }
  .statement-sub { margin-top: var(--space-10); max-width: 440px;
                   color: var(--text-muted); font-size: var(--text-copy-size);
                   line-height: var(--text-copy-relaxed-line); font-weight: var(--fw-light);
                   position: relative; z-index: 2; }

  /* ---------- TESTIMONIALS ---------- */
  .testi-grid { display: grid; grid-template-columns: repeat(3, 1fr);
                gap: var(--testi-gap); background: var(--hairline); overflow: hidden; }
  .testi-card { background: var(--testi-bg); padding: var(--testi-padding);
                display: flex; flex-direction: column; justify-content: space-between;
                transition: background var(--dur-base); }
  .testi-card:hover { background: var(--testi-hover-bg); }
  .testi-stars { display: flex; gap: 2px; margin-bottom: var(--space-5); }
  .testi-stars svg { width: 12px; height: 12px; fill: var(--testi-star); }
  .testi-quote { font-size: var(--text-copy-size); line-height: var(--text-copy-line);
                 color: var(--text-secondary); font-weight: var(--fw-light);
                 margin-bottom: var(--space-7); flex: 1; font-style: italic; }
  .testi-author { display: flex; align-items: center; gap: var(--space-3); }
  .testi-avatar { width: var(--testi-avatar); height: var(--testi-avatar);
                  border-radius: var(--radius-full); background: var(--hairline);
                  display: flex; align-items: center; justify-content: center;
                  font-size: var(--text-copy-size); font-weight: var(--fw-bold);
                  color: var(--text-muted); }
  .testi-name { font-size: var(--text-copy-size); font-weight: var(--fw-medium);
                color: var(--text-primary); }
  .testi-role { font-size: var(--text-micro-size); color: var(--text-muted);
                font-weight: var(--fw-light); }

  /* ---------- FAQ ---------- */
  .faq-list { max-width: var(--measure-faq); margin: 0 auto; }
  .faq-item { border-bottom: 1px solid var(--hairline); }
  .faq-item:first-child { border-top: 1px solid var(--hairline); }
  .faq-q { width: 100%; background: none; border: none; padding: var(--faq-py) 0;
           font-family: var(--font-mono); font-size: var(--text-body-size);
           font-weight: var(--fw-medium); display: flex; justify-content: space-between;
           align-items: center; text-align: left; cursor: pointer;
           color: var(--text-primary); transition: opacity var(--dur-fast); }
  .faq-q:hover { opacity: var(--faq-hover-op); }
  .faq-q svg { width: var(--faq-icon); height: var(--faq-icon); flex-shrink: 0;
               transition: transform var(--dur-mid) var(--ease); color: var(--text-muted); }
  .faq-q.open svg { transform: rotate(45deg); }
  .faq-a { max-height: 0; overflow: hidden;
           transition: max-height var(--dur-slow) var(--ease), padding var(--dur-slow) var(--ease); }
  .faq-a.open { max-height: var(--faq-max-height); padding-bottom: var(--faq-py); }
  .faq-a p { font-size: var(--text-copy-size); color: var(--text-secondary);
             line-height: var(--text-copy-relaxed-line); font-weight: var(--fw-light);
             max-width: var(--measure-prose); }

  /* ---------- CTA ---------- */
  .cta-section { padding: var(--section-y-tall) var(--gutter); text-align: center;
                 border-top: 1px solid var(--hairline);
                 background: var(--surface); color: var(--text-primary); }
  .cta-section h2 { font-family: var(--font-display); font-size: var(--text-cta-size);
                    letter-spacing: var(--text-cta-track); line-height: var(--text-cta-line);
                    text-transform: uppercase; margin-bottom: var(--space-6); }
  .cta-section > p { color: var(--text-secondary); font-size: var(--text-copy-size);
                     line-height: var(--text-copy-relaxed-line); font-weight: var(--fw-light);
                     max-width: 420px; margin: 0 auto var(--space-10); }
  .cta-link { font-weight: var(--fw-medium); font-size: var(--cta-size);
              color: var(--text-primary); padding: 14px 0;
              border-bottom: var(--cta-border) solid var(--text-primary);
              display: inline-flex; align-items: center; gap: var(--cta-gap);
              transition: all var(--dur-base); }
  .cta-link:hover { gap: var(--cta-gap-hover); border-color: var(--cta-hover-color);
                    color: var(--cta-hover-color); }
  .cta-link span { transition: transform var(--dur-base); }
  .cta-link:hover span { transform: translateX(4px); }

  /* ---------- NEWSLETTER ---------- */
  .nl-wrap { margin: var(--space-16) auto 0; padding-top: var(--space-12);
             border-top: 1px solid var(--hairline); max-width: var(--measure-form); }
  .nl-wrap h4 { font-family: var(--font-display); font-size: 20px;
                letter-spacing: var(--text-h4-track); text-transform: uppercase;
                margin-bottom: var(--space-1); }
  .nl-sub { font-size: var(--text-small-size); color: var(--text-muted);
            margin-bottom: var(--space-4); }
  .nl-f { display: flex; gap: var(--space-2); }
  .nl-f input { flex: 1; padding: var(--input-padding); background: var(--input-bg);
                border: 1px solid var(--input-border); color: var(--input-fg);
                font-family: var(--font-mono); font-size: var(--text-copy-size);
                outline: none; border-radius: var(--input-radius);
                transition: border-color var(--dur-fast); }
  .nl-f input::placeholder { color: var(--input-placeholder); }
  .nl-f input:focus { border-color: var(--input-focus-border); }
  .nl-f button { padding: var(--btn-padding-y) var(--btn-padding-x);
                 background: var(--btn-solid-bg); color: var(--btn-solid-fg);
                 border: none; font-family: var(--font-mono);
                 font-size: var(--text-copy-size); font-weight: var(--fw-medium);
                 cursor: pointer; transition: opacity var(--dur-instant);
                 border-radius: var(--btn-radius); }
  .nl-f button:hover { opacity: var(--btn-solid-hover-op); }

  /* ---------- FOOTER ---------- */
  footer { border-top: 1px solid var(--hairline);
           padding: var(--footer-pt) var(--gutter) var(--space-7);
           background: var(--surface); color: var(--text-primary); }
  .f-grid { display: grid; grid-template-columns: var(--footer-cols);
            gap: var(--footer-gap); margin-bottom: var(--space-14); }
  .f-logo { font-family: var(--font-display); font-size: 22px;
            letter-spacing: var(--text-h5-track); text-transform: uppercase;
            margin-bottom: var(--space-2); }
  .f-brand p { font-size: var(--text-small-size); color: var(--text-muted);
               line-height: 1.7; font-weight: var(--fw-light); max-width: 240px; }
  .f-col h5 { font-family: var(--font-display); font-size: var(--text-h5-size);
              letter-spacing: var(--text-h5-track); text-transform: uppercase;
              margin-bottom: var(--space-3); color: var(--text-primary); }
  .f-col p, .f-col a { display: block; font-size: var(--text-small-size);
                       color: var(--text-muted); line-height: 2;
                       transition: color var(--dur-instant); font-weight: var(--fw-light); }
  .f-col a:hover { color: var(--text-primary); }
  .f-sep { width: 20px; height: 1px; background: var(--hairline); margin: 6px 0; }
  .f-bot { display: flex; justify-content: space-between; align-items: center;
           padding-top: var(--space-5); border-top: 1px solid var(--hairline);
           flex-wrap: wrap; gap: var(--space-3); }
  .f-bot span { font-size: var(--text-micro-size); color: var(--text-faint); }
  .f-legal { display: flex; gap: var(--space-5); }
  .f-legal a { font-size: var(--text-micro-size); color: var(--text-faint);
               transition: color var(--dur-instant); }
  .f-legal a:hover { color: var(--text-muted); }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 1024px) {
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .testi-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 900px) {
    nav { padding: 0 var(--gutter-mobile); }
    nav ul { display: none; }
    .hero { padding: 0 var(--gutter-mobile) var(--space-10); }
    .hero h1 { letter-spacing: 1px; }
    .hero-bottom { flex-direction: column; gap: var(--space-4); }
    .hero-coords { text-align: left; }
    .hero-feats { flex-direction: column; gap: var(--space-3); }
    .section { padding: var(--section-y-mobile) var(--gutter-mobile); }
    .sec-head { flex-direction: column; gap: var(--space-2); }
    .cards { grid-template-columns: 1fr; }
    /* Fixed: the source page set `border-right: 1px solid` with no color here,
       so the seam inherited currentColor and flashed white. */
    .card { border-right: 1px solid var(--hairline); }
    .v-row { grid-template-columns: 1fr; gap: var(--space-2); }
    .v-name { font-size: 32px; }
    .v-tag { justify-content: flex-start; }
    .statement { padding: var(--section-y-tall-mobile) var(--gutter-mobile); }
    .statement-code { display: none; }
    .cta-section { padding: var(--section-y-tall-mobile) var(--gutter-mobile); }
    .f-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-7); }
    footer { padding: var(--space-10) var(--gutter-mobile) var(--space-5); }
    .f-bot { flex-direction: column; align-items: flex-start; }
    .nl-f { flex-direction: column; }
    .tech-grid { grid-template-columns: 1fr; }
  }


/* ==========================================================================
   ERGÄNZUNG 1 · Kontrast
   readme.md → Flag 3 listet drei gemessene WCAG-Verstöße und lässt die
   Entscheidung offen. Für eine öffentliche Seite ist sie hiermit getroffen:
   der dort vorgeschlagene Minimal-Fix, der den Look nicht verändert.
   ========================================================================== */
:root {
  --text-muted: #8a8a8a;   /* war #666 · 3.55:1 → 5.42:1 (AA)  · Nav, Labels */
  --text-faint: #5c5c5c;   /* war #333 · 1.61:1 → 2.92:1       · Dekor       */
}
.light {
  --text-faint: var(--n-700);  /* war #ccc · 1.41:1 → 2.52:1   · Index-Ziffern */
  --text-muted: var(--n-500);  /* war #777 · 3.93:1 → 5.03:1 (AA) auf Papier   */
}

/* Das UI-Kit greift an einigen Stellen an der semantischen Ebene vorbei direkt
   auf die Primitive (--n-500/--n-600) zu; dort wirkt das Umhängen der Tokens
   oben nicht. Diese Stellen tragen Information — Navigation, USP-Zeile,
   Status, Fließtext, Rechtszeile — und werden einzeln auf AA gehoben.
   Bewusst NICHT angefasst: .sec-num, .card-idx und .statement-code. Die sind
   reine Dekoration (der Code-Block ist zusätzlich aria-hidden), ihr
   Zurücktreten ist die erklärte Absicht des Systems. */
nav a,
.hero-feat,
.hero-coords,
.v-tag,
.f-bot span,
.f-legal a { color: var(--text-muted); }
.f-legal a:hover, nav a:hover { color: var(--text-primary); }
.tech-item p { color: var(--n-400); }   /* Kachelgrund ist #e0e0e0, nicht #e8e8e8:
                                           #666 ergäbe nur 4.35:1 → #4d4d4d = 6.7:1 */


/* ==========================================================================
   ERGÄNZUNG 2 · CURRENT STATE
   Ersetzt die Testimonial-Sektion der Vorlage (deren Stimmen erfunden waren).
   Bewusst ein anderes Muster als Cards/Rows/Tiles: ein Zähler-Trio über einer
   Key-Value-Matrix — Terminal-Readout statt Sozialbeweis.
   ========================================================================== */
.state-figures {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.state-fig { padding: var(--space-8) var(--space-4); text-align: center;
             border-right: 1px solid var(--hairline); }
.state-fig:last-child { border-right: none; }
.state-num { font-family: var(--font-display); font-size: clamp(56px, 9vw, 104px);
             line-height: .85; letter-spacing: 2px; display: block; }
.state-num .unit { color: var(--text-faint); }
.state-lbl { font-size: var(--text-micro-size); letter-spacing: var(--track-tag);
             color: var(--text-muted); text-transform: uppercase;
             margin-top: var(--space-4); display: block; }
.state-matrix { max-width: var(--measure-faq); margin: var(--space-14) auto 0; }
.state-row { display: grid; grid-template-columns: 200px 1fr; gap: var(--space-5);
             padding: var(--space-3) 0; border-bottom: 1px solid var(--hairline);
             align-items: baseline; }
.state-row:first-child { border-top: 1px solid var(--hairline); }
.state-key { font-size: var(--text-small-size); letter-spacing: var(--track-label);
             color: var(--text-muted); text-transform: uppercase; }
.state-val { font-size: var(--text-copy-size); line-height: var(--text-copy-line);
             font-weight: var(--fw-light); color: var(--text-secondary); }
.state-val .on { color: var(--signal-green); }
/* Newsletter ohne Backend: derselbe Solid-Button, aber ein echter mailto-Link.
   Ein Eingabefeld, das Adressen entgegennimmt und verwirft, wäre eine Lüge. */
.nl-btn { display: inline-flex; align-items: center; gap: var(--cta-gap);
          padding: var(--btn-padding-y) var(--btn-padding-x);
          background: var(--btn-solid-bg); color: var(--btn-solid-fg);
          font-family: var(--font-mono); font-size: var(--text-copy-size);
          font-weight: var(--fw-medium); border-radius: var(--btn-radius);
          transition: opacity var(--dur-instant), gap var(--dur-base); }
.nl-btn:hover { opacity: var(--btn-solid-hover-op); gap: var(--cta-gap-hover); }

@media (max-width: 900px) {
  .state-figures { grid-template-columns: 1fr; }
  .state-fig { border-right: none; border-bottom: 1px solid var(--hairline);
               padding: var(--space-6) var(--space-4); }
  .state-fig:last-child { border-bottom: none; }
  .state-row { grid-template-columns: 1fr; gap: var(--space-1); }
}


/* ==========================================================================
   ERGÄNZUNG 3 · Elementor-Canvas-Reset + Rechtstexte
   Die Seite ist ein einzelnes HTML-Widget auf Elementor Canvas. Der Reset
   neutralisiert nur die Wrapper-Constraints; gestaltet wird ausschließlich hier.
   ========================================================================== */
body.elementor-page, body { background: var(--surface); }
.elementor-widget-html,
.elementor-widget-html > .elementor-widget-container,
.e-con, .e-con-inner, .e-child, .elementor-element {
  max-width: none; margin: 0; padding: 0;
}
.e-con > .e-con-inner { --content-width: none; }

/* Auf den Rechtsseiten ist das Logo ein Link nach "/". Ohne diese Regel setzt
   `nav a::before` ihm das "// " der Menüpunkte voran — das Logo ist aber kein
   Menüpunkt. */
.nav-home::before { content: none; }

/* Der Fragetext im FAQ-Button steckt in einem <span>, damit er ein echtes
   Flex-Item ist: als anonymes Item schrumpfte er nicht unter seine
   max-content-Breite und schob unter ~330px das nicht schrumpfende Plus-Icon
   aus dem Container (bei 320px um 30px). `min-width: 0` hebt die
   auto-Mindestbreite auf, erst dadurch greift der Umbruch. */
.faq-q { gap: var(--space-4); }
.faq-q > span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }

/* ---------- Rechtstexte (Impressum / Datenschutz) ---------- */
.legal { padding: calc(var(--nav-height) + var(--space-14)) var(--gutter) var(--space-16);
         background: var(--surface); color: var(--text-primary); }
.legal-inner { max-width: var(--measure-faq); margin: 0 auto; }
.legal h1 { font-family: var(--font-display); font-size: var(--text-section-size);
            letter-spacing: var(--text-section-track); text-transform: uppercase;
            line-height: var(--text-section-line); margin-bottom: var(--space-3);
            /* "DATENSCHUTZERKLÄRUNG" ist ein unteilbares Kompositum und lief auf
               390px 52px über den Container. Weil body overflow-x:hidden hat,
               wurde es nicht umbrochen, sondern abgeschnitten ("…ERKLÄRU").
               Trennung erlauben statt Text verlieren. */
            overflow-wrap: anywhere; hyphens: auto; }
.legal-lead { color: var(--text-secondary); font-size: var(--text-copy-size);
              line-height: var(--text-copy-relaxed-line); font-weight: var(--fw-light);
              padding-bottom: var(--space-8); border-bottom: 1px solid var(--hairline);
              margin-bottom: var(--space-10); }
.legal h2 { font-family: var(--font-display); font-size: var(--text-h3-size);
            letter-spacing: var(--text-h3-track); text-transform: uppercase;
            margin: var(--space-14) 0 var(--space-4); padding-top: var(--space-5);
            border-top: 1px solid var(--hairline); }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-family: var(--font-mono); font-size: var(--text-body-size);
            font-weight: var(--fw-medium); letter-spacing: var(--track-label);
            margin: var(--space-7) 0 var(--space-2); color: var(--text-primary); }
.legal p, .legal li { font-size: var(--text-copy-size); line-height: var(--text-copy-relaxed-line);
                      font-weight: var(--fw-light); color: var(--text-secondary);
                      max-width: var(--measure-prose); }
/* Der Lead ist ebenfalls ein <p> und erbt sonst die Lesebreite der Fließtexte —
   seine Trennlinie wäre dann kürzer als alle Sektionslinien darunter. Er trägt
   die Struktur, nicht den Lesefluss. Braucht `.legal`-Präfix, sonst schlägt die
   Regel oben (0-1-1) die Klasse allein (0-1-0). */
.legal .legal-lead { max-width: none; }
.legal p + p { margin-top: var(--space-3); }
.legal ul { list-style: none; margin: var(--space-3) 0; }
.legal li { position: relative; padding-left: var(--space-5); }
.legal li::before { content: '—'; position: absolute; left: 0; color: var(--text-faint); }
.legal li + li { margin-top: var(--space-2); }
.legal a { color: var(--text-primary); border-bottom: 1px solid var(--text-faint);
           transition: border-color var(--dur-fast); }
.legal a:hover { border-color: var(--signal-green); }
.legal-dl { margin: var(--space-3) 0; }
.legal-dl div { display: grid; grid-template-columns: 200px 1fr; gap: var(--space-5);
                padding: var(--space-2) 0; border-bottom: 1px solid var(--hairline); }
.legal-dl dt { font-size: var(--text-small-size); letter-spacing: var(--track-label);
               color: var(--text-muted); text-transform: uppercase; }
.legal-dl dd { font-size: var(--text-copy-size); font-weight: var(--fw-light);
               color: var(--text-secondary); }
.legal-updated { margin-top: var(--space-14); padding-top: var(--space-5);
                 border-top: 1px solid var(--hairline);
                 font-size: var(--text-micro-size); color: var(--text-faint);
                 letter-spacing: var(--track-label); }
@media (max-width: 900px) {
  .legal { padding: calc(var(--nav-height) + var(--space-10)) var(--gutter-mobile) var(--space-14); }
  .legal-dl div { grid-template-columns: 1fr; gap: var(--space-1); }
  /* Zusätzlich die Grösse zurücknehmen: mit Trennung allein bräche die
     Überschrift zwar nicht mehr aus, aber mitten im Wort. Bei 8vw passt
     "DATENSCHUTZERKLÄRUNG" in eine Zeile; die Trennung oben bleibt das Netz
     für noch schmalere Geräte. */
  .legal h1 { font-size: clamp(26px, 8vw, 44px); }
}
