/*
  ZWISCHEN UNS – Designsystem der Webseite.
  Leitidee: jede Seite ist eine Doppelseite aus dem Heft. Links die Frage, rechts die Antwort.
  Farben und Schriften stammen aus Heft und Instagram. Keine externen Ressourcen, kein JavaScript.
  Schriften: Playfair Display und Inter, SIL Open Font License, unverändert, Lizenz in /assets/schriften/.
*/

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/schriften/inter-400-normal.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/schriften/inter-600-normal.ttf") format("truetype"); }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/schriften/pf-700-normal.ttf") format("truetype"); }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-style: italic; font-display: swap; src: url("/assets/schriften/pf-700-italic.ttf") format("truetype"); }
@font-face { font-family: "Playfair Display"; font-weight: 900; font-style: normal; font-display: swap; src: url("/assets/schriften/pf-900-normal.ttf") format("truetype"); }

:root {
  --nacht: #0D0B0C;
  --bordeaux: #5A0F1F;
  --weinrot: #8A1128;
  --creme: #F4ECDF;
  --gold: #C9A45C;
  --magenta: #F0409A;
  --grau-hell: #B9AFA3;   /* Nebentext auf Dunkel, 9,1:1 auf Nacht */
  --grau-dunkel: #5B524B; /* Nebentext auf Creme, 6,6:1 */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --rand: clamp(20px, 5vw, 64px);
  --breite: 1240px;
  --lese: 40rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--nacht); color: var(--creme); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { hyphens: manual; overflow-wrap: break-word; }
a { color: inherit; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.hell :focus-visible, .lesetext :focus-visible { outline-color: var(--weinrot); }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprunglink { position: absolute; left: -9999px; top: 12px; background: var(--creme); color: var(--nacht); padding: 10px 14px; z-index: 20; }
.sprunglink:focus { left: 12px; }

/* ---------- Kopf ---------- */
.kopf { border-bottom: 1px solid rgba(201,164,92,.45); }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: 22px var(--rand); display: flex; align-items: baseline; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; }
.wortmarke { font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: .34em; color: var(--gold); text-decoration: none; white-space: nowrap; }
.wortmarke:hover { color: var(--creme); }
.kopf nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.kopf nav a { font-size: 15px; text-decoration: none; color: var(--creme); padding: 6px 0; display: inline-block; }
.kopf nav a:hover, .kopf nav a[aria-current="page"] { color: var(--gold); }
.kopf nav a[aria-current="page"] { text-decoration: underline; }

/* ---------- Doppelseite: Frage | Antwort ---------- */
.doppelseite { display: grid; grid-template-columns: 1fr 1fr; min-height: min(88vh, 860px); }
.frage { background: var(--bordeaux); padding: clamp(36px, 6vw, 88px) var(--rand) clamp(36px, 6vw, 88px) max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand))); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.antwort { background: var(--nacht); padding: clamp(36px, 6vw, 88px) max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand))) clamp(36px, 6vw, 88px) var(--rand); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.vorzeile { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 19px; color: var(--gold); margin: 0; }
.frage h1, .frage .frage-text { font-family: var(--serif); font-weight: 900; font-size: clamp(52px, 7.4vw, 118px); line-height: .98; letter-spacing: -.01em; margin: 0; color: var(--creme); text-wrap: balance; }
.frage-fuss { font-size: 17px; line-height: 1.55; color: #E9DCCB; max-width: 30rem; margin: 0; }
.zahlenpaar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.zahl { margin: 0; }
.zahl b { display: block; font-family: var(--serif); font-weight: 900; font-size: clamp(76px, 10.5vw, 168px); line-height: .9; letter-spacing: -.02em; }
.zahl b small { font-size: .42em; font-weight: 700; margin-left: .06em; }
.zahl span { display: block; font-weight: 600; font-size: 16px; margin-top: 10px; }
.zahl.m b, .zahl.m span { color: var(--gold); }
.zahl.f b, .zahl.f span { color: var(--magenta); }
.antwort-text { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; margin: 0; max-width: 32rem; }
.quelle { font-size: 13px; line-height: 1.55; color: var(--grau-hell); margin: 0; max-width: 36rem; }
.knopf { display: inline-block; align-self: flex-start; font-weight: 600; font-size: 16px; text-decoration: none; color: var(--nacht); background: var(--creme); padding: 14px 24px; border: 1px solid var(--creme); }
.knopf:hover { background: var(--gold); border-color: var(--gold); color: var(--nacht); }
.knopf.leer { background: transparent; color: var(--creme); }
.knopf.leer:hover { background: transparent; color: var(--gold); border-color: var(--gold); }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(56px, 8vw, 112px) 0; }
.abschnitt > .innen, .abschnitt > .mythos { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.hell { background: var(--creme); color: var(--nacht); }
.hell a { text-decoration-color: var(--weinrot); }
.hell a:hover { color: var(--weinrot); }
.hell .quelle { color: var(--grau-dunkel); }
.wein { background: var(--bordeaux); }
.abschnitt-kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; padding-bottom: 28px; border-bottom: 1px solid currentColor; margin-bottom: 8px; }
.abschnitt-kopf h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; margin: 0; }
.abschnitt-kopf p { margin: 0; font-size: 17px; max-width: 32rem; }

