/* ============================================================
   STRAIN — Editorial Design System
   Default: dark (Northern-Lights, plum-on-ink).
   Light variant via body.theme-light (warm cream paper).
   ============================================================ */

/* Länder-Flaggen-Emoji-Font (nur Flaggen-Codepoints via unicode-range) —
   damit 🇲🇦 & Co. auf Windows/Linux als Flagge statt "MA" erscheinen. */
@font-face {
  font-family: "Strain Flags";
  font-style: normal;
  font-weight: 400;
  src: url("https://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1.8/dist/TwemojiCountryFlags.woff2") format("woff2");
  unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E007F;
  font-display: swap;
}

:root {
  /* ── SURFACE (dark default) ── deep warm-tinted with plum undertone */
  --paper-0: #0d0a14;
  --paper-1: #14101e;
  --paper-2: #1e1828;
  --paper-card: #181323;
  --paper-elev: #1a1426;

  /* ── INK ── warm-cream text scale */
  --ink-1: #f6f1e6;
  --ink-2: #c5b8a3;
  --ink-3: #8b7e6a;
  --ink-4: #5a5044;

  /* ── LINES ── hairlines on dark */
  --line-1: rgba(246, 241, 230, 0.06);
  --line-2: rgba(246, 241, 230, 0.11);
  --line-3: rgba(246, 241, 230, 0.20);

  /* ── ACCENT ── Teal (Vincent-Wahl), calibrated for dark. Fallback. */
  --plum: #2cc0b6;
  /* WICHTIG: --plum-rgb als Default hier setzen. Die ed-mark-Glows nutzen
     rgba(var(--plum-rgb), …) für den box-shadow — fehlt der Wert (z.B. bevor
     data-strain-accent greift / im Feed), wird der Schatten ungültig und der
     Glow VERSCHWINDET. Themes überschreiben das pro Akzent. */
  --plum-rgb: 44, 192, 182;
  --plum-deep: #16a8a0;
  --plum-soft: rgba(44, 192, 182, 0.10);
  --plum-line: rgba(44, 192, 182, 0.28);
  --plum-tint: #7fe0d8;

  /* ── SEMANTIC ── */
  --gold: #e8c46b;
  --gold-soft: rgba(232, 196, 107, 0.10);
  --sage: #8fcf7f;
  --brick: #e08a7a;

  /* ── RADII ── */
  --r-xs: 2px;
  --r-sm: 3px;
  --r-md: 4px;
  --r-lg: 6px;

  /* ── TYPE ── */
  --font-display: "Strain Flags", "Fraunces", "Cormorant Garamond", "Georgia", serif;
  --font-body: "Strain Flags", "Inter", -apple-system, "Helvetica Neue", sans-serif;
  /* --font-mono ist jetzt Inter mit letter-spacing + uppercase — */
  /* 2 schriften statt 3, weniger visueller laerm. */
  --font-mono: "Strain Flags", "Inter", -apple-system, "Helvetica Neue", sans-serif;

  /* ── DENSITY ── */
  --pad-page: 56px;
  --pad-section: 40px;

  /* ── SPACING-SKALA ── einheitlicher Rhythmus statt magischer Zahlen */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 18px;
  --sp-5: 28px;
  --sp-6: 44px;

  /* ── SEMANTISCHE FARBEN ── nie wieder Hex im JSX */
  --error: #e08a7a;
  --success: #8fcf7f;
  --warn: #e8c46b;
  --overlay: rgba(8, 6, 14, 0.72);
  --sativa: #d9a441;
  --indica: #9b7ad6;
  --hybrid: #7faf6a;
}

/* ══ LIGHT THEME (warm paper) — opt-in via body.theme-light or .theme-light ══ */
body.theme-light,
.theme-light {
  --paper-0: #f3ece0;
  --paper-1: #ede4d3;
  --paper-2: #e2d6bf;
  --paper-card: #faf3e5;
  --paper-elev: #fdf8ec;

  --ink-1: #1c1612;
  --ink-2: #4a3f33;
  --ink-3: #7d6f5e;
  --ink-4: #a89880;

  --line-1: rgba(28, 22, 18, 0.08);
  --line-2: rgba(28, 22, 18, 0.14);
  --line-3: rgba(28, 22, 18, 0.24);

  --plum: #0f7d77;
  --plum-deep: #0a5a55;
  --plum-soft: rgba(15, 125, 119, 0.08);
  --plum-line: rgba(15, 125, 119, 0.22);
  --plum-tint: #2c9d95;

  --gold: #9a7234;
  --gold-soft: rgba(154, 114, 52, 0.10);
  --sage: #5b7a55;
  --brick: #a04634;

  /* Semantische Farben — auf hellem Papier abgedunkelt fuer Kontrast */
  --error: #b3402c;
  --success: #4e7a47;
  --warn: #9a7234;
  --overlay: rgba(28, 22, 18, 0.55);
  --sativa: #9a6b1e;
  --indica: #5a3d8c;
  --hybrid: #4e7a47;
}

/* ── Northern-Lights aurora — visible in dark only ── */
.ed-bg-aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 1;
  transition: opacity 400ms;
}
body.theme-light .ed-bg-aurora,
.theme-light .ed-bg-aurora { opacity: 0; }
.ed-bg-aurora::before,
.ed-bg-aurora::after {
  content: "";
  position: absolute;
  width: 90vw; height: 65vh;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.38;
}
.ed-bg-aurora::before {
  top: -28vh; left: -14vw;
  background: radial-gradient(circle, var(--plum-deep), transparent 70%);
}
.ed-bg-aurora::after {
  top: -20vh; right: -18vw;
  background: radial-gradient(circle, var(--plum), transparent 70%);
  opacity: 0.22;
}

/* The light variant kept the primary button white-on-plum which inverts
   incorrectly on dark; in dark we want dark-text on bright-plum. */
.ed-btn-primary {
  color: #0d0a14 !important;
}
body.theme-light .ed-btn-primary,
.theme-light .ed-btn-primary { color: #fbf5e9 !important; }

/* On dark, image grading prefers a touch more saturation */
.ed-feature-media img,
.ed-entry-thumb img,
.ed-hero-media img,
.ed-seedcard-media img {
  filter: saturate(0.95) contrast(1.04);
}
body.theme-light .ed-feature-media img,
body.theme-light .ed-entry-thumb img,
body.theme-light .ed-hero-media img,
body.theme-light .ed-seedcard-media img,
.theme-light .ed-feature-media img,
.theme-light .ed-entry-thumb img,
.theme-light .ed-hero-media img,
.theme-light .ed-seedcard-media img {
  filter: saturate(0.85) contrast(1.02);
}

/* ====== Base ====== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--paper-0);
  color: var(--ink-1);
  font-size: 14px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11", "case";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.003em;
}

button { font-family: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ====== Type primitives ====== */
.serif {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  letter-spacing: -0.018em;
}
.serif-italic { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; }
.mono {
  font-family: var(--font-mono);
  font-size: 0.78em;
  letter-spacing: 0.04em;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  /* 0.22em → 0.16em (Feedback 07/2026: Typo wirkte überstimulierend —
     Kicker bleiben editorial, aber eine Stufe leiser). */
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.eyebrow-num { color: var(--plum); }

/* ── Ruhemodus (data-strain-ruhe="1" auf <html>) ──────────────────────
   Opt-in in den Einstellungen (Boot-Script in index.html, Muster wie
   Akzent-Theme): Kicker verlieren Versalien + Sperrung ganz, und alles
   mit .ruhe-hide (Zweit-Infos, Infotainment-Karten) verschwindet —
   für alle, denen die volle editorial Textur zu viel ist. */
[data-strain-ruhe="1"] .eyebrow {
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 12px;
}
[data-strain-ruhe="1"] .ruhe-hide { display: none !important; }
.smallcaps {
  font-feature-settings: "smcp", "c2sc";
  letter-spacing: 0.06em;
}

.rule {
  height: 1px;
  background: var(--line-2);
  border: 0;
  margin: 0;
}
.rule-thick { height: 2px; background: var(--ink-1); }
.rule-double {
  border-top: 1px solid var(--ink-1);
  border-bottom: 1px solid var(--ink-1);
  height: 4px;
}

/* Numerals: tabular lining figures — keeps columns aligned, no kerning quirks */
.ed-num,
.ed-price-amt,
.ed-stat-val,
.ed-score-num,
.ed-axis-val,
.ed-idx-num {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  font-feature-settings: "tnum", "lnum";
  font-style: normal;
  font-weight: 400;
}


.ed-app {
  min-height: 100vh;
  background: var(--paper-0);
  display: grid;
  grid-template-columns: 232px 1fr;
}

/* ====== Sidebar ====== */
.ed-sidebar {
  border-right: 1px solid var(--line-2);
  padding: 32px 24px 28px;
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--paper-1);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ed-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-2);
}
.ed-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ed-brand-mark {
  font-family: var(--font-display);
  font-weight: 400;
  /* high-contrast Didone-Schnitt; nur das "a" ist kursiv (eigenes Markup) */
  font-variation-settings: "opsz" 144;
  font-size: 32px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink-1);
}
.ed-brand-mark i,
.ed-brand-mark .ed-wa {
  font-style: italic;
}
.ed-brand-mark em {
  /* Marken-Punkt = perfekter Kreis mit Glow, identisch zum ed-mark. */
  display: inline-block;
  width: 0.2em;
  height: 0.2em;
  border-radius: 50%;
  background: var(--plum);
  color: transparent;
  text-indent: -9999em;
  overflow: hidden;
  vertical-align: baseline;
  margin-left: 0.06em;
  font-style: normal;
  line-height: 1;
  box-shadow: 0 0 0.34em 0 color-mix(in srgb, var(--plum) 55%, transparent);
}
body.theme-light .ed-brand-mark em,
.theme-light .ed-brand-mark em {
  box-shadow: 0 0 0.22em 0 color-mix(in srgb, var(--plum) 32%, transparent);
}

