/* ==========================================================================
   Felipe Serrano | KI in der Praxis — Download-Hub
   Design-Tokens: Redesign R4 (TASK-2026-07-19-003, Felipes Vorgabe 19.07.):
   helles Weiß/Blau-Theme nach Eric-Tech-Referenz statt des alten dunklen
   Cyan-Themes (s. referenz-erictech.md). Alle Textfarben unten sind gegen
   ihren jeweiligen tatsächlichen Hintergrund WCAG-AA nachgerechnet (Standard-
   Relativluminanz-Formel, s. Testbelege der Aufgabenakte) -- nicht nur gegen
   --bg wie beim alten R1-Fehler (Max-Auflage 2, TASK-2026-07-19-001).
   ========================================================================== */

:root {
  /* Farben (helles Theme: Weiß + Blau als Akzent, Felipes Cyan nur als
     dekorative Nebennuance ohne Text/Button-Aufgabe -- s. Kommentare unten) */
  --bg: #ffffff;
  --bg-raised: #f2f6fa; /* leichter Blauton für Karten/Banner-Fläche, hebt sich von --bg ab */
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --ink: #10161c; /* 18.2:1 auf --bg */
  --ink-muted: #475569; /* 7.58:1 auf --bg, 6.98:1 auf --bg-raised */
  --ink-faint: #586371; /* 6.11:1 auf --bg, 5.62:1 auf --bg-raised -- beide über AA-Schwelle 4.5:1 */
  --blue: #2563eb; /* Haupt-Akzent: Buttons/Links/Kicker. 5.17:1 auf --bg (Text-tauglich) */
  --blue-dark: #1d4ed8; /* Hover/aktiv, 6.70:1 auf --bg */
  --blue-ink: #ffffff; /* Textfarbe AUF blauem Button/Badge */
  --highlight: rgba(217, 119, 87, 0.34); /* Claude-Orange als Marker unter der Asset-Überschrift */
  --cyan: #4dd8e6; /* Felipes Cyan -- NUR dekorativ (Avatar-Ring, Konfetti, Banner-Verlauf), NIE als Text-/Buttonfarbe (nur 1.71:1 auf Weiß) */
  --claude-orange: #d97757;
  --danger-bg: #fef2f2;
  --danger-ink: #b42318; /* 6.01:1 auf --danger-bg */
  --ok-bg: #f0fdf4;
  --ok-ink: #166534; /* 6.81:1 auf --ok-bg */

  /* Typografie */
  /* R8: lokale Systemschriften statt externem Google-Fonts-Aufruf. */
  --font-head: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Abstände (4/8px-Rhythmus) */
  --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;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --container: 1160px;
}

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

html { color-scheme: light; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

@media (max-width: 640px) {
  .wrap { padding: 0 var(--space-4); }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  flex-shrink: 0;
}
.nav-brand span.sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  color: var(--ink-faint);
}
.nav-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--blue);
  color: var(--blue-ink);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  transition: transform 150ms ease, background 150ms ease;
  cursor: pointer;
  border: none;
}
.nav-cta:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ---------- Marken-Kopf: Banner + überlappender Avatar + Name ----------
   Gemeinsame Komponente für index.html UND asset.html (Redesign R4 nach
   Eric-Tech-Referenz, s. referenz-erictech.md): oben ein volles Banner,
   darunter ein überlappender runder Avatar, darunter zentriert Name+Sub.
   BANNER-MOTIV (R6-Nachbesserung, TASK-2026-07-19-003, Felipes Feedback
   19.07.: das echte YouTube-Kanalbild gefiel ihm nicht -- Scrim-Verlauf sah
   schlecht aus UND sein Gesicht war doppelt, weil der Avatar darunter auch
   sein Foto zeigt). Ersetzt durch ein SELBST GEBAUTES Inline-SVG (data-URI,
   kein Download, keine neue Bilddatei) -- ein abstrahiertes Editor-/
   Terminal-Fenster mit farbigen Balken statt echtem lesbarem Code, dezente
   Blautöne auf hellem Verlauf, kein Gesicht. Die alte Foto-Datei
   `site/assets/img/kanal-banner-echo.jpg` liegt weiter im Ordner (nicht
   gelöscht), wird aber nirgends mehr referenziert.
   AUSTAUSCH-PUNKT für später: ein echtes Foto von Felipes Setup kann diese
   Grafik jederzeit ersetzen -- einfach `background-image` unten auf
   `url("../assets/img/<neue-datei>.jpg")` umstellen, `background-size:cover`
   + `background-position` beibehalten, Maße (220px/160px Höhe, Breite = volle
   `.wrap`/`.lp-head`-Spalte) unverändert lassen. Details/Nachweis: README
   "Marken-Kopf-Banner". */