/* Kapitel-Liste (echte Reihenfolge: Kapitel 1 bis 5) */
.kapitel-liste { list-style: none; margin: 0; padding: 0; }
.kapitel-liste li { border-bottom: 1px solid rgba(13,11,12,.25); }
.kapitel-liste a { display: grid; grid-template-columns: 120px minmax(0, 1fr) 290px; gap: 8px 32px; align-items: baseline; padding: 30px 0; text-decoration: none; }
.kapitel-liste .nr { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 18px; color: var(--weinrot); }
.kapitel-liste .titel { font-family: var(--serif); font-weight: 900; font-size: clamp(26px, 3vw, 40px); line-height: 1.08; display: block; }
.kapitel-liste .anriss { display: block; font-size: 16px; color: var(--grau-dunkel); margin-top: 8px; max-width: 36rem; }
.kapitel-liste .kennzahl { font-family: var(--serif); font-weight: 900; white-space: nowrap; font-size: clamp(30px, 3vw, 44px); line-height: 1; color: var(--weinrot); text-align: right; }
.kapitel-liste .kennzahl small { white-space: normal; display: block; font-family: var(--sans); font-weight: 400; font-size: 13px; line-height: 1.4; color: var(--grau-dunkel); margin-top: 8px; }
.kapitel-liste a:hover .titel { color: var(--weinrot); }

/* Aktuelle Ausgabe */
.ausgabe { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.cover { position: relative; margin: 0; max-width: 440px; }
.cover::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); }
.cover img { position: relative; }
.ausgabe h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(44px, 6vw, 88px); line-height: .98; margin: 6px 0 18px; }
.ausgabe p { max-width: 34rem; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Mythos */
.mythos blockquote, .mythos .urteil { max-width: 980px; }
.mythos blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(34px, 5vw, 72px); line-height: 1.08; }
.mythos .urteil { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; margin-top: 28px; }
.mythos .urteil b { font-family: var(--serif); font-weight: 900; font-size: clamp(64px, 9vw, 128px); line-height: .9; color: var(--creme); }
.mythos .urteil span { font-size: 18px; max-width: 26rem; }

/* Arbeitsweise */
.prinzipien { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 48px; margin-top: 36px; }
.prinzipien h3 { font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1.15; margin: 0 0 10px; }
.prinzipien p { margin: 0; color: var(--grau-dunkel); }

/* Folgen */
.folgen { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 20px 40px; }
.folgen p { font-family: var(--serif); font-weight: 700; font-style: italic; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; margin: 0; max-width: 40rem; }