/* Markenidentitaet: plum-Punkt am Ende eines Wortes/Labels (wie "Strain.").
   Geometrisch perfekter Kreis - NICHT der Fraunces-Period-Glyph, der wird
   bei groesseren Sizes oval/tropfenfoermig.
   Markup bleibt <em className="ed-mark">.</em> - der Text-"." wird via
   text-indent versteckt, das em-Element selbst ist die Kreis-Box mit
   border-radius 50%. Groesse via em-unit -> skaliert mit parent font-size. */
/* Sprachflagge: color-emoji font erzwingen (siehe Welt-B Erklaerung). */
.lang-flag {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif !important;
  font-variation-settings: normal !important;
  font-feature-settings: normal !important;
}

em.ed-mark,
.ed-mark {
  display: inline-block !important;
  /* Rein em-relativ: skaliert proportional zur Schrift, damit der Punkt in
     jeder Groesse ungefaehr so wirkt wie ein etwas markanterer Text-Punkt
     (Fraunces-Period ist ~0.13em - wir sind etwas groesser fuer den
     Brand-Akzent, aber NIE mit Pixel-Floor, der kleine Kontexte
     ueberproportioniert). */
  width: 0.28em !important;
  height: 0.28em !important;
  border-radius: 50% !important;
  background: var(--plum) !important;
  /* Glühender Halo — matcht die Logo-Wortmarke (zwei-stufiger Glow). */
  box-shadow:
    0 0 0.18em rgba(var(--plum-rgb), 0.55),
    0 0 0.55em rgba(var(--plum-rgb), 0.32) !important;
  vertical-align: baseline !important;
  margin-left: 0.06em !important;
  margin-right: 0 !important;
  text-indent: -9999em !important;
  overflow: hidden !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-family: inherit !important;
  line-height: 1 !important;
}
.ed-brand-vol {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.ed-brand-tag {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0;
  margin-top: 6px;
}

.ed-nav-section { display: flex; flex-direction: column; gap: 2px; }
.ed-nav-section-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 0 0 10px;
  padding: 0 4px;
}
.ed-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 4px 9px 12px;
  border-radius: 0;
  color: var(--ink-2);
  font-size: 13.5px;
  font-family: var(--font-display);
  letter-spacing: -0.005em;
  cursor: pointer;
  position: relative;
  transition: color 200ms;
  border-left: 1px solid transparent;
}
.ed-nav-item:hover { color: var(--ink-1); }
.ed-nav-item.active {
  color: var(--plum);
  border-left-color: var(--plum);
  background: linear-gradient(90deg, var(--plum-soft), transparent 60%);
}
.ed-nav-item-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.1em;
  min-width: 22px;
}
.ed-nav-item.active .ed-nav-item-num { color: var(--plum); }
.ed-nav-item-icon {
  width: 16px; height: 16px;
  display: inline-flex;
  align-items: center; justify-content: center;
  color: currentColor;
  opacity: 0.7;
}
.ed-nav-item-label { flex: 1; }
.ed-nav-sub {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 4px 0 6px 36px;
  margin-bottom: 2px;
}
.ed-nav-sub-item {
  padding: 5px 4px;
  font-size: 12px;
  font-family: var(--font-body);
  color: var(--ink-3);
  cursor: pointer;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ed-nav-sub-item:hover { color: var(--ink-1); }
.ed-nav-sub-item.active { color: var(--plum); font-weight: 500; }
.ed-nav-sub-item::before {
  content: "";
  width: 6px; height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.ed-side-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-4);
  text-transform: uppercase;
  line-height: 1.8;
}

/* ====== Topbar ====== */
.ed-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper-elev);
  border-bottom: 1px solid var(--line-2);
  padding: 18px 56px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
}
.ed-topbar-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  gap: 24px;
}
.ed-topbar-meta b {
  color: var(--ink-1);
  font-weight: 500;
}
.ed-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--paper-card);
  color: var(--ink-3);
  font-size: 12.5px;
  min-width: 280px;
}
.ed-search input {
  background: none; border: 0; outline: 0;
  flex: 1; color: var(--ink-1);
  font: inherit;
  font-family: var(--font-body);
}
.ed-kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-4);
  padding: 2px 5px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
}
.ed-top-actions { display: flex; align-items: center; gap: 12px; }

/* ====== Buttons ====== */
.ed-btn {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 9px 18px;
  border: 1px solid var(--ink-1);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink-1);
  transition: all 180ms;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ed-btn:hover { background: var(--ink-1); color: var(--paper-0); }
.ed-btn-primary {
  background: var(--plum);
  border-color: var(--plum);
  color: #fbf5e9;
}
.ed-btn-primary:hover { background: var(--plum-deep); border-color: var(--plum-deep); }
.ed-btn-ghost {
  border-color: var(--line-2);
  padding: 8px 14px;
}
.ed-btn-ghost:hover { background: var(--paper-1); color: var(--ink-1); }
.ed-btn-icon {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  padding: 0;
  justify-content: center;
  color: var(--ink-2);
}
.ed-btn-icon:hover { background: var(--paper-1); color: var(--ink-1); }
.ed-btn-link {
  border: 0;
  padding: 0;
  color: var(--plum);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.ed-btn-link::after { content: " →"; }

/* Underlined link variant — Hermès-y */
.ed-link-uline {
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 180ms;
}
.ed-link-uline:hover { color: var(--plum); }

/* ====== Page wrapper ====== */
.ed-page {
  max-width: 1320px;
  padding: var(--pad-page) var(--pad-page) 120px;
  margin: 0 auto;
}
.ed-page-narrow { max-width: 920px; }

.ed-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  padding-bottom: 32px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--ink-1);
  position: relative;
}
.ed-page-head::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--ink-1);
}
.ed-page-title {
  font-family: var(--font-display);
  font-size: 86px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 0;
  font-weight: 400;
  color: var(--ink-1);
  font-variation-settings: "opsz" 144;
}
.ed-page-title em {
  font-style: italic;
  color: var(--plum);
}
.ed-page-sub {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.45;
  font-style: italic;
  color: var(--ink-2);
  max-width: 44ch;
  margin: 12px 0 0;
  font-weight: 400;
}
.ed-page-aside {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.9;
}
.ed-page-aside b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--plum);
  font-style: italic;
  margin-top: 2px;
}

/* Sub-tabs under page head (Blüten / Samen etc.) */
.ed-subtabs {
  display: flex;
  gap: 28px;
  padding: 0 0 18px;
  margin: -32px 0 28px;
  border-bottom: 1px solid var(--line-2);
}
.ed-subtab {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink-3);
  padding: 0 0 14px;
  cursor: pointer;
  position: relative;
  border-bottom: 2px solid transparent;
  margin-bottom: -19px;
  transition: color 180ms;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ed-subtab:hover { color: var(--ink-1); }
