/* =============================================================
 * Fabelwaren — "Der Kuriositätenladen einer KI"
 * Statische Landing-Page · fabelwaren.wabenfeld.com
 *
 * Look: Aquarell-/Storybook-Werkstatt. Warme Ernte-Palette (Blattgrün,
 * Terrakotta, Honiggold, Creme) aus dem Party-Hub-Tokensystem übernommen.
 * Die Waren werden wie Fundstücke in einem Kuriositätenladen präsentiert:
 * Wachssiegel-Preismedaillon, ausgefüllter „Auftragszettel" (Space Mono,
 * gestrichelte Perforation), Tinten-Ledger fürs Transparenz-Scoreboard.
 * Wiederkehrendes Motiv = die honiggelbe Kugel des Maskottchens (der KI-Chef):
 * ein weiches Glühen hinter der Marke und als Siegel jeder Ware.
 *
 * KEINE Laufzeit-Requests: Fonts selbst gehostet, Bilder lokal, kein CDN.
 * ============================================================= */

/* -------------------------------------------------------------
 * FONTS — selbst gehostet (Fontsource WOFF2, latin). KEINE
 * fonts.googleapis.com-Einbindung (DSGVO / Datenschutz-Invariante).
 * Dateien liegen in assets/fonts/, aus dem Party-Hub-@fontsource kopiert.
 * ------------------------------------------------------------- */
@font-face {
  font-family: "Fredoka"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("assets/fonts/fredoka-400.woff2") format("woff2");
}
@font-face {
  font-family: "Fredoka"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("assets/fonts/fredoka-600.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("assets/fonts/hanken-400.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 700;
  font-display: swap; src: url("assets/fonts/hanken-700.woff2") format("woff2");
}
@font-face {
  font-family: "Space Mono"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("assets/fonts/space-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "Space Mono"; font-style: normal; font-weight: 700;
  font-display: swap; src: url("assets/fonts/space-mono-700.woff2") format("woff2");
}

:root {
  --font-display: "Fredoka", "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Space Mono", "DejaVu Sans Mono", ui-monospace, "Courier New", monospace;
}

/* =========================== TOKENS ========================== */
/* Basis = "Spielwiese" (sonnige Creme). Dunkel via prefers-color-scheme
 * UND [data-theme] (falls je ein Umschalter ergänzt wird — beide Richtungen
 * gewinnen über die Media-Query). */

:root,
:root[data-theme="light"] {
  --bg: #f4eede;
  --bg-elevated: #fdfaf2;
  --bg-raised: #ffffff;
  --bg-inset: #ece4cd;
  --border: #e3d8bf;
  --border-strong: #cdbc98;
  --text: #2c2920;
  --text-muted: #7d7460;

  --accent: #268b47;          /* Blattgrün — „bestellen / los" */
  --accent-hover: #1f7a3d;
  --accent-text: #ffffff;
  --accent-soft: rgba(38, 139, 71, 0.12);

  --clay: #d3652f;            /* Terrakotta — Siegel, Betonung */
  --clay-soft: rgba(211, 101, 47, 0.13);

  --honey: #b07d0c;           /* Honiggold als TEXT (Preise, Ledger) */
  --honey-glow: rgba(240, 185, 80, 0.55);  /* die Kugel des KI-Chefs */
  --honey-seal: #e6a637;      /* Siegel-Fläche */

  --paper-grain: 0.05;
  --dapple-1: rgba(47, 158, 84, 0.10);
  --dapple-2: rgba(224, 166, 55, 0.16);

  --shadow-sm: 0 2px 6px -2px rgba(60, 45, 20, 0.18);
  --shadow-md: 0 16px 34px -18px rgba(60, 45, 20, 0.34), 0 2px 6px -3px rgba(60, 45, 20, 0.16);
  --sheen: rgba(255, 255, 255, 0.6);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14160f;
    --bg-elevated: #1d2115;
    --bg-raised: #272c1c;
    --bg-inset: #0e100a;
    --border: #39402b;
    --border-strong: #4d5539;
    --text: #f3eedd;
    --text-muted: #b3ab92;

    --accent: #55c577;
    --accent-hover: #71d38e;
    --accent-text: #07230f;
    --accent-soft: rgba(85, 197, 119, 0.16);

    --clay: #f0824a;
    --clay-soft: rgba(240, 130, 74, 0.16);

    --honey: #f2b950;
    --honey-glow: rgba(240, 185, 80, 0.34);
    --honey-seal: #d99a2e;

    --paper-grain: 0.06;
    --dapple-1: rgba(85, 197, 119, 0.10);
    --dapple-2: rgba(240, 170, 80, 0.08);

    --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.55);
    --shadow-md: 0 18px 40px -18px rgba(0, 0, 0, 0.62), 0 2px 8px -4px rgba(0, 0, 0, 0.5);
    --sheen: rgba(255, 255, 255, 0.05);
    color-scheme: dark;
  }
}