.brand-banner {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  height: 220px;
  border: 1px solid var(--border);
  /* KEIN margin-bottom hier (R5-Fix, Max-Auflage 1, TASK-2026-07-19-003):
     vorher stand hier margin-bottom:52px, das mit dem margin-top:-48px von
     .asset-avatar-row als angrenzende Geschwister-Margins kollabiert ist
     (max(52,0)+min(-48,0) = netto nur 4px statt Überlapp) -- die Falle war,
     dass der Überlapp aus ZWEI verschiedenen Regeln zusammengerechnet wurde.
     Jetzt trägt .asset-avatar-row den kompletten Abstand + Überlapp allein
     (eine einzige Quelle, siehe dort) -- robust gegen künftige Änderungen
     an dieser Regel, weil hier gar kein Margin mehr existiert, das kollabieren
     könnte. */
  background-color: #dbeafe; /* Fallback-Ton, falls die SVG mal nicht laden sollte */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 400'%3E%3Cdefs%3E%3ClinearGradient id='bg' x1='0' y1='0' x2='1000' y2='400' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23eef4ff'/%3E%3Cstop offset='1' stop-color='%23dbeafe'/%3E%3C/linearGradient%3E%3CradialGradient id='glow1' cx='880' cy='70' r='340' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23bfdbfe' stop-opacity='0.55'/%3E%3Cstop offset='1' stop-color='%23bfdbfe' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='glow2' cx='90' cy='330' r='300' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%2393c5fd' stop-opacity='0.4'/%3E%3Cstop offset='1' stop-color='%2393c5fd' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='1000' height='400' fill='url(%23bg)'/%3E%3Crect width='1000' height='400' fill='url(%23glow1)'/%3E%3Crect width='1000' height='400' fill='url(%23glow2)'/%3E%3Cpath d='M268,102 H752 A18,18 0 0 1 770,120 V304 A18,18 0 0 1 752,322 H268 A18,18 0 0 1 250,304 V120 A18,18 0 0 1 268,102 Z' fill='%231d4ed8' opacity='0.08'/%3E%3Cpath d='M258,90 H742 A18,18 0 0 1 760,108 V292 A18,18 0 0 1 742,310 H258 A18,18 0 0 1 240,292 V108 A18,18 0 0 1 258,90 Z' fill='%23ffffff' stroke='%23c7d9f5' stroke-width='1.5'/%3E%3Cpath d='M258,90 H742 A18,18 0 0 1 760,108 V138 H240 V108 A18,18 0 0 1 258,90 Z' fill='%23eaf1fc' stroke='%23c7d9f5' stroke-width='1.5'/%3E%3Ccircle cx='274' cy='114' r='6.5' fill='%23fca5a5'/%3E%3Ccircle cx='296' cy='114' r='6.5' fill='%23fcd34d'/%3E%3Ccircle cx='318' cy='114' r='6.5' fill='%2386efac'/%3E%3Crect x='274' y='162' width='300' height='11' rx='5.5' fill='%232563eb' opacity='0.85'/%3E%3Crect x='274' y='192' width='190' height='11' rx='5.5' fill='%2393c5fd'/%3E%3Crect x='306' y='222' width='230' height='11' rx='5.5' fill='%2360a5fa'/%3E%3Crect x='306' y='252' width='150' height='11' rx='5.5' fill='%23cbd5e1'/%3E%3Crect x='274' y='282' width='270' height='11' rx='5.5' fill='%232563eb' opacity='0.6'/%3E%3Crect x='554' y='282' width='8' height='11' rx='2' fill='%231d4ed8'/%3E%3Cpath d='M714,270 H846 A14,14 0 0 1 860,284 V314 A14,14 0 0 1 846,328 H714 A14,14 0 0 1 700,314 V284 A14,14 0 0 1 714,270 Z' fill='%23ffffff' stroke='%23bcd4f5' stroke-width='1.5'/%3E%3Ctext x='728' y='308' font-family='Menlo, Consolas, monospace' font-size='28' font-weight='700' fill='%231d4ed8'%3E%3E_%3C/text%3E%3C/svg%3E");
  background-size: cover;
  background-position: center center;
  /* R8: eigenes, gesichtsfreies Studio-Motiv. */
  background-image: url("../assets/img/hero-studio-r8.jpg");
  /* R9: visueller Nutzen statt Studio-Kulisse. Assets fließen durch eine
     Automation in eine geordnete Ressourcen-Bibliothek. */
  background-image: url("../assets/img/hero-assets-automation-r9.jpg");
  /* R10: abstrakte Markenwelt statt Icon-/Infografik-Optik. */
  background-image: url("../assets/img/hero-knowledge-portal-r10.jpg");
  /* R11: realer Unternehmer-Arbeitsplatz. Der Lichtfluss übersetzt
     Aufgabenchaos in einen ruhigen, organisierten Arbeitsablauf. */
  background-image: url("../assets/img/hero-entrepreneur-workflow-r11.jpg");
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.16);
}
@media (max-width: 640px) {
  .brand-banner { height: 160px; }
}

