/* ================================================================
   brand-gp.css — Gifted Procrastinator
   Brand CSS · Copy-Paste Ready
   Dark ist der Auslieferungs-Default (<html class="dark">); :root hält
   die Light-Mode-Werte, der Theme-Toggle in app.js merkt sich die Wahl.
   ================================================================

   SELF-HOSTED FONTS
   -----------------
   Kein Google-Traffic — Dateien lokal ablegen unter fonts/
   Download: https://gwfh.mranftl.com/fonts (google-webfonts-helper)

   Benötigte Dateien:
     Poppins:         poppins-400.woff2  500  600  700  800  900
     JetBrains Mono:  jetbrains-mono-400.woff2  500

   ================================================================ */

/* ----------------------------------------------------------------
   1 — FONTS (self-hosted)
   ---------------------------------------------------------------- */
@font-face { font-family:'Poppins'; font-style:normal; font-weight:400; font-display:swap; src:url('/assets/fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:500; font-display:swap; src:url('/assets/fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:600; font-display:swap; src:url('/assets/fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:700; font-display:swap; src:url('/assets/fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:800; font-display:swap; src:url('/assets/fonts/poppins-800.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:900; font-display:swap; src:url('/assets/fonts/poppins-900.woff2') format('woff2'); }
@font-face { font-family:'JetBrains Mono'; font-style:normal; font-weight:400; font-display:swap; src:url('/assets/fonts/jetbrains-mono-400.woff2') format('woff2'); }
@font-face { font-family:'JetBrains Mono'; font-style:normal; font-weight:500; font-display:swap; src:url('/assets/fonts/jetbrains-mono-500.woff2') format('woff2'); }

/* ----------------------------------------------------------------
   2 — BRAND TOKENS  (:root = Light-Mode-Basis · Site startet in .dark)
   ---------------------------------------------------------------- */
:root {
  /* Fonts */
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Type scale (static sizes — fluid headings use clamp() directly) */
  --text-2xs:  11px;   /* micro-labels: badges, code/prompt labels  */
  --text-xs:   12px;   /* eyebrow, captions                         */
  --text-sm:   13px;   /* small text, pills, footer meta            */
  --text-md:   14px;   /* nav, tags, secondary body                 */
  --text-base: 16px;   /* body copy, inputs, buttons                */
  --text-lg:   18px;   /* lead, h5, summaries                       */
  --text-xl:   20px;   /* h4                                        */

  /* Font weights */
  --weight-regular:   400;
  --weight-medium:    500;
  --weight-semibold:  600;
  --weight-bold:      700;
  --weight-extrabold: 800;
  --weight-black:     900;

  /* Spacing */
  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;  --space-4: 16px;
  --space-5: 24px;  --space-6: 32px;  --space-7: 48px;  --space-8: 64px;
  --space-9: 96px;

  /* Border Radius */
  --radius:      18px;
  --radius-sm:   12px;
  --radius-xs:   8px;
  --radius-full: 999px;

  /* Layout */
  --maxw: 1180px;
  --ease: cubic-bezier(.2, .7, .3, 1);

  /* ---- Brand-Farben (modunabhängig) ---- */
  --c-pink:     #FF2E9A;
  --c-cyan:     #29D3D9;
  --c-yellow:   #FFD11A;
  --c-pink-d:   #EC1C7D;
  --c-cyan-d:   #16AEB4;
  --c-yellow-d: #E6B400;

  /* Gradient — animiert (für .grad-text, .grad-border, .btn-grad) */
  --grad:        linear-gradient(90deg, var(--c-pink), var(--c-cyan), var(--c-yellow), var(--c-pink));
  /* Gradient — statisch (für .grad-text-static, .grad-border-static) */
  --grad-static: linear-gradient(135deg, var(--c-pink) 0%, var(--c-cyan) 50%, var(--c-yellow) 100%);

  /* ---- Oberfläche & Text (Light Mode) ---- */
  --bg:        #FFFFFF;
  --surface:   #F6F6F8;
  --surface-2: #ECECEF;
  --line:      #E3E3E8;
  --ink:       #0A0A0A;
  --ink-soft:  #525257;
  --ink-mute:  #747480;
  --accent:    var(--c-pink-ink);
  --glow:      .10;
  /* Barrierefreier Buntton-Text auf HELLEN Flächen (dunkler als die -d-Twins) */
  --c-pink-ink:   #B01463;
  --c-cyan-ink:   #0A5F63;
  --c-yellow-ink: #6E5600;

  /* ---- Code-Stage (bewusst modunabhängig dunkel — Code „sitzt" immer auf einem kleinen Bildschirm) ---- */
  --code-bg:   #0C0C10;
  --code-bar:  #16161C;
  --code-ink:  #ECECF2;

  /* Shadows */
  --shadow-sm:     0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:     0 4px 16px -4px rgba(0,0,0,.10);
  --shadow-lg:     0 20px 44px -14px rgba(0,0,0,.12);
  --shadow-accent: 0 10px 30px -8px var(--c-pink-d);
}

/* ---- Dark Mode ---- */
.dark,
[data-mode="dark"] {
  --bg:        #17171C;
  --surface:   #202028;
  --surface-2: #2A2A33;
  --line:      #35353F;
  --ink:       #FFFFFF;
  --ink-soft:  #B8B8C0;
  --ink-mute:  #8A8A93;
  --accent:    var(--c-pink);
  --glow:      .16;
  /* Auf DUNKLEN Flächen kippt Buntton-Text auf das helle Neon */
  --c-pink-ink:   var(--c-pink);
  --c-cyan-ink:   var(--c-cyan);
  --c-yellow-ink: var(--c-yellow);
  --shadow-sm:     0 1px 3px rgba(0,0,0,.25);
  --shadow-md:     0 4px 16px -4px rgba(0,0,0,.35);
  --shadow-lg:     0 20px 44px -14px rgba(0,0,0,.45);
  --shadow-accent: 0 10px 30px -8px var(--c-pink);
}

/* ----------------------------------------------------------------
   3 — RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-display);
  background: var(--bg);
  color: var(--ink);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--c-pink); color: #fff; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* ----------------------------------------------------------------
   4 — TYPOGRAFIE
   ---------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: clamp(36px, 7vw, 84px); font-weight: var(--weight-black); letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(26px, 4vw, 44px); }
h3 { font-size: clamp(20px, 3vw, 28px); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p { color: var(--ink-soft); line-height: 1.7; }
p + p { margin-top: 1em; }

small  { font-size: var(--text-sm); color: var(--ink-mute); }
strong { font-weight: var(--weight-bold); color: var(--ink); }
code   { font-family: var(--font-mono); font-size: .875em; }

/* Signatur-/Wortmarken-Akzent (Poppins — Schreibschrift wurde aus der Brand entfernt) */
.script { font-family: var(--font-display); font-weight: var(--weight-extrabold); letter-spacing: -.025em; }

/* Eyebrow-Label (Sektionsbezeichnung oben) */
.eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Lead-Text */
.lead { font-size: var(--text-lg); color: var(--ink-soft); max-width: 640px; line-height: 1.65; }

/* ----------------------------------------------------------------
   5 — GRADIENT — ANIMIERT
   ---------------------------------------------------------------- */
@keyframes gp-flow { to { background-position: 300% 50%; } }

/* Text mit animiertem Verlauf */
.grad-text {
  background: var(--grad);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gp-flow 6s linear infinite;
}

/* Hintergrund mit animiertem Verlauf */
.grad-bg {
  background: var(--grad);
  background-size: 300% 100%;
  animation: gp-flow 6s linear infinite;
}

/* Umrandung mit animiertem Verlauf (Kit-Primitiv — vorgehalten, dokumentiert im brandbook) */
.grad-border {
  position: relative;
  border-radius: var(--radius);
  background: var(--surface);
  z-index: 0;
}
.grad-border::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; padding: 2px;
  background: var(--grad);
  background-size: 300% 100%;
  animation: gp-flow 6s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

/* ----------------------------------------------------------------
   6 — GRADIENT — STATISCH  (kein Animationsloop)
   ---------------------------------------------------------------- */

/* Text mit fixem Verlauf */
.grad-text-static {
  background: var(--grad-static);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hintergrund mit fixem Verlauf */
.grad-bg-static { background: var(--grad-static); }

/* Umrandung mit fixem Verlauf (Kit-Primitiv — vorgehalten, dokumentiert im brandbook) */
.grad-border-static {
  position: relative;
  border-radius: var(--radius);
  background: var(--surface);
  z-index: 0;
}
.grad-border-static::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; padding: 2px;
  background: var(--grad-static);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

/* ----------------------------------------------------------------
   7 — ANIMIERTER SVG-GRADIENT (Glühbirne, Rakete, inline Icons)
   Klasse grad-svg-animated auf das <svg>-Element setzen.
   Voraussetzung: SVG hat interne <linearGradient> mit 3 <stop>-Elementen.
   ---------------------------------------------------------------- */
/* Welle von oben (Gelb) nach unten (Pink): stop3=oben führt, stop1=unten folgt 4s später */
@keyframes gp-svg-s { 0%,100%{stop-color:var(--c-yellow)} 33%{stop-color:var(--c-cyan)} 66%{stop-color:var(--c-pink)} }

.grad-svg-animated stop:nth-child(3) { animation: gp-svg-s 6s linear infinite  0s; }
.grad-svg-animated stop:nth-child(2) { animation: gp-svg-s 6s linear infinite -2s; }
.grad-svg-animated stop:nth-child(1) { animation: gp-svg-s 6s linear infinite -4s; }

/* ----------------------------------------------------------------
   7 — BUTTONS
   ---------------------------------------------------------------- */
.btn {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-base);
  cursor: pointer;
  white-space: nowrap;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: .25s var(--ease);
  text-decoration: none;
}
.btn:focus-visible { outline-offset: 4px; }

.btn-sm { padding: 9px 18px; font-size: var(--text-sm); }
.btn-lg { padding: 16px 34px; font-size: var(--text-lg); } /* Kit-Größe — vorgehalten */

/* Gradient — animiert · der einzige Primär-Look (Hero, Highlight, Subscribe) */
.btn-grad {
  color: #000;
  background: var(--grad);
  background-size: 300% 100%;
  animation: gp-flow 6s linear infinite;
}
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -10px var(--c-cyan); color: #000; }

/* Ghost · ruht als Fläche + Linie. Hover gleicht sich btn-outline-grad an:
   Gradient-Rand (::before) + Gradient-Text, Füllfläche bleibt.
   ponytail: Füllfläche als inset-box-shadow statt background, damit
   background-clip:text den Text einfärbt, ohne die Fläche aufzufressen —
   spart einen inneren <span> an jeder Aufrufstelle. */
.btn-ghost { position: relative; background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit; padding: 1px;
  background: var(--grad);
  background-size: 300% 100%;
  animation: gp-flow 6s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0; transition: opacity .25s var(--ease);
}
.btn-ghost:hover {
  border-color: transparent;
  background: var(--grad);
  background-size: 300% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gp-flow 6s linear infinite;
}
.btn-ghost:hover::before { opacity: 1; }

/* Outline mit animiertem Gradient-Rand */
.btn-outline-grad {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  border: none;
}
.btn-outline-grad::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit; padding: 2px;
  background: var(--grad);
  background-size: 300% 100%;
  animation: gp-flow 6s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
/* Hover: zusätzlich der Text im Gradient (Rand läuft ohnehin schon) */
.btn-outline-grad:hover {
  background: var(--grad);
  background-size: 300% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gp-flow 6s linear infinite;
}

/* Outline mit statischem Gradient-Rand (Kit-Variante — vorgehalten) */
.btn-outline-grad-static {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  border: none;
}
.btn-outline-grad-static::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit; padding: 2px;
  background: var(--grad-static);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

/* ----------------------------------------------------------------
   8 — KARTEN
   ----------------------------------------------------------------
   .card / .card-accent sind generische Kit-Primitive (Copy-Paste-
   Baukasten) — die Seiten verwenden aktuell die spezialisierte
   .tool-card. Bewusst vorgehalten, dokumentiert im brandbook.
   ---------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-6);
  transition: .3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--ink-mute);
  box-shadow: var(--shadow-md);
}

/* Karte mit Akzent-Hintergrund */
.card-accent {
  background: linear-gradient(180deg, var(--surface) 35%, color-mix(in srgb, var(--c-pink) 10%, var(--surface)));
  box-shadow: 0 14px 36px -20px color-mix(in srgb, var(--c-pink) 50%, transparent);
}

/* Tool-Karte — Akzentfarbe via --ca (+ --ca-ink: lesbarer Text-Twin, light/dark-adaptiv) */
.tool-card {
  --ca:     var(--c-pink);
  --ca-d:   var(--c-pink-d);
  --ca-ink: var(--c-pink-ink);
  border-radius: 22px;
  padding: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface) 35%, color-mix(in srgb, var(--ca) 16%, var(--surface)));
  box-shadow: 0 18px 42px -26px color-mix(in srgb, var(--ca) 65%, transparent);
  transition: .32s var(--ease);
}
.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 56px -22px color-mix(in srgb, var(--ca) 72%, transparent);
  border-color: color-mix(in srgb, var(--ca) 45%, var(--line));
}
/* Akzent-Rotation der Karten (Galerien setzen die Klasse; hier zentral, damit
   auch Seiten ohne site.css — z. B. die CS-Lab-Galerie — die Farben bekommen) */
.tc-pink   { --ca: var(--c-pink);   --ca-d: var(--c-pink-d);   --ca-ink: var(--c-pink-ink); }
.tc-cyan   { --ca: var(--c-cyan);   --ca-d: var(--c-cyan-d);   --ca-ink: var(--c-cyan-ink); }
.tc-yellow { --ca: var(--c-yellow); --ca-d: var(--c-yellow-d); --ca-ink: var(--c-yellow-ink); }
.tc-icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: color-mix(in srgb, var(--ca) 14%, transparent);
  color: var(--ca);
  display: flex; align-items: center; justify-content: center;
}
.tc-badge {
  display: inline-block;
  font-size: var(--text-2xs); font-weight: var(--weight-bold); letter-spacing: .04em; color: #fff;
  background: linear-gradient(135deg, var(--ca), var(--ca-d));
  padding: 5px 11px; border-radius: var(--radius-full);
}
/* Karten-CTA: stiller Akzent-Link statt Button — Gradient-Flächen bleiben dem
   Subscribe-CTA + einem Hero-CTA pro Seite vorbehalten (CTA-Hierarchie, s. Brandbook).
   Die ganze Karte ist das Klickziel: Stretched-Link via ::after auf der Karte. */