/* Expliziter Umschalter (überschreibt beide Richtungen der Media-Query) */
:root[data-theme="dark"] {
  --bg: #14160f;
  --bg-elevated: #1d2115;
  --bg-raised: #272c1c;
  --bg-inset: #0e100a;
  --border: #39402b;
  --border-strong: #4d5539;
  --text: #f3eedd;
  --text-muted: #b3ab92;
  --accent: #55c577;
  --accent-hover: #71d38e;
  --accent-text: #07230f;
  --accent-soft: rgba(85, 197, 119, 0.16);
  --clay: #f0824a;
  --clay-soft: rgba(240, 130, 74, 0.16);
  --honey: #f2b950;
  --honey-glow: rgba(240, 185, 80, 0.34);
  --honey-seal: #d99a2e;
  --paper-grain: 0.06;
  --dapple-1: rgba(85, 197, 119, 0.10);
  --dapple-2: rgba(240, 170, 80, 0.08);
  --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.55);
  --shadow-md: 0 18px 40px -18px rgba(0, 0, 0, 0.62), 0 2px 8px -4px rgba(0, 0, 0, 0.5);
  --sheen: rgba(255, 255, 255, 0.05);
  color-scheme: dark;
}

:root {
  --radius-sm: 9px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --maxw: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================== RESET =========================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.62;
  color: var(--text);
  background: var(--bg);
  /* Papier: feine Körnung (SVG-Turbulenz, inline, kein Request) + Dappel-Licht */
  background-image:
    radial-gradient(60% 45% at 82% 8%, var(--dapple-2), transparent 70%),
    radial-gradient(55% 40% at 12% 22%, var(--dapple-1), transparent 72%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-attachment: fixed, fixed, fixed;
}
body::before { /* Körnung als eigene, dimmbare Ebene */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: var(--paper-grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===================== SHARED STRUCTURE ===================== */
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { padding-block: clamp(3.25rem, 7vw, 5.5rem); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--honey);
  margin: 0 0 0.65rem;
}
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; line-height: 1.08; margin: 0; }
.section-title {
  font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.section-lead { color: var(--text-muted); max-width: 56ch; margin: 0 0 2.4rem; }

/* Wachssiegel-Kugel = das KI-Chef-Motiv, wiederverwendet */
.orb {
  width: 1.5em; height: 1.5em; border-radius: 50%; flex: none;
  background:
    radial-gradient(circle at 34% 30%, #fff8e6, var(--honey-seal) 55%, #b9791a);
  box-shadow: 0 0 0 0.28em var(--honey-glow), inset 0 -2px 4px rgba(120, 70, 10, 0.4);
}

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 0.8rem 1.5rem; border-radius: var(--radius-pill);
  border: none; cursor: pointer; text-decoration: none;
  background: var(--accent); color: var(--accent-text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border-strong); box-shadow: none;
}
.btn--ghost:hover { background: var(--bg-inset); }

/* =========================== HERO =========================== */
.site-header { padding: 1.25rem 0 0.25rem; }
.brandmark { display: flex; align-items: center; gap: 0.7rem; width: fit-content; }
.brandmark img {
  width: 46px; height: 46px; border-radius: 12px; object-fit: cover;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.brandmark b {
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  letter-spacing: -0.01em; color: var(--text);
}

.hero { padding-top: clamp(1.5rem, 4vw, 3rem); }
.hero-grid {
  display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
}
@media (max-width: 800px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-copy h1 {
  font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.4rem);
  font-weight: 600; letter-spacing: -0.02em;
}
.hero-copy h1 .accent { color: var(--clay); }
.hero-claim {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.15rem);
  letter-spacing: 0.02em; color: var(--honey);
  margin: 0.9rem 0 0.2rem;
}
.hero-sub { font-size: 1.12rem; color: var(--text-muted); max-width: 46ch; margin: 1rem 0 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-meta {
  margin-top: 1.7rem; font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--text-muted); letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap;
}
.hero-meta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

.hero-figure { position: relative; }
.hero-figure::before { /* Honig-Glühen (die KI-Kugel) hinter dem Bild */
  content: ""; position: absolute; left: 8%; top: 18%;
  width: 42%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--honey-glow), transparent 68%);
  filter: blur(6px); z-index: 0;
  animation: breathe 6s var(--ease) infinite;
}
@keyframes breathe { 50% { transform: scale(1.08); opacity: 0.85; } }
.hero-figure img {
  position: relative; z-index: 1; width: 100%; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md), inset 0 1px 0 var(--sheen);
  background: var(--bg-elevated);
}
.hero-figure figcaption {
  position: relative; z-index: 1; margin-top: 0.7rem; text-align: center;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--text-muted); text-transform: uppercase;
}