.ed-subtab.active {
  color: var(--ink-1);
  border-bottom-color: var(--plum);
}
.ed-subtab-count {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

/* ====== Section heads ====== */
.ed-section { margin: 0 0 72px; }
.ed-section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding-bottom: 14px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line-2);
}
.ed-section-num {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--plum);
}
.ed-section-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 0;
  color: var(--ink-1);
}
.ed-section-aside {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ====== Filter row ====== */
.ed-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.ed-chip {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.01em;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  background: transparent;
  transition: all 180ms;
}
.ed-chip:hover { border-color: var(--ink-2); color: var(--ink-1); }
.ed-chip.active {
  background: var(--ink-1);
  color: var(--paper-0);
  border-color: var(--ink-1);
}
.ed-chip-plum.active { background: var(--plum); border-color: var(--plum); }

/* ====== Feed cards — editorial, not Reddit ====== */
.ed-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Feature: large editorial entry */
.ed-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: stretch;
  padding: 56px 0;
  border-bottom: 1px solid var(--line-2);
  cursor: pointer;
  transition: opacity 200ms;
}
.ed-feature:hover { opacity: 0.94; }
.ed-feature-media {
  position: relative;
  aspect-ratio: 5 / 4;
  background: var(--paper-1);
  overflow: hidden;
  border-radius: var(--r-sm);
}
.ed-feature-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.02);
  transition: transform 800ms ease;
}
.ed-feature:hover .ed-feature-media img { transform: scale(1.02); }
.ed-feature-cap {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fbf5e9;
  background: rgba(28, 22, 18, 0.78);
  padding: 5px 10px;
  border-radius: var(--r-xs);
  backdrop-filter: blur(8px);
}
.ed-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0;
}
.ed-feature-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.ed-feature-meta b {
  color: var(--plum);
  font-weight: 500;
}
.ed-feature-title {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  font-weight: 400;
  color: var(--ink-1);
  font-variation-settings: "opsz" 144;
}
.ed-feature-dek {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 44ch;
}
.ed-feature-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}
.ed-feature-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.ed-feature-byline b { color: var(--ink-1); font-weight: 500; }

/* Standard list row entry */
.ed-entry {
  display: grid;
  grid-template-columns: 56px 200px 1fr auto;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-2);
  cursor: pointer;
  align-items: start;
  transition: background 200ms;
}
.ed-entry:hover { background: rgba(28, 22, 18, 0.018); }
.ed-entry-num {
  font-family: var(--font-display);
  font-feature-settings: "tnum", "lnum";
  font-size: 24px;
  font-style: normal;
  color: var(--plum);
  letter-spacing: -0.02em;
  padding-top: 4px;
}
.ed-entry-thumb {
  aspect-ratio: 5 / 4;
  background: var(--paper-1);
  overflow: hidden;
  border-radius: var(--r-sm);
}
.ed-entry-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}
.ed-entry-body { min-width: 0; }
/* Kein Bild -> keine Thumb-Spalte */
.ed-entry--no-thumb { grid-template-columns: 56px 1fr auto; }
.ed-feature--no-media { grid-template-columns: minmax(0, 1fr); }
.ed-entry-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.ed-entry-meta b { color: var(--plum); font-weight: 500; }
.ed-entry-title {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin: 0 0 10px;
  font-weight: 400;
  font-variation-settings: "opsz" 144;
}
.ed-entry-dek {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 14px;
  max-width: 60ch;
}
.ed-entry-foot {
  display: flex;
  gap: 18px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
}
.ed-entry-aside {
  text-align: right;
  min-width: 140px;
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ed-entry-aside b {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-variation-settings: "opsz" 144;
  color: var(--ink-1);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
}
.ed-entry-aside-sub {
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-3);
  font-size: 13px;
  display: block;
  margin-top: 2px;
}

/* ====== Tag / pill ====== */
.ed-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xs);
  color: var(--ink-2);
  background: transparent;
}
.ed-tag-plum {
  color: var(--plum);
  border-color: var(--plum-line);
  background: var(--plum-soft);
}
.ed-tag-gold {
  color: var(--gold);
  border-color: rgba(154, 114, 52, 0.3);
  background: var(--gold-soft);
}
.ed-tag-sage {
  color: var(--sage);
  border-color: rgba(91, 122, 85, 0.3);
  background: rgba(91, 122, 85, 0.08);
}
.ed-tag-ink {
  background: var(--ink-1);
  color: var(--paper-0);
  border-color: var(--ink-1);
}

/* ====== Verified seal ====== */
.ed-seal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 3px 9px 3px 6px;
  border: 1px solid rgba(154, 114, 52, 0.4);
  border-radius: var(--r-xs);
  background: var(--gold-soft);
}

/* ====== Avatar (paper monogram) ====== */
.ed-avatar {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--paper-1);
  border: 1px solid var(--line-2);
  color: var(--ink-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.ed-avatar.lg { width: 64px; height: 64px; font-size: 26px; }
.ed-avatar.md { width: 40px; height: 40px; font-size: 16px; }
.ed-avatar.sm { width: 22px; height: 22px; font-size: 11px; }
.ed-avatar-plum {
  background: var(--plum);
  color: #fbf5e9;
  border-color: var(--plum);
}

/* ====== Score / Rating ====== */
.ed-score {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-display);
}
.ed-score-num {
  font-size: 30px;
  font-variation-settings: "opsz" 144;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink-1);
}
.ed-score-of {
  font-size: 13px;
  color: var(--ink-3);
}
.ed-score.sm .ed-score-num { font-size: 19px; }

.ed-axes { display: grid; gap: 10px; }
.ed-axis-row {
  display: grid;
  grid-template-columns: 90px 1fr 32px;
  align-items: center;
  gap: 12px;
}
.ed-axis-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ed-axis-track {
  height: 2px;
  background: var(--line-2);
  position: relative;
  overflow: hidden;
}
.ed-axis-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--plum);
  border-radius: 0;
}
.ed-axis-val {
  font-family: var(--font-display);
  font-feature-settings: "tnum", "lnum";
  font-size: 13px;
  text-align: right;
  color: var(--ink-1);
  letter-spacing: 0;
}

/* ====== Card / surface ====== */
.ed-card {
  background: var(--paper-card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 24px;
}

/* ====== Strain detail hero ====== */
.ed-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
  padding-bottom: 64px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--ink-1);
}
.ed-hero-media {
  aspect-ratio: 4 / 5;
  background: var(--paper-1);
  overflow: hidden;
  border-radius: var(--r-sm);
  position: relative;
}
.ed-hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02);
}
.ed-hero-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 0;
}
.ed-hero-title {
  font-family: var(--font-display);
  font-size: 76px;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0;
  font-weight: 400;
  font-variation-settings: "opsz" 144;
}
.ed-hero-sub {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink-2);
  margin: 18px 0 0;
  letter-spacing: -0.005em;
}

/* ====== Specifications table — Hermès product specs ====== */
.ed-specs {
  display: grid;
  gap: 0;
  margin-top: 32px;
}
.ed-spec {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: baseline;
}
.ed-spec:first-child { border-top: 1px solid var(--line-2); }
.ed-spec-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ed-spec-val {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink-1);
}
.ed-spec-val em {
  font-feature-settings: "tnum", "lnum";
  color: var(--plum);
}
.ed-spec-val small {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0;
  margin-left: 8px;
}

/* ====== Pricing matrix ====== */
.ed-pricing {
  display: grid;
  gap: 0;
}
.ed-price-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: center;
}
.ed-price-row:first-child { border-top: 1px solid var(--ink-1); }
.ed-price-vendor {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: -0.01em;
}
.ed-price-vendor-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 2px;
}
.ed-price-amt {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  font-feature-settings: "tnum", "lnum";
  font-size: 24px;
  letter-spacing: -0.012em;
}
.ed-price-amt.best { color: var(--plum); }
.ed-price-mg {
  font-family: var(--font-display);
  font-feature-settings: "tnum", "lnum";
  font-size: 13px;
  letter-spacing: 0;
  color: var(--ink-3);
  min-width: 70px;
  text-align: right;
}
.ed-price-action {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--plum);
}

/* ====== Two-col with sidebar ====== */
.ed-twocol {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
}

/* ====== Drop cap for editorial paragraphs ====== */
.ed-dropcap::first-letter {
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 0.85;
  float: left;
  margin: 4px 12px 0 -2px;
  color: var(--plum);
  font-variation-settings: "opsz" 144;
  font-style: italic;
  font-weight: 400;
}
.ed-prose {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-1);
  max-width: 32em;
  font-variation-settings: "opsz" 24;
}
.ed-prose p { margin: 0 0 1.1em; }
.ed-prose-lead {
  font-size: 22px;
  font-style: italic;
  color: var(--ink-2);
  margin-bottom: 1.4em;
  line-height: 1.45;
}

