/* fremdgehen.ws: helles Magazin, Feuilleton-Satz.
   Warmes Papier, fast schwarze Tinte, Weinrot als einziger Akzent.
   Große Serifen-Ziffern, doppelte Linien, ein Kasten „Kurz gesagt“ als Markenzeichen. */

/* Schriften, alle lokal */
@font-face { font-family: "Source Serif 4"; src: url("schriften/SourceSerif4-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("schriften/SourceSerif4-It.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("schriften/SourceSerif4-Semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("schriften/SourceSerif4-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("schriften/SourceSans3-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("schriften/SourceSans3-It.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("schriften/SourceSans3-Semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("schriften/SourceSans3-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* Farben und Maße */
:root {
  --papier: #FAF7F2;
  --papier-tief: #F3EEE5;
  --tinte: #1F1B1A;
  --tinte-weich: #5E5551;
  --tinte-hell: #8A807A;
  --wein: #7A1F2B;
  --wein-dunkel: #5C1620;
  --wein-hauch: rgba(122, 31, 43, 0.08);
  --sand: #EFE9E0;
  --sand-dunkel: #E3DACB;
  --linie: #DDD4C7;
  --linie-stark: #1F1B1A;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --spalte: 700px;
  --breit: 1160px;
  --rand: 22px;
  --kurve: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Grundlagen */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  border-top: 5px solid var(--wein);
  font-feature-settings: "kern", "liga", "onum";
  text-rendering: optimizeLegibility;
  position: relative;
}
/* Feines Papierkorn, rein aus CSS */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.032;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='k'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23k)'/></svg>");
}
img { max-width: 100%; height: auto; }
a { color: var(--wein); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: rgba(122, 31, 43, 0.4); transition: color 0.15s, text-decoration-color 0.15s; }
a:hover { color: var(--wein-dunkel); text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--wein); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--sand-dunkel); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  color: var(--tinte);
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.015em; line-height: 1.08; }
h2 { font-size: 1.7rem; margin-top: 2.6em; margin-bottom: 0.6em; letter-spacing: -0.005em; }
h3 { font-size: 1.25rem; margin-top: 1.6em; margin-bottom: 0.4em; }
p { margin: 0 0 1.15em; }
ul, ol { margin: 0 0 1.3em; padding-left: 1.4em; }
li { margin-bottom: 0.4em; }
li::marker { color: var(--wein); font-family: var(--serif); font-weight: 600; }
strong { font-weight: 600; }
em { font-family: var(--serif); font-style: italic; font-size: 1.03em; }
blockquote { margin: 1.8em 0; padding: 0.2em 0 0.2em 1.4em; border-left: 3px solid var(--wein); font-family: var(--serif); font-size: 1.12em; line-height: 1.5; color: var(--tinte); }
blockquote p:last-child { margin-bottom: 0; }
hr { border: 0; border-top: 1px solid var(--linie); margin: 2.5em 0; }

table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 0.95em; }
th, td { text-align: left; padding: 0.65em 0.75em; border-bottom: 1px solid var(--linie); vertical-align: top; }
th { font-weight: 600; border-bottom: 2px solid var(--linie-stark); font-size: 0.82em; letter-spacing: 0.08em; text-transform: uppercase; }
tbody tr:nth-child(even) { background: rgba(239, 233, 224, 0.45); }
caption { text-align: left; font-family: var(--serif); font-style: italic; font-size: 0.95em; color: var(--tinte-weich); padding-bottom: 0.6em; }
.tabelle-rahmen { overflow-x: auto; }

/* Sprunglink */
.sprung { position: absolute; left: -999px; top: 8px; background: var(--wein); color: #fff; padding: 0.5em 1em; z-index: 100; }
.sprung:focus { left: 8px; }

/* Spaltenmaße */
.lesespalte { max-width: var(--spalte); margin-left: auto; margin-right: auto; padding-left: var(--rand); padding-right: var(--rand); }
.hauptteil { padding: 2.75rem 0 5rem; }

/* Abschnittstitel mit Linie: Kapitälchen, danach eine Linie bis zum Rand */
.abschnitt-titel {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tinte);
  margin: 0 0 1.6rem;
  padding-top: 0;
  border: 0;
}
.abschnitt-titel::before { content: ""; width: 10px; height: 10px; background: var(--wein); flex: none; }
.abschnitt-titel::after { content: ""; flex: 1; height: 1px; background: var(--linie-stark); opacity: 0.6; }

