/* ==========================================================================
   SynergyClaim — Aussehen der öffentlichen Seiten (Hauptseite und Ratgeber)

   Keine Schrift, kein Skript, kein Bild von einem fremden Server: Die Seiten
   laden nichts nach, damit kein Besucherdatum die EU verlässt (DSGVO). Die
   Schriften sind die, die jedes Gerät schon hat.

   Volle Breite, stufenlose Größen: Raster über auto-fit und flex-wrap, Größen
   über clamp() — keine festen Umbruchpunkte (Vorgabe Achim für alle Projekte).

   Erkennungszeichen: das Bauplan-Raster (feine Linien wie auf einer
   Ausführungszeichnung) und Gold als Markierung — nie als Fläche für Text.
   ========================================================================== */

:root {
  --navy: #032360;
  --navy-tief: #021640;
  --navy-2: #0a2e78;
  --navy-3: #1e3a75;
  --gold: #dea51c;
  --gold-hell: #f0c24b;
  --gold-tief: #8a6208;
  --gold-bg: #fbf3dc;

  --papier: #fbfaf6;
  --grau: #f5f6fa;
  --linie: #e7eaf0;
  --ink: #1e2530;
  --ink-2: #4b5563;
  --muted: #8a93a3;
  --hell: #d6dcea;

  --gruen: #1f8a4c;
  --gruen-bg: #e4f5eb;
  --amber: #b7820e;
  --rot: #c0392b;
  --rot-bg: #fbe4e1;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Redaktionelle Überschriften der Ratgeber: vorhandene Serifenschriften. */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;

  --rand: clamp(16px, 3.6vw, 64px);
  --abstand: clamp(48px, 5.4vw, 96px);
  --spalt: clamp(12px, 1.2vw, 22px);
  --radius: 16px;
  --schatten: 0 1px 2px rgba(2, 22, 64, 0.06), 0 12px 32px rgba(2, 22, 64, 0.1);
  --schatten-tief: 0 2px 4px rgba(0, 0, 0, 0.2), 0 30px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(14.5px, 0.12vw + 13.6px, 16px);
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { hyphens: auto; overflow-wrap: break-word; margin: 0; }
p { margin: 0; }

.innen { width: 100%; padding-inline: var(--rand); }
.lesbar { max-width: 68ch; }
.nur-vorlesen {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Kopf ------------------------------------------------------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(2, 22, 64, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}
.kopf .innen {
  display: flex; align-items: center; gap: clamp(12px, 2vw, 36px);
  min-height: clamp(56px, 3.8vw, 66px); padding-block: 8px;
}
.kopf .wortmarke, .kopf .knopf { flex: none; }
.wortmarke {
  font-weight: 800; font-size: clamp(19px, 1.3vw, 24px); letter-spacing: -0.02em;
  text-decoration: none; color: #fff; white-space: nowrap;
}
.wortmarke span { color: var(--gold); }
/* Das Logo (logo-auf-dunkel.svg): Kopf und Fuß sind dunkel, deshalb die
   Fassung mit weißem „Synergy“. Die Höhe wächst stufenlos mit. */
.wortmarke img { display: block; height: clamp(26px, 1.9vw, 36px); width: auto; }
.fuss .wortmarke img { height: clamp(26px, 1.8vw, 34px); }
/* Das Menü bleibt eine Zeile. Was nicht hineinpasst, bricht in eine zweite,
   unsichtbare Zeile um — auf dem Handy bleibt so der wichtigste Eintrag stehen
   (die Reihenfolge im HTML ist die Rangfolge), ohne festen Umbruchpunkt.
   Alle Einträge stehen zusätzlich im Fuß. */
.kopf nav {
  display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center;
  column-gap: clamp(12px, 1.6vw, 30px); flex: 1 1 0; min-width: 0; height: 40px; overflow: hidden;
  /* Die erste Zeile bleibt oben und voll hoch; ohne das teilten sich die
     Zeilen die 40 px, und man sähe halbe Einträge. */
  align-content: flex-start;
  row-gap: 40px;   /* die zweite Zeile beginnt erst unterhalb des Sichtbaren */
}
/* Unsichtbarer Platzhalter am Zeilenanfang. Flexbox bricht nur um, wenn schon
   etwas in der Zeile steht — ohne ihn bliebe ein Eintrag, der allein schon zu
   breit ist, in der ersten Zeile und ragte unter das Logo. */
.kopf nav::before { content: ""; width: 0; }
.kopf nav a {
  color: var(--hell); text-decoration: none; font-size: 14.5px; font-weight: 600;
  padding: 6px 2px; border-bottom: 2px solid transparent;
  /* Ein Eintrag passt ganz oder gar nicht — halb abgeschnitten („So geht“)
     wäre schlechter als weggelassen. Alle Einträge stehen auch im Fuß. */
  white-space: nowrap;
}
.kopf nav a:hover, .kopf nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }

/* ---------- Knöpfe ----------------------------------------------------- */
.knopf {
  display: inline-flex; align-items: center; gap: 10px;
  padding: clamp(9px, 0.55vw, 12px) clamp(16px, 1.1vw, 20px);
  border-radius: 9px; font-weight: 700; font-size: clamp(14px, 0.15vw + 13.2px, 15.5px);
  text-decoration: none; border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.knopf:hover { transform: translateY(-2px); }
.knopf-gold { background: var(--gold); color: #2a1e00; box-shadow: 0 8px 24px rgba(222, 165, 28, 0.35); }
.knopf-gold:hover { background: var(--gold-hell); box-shadow: 0 12px 30px rgba(222, 165, 28, 0.45); }
.knopf-hell { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.knopf-hell:hover { border-color: #fff; }
.knopf-navy { background: var(--navy); color: #fff; }
.knopf-navy:hover { background: var(--navy-2); }
.knopf-klein { padding: 8px 15px; font-size: 14px; border-radius: 9px; }
.pfeil { transition: transform 0.15s ease; }
.knopf:hover .pfeil { transform: translateX(3px); }

/* ---------- Der Aufmacher ---------------------------------------------- */
.buehne {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(55% 60% at 82% 28%, rgba(222, 165, 28, 0.2), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(30, 58, 117, 0.8), transparent 70%),
    var(--navy-tief);
  padding-block: clamp(48px, 5.4vw, 104px) clamp(72px, 7vw, 132px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - clamp(24px, 4vw, 70px)), 0 100%);
}
/* Das Bauplan-Raster: fein, und nach unten verlaufend. */
.buehne::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.buehne .innen {
  position: relative; display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(40px, 5vw, 96px);
}
.buehne-text { flex: 1 1 min(100%, 560px); }
.buehne-bild { flex: 1 1 min(100%, 520px); }

.etikett {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(222, 165, 28, 0.45); background: rgba(222, 165, 28, 0.08);
}
.etikett::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.buehne h1 {
  font-size: clamp(30px, 2.9vw, 50px); line-height: 1.06; font-weight: 800;
  letter-spacing: -0.035em; margin-top: clamp(18px, 1.6vw, 28px);
}
/* Die Markierung: ein goldener Strich unter dem Wort, wie mit dem
   Textmarker auf einem Aufmaß — nicht ein Kasten darum. */
.markiert {
  background-image: linear-gradient(transparent 70%, rgba(222, 165, 28, 0.9) 70%, rgba(222, 165, 28, 0.9) 92%, transparent 92%);
  background-repeat: no-repeat; background-size: 100% 100%;
  padding-inline: 0.04em;
  /* Das markierte Wort wird nie getrennt: Passt es nicht mehr in die Zeile,
     wandert es als Ganzes in die nächste (Wunsch Achim, 30.09.2026). */
  hyphens: none; white-space: nowrap;
}
.buehne .unterzeile {
  margin-top: clamp(14px, 1.2vw, 20px); font-size: clamp(16px, 0.2vw + 14.5px, 18px);
  color: var(--hell); max-width: 58ch; line-height: 1.55;
}
.knopfreihe { display: flex; gap: 14px; flex-wrap: wrap; margin-top: clamp(26px, 2.4vw, 42px); }
.hinweis-klein { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ---------- Das Schaubild: das Produkt als Bild ------------------------ */
.schaubild {
  position: relative; display: grid; gap: var(--spalt);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  perspective: 1400px;
}
.kachel {
  background: #fff; color: var(--ink); border-radius: var(--radius);
  box-shadow: var(--schatten-tief); padding: clamp(16px, 1.3vw, 22px);
  transform: rotate(var(--dreh, 0deg)) translateY(var(--hub, 0));
  animation: schweben 7s ease-in-out infinite; animation-delay: var(--verzug, 0s);
}
.kachel:nth-child(1) { --dreh: -1.2deg; }
/* Versatz über den Außenabstand, nicht über translate: So verschiebt sich die
   Zeile mit, und keine Karte legt sich über die nächste. */
.kachel:nth-child(2) { --dreh: 1.4deg; --verzug: -2s; margin-top: 22px; }
.kachel:nth-child(3) { --dreh: 0.8deg; --verzug: -4s; grid-column: 1 / -1; }
.kachel:nth-child(4) { --dreh: -1deg; --verzug: -1s; grid-column: 1 / -1; }
@keyframes schweben {
  0%, 100% { transform: rotate(var(--dreh, 0deg)) translateY(var(--hub, 0)); }
  50% { transform: rotate(var(--dreh, 0deg)) translateY(calc(var(--hub, 0px) - 7px)); }
}
.kachel-kopf {
  display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.kachel-titel { font-weight: 700; font-size: 15px; margin-top: 8px; line-height: 1.35; }
.kachel-meta { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.lampe { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--gruen); box-shadow: 0 0 0 4px var(--gruen-bg); }
.lampe.gelb { background: var(--amber); box-shadow: 0 0 0 4px var(--gold-bg); }
.marke {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  border-radius: 999px; padding: 3px 10px; margin-top: 10px;
}
.marke::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.marke.gut { background: var(--gruen-bg); color: var(--gruen); }
.marke.warn { background: var(--gold-bg); color: var(--gold-tief); }

.frist { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.frist svg { width: 64px; height: 64px; flex: none; }
.frist b { display: block; font-size: 22px; color: var(--navy); line-height: 1.1; white-space: nowrap; }
.frist span { font-size: 13px; color: var(--ink-2); }

.minikette { margin-top: 12px; }
.minikette svg { width: 100%; height: auto; }

.pruefsumme {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12.5px;
  background: var(--grau); border: 1px solid var(--linie); border-radius: 8px;
  padding: 8px 10px; margin-top: 10px; color: var(--navy); overflow-wrap: anywhere;
}

/* ---------- Zahlenband ------------------------------------------------- */
.zahlen { background: var(--navy-tief); color: #fff; padding-block: clamp(28px, 3vw, 56px) clamp(56px, 6vw, 100px); margin-top: -1px; }
.zahlen .raster { display: grid; gap: var(--spalt); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.zahl { border-left: 2px solid rgba(222, 165, 28, 0.55); padding: 6px 0 6px clamp(14px, 1.2vw, 22px); }
.zahl b { display: block; font-size: clamp(30px, 2.3vw, 42px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--gold); }
.zahl span { display: block; margin-top: 10px; color: var(--hell); font-size: 15px; line-height: 1.45; }
.zahl small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }

/* ---------- Abschnitte ------------------------------------------------- */
.abschnitt { padding-block: var(--abstand); scroll-margin-top: clamp(60px, 4.5vw, 76px); }  /* Sprungziel nicht unter der festen Kopfzeile */
.abschnitt.grau { background: var(--grau); }
.abschnitt.papier { background: var(--papier); }
.abschnitt.dunkel { background: var(--navy); color: #fff; }
.abschnitt.gold { background: var(--gold-bg); }
.vorzeile {
  display: block; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-tief); margin-bottom: 14px;
}
.dunkel .vorzeile { color: var(--gold); }
.abschnitt h2 {
  font-size: clamp(25px, 1.9vw, 36px); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em;
  color: var(--navy); max-width: 24ch;
}
.dunkel h2 { color: #fff; }
.einleitung { margin-top: 14px; font-size: clamp(15px, 0.15vw + 14px, 17px); color: var(--ink-2); max-width: 62ch; }
.dunkel .einleitung { color: var(--hell); }

.karten {
  display: grid; gap: var(--spalt); margin-top: clamp(32px, 3.4vw, 64px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.karte {
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius);
  padding: clamp(22px, 2vw, 36px); box-shadow: var(--schatten);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.karte:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(2, 22, 64, 0.06), 0 20px 44px rgba(2, 22, 64, 0.14); }
.karte h3 { font-size: clamp(18px, 0.35vw + 15.5px, 21px); line-height: 1.25; margin-top: 14px; color: var(--navy); }
.karte p { margin-top: 10px; color: var(--ink-2); }
.karte .quelle { margin-top: 16px; font-size: 13px; color: var(--muted); }
.nummer { font-family: var(--serif); font-size: clamp(36px, 2.6vw, 48px); line-height: 1; color: var(--gold); font-weight: 700; }
.symbol {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--gold-bg); color: var(--gold-tief);
}
.symbol svg { width: 28px; height: 28px; }

/* ---------- Ablauf ----------------------------------------------------- */
.ablauf { display: grid; gap: var(--spalt); margin-top: clamp(32px, 3.4vw, 64px); counter-reset: schritt;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.schritt { position: relative; padding: clamp(22px, 2vw, 34px); border-radius: var(--radius); background: #fff; border: 1px solid var(--linie); }
.schritt::before {
  counter-increment: schritt; content: "0" counter(schritt);
  position: absolute; top: clamp(18px, 1.6vw, 28px); right: clamp(18px, 1.6vw, 28px);
  font-family: var(--serif); font-size: 20px; color: var(--muted);
}
.schritt::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-hell));
}
.schritt h3 { margin-top: 14px; font-size: 19px; color: var(--navy); }
.schritt p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }

/* ---------- Die große Kausalkette -------------------------------------- */
.kettenbild { margin-top: clamp(32px, 3.4vw, 64px); background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 22px; padding: clamp(18px, 2.4vw, 44px); overflow-x: auto; }
.kettenbild svg { min-width: 640px; width: 100%; height: auto; }
.kettenlegende { display: flex; gap: clamp(14px, 2vw, 34px); flex-wrap: wrap; margin-top: 22px; font-size: 15px; color: var(--hell); }
.kettenlegende span { display: inline-flex; align-items: center; gap: 8px; }
.kettenlegende i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }

/* ---------- Leistungen ------------------------------------------------- */
.leistungen { display: grid; gap: var(--spalt); margin-top: clamp(32px, 3.4vw, 64px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.leistung { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 14px; }
.leistung:hover { background: var(--grau); }
.leistung .symbol { width: 44px; height: 44px; flex: none; }
.leistung .symbol svg { width: 24px; height: 24px; }
.leistung h3 { font-size: 18px; color: var(--navy); }
.leistung p { font-size: 15.5px; color: var(--ink-2); margin-top: 4px; }

/* ---------- Vertrauen -------------------------------------------------- */
.vertrauen { display: grid; gap: var(--spalt); margin-top: clamp(28px, 3vw, 52px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.vertrauen div { padding: 20px 22px; background: #fff; border-radius: 14px; border: 1px solid #eadfc2; }
.vertrauen b { display: block; color: var(--navy); font-size: 17px; }
.vertrauen span { display: block; color: var(--ink-2); font-size: 15px; margin-top: 4px; }

/* ---------- Ratgeber-Karten -------------------------------------------- */
.beitraege { display: grid; gap: var(--spalt); margin-top: clamp(32px, 3.4vw, 64px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.beitrag {
  display: flex; flex-direction: column; text-decoration: none; background: #fff;
  border-radius: var(--radius); border: 1px solid var(--linie); overflow: hidden; box-shadow: var(--schatten);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.beitrag:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(2, 22, 64, 0.06), 0 22px 48px rgba(2, 22, 64, 0.16); }
.beitrag-kopf { background: var(--navy-tief); color: #fff; padding: clamp(20px, 1.6vw, 28px); position: relative; overflow: hidden; min-height: 128px; }
.beitrag-kopf::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.beitrag-kopf span { position: relative; font-family: var(--serif); font-size: clamp(30px, 2vw, 38px); color: var(--gold); line-height: 1; }
.beitrag-kopf small { position: relative; display: block; margin-top: 12px; color: var(--hell); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.beitrag-rumpf { padding: clamp(20px, 1.6vw, 28px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.beitrag-rumpf h3 { font-family: var(--serif); font-size: clamp(18px, 0.3vw + 15.5px, 21px); line-height: 1.2; color: var(--navy); font-weight: 700; }
.beitrag-rumpf p { color: var(--ink-2); font-size: 15px; }
.alle-beitraege { margin-top: clamp(24px, 2.4vw, 40px); }
.beitrag-rumpf .weiter { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--navy); }

/* ---------- Aufruf zum Pilot ------------------------------------------- */
.aufruf {
  position: relative; overflow: hidden; color: #fff; border-radius: 26px;
  background: radial-gradient(60% 90% at 90% 10%, rgba(222, 165, 28, 0.28), transparent 60%), var(--navy);
  padding: clamp(28px, 3.2vw, 60px);
  display: flex; flex-wrap: wrap; gap: clamp(24px, 3vw, 60px); align-items: center;
}
.aufruf::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.aufruf > * { position: relative; }
.aufruf-text { flex: 1 1 min(100%, 560px); }
.aufruf h2 { color: #fff; max-width: 22ch; }
.aufruf p { color: var(--hell); margin-top: 16px; max-width: 58ch; }
.aufruf-handlung { flex: 0 1 auto; display: flex; flex-direction: column; gap: 12px; }
.aufruf-handlung small { color: var(--muted); font-size: 14px; }

/* ---------- Fuß -------------------------------------------------------- */
.fuss { background: var(--navy-tief); color: var(--muted); padding-block: clamp(48px, 5vw, 90px) 32px; font-size: 15px; }
.fuss-raster { display: grid; gap: clamp(28px, 3vw, 56px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.fuss h3 { color: #fff; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.fuss a { color: var(--hell); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss li { list-style: none; margin-bottom: 8px; }
.fuss ul { padding: 0; margin: 0; }
.fuss-unten { border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: clamp(32px, 3vw, 56px); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 13.5px; }

/* ==========================================================================
   Ratgeber — der redaktionelle Teil
   ========================================================================== */
.artikel-buehne { background: var(--papier); padding-block: clamp(36px, 4vw, 72px) clamp(28px, 2.6vw, 48px); border-bottom: 1px solid #efe9da; }
.brotkrumen { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.brotkrumen a { color: var(--ink-2); text-decoration: none; }
.brotkrumen a:hover { text-decoration: underline; }
.artikel-buehne .etikett { color: var(--gold-tief); border-color: #e6d3a1; background: #fff; margin-top: 24px; }
.artikel-buehne .etikett::before { background: var(--gold-tief); }
.artikel-buehne h1 {
  font-family: var(--serif); font-weight: 700; color: var(--navy);
  font-size: clamp(28px, 2.3vw, 42px); line-height: 1.12; letter-spacing: -0.012em; max-width: 26ch; margin-top: 16px;
}
.vorspann { font-family: var(--serif); font-size: clamp(17px, 0.2vw + 15.2px, 19px); line-height: 1.5; color: var(--ink-2); max-width: 60ch; margin-top: 22px; }
.metazeile { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.metazeile span::before { content: "·"; margin-right: 22px; }
.metazeile span:first-child::before { content: none; margin: 0; }

/* wrap-reverse: Auf schmalen Schirmen steht das Inhaltsverzeichnis über dem
   Artikel. Dabei tauschen oben und unten die Rollen — darum flex-end, damit
   das Verzeichnis auf breiten Schirmen oben neben dem Text steht. */
.artikel-bereich { display: flex; flex-wrap: wrap-reverse; gap: clamp(28px, 4vw, 90px); align-items: flex-end; padding-block: clamp(36px, 4vw, 80px); }
/* Der Artikel wächst nicht in die Breite, sondern in der Schrift: Auf großen
   Schirmen wird er größer gesetzt, die Zeile bleibt lesbar lang, und das
   Verzeichnis steht direkt daneben statt am anderen Ende des Bildschirms. */
.artikel { flex: 0 1 min(100%, 78ch); min-width: 0; font-size: clamp(15px, 0.12vw + 14px, 17px); }
.inhalt {
  flex: 0 1 300px; position: sticky; top: clamp(80px, 6vw, 100px);
  border-left: 2px solid var(--linie); padding-left: 20px; font-size: 15px;
}
.inhalt b { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.inhalt ol { margin: 0; padding-left: 18px; }
.inhalt li { margin-bottom: 9px; color: var(--ink-2); }
.inhalt a { text-decoration: none; }
.inhalt a:hover { color: var(--navy); text-decoration: underline; }

.artikel > * + * { margin-top: 1.1em; }
.artikel h2 {
  font-family: var(--serif); font-size: clamp(22px, 0.6vw + 17px, 27px); line-height: 1.22; color: var(--navy);
  margin-top: 2.2em !important; scroll-margin-top: 100px; max-width: 30ch;
}
.artikel h3 { font-size: clamp(18px, 0.3vw + 16px, 20px); color: var(--ink); margin-top: 1.8em !important; }
.artikel p, .artikel li { max-width: 68ch; color: #2b3240; }
.artikel ul, .artikel ol { padding-left: 1.3em; }
.artikel li + li { margin-top: 0.4em; }
.artikel a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.artikel strong { color: var(--ink); }

.kurzantwort {
  background: #fff; border: 1px solid #eadfc2; border-left: 5px solid var(--gold);
  border-radius: 12px; padding: clamp(18px, 1.8vw, 28px) clamp(20px, 2vw, 32px); box-shadow: var(--schatten);
}
.kurzantwort b:first-child { display: block; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-tief); margin-bottom: 8px; }
.kasten { border-radius: 12px; padding: clamp(16px, 1.6vw, 24px) clamp(18px, 1.8vw, 28px); max-width: 68ch; }
.kasten b:first-child { display: block; margin-bottom: 6px; }
.kasten.tipp { background: var(--gold-bg); }
.kasten.achtung { background: var(--rot-bg); border-left: 4px solid var(--rot); }
.kasten.norm { background: var(--grau); border-left: 4px solid var(--navy); font-size: 0.96em; }
.kasten.norm b:first-child { color: var(--navy); }

.tabelle { overflow-x: auto; max-width: 100%; }
.tabelle table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 15.5px; }
.tabelle th, .tabelle td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--linie); }
.tabelle th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--grau); }
.tabelle td:first-child { font-weight: 700; color: var(--navy); }

.fragen details { border-bottom: 1px solid var(--linie); padding-block: 16px; max-width: 68ch; }
.fragen summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; display: flex; gap: 12px; justify-content: space-between; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; color: var(--gold-tief); font-size: 22px; line-height: 1; transition: transform 0.2s ease; }
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen details p { margin-top: 10px; }

.produktkasten {
  background: var(--navy); color: #fff; border-radius: 20px; padding: clamp(24px, 2.4vw, 40px);
  position: relative; overflow: hidden; margin-top: 2.6em !important; max-width: 76ch;
}
.produktkasten::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.produktkasten > * { position: relative; }
.produktkasten b:first-child { color: var(--gold); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.produktkasten h3 { color: #fff !important; font-family: var(--serif); font-size: clamp(20px, 0.6vw + 16px, 25px); margin-top: 8px !important; }
.produktkasten p, .produktkasten li { color: var(--hell) !important; }
.produktkasten .knopf { margin-top: 18px; }

.hinweis-recht { font-size: 14px; color: var(--muted); border-top: 1px solid var(--linie); padding-top: 18px; margin-top: 3em !important; max-width: 68ch; }
/* „Weiterlesen“ unter einem Beitrag: bis zu drei aus demselben Themenfeld. */
.weitere { margin-top: 2.6em !important; max-width: 76ch; border-top: 1px solid var(--linie); padding-top: 18px; }
.weitere b { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.weitere ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.weitere a { font-family: var(--serif); font-size: 1.08em; font-weight: 700; color: var(--navy); text-decoration: none; }
.weitere a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.weitere a::after { content: " →"; color: var(--gold-tief); }

/* Übersicht: Themenfelder untereinander, ohne großen Abstand dazwischen. */
.ratgeber-gruppe { padding-block: clamp(28px, 3vw, 56px) 0; }
.ratgeber-gruppe:last-of-type { padding-bottom: var(--abstand); }
.ratgeber-gruppe h2 { font-family: var(--serif); font-size: clamp(22px, 0.7vw + 17px, 28px); max-width: none; }
/* Alle Kacheln gleich breit, auch in einer Gruppe mit weniger Beiträgen:
   auto-fill hält die leeren Spalten frei, statt die vorhandenen zu dehnen
   (Wunsch Achim, 30.09.2026). */
.ratgeber-gruppe .beitraege { margin-top: clamp(18px, 1.8vw, 32px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }

/* ---------- Erscheinen beim Scrollen ----------------------------------- */
/* Nur wenn das Skript läuft: Ohne Skript ist alles sofort sichtbar. */
.bereit .erscheinen { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.bereit .erscheinen.da { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kachel { animation: none; }
  .bereit .erscheinen { opacity: 1; transform: none; transition: none; }
  .knopf, .karte, .beitrag { transition: none; }
}