/* ---------- Artikel ---------- */
.artikel-kopf .frage h1 { font-size: clamp(46px, 6.4vw, 100px); }
.artikel-kopf .frage h1.lang { font-size: clamp(42px, 5vw, 72px); }
.artikel-kopf .antwort { gap: 22px; }
.einstieg { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: #EFE3D3; margin: 0; max-width: 34rem; }
.einzelzahl b { display: block; font-family: var(--serif); font-weight: 900; font-size: clamp(96px, 13vw, 200px); line-height: .88; letter-spacing: -.02em; color: var(--creme); }
.einzelzahl b small { font-size: .4em; font-weight: 700; }
.einzelzahl span { display: block; font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 22px; line-height: 1.3; margin-top: 14px; max-width: 30rem; }
.thema-marken { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.thema-marken a { font-size: 13px; text-decoration: none; border: 1px solid rgba(201,164,92,.6); color: var(--gold); padding: 4px 10px; display: inline-block; }
.thema-marken a:hover { background: var(--gold); color: var(--nacht); }

.lesetext { background: var(--creme); color: var(--nacht); padding: clamp(48px, 7vw, 96px) var(--rand); }
.lesetext > * { max-width: var(--lese); margin-left: auto; margin-right: auto; }
.lesetext p, .lesetext li { font-size: 19px; line-height: 1.65; }
.lesetext h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.08; margin-top: 2.2em; margin-bottom: .5em; }
.lesetext h2:first-child { margin-top: 0; }
.lesetext a { text-decoration-color: var(--weinrot); }
.lesetext .quelle { color: var(--grau-dunkel); font-size: 14px; }
.lesetext figure, .lesetext .kasten, .lesetext .zwei-spalten { max-width: 52rem; margin-top: 2em; margin-bottom: 2em; }

/* Balkendiagramm: Zeile = Beschriftung + zwei Balken (Gold Männer, Magenta Frauen auf Dunkel; Nacht/Weinrot auf Creme) */
.diagramm { margin-left: auto; margin-right: auto; }
.diagramm figcaption { font-family: var(--serif); font-weight: 700; font-size: 24px; line-height: 1.2; margin-bottom: 6px; }
.legende { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; font-weight: 600; margin: 0 0 18px; padding: 0; list-style: none; }
.legende li::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 7px; vertical-align: -1px; background: var(--c); }
.balken-zeile { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 6px 24px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(13,11,12,.14); }
.balken-zeile .bez { font-size: 16px; font-weight: 600; line-height: 1.3; }
.balken-zeile .bez small { display: block; font-weight: 400; font-size: 13px; color: var(--grau-dunkel); margin-top: 2px; }
.balken { display: flex; align-items: center; gap: 10px; height: 26px; }
.balken i { display: block; height: 16px; width: var(--w); background: var(--c); }
.balken b { font-family: var(--serif); font-weight: 900; font-size: 20px; line-height: 1; white-space: nowrap; color: var(--c-text, var(--c)); }
.lesetext .balken.m { --c: var(--nacht); }
.lesetext .balken.f { --c: #B3155F; } /* dunkleres Magenta für Text auf Creme, 5,6:1 */
.lesetext .legende .m { --c: var(--nacht); }
.lesetext .legende .f { --c: #B3155F; }

/* Säulen (Scheidungsziffer) */
.saeulen { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; align-items: end; height: 300px; padding: 0; margin: 0; list-style: none; border-bottom: 1px solid var(--nacht); }
.saeulen li { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.saeulen b { font-family: var(--serif); font-weight: 900; font-size: 20px; margin-bottom: 6px; }
.saeulen i { display: block; width: 100%; height: var(--h); background: #8F857C; }
.saeulen .hoch i { background: var(--weinrot); }
.saeulen .jetzt i { background: var(--gold); }
.saeulen-jahre { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 8px 0 0; margin: 0; font-size: 14px; font-weight: 600; text-align: center; }

/* Gestapelte Balken (Kapitel 3) */
.stapel { display: flex; height: 40px; width: 100%; margin: 6px 0 14px; }
.stapel span { width: var(--w); background: var(--c); color: var(--t, var(--creme)); font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.stapel-legende { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; font-size: 14px; }
.stapel-legende li::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; background: var(--c); outline: 1px solid rgba(13,11,12,.3); }

/* Kästen */
.kasten { background: var(--nacht); color: var(--creme); padding: clamp(24px, 3vw, 40px); }
.kasten.wein { background: var(--bordeaux); }
.kasten h3 { font-family: var(--serif); font-weight: 700; font-style: italic; font-size: 20px; color: var(--gold); margin: 0 0 10px; }
.kasten p { font-size: 18px; line-height: 1.55; margin: 0 0 10px; }
.kasten .gross { font-family: var(--serif); font-weight: 900; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; }
.kasten .quelle { color: var(--grau-hell); margin: 12px 0 0; }
.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-left: auto; margin-right: auto; }
.fakten { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 28px 36px; list-style: none; padding: 0; margin: 2em auto; max-width: 52rem; }
.fakten b { display: block; font-family: var(--serif); font-weight: 900; font-size: 44px; line-height: 1; color: var(--weinrot); }
.fakten span { display: block; font-size: 16px; line-height: 1.45; margin-top: 8px; }
.vergleich { width: 100%; border-collapse: collapse; font-size: 17px; }
.vergleich th, .vergleich td { text-align: left; padding: 14px 8px 14px 0; border-bottom: 1px solid rgba(13,11,12,.2); }
.vergleich th { font-size: 14px; font-weight: 600; color: var(--grau-dunkel); }
.vergleich td.z, .vergleich th.z { text-align: right; white-space: nowrap; }
.vergleich td.neu { font-family: var(--serif); font-weight: 900; font-size: 26px; color: var(--weinrot); }

details.tabelle { margin: 4px 0 16px; }
details.tabelle summary { cursor: pointer; font-size: 15px; font-weight: 600; color: var(--weinrot); padding: 8px 0; }
/* Quellen und Teilen */
.quellen ol { padding-left: 1.2em; }
.quellen li { font-size: 16px !important; line-height: 1.55 !important; margin-bottom: 10px; }
.teilen { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: baseline; font-size: 16px; border-top: 1px solid rgba(13,11,12,.25); padding-top: 20px; }
.teilen strong { font-weight: 600; }

/* Weiterlesen */
.weiter { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.weiter a { display: block; padding: clamp(32px, 5vw, 64px) var(--rand); text-decoration: none; }
.weiter a:first-child { background: var(--bordeaux); padding-left: max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand))); }
.weiter a:last-child { background: #1B1416; padding-right: max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand))); }
.weiter span { display: block; font-family: var(--serif); font-style: italic; font-weight: 700; color: var(--gold); font-size: 18px; margin-bottom: 10px; }
.weiter b { font-family: var(--serif); font-weight: 900; font-size: clamp(26px, 3vw, 40px); line-height: 1.08; }
.weiter a:hover b { color: var(--gold); }

/* Übersicht Artikel */
.themen-filter { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.themen-filter a { display: inline-block; text-decoration: none; border: 1px solid currentColor; padding: 8px 16px; font-size: 15px; }
.thema { scroll-margin-top: 24px; }
.thema h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(30px, 3.4vw, 46px); margin: 56px 0 6px; }
.thema > p { margin: 0 0 8px; color: var(--grau-dunkel); max-width: 40rem; }

/* Heft-Ansicht */
.heftseiten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 1100px; margin: 0 auto; }
.heftseiten img { width: 100%; min-width: 0; }
.heftseiten img:first-child { grid-column: 1 / -1; max-width: 540px; margin: 0 auto; }
.heftseiten img:last-child { grid-column: 1 / -1; max-width: 540px; margin: 0 auto; }

/* ---------- Textseiten (Impressum, Datenschutz, Redaktion) ---------- */
.textseite { max-width: 46rem; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--rand) 24px; }
.textseite h1 { font-family: var(--serif); font-weight: 900; font-size: clamp(40px, 5vw, 64px); line-height: 1.04; margin: 0 0 16px; }
.textseite h2 { font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1.2; color: var(--gold); margin: 42px 0 10px; }
.textseite h3 { font-size: 19px; margin: 24px 0 6px; }
.textseite p, .textseite li { font-size: 17px; }
.textseite address { font-style: normal; }
.textseite .kasten { background: var(--bordeaux); padding: 22px 24px; margin: 28px 0 0; }
.textseite .kasten p, .textseite .kasten li { font-size: 16px; }
.textseite .kasten strong { color: var(--gold); }
.textseite .stand, .textseite .unterzeile { font-size: 14px; color: var(--grau-hell); }