/* Pull-quote */
.ed-pullquote {
  border-top: 1px solid var(--ink-1);
  border-bottom: 1px solid var(--ink-1);
  padding: 28px 0;
  margin: 36px 0;
  text-align: center;
}
.ed-pullquote q {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink-1);
  quotes: "“" "”";
  font-variation-settings: "opsz" 144;
}
.ed-pullquote q::before { color: var(--plum); margin-right: 4px; }
.ed-pullquote q::after { color: var(--plum); margin-left: 4px; }
.ed-pullquote-att {
  display: block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ====== Aside cards (sidebar) ====== */
.ed-aside-card {
  background: var(--paper-card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 22px 22px 24px;
  margin-bottom: 16px;
}
.ed-aside-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-2);
}
.ed-aside-card .ed-aside-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  font-size: 13px;
}
.ed-aside-card .ed-aside-row b {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink-1);
}

/* ====== Auth screen ====== */
.ed-auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--paper-0);
}
.ed-auth-art {
  background: var(--paper-1);
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line-2);
}
.ed-auth-quote {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.96;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin: 0;
  font-weight: 400;
  font-variation-settings: "opsz" 144;
}
.ed-auth-quote em {
  font-style: italic;
  color: var(--plum);
}
.ed-auth-form {
  padding: 64px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
}

/* ====== Form ====== */
.ed-field { margin-bottom: 20px; }
.ed-label {
  display: block;
  font-family: var(--font-mono);
  /* Labels waren vorher 10px + ink-3 — auf dunklen Profil-Themes (Setzling,
     Plum-Hintergrund) praktisch unlesbar bei Tageslicht. Größer + heller, etwas
     weniger Letter-Spacing macht sie ohne Stilbruch ergonomisch lesbar. */
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.ed-input,
.ed-textarea {
  width: 100%;
  /* Eigene Box statt nur Underline — der reine Strich war auf den profil-
     thematisierten Hintergründen (radial-Verlauf) kaum als Eingabefeld
     erkennbar. Subtile Karte, klarer Fokus-Indikator. */
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm, 8px);
  padding: 11px 13px;
  color: var(--ink-1);
  font: inherit;
  /* iOS Safari zoomt auto in <input>/<textarea>, sobald font-size < 16px ist.
     16px ist der harte Schwellwert — alles darunter triggert den Zoom beim
     Fokus, auch wenn user-scalable=no gesetzt wäre. */
  font-size: 16px;
  font-family: var(--font-display);
  outline: none;
  transition: border-color 200ms, background 200ms;
}
.ed-input:focus,
.ed-textarea:focus {
  border-color: var(--plum);
  background: var(--paper-1);
}
.ed-input::placeholder { color: var(--ink-4); font-style: italic; }

/* ====== Comments — editorial ====== */
.ed-comment {
  padding: 24px 0;
  border-bottom: 1px solid var(--line-2);
}
.ed-comment-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.ed-comment-head-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ed-comment-head-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  color: var(--ink-1);
}
.ed-comment-head-time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ed-comment-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-1);
  margin-bottom: 10px;
  padding-left: 46px;
}
.ed-comment-actions {
  display: flex;
  gap: 24px;
  padding-left: 46px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ed-comment-actions button { color: inherit; font: inherit; }
.ed-comment-actions button:hover { color: var(--plum); }
.ed-comment-children {
  padding-left: 46px;
  margin-top: 4px;
  border-left: 1px solid var(--line-2);
  padding-left: 24px;
  margin-left: 22px;
}

/* ====== Number / Stat block ====== */
.ed-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ed-stat-val {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink-1);
  font-variation-settings: "opsz" 144;
  font-weight: 400;
}
.ed-stat-val em { color: var(--plum); }
.ed-stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ====== Sparkline ====== */
.ed-spark {
  width: 80px;
  height: 24px;
  display: block;
}

/* ====== Density variants for cards-grid (samen, etc.) ====== */
.ed-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}
.ed-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.ed-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Samen / Seed cards */
.ed-seedcard {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.ed-seedcard-media {
  aspect-ratio: 1;
  background: var(--paper-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  margin-bottom: 14px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ed-seedcard-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85);
}
.ed-seedcard-num {
  position: absolute;
  top: 12px; left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
}
.ed-seedcard-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 0 0 4px;
  font-weight: 400;
}
.ed-seedcard-breeder {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.ed-seedcard-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ed-seedcard-price {
  font-family: var(--font-display);
  font-feature-settings: "tnum", "lnum";
  font-size: 22px;
  color: var(--plum);
  letter-spacing: -0.015em;
  text-transform: none;
}

/* ====== Index / numbered list ====== */
.ed-idx {
  display: grid;
  gap: 0;
}
.ed-idx-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: center;
  cursor: pointer;
  transition: background 200ms;
}
.ed-idx-row:hover { background: rgba(28, 22, 18, 0.018); }
.ed-idx-row:first-child { border-top: 1px solid var(--ink-1); }
.ed-idx-num {
  font-family: var(--font-display);
  font-feature-settings: "tnum", "lnum";
  font-size: 22px;
  color: var(--ink-3);
  letter-spacing: -0.01em;
}
.ed-idx-row.top .ed-idx-num { color: var(--plum); }
.ed-idx-name {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: -0.012em;
  font-weight: 400;
}
.ed-idx-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 2px;
}
.ed-idx-meta {
  display: flex;
  gap: 32px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  letter-spacing: 0.05em;
}

/* ====== Mobile frames ====== */
.ed-mobile {
  width: 390px;
  background: var(--paper-0);
  font-size: 14px;
  overflow: hidden;
}

/* Guides: Floating-Marginalia + Inhaltsverzeichnis sind welt-b-Editorial-
   Schmuck, der im Mobile-Frame keinen Platz hat. Auf Mobile ausblenden. */
.ed-guide-mobile .guide-marginalia,
.ed-guide-mobile .guide-toc {
  display: none !important;
}
.ed-mobile .ed-page {
  padding: 24px 20px 80px;
  max-width: none;
}
.ed-mobile .ed-page-head {
  flex-direction: column;
  display: flex;
  border-bottom-width: 1px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  gap: 8px;
  align-items: flex-start;
}
.ed-mobile .ed-page-head::after { display: none; }
.ed-mobile .ed-page-title { font-size: 44px; }
.ed-mobile .ed-page-sub { font-size: 15px; margin-top: 6px; }
.ed-mobile .ed-section { margin-bottom: 40px; }
.ed-mobile .ed-section-head { gap: 12px; }
.ed-mobile .ed-section-title { font-size: 18px; }

/* Mobile topbar */
.ed-mobile-topbar {
  padding: 14px 20px 12px;
  border-bottom: 1px solid var(--line-2);
  background: var(--paper-elev);
  display: flex;
  align-items: center;
  gap: 12px;
}
.ed-mobile-topbar .ed-brand-mark { font-size: 26px; }

/* Mobile tabbar */
.ed-mobile-tabbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-2);
  background: var(--paper-elev);
  padding: 10px 0 22px;
}
.ed-mobile-tabbar button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 6px 0 2px;
}
.ed-mobile-tabbar button.active { color: var(--plum); }
.ed-mobile-tabbar button svg { opacity: 0.85; }
.ed-mobile-tabbar button.active svg { stroke: var(--plum); }

/* Mobile feature */
.ed-mobile .ed-feature {
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 28px 0;
}
.ed-mobile .ed-feature-title { font-size: 28px; }
.ed-mobile .ed-feature-dek { font-size: 15px; }
.ed-mobile .ed-feature-media { aspect-ratio: 4/3; }

