/* ════════════════════════════════════════════════════════════
   GUSTAVO 1960 — Aufbau aus WordPress-Blöcken
   Ergänzt style.css: Die Seiten bestehen aus Gruppen-, Absatz-, Bild-,
   Knopf- und Zitat-Blöcken. Diese Regeln bilden die Struktur der
   statischen Vorlage darauf ab.
   ════════════════════════════════════════════════════════════ */

/* Laufband aus einem Absatz (laufband.js baut daraus die laufende Zeile) */
p.laufband { margin: 0; text-align: center; font-family: var(--archivo); font-weight: 600; font-size: .95rem; letter-spacing: .05em; }

/* Auftakt: Titel als Überschrift, das Jahr als Hervorhebung (kursiv markiert) */
.auftakt-titel { 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); animation: aufsteigen .8s .25s cubic-bezier(.2,.7,.2,1) both; }
.auftakt-titel em { display: block; font-style: normal; font-size: clamp(4.4rem, 12vw, 9.6rem); letter-spacing: 0; color: var(--rosso); margin-top: .04em; animation: aufsteigen .8s .4s cubic-bezier(.2,.7,.2,1) both; }
.auftakt-spalten > .wp-block-image.buchobjekt { justify-self: center; width: min(340px, 100%); margin: 0; }
/* Cover im echten Romanformat 13,5 × 21,5 cm, damit Autorname und Verlagslogo nicht angeschnitten werden. */
.buchobjekt img { display: block; width: 100%; aspect-ratio: 135 / 215; object-fit: cover; transform: rotate(4deg); box-shadow: var(--schatten-tief); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.buchobjekt img:hover { transform: rotate(0deg) translateY(-10px); box-shadow: var(--schatten-tief-hover); }
.buchobjekt figcaption.wp-element-caption { font-family: var(--newsreader); font-size: .92rem; color: var(--crema-60); text-align: center; margin: 2rem 0 0; }

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

/* Links in Absätzen, die wie Versallinks aussehen */
.regal-links a, .artikel-fuss a, .lesetext-verweis a { font-family: var(--archivo); font-weight: 600; font-size: .95rem; letter-spacing: .04em; color: var(--nero); text-decoration: none; padding-bottom: 4px; border-bottom: 0; background: linear-gradient(var(--rosso), var(--rosso)) no-repeat 0 100% / 0 1px; transition: background-size .25s, color .25s; }
.regal-links a:hover, .artikel-fuss a:hover, .lesetext-verweis a:hover { background-size: 100% 1px; color: var(--rosso); opacity: 1; }
.buehne .lesetext-verweis a { color: var(--crema); border-bottom: 0; }
p.regal-links, p.artikel-fuss { margin-bottom: 0; }

/* Schlussmarken am Ende der Absätze */
.buch-spalten > .lesetext:last-child > p:nth-last-of-type(2)::after, .schauplatz-text > p:last-of-type::after, .autor-spalten .lesetext > p:last-of-type::after { content: "◼"; color: var(--rosso); font-size: .5em; margin-left: .5em; vertical-align: .2em; }

/* Zitate */
.wp-block-quote.grosszitat { border: 0; padding: 0; font-style: normal; }
.wp-block-quote.autor-zitat { font-style: normal; }
.grosszitat cite, .autor-zitat cite { display: block; font-family: var(--archivo); font-weight: 500; font-size: .88rem; letter-spacing: .04em; color: var(--fumo); line-height: 1.6; font-style: normal; }

/* Schauplätze */
.schauplatz-titel p.nummer { margin: 0 0 1rem; }
.schauplatz-titel p.meta { margin: 0; }

/* Zeitstrahl: ein Gruppen-Block je Tag, beliebig erweiterbar */
/* Mehrere Reihen: jede Reihe hat ihre eigene Linie, deshalb liegt sie an den Einträgen statt am Raster. */
.zeitstrahl { grid-template-columns: repeat(4, 1fr); column-gap: 0; row-gap: 64px; border-top: 0; }
.zeitstrahl > .zeitstrahl-eintrag { padding: 32px 40px 0 0; position: relative; border-top: 1px solid var(--crema-25); }
.zeitstrahl > .zeitstrahl-eintrag::before { content: ""; position: absolute; top: -4.5px; left: 0; width: 9px; height: 9px; background: var(--rosso); border-radius: 50%; }
.zeitstrahl p.datum { opacity: 1; margin: 0 0 .6rem; }
.zeitstrahl p.ort { opacity: 1; margin: 0 0 .75rem; }
.reveal .zeitstrahl > * { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal .zeitstrahl > *:nth-child(2) { transition-delay: .1s; }
.reveal .zeitstrahl > *:nth-child(3) { transition-delay: .2s; }
.reveal .zeitstrahl > *:nth-child(4) { transition-delay: .3s; }
.reveal .zeitstrahl > *:nth-child(5) { transition-delay: .4s; }
.reveal .zeitstrahl > *:nth-child(n+6) { transition-delay: .5s; }
.reveal.sichtbar .zeitstrahl > * { opacity: 1; transform: none; }

/* Leseprobe */
.buchseite-kopf p.meta { margin: 0; }

/* Zeitreise: Türen als Gruppen */
.tueren > .tuer { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--crema-25); }
.tuer p { margin: 0; }

/* Autor: Foto als Bild-Block */
.wp-block-image.portraet { aspect-ratio: auto; background: none; box-shadow: none; display: block; padding: 0; margin: 0; }
.portraet img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--schatten-warm); filter: grayscale(1); }
.portraet figcaption.wp-element-caption { font-family: var(--newsreader); font-size: .95rem; color: var(--fumo); margin: 1rem 0 0; text-align: left; }