.tc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  width: fit-content; padding: 2px 0;
  border: none; cursor: pointer; background: none;
  font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-md);
  color: var(--ca-ink, var(--accent));
  transition: .3s var(--ease);
}
.tc-btn:hover { text-decoration: underline; text-underline-offset: 5px; }
.tool-card { position: relative; }
.tc-btn::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }
.tc-btn:focus-visible { outline: none; }
.tc-btn:focus-visible::after { outline: 2px solid var(--ca); outline-offset: 3px; }

/* ----------------------------------------------------------------
   9 — BADGES / PILLS
   ---------------------------------------------------------------- */
.pill {
  font-size: var(--text-sm); font-weight: var(--weight-semibold);
  padding: 5px 13px; border-radius: var(--radius-full);
  border: 1px solid var(--line); display: inline-block;
}
.pill-pink {
  color: var(--c-pink-ink);
  border-color: color-mix(in srgb, var(--c-pink) 50%, transparent);
  background: color-mix(in srgb, var(--c-pink) 12%, transparent);
}
.pill-cyan {
  color: var(--c-cyan-ink);
  border-color: color-mix(in srgb, var(--c-cyan) 50%, transparent);
  background: color-mix(in srgb, var(--c-cyan) 12%, transparent);
}
.pill-yellow {
  color: var(--c-yellow-ink);
  border-color: color-mix(in srgb, var(--c-yellow) 50%, transparent);
  background: color-mix(in srgb, var(--c-yellow) 12%, transparent);
}
.pill-accent {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

/* ----------------------------------------------------------------
   10 — LAYOUT
   ---------------------------------------------------------------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section    { padding: var(--space-9) 0; }
/* Flush variant: stack a section directly under the previous one (no top padding) */
.section--flush { padding-top: 0; }

/* Grid-Helfer */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-5); }
@media (max-width: 720px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* Aurora-Hintergrund für Hero-Bereiche */
.aurora { position: relative; overflow: hidden; }
.aurora::before {
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: calc(var(--glow) * 5.5);
  background:
    radial-gradient(620px 420px at 12% -5%,  color-mix(in srgb, var(--c-pink)   18%, transparent), transparent 70%),
    radial-gradient(620px 420px at 88%  0%,  color-mix(in srgb, var(--c-cyan)   14%, transparent), transparent 70%),
    radial-gradient(700px 500px at 50% 110%, color-mix(in srgb, var(--c-yellow) 10%, transparent), transparent 70%);
}
.aurora > * { position: relative; z-index: 1; }
.aurora::after {                       /* soft fade into the page — kills the hard edge before the grid */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 0; pointer-events: none;
}

/* Gradient-Trennlinie */
.divider-grad {
  height: 2px; border: none; margin: 0;
  background: var(--grad); background-size: 300% 100%;
  animation: gp-flow 6s linear infinite;
}
.divider-grad-static { height: 2px; border: none; margin: 0; background: var(--grad-static); }

/* ----------------------------------------------------------------
   11 — NAVIGATION (sticky, mit Blur)
   ---------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 16px; height: 66px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
}
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link {
  font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--ink-soft);
  padding: 7px 13px; border-radius: var(--radius-xs);
  transition: .2s;
}
.nav-link:hover    { color: var(--ink); background: var(--surface-2); }
.nav-link.active   { color: var(--ink); font-weight: var(--weight-bold); }

/* Shared chrome — nav extras + footer live here (brand-gp.css is loaded on every
   page, incl. /cs-lab/<slug>/), so the build-time-included nav & footer are styled
   everywhere. Page-specific sections stay in site.css. */
.nav-logo { display: flex; align-items: center; gap: 9px; font-weight: var(--weight-extrabold); font-size: var(--text-lg); letter-spacing: -.02em; }
.nav-logo .logo-g, .nav-logo .logo-p {
  background: var(--grad-static);
  -webkit-background-clip: text; background-clip: text;
  transition: -webkit-text-fill-color .28s var(--ease), color .28s var(--ease);
}
.nav-logo .logo-g { -webkit-text-fill-color: var(--ink); color: var(--ink); }
.nav-logo .logo-p { -webkit-text-fill-color: transparent; color: transparent; }
.nav-logo:hover { color: var(--ink); }
.nav-logo:hover .logo-g { -webkit-text-fill-color: transparent; color: transparent; }
.nav-logo:hover .logo-p { -webkit-text-fill-color: var(--ink); color: var(--ink); }
.nav-logo .logo-bulb { width: 26px; height: 26px; flex: none; }
.nav-spacer { flex: 1; }
/* Icon-Button · statischer Gradient-Rand (Icon-Stroke kommt aus dem SVG-Verlauf) */
.icon-btn {
  position: relative;
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: none;
  color: var(--ink-soft); cursor: pointer; transition: .2s var(--ease);
}
.icon-btn::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit; padding: 1.5px;
  background: var(--grad-static);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.icon-btn:hover { transform: translateY(-1px); }
.nav-burger { display: none; }
.nav-link-cta { display: none; }

.footer { border-top: 1px solid var(--line); padding: var(--space-8) 0 var(--space-6); margin-top: var(--space-9); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--space-6); }
.footer h6 { font-size: var(--text-sm); letter-spacing: .04em; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: var(--text-md); color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--line); color: var(--ink-mute); font-size: var(--text-sm); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-soft); transition: .2s var(--ease);
}
.footer-social a:hover { color: var(--ink); border-color: var(--ink-mute); }
.footer-desc { max-width: 300px; font-size: var(--text-md); margin-top: 18px; }
.footer-flourish { font-size: var(--text-xl); }

