/*
Theme Name: GUSTAVO 1960
Theme URI: https://friedhelmkopka.de
Author: Warp Solutions, Sattler & Wiesenhütter GbR
Author URI: https://warpsolutions.de
Description: Autorenwebseite von Friedhelm Kopka zum Roman GUSTAVO 1960. Legt beim Aktivieren alle Seiten, Beiträge und Menüs automatisch an. Texte sind danach im WordPress-Editor bearbeitbar.
Version: 1.2.6
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: Alle Rechte vorbehalten
Text Domain: gustavo-1960
*/

/* ════════════════════════════════════════════════════════════
   GUSTAVO 1960 — Autorenwebseite Friedhelm Kopka
   Fraunces (Titel) · Newsreader (Lesetext) · Archivo (Auszeichnung)
   Keine Versalsatz-Blöcke, gut lesbare Schriftschnitte.
   ════════════════════════════════════════════════════════════ */

:root {
  --nero: #191512;        /* warmes Espresso-Schwarz: Bühne */
  --nero-tief: #110E0B;   /* tiefer: Fußzeile, Artikelkopf */
  --crema: #F5EFE2;       /* warmes Creme: Papier */
  --carta: #EAE1CE;       /* gedecktes Papier: Flächen, Karten */
  --rosso: #B93A25;       /* Rosso Corsa, abgedunkelt */
  --fumo: #6B6255;        /* Rauch: Metatexte auf hell, dunkel genug für guten Kontrast */
  --crema-60: rgba(245, 239, 226, .6);
  --crema-25: rgba(245, 239, 226, .25);
  --nero-15: rgba(25, 21, 18, .15);
  --schatten-tief: 0 40px 80px -24px rgba(10, 8, 5, .55);
  --schatten-tief-hover: 0 56px 96px -24px rgba(10, 8, 5, .6);
  --schatten-warm: 0 24px 48px -16px rgba(48, 38, 24, .22);
  --fraunces: 'Fraunces', Georgia, serif;
  --newsreader: 'Newsreader', Georgia, serif;
  --archivo: 'Archivo', 'Helvetica Neue', sans-serif;
}

/* ── Basis ──────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--crema);
  color: var(--nero);
  font-family: var(--newsreader);
  font-size: 1.145rem;
  line-height: 1.7;
}
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0 0 1.1em; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--rosso); outline-offset: 3px; }
::selection { background: var(--rosso); color: var(--crema); }

.zeile { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* Rechtstexte (Impressum, Datenschutz) */
.rechtstext h2 { font-family: var(--fraunces); font-weight: 600; font-size: 1.5rem; line-height: 1.2; margin: 2.5rem 0 1rem; }
.rechtstext h3 { font-family: var(--fraunces); font-weight: 600; font-size: 1.2rem; line-height: 1.3; margin: 1.8rem 0 0.75rem; }

/* Filmkorn auf dunklen Bühnen */
.buehne { position: relative; background: var(--nero); color: var(--crema); }
.buehne::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='240'%20height='240'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.85'%20numOctaves='2'/%3E%3C/filter%3E%3Crect%20width='240'%20height='240'%20filter='url(%23n)'%20opacity='0.6'/%3E%3C/svg%3E");
}
.buehne > * { position: relative; }

/* ── Wiederkehrende Bausteine ───────────────────────────── */

/* Dachzeile mit rotem Strich */
.dachzeile {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--archivo); font-weight: 600; font-size: .95rem;
  letter-spacing: .05em; color: var(--rosso);
  margin: 0 0 1.5rem;
}
.dachzeile::before { content: ""; width: 36px; height: 1px; background: var(--rosso); flex: none; }
.dachzeile.mittig { justify-content: center; }
.dachzeile.mittig::after { content: ""; width: 36px; height: 1px; background: var(--rosso); flex: none; }

/* Metazeilen */
.meta {
  font-family: var(--archivo); font-weight: 500; font-size: .88rem;
  letter-spacing: .04em; color: var(--fumo); line-height: 1.6;
}
.buehne .meta { color: var(--crema-60); }

/* Abschnittsüberschriften */
.titelzeile {
  font-family: var(--fraunces); font-optical-sizing: auto; font-weight: 600;
  font-size: clamp(2.3rem, 4.6vw, 3.5rem); line-height: 1.06; letter-spacing: -.01em;
  margin-bottom: 1.75rem;
}
.titelzeile em { font-style: normal; color: var(--rosso); }

/* Abschnitte */
.abschnitt { padding-top: 140px; padding-bottom: 140px; }
.abschnitt.carta { background: var(--carta); }

/* Lesetext */
.lesetext { max-width: 640px; }
.lesetext a { color: var(--rosso); text-decoration: none; border-bottom: 1px solid currentColor; transition: opacity .2s; }
.lesetext a:hover { opacity: .7; }

/* Initiale */
.initiale::first-letter {
  font-family: var(--fraunces); font-weight: 600; color: var(--rosso);
  float: left; font-size: 4.1em; line-height: .82; padding: .05em .12em 0 0;
}

/* Schlusszeichen */
.endmark::after { content: "◼"; color: var(--rosso); font-size: .5em; margin-left: .5em; vertical-align: .2em; }