.ed-mobile .ed-entry {
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 20px 0;
}
.ed-mobile .ed-entry-num { display: none; }
.ed-mobile .ed-entry-title { font-size: 18px; }
.ed-mobile .ed-entry-dek {
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ed-mobile .ed-entry-aside { display: none; }

.ed-mobile .ed-hero {
  grid-template-columns: 1fr;
  gap: 24px;
  padding-bottom: 32px;
  margin-bottom: 24px;
}
.ed-mobile .ed-hero-title { font-size: 44px; }
.ed-mobile .ed-hero-sub { font-size: 16px; }
.ed-mobile .ed-twocol { grid-template-columns: 1fr; gap: 32px; }
.ed-mobile .ed-subtabs { gap: 18px; margin-top: -16px; }
.ed-mobile .ed-subtab { font-size: 15px; }
.ed-mobile .ed-spec { grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 0; }
.ed-mobile .ed-spec-val { font-size: 14px; }

/* iOS bezel utility */
.ed-ios-bezel {
  width: 414px;
  background: #1c1612;
  border-radius: 48px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(28, 22, 18, 0.4) inset,
    0 30px 80px rgba(28, 22, 18, 0.18),
    0 8px 20px rgba(28, 22, 18, 0.08);
}
.ed-ios-screen {
  border-radius: 38px;
  overflow: hidden;
  background: var(--paper-0);
  width: 390px;
  height: 844px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.ed-ios-screen .ed-statusbar {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  font-family: -apple-system, "SF Pro Text", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-1);
  flex-shrink: 0;
}
.ed-ios-screen .ed-statusbar-icons {
  display: flex;
  gap: 6px;
  align-items: center;
}
.ed-ios-notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 122px; height: 36px;
  background: #1c1612;
  border-radius: 20px;
  z-index: 2;
}
.ed-ios-body {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ed-ios-content {
  flex: 1;
  overflow-y: auto;
}

/* Section labels for design canvas */
.ed-canvas-section-label {
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  letter-spacing: -0.015em;
  color: var(--ink-1);
}

/* Tabs (Feed: Editorial / Trending / Freunde) */
.ed-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 32px;
}
.ed-tab {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink-3);
  padding: 0 0 14px;
  cursor: pointer;
  position: relative;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 180ms;
  font-style: italic;
}
.ed-tab.active {
  color: var(--ink-1);
  border-bottom-color: var(--plum);
}
.ed-tab-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-style: normal;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-left: 6px;
}

/* Util */
.row { display: flex; align-items: center; gap: 8px; }
.row-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 32px; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 16px; }
.mb-lg { margin-bottom: 32px; }
.muted { color: var(--ink-3); }
.dim { color: var(--ink-2); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--line-3); }

/* Image filter for editorial mood (slightly less saturated) */
.ed-img-mood {
  filter: saturate(0.82) contrast(1.04);
}

/* Status badge dot */
.ed-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--plum);
  display: inline-block;
}
.ed-dot.sage { background: var(--sage); }
.ed-dot.gold { background: var(--gold); }
.ed-dot.brick { background: var(--brick); }

/* Aurora — kept but on cream paper, very subtle */
.ed-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.ed-aurora::before {
  content: "";
  position: absolute;
  top: -20%; left: -20%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, var(--plum-soft), transparent 70%);
  filter: blur(80px);
}

/* ════════════════════════════════════════════════════════════
   ANIMATIONS / POLISH — portiert aus web-v2 (war auf Mobile leer)
   Hilft beim "Insta-Klasse"-Feel: smooth img-fades, gestaffeltes
   List-Item-Enter, polierte Modals und Toasts.
   Alle animations respektieren prefers-reduced-motion.
   ══════════════════════════════════════════════════════════════ */

/* ── Image-Fade-In ──────────────────────────────────────────────
   Bilder starten mit Plum-getoentem Skeleton + Blur, faden sanft ein
   sobald sie geladen sind (.ed-img-loaded wird von image-fade.jsx gesetzt).
   Verhindert "ploppt nach 3s rein"-Gefuehl auf wackligem WLAN.
─────────────────────────────────────────────────────────────── */
img {
  /* FAIL-OPEN: Bilder sind per Default sichtbar. image-fade.jsx fuegt nur
     noch ladenden Bildern .ed-img-loading hinzu — fehlt das JS, ist alles
     einfach sofort da statt unsichtbar (Lehre aus dem Bilder-Blackout). */
  transition: opacity 360ms ease-out, filter 360ms ease-out;
}
img.ed-img-loading {
  opacity: 0;
  filter: blur(8px);
  background: linear-gradient(135deg, rgba(167,139,250,0.10), rgba(167,139,250,0.03));
}
@media (prefers-reduced-motion: reduce) {
  img, img.ed-img-loading { opacity: 1; filter: none; transition: none; }
}

/* ── List-Item-Stagger: ed-page-children fade gestaffelt rein ── */
.ed-page > * { animation: ed-fade-in 480ms ease-out both; }
.ed-page > *:nth-child(2) { animation-delay: 50ms; }
.ed-page > *:nth-child(3) { animation-delay: 100ms; }
.ed-page > *:nth-child(4) { animation-delay: 150ms; }
.ed-page > *:nth-child(5) { animation-delay: 200ms; }
.ed-page > *:nth-child(n+6) { animation-delay: 250ms; }
@keyframes ed-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Route-Wechsel: editorialer Slide-Fade mit Hauch Tiefe ──────── */
.ed-route-enter {
  /* 'backwards' statt 'both': behält den Einblend-Start, lässt aber weder
     transform noch filter zurück. Ein zurückgehaltenes transform/filter ≠ none
     macht das Element zum Containing-Block für position:fixed-Kinder — dann
     zentrieren in-Route gerenderte Modals relativ zum langen Content statt zum
     Viewport (= weit unten, man muss scrollen). */
  animation: ed-route-in 360ms cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
}
@keyframes ed-route-in {
  from { opacity: 0; transform: translateY(10px) scale(0.992); filter: blur(2px); }
  to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* ── Toast: in/out ──────────────────────────────────────────── */
.ed-toast {
  animation: ed-toast-in 320ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.ed-toast.ed-toast-exit {
  animation: ed-toast-out 240ms cubic-bezier(0.55, 0.06, 0.68, 0.19) both;
}
@keyframes ed-toast-in {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes ed-toast-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(12px) scale(0.97); }
}

/* ── Bottom Sheet: backdrop fade + slide-up ─────────────────── */
@keyframes ed-sheet-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ed-sheet-slide {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

/* ── Modal: pop + backdrop ──────────────────────────────────── */
/* Schließen-/X-Button: runde Pille, dreht sich beim Tippen 90° (Vincent mag
   die Interaktion -> konsistenter Standard für jedes X). :active für Touch,
   :hover für Maus/Desktop-PWA. Spiegelt web-v2/editorial/styles.css. */
.ed-modal-close {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--ink-3);
  width: 36px; height: 36px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 200ms, color 200ms,
              transform 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ed-modal-close:hover,
.ed-modal-close:active {
  border-color: var(--plum);
  color: var(--plum);
  transform: rotate(90deg);
}

.ed-modal-pop {
  animation: ed-modal-pop 320ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
  transform-origin: center 30%;
}
@keyframes ed-modal-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.965); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.ed-modal-backdrop-in {
  animation: ed-modal-backdrop-in 220ms ease-out both;
}
@keyframes ed-modal-backdrop-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Skeleton-Shimmer ──────────────────────────────────────── */
@keyframes ed-skel-shimmer {
  0%   { background-position: 200% 0; opacity: 0.7; }
  50%  { background-position: 0% 0;   opacity: 1; }
  100% { background-position: -200% 0; opacity: 0.7; }
}

/* ── Live-Pulse fuer "jetzt"-Indikatoren (Smoke-Map, etc.) ──── */
@keyframes ed-pulse {
  0%   { opacity: 0.4; transform: scale(1); }
  50%  { opacity: 1;   transform: scale(1.08); }
  100% { opacity: 0.4; transform: scale(1); }
}

/* ── Reels-Gesten-Hint ("Hochwischen") ─────────────────────── */
@keyframes edReelsHint {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.55; }
  50%      { transform: translateX(-50%) translateY(-8px); opacity: 1; }
}

/* ── Double-Tap-Heart Burst ────────────────────────────────── */
@keyframes ed-heart-burst {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  20%  { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.4); }
}
.ed-heart-burst {
  position: absolute;
  top: 50%; left: 50%;
  font-size: 92px;
  color: var(--plum);
  pointer-events: none;
  animation: ed-heart-burst 720ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
  z-index: 5;
  filter: drop-shadow(0 4px 18px rgba(var(--plum-rgb), 0.5));
}

@media (prefers-reduced-motion: reduce) {
  img,
  .ed-page > *,
  .ed-route-enter,
  .ed-toast, .ed-toast-exit,
  .ed-modal-pop, .ed-modal-backdrop-in,
  .ed-heart-burst {
    animation: none !important;
  }
}

/* ════════════════════════════════════════════════════════════
   MICRO-INTERACTIONS (Mobile) — Tap-Feedback ist auf Touch das
   wichtigste "Feel"-Detail: jeder Druck quittiert spuerbar.
   ════════════════════════════════════════════════════════════ */
.ed-btn,
.ed-btn-icon { transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 140ms cubic-bezier(0.22,0.61,0.36,1); }
.ed-btn:active:not(:disabled) { transform: scale(0.965); transition-duration: 70ms; }
.ed-btn-icon:active:not(:disabled) { transform: scale(0.88); transition-duration: 70ms; }