@media (max-width: 860px) {
  .nav-burger { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px 16px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav.nav-open .nav-links { display: flex; }
  .nav-links .nav-link { padding: 12px; font-size: var(--text-base); }
  .nav-link-cta { display: block; color: var(--accent); font-weight: var(--weight-bold); }
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 400px) {
  .nav-inner { padding: 0 16px; gap: 10px; }
  .nav-logo { font-size: var(--text-base); }
}

/* ----------------------------------------------------------------
   12 — FORMULARE
   ---------------------------------------------------------------- */
input, textarea, select {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  width: 100%;
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--ink-mute); }
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}
textarea { resize: vertical; min-height: 120px; }
label { font-size: var(--text-md); font-weight: var(--weight-semibold); color: var(--ink); display: block; margin-bottom: 6px; }
.form-group { display: flex; flex-direction: column; gap: var(--space-1); margin-bottom: var(--space-5); }
.form-hint  { font-size: var(--text-sm); color: var(--ink-mute); margin-top: 4px; }
.form-error { font-size: var(--text-sm); color: var(--accent); margin-top: 4px; }

/* ----------------------------------------------------------------
   13 — UTILITY KLASSEN
   ---------------------------------------------------------------- */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-accent { color: var(--accent); }
.text-mute   { color: var(--ink-mute); }
.text-soft   { color: var(--ink-soft); }