/* Vorzeile: kleines Etikett in Weinrot */
.vorzeile { display: flex; align-items: center; gap: 0.7em; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wein); margin: 0 0 1.3em; }
.vorzeile::before { content: ""; width: 1.6em; height: 2px; background: var(--wein); }
.vorzeile a { text-decoration: none; color: inherit; }
.vorzeile a:hover { text-decoration: underline; }

/* Kopf */
.kopf { background: var(--papier); }
.kopf-leiste { border-bottom: 1px solid var(--linie); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tinte-hell); }
.kopf-leiste-innen { max-width: var(--breit); margin: 0 auto; padding: 0.55rem var(--rand); display: flex; justify-content: space-between; gap: 1rem; }
.kopf-innen { max-width: var(--breit); margin: 0 auto; padding: 0 var(--rand); display: flex; flex-direction: column; align-items: stretch; }
.marke { display: block; text-align: center; text-decoration: none; color: var(--tinte); padding: 1.9rem 0 1.5rem; }
.marke-name { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -0.02em; line-height: 1; }
.marke:hover .marke-name { color: var(--wein); }

.themen-schalter { position: absolute; opacity: 0; width: 0; height: 0; }
.themen-knopf { display: none; }
.themen {
  border-top: 2px solid var(--linie-stark);
  border-bottom: 1px solid var(--linie-stark);
  box-shadow: inset 0 3px 0 var(--papier), inset 0 4px 0 var(--linie-stark);
}
.themen ol { list-style: none; margin: 0; padding: 4px 0 0; display: flex; justify-content: center; flex-wrap: wrap; }
/* Desktop: eine Reihe mit Kurznamen, der volle Name steht im Handy-Menü und im Tooltip */
.themen-lang { display: none; }
.themen li { margin: 0; }
.themen a {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  padding: 0.95rem 1.2rem 0.85rem;
  text-decoration: none;
  color: var(--tinte);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
}
.themen-nr { font-family: var(--serif); font-weight: 600; font-size: 0.95em; color: var(--wein); letter-spacing: 0; }
.themen a::after { content: ""; position: absolute; left: 1.2rem; right: 1.2rem; bottom: -1px; height: 3px; background: var(--wein); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--kurve); }
.themen a:hover { color: var(--wein); }
.themen a:hover::after, .themen a.aktiv::after { transform: scaleX(1); }
.themen a.aktiv { color: var(--wein); }
/* Desktop-Reihe: ab 1200 Pixeln etwas luftiger, zwischen 1024 und 1199 kompakter; darunter das Themen-Menü */
@media (min-width: 1200px) {
  .themen a { padding-left: 0.9rem; padding-right: 0.9rem; letter-spacing: 0.08em; font-size: 0.8rem; }
  .themen a::after { left: 0.9rem; right: 0.9rem; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .themen a { padding-left: 0.6rem; padding-right: 0.6rem; letter-spacing: 0.06em; font-size: 0.76rem; }
  .themen a::after { left: 0.6rem; right: 0.6rem; }
}

@media (max-width: 1023px) {
  .kopf-leiste-innen span:last-child { display: none; }
  .kopf-innen { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .marke { text-align: left; padding: 1.1rem 0 1rem; }
  .marke-name { font-size: 1.7rem; }
  .themen-knopf {
    display: inline-flex; align-items: center; gap: 0.6em; cursor: pointer;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    padding: 0.55em 0.95em; border: 1.5px solid var(--tinte); color: var(--tinte);
  }
  .themen-balken { display: inline-block; width: 16px; height: 2px; background: currentColor; position: relative; }
  .themen-balken::before, .themen-balken::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; }
  .themen-balken::before { top: -5px; }
  .themen-balken::after { top: 5px; }
  .themen { display: none; flex: 0 0 calc(100% + 2 * var(--rand)); border-bottom: 0; box-shadow: none; border-top: 1px solid var(--linie); background: var(--sand); margin: 0 calc(-1 * var(--rand)); padding: 0 var(--rand); }
  .themen-kurz { display: none; }
  .themen-lang { display: inline; }
  .themen-schalter:checked ~ .themen { display: block; }
  .themen ol { flex-direction: column; padding: 0.5rem 0 0.8rem; }
  .themen a { padding: 0.7rem 0; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: none; font-weight: 600; border-bottom: 1px solid var(--linie); }
  .themen li:last-child a { border-bottom: 0; }
  .themen a::after { display: none; }
  .themen-nr { font-size: 0.9em; min-width: 1.8em; }
}

/* Brotkrumen */
.brotkrumen { font-size: 0.84rem; color: var(--tinte-hell); margin-bottom: 1.8rem; letter-spacing: 0.01em; }
.brotkrumen ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.brotkrumen li { margin: 0; }
.brotkrumen li + li::before { content: "\203A"; padding: 0 0.6em; color: var(--tinte-hell); }
.brotkrumen a { color: var(--tinte-hell); text-decoration-color: var(--linie); }
.brotkrumen a:hover { color: var(--wein); }

/* Seitenkopf */
.seitenkopf { margin-bottom: 2.2rem; }
.seitenkopf h1 { margin-bottom: 0.55em; }
.einleitung { font-family: var(--serif); font-size: 1.28rem; line-height: 1.55; color: var(--tinte); }
.einleitung p:last-child { margin-bottom: 0; }
.artikel-meta { font-size: 0.86rem; color: var(--tinte-weich); margin: 0; letter-spacing: 0.01em; }
.artikel-meta span + span::before { content: "\00B7"; padding: 0 0.6em; color: var(--tinte-hell); }

/* Kasten "Kurz gesagt": das Markenzeichen der Seite */
.kurz-gesagt {
  position: relative;
  background: var(--sand);
  border-top: 3px solid var(--wein);
  padding: 1.5rem 1.7rem 1.5rem;
  margin: 0 0 2.6rem;
  overflow: hidden;
}
.kurz-gesagt::before {
  content: "\201C";
  position: absolute;
  right: 0.9rem;
  top: -0.9rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 9rem;
  line-height: 1;
  color: var(--wein);
  opacity: 0.1;
  pointer-events: none;
}
.kurz-titel { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--wein); margin: 0 0 0.7em; }
.kurz-text { font-family: var(--serif); font-size: 1.28rem; line-height: 1.5; margin: 0; position: relative; }