/* Betonte Textlinks */
.versallink {
  font-family: var(--archivo); font-weight: 600; font-size: .95rem;
  letter-spacing: .04em; color: var(--nero);
  text-decoration: none; padding-bottom: 4px;
  background: linear-gradient(var(--rosso), var(--rosso)) no-repeat 0 100% / 0 1px;
  transition: background-size .25s, color .25s;
  border: 0; cursor: pointer;
}
.versallink:hover { background-size: 100% 1px; color: var(--rosso); }
.buehne .versallink { color: var(--crema); }
.buehne .versallink:hover { color: var(--crema); }

/* Knöpfe: scharfkantig, entschieden */
.knopfzeile { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 2.75rem; }
.knopf {
  display: inline-block; font-family: var(--archivo); font-weight: 600; font-size: .95rem;
  letter-spacing: .04em; text-decoration: none;
  padding: 17px 34px; cursor: pointer; line-height: 1.2;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.knopf.rosso { background: var(--rosso); color: var(--crema); border: 1px solid var(--rosso); }
.knopf.rosso:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -12px rgba(185, 58, 37, .55); }
.knopf.geist { background: transparent; color: var(--crema); border: 1px solid var(--crema-25); }
.knopf.geist:hover { border-color: var(--crema); }
.knopf.geist.dunkel { color: var(--nero); border-color: var(--nero-15); }
.knopf.geist.dunkel:hover { border-color: var(--nero); }