.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2       { gap: var(--space-2); }
.gap-3       { gap: var(--space-3); }
.gap-4       { gap: var(--space-4); }
.gap-5       { gap: var(--space-5); }

.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.surface  { background: var(--surface); }
.surface2 { background: var(--surface-2); }

/* Hinweis-Box (gelb-getönt) */
.note {
  background: color-mix(in srgb, var(--c-yellow) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--c-yellow) 40%, transparent);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: var(--text-md);
  color: var(--ink);
}
.note strong { color: var(--c-yellow-d); }

/* ----------------------------------------------------------------
   14 — CODE & PROMPT  ("Zwei Stimmen, ein System")
   ----------------------------------------------------------------
   Mono (JetBrains) = die maschinen-zugewandte Stimme. Zwei Blöcke
   teilen sich dieselbe Schrift, sind aber sofort unterscheidbar:

     .gp-code    → dunkle Bühne, Syntax-Farben, Brand-Ampelpunkte.
                   Für Quellcode / Output.
     .gp-prompt  → helle Karte mit Verlaufs-Rand, ✦-Glyph, reiner
                   Mono-Text. Für wörtliche Anweisungen an ein Modell.

   Markup-Skelett siehe brandbook.html.
   ---------------------------------------------------------------- */

/* ---- 14.1 CODE ------------------------------------------------- */
.gp-code {
  position: relative;
  margin: var(--space-5) 0;
  background: var(--code-bg);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
/* Signatur: 2px-Verlaufs-Hairline am oberen Rand */
.gp-code::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 2;
  background: var(--grad-static);
}
.gp-code__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px;
  background: var(--code-bar);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