/* Generische Press-Utility fuer inline-gestylte Klick-Targets. */
.ed-pressable { transition: transform 140ms cubic-bezier(0.22,0.61,0.36,1); }
.ed-pressable:active:not(:disabled) { transform: scale(0.93); }

/* Karten/Listenzeilen: kurzes Eindruecken beim Antippen. */
.ed-card-tap { transition: transform 140ms cubic-bezier(0.22,0.61,0.36,1); }
.ed-card-tap:active { transform: scale(0.985); }

/* Bewertungs-Slider (5er-Matrix) — einheitlich Web + App. */
.ed-rating-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: 999px;
  background: var(--line-2);
  accent-color: var(--plum);
  cursor: pointer; outline: none;
}
.ed-rating-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 999px;
  background: var(--plum); border: 2px solid var(--paper-1);
  box-shadow: 0 1px 5px rgba(0,0,0,0.35); cursor: pointer;
}
.ed-rating-slider::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 999px;
  background: var(--plum); border: 2px solid var(--paper-1);
  box-shadow: 0 1px 5px rgba(0,0,0,0.35); cursor: pointer;
}

/* Herz-Pop beim einfachen Like (zusaetzlich zum Double-Tap-Burst). */
@keyframes ed-heart-pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.4); }
  70%  { transform: scale(0.92); }
  100% { transform: scale(1); }
}
.ed-heart-pop { animation: ed-heart-pop 360ms cubic-bezier(0.34,1.56,0.64,1) both; }

@media (prefers-reduced-motion: reduce) {
  .ed-btn:active, .ed-btn-icon:active,
  .ed-pressable, .ed-pressable:active,
  .ed-card-tap, .ed-card-tap:active { transform: none !important; }
  .ed-heart-pop { animation: none !important; }
}

/* ════════════════════════════════════════════════════════════
   ORDEN / BADGES — Tier-Hierarchie + Earned/Locked
   1:1 portiert aus web-v2 styles.css. --orden-color inline gesetzt.
   ══════════════════════════════════════════════════════════════ */
/* ── Hexagon-Medaillon (gespiegelt von web-v2). Form via clip-path; Tier =
   Material (Bronze/Silber/Gold). Glyph immer in .ed-orden-glyph (z-index 3). ── */
.ed-orden {
  --m-hi:#cfd3da; --m-lo:#9aa0ab; --m-edge:#5f6470;
  --hex: polygon(50% 1%, 93% 25.5%, 93% 74.5%, 50% 99%, 7% 74.5%, 7% 25.5%);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-clip-path: var(--hex);
  clip-path: var(--hex);
  background: linear-gradient(150deg, var(--m-hi), var(--m-lo) 72%);
  color: #fff;
  line-height: 1;
  padding: 0;
  border: 0;
  cursor: pointer;
  isolation: isolate;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.42));
  transition: transform 220ms cubic-bezier(0.22, 0.61, 0.36, 1), filter 220ms;
  font-family: var(--font-display);
  font-weight: 600;
  flex-shrink: 0;
}
.ed-orden::before {
  content: "";
  position: absolute; inset: 13%;
  z-index: 1;
  -webkit-clip-path: var(--hex);
  clip-path: var(--hex);
  background: linear-gradient(150deg,
    color-mix(in srgb, var(--m-lo) 62%, #000),
    color-mix(in srgb, var(--m-hi) 26%, #000));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--m-hi) 70%, transparent);
}
.ed-orden::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  -webkit-clip-path: var(--hex);
  clip-path: var(--hex);
  background: linear-gradient(145deg, rgba(255,255,255,0.55), transparent 42%);
  opacity: 0.7;
  transition: opacity 220ms;
  pointer-events: none;
}
.ed-orden-glyph {
  position: relative;
  z-index: 3;
  color: #fff8e8;
  text-shadow: 0 1px 0 rgba(0,0,0,0.4), 0 0 6px rgba(0,0,0,0.25);
}
.ed-orden:active { transform: scale(0.95); }

.ed-orden-locked {
  --m-hi:#3a3348; --m-lo:#2a2436; --m-edge:#1f1a2a;
  opacity: 0.6;
  filter: none;
}
.ed-orden-locked::after { opacity: 0.18; }
.ed-orden-locked .ed-orden-glyph { color: var(--ink-4); text-shadow: none; }

.ed-orden-earned.ed-orden-tier-1,
.ed-orden-earned.ed-orden-tier-2 { --m-hi:#dcab6b; --m-lo:#8a5524; --m-edge:#5e3a18; }
.ed-orden-earned.ed-orden-tier-3 { --m-hi:#eaeef3; --m-lo:#9097a3; --m-edge:#5f6470; }
.ed-orden-earned.ed-orden-tier-4,
.ed-orden-earned.ed-orden-tier-5 { --m-hi:#f4dd8a; --m-lo:#c79a32; --m-edge:#8a6a18; }
.ed-orden-earned.ed-orden-tier-5 {
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.42)) drop-shadow(0 0 7px color-mix(in srgb, #f4dd8a 55%, transparent));
}

/* ────────────────────────────────────────────────────────────
   Skeleton + Empty-State -- portiert aus web-v2, war auf Mobile leer
   ──────────────────────────────────────────────────────────── */
.ed-skel {
  background: linear-gradient(90deg, var(--paper-1) 0%, var(--paper-2) 50%, var(--paper-1) 100%);
  background-size: 200% 100%;
  animation: ed-skel-shimmer 2.4s ease-in-out infinite;
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .ed-skel { animation: none !important; opacity: 0.55 !important; }
}

.ed-empty {
  padding: 40px 24px;
  text-align: center;
  background: var(--paper-card);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin: 0 auto;
}
.ed-empty-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 72px;
  line-height: 0.7;
  color: var(--plum);
  opacity: 0.32;
  margin-bottom: 2px;
  letter-spacing: -0.05em;
}
.ed-empty h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.018em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink-1);
}
.ed-empty p {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
  margin: 0;
  max-width: 42ch;
}

/* ════════════════════════════════════════════════════════════════
   POLITUR v2 — Typografischer Feinschliff (Mobile)
   Gespiegelt aus web-v2. Graceful-degrading.
   ════════════════════════════════════════════════════════════════ */

/* Headline-Balancing: keine Wort-Waisen */
.ed-page-title,
.ed-feature-title,
.ed-hero-title,
.ed-section-title {
  text-wrap: balance;
}

/* Fliesstext: keine Single-Word-Endzeilen */
.ed-page-sub,
.ed-feature-dek,
.ed-hero-sub {
  text-wrap: pretty;
}

/* Variable-Font-Rendering + Kerning */
html {
  font-optical-sizing: auto;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Native-Controls (Checkbox/Radio/Date-Picker) in Markenfarbe */
:root {
  accent-color: var(--plum);
  caret-color: var(--plum);
}

/* Marken-Signature: leuchtender Plum-Punkt (dunkel) — Glow ist rein
   em-relativ und mit ~2x Punktradius dimensioniert, damit das Verhaeltnis
   Punkt:Glow ueberall konstant bleibt. Kein Pixel-Floor, sonst dominiert
   der Glow bei kleinen Texten. */
/* Zwei-stufiger Glow — matcht die Logo-Wortmarke. */
em.ed-mark,
.ed-mark {
  box-shadow:
    0 0 0.18em rgba(var(--plum-rgb), 0.55),
    0 0 0.55em rgba(var(--plum-rgb), 0.38) !important;
}
body.theme-light em.ed-mark,
.theme-light em.ed-mark,
body.theme-light .ed-mark,
.theme-light .ed-mark {
  box-shadow:
    0 0 0.16em rgba(var(--plum-rgb), 0.40),
    0 0 0.45em rgba(var(--plum-rgb), 0.22) !important;
}

/* ── Accessibility: sichtbarer Fokus NUR fuer Tastatur-Navigation ──
   :focus-visible greift nicht bei Maus/Touch -> stoert das Design nicht,
   gibt Keyboard-Usern aber klare Orientierung. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--plum) !important;
  outline-offset: 2px !important;
  border-radius: var(--r-sm);
}

/* ════════════════════════════════════════════════════════════════
   LANDING (Public / Ausgeloggt) — ruhige Editorial-Schicht
   Bewegung nur als dezenter Scroll-Reveal; keine Dauer-Animationen.
   Respektiert prefers-reduced-motion (Block am Ende).
   ════════════════════════════════════════════════════════════════ */

/* Hero-Wrapper: knapp unter Viewport-Hoehe, damit die erste
   Content-Karte anschneidet — der Anriss ersetzt den Scroll-Hint. */
.lp-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 26px;
  padding-top: calc(48px + env(safe-area-inset-top, 0));
  padding-bottom: 56px;
}

/* Scroll-Reveal: per IntersectionObserver wird .is-in gesetzt */
.lp-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 720ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 720ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.lp-reveal.is-in { opacity: 1; transform: translateY(0); }

/* Ruhiger Editorial-CTA: Mono-Uppercase in Hairline-Rahmung, kein
   Glow, keine Dauer-Animation. --solid = der eine primaere Signup. */
.lp-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 2px;
  background: transparent;
  color: var(--ink-1);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--ink-1);
  cursor: pointer;
}
.lp-cta:active { transform: scale(0.98); }
.lp-cta--solid {
  background: var(--ink-1);
  color: var(--paper-0);
}