/* Kontakt */
p.kontakt-mail { margin: 0; }
.kontakt-mail a { 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 a:hover { color: var(--rosso); }
.karten-meta p { margin: 0; }

/* Bücherregal */
.wp-block-image.regal-cover { margin: 0; }
.regal-cover img { display: block; width: 100%; aspect-ratio: 135 / 215; object-fit: cover; transform: rotate(-2deg); box-shadow: var(--schatten-warm); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.regal-cover:hover img { transform: rotate(0deg) translateY(-8px); box-shadow: var(--schatten-tief); }
.in-arbeit .regal-cover img { box-shadow: none; border: 1px dashed var(--nero-15); }

/* Literaturverzeichnis */
.literatur-rubrik em { font-style: italic; font-weight: 400; color: var(--rosso); margin-right: .6em; }
.literatur-eintrag > p { margin: 0; }

/* Presse */
.presse-kontakt.erste { border-top: 0; padding-top: 0; }
.pressekarte h3 { font-family: var(--fraunces); font-weight: 600; font-size: 1.5rem; line-height: 1.15; margin: 0 0 .9rem; }
.pressekarte p.rubrik { margin: 0 0 1rem; }
.pressekarte .lesetext-verweis { margin-top: auto; margin-bottom: 0; }
.datenliste p { margin: 0; }
.datenliste .wert a { color: var(--rosso); text-decoration: none; border-bottom: 1px solid currentColor; }
.datenliste .begriff { font-family: var(--archivo); font-weight: 600; font-size: .85rem; letter-spacing: .05em; color: var(--fumo); }
.datenliste .wert { font-family: var(--newsreader); font-size: 1.1rem; }

/* Beiträge: der erste Absatz bekommt die Initiale automatisch, ohne CSS-Klasse */
.single-post .artikel-koerper .lesetext > p:first-of-type::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; }
.single-post .artikel-koerper .lesetext > p.meta:first-of-type::first-letter, .single-post .artikel-koerper .lesetext > p.quellenzeile:first-of-type::first-letter { float: none; font-size: inherit; color: inherit; padding: 0; font-family: inherit; font-weight: inherit; }
.single-post .artikel-koerper .lesetext .wp-block-buttons { margin-top: 2.5rem; }

/* Ausgeblendete Blöcke, z. B. die Bestellwege vor dem Vorbestellstart */
.ausgeblendet { display: none; }

/* Normale Blöcke direkt auf der Startseite bekommen die Breite der Abschnitte */
.home > :where(p, h2, h3, h4, ul, ol, blockquote, figure, table, .wp-block-image, .wp-block-columns, .wp-block-buttons, .wp-block-quote, .wp-block-separator, .wp-block-embed) { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 32px; padding-right: 32px; }
.home > h2, .home > h3 { font-family: var(--fraunces); font-weight: 600; margin-top: 2.5rem; margin-bottom: 1rem; }

/* ── Veröffentlichungen: bisherige Bücher und Beiträge mit Shop-Links ── */
.werke { padding-top: 72px; padding-bottom: 120px; }
.werke-rubrik { font-family: var(--fraunces); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -.01em; margin: 4.5rem 0 0; padding-top: 3rem; border-top: 1px solid var(--nero-15); }
.werke-rubrik em { font-style: italic; font-weight: 400; color: var(--rosso); margin-right: .35em; }
.werke-rubrik:first-of-type { margin-top: 1.5rem; padding-top: 0; border-top: 0; }
.werk { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 48px; align-items: start; padding: 48px 0; }
.werk + .werk { border-top: 1px dotted var(--nero-15); }
.werk p { margin: 0; }
.werk-jahr { font-family: var(--fraunces); font-weight: 600; font-size: 1.7rem; line-height: 1.1; color: var(--rosso); }
.werk-daten .meta { margin-top: .4rem; }
.werk-text h3 { font-family: var(--fraunces); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5rem; }
.werk-text h3 a { color: var(--nero); text-decoration: none; transition: color .25s; }
.werk-text h3 a:hover { color: var(--rosso); }
.werk-text .werk-verlag { font-family: var(--archivo); font-weight: 500; font-size: .95rem; letter-spacing: .02em; color: var(--fumo); margin-bottom: 1rem; }
.werk-text .lesetext { max-width: 44em; }
.shoplinks { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 1.75rem; }
.shoplinks p { margin: 0; }
.shoplink a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--archivo); font-weight: 600; font-size: .9rem; letter-spacing: .03em; color: var(--nero); text-decoration: none; border: 1px solid var(--nero-15); padding: 11px 18px; background: none; transition: border-color .2s, color .2s, transform .2s; }
.shoplink a:hover { border-color: var(--rosso); color: var(--rosso); transform: translateY(-2px); opacity: 1; }
.shoplink a::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.shoplink.laden { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l2-5h14l2 5M3 9h18M4 9v11h16V9M9 20v-6h6v6'/%3E%3C/svg%3E"); }
.shoplink.buch { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h7a3 3 0 0 1 3 3v13a2.5 2.5 0 0 0-2.5-2.5H2zM22 4h-7a3 3 0 0 0-3 3v13a2.5 2.5 0 0 1 2.5-2.5H22z'/%3E%3C/svg%3E"); }
.shoplink.tasche { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4zM3 6h18M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E"); }
.shoplink.wagen { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/%3E%3C/svg%3E"); }
.werke .artikel-fuss { max-width: none; margin-left: 0; margin-right: 0; }
@media (min-width: 881px) and (max-width: 1180px) {
  .zeitstrahl { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 880px) {
  .zeitstrahl { grid-template-columns: 1fr; row-gap: 0; border-left: 1px solid var(--crema-25); }
  .zeitstrahl > .zeitstrahl-eintrag { border-top: 0; padding: 0 0 40px 32px; }
  .zeitstrahl > .zeitstrahl-eintrag::before { top: 6px; left: -4.5px; }
}
@media (max-width: 760px) {
  .werk { grid-template-columns: 1fr; gap: 14px; padding: 36px 0; }
  .shoplinks { flex-direction: column; align-items: stretch; }
  .shoplink a { width: 100%; }
}

/* ── Mobile Navigation: Burger-Icon, das sich beim Öffnen in ein Kreuz verwandelt ── */
.burger { display: none; width: 46px; height: 46px; padding: 0; font-size: 0; align-items: center; justify-content: center; border: 1px solid var(--crema-25); background: none; cursor: pointer; transition: border-color .2s; }
.burger:hover, .burger[aria-expanded="true"] { border-color: var(--crema); }
.burger-linien { position: relative; display: block; width: 22px; height: 16px; }
.burger-linien span { position: absolute; left: 0; right: 0; height: 2px; background: var(--crema); transition: transform .25s cubic-bezier(.2,.7,.2,1), opacity .15s, top .25s cubic-bezier(.2,.7,.2,1); }
.burger-linien span:nth-child(1) { top: 0; }
.burger-linien span:nth-child(2) { top: 7px; }
.burger-linien span:nth-child(3) { top: 14px; }
.burger[aria-expanded="true"] .burger-linien span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-linien span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger-linien span:nth-child(3) { top: 7px; transform: rotate(-45deg); }
@media (max-width: 880px) { .burger { display: inline-flex; } }
@media (prefers-reduced-motion: reduce) { .burger-linien span { transition: none; } }

/* ── Nachrichtenliste: Einwilligung als Pflicht-Häkchen ── */
.newsletterformular .newsletter-haken { display: flex; align-items: flex-start; gap: 12px; margin: 1.1rem 0 0; font-family: var(--archivo); font-weight: 500; font-size: .88rem; letter-spacing: .02em; line-height: 1.6; color: var(--crema); cursor: pointer; }
.newsletter-haken input { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; flex: none; margin: 1px 0 0; border: 1.5px solid var(--crema); border-radius: 0; background: transparent; cursor: pointer; display: grid; place-content: center; }
.newsletter-haken input::before { content: ""; width: 12px; height: 12px; transform: scale(0); transition: transform .12s ease-out; background: var(--nero-tief); clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
.newsletter-haken input:checked { background: var(--crema); }
.newsletter-haken input:checked::before { transform: scale(1); }
.newsletter-haken input:focus-visible { outline: 2px solid var(--nero-tief); outline-offset: 3px; }
.newsletter-haken a { color: var(--crema); text-decoration: none; border-bottom: 1px solid currentColor; }
/* Spamschutz: Feld nur für Bots, für Menschen und Screenreader unsichtbar */
.newsletter-feld-bot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.newsletterformular { position: relative; }
.newsletterformular[aria-busy="true"] button[type="submit"] { opacity: .6; cursor: progress; }
.newsletter-bald { font-family: var(--archivo); font-weight: 500; font-size: .95rem; letter-spacing: .02em; line-height: 1.6; color: var(--crema); padding: 16px 18px; border: 1px solid var(--crema-25); margin: 0; }
.newsletter-bald a { color: var(--crema); border-bottom: 1px solid currentColor; text-decoration: none; }
/* Seiten „Leseprobe“ und „Nachrichtenliste“ (Meldungen des Plugins „Newsletter“) */
.leseprobe-seite { padding-top: 72px; padding-bottom: 120px; }
.leseprobe-seite .zeile > p, .leseprobe-seite .tnp { max-width: 640px; font-family: var(--newsreader); font-size: 1.2rem; line-height: 1.65; }
.leseprobe-seite input[type="submit"], .leseprobe-seite button, .leseprobe-seite .tnp-submit { font-family: var(--archivo); font-weight: 600; font-size: .95rem; letter-spacing: .03em; padding: 14px 26px; background: var(--rosso); color: var(--crema); border: 0; border-radius: 0; cursor: pointer; }
.leseprobe-seite input[type="submit"]:hover, .leseprobe-seite button:hover, .leseprobe-seite .tnp-submit:hover { background: var(--nero); }
@media (max-width: 880px) { .leseprobe-seite { padding-top: 48px; padding-bottom: 80px; } }
.leseprobe-zugang { max-width: 640px; }
.leseprobe-zugang .leseprobe-text { font-family: var(--newsreader); font-size: 1.2rem; line-height: 1.65; margin: 0 0 1.5rem; }
.leseprobe-zugang .knopfzeile { margin: 0 0 3rem; }
.nl-knopf-formular { margin: 0 0 3rem; }
.nl-knopf-formular button.knopf { font: inherit; font-family: var(--archivo); font-weight: 600; font-size: .95rem; letter-spacing: .03em; padding: 16px 28px; cursor: pointer; }
.leseprobe-hinweis { padding: 12px 16px; border: 1px dashed var(--nero-15); margin: 0 0 2rem; }
.newsletter-fehler { margin: 1rem 0 0; padding: 10px 14px; background: var(--nero-tief); color: var(--crema); font-family: var(--archivo); font-weight: 500; font-size: .88rem; letter-spacing: .02em; line-height: 1.5; }
.newsletter-fehler[hidden] { display: none; }
.newsletterformular .knopf[aria-disabled="true"] { opacity: .55; }

/* ── Navigation: „Buch bestellen“ als hervorgehobener Knopf, engere Abstände auf mittleren Breiten ── */
.hauptmenue a.nav-knopf { color: var(--crema); background: var(--rosso); border: 1px solid var(--rosso); padding: 10px 18px; font-weight: 600; transition: transform .2s, box-shadow .2s; }
.hauptmenue a.nav-knopf:hover { color: var(--crema); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(185, 58, 37, .6); }
@media (min-width: 881px) and (max-width: 1180px) {
  .hauptmenue { gap: 20px; }
  .hauptmenue a { font-size: .86rem; letter-spacing: .02em; }
  .hauptmenue a.nav-knopf { padding: 9px 14px; }
  .wortmarke { font-size: 1.2rem; }
}
@media (max-width: 880px) {
  .hauptmenue a.nav-knopf { margin-top: 18px; padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--rosso); }
}

/* ── Kaufleiste: Kauf-Links mit Icon beim Buch (Startseite) und im Bücherregal ── */
.kaufleiste { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--nero-15); }
.kaufleiste p.meta { margin: 0; }
.kaufleiste .shoplinks { margin-top: 1.1rem; }
.regal-text .shoplinks { margin-top: 1.5rem; }
.bestellen .shoplinks { margin-top: 2rem; }
.bestellen .shoplinks + p { margin-top: 1.5rem; }
.bestellen .bestell-hinweis { margin: 3rem 0 0; }
.bestellen .bestell-hinweis + .knopfzeile { margin-top: 1.25rem; }
.klappentext p { margin: 0 0 1em; }
.klappentext p:last-child { margin-bottom: 0; }
.regal-text .regal-daten { margin: 1.5rem 0 0; }

/* ── Bücher-Seite: Abschnitt „Zuvor erschienen“ unter den Romanen ── */
.buchregal h2.werke-rubrik { margin: 5rem 0 0; padding-top: 3.5rem; border-top: 1px solid var(--nero-15); }
.werke-einleitung { margin: 1.5rem 0 1rem; max-width: 44em; }
.buchregal .werk:first-of-type { padding-top: 32px; }

/* Blog-Karten auf der Startseite: bei zwei oder einem Beitrag keine leere Spalte lassen */
.kartenreihe:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kartenreihe:has(> :only-child) { grid-template-columns: minmax(0, 560px); }