/* ======================= VORSTELLUNG (Video) ======================= */
.vorstellung-grid {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  grid-template-columns: 1fr 0.9fr;
}
@media (max-width: 820px) { .vorstellung-grid { grid-template-columns: 1fr; } }
.vorstellung-copy .section-lead { margin-bottom: 0; }
.vorstellung-video { margin: 0; position: relative; }
.vorstellung-video video {
  width: 100%; height: auto; display: block; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md), inset 0 1px 0 var(--sheen);
  background: var(--bg-elevated);
}
.vorstellung-video figcaption {
  margin-top: 0.7rem; text-align: center; font-family: var(--font-mono);
  font-size: 0.74rem; color: var(--text-muted); letter-spacing: 0.02em;
}

/* ========================== WAREN ========================== */
.wares { background: linear-gradient(var(--bg-elevated), var(--bg-elevated)) padding-box; }
.wares-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) { .wares-grid { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; } }

.ware {
  display: flex; flex-direction: column;
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem 1.4rem 1.4rem;
  box-shadow: var(--shadow-md), inset 0 1px 0 var(--sheen);
  position: relative; overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.ware:hover { transform: translateY(-4px); }
.ware-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.ware-kind {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-muted); margin: 0 0 0.3rem;
}
.ware h3 { font-size: 1.4rem; font-weight: 600; color: var(--text); }

/* Wachssiegel-Preismedaillon */
.price-seal {
  flex: none; width: 66px; height: 66px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  color: #3a1c07; font-family: var(--font-mono); font-weight: 700;
  background:
    radial-gradient(circle at 36% 30%, #f6d68a, var(--honey-seal) 60%, #bd7f1c);
  box-shadow: 0 3px 8px -2px rgba(120, 70, 10, 0.55), inset 0 -3px 6px rgba(120, 70, 10, 0.35), inset 0 2px 3px rgba(255, 245, 210, 0.7);
  transform: rotate(-6deg);
}
.price-seal .num { font-size: 1.3rem; line-height: 1; }
.price-seal .cur { font-size: 0.7rem; letter-spacing: 0.05em; }

.ware-desc { color: var(--text-muted); margin: 0.9rem 0 1.15rem; font-size: 0.98rem; }

/* Auftragszettel — ausgefüllte Vorschau, gestrichelte „Perforation" */
.slip {
  background: var(--bg-inset); border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md); padding: 0.9rem 1rem; margin-bottom: 1.25rem;
}
.slip-title {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--honey); margin: 0 0 0.55rem;
}
.slip dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 0.85rem; }
.slip dt {
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted);
  white-space: nowrap;
}
.slip dd {
  margin: 0; font-size: 0.9rem; color: var(--text); font-weight: 600;
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.slip dd.opts { font-weight: 500; color: var(--clay); font-family: var(--font-mono); font-size: 0.82rem; }

.ware-deliver {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 0.45rem; margin: 0 0 1.1rem;
}
.ware .btn { margin-top: auto; justify-content: center; }

.wares-note {
  margin-top: 1.75rem; text-align: center; font-size: 0.85rem; color: var(--text-muted);
  max-width: 62ch; margin-inline: auto;
}

/* ======================= KOSTPROBEN (Galerie + Hörprobe) ======================= */
.ware-badge {
  display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.5rem;
  border-radius: var(--radius-pill); background: var(--clay-soft); color: var(--clay);
  font-family: var(--font-body); font-weight: 700; letter-spacing: 0.02em;
  text-transform: none; font-size: 0.62rem; vertical-align: middle;
}
.kostproben { background: linear-gradient(var(--bg-elevated), var(--bg-elevated)) padding-box; }
.galerie-grid {
  display: grid; gap: 1.1rem; margin-bottom: 2.5rem;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.galerie-grid figure { margin: 0; }
.galerie-grid img {
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-md); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); background: #fff;
}
.galerie-grid figcaption {
  margin-top: 0.5rem; text-align: center; font-family: var(--font-mono);
  font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.02em;
}
.hoerprobe {
  max-width: 40rem; margin: 0 auto; text-align: center;
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.hoerprobe-label {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--text);
  margin: 0 0 1rem; letter-spacing: 0.02em;
}
.hoerprobe-label em { color: var(--clay); font-style: italic; }
.hoerprobe audio { width: 100%; max-width: 30rem; }
.hoerprobe-note {
  margin: 1rem 0 0; font-size: 0.85rem; color: var(--text-muted); line-height: 1.5;
}