.asset-avatar-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* Einzige Quelle für Abstand + Überlapp zum Banner (R5-Fix, s. Kommentar
     bei .brand-banner): -46px zieht die Zeile so weit hoch, dass der 84px
     hohe Avatar zu gut der Hälfte (46 von 84px) in die untere, ausgeblendete
     Scrim-Zone des Banners hineinragt -- echte Überlappung, per
     getBoundingClientRect() geprüft (s. Testbelege), nicht nur ein knapper
     Abstand wie vor dem Fix. */
  margin-top: -46px;
  margin-bottom: var(--space-6);
  /* Ben-Fix R7 (Felipes Fund 19.07.): .brand-banner ist position:relative und
     malte sich damit ÜBER die statische Avatar-Zeile — Geometrie überlappte
     korrekt (Messungen R5/R6 stimmten), aber die obere Avatar-Hälfte war
     unsichtbar (elementFromPoint am Avatar-Top lieferte brand-banner).
     position:relative + z-index hebt die Zeile in der Zeichen-Reihenfolge
     über das Banner. */
  position: relative;
  z-index: 1;
}
.asset-avatar-row img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 3px solid var(--bg);
  /* Ring-Farbe R6 (TASK-2026-07-19-003, Nachbesserung): vorher --cyan (nur
     1.71:1 auf Weiß, s. MEMORY-SARAH -- verlor sich sichtbar vor dem neuen,
     helleren Banner-Motiv ohne dunklen Foto-Untergrund). Jetzt --blue
     (#2563eb, kräftig gesättigt) + einen Tick dicker (2.5px statt 2px) --
     hebt sich sowohl vom weißen Karten-Hintergrund als auch vom hellblauen
     Banner-Verlauf klar ab (per Screenshot an allen 4 Breiten geprüft). */
  box-shadow: 0 0 0 2.5px var(--blue), 0 8px 20px rgba(37, 99, 235, 0.18);
  background: var(--bg-raised);
}
.asset-avatar-row .creator-name {
  margin-top: var(--space-3);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.asset-avatar-row .creator-sub {
  font-size: 12.5px;
  color: var(--ink-faint);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--space-4);
}
.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}
h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--ink);
}
@media (min-width: 900px) {
  h1 { font-size: 52px; }
}
h1 .accent { color: var(--blue); }
.hero-sub {
  margin-top: var(--space-5);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 52ch;
}

/* ---------- Landingpage-Kopf (index.html + asset.html): Kicker/H1/Lead
   zentriert auf schmaler Spalte unter dem Marken-Kopf -- ersetzt die alte
   zweispaltige .hero-grid mit Nutzenpunkt-Liste (R4, "deutlich weniger
   Text", Felipe 19.07.). ---------- */
.lp-head {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.lp-head .kicker { justify-content: center; }
.lp-head .hero-sub { margin-left: auto; margin-right: auto; text-align: center; }
.lp-head .btn-primary.link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: auto;
  flex: none;
  margin-top: var(--space-6);
  text-decoration: none;
  padding: 14px 26px;
}

/* Opt-in Karte im Hero */
.optin-card {
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-l);
  padding: var(--space-6);
  box-shadow: 0 1px 2px rgba(16, 22, 28, 0.04), 0 16px 40px rgba(16, 22, 28, 0.07);
}
.optin-card h2 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.optin-card .optin-lead {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: var(--space-5);
}
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: var(--space-2);
}
.field-row {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}
/* .form-input deckt Name- UND E-Mail-Feld ab (statt nur input[type="email"]),
   damit das um ein Namensfeld erweiterte Formular (asset.html) dieselben
   Stile ohne Duplizierung bekommt. */