/* ── Navigation ─────────────────────────────────────────── */
.navigation {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.navigation.gescrollt {
  background: rgba(17, 14, 11, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--crema-25);
}
.navigation-innen { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.wortmarke {
  font-family: var(--fraunces); font-weight: 600; font-size: 1.35rem;
  color: var(--crema); text-decoration: none;
}
.hauptmenue { display: flex; align-items: center; gap: 36px; }
.hauptmenue a {
  font-family: var(--archivo); font-weight: 500; font-size: .95rem;
  letter-spacing: .03em; color: var(--crema-60);
  text-decoration: none; transition: color .2s;
}
.hauptmenue a:hover { color: var(--crema); }
.burger {
  display: none; background: none; border: 1px solid var(--crema-25); color: var(--crema);
  font-family: var(--archivo); font-weight: 500; font-size: .9rem; letter-spacing: .03em;
  padding: 9px 16px; cursor: pointer;
}

/* ── Auftakt (Hero) ─────────────────────────────────────── */
.auftakt { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 140px; padding-bottom: 100px; overflow: hidden; }
.auftakt-spalten { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.auftakt-titel { font-weight: 700; line-height: .9; margin: 0 0 1.5rem; }
.auftakt-titel .wort {
  display: block; font-family: var(--fraunces); font-optical-sizing: auto;
  font-size: clamp(3.6rem, 9.5vw, 7.8rem); letter-spacing: .02em; color: var(--crema);
}
.auftakt-titel .jahr {
  display: block; font-family: var(--fraunces); font-optical-sizing: auto; font-style: normal;
  font-size: clamp(4.4rem, 12vw, 9.6rem); letter-spacing: 0; color: var(--rosso);
  margin-top: .04em;
}
.auftakt-sub {
  font-family: var(--newsreader); font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.6; color: var(--crema); opacity: .88; max-width: 34em; margin: 0;
}

/* Einblend-Choreografie beim Laden */
@keyframes aufsteigen { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes coverauftritt { from { opacity: 0; transform: rotate(8deg) translateY(36px); } to { opacity: 1; transform: rotate(4deg) translateY(0); } }
.auftakt .dachzeile { animation: aufsteigen .7s .1s cubic-bezier(.2,.7,.2,1) both; }
.auftakt-titel .wort { animation: aufsteigen .8s .25s cubic-bezier(.2,.7,.2,1) both; }
.auftakt-titel .jahr { animation: aufsteigen .8s .4s cubic-bezier(.2,.7,.2,1) both; }
.auftakt-sub { animation: aufsteigen .8s .55s cubic-bezier(.2,.7,.2,1) both; }
.auftakt .knopfzeile { animation: aufsteigen .8s .7s cubic-bezier(.2,.7,.2,1) both; }
.auftakt .buchobjekt { animation: coverauftritt 1s .5s cubic-bezier(.2,.7,.2,1) both; }

/* Das Buch als Objekt */
.buchobjekt { justify-self: center; width: min(340px, 100%); }
.einband {
  aspect-ratio: 2 / 3; background: var(--crema); color: var(--nero);
  transform: rotate(4deg); box-shadow: var(--schatten-tief);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
  display: flex; flex-direction: column; padding: 26px;
}
.einband:hover { transform: rotate(0deg) translateY(-10px); box-shadow: var(--schatten-tief-hover); }
.einband-innen { flex: 1; border: 1px solid var(--nero); display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; padding: 11% 9%; }
.einband .verfasser { font-family: var(--archivo); font-weight: 600; font-size: .95rem; letter-spacing: .06em; }
.einband .werktitel { font-family: var(--fraunces); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; letter-spacing: -.01em; }
.einband .werkjahr { display: block; font-style: normal; font-size: 1.35em; color: var(--rosso); margin-top: .1em; }
.einband .werkuntertitel { display: block; font-family: var(--newsreader); font-style: italic; font-weight: 400; font-size: .32em; line-height: 1.3; letter-spacing: 0; margin-top: .7em; color: var(--nero); }
.einband .gattung { font-family: var(--newsreader); font-size: 1.05rem; border-top: 1px solid var(--nero); padding-top: 14px; width: 60%; }
.buchobjekt figcaption { font-family: var(--newsreader); font-size: .92rem; color: var(--crema-60); text-align: center; margin-top: 2rem; }

/* ── Laufband ───────────────────────────────────────────── */
.laufband { background: var(--rosso); color: var(--crema); overflow: hidden; padding: 15px 0; }
.laufband-spur { display: flex; width: max-content; animation: laufen 42s linear infinite; }
.laufband:hover .laufband-spur { animation-play-state: paused; }
.laufband-satz {
  font-family: var(--archivo); font-weight: 600; font-size: .95rem;
  letter-spacing: .05em; white-space: nowrap; padding-right: .5em;
}
.laufband-satz b { font-weight: 600; opacity: .5; padding: 0 1.2em; }
@keyframes laufen { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Zum Buch ───────────────────────────────────────────── */
.buch-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 3.5rem; }

/* Großzitat */
.grosszitat { margin: 5.5rem 0 0; padding: 0; position: relative; }
.grosszitat p {
  font-family: var(--fraunces); font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.28; letter-spacing: -.01em;
  margin: 0 0 1.5rem; max-width: 24em;
}
.grosszitat p::before { content: "»"; color: var(--rosso); margin-right: .1em; }
.grosszitat p::after { content: "«"; color: var(--rosso); margin-left: .1em; }
.grosszitat cite { font-style: normal; }

/* ── Schauplätze ────────────────────────────────────────── */
.schauplatz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 72px; align-items: start; padding: 88px 0; }
.schauplatz + .schauplatz { border-top: 1px solid var(--nero-15); }
.schauplatz-titel { position: sticky; top: 120px; }
.schauplatz-titel h3 {
  font-family: var(--fraunces); font-weight: 600;
  font-size: clamp(2.5rem, 5.6vw, 4.2rem); line-height: .98; letter-spacing: -.02em; margin: 0 0 1.25rem;
}
.schauplatz-titel .nummer { display: block; font-family: var(--fraunces); font-style: normal; font-size: 1.15rem; color: var(--rosso); margin-bottom: 1rem; }
.schauplatz.gespiegelt { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.schauplatz.gespiegelt .schauplatz-titel { order: 2; text-align: right; }
.schauplatz.gespiegelt .schauplatz-text { order: 1; }

/* ── Zeitstrahl: Ein Sommer, zwei Städte ────────────────── */
.zeitstrahl-kopf { text-align: center; margin-bottom: 5rem; }
.zeitstrahl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px; border-top: 1px solid var(--crema-25); }
.zeitstrahl li { padding-top: 32px; position: relative; }
.zeitstrahl li::before { content: ""; position: absolute; top: -4.5px; left: 0; width: 9px; height: 9px; background: var(--rosso); border-radius: 50%; }
.zeitstrahl .datum { font-family: var(--fraunces); font-weight: 600; font-size: 1.55rem; line-height: 1.1; display: block; margin-bottom: .6rem; color: var(--crema); }
.zeitstrahl .ort { display: block; margin-bottom: .75rem; }
.zeitstrahl p { font-size: .98rem; line-height: 1.6; color: var(--crema); opacity: .82; margin: 0; }

/* ── Leseprobe: die Buchseite ───────────────────────────── */
.buchseite {
  background: var(--carta); border: 1px solid var(--nero);
  outline: 1px solid var(--nero); outline-offset: 5px;
  padding: 80px 88px; max-width: 780px; margin: 0 auto;
  box-shadow: var(--schatten-warm);
}
.buchseite-kopf { text-align: center; margin-bottom: 3.5rem; }
.buchseite-kopf .titelzeile { margin-bottom: .75rem; }
.buchseite p { max-width: none; }
.buchseite .knopfzeile { justify-content: center; margin-top: 3rem; }

/* ── Autor ──────────────────────────────────────────────── */
.autor-spalten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 80px; align-items: center; }
.portraet { aspect-ratio: 4 / 5; background: linear-gradient(168deg, #211c17 0%, #373026 52%, #55483a 100%); box-shadow: var(--schatten-warm); display: flex; align-items: flex-end; padding: 24px; }
.portraet span { font-family: var(--archivo); font-weight: 500; font-size: .85rem; letter-spacing: .04em; color: var(--crema-60); border-top: 1px solid var(--crema-25); padding-top: 10px; }
.portraet-unterschrift { font-family: var(--newsreader); font-size: .95rem; color: var(--fumo); margin-top: 1rem; }
.sozialzeile { display: flex; gap: 32px; margin-top: 2.5rem; }

/* ── Aktuelles (Startseite) ─────────────────────────────── */
.aktuelles-kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 4rem; }
.aktuelles-kopf .titelzeile { margin-bottom: 0; }
.kartenreihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.beitragskarte {
  position: relative; border: 1px solid var(--nero-15); padding: 40px 36px;
  display: flex; flex-direction: column; background: transparent;
  transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
}
.beitragskarte:hover { transform: translateY(-6px); background: var(--carta); border-color: var(--carta); box-shadow: var(--schatten-warm); }
.karten-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 1.5rem; }
.karten-meta .rubrik { color: var(--rosso); }
.beitragskarte h3 { font-family: var(--fraunces); font-weight: 600; font-size: 1.6rem; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 1rem; }
.beitragskarte h3 a { color: var(--nero); text-decoration: none; }
.beitragskarte h3 a::after { content: ""; position: absolute; inset: 0; }
.beitragskarte .auszug { font-size: 1.02rem; line-height: 1.65; margin-bottom: 1.75rem; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.beitragskarte .versallink { position: relative; z-index: 1; margin-top: auto; align-self: flex-start; }

/* ── Aktuelles (Übersichtsseite) ────────────────────────── */
.uebersicht-kopf { padding-top: 200px; padding-bottom: 88px; }
.uebersicht-kopf h1 {
  font-family: var(--fraunces); font-weight: 600; font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.02; letter-spacing: -.015em; color: var(--crema); margin: 0 0 1.5rem;
}
.uebersicht-kopf h1 em { font-style: normal; color: var(--rosso); }
.uebersicht-kopf .lesetext { color: var(--crema); opacity: .85; }
.beitragsliste { padding-top: 72px; padding-bottom: 120px; }
.listeneintrag {
  position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr) auto;
  gap: 48px; align-items: baseline; padding: 52px 0;
  border-bottom: 1px solid var(--nero-15);
  transition: background .25s;
}
.listeneintrag:first-child { border-top: 1px solid var(--nero-15); }
.listeneintrag .spalte-meta .rubrik { display: block; color: var(--rosso); margin-bottom: .35rem; }
.listeneintrag h2 { font-family: var(--fraunces); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.12; letter-spacing: -.01em; margin-bottom: .9rem; }
.listeneintrag h2 a { color: var(--nero); text-decoration: none; transition: color .25s; }
.listeneintrag h2 a::after { content: ""; position: absolute; inset: 0; }
.listeneintrag:hover h2 a { color: var(--rosso); }
.listeneintrag .auszug { max-width: 44em; margin: 0; }
.listeneintrag .versallink { position: relative; z-index: 1; }
.seitenblaettern { display: flex; justify-content: center; gap: 40px; margin-top: 72px; }

/* ── Kontakt (dunkle Bühne) ─────────────────────────────── */
.kontakt-innen { display: flex; flex-direction: column; align-items: center; text-align: center; }
.kontakt-innen .titelzeile { color: var(--crema); }
.kontakt-innen .lesetext { color: var(--crema); opacity: .85; margin: 0 auto 3rem; }
.kontakt-mail {
  font-family: var(--fraunces); font-weight: 600; font-size: clamp(1.5rem, 3.6vw, 2.6rem);
  color: var(--crema); text-decoration: none; line-height: 1.2;
  border-bottom: 2px solid var(--rosso); padding-bottom: 8px;
  transition: color .2s; overflow-wrap: anywhere;
}
.kontakt-mail:hover { color: var(--rosso); }
.kontakt-hinweis { margin-top: 1.25rem; }
.kontakt-innen .sozialzeile { justify-content: center; margin-top: 3.5rem; }

/* ── Fußzeile ───────────────────────────────────────────── */
.fusszeile { background: var(--nero-tief); color: var(--crema); padding-top: 96px; }
.fussbereich { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 64px; padding-bottom: 80px; }
.abspann {
  font-family: var(--fraunces); font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1; letter-spacing: -.01em; margin: 0 0 1.5rem;
}
.abspann .jahr { color: var(--rosso); }
.fusstext { font-family: var(--newsreader); font-size: 1rem; line-height: 1.65; color: rgba(245, 239, 226, .72); max-width: 26em; margin: 0 0 .75rem; }
.fussrubrik { font-family: var(--archivo); font-weight: 600; font-size: .85rem; letter-spacing: .05em; color: var(--crema-60); margin: .35rem 0 1.5rem; }
.fussspalte { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.fusslink {
  font-family: var(--newsreader); font-size: 1.08rem; color: rgba(245, 239, 226, .92);
  text-decoration: none; border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.fusslink:hover { color: var(--crema); border-bottom-color: var(--rosso); }
.fussleiste {
  display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap;
  border-top: 1px solid var(--crema-25); padding-top: 28px; padding-bottom: 36px;
  font-family: var(--archivo); font-weight: 500; font-size: .85rem; letter-spacing: .03em; color: var(--crema-60);
}
/* „Made by Warp Solutions“: Logo mit Link zur Agentur */
.made-by { display: inline-flex; align-items: center; gap: 10px; color: var(--crema-60); text-decoration: none; transition: color .2s ease; }
.made-by img { display: block; width: auto; height: 40px; opacity: .8; transition: opacity .2s ease; }
.made-by:hover, .made-by:focus-visible { color: var(--crema); }
.made-by:hover img, .made-by:focus-visible img { opacity: 1; }

/* ── Artikelseite (Beiträge) ────────────────────────────── */
.artikel-kopf { padding-top: 200px; padding-bottom: 96px; }
.artikel-kopf h1 {
  font-family: var(--fraunces); font-weight: 600; font-size: clamp(2.5rem, 5.6vw, 4.2rem);
  line-height: 1.04; letter-spacing: -.015em; color: var(--crema); max-width: 16em; margin: 0 0 2rem;
}
.artikel-kopf .meta { display: block; }
.artikel-koerper { padding-top: 96px; padding-bottom: 120px; }
.artikel-koerper .lesetext { max-width: 680px; margin: 0 auto; font-size: 1.2rem; }
.artikel-fuss { max-width: 680px; margin: 4rem auto 0; border-top: 1px solid var(--nero-15); padding-top: 2rem; display: flex; flex-wrap: wrap; gap: 20px 36px; }

/* ── Scroll-Reveal ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.sichtbar { opacity: 1; transform: none; }
.reveal .beitragskarte:nth-child(2), .reveal .zeitstrahl li:nth-child(2) { transition-delay: .1s; }
.reveal .beitragskarte:nth-child(3), .reveal .zeitstrahl li:nth-child(3) { transition-delay: .2s; }
.reveal .zeitstrahl li:nth-child(4) { transition-delay: .3s; }
.reveal .zeitstrahl li:nth-child(5) { transition-delay: .4s; }
.reveal .beitragskarte, .reveal .zeitstrahl li { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.sichtbar .beitragskarte, .reveal.sichtbar .zeitstrahl li { opacity: 1; transform: none; }

/* ── Mobil ──────────────────────────────────────────────── */
@media (max-width: 880px) {
  html { scroll-padding-top: 76px; }
  .zeile { padding-left: 22px; padding-right: 22px; }
  .abschnitt { padding-top: 88px; padding-bottom: 88px; }
  .navigation { background: rgba(17, 14, 11, .92); border-bottom: 1px solid var(--crema-25); }
  .navigation-innen { height: 64px; }
  .burger { display: block; }
  .hauptmenue {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(17, 14, 11, .97); flex-direction: column; align-items: flex-start;
    gap: 0; padding: 12px 22px 24px; border-bottom: 1px solid var(--crema-25);
  }
  .hauptmenue.offen { display: flex; }
  .hauptmenue a { padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(245, 239, 226, .12); }
  .auftakt { min-height: 0; padding-top: 130px; padding-bottom: 72px; }
  .auftakt-spalten { grid-template-columns: 1fr; gap: 64px; }
  .buchobjekt { order: 2; width: min(260px, 80%); }
  .knopfzeile { flex-direction: column; align-items: stretch; }
  .knopf { text-align: center; }
  .buch-spalten { grid-template-columns: 1fr; gap: 0; }
  .schauplatz, .schauplatz.gespiegelt { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .schauplatz-titel { position: static; }
  .schauplatz.gespiegelt .schauplatz-titel { order: 1; text-align: left; }
  .schauplatz.gespiegelt .schauplatz-text { order: 2; }
  .zeitstrahl { grid-template-columns: 1fr; gap: 0; border-top: 0; border-left: 1px solid var(--crema-25); }
  .zeitstrahl li { padding: 0 0 40px 32px; }
  .zeitstrahl li::before { top: 6px; left: -4.5px; }
  .buchseite { padding: 48px 28px; outline-offset: 4px; }
  .autor-spalten { grid-template-columns: 1fr; gap: 48px; }
  .aktuelles-kopf { flex-direction: column; align-items: flex-start; gap: 16px; }
  .kartenreihe { grid-template-columns: 1fr; }
  .fussbereich { grid-template-columns: 1fr; gap: 48px; padding-bottom: 56px; }
  .fussleiste { flex-direction: column; align-items: flex-start; }
  .uebersicht-kopf, .artikel-kopf { padding-top: 140px; padding-bottom: 64px; }
  .beitragsliste { padding-top: 48px; padding-bottom: 80px; }
  .listeneintrag { grid-template-columns: 1fr; gap: 12px; padding: 36px 0; }
  .artikel-koerper { padding-top: 64px; padding-bottom: 80px; }
}

/* ── Ruhe für alle, die es wünschen ─────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .auftakt .dachzeile, .auftakt-titel .wort, .auftakt-titel .jahr,
  .auftakt-sub, .auftakt-untertitel, .auftakt-zusatz, .auftakt .knopfzeile, .auftakt .buchobjekt { animation: none; }
  .laufband-spur { animation: none; }
  .reveal, .reveal .beitragskarte, .reveal .zeitstrahl li { opacity: 1; transform: none; transition: none; }
  .einband { transform: none; }
  .einband:hover, .beitragskarte:hover, .knopf.rosso:hover { transform: none; }
}

/* ── Passwortschutz (Vorschau): eigene Seite vom Server, inc/vorschau.php ── */
.schutz {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 32px; background: var(--nero); color: var(--crema);
  transition: opacity .45s ease;
}
.schutz::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='240'%20height='240'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.85'%20numOctaves='2'/%3E%3C/filter%3E%3Crect%20width='240'%20height='240'%20filter='url(%23n)'%20opacity='0.6'/%3E%3C/svg%3E");
}
.schutz.offen { opacity: 0; pointer-events: none; }
.schutz-karte { position: relative; width: 100%; max-width: 440px; margin: 0; }
.schutz-dachzeile {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--archivo); font-weight: 600; font-size: .95rem; color: var(--crema-60);
  margin-bottom: 1.25rem;
}
.schutz-dachzeile::before { content: ""; width: 36px; height: 2px; background: var(--rosso); }
.schutz-titel { font-family: var(--fraunces); font-weight: 700; font-size: 3rem; line-height: .95; margin: 0 0 1.25rem; }
.schutz-jahr { color: var(--rosso); font-style: italic; font-weight: 400; }
.schutz-text { color: var(--crema-60); margin-bottom: 2rem; }
.schutz-label { display: block; font-family: var(--archivo); font-weight: 500; font-size: .85rem; color: var(--crema-60); margin-bottom: .5rem; }
.schutz-zeile { display: flex; gap: 10px; }
.schutz-eingabe {
  flex: 1; min-width: 0; padding: 14px 16px;
  font: inherit; font-size: 1.05rem; color: var(--crema);
  background: rgba(245, 239, 226, .06); border: 1px solid var(--crema-25); border-radius: 4px;
}
.schutz-eingabe:focus { outline: none; border-color: var(--crema); }
.schutz-knopf {
  padding: 14px 24px; cursor: pointer;
  font-family: var(--archivo); font-weight: 600; font-size: .95rem;
  color: var(--crema); background: var(--rosso); border: 1px solid var(--rosso); border-radius: 4px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.schutz-knopf:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(185, 58, 37, .55); }
.schutz-fehler { color: #E8927F; font-family: var(--archivo); font-size: .9rem; margin: 1rem 0 0; }
.schutz.wackeln .schutz-karte { animation: schutz-wackeln .4s ease; }
@keyframes schutz-wackeln {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}
@media (max-width: 520px) {
  .schutz-zeile { flex-direction: column; }
  .schutz-titel { font-size: 2.4rem; }
}

/* ── Blog: Rubrikleiste ─────────────────────────────────── */
.rubrikleiste { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 2.5rem; }
.rubrikleiste .versallink.aktiv { color: var(--rosso); }

/* ── Verweis unter dem Klappentext ─────────────────────── */
.lesetext-verweis { margin-top: 1.5rem; }

/* ── Recherche: Literaturverzeichnis ───────────────────── */
.literatur, .pressemappe, .bestellen { padding-top: 72px; padding-bottom: 120px; }
.literatur-gruppe { padding: 56px 0; border-top: 1px solid var(--nero-15); }
.literatur-gruppe:last-of-type { border-bottom: 1px solid var(--nero-15); }
.literatur-rubrik {
  font-family: var(--fraunces); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.15; letter-spacing: -.01em; margin: 0 0 2rem;
}
.literatur-rubrik .nummer { font-style: italic; font-weight: 400; color: var(--rosso); margin-right: .6em; }
.literatur-liste { list-style: none; margin: 0; padding: 0; }
.literatur-eintrag {
  display: grid; grid-template-columns: 220px minmax(0, 1fr) 260px; gap: 32px;
  padding: 18px 0; border-top: 1px dotted var(--nero-15); align-items: baseline;
}
.literatur-eintrag:first-child { border-top: 0; }
.literatur-autor { font-family: var(--archivo); font-weight: 600; font-size: .95rem; letter-spacing: .02em; }
.literatur-titel { font-family: var(--newsreader); font-size: 1.15rem; font-style: italic; }
.quellenzeile { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--nero-15); }

/* ── Presse ─────────────────────────────────────────────── */
.presse-raster { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin: 2.5rem 0 5rem; }
.pressekarte {
  background: var(--carta); padding: 36px 32px; border-radius: 4px;
  display: flex; flex-direction: column; box-shadow: var(--schatten-warm);
}
.pressekarte .rubrik { color: var(--rosso); margin-bottom: 1rem; }
.pressekarte h2 { font-family: var(--fraunces); font-weight: 600; font-size: 1.5rem; line-height: 1.15; margin: 0 0 .9rem; }
.pressekarte p { font-size: 1.02rem; line-height: 1.65; margin-bottom: 1.5rem; }
.pressekarte .versallink { margin-top: auto; align-self: flex-start; }
.presse-daten, .presse-kontakt { padding: 48px 0; border-top: 1px solid var(--nero-15); }
.datenliste { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.datenliste div { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 12px 0; border-bottom: 1px dotted var(--nero-15); }
.datenliste dt { font-family: var(--archivo); font-weight: 600; font-size: .85rem; letter-spacing: .05em; color: var(--fumo); }
.datenliste dd { margin: 0; font-family: var(--newsreader); font-size: 1.1rem; }
.presse-kontakt .lesetext a { color: var(--rosso); text-decoration: none; border-bottom: 1px solid currentColor; }


@media (max-width: 880px) {
  .literatur, .pressemappe, .bestellen { padding-top: 48px; padding-bottom: 80px; }
  .literatur-gruppe { padding: 40px 0; }
  .literatur-eintrag { grid-template-columns: 1fr; gap: 4px; }
  .presse-raster { grid-template-columns: 1fr; }
  .datenliste { grid-template-columns: 1fr; }
  .rubrikleiste { gap: 18px; }
}
.literatur .artikel-fuss, .pressemappe .artikel-fuss, .bestellen .artikel-fuss { max-width: none; margin-left: 0; margin-right: 0; }

/* ── Bücher: Regal ──────────────────────────────────────── */
.buchregal { padding-top: 72px; padding-bottom: 120px; }
.regalbuch {
  display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: center;
  padding: 72px 0; border-top: 1px solid var(--nero-15);
}
.regalbuch:first-child { border-top: 0; padding-top: 24px; }
.regal-cover { display: block; width: 100%; text-decoration: none; }
.einband.ruhig { transform: rotate(-2deg); box-shadow: var(--schatten-warm); padding: 20px; }
.regal-cover:hover .einband.ruhig { transform: rotate(0deg) translateY(-8px); box-shadow: var(--schatten-tief); }
.einband.ruhig .werktitel { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.einband.leer { background: var(--carta); box-shadow: none; border: 1px dashed var(--nero-15); }
.einband.leer .einband-innen { border-color: var(--nero-15); color: var(--fumo); }
.einband.leer .werkjahr { color: var(--fumo); font-size: 1em; }
.einband.leer .gattung { border-top-color: var(--nero-15); }
.regal-text .karten-meta { margin-bottom: 1.25rem; }
.regal-text h2 { font-family: var(--fraunces); font-weight: 600; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.05; letter-spacing: -.01em; margin-bottom: 1.25rem; }
.regal-text h2 a { color: var(--nero); text-decoration: none; transition: color .25s; }
.regal-text h2 a:hover { color: var(--rosso); }
.regal-text .lesetext { max-width: 44em; }
.regal-links { display: flex; flex-wrap: wrap; gap: 20px 36px; margin-top: 2rem; }
.regalbuch.in-arbeit .regal-text h2 { color: var(--fumo); }

@media (max-width: 880px) {
  .buchregal { padding-top: 48px; padding-bottom: 80px; }
  .regalbuch { grid-template-columns: 1fr; gap: 36px; padding: 48px 0; }
  .regal-cover { width: min(220px, 70%); }
}

/* ── Auftakt: Untertitel und Zusatzzeile ───────────────── */
.auftakt-untertitel {
  font-family: var(--fraunces); font-weight: 500; font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.25; color: var(--crema);
  margin: 0 0 .5rem; letter-spacing: -.005em;
  animation: aufsteigen .8s .45s cubic-bezier(.2,.7,.2,1) both;
}
.auftakt-zusatz {
  font-family: var(--archivo); font-weight: 500; font-size: .95rem; letter-spacing: .05em;
  color: var(--crema-60); margin: 0 0 2rem;
  animation: aufsteigen .8s .5s cubic-bezier(.2,.7,.2,1) both;
}

/* Ohne Zusatzzeile folgt die Einleitung direkt auf den Untertitel. */
.auftakt-untertitel + .auftakt-sub { margin-top: 2rem; }

/* ── Zum Buch: Ortszeilen ──────────────────────────────── */
.ortszeile { font-family: var(--archivo); font-weight: 600; font-size: .95rem; letter-spacing: .05em; color: var(--rosso); margin: 0 0 1rem; }

/* ── Für wen dieses Buch ist ───────────────────────────── */
.fuer-wen { padding-top: 0; }
.fuer-wen-innen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; align-items: start; border-top: 1px solid var(--nero-15); padding-top: 88px; }
.fuer-wen-titel { font-family: var(--fraunces); font-weight: 600; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.12; letter-spacing: -.01em; }
.fuer-wen-titel em { font-style: normal; color: var(--rosso); }
.fuer-wen-liste { list-style: none; margin: 0; padding: 0; }
.fuer-wen-liste li { position: relative; padding: 18px 0 18px 44px; border-bottom: 1px solid var(--nero-15); font-size: 1.12rem; line-height: 1.55; }
.fuer-wen-liste li:first-child { border-top: 1px solid var(--nero-15); }
.fuer-wen-liste li::before { content: "»"; position: absolute; left: 8px; top: 12px; font-family: var(--fraunces); font-size: 1.6rem; color: var(--rosso); line-height: 1.4; }

/* ── Leseprobe: Abschluss ──────────────────────────────── */
.leseprobe-abschluss { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--nero-15); font-style: italic; color: var(--fumo); }

/* ── Buch plus Zeitreise ───────────────────────────────── */
.zeitreise-kopf { margin-bottom: 3rem; }
.zeitreise-spalten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.zeitreise .lesetext { color: var(--crema); opacity: .88; }
.tueren { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--crema-25); }
.tueren li { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--crema-25); }
.tuer-nummer { font-family: var(--fraunces); font-style: italic; color: var(--rosso); font-size: 1.15rem; }
.tuer-titel { font-family: var(--fraunces); font-weight: 500; font-size: 1.3rem; color: var(--crema); }
.zeitreise-hinweis { display: block; margin-top: 2.5rem; }

/* ── Autor: Zitat ──────────────────────────────────────── */
.autor-zitat { margin: 2.5rem 0 0; padding: 0 0 0 24px; border-left: 2px solid var(--rosso); }
.autor-zitat p { font-family: var(--fraunces); font-style: italic; font-size: 1.35rem; line-height: 1.4; margin: 0 0 .6rem; }
.autor-zitat p::before { content: "\201E"; }
.autor-zitat p::after { content: "\201C"; }
.autor-zitat cite { font-style: normal; }

/* ── Nachrichtenliste ──────────────────────────────────── */
.newsletter { background: var(--rosso); color: var(--crema); }
.newsletter-innen { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.newsletter .dachzeile { color: var(--crema); }
.newsletter .dachzeile::before { background: var(--crema); }
.newsletter .titelzeile { color: var(--crema); }
.newsletter .titelzeile em { color: var(--nero-tief); }
.newsletter .lesetext { color: var(--crema); opacity: .92; }
.newsletterformular label { display: block; font-family: var(--archivo); font-weight: 600; font-size: .9rem; letter-spacing: .05em; margin-bottom: .75rem; }
.newsletter-zeile { display: flex; }
.newsletter-zeile input { flex: 1; min-width: 0; font-family: var(--newsreader); font-size: 1.1rem; padding: 16px 18px; background: var(--crema); color: var(--nero); border: 1px solid var(--crema); border-right: 0; border-radius: 0; }
.newsletter-zeile input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--nero); }
.newsletter-zeile .knopf { background: var(--nero); color: var(--crema); border: 1px solid var(--nero); }
.newsletter-zeile .knopf:hover { background: var(--nero-tief); }
.newsletter-klein { font-family: var(--archivo); font-weight: 500; font-size: .85rem; letter-spacing: .02em; line-height: 1.6; color: var(--crema); opacity: .8; margin: 1rem 0 0; }
.newsletter-klein a { color: var(--crema); border-bottom: 1px solid currentColor; text-decoration: none; }
.newsletter-dank h3 { font-family: var(--fraunces); font-weight: 600; font-size: 1.8rem; margin-bottom: .75rem; }
.newsletter-dank p { margin: 0; }
.newsletter-dank[hidden] { display: none; }