/* Inhaltsverzeichnis */
.verzeichnis { margin: 0 0 2.8rem; padding: 1.1rem 0 0.3rem; border-top: 1px solid var(--linie-stark); border-bottom: 1px solid var(--linie); font-size: 0.96rem; }
.verzeichnis-titel { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tinte-weich); margin: 0 0 0.7em; }
.verzeichnis ol { margin: 0; padding-left: 1.6em; }
.verzeichnis li { margin-bottom: 0.35em; padding-left: 0.2em; }
.verzeichnis li::marker { font-size: 0.9em; }
.verzeichnis a { color: var(--tinte); text-decoration-color: transparent; }
.verzeichnis a:hover { color: var(--wein); text-decoration-color: currentColor; }

/* Artikel */
.artikel { max-width: var(--spalte); margin: 0 auto; padding: 0 var(--rand); }
.artikel-text section:first-of-type h2 { margin-top: 0; }
.artikel-text h2 { scroll-margin-top: 1.5rem; }
.artikel-text h2::before { content: ""; display: block; width: 2.2rem; height: 3px; background: var(--wein); margin-bottom: 0.7rem; }
.artikel-text > section:first-of-type > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 3.9em;
  line-height: 0.82;
  float: left;
  color: var(--wein);
  padding: 0.08em 0.12em 0 0;
}
.fragen { margin-top: 3.2rem; padding-top: 2rem; border-top: 2px solid var(--linie-stark); }
.fragen h2 { margin-top: 0; }
.frage { padding: 1.2rem 0 0.4rem; border-top: 1px solid var(--linie); }
.frage h3 { margin-top: 0; }
.frage p:last-child { margin-bottom: 0.8em; }
/* Kasten "Zwei Blickwinkel": Geschwister von "Kurz gesagt", eine Frage, zwei Seiten */
.blickwinkel { margin: 3.2rem 0 0; padding: 1.5rem 1.7rem 1.3rem; background: var(--sand); border-top: 3px solid var(--wein); scroll-margin-top: 1.5rem; }
.blickwinkel-titel { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--wein); margin: 0 0 1.1em; }
.blickwinkel-paar { display: grid; grid-template-columns: 1fr 1fr; }
.blickwinkel-seite:first-child { padding-right: 1.8rem; }
.blickwinkel-seite + .blickwinkel-seite { padding-left: 1.8rem; border-left: 1px solid var(--sand-dunkel); }
.blickwinkel-seite h3 { font-family: var(--sans); font-size: 0.92rem; font-weight: 700; letter-spacing: 0.03em; margin: 0 0 0.7em; color: var(--tinte); }
.blickwinkel-seite h3::before { content: ""; display: inline-block; width: 0.55em; height: 0.55em; background: var(--wein); margin-right: 0.6em; vertical-align: 0.08em; }
.blickwinkel-seite p { font-size: 1rem; line-height: 1.6; margin: 0 0 0.8em; }
.blickwinkel-seite p:last-child { margin-bottom: 0; }
.hinweis { margin-top: 2.5rem; padding: 1rem 1.3rem; background: var(--sand); border-left: 3px solid var(--sand-dunkel); font-size: 0.95rem; color: var(--tinte-weich); }
.quellen { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--linie-stark); font-size: 0.9rem; color: var(--tinte-weich); scroll-margin-top: 1.5rem; }
.quellen h2 { font-size: 0.8rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 1em; color: var(--tinte); }
.quellen ol { padding-left: 1.6em; }
.quellen li { margin-bottom: 0.5em; overflow-wrap: anywhere; }
.stand { margin-top: 2rem; font-size: 0.86rem; color: var(--tinte-hell); font-style: italic; font-family: var(--serif); }
.verwandt { margin-top: 3.5rem; }