/* ---------- Fußzeile ---------- */
.zu-fuss { border-top: 1px solid rgba(201,164,92,.45); }
.zu-fuss-innen { max-width: var(--breite); margin: 0 auto; padding: 44px var(--rand) 56px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; font-size: 14px; color: var(--grau-hell); }
.zu-fuss p { margin: 0; font-size: 14px; }
.zu-fuss-marke { font-weight: 600; letter-spacing: .34em; color: var(--gold); margin-bottom: 10px !important; }
.zu-fuss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.zu-fuss a { color: var(--creme); text-decoration: none; display: inline-block; padding: 6px 0; font-size: 14px; }
.zu-fuss a:hover, .zu-fuss a[aria-current="page"] { color: var(--gold); }
.zu-fuss nav + nav { margin-top: 6px; }

/* ---------- Kleine Bildschirme ---------- */
@media (max-width: 900px) {
  .doppelseite { grid-template-columns: 1fr; min-height: 0; }
  .frage { gap: 28px; }
  .abschnitt-kopf { grid-template-columns: 1fr; }
  .kapitel-liste a { grid-template-columns: 1fr; gap: 6px; padding: 26px 0; }
  .kapitel-liste .kennzahl { text-align: left; margin-top: 8px; }
  .ausgabe { grid-template-columns: 1fr; }
  .cover { max-width: 300px; }
  .prinzipien { grid-template-columns: 1fr; }
  .weiter { grid-template-columns: 1fr; }
  .zwei-spalten { grid-template-columns: 1fr; }
  .zu-fuss-innen { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .balken-zeile { grid-template-columns: 1fr; gap: 4px; }
  .lesetext p, .lesetext li { font-size: 18px; }
  .saeulen { height: 220px; gap: 5px; }
  .saeulen b { font-size: 14px; }
  .saeulen-jahre { gap: 5px; font-size: 12px; }
  .stapel span { font-size: 12px; }
  .stapel-legende { grid-template-columns: 1fr; }
  .heftseiten { grid-template-columns: 1fr; }
  .zahl b { font-size: clamp(68px, 22vw, 120px); }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print { .kopf, .zu-fuss, .teilen, .weiter { display: none; } body { background: #fff; color: #000; } }

/* Startseite: Auftakt mit Markenversprechen und aktueller Ausgabe (Vereinfachung 28.11.2026) */
.auftakt h1 { font-family: var(--serif); font-weight: 900; font-size: clamp(40px, 5.6vw, 84px); line-height: 1; letter-spacing: -.01em; margin: 0 0 18px; max-width: 15ch; text-wrap: balance; color: var(--creme); }
.auftakt-text { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: #EFE3D3; max-width: 36rem; margin: 0 0 clamp(44px, 6vw, 88px); }