/* ========================= ABLAUF ========================= */
.steps { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm); position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: grid; place-content: center; margin-bottom: 0.9rem;
  background: var(--accent-soft); color: var(--accent);
  border: 1.5px solid var(--accent);
}
.step h3 { font-size: 1.18rem; font-weight: 600; margin-bottom: 0.4rem; }
.step p { color: var(--text-muted); margin: 0; font-size: 0.96rem; }

/* ========================== IDEE ========================== */
.idee-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: 1.1fr 0.9fr; align-items: start; }
@media (max-width: 820px) { .idee-grid { grid-template-columns: 1fr; } }
.idee-copy p { color: var(--text-muted); max-width: 60ch; }
.idee-copy p:first-of-type { color: var(--text); font-size: 1.1rem; }

/* Tinten-Ledger: Transparenz-Scoreboard */
.ledger {
  background: var(--bg-inset); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.ledger-title {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-muted);
  display: flex; align-items: center; gap: 0.5rem; margin: 0 0 1.1rem;
  padding-bottom: 0.85rem; border-bottom: 1.5px dashed var(--border-strong);
}
.ledger-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; }
.ledger-row + .ledger-row { border-top: 1px dashed var(--border); }
.ledger-label { font-size: 0.95rem; color: var(--text); }
.ledger-label small { display: block; color: var(--text-muted); font-size: 0.76rem; }
.ledger-val {
  font-family: var(--font-mono); font-weight: 700; font-size: 1.3rem;
  font-variant-numeric: tabular-nums; color: var(--honey); white-space: nowrap;
}
.ledger-val.spend { color: var(--clay); }
.ledger-foot {
  margin-top: 1rem; padding-top: 0.9rem; border-top: 1.5px dashed var(--border-strong);
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); line-height: 1.5;
}

/* ========================= FEEDBACK ========================= */
.feedback { text-align: center; }
.feedback .section-lead { margin-inline: auto; }
.fb-card {
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 4vw, 2.4rem); max-width: 40rem; margin: 0 auto;
  text-align: left;
}
.fb-card label {
  display: block; font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--honey); margin-bottom: 0.5rem;
}
.fb-card textarea {
  width: 100%; min-height: 8rem; resize: vertical;
  font-family: var(--font-body); font-size: 1rem; line-height: 1.55; color: var(--text);
  background: var(--bg-inset); border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md); padding: 0.85rem 1rem;
}
.fb-card textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.fb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem; margin-top: 1rem; }
.fb-hint {
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-muted);
  margin: 1.1rem 0 0; line-height: 1.5;
}
.fb-hint a { color: var(--honey); }

/* ===================== RECHT / INHALTSSEITEN ===================== */
.legal { max-width: 70ch; }
.legal > .eyebrow { margin-bottom: 1.4rem; }
.legal section { margin-bottom: 1.9rem; }
.legal h2 {
  font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.1rem); font-weight: 600;
  letter-spacing: -0.01em; margin-bottom: 0.6rem;
}
.legal h3 {
  font-size: 1.15rem; font-weight: 600; color: var(--text);
  margin: 0 0 0.5rem; letter-spacing: 0;
}
.legal p, .legal li { color: var(--text-muted); }
.legal p { margin: 0 0 0.7rem; }
.legal ul { margin: 0 0 0.9rem; padding-left: 1.2rem; }
.legal li { margin-bottom: 0.35rem; }
.legal a { color: var(--honey); }
.legal code {
  font-family: var(--font-mono); font-size: 0.88em;
  background: var(--bg-inset); padding: 0.1em 0.35em; border-radius: 5px;
}
.legal .muted.small { font-size: 0.78rem; color: var(--text-muted); }
.legal-back { margin-top: 2.5rem; font-family: var(--font-mono); font-size: 0.85rem; }
.legal-back a { color: var(--accent); text-decoration: none; }
.legal-back a:hover { text-decoration: underline; }

/* ========================== FOOTER ========================== */
.site-footer {
  border-top: 1.5px dashed var(--border-strong); background: var(--bg-elevated);
  padding-block: 2.5rem;
}
.footer-grid { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.footer-brand .orb { font-size: 0.7rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.1rem; font-family: var(--font-mono); font-size: 0.82rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.footer-note {
  margin-top: 1.6rem; font-family: var(--font-mono); font-size: 0.72rem; line-height: 1.6;
  color: var(--text-muted); max-width: 70ch;
}
.footer-note a { color: var(--honey); }