/* Breite Bildschirme: Inhaltsverzeichnis wandert in die linke Randspalte und bleibt beim Lesen stehen */
@media (min-width: 1180px) {
  .artikel.mit-verzeichnis {
    max-width: calc(220px + 3.5rem + var(--spalte));
    display: grid;
    grid-template-columns: 220px minmax(0, var(--spalte));
    column-gap: 3.5rem;
    padding: 0;
  }
  .artikel.mit-verzeichnis > * { grid-column: 2; min-width: 0; }
  .artikel.mit-verzeichnis > .verzeichnis {
    grid-column: 1;
    grid-row: 4;
    align-self: start;
    position: sticky;
    top: 1.5rem;
    margin: 0;
    padding: 0.4rem 0 0;
    border-top: 2px solid var(--linie-stark);
    border-bottom: 0;
    font-size: 0.88rem;
  }
  .artikel.mit-verzeichnis > .verzeichnis ol { padding-left: 1.3em; }
}

/* Artikellisten */
.artikel-liste { list-style: none; margin: 0; padding: 0; }
.artikel-liste.nummeriert { counter-reset: artikel; }
.artikel-eintrag { position: relative; padding: 1.35rem 0 1.3rem; border-top: 1px solid var(--linie); margin: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.artikel-liste li:last-child { border-bottom: 1px solid var(--linie); }
.artikel-liste.nummeriert .artikel-eintrag { padding-left: 3.2rem; counter-increment: artikel; }
.artikel-liste.nummeriert .artikel-eintrag::before {
  content: counter(artikel, decimal-leading-zero);
  position: absolute; left: 0; top: 1.3rem;
  font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--wein); line-height: 1.2;
}
.eintrag-bereich { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wein); }
.eintrag-titel { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; line-height: 1.25; text-decoration: none; color: var(--tinte); text-decoration-color: transparent; transition: color 0.15s; }
a.eintrag-titel:hover { color: var(--wein); }
.eintrag-text { margin: 0; color: var(--tinte-weich); font-size: 1rem; }
.eintrag-stand { font-size: 0.8rem; color: var(--tinte-hell); letter-spacing: 0.02em; }
.artikel-eintrag.geplant .eintrag-titel { color: var(--tinte-hell); font-weight: 400; font-style: italic; }
.artikel-eintrag.geplant .eintrag-stand { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.7rem; }
.artikel-eintrag.geplant::before { color: var(--linie); }