.form-input {
  flex: 1 1 220px;
  font-size: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink);
  outline: none;
  min-height: 48px;
  width: 100%;
}
.form-input::placeholder { color: var(--ink-faint); }
.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}
.field-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
button.btn-primary,
a.btn-primary {
  flex: 1 1 200px;
  min-height: 48px;
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-ink);
  background: var(--blue);
  border: none;
  border-radius: var(--radius-s);
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease, opacity 150ms ease;
}
button.btn-primary:hover,
a.btn-primary:hover { background: var(--blue-dark); }
button.btn-primary:disabled { opacity: 0.6; cursor: wait; }
/* Volle Breite, wenn der Button NICHT neben einem Feld in .field-row sitzt
   (asset.html: Name+E-Mail stehen in .field-stack übereinander, Button
   darunter über die volle Breite). */
button.btn-primary.btn-block { width: 100%; flex: none; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.legal-note {
  margin-top: var(--space-4);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-faint);
}
.legal-note strong { color: var(--ink-muted); }

.form-msg {
  display: none;
  margin-top: var(--space-4);
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--radius-s);
}
.form-msg.ok { display: block; background: var(--ok-bg); color: var(--ok-ink); }
.form-msg.err { display: block; background: var(--danger-bg); color: var(--danger-ink); }

/* ---------- Sections ---------- */
section { padding: var(--space-8) 0; }

.asset-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 150ms ease, transform 150ms ease;
}
.asset-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }

.asset-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-raised);
  overflow: hidden;
}
.asset-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.asset-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: rgba(10, 13, 16, 0.82);
  border: 1px solid var(--border-strong);
  color: var(--cyan);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.asset-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}
.asset-format {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}
.asset-title {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}
.asset-desc {
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.55;
  flex: 1;
}
.asset-cta {
  margin-top: var(--space-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  min-height: 44px;
  background: transparent;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-weight: 700;
  font-size: 14.5px;
  border-radius: var(--radius-s);
  cursor: pointer;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
}
.asset-cta:hover { background: var(--blue); color: var(--blue-ink); }
/* R3-Fix (selbst gefunden beim Screenshot-Check): main.js hängt jetzt ein
   Pfeil-SVG an den Link-Text ("Gratis per Mail holen"). Ohne feste Größe
   rendert ein SVG ohne eigenes width/height riesig (Ersatzelement-Default) --
   hier auf Icon-Größe fixiert, wie schon bei .asset-lock svg. */
.asset-cta svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--space-6) 0;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-muted);
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--blue); }
.footer-meta {
  font-size: 12.5px;
  color: var(--ink-faint);
  max-width: 640px;
}

/* ---------- Rechtstexte (Impressum/Datenschutz) ---------- */
.legal-page { padding: var(--space-7) 0 var(--space-9); }
.legal-page .wrap { max-width: 760px; }
.legal-page h1 {
  font-size: 30px;
  margin-bottom: var(--space-3);
}
.legal-page .draft-flag {
  display: inline-block;
  background: var(--danger-bg);
  color: var(--danger-ink);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-s);
  margin-bottom: var(--space-6);
}
.legal-page h2 {
  font-family: var(--font-head);
  font-size: 20px;
  margin-top: var(--space-7);
  margin-bottom: var(--space-3);
}
.legal-page p, .legal-page li {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}
.legal-page ul { padding-left: 20px; }
.legal-page a { color: var(--blue); }
.legal-page .back-link {
  display: inline-block;
  margin-bottom: var(--space-6);
  font-size: 14px;
  color: var(--ink-muted);
  text-decoration: none;
}
.legal-page .back-link:hover { color: var(--blue); }