/* Brand-Ampel: Pink · Yellow · Cyan statt grau-rot-grün */
.gp-code__dots { display: flex; gap: 6px; flex: none; }
.gp-code__dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.gp-code__dots i:nth-child(1) { background: var(--c-pink); }
.gp-code__dots i:nth-child(2) { background: var(--c-yellow); }
.gp-code__dots i:nth-child(3) { background: var(--c-cyan); }
.gp-code__lang {
  font-family: var(--font-mono);
  font-size: var(--text-xs); font-weight: var(--weight-medium); letter-spacing: .04em;
  color: var(--ink-mute);
}
.gp-code__body {
  margin: 0; padding: 18px 20px;
  overflow-x: auto;
}
.gp-code__body code {
  font-family: var(--font-mono);
  font-size: var(--text-sm); line-height: 1.7;
  color: var(--code-ink);
  background: none;
  white-space: pre;
}

/* Syntax-Tokens — auf die Brand-Palette gemappt */
.tok-com   { color: #808090; font-style: italic; }  /* Kommentar — tritt zurück  */
.tok-key   { color: var(--c-cyan); }                /* Keyword / Operator        */
.tok-str   { color: var(--c-yellow); }              /* String                    */
.tok-fn    { color: var(--c-pink); }                /* Funktion / Methode        */
.tok-num   { color: var(--c-yellow-d); }            /* Zahl / Konstante (Amber)  */
.tok-punct { color: #9A9AA8; }                      /* Klammern / Satzzeichen     */

/* ---- 14.2 PROMPT ----------------------------------------------- */
.gp-prompt {
  position: relative;
  margin: var(--space-5) 0;
  background: var(--surface);
  border-radius: var(--radius);
  z-index: 0;
}
/* Signatur: statischer Verlaufs-Rand (wie .grad-border-static) */
.gp-prompt::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; padding: 1.5px;
  background: var(--grad-static);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.gp-prompt__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}
.gp-prompt__glyph {
  font-size: var(--text-base); line-height: 1; flex: none;
  background: var(--grad-static);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.gp-prompt__label {
  font-family: var(--font-mono);
  font-size: var(--text-2xs); font-weight: var(--weight-medium); letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.gp-prompt__model {
  margin-left: auto;
  font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--ink-mute);
}
.gp-prompt__body {
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: var(--text-sm); line-height: 1.75;
  color: var(--ink);
}
.gp-prompt__body p { color: var(--ink); }
.gp-prompt__body p + p { margin-top: .9em; }

/* Prompt-„Syntax": Platzhalter / Variablen als Pink-Pill */
.tok-var {
  font-family: var(--font-mono);
  font-size: .92em;
  color: var(--c-pink-ink);
  background: color-mix(in srgb, var(--c-pink) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c-pink) 35%, transparent);
  border-radius: var(--radius-xs);
  padding: 1px 6px;
  white-space: nowrap;
}
/* tok-var kippt jetzt über --c-pink-ink automatisch mit dem Modus */

/* Rollen-Varianten — färben nur das Label */
.gp-prompt--system .gp-prompt__label { color: var(--c-cyan-d); }
.gp-prompt--user   .gp-prompt__label { color: var(--accent); }
.dark .gp-prompt--system .gp-prompt__label { color: var(--c-cyan); }

/* ---- 14.3 COPY-BUTTON (Code + Prompt, Logik in app.js) --------- */
.gp-copy {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--text-2xs); font-weight: var(--weight-medium); letter-spacing: .04em;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: .2s var(--ease);
}
.gp-copy svg { width: 13px; height: 13px; }
/* Auf dunkler Code-Leiste */
.gp-code__bar .gp-copy { color: #9A9AA8; border-color: rgba(255, 255, 255, .14); }
.gp-code__bar .gp-copy:hover { color: #fff; border-color: rgba(255, 255, 255, .32); }
/* Auf heller Prompt-Leiste */
.gp-prompt__model + .gp-copy { margin-left: 12px; }
.gp-prompt__bar .gp-copy { color: var(--ink-mute); border-color: var(--line); }
.gp-prompt__bar .gp-copy:hover { color: var(--accent); border-color: var(--accent); }
/* Bestätigungs-Zustand */
.gp-copy.copied { color: var(--c-cyan-d) !important; border-color: var(--c-cyan-d) !important; }
.dark .gp-copy.copied { color: var(--c-cyan) !important; border-color: var(--c-cyan) !important; }

/* ================================================================
   15. LOADERS — pure-CSS loading animations, GP gradient stepped
   across each loader's parts (Atheros-style). No JS. Drop the markup
   onto any page; brand-gp.css is already linked everywhere.
   Atom needs a <linearGradient id="ld-grad"> in its own <svg><defs>
   (see the snippet in the brandbook). Motion respects reduced-motion.
   ================================================================ */
/* — Grid Pulse — .loader-grid > .g-block ×9 */
.loader-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .2rem; width: 2.2rem; height: 2.2rem; }
.g-block { border-radius: .15rem; background: color-mix(in srgb, var(--c-pink) 40%, transparent); animation: ld-gridPulse 1.8s ease-in-out infinite; }
.g-block:nth-child(1) { --g-color: var(--c-pink); animation-delay: 0s; }
.g-block:nth-child(2) { --g-color: color-mix(in srgb, var(--c-pink) 75%, var(--c-cyan)); animation-delay: .1s; }
.g-block:nth-child(3) { --g-color: color-mix(in srgb, var(--c-pink) 50%, var(--c-cyan)); animation-delay: .2s; }
.g-block:nth-child(4) { --g-color: color-mix(in srgb, var(--c-pink) 75%, var(--c-cyan)); animation-delay: .1s; }
.g-block:nth-child(5) { --g-color: var(--c-cyan); animation-delay: .2s; }
.g-block:nth-child(6) { --g-color: color-mix(in srgb, var(--c-cyan) 50%, var(--c-yellow)); animation-delay: .3s; }
.g-block:nth-child(7) { --g-color: color-mix(in srgb, var(--c-pink) 50%, var(--c-cyan)); animation-delay: .2s; }
.g-block:nth-child(8) { --g-color: color-mix(in srgb, var(--c-cyan) 50%, var(--c-yellow)); animation-delay: .3s; }
.g-block:nth-child(9) { --g-color: var(--c-yellow); animation-delay: .4s; }
@keyframes ld-gridPulse {
  0%, 70%, 100% { background: color-mix(in srgb, var(--g-color) 40%, transparent); transform: scale(1); }
  35% { background: var(--g-color); transform: scale(1.15); box-shadow: 0 0 6px color-mix(in srgb, var(--g-color) 40%, transparent); }
}

/* — Atom — .loader-atom > svg.atom-svg (needs #ld-grad in its defs) */
.loader-atom { width: 2.8rem; height: 2.8rem; }
.atom-svg { width: 100%; height: 100%; overflow: visible; }
.atom-ring { fill: none; stroke: var(--c-cyan); stroke-width: .8; opacity: .25; }
.atom-e--1 { fill: var(--c-pink); } .atom-e--2 { fill: var(--c-cyan); } .atom-e--3 { fill: var(--c-yellow); }
.atom-nucleus { fill: url(#ld-grad); }

/* — Matrix — .loader-matrix > .mx-bracket + .mx-grid > .mx-cell ×9 */
.loader-matrix { display: flex; align-items: center; gap: .15rem; }
.mx-bracket { font-size: 2.8rem; font-weight: 100; line-height: 1; background: linear-gradient(180deg, var(--c-pink), var(--c-yellow)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.mx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .15rem; }
.mx-cell { width: .9rem; height: .9rem; display: flex; align-items: center; justify-content: center; font-size: .55rem; font-weight: 600; border-radius: .1rem; animation: ld-mxPulse 2.4s ease-in-out infinite; }
.mx-cell:nth-child(1) { color: var(--c-pink); animation-delay: 0s; }
.mx-cell:nth-child(2) { color: var(--c-cyan); animation-delay: .15s; }
.mx-cell:nth-child(3) { color: var(--c-yellow); animation-delay: .3s; }
.mx-cell:nth-child(4) { color: var(--c-cyan); animation-delay: .15s; }
.mx-cell:nth-child(5) { color: var(--c-pink); animation-delay: .3s; }
.mx-cell:nth-child(6) { color: var(--c-cyan); animation-delay: .45s; }
.mx-cell:nth-child(7) { color: var(--c-yellow); animation-delay: .3s; }
.mx-cell:nth-child(8) { color: var(--c-cyan); animation-delay: .45s; }
.mx-cell:nth-child(9) { color: var(--c-pink); animation-delay: .6s; }
@keyframes ld-mxPulse { 0%, 60%, 100% { opacity: .2; transform: scale(1); } 30% { opacity: 1; transform: scale(1.3); } }

/* — DNA Helix — .loader-helix > .helix-pair ×8 (each: .helix-dot--a + --b) */
.loader-helix { display: flex; flex-direction: column; align-items: center; gap: 0; height: 3rem; justify-content: center; }
.helix-pair { position: relative; width: 2rem; height: .32rem; }
.helix-pair::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60%; height: 1px; background: var(--c-cyan); opacity: .2; }
.helix-dot { position: absolute; width: .3rem; height: .3rem; border-radius: 50%; top: 50%; }
.helix-dot--a { background: var(--c-pink); } .helix-dot--b { background: var(--c-yellow); }
.helix-pair:nth-child(1) .helix-dot--a { animation: ld-helixA 1.6s ease-in-out -0.0s infinite; } .helix-pair:nth-child(1) .helix-dot--b { animation: ld-helixB 1.6s ease-in-out -0.0s infinite; }
.helix-pair:nth-child(2) .helix-dot--a { animation: ld-helixA 1.6s ease-in-out -0.2s infinite; } .helix-pair:nth-child(2) .helix-dot--b { animation: ld-helixB 1.6s ease-in-out -0.2s infinite; }
.helix-pair:nth-child(3) .helix-dot--a { animation: ld-helixA 1.6s ease-in-out -0.4s infinite; } .helix-pair:nth-child(3) .helix-dot--b { animation: ld-helixB 1.6s ease-in-out -0.4s infinite; }
.helix-pair:nth-child(4) .helix-dot--a { animation: ld-helixA 1.6s ease-in-out -0.6s infinite; } .helix-pair:nth-child(4) .helix-dot--b { animation: ld-helixB 1.6s ease-in-out -0.6s infinite; }
.helix-pair:nth-child(5) .helix-dot--a { animation: ld-helixA 1.6s ease-in-out -0.8s infinite; } .helix-pair:nth-child(5) .helix-dot--b { animation: ld-helixB 1.6s ease-in-out -0.8s infinite; }
.helix-pair:nth-child(6) .helix-dot--a { animation: ld-helixA 1.6s ease-in-out -1.0s infinite; } .helix-pair:nth-child(6) .helix-dot--b { animation: ld-helixB 1.6s ease-in-out -1.0s infinite; }
.helix-pair:nth-child(7) .helix-dot--a { animation: ld-helixA 1.6s ease-in-out -1.2s infinite; } .helix-pair:nth-child(7) .helix-dot--b { animation: ld-helixB 1.6s ease-in-out -1.2s infinite; }
.helix-pair:nth-child(8) .helix-dot--a { animation: ld-helixA 1.6s ease-in-out -1.4s infinite; } .helix-pair:nth-child(8) .helix-dot--b { animation: ld-helixB 1.6s ease-in-out -1.4s infinite; }
@keyframes ld-helixA {
  0% { left: 0; transform: translateY(-50%) scale(.55); opacity: .35; }
  25% { left: calc(50% - .15rem); transform: translateY(-50%) scale(1); opacity: 1; }
  50% { left: calc(100% - .3rem); transform: translateY(-50%) scale(.55); opacity: .35; }
  75% { left: calc(50% - .15rem); transform: translateY(-50%) scale(1); opacity: 1; }
  100% { left: 0; transform: translateY(-50%) scale(.55); opacity: .35; }
}
@keyframes ld-helixB {
  0% { left: calc(100% - .3rem); transform: translateY(-50%) scale(.55); opacity: .35; }
  25% { left: calc(50% - .15rem); transform: translateY(-50%) scale(1); opacity: 1; }
  50% { left: 0; transform: translateY(-50%) scale(.55); opacity: .35; }
  75% { left: calc(50% - .15rem); transform: translateY(-50%) scale(1); opacity: 1; }
  100% { left: calc(100% - .3rem); transform: translateY(-50%) scale(.55); opacity: .35; }
}

/* — Neural Net — .loader-neural > .nn-node ×6 + svg.nn-lines > line ×7 */
.loader-neural { width: 2.8rem; height: 2.8rem; position: relative; }
.nn-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.nn-lines line { stroke: var(--c-cyan); stroke-width: .6; opacity: .25; animation: ld-nnSignal 2s ease-in-out infinite; }
.nn-lines line:nth-child(1) { animation-delay: 0s; } .nn-lines line:nth-child(2) { animation-delay: .15s; } .nn-lines line:nth-child(3) { animation-delay: .3s; } .nn-lines line:nth-child(4) { animation-delay: .45s; }
.nn-lines line:nth-child(5) { animation-delay: .7s; } .nn-lines line:nth-child(6) { animation-delay: .85s; } .nn-lines line:nth-child(7) { animation-delay: 1s; }
.nn-node { position: absolute; width: .35rem; height: .35rem; border-radius: 50%; animation: ld-nnPulse 2s ease-in-out infinite; }
.nn-node:nth-child(1) { top: 22%; left: 10%; background: var(--c-pink); animation-delay: 0s; } .nn-node:nth-child(2) { top: 60%; left: 10%; background: var(--c-pink); animation-delay: .15s; }
.nn-node:nth-child(3) { top: 8%; left: 44%; background: var(--c-cyan); animation-delay: .4s; } .nn-node:nth-child(4) { top: 42%; left: 44%; background: var(--c-cyan); animation-delay: .55s; } .nn-node:nth-child(5) { top: 76%; left: 44%; background: var(--c-cyan); animation-delay: .7s; }
.nn-node:nth-child(6) { top: 42%; left: 78%; background: var(--c-yellow); animation-delay: 1s; }
@keyframes ld-nnPulse { 0%, 100% { transform: scale(1); opacity: .4; } 50% { transform: scale(1.4); opacity: 1; } }
@keyframes ld-nnSignal { 0%, 100% { opacity: .12; } 50% { opacity: .6; } }

/* Accessibility: freeze all loaders when the user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  :is(.loader-grid, .loader-atom, .loader-matrix, .loader-helix, .loader-neural) * { animation: none !important; }
}

/* ================================================================
   16. ARTIKEL-KOMPONENTEN — Bausteine der Schienen-Vorlagen
   ----------------------------------------------------------------
   .gp-facts      Stat-Row (Time · Cost · Difficulty · Stack)
   .gp-steps      "Build it yourself"-Block (nummerierte Schritte)
   .gp-verdict    Review-Fazit mit Score — der fette Absatz darin
                  IST das Answer Target
   .gp-proscons   Works/Annoys zweispaltig (cyan/pink statt grün/rot)
   .gp-compare    Vergleichs-/Summary-Tabelle (.is-winner-Zeile)
   .gp-disclosure Affiliate-Offenlegungszeile
   Markup-Skelette: brandbook.html + <schiene>/_vorlage/index.html
   ================================================================ */

/* ---- 16.1 FACTS — Stat-Row ------------------------------------- */
.gp-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px;
  margin: var(--space-5) 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.gp-facts > div { background: var(--surface); padding: 14px 16px; }
.gp-facts dt {
  font-family: var(--font-mono);
  font-size: var(--text-2xs); font-weight: var(--weight-medium);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute);
}
.gp-facts dd {
  margin: 4px 0 0;
  font-size: var(--text-lg); font-weight: var(--weight-extrabold); letter-spacing: -.01em;
  color: var(--ink);
}

/* ---- 16.2 STEPS — "Build it yourself" -------------------------- */
.gp-steps {
  position: relative;
  margin: var(--space-6) 0;
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.gp-steps::before {                 /* Verlaufs-Hairline oben — wie .gp-code */
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-static);
}
.gp-steps__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: var(--space-4); }
.gp-steps__head h3 { font-size: var(--text-xl); margin: 0; }
.gp-steps__meta { margin-left: auto; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--ink-mute); }
.gp-steps ol { list-style: none; counter-reset: gp-step; margin: 0; padding: 0; }
.gp-steps ol > li { counter-increment: gp-step; position: relative; padding: 0 0 var(--space-4) 44px; }
.gp-steps ol > li:last-child { padding-bottom: 0; }
.gp-steps ol > li::before {         /* Nummern-Kreis mit statischem Verlaufs-Rand */
  content: counter(gp-step);
  position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: var(--text-sm); font-weight: var(--weight-bold);
  color: var(--ink);
  border: 1.5px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-static) border-box;
}
.gp-steps ol > li > strong { display: block; color: var(--ink); }
.gp-steps ol > li > p { margin-top: 2px; font-size: var(--text-md); }
.gp-steps .gp-prompt { margin: var(--space-3) 0 0; }   /* Prompt-Box direkt im Schritt */