/* Startseite: Bühne */
.seite-start .hauptteil { padding-top: 0; }
.buehne { background: radial-gradient(ellipse 60% 70% at 92% 0%, var(--papier-tief) 0%, rgba(243, 238, 229, 0) 70%); }
.buehne-innen {
  max-width: var(--breit);
  margin: 0 auto;
  padding: 4rem var(--rand) 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  gap: 3rem 5rem;
  align-items: start;
}
.buehne h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); line-height: 1.02; letter-spacing: -0.022em; margin-bottom: 0.55em; max-width: 14em; }
.buehne h1 em { font-weight: 400; font-style: italic; color: var(--wein); font-size: 1em; }
.buehne-text { max-width: 36em; font-size: 1.2rem; line-height: 1.6; }
.buehne-text p:first-child::first-letter { font-family: var(--serif); font-weight: 600; font-size: 3.6em; line-height: 0.82; float: left; color: var(--wein); padding: 0.1em 0.14em 0 0; }
.buehne-text p:last-child { margin-bottom: 0; }
.buehne-seite { padding-top: 2.9rem; }
.buehne-seite .kurz-gesagt { margin: 0; padding: 1.7rem 1.8rem 1.7rem; }

/* Startseite: Aufmacherbild */
.aufmacher { margin: 0; padding: 0 0 4.5rem; animation: aufblenden 0.9s var(--kurve) 420ms both; }
.aufmacher-innen { max-width: var(--breit); margin: 0 auto; padding: 0 var(--rand); }
.aufmacher img { display: block; width: 100%; height: auto; border-top: 3px solid var(--wein); }
.aufmacher-artikel { padding: 0 0 2.6rem; animation: none; }
.aufmacher-mitte { padding: 0.6rem 0 2.2rem; animation: none; }
.aufmacher figcaption { display: flex; align-items: center; gap: 0.7em; margin-top: 0.8rem; font-family: var(--serif); font-style: italic; font-size: 0.92rem; color: var(--tinte-weich); }
.aufmacher figcaption::before { content: ""; width: 1.4em; height: 1px; background: var(--wein); flex: none; }
.buehne-innen { padding-bottom: 3.2rem; }

/* Startseite: Themenkarten */
.themenkarten-innen { max-width: var(--breit); margin: 0 auto; padding: 0 var(--rand) 4rem; }
.karten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--linie-stark); border-left: 1px solid var(--linie); }
.karte { margin: 0; background: var(--papier); border-right: 1px solid var(--linie); border-bottom: 1px solid var(--linie); position: relative; }
.karte-gross { grid-column: span 2; }
.karte a { display: flex; flex-direction: column; height: 100%; min-height: 300px; padding: 1.7rem 1.6rem 1.5rem; text-decoration: none; color: var(--tinte); transition: background 0.25s var(--kurve); position: relative; overflow: hidden; }
.karte a:hover { background: var(--sand); }
.karte-nr {
  position: absolute; right: 1rem; top: 0.6rem;
  font-family: var(--serif); font-weight: 700; font-size: 6rem; line-height: 1;
  color: var(--wein); opacity: 0.12;
  transition: opacity 0.3s var(--kurve), transform 0.4s var(--kurve);
}
.karte a:hover .karte-nr { opacity: 0.22; transform: translateY(-4px); }
.karte-gross .karte-nr { font-size: 9rem; right: 1.4rem; top: 0.4rem; }
.karte-kurz { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wein); margin-bottom: 3.6rem; position: relative; }
.karte-titel { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 0.8rem; position: relative; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.14em; text-decoration-color: transparent; transition: text-decoration-color 0.25s, color 0.15s; }
.karte-gross .karte-titel { font-size: 2.3rem; max-width: 12em; }
.karte a:hover .karte-titel { color: var(--wein); text-decoration-color: var(--wein); }
.karte-text { font-size: 1rem; line-height: 1.5; color: var(--tinte-weich); flex-grow: 1; position: relative; max-width: 34em; }
.karte-gross .karte-text { font-size: 1.1rem; }
.karte-meta { margin-top: 1.6rem; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tinte-hell); position: relative; display: flex; align-items: center; gap: 0.7em; }
.karte-meta::after { content: "\203A"; font-family: var(--serif); font-size: 1.4em; line-height: 0.8; color: var(--wein); transition: transform 0.3s var(--kurve); }
.karte a:hover .karte-meta::after { transform: translateX(5px); }