/* Glass-Karte der Mitglieder-Kachel (Features) */
.lp-glass {
  background: linear-gradient(160deg, rgba(246,241,230,0.06), rgba(246,241,230,0.015));
  border: 1px solid var(--line-2);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.lp-glass::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--plum-line), transparent);
}

/* Manifest-Zitat: Wort-für-Wort-Reveal beim Scroll-in-View (Desktop-Pendant
   in web-v2/editorial/styles.css — Bezier hier hart kodiert, da
   --ease-hermes in dieser Datei nicht existiert, wie .lp-reveal oben auch). */
.lp-manifest-word-mask { display: inline-block; overflow: hidden; vertical-align: top; }
.lp-manifest-word {
  display: inline-block; transform: translateY(100%); opacity: 0;
  transition: transform 480ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 360ms ease-out;
}
.lp-manifesto.is-in .lp-manifest-word { transform: translateY(0); opacity: 1; }

/* Closing-CTA: einmaliger Ring-Puls beim Scroll-in-View. Mobile's Closing-
   Button ist bewusst .lp-cta (Outline), nicht --solid — nur der Hero-CTA
   ist solid (weniger visuelle Konkurrenz weiter unten auf der Seite). */
.lp-closing-reveal.is-in .lp-cta {
  animation: ed-cta-glow 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) 260ms both;
}
@keyframes ed-cta-glow {
  0%   { box-shadow: 0 0 0 0 rgba(var(--plum-rgb), 0); }
  40%  { box-shadow: 0 0 0 6px rgba(var(--plum-rgb), 0.18); }
  100% { box-shadow: 0 0 0 0 rgba(var(--plum-rgb), 0); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .lp-manifest-word { opacity: 1 !important; transform: none !important; transition: none !important; }
  .lp-closing-reveal .lp-cta { animation: none !important; }
}

/* Leaflet-Container: dunkler Rahmen, passt zur dark-tile-Karte */
.leaflet-container { background: #0d0a14; }

/* Glühender Marker — divIcon. Statischer Glow (cheap für 100e Marker),
   beim Hover wächst er + leuchtet stärker. */
.csc-pin {
  background: none !important;
  border: none !important;
}
.csc-pin-dot {
  display: block;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--plum);
  border: 2px solid color-mix(in srgb, var(--plum) 40%, #fff);
  box-shadow:
    0 0 6px 1px color-mix(in srgb, var(--plum) 75%, transparent),
    0 0 14px 3px color-mix(in srgb, var(--plum) 45%, transparent);
  transition: transform 160ms cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 160ms ease;
  cursor: pointer;
}
.csc-pin:hover .csc-pin-dot,
.csc-pin-dot:hover {
  transform: scale(1.45);
  box-shadow:
    0 0 10px 2px color-mix(in srgb, var(--plum) 90%, transparent),
    0 0 24px 6px color-mix(in srgb, var(--plum) 60%, transparent);
}

/* User-Standort: blauer Puls-Pin */
.csc-pin-me {
  display: block;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #3b82f6;
  border: 2px solid #fff;
  box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5);
  animation: csc-me-pulse 2s ease-out infinite;
}
@keyframes csc-me-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.55); }
  70%  { box-shadow: 0 0 0 16px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* Leaflet-Tooltip im Editorial-Look */
.leaflet-tooltip.csc-tip {
  background: var(--paper-elev);
  border: 1px solid var(--plum-line);
  color: var(--ink-1);
  font-family: var(--font-display);
  font-size: 13px;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  padding: 5px 10px;
}
.leaflet-tooltip.csc-tip::before { display: none; }

@media (prefers-reduced-motion: reduce) {
  .csc-pin-me { animation: none !important; }
}
.leaflet-popup-content-wrapper{
  background: var(--paper-elev) !important;
  color: var(--ink-1) !important;
  border: 1px solid var(--plum-line);
  border-radius: 8px !important;
  box-shadow: 0 8px 26px rgba(0,0,0,0.5) !important;
}
.leaflet-popup-content{ margin: 12px 14px !important; }
.leaflet-popup-tip{ background: var(--paper-elev) !important; box-shadow: none !important; }
.leaflet-popup-close-button{ color: var(--ink-3) !important; }
.leaflet-popup-close-button:hover{ color: var(--ink-1) !important; }
.leaflet-control-attribution{
  background: rgba(13,10,20,0.7) !important;
  color: var(--ink-3) !important;
}
.leaflet-control-attribution a{ color: var(--plum) !important; }

/* ─────────────────────────────────────────────────────────────
   AKZENT-THEMES (data-strain-accent auf <html>).
   Wurden vorher vergessen -> Akzent-Wechsel hat in der App nichts gemacht.
   ───────────────────────────────────────────────────────────── */

/* Lila-Theme — KEIN Default. Teal (Zeile 38) gewinnt sonst. */
[data-strain-accent="plum"] {
  --plum:       #8a5cf0;
  --plum-deep:  #6d3fd6;
  --plum-soft:  rgba(138, 92, 240, 0.10);
  --plum-line:  rgba(138, 92, 240, 0.30);
  --plum-rgb:   138, 92, 240;
  --aurora-1:   rgba(138, 92, 240, 0.48);
  --aurora-2:   rgba(240, 201, 92, 0.20);
}
/* Teal — neuer Default (Medical-Pivot / Instagram-Feel). */
[data-strain-accent="teal"] {
  --plum:       #16a8a0;
  --plum-deep:  #0f7d77;
  --plum-soft:  rgba(22, 168, 160, 0.12);
  --plum-line:  rgba(22, 168, 160, 0.32);
  --plum-tint:  #5fd6cc;
  --plum-rgb:   22, 168, 160;
  --aurora-1:   rgba(22, 168, 160, 0.42);
  --aurora-2:   rgba(224, 150, 90, 0.16);
}

[data-strain-accent="sunset"] {
  --plum:       #e08550;
  --plum-deep:  #c46838;
  --plum-soft:  rgba(224, 133, 80, 0.12);
  --plum-line:  rgba(224, 133, 80, 0.32);
  --plum-rgb:   224, 133, 80;
  --aurora-1:   rgba(224, 133, 80, 0.48);
  --aurora-2:   rgba(80, 173, 224, 0.18);
}
[data-strain-accent="sage"] {
  --plum:       #5fa572;
  --plum-deep:  #4a875a;
  --plum-soft:  rgba(95, 165, 114, 0.12);
  --plum-line:  rgba(95, 165, 114, 0.32);
  --plum-rgb:   95, 165, 114;
  --aurora-1:   rgba(95, 165, 114, 0.42);
  --aurora-2:   rgba(165, 95, 114, 0.18);
}
[data-strain-accent="ocean"] {
  --plum:       #5b94c8;
  --plum-deep:  #4778a8;
  --plum-soft:  rgba(91, 148, 200, 0.12);
  --plum-line:  rgba(91, 148, 200, 0.32);
  --plum-rgb:   91, 148, 200;
  --aurora-1:   rgba(91, 148, 200, 0.46);
  --aurora-2:   rgba(200, 148, 91, 0.18);
}

[data-strain-accent="noir"] {
  /* Der "eintoenige" Modus: entsaettigtes Grau-Lila, maximal ruhig. */
  --plum:       #9b8fb8;
  --plum-deep:  #7d7298;
  --plum-soft:  rgba(155, 143, 184, 0.10);
  --plum-line:  rgba(155, 143, 184, 0.28);
  --plum-rgb:   155, 143, 184;
  --aurora-1:   rgba(155, 143, 184, 0.30);
  --aurora-2:   rgba(120, 112, 140, 0.14);
}
[data-strain-accent="sand"] {
  /* Warm-neutral: entsaettigtes Sandbraun, editorial wie Packpapier. */
  --plum:       #b89f7a;
  --plum-deep:  #9a8260;
  --plum-soft:  rgba(184, 159, 122, 0.12);
  --plum-line:  rgba(184, 159, 122, 0.30);
  --plum-rgb:   184, 159, 122;
  --aurora-1:   rgba(184, 159, 122, 0.32);
  --aurora-2:   rgba(140, 120, 95, 0.14);
}

/* Sortenvergleich auf Mobile: Karten untereinander statt nebeneinander,
   schmaleres Padding. Vincent: "passt hinten und vorne nicht in der App" */
.ed-compare-sheet { padding: 18px 16px !important; border-radius: 8px !important; }
.ed-compare-grid { grid-template-columns: 1fr !important; gap: 14px !important; }

/* ── Tabbar-Politur ──────────────────────────────────────────────
   Aktiver Tab als weiche Pill, atmender Compose-Button, Press-Feedback. */
.ed-tab-btn {
  -webkit-tap-highlight-color: transparent;
  transition: transform 140ms cubic-bezier(0.22,0.61,0.36,1);
}
.ed-tab-btn:active { transform: scale(0.92); }

/* Compose-FAB — der grosse Bruder des ed-mark-Punkts. Sanftes Atmen
   des Glows (nicht Skalieren — das waere laut), spuerbarer Press. */
.ed-compose-fab {
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms cubic-bezier(0.22,0.61,0.36,1);
  animation: ed-compose-breathe 4.2s ease-in-out infinite;
}
.ed-compose-fab:active { transform: scale(0.92); }
@keyframes ed-compose-breathe {
  0%, 100% {
    box-shadow: 0 0 0 5px var(--paper-0),
                0 0 14px 0 color-mix(in srgb, var(--plum) 45%, transparent),
                0 8px 20px rgba(13,10,20,0.40);
  }
  50% {
    box-shadow: 0 0 0 5px var(--paper-0),
                0 0 22px 0 color-mix(in srgb, var(--plum) 65%, transparent),
                0 8px 20px rgba(13,10,20,0.40);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ed-compose-fab { animation: none; }
}

/* ── Micro-Interactions: Like-Pop (Plum-Glow-Ring) + Press-Feedback ──
   Like: kurzer Scale-Pop + ausfadender Ring beim Aktivieren.
   .ed-press: dezentes Eindruecken fuer tappbare Pills. */
.ed-press { transition: transform 120ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.ed-press:active { transform: scale(0.96); }
.ed-like-pop { animation: ed-like-pop 360ms cubic-bezier(0.22, 0.61, 0.36, 1); }
@keyframes ed-like-pop {
  0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(var(--plum-rgb), 0.45); }
  35%  { transform: scale(1.12); }
  100% { transform: scale(1);    box-shadow: 0 0 0 14px rgba(var(--plum-rgb), 0); }
}
@media (prefers-reduced-motion: reduce) {
  .ed-like-pop { animation: none; }
  .ed-press, .ed-press:active { transform: none; transition: none; }
}

/* ── Screen-Transitions: gestaffeltes Einblenden von Listen-Karten ──
   Karten (article) unter einem frisch betretenen Screen faden nacheinander
   ein — auch wenn sie erst nach dem API-Load mounten. Max ~150ms Versatz,
   damit nichts traege wirkt. */
.ed-route-enter article {
  /* 'backwards' (nicht 'both'): hält den verzögerten Start, lässt aber kein
     transform/filter zurück (sonst Containing-Block-Falle für fixed-Modals). */
  animation: ed-route-in 360ms cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
}
.ed-route-enter article:nth-of-type(1) { animation-delay: 30ms; }
.ed-route-enter article:nth-of-type(2) { animation-delay: 70ms; }
.ed-route-enter article:nth-of-type(3) { animation-delay: 110ms; }
.ed-route-enter article:nth-of-type(n+4) { animation-delay: 150ms; }
@media (prefers-reduced-motion: reduce) {
  .ed-route-enter article { animation: none !important; }
}

/* ── Editorial-Slider (.ed-range) ────────────────────────────────
   Werkzeug-Gefühl: Hairline-Track mit Plum-Füllstand (--fill wird von
   der Komponente als Prozent gesetzt), Letterpress-Daumen (Papier-Kreis
   mit Tinten-Rand), der beim Greifen leicht wächst. Ersetzt den
   Browser-Default (accent-color), der nach Formular aussah, nicht nach
   Instrument. */
.ed-range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 28px; background: transparent;
  cursor: pointer; margin: 0; padding: 0;
  /* Vertikale Wisch-Gesten scrollen die Seite, horizontale ziehen den
     Slider — sonst ist der volle-Breite-Slider eine Scroll-Falle. */
  touch-action: pan-y;
}
.ed-range:focus { outline: none; }
.ed-range::-webkit-slider-runnable-track {
  height: 2px; border-radius: 1px;
  background: linear-gradient(to right,
    var(--plum) var(--fill, 0%), var(--line-2) var(--fill, 0%));
}
.ed-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; margin-top: -10px;
  border-radius: 50%;
  background: var(--paper-0);
  border: 1.5px solid var(--ink-1);
  box-shadow: 0 1px 5px rgba(13,10,20,0.28);
  transition: transform 120ms ease, border-color 120ms ease;
}
.ed-range:active::-webkit-slider-thumb,
.ed-range:focus-visible::-webkit-slider-thumb {
  transform: scale(1.18); border-color: var(--plum);
}
.ed-range::-moz-range-track { height: 2px; border-radius: 1px; background: var(--line-2); }
.ed-range::-moz-range-progress { height: 2px; border-radius: 1px; background: var(--plum); }
.ed-range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; box-sizing: border-box;
  background: var(--paper-0); border: 1.5px solid var(--ink-1);
  box-shadow: 0 1px 5px rgba(13,10,20,0.28);
  transition: transform 120ms ease, border-color 120ms ease;
}
.ed-range:active::-moz-range-thumb { transform: scale(1.18); border-color: var(--plum); }