/* ---------- Danke-Seite ---------- */
.thanks-hero {
  padding: var(--space-8) 0 var(--space-6);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.thanks-hero h1 { font-size: 36px; }
@media (min-width: 900px) {
  .thanks-hero h1 { font-size: 44px; }
}
.thanks-hero p {
  margin: var(--space-4) auto 0;
  max-width: 560px;
  color: var(--ink-muted);
  font-size: 17px;
}
.asset-cta.unlocked {
  background: var(--blue);
  color: var(--blue-ink);
}
.asset-cta.unlocked:hover { background: var(--blue-dark); color: var(--blue-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  h1 { font-size: 34px; }
  .nav-brand span.sub { display: none; }
}
@media (max-width: 480px) {
  h1 { font-size: 28px; }
  .hero-sub { font-size: 16.5px; }
  .optin-card { padding: var(--space-5); }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
  .field-row { flex-direction: column; }
  button.btn-primary, .form-input { flex-basis: auto; width: 100%; }
}

/* ---------- Asset-Template-Seite (asset.html, Eric-Tech-Vorbild) ----------
   Marken-Kopf (.brand-banner + .asset-avatar-row) ist weiter oben definiert
   (gemeinsam mit index.html). Hier nur noch die asset.html-spezifische
   Zentrierung von Kicker/H1/Lead. */
.asset-page { padding: var(--space-5) 0 var(--space-9); }
.asset-page .wrap { max-width: 640px; }

.asset-page .kicker { justify-content: center; }
.title-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.title-row .kicker { margin-bottom: var(--space-4); }
.asset-page h1 {
  display: inline-block;
  text-align: center;
  font-size: 30px;
  background-image: linear-gradient(180deg, transparent 66%, var(--highlight) 66%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 4px;
  border-radius: 3px;
}

/* ---------- Claude-Pet: gemeinsames Markenelement für alle Seiten ---------- */
.claude-pet {
  --pet-look-x: 0;
  --pet-look-y: 0;
  --pet-scroll-y: 0px;
  position: fixed;
  right: clamp(14px, 2.4vw, 32px);
  bottom: clamp(14px, 2.4vw, 28px);
  z-index: 60;
  width: 82px;
  height: 76px;
  pointer-events: auto;
  cursor: pointer;
  filter: drop-shadow(0 12px 20px rgba(16, 22, 28, 0.17));
  transform: translate3d(calc(var(--pet-look-x) * 4px), calc(var(--pet-look-y) * 3px + var(--pet-scroll-y)), 0)
    rotate(calc(var(--pet-look-x) * 2.5deg));
  transition: transform 100ms ease-out;
}
.claude-pet__body {
  position: absolute;
  inset: 0;
  animation: none;
}
.claude-pet.is-popping .claude-pet__body {
  animation: pet-click-pop 360ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes pet-click-pop {
  0% { transform: translateY(0); }
  45% { transform: translateY(-8px) rotate(-2deg); }
  78% { transform: translateY(1px) rotate(1deg); }
  100% { transform: translateY(0); }
}
.claude-pet__figure { width: 100%; height: 100%; overflow: visible; display: block; }
.claude-pet__shape {
  fill: var(--claude-orange);
  stroke: #fff;
  stroke-width: 4;
  stroke-linejoin: round;
  paint-order: stroke fill;
  filter: drop-shadow(0 0 1px rgba(16, 22, 28, 0.55));
}
.claude-pet__legs {
  fill: var(--claude-orange);
  stroke: #fff;
  stroke-width: 4;
  stroke-linejoin: round;
  paint-order: stroke fill;
  filter: drop-shadow(0 0 1px rgba(16, 22, 28, 0.55));
}
.claude-pet__face {
  fill: none;
  stroke: var(--ink);
  stroke-width: 4.25;
  stroke-linecap: square;
  stroke-linejoin: miter;
  transform: translate(calc(var(--pet-look-x) * 1.5px), calc(var(--pet-look-y) * 1.5px));
  transition: transform 100ms ease-out;
}
.claude-pet__shadow {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 9px;
  border-radius: 50%;
  background: rgba(16, 22, 28, 0.16);
  filter: blur(3px);
}
.claude-pet__bubble {
  position: absolute;
  right: 2px;
  bottom: calc(100% + 12px);
  width: max-content;
  max-width: 190px;
  padding: 8px 11px;
  border: 1px solid var(--border-strong);
  border-radius: 12px 12px 3px 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(5px) scale(0.96);
  transform-origin: bottom right;
  transition: none;
}
.claude-pet.is-speaking .claude-pet__bubble { opacity: 1; transform: none; }
.claude-pet--motioncheck .claude-pet__bubble {
  opacity: 1;
  transform: none;
  font-weight: 800;
  border-color: var(--claude-orange);
}
@keyframes pet-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
@keyframes pet-curious { 0%, 100% { rotate: 0deg; } 50% { rotate: -5deg; } }
@keyframes pet-happy { 0%, 100% { translate: 0 0; } 45% { translate: 0 -9px; } }
@keyframes pet-playful-mobile {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
  25% { transform: translate3d(1px, -1px, 0) rotate(1.5deg); }
  50% { transform: translate3d(0, -2px, 0) rotate(-0.5deg); }
  75% { transform: translate3d(-1px, -0.5px, 0) rotate(1deg); }
}
/* Mobil bleibt das Pet klein am rechten Bildschirmrand. Es nimmt keinen Platz
   im Seitenfluss ein, damit das Formular weiterhin im ersten Blick bleibt. */
@media (max-width: 900px), (hover: none), (pointer: coarse) {
  .claude-pet {
    position: fixed;
    right: 9px;
    top: min(62%, 523px);
    bottom: auto;
    width: 50px;
    height: 47px;
    z-index: 60;
    transform: translate3d(0, var(--pet-scroll-y), 0);
    filter: drop-shadow(0 9px 14px rgba(16, 22, 28, 0.14));
  }
  .claude-pet__bubble { right: 16px; max-width: 135px; font-size: 11px; }
  .claude-pet__body { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .claude-pet, .claude-pet__body, .claude-pet__face { animation: none; transition: none; transform: none; }
  .claude-pet.is-popping .claude-pet__body {
    animation: pet-click-pop 360ms cubic-bezier(0.34, 1.56, 0.64, 1);
  }
}
@media (min-width: 640px) {
  .asset-page h1 { font-size: 38px; }
}
.asset-page .asset-page-lead {
  margin-top: var(--space-4);
  text-align: center;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-muted);
}
.asset-page .asset-page-lead strong { color: var(--ink); }
/* 28.07.2026 (Max-Befund 3, Weg-A-Abnahme): auf schmalen Viewports lief der
   länger gewordene Asset-Beschreibungstext beim ersten Aufbau unter das fixe
   Maskottchen am rechten Rand. Rechts-Einzug statt Text-Kürzung: wirkt bei
   jeder Textlänge, Maskottchen-Position (R14-R30, von Felipe abgenommen)
   bleibt unverändert. */
@media (max-width: 480px) {
  .asset-page .asset-page-lead { padding-right: 68px; }
}

/* Blickführungs-Element: schubst den Blick zum Formular runter (Eric-Techs
   "DON'T SCROLL PAST" im Kanal-Ton, ohne Übersetzungs-Holprigkeit). */
.scroll-nudge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: var(--space-6) 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}
.scroll-nudge svg {
  width: 20px;
  height: 20px;
  animation: none;
}
@keyframes nudge-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@keyframes nudge-bounce-mobile {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.72; }
  50% { transform: translateY(9px) scale(1.08); opacity: 1; }
}
@media (max-width: 900px), (hover: none), (pointer: coarse) {
  .scroll-nudge svg {
    animation: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-nudge svg { animation: none; }
}

.asset-page .optin-card { margin-top: var(--space-2); }

/* Community-Nebenzeile unter der Formular-Karte -- bewusst klein/nebensächlich
   (Ben/Felipe 19.07.), noch kein Link (Skool existiert noch nicht). */
.community-note {
  margin-top: var(--space-5);
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-faint);
}

.asset-fallback-note {
  margin: 0 0 var(--space-5);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-s);
  background: var(--bg-raised);
  color: var(--ink-faint);
  font-size: 12.5px;
  line-height: 1.6;
  text-align: center;
}

/* ---------- Erfolgs-/Konfetti-Animation (Felipe, R3) ----------
   Endlich (räumt sich per JS nach ~2.2s selbst weg, kein Dauer-Loop),
   position:fixed + pointer-events:none -> kein Layout-Einfluss, keine
   Screenshot-Störung (Standard-Screenshots laden die Seite frisch, ohne
   Formular-Submit, sehen die Animation also nie). */
.confetti-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  overflow: hidden;
}
.confetti-piece {
  position: absolute;
  top: -12px;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  opacity: 0.95;
  animation-name: confetti-fall;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
}
@keyframes confetti-fall {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--x), 100vh) rotate(var(--r)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .confetti-layer { display: none; }
}

/* ---------- Danke-Seite: Skool-Teaser (kein toter Link, klar "kommt später") ---------- */
.skool-teaser {
  margin-top: var(--space-7);
  padding: var(--space-6);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-m);
  text-align: center;
  background: var(--bg-raised);
}
.skool-teaser .teaser-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue-ink);
  background: var(--blue);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: var(--space-4);
}
.skool-teaser h2 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.skool-teaser p {
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 auto;
}