/* Startseite: neueste Artikel */
.neueste { max-width: var(--spalte); margin: 0 auto; padding: 0 var(--rand) 4rem; }

/* Startseite: Grundsätze */
.grundsaetze { background: var(--sand); border-top: 1px solid var(--linie); }
.grundsaetze-innen { max-width: var(--breit); margin: 0 auto; padding: 3rem var(--rand) 3.5rem; }
.grundsaetze .abschnitt-titel::after { background: var(--linie-stark); }
.grundsatz-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: grundsatz; }
.grundsatz { margin: 0; counter-increment: grundsatz; padding-top: 1rem; border-top: 1px solid var(--linie-stark); position: relative; }
.grundsatz::before { content: counter(grundsatz) "."; display: block; font-family: var(--serif); font-weight: 600; font-size: 2.2rem; line-height: 1; color: var(--wein); margin-bottom: 0.9rem; }
.grundsatz h3 { margin: 0 0 0.5em; font-size: 1.2rem; }
.grundsatz p { margin: 0; font-size: 1rem; color: var(--tinte-weich); }

/* Bereichsseite */
.seitenkopf-bereich { position: relative; padding-top: 0.5rem; }
.bereich-nr {
  position: absolute; right: -0.5rem; top: -2.6rem;
  font-family: var(--serif); font-weight: 700; font-size: 11rem; line-height: 1;
  color: var(--wein); opacity: 0.07; pointer-events: none; user-select: none;
}
.bereich .abschnitt-titel { margin-top: 1rem; }

/* Fehlerseite */
.bereichsliste { padding-left: 1.5em; }

/* Fuß: dunkel als Gegengewicht */
.fuss { background: var(--tinte); color: var(--papier); margin-top: 0; border-top: 5px solid var(--wein); font-size: 0.95rem; }
.fuss-innen { max-width: var(--breit); margin: 0 auto; padding: 3.5rem var(--rand) 2rem; display: grid; grid-template-columns: 1.5fr 1fr 0.7fr; gap: 3rem; }
.fuss-marke { font-family: var(--serif); font-weight: 700; font-size: 1.9rem; letter-spacing: -0.02em; line-height: 1; margin-bottom: 0.7em; color: var(--papier); }
.fuss-text { color: rgba(250, 247, 242, 0.72); max-width: 28em; }
.fuss-titel { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(250, 247, 242, 0.55); margin-bottom: 1em; }
.fuss ul, .fuss ol { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 0.45em; }
.fuss a { color: var(--papier); text-decoration-color: rgba(250, 247, 242, 0.3); }
.fuss a:hover { color: #fff; text-decoration-color: var(--papier); }
.fuss-nr { font-family: var(--serif); font-weight: 600; color: rgba(250, 247, 242, 0.5); margin-right: 0.7em; }
.fuss-hinweis { margin-top: 1.4em; color: rgba(250, 247, 242, 0.55); font-size: 0.88rem; }
.fuss-zeile { max-width: var(--breit); margin: 0 auto; padding: 1.3rem var(--rand) 2.2rem; border-top: 1px solid rgba(250, 247, 242, 0.15); color: rgba(250, 247, 242, 0.55); font-size: 0.82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 2rem; }

/* Aufblenden beim Laden: Bühne und Karten, gestaffelt */
@keyframes aufblenden {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.buehne-haupt > * { animation: aufblenden 0.8s var(--kurve) both; }
.buehne-haupt > :nth-child(1) { animation-delay: 0ms; }
.buehne-haupt > :nth-child(2) { animation-delay: 90ms; }
.buehne-haupt > :nth-child(3) { animation-delay: 200ms; }
.buehne-seite { animation: aufblenden 0.9s var(--kurve) 320ms both; }
.karte { animation: aufblenden 0.7s var(--kurve) both; animation-delay: calc(360ms + var(--verz, 0ms)); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .buehne-haupt > *, .buehne-seite, .karte, .aufmacher { animation: none; }
  .karte-nr, .karte-meta::after, .themen a::after { transition: none; }
}

/* Mittlere Bildschirme */
@media (max-width: 980px) {
  .buehne-innen { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 3rem; padding-bottom: 3rem; }
  .buehne-seite { padding-top: 0; max-width: 40em; }
  .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .karte-gross { grid-column: span 2; }
  .grundsatz-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.5rem; }
  .fuss-innen { grid-template-columns: 1fr 1fr; }
  .fuss-ueber { grid-column: span 2; }
}

/* Kleine Bildschirme */
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  h2 { font-size: 1.45rem; }
  .hauptteil { padding-top: 1.8rem; }
  .buehne-innen { padding-top: 2.2rem; }
  .buehne h1 { font-size: 2.3rem; }
  .buehne-text { font-size: 1.1rem; }
  .karten { grid-template-columns: 1fr; }
  .karte-gross { grid-column: auto; }
  .karte a { min-height: 0; padding: 1.4rem 1.2rem 1.3rem; }
  .karte-kurz { margin-bottom: 2.4rem; }
  .karte-nr, .karte-gross .karte-nr { font-size: 5rem; right: 0.8rem; top: 0.5rem; }
  .karte-gross .karte-titel { font-size: 1.7rem; }
  .kurz-gesagt, .buehne-seite .kurz-gesagt { padding: 1.3rem 1.3rem 1.2rem; }
  .kurz-gesagt::before { font-size: 7rem; top: -1.8rem; }
  .kurz-text { font-size: 1.12rem; }
  .einleitung { font-size: 1.12rem; }
  .eintrag-titel { font-size: 1.18rem; }
  .artikel-liste.nummeriert .artikel-eintrag { padding-left: 2.6rem; }
  .bereich-nr { font-size: 7rem; top: -1.6rem; right: 0; }
  .fuss-innen { grid-template-columns: 1fr; gap: 2rem; padding-top: 2.5rem; }
  .fuss-ueber { grid-column: auto; }
}