/* ---- 16.3 VERDICT — Review-Fazit + Score ------------------------ */
.gp-verdict {
  position: relative;
  margin: var(--space-5) 0;
  background: var(--surface);
  border-radius: var(--radius);
  z-index: 0;
}
.gp-verdict::before {               /* statischer Verlaufs-Rand — wie .gp-prompt */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; padding: 1.5px;
  background: var(--grad-static);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.gp-verdict__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}
.gp-verdict__label {
  font-family: var(--font-mono);
  font-size: var(--text-2xs); font-weight: var(--weight-medium); letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.gp-verdict__score { margin-left: auto; font-weight: var(--weight-black); font-size: var(--text-xl); color: var(--ink); }
.gp-verdict__score span { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--ink-mute); }
.gp-verdict__body { padding: 16px 18px; }
.gp-verdict__body p { color: var(--ink); }
.gp-verdict__cta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 0 18px 16px;
}
.gp-verdict__cta .gp-disclosure { margin: 0; }

/* ---- 16.4 PROS/CONS — Works/Annoys ------------------------------ */
.gp-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin: var(--space-5) 0; }
.gp-proscons > div { border-radius: var(--radius-sm); padding: 16px 18px; border: 1px solid; }
.gp-pros { background: color-mix(in srgb, var(--c-cyan) 8%, transparent); border-color: color-mix(in srgb, var(--c-cyan) 35%, transparent); }
.gp-cons { background: color-mix(in srgb, var(--c-pink) 8%, transparent); border-color: color-mix(in srgb, var(--c-pink) 35%, transparent); }
.gp-proscons h4 {
  font-family: var(--font-mono);
  font-size: var(--text-2xs); font-weight: var(--weight-medium); letter-spacing: .14em;
  text-transform: uppercase;
}
.gp-pros h4 { color: var(--c-cyan-ink); }
.gp-cons h4 { color: var(--c-pink-ink); }
.gp-proscons ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gp-proscons li { position: relative; padding-left: 22px; font-size: var(--text-md); color: var(--ink-soft); }
.gp-proscons li::before { position: absolute; left: 0; font-family: var(--font-mono); font-weight: var(--weight-bold); }
.gp-pros li::before { content: "+"; color: var(--c-cyan-ink); }
.gp-cons li::before { content: "–"; color: var(--c-pink-ink); }
@media (max-width: 720px) { .gp-proscons { grid-template-columns: 1fr; } }