/* ── Kontakt: Presseblock ──────────────────────────────── */
.presseblock { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--crema-25); max-width: 560px; }
.presseblock h3 { font-family: var(--fraunces); font-weight: 600; font-size: 1.5rem; margin-bottom: .75rem; }
.presseblock p { color: var(--crema); opacity: .85; margin-bottom: 1rem; }
.presseblock .presse-adresse { font-family: var(--archivo); font-weight: 500; font-size: .95rem; letter-spacing: .02em; line-height: 1.8; opacity: 1; }
.presseblock a:not(.versallink) { color: var(--crema); text-decoration: none; border-bottom: 1px solid var(--crema-25); }
.presseblock a:not(.versallink):hover { border-bottom-color: var(--rosso); }

/* ── Beitrag: Vorspann und Hinweis ─────────────────────── */
.vorspann { font-family: var(--newsreader); font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.55; color: var(--crema); opacity: .85; max-width: 36em; margin: 1.75rem 0 0; }
.beitrag-hinweis { display: block; margin-bottom: 2rem; padding: 14px 18px; border: 1px dashed var(--nero-15); }

/* ── Das Buch bestellen ────────────────────────────────── */
.bestellen .lesetext { max-width: 640px; }
.bestellwege { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.bestell-daten { margin: 0 0 1.5rem; font-family: var(--archivo); font-weight: 500; font-size: .95rem; letter-spacing: .02em; line-height: 1.7; color: var(--fumo); }

/* ── Presse: Kontaktblock ──────────────────────────────── */
.presse-kontakt .presse-adresse { font-family: var(--archivo); font-weight: 500; font-size: .95rem; letter-spacing: .02em; line-height: 1.8; margin-top: 1rem; }
.presse-kontakt .presse-adresse a { color: var(--rosso); text-decoration: none; border-bottom: 1px solid currentColor; }
.presse-daten .presse-raster { margin-top: 1.5rem; margin-bottom: 0; }

@media (max-width: 880px) {
  .fuer-wen-innen { grid-template-columns: 1fr; gap: 28px; padding-top: 56px; }
  .zeitreise-spalten { grid-template-columns: 1fr; gap: 40px; }
  .newsletter-innen { grid-template-columns: 1fr; gap: 40px; }
  .newsletter-zeile { flex-direction: column; }
  .newsletter-zeile input { border-right: 1px solid var(--crema); }
  .newsletter-zeile .knopf { text-align: center; }
  .tueren li { grid-template-columns: 40px 1fr; }
  .tueren li .meta { grid-column: 2; }
  .bestellwege { flex-direction: column; }
  .bestellwege .knopf { text-align: center; }
}

/* ── Bücher: Untertitel ────────────────────────────────── */
.regal-untertitel { font-family: var(--fraunces); font-style: italic; font-weight: 500; font-size: 1.25rem; color: var(--fumo); margin: -.75rem 0 1.25rem; }


/* ── WordPress-Ergänzungen ──────────────────────────────── */
.admin-bar .navigation { top: 32px; }
@media (max-width: 782px) { .admin-bar .navigation { top: 46px; } }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.artikel-koerper .lesetext .wp-block-heading { font-family: var(--fraunces); font-weight: 600; line-height: 1.2; }
.artikel-koerper .lesetext img { height: auto; }
.seitenblaettern .versallink { margin: 0; }