/* ── Sanftes Auf-/Zuklappen (.ed-collapse) ───────────────────────
   Panels (z.B. Dünger-Einstellungen) gleiten statt zu poppen —
   grid-rows-Trick, kein max-height-Hack. */
.ed-collapse {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ed-collapse.is-open { grid-template-rows: 1fr; }
.ed-collapse > * { overflow: hidden; min-height: 0; }

/* Moduswechsel (Dünger-Konfigurator Schnell ⇄ Plan u.ä.): Inhalt blendet
   weich ein statt hart umzuspringen — key={mode} remountet den Wrapper. */
.ed-mode-swap { animation: ed-fade-in 240ms ease-out both; }
@media (prefers-reduced-motion: reduce) {
  .ed-mode-swap { animation: none !important; }
}

/* ── ed-page-Masthead: Mobile-Materialisierung ──────────────────────────
   Die .ed-mobile-Overrides oben stammen aus der Ära "Mobile-Frame im
   Desktop" — die Klasse setzt in der PWA-Shell niemand mehr, dadurch
   rendern ed-page-Screens (Preise, Kosten, Insights, Stimmung, …) das
   Desktop-Masthead: 86px-Titel + Zwei-Spalten-Grid → kollabierte
   Text-Spalten und umbrechende ed-marks. Die PWA ist immer mobil, also
   gelten die Overrides hier unconditionally (Media-Query nur als
   Tablet-Schutz). */
@media (max-width: 768px) {
  .ed-page { padding: 24px 20px 80px; max-width: none; }
  .ed-page-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 16px;
    margin-bottom: 20px;
  }
  .ed-page-head::after { display: none; }
  .ed-page-title { font-size: clamp(34px, 11vw, 52px); }
  .ed-page-sub { font-size: 15px; margin-top: 6px; }
  .ed-section { margin-bottom: 40px; }
  .ed-section-head { gap: 12px; }
  .ed-section-title { font-size: 18px; }
  .ed-twocol { grid-template-columns: 1fr; gap: 32px; }
  .ed-spec { grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 0; }
  .ed-feature-title { font-size: 28px; }
  .ed-feature-dek { font-size: 15px; }
  .ed-hero-title { font-size: 44px; }
  .ed-hero-sub { font-size: 16px; }
}

/* Atlas: Ken-Burns auf Hero-Fotos — ein langsamer Atemzug beim Ankommen,
   dann Ruhe. Einmalig (forwards), reduced-motion-safe. */
.atlas-kenburns {
  animation: atlas-kenburns 7s ease-out forwards;
  transform-origin: 50% 40%;
}
@keyframes atlas-kenburns {
  from { transform: scale(1.07); }
  to   { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .atlas-kenburns { animation: none !important; }
}