/* ---- 16.5 COMPARE — Summary-/Vergleichstabelle ------------------ */
/* Markup: <figure class="gp-compare"><div class="gp-compare__wrap"><table>…
   </table></div><figcaption>…</figcaption></figure> — Scrollen übernimmt
   der __wrap (wie .gp-code__body), die figcaption bleibt stehen. */
.gp-compare {
  margin: var(--space-5) 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.gp-compare__wrap { overflow-x: auto; }
.gp-compare table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--text-md); }
.gp-compare thead th {
  font-family: var(--font-mono);
  font-size: var(--text-2xs); font-weight: var(--weight-medium); letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: left;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.gp-compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.gp-compare tbody tr:last-child td { border-bottom: none; }
.gp-compare td:first-child { font-weight: var(--weight-bold); color: var(--ink); white-space: nowrap; }
.gp-compare .is-winner td { background: color-mix(in srgb, var(--c-yellow) 9%, transparent); }
.gp-compare .is-winner td:first-child::before {
  content: "✦ ";
  background: var(--grad-static);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.gp-compare figcaption {
  padding: 10px 16px;
  font-size: var(--text-sm); color: var(--ink-mute);
  border-top: 1px solid var(--line);
}

/* ---- 16.6 DISCLOSURE — Affiliate-Offenlegung -------------------- */
.gp-disclosure {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ink-mute);
  margin: var(--space-4) 0;
}
.gp-disclosure::before {
  content: "✦ ";
  background: var(--grad-static);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