/* Druck */
@media print {
  body { border-top: 0; background: #fff; color: #000; font-size: 11pt; }
  body::before, .kopf, .fuss, .verwandt, .brotkrumen, .sprung, .verzeichnis { display: none; }
  a { color: #000; text-decoration: none; }
  .quellen a::after { content: " (" attr(href) ")"; font-size: 0.85em; }
  .kurz-gesagt { border: 1px solid #000; background: #fff; }
}

/* Zwei Blickwinkel und Grundsätze auf schmalen Schirmen */
@media (max-width: 640px) {
  .blickwinkel { padding: 1.3rem 1.3rem 1.2rem; }
  .blickwinkel-paar { grid-template-columns: 1fr; }
  .blickwinkel-seite:first-child { padding-right: 0; padding-bottom: 1.2rem; }
  .blickwinkel-seite + .blickwinkel-seite { padding-left: 0; padding-top: 1.2rem; border-left: 0; border-top: 1px solid var(--sand-dunkel); }
  .grundsatz-liste { grid-template-columns: 1fr; gap: 1.8rem; }
}
@media print {
  .blickwinkel { border: 1px solid #000; background: #fff; }
}

/* Referenzseiten: Hilfe, Begriffe, Quellenverzeichnis, Redaktion */
.referenz-einleitung p:first-child { font-size: 1.12rem; }
.referenz section h2 { scroll-margin-top: 1.5rem; }
.abc ul { list-style: none; margin: 2rem 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.abc a { display: inline-block; min-width: 2.2rem; padding: 0.35rem 0.5rem; text-align: center; border: 1px solid var(--linie); font-family: var(--sans); font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.abc a:hover, .abc a:focus { border-color: var(--wein); color: var(--wein); }
.abc-marke { display: block; scroll-margin-top: 1.5rem; }
.begriffe { margin: 0; }
.begriffe dt { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--linie); scroll-margin-top: 1.5rem; }
.begriffe dt.buchstabe-start::before { content: attr(data-buchstabe); display: block; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.16em; color: var(--wein); margin-bottom: 0.4rem; }
.begriffe dd { margin: 0.5rem 0 0; }
.begriff-mehr { font-size: 0.92rem; }
.quellen-zahl { font-family: var(--sans); font-size: 0.9rem; color: var(--tinte-weich); }
.quellen-gruppe { margin-top: 2.5rem; }
.quelle-genutzt { display: block; font-size: 0.85em; color: var(--tinte-weich); margin-top: 0.2em; }
.quelle-genutzt a { color: inherit; }
