/* Walt's Gott – gemeinsames Design für Website und Shop (Design-Handoff „Finale Fassung · Editorial“) */
:root {
  --petrol: #2B474E;
  --petrol-light: #3A5C64;
  --petrol-dark: #22383E;
  --petrol-deep: #1B2E33;
  --petrol-glow: #2F5058;
  --gold: #C19B57;
  --gold-light: #D9BC84;
  --gold-dark: #8A6A30;
  --paper: #F4EFE1;
  --paper-dark: #EBE4D2;
  --line: rgba(43, 71, 78, 0.18);
  --line-dark: rgba(193, 155, 87, 0.25);
  --text-soft: rgba(43, 71, 78, 0.86);
  --muted: rgba(43, 71, 78, 0.68);
  --on-dark: rgba(244, 239, 225, 0.85);
  --on-dark-muted: rgba(244, 239, 225, 0.62);
  --danger: #9B3B2E;
  --pad: 64px;
  --serif: 'EB Garamond', Georgia, serif;
  --caps: 'Cinzel', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { margin: 0; padding: 0; background: var(--paper); }
body { font-family: var(--serif); color: var(--petrol); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--gold); }
::selection { background: var(--gold); color: var(--petrol); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* ---- Typografie ------------------------------------------------------------ */
.over { font-family: var(--caps); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-dark); margin: 0; }
.dark .over, .over.on-dark { color: var(--gold); }
.display { font-family: var(--caps); font-weight: 400; font-size: clamp(44px, 7vw, 80px); line-height: 1.02; letter-spacing: 0.01em; margin: 0; text-wrap: balance; }
.h1 { font-family: var(--caps); font-weight: 400; font-size: clamp(36px, 5vw, 60px); line-height: 1.08; margin: 0; text-wrap: balance; }
.h2 { font-family: var(--caps); font-weight: 400; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; margin: 0; text-wrap: balance; }
.h3 { font-family: var(--caps); font-weight: 400; font-size: clamp(22px, 2.4vw, 26px); line-height: 1.3; margin: 0; }
.lead { font-size: clamp(19px, 1.9vw, 22px); line-height: 1.7; margin: 0; color: var(--text-soft); text-wrap: pretty; }
.body { font-size: clamp(18px, 1.7vw, 19px); line-height: 1.8; margin: 0; text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: 16px; line-height: 1.6; margin: 0; }
.italic { font-style: italic; }
.amen { font-style: italic; font-size: clamp(19px, 2vw, 22px); color: var(--gold-dark); margin: 0; }
.dark .amen { color: var(--gold); }
.rule { width: 64px; height: 1px; background: var(--gold); border: 0; margin: 0; }

/* ---- Layout ---------------------------------------------------------------- */
.wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(72px, 9vw, 112px); }
.section + .section:not(.dark):not(.tint) { border-top: 1px solid var(--line); }
.dark { background: var(--petrol); color: var(--paper); }
.dark a:not(.btn) { color: var(--gold); }
.dark a:not(.btn):hover { color: var(--gold-light); }
.tint { background: var(--paper-dark); }
.split { display: grid; gap: clamp(40px, 6vw, 80px); }
.split-3-9 { grid-template-columns: 3fr 9fr; }
.split-4-8 { grid-template-columns: 4fr 8fr; }
.split-5-7 { grid-template-columns: 5fr 7fr; }
.split-7-5 { grid-template-columns: 7fr 5fr; }
.split-6-6 { grid-template-columns: 1fr 1fr; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }
.measure { max-width: 680px; }

/* ---- Knöpfe ---------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; align-self: flex-start; font-family: var(--caps); font-size: 13px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--paper); background: var(--petrol); border: 0; border-radius: 0; padding: 18px 32px; cursor: pointer; text-align: center; transition: background 0.15s; }
.btn:hover { background: var(--petrol-light); color: var(--paper); }
.btn.sm { font-size: 12px; padding: 15px 26px; }
.btn.block { align-self: stretch; width: 100%; }
.btn.gold, .dark .btn { background: var(--gold); color: var(--petrol-dark); font-weight: 500; }
.btn.gold:hover, .dark .btn:hover { background: var(--gold-light); color: var(--petrol-dark); }
.btn.ghost { background: transparent; color: var(--petrol); border: 1px solid rgba(43, 71, 78, 0.35); padding: 13px 22px; }
.btn.ghost:hover { background: rgba(193, 155, 87, 0.15); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.tlink { font-size: 18px; color: var(--petrol); border-bottom: 1px solid var(--gold); padding-bottom: 2px; background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; font-family: inherit; }
.tlink:hover { color: var(--gold-dark); }
.dark .tlink, .tlink.on-dark { color: var(--paper); }
.dark .tlink:hover { color: var(--gold-light); }
.caps-link { font-family: var(--caps); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); border-bottom: 1px solid rgba(193, 155, 87, 0.5); padding-bottom: 6px; align-self: flex-start; }

/* ---- Navigation (schmale Leiste) ------------------------------------------- */
/* Dunkles Menüband mit Verlagslogo (CI: weiß/gold auf Petrol) */
.nav { position: sticky; top: 0; z-index: 50; height: 68px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--petrol-dark); border-bottom: 1px solid var(--line-dark); color: var(--paper); }
.nav .brand { display: flex; align-items: center; flex: none; }
.nav .brand img { height: 42px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 36px; margin-left: auto; }
.nav-links a { font-size: 17px; color: rgba(244, 239, 225, 0.85); padding: 4px 0; border-bottom: 1px solid transparent; }
.nav-links a:hover { color: var(--gold-light); }
.nav-links a[aria-current] { color: var(--paper); border-bottom-color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.cart-btn { font-family: var(--caps); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; background: var(--gold); color: var(--petrol-dark); font-weight: 500; padding: 9px 14px; border: 0; cursor: pointer; white-space: nowrap; }
.cart-btn:hover { background: var(--gold-light); color: var(--petrol-dark); }
.burger { display: none; width: 40px; height: 40px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; color: var(--paper); }
.burger span, .burger::before, .burger::after { content: ""; position: absolute; left: 9px; right: 9px; height: 1px; background: currentColor; transition: transform 0.2s, opacity 0.2s; }
.burger::before { top: 13px; } .burger span { top: 20px; } .burger::after { top: 27px; }
.nav.open .burger::before { transform: translateY(7px) rotate(45deg); }
.nav.open .burger span { opacity: 0; }
.nav.open .burger::after { transform: translateY(-7px) rotate(-45deg); }
.steps { font-size: 16px; color: var(--on-dark-muted); display: flex; gap: 12px; flex-wrap: wrap; }
.steps [aria-current] { color: var(--paper); border-bottom: 1px solid var(--gold); }

/* ---- Fußzeile -------------------------------------------------------------- */
.foot { padding: 40px var(--pad); display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; border-top: 1px solid var(--line); font-size: 16px; color: rgba(43, 71, 78, 0.75); background: var(--paper); }
.foot .mark { font-family: var(--caps); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.foot nav { display: flex; gap: 10px 28px; flex-wrap: wrap; }
.foot a { color: rgba(43, 71, 78, 0.75); }
.foot a:hover { color: var(--gold-dark); }
.on-dark-page .foot { background: var(--petrol-dark); border-top-color: var(--line-dark); color: var(--on-dark-muted); }
.on-dark-page .foot a { color: var(--on-dark-muted); }
.on-dark-page .foot a:hover { color: var(--gold-light); }

/* ---- Textseiten (Impressum, Datenschutz, AGB …) ----------------------------- */
.page-head { padding: clamp(72px, 9vw, 96px) var(--pad) clamp(40px, 5vw, 56px); max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; }
.page-head .h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; }
.page-head p { margin: 0; }
.prose-wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad) clamp(80px, 10vw, 120px); display: grid; grid-template-columns: 3fr 9fr; gap: 64px; }
.prose-wrap > .side { padding-top: 36px; border-top: 1px solid var(--line); }
.prose { max-width: 720px; display: flex; flex-direction: column; gap: 24px; padding-top: 36px; border-top: 1px solid var(--line); }
.prose p, .prose li { font-size: 19px; line-height: 1.85; margin: 0; text-wrap: pretty; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose h2 { font-family: var(--caps); font-weight: 400; font-size: clamp(20px, 2vw, 24px); letter-spacing: 0.02em; text-transform: none; line-height: 1.3; color: var(--petrol); margin: 24px 0 0; }
.prose h3 { font-family: var(--caps); font-weight: 400; font-size: 18px; letter-spacing: 0.02em; margin: 12px 0 0; }
.prose a { border-bottom: 1px solid rgba(193, 155, 87, 0.5); }
.prose blockquote { margin: 8px 0; padding-left: 24px; border-left: 2px solid var(--gold); }
.prose blockquote p { font-style: italic; color: var(--text-soft); }
.prose cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--caps); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---- Formulare (Unterstrich-Felder wie beim Rundschreiben) ------------------- */
.form { display: flex; flex-direction: column; gap: 32px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.row-plz { display: grid; grid-template-columns: 160px 1fr; gap: 32px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: rgba(43, 71, 78, 0.7); }
.field input, .field select, .field textarea { font-family: var(--serif); font-size: 19px; line-height: 1.7; color: var(--petrol); width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(43, 71, 78, 0.3); border-radius: 0; padding: 6px 0; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--gold); }
.field textarea { resize: vertical; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; font-size: 17px; line-height: 1.65; color: var(--text-soft); }
.consent input { width: 16px; height: 16px; margin: 5px 0 0; accent-color: var(--gold); }
.status { font-size: 18px; font-style: italic; line-height: 1.7; margin: 0; min-height: 1.7em; }
.status.err { color: var(--danger); font-style: normal; }
.test-banner { border: 1px dashed var(--gold); padding: 14px 18px; font-size: 17px; line-height: 1.6; background: rgba(193, 155, 87, 0.1); margin: 0; }

/* ---- Warenkorb-Seitenleiste ------------------------------------------------- */
.drawer-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(27, 46, 51, 0.55); opacity: 0; transition: opacity 0.2s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(500px, 100%); background: var(--paper); color: var(--petrol); padding: 40px; display: flex; flex-direction: column; gap: 24px; box-shadow: -30px 0 60px rgba(0, 0, 0, 0.3); transform: translateX(100%); transition: transform 0.3s ease-out; overflow-y: auto; }
.drawer-open .drawer-overlay { opacity: 1; }
.drawer-open .drawer { transform: none; }
.drawer-open { overflow: hidden; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head h2 { font-family: var(--caps); font-weight: 400; font-size: 26px; letter-spacing: 0.06em; margin: 0; }
.drawer-close { background: none; border: 0; font-size: 30px; line-height: 1; color: var(--petrol); cursor: pointer; padding: 4px 8px; font-family: var(--serif); }
.drawer-lines { border-bottom: 1px solid rgba(43, 71, 78, 0.16); }
.drawer-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid rgba(43, 71, 78, 0.16); }
.drawer-line img, .drawer-line .ph { width: 72px; height: 88px; object-fit: cover; display: block; background: rgba(43, 71, 78, 0.08); }
.drawer-line .t { font-size: 17px; line-height: 1.35; }
.drawer-line .sub { font-size: 15px; color: var(--muted); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.drawer-line .sum { font-size: 17px; white-space: nowrap; }
.drawer-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.drawer-foot .r { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; color: rgba(43, 71, 78, 0.75); }
.drawer-foot .total { color: var(--petrol); }
.drawer-foot .total span:first-child { font-family: var(--caps); font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; }
.drawer-foot .total span:last-child { font-size: 30px; }
.drawer-foot .btn { margin-top: 8px; }
.ep-tile { width: 72px; height: 72px; background: var(--petrol); color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--caps); font-size: 22px; }
.qty-mini { display: inline-flex; align-items: center; gap: 2px; }
.qty-mini button { width: 28px; height: 28px; border: 0; background: none; color: var(--petrol); font-size: 18px; cursor: pointer; font-family: var(--serif); }
.qty-mini button:hover { background: rgba(193, 155, 87, 0.18); }
.qty-mini span { min-width: 22px; text-align: center; font-size: 16px; color: var(--petrol); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; color: var(--gold-dark); cursor: pointer; }
.link-btn:hover { color: var(--gold); }
.empty { font-style: italic; color: var(--muted); margin: 0; }

/* ---- Hörprobe ---------------------------------------------------------------- */
.play { --p: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--petrol); background: transparent; color: var(--petrol); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; position: relative; flex: none; }
.play:hover { background: rgba(43, 71, 78, 0.08); }
.play svg { width: 12px; height: 12px; fill: currentColor; }
.play .i-pause, .play[aria-pressed="true"] .i-play { display: none; }
.play[aria-pressed="true"] .i-pause { display: block; }
.play[aria-pressed="true"] { background: var(--petrol); color: var(--paper); }
.play::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: conic-gradient(var(--gold) calc(var(--p) * 1turn), transparent 0); -webkit-mask: radial-gradient(circle, transparent 23px, #000 24px); mask: radial-gradient(circle, transparent 23px, #000 24px); pointer-events: none; }
.play[disabled] { opacity: 0.35; cursor: default; }

/* ---- Responsiv --------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav-links { gap: 24px; }
}
@media (max-width: 900px) {
  :root { --pad: 24px; }
  .split, .split-3-9, .split-4-8, .split-5-7, .split-7-5, .split-6-6, .page-head, .prose-wrap { grid-template-columns: 1fr; }
  .page-head { gap: 24px; }
  .prose-wrap { gap: 0; }
  .prose-wrap > .side { display: none; }
  .burger { display: block; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 20px; background: var(--petrol-dark); border-bottom: 1px solid var(--line-dark); display: none; margin: 0; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 19px; }
  .nav-links a[aria-current] { border-bottom-color: var(--line-dark); color: var(--gold-light); }
  .nav .brand img { height: 36px; }
  .row2, .row-plz { grid-template-columns: 1fr; }
  .drawer { padding: 28px 24px; }
  .foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .steps { font-size: 13px; gap: 6px; flex-wrap: nowrap; white-space: nowrap; }
}
@media (max-width: 420px) {
  .nav .brand img { height: 32px; }
  .steps { font-size: 12px; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drawer, .drawer-overlay { transition: none; }
}
@media print {
  .nav, .foot, .noprint, .drawer, .drawer-overlay { display: none !important; }
}

/* ---- Ergänzungen Textseiten ------------------------------------------------- */
.side-nav { display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.side-nav a { color: var(--muted); align-self: flex-start; border-bottom: 1px solid transparent; }
.side-nav a:hover { color: var(--gold-dark); }
.side-nav a[aria-current] { color: var(--petrol); border-bottom-color: var(--gold); }
.entwurf { border: 1px dashed var(--gold); padding: 14px 18px; font-size: 17px !important; background: rgba(193, 155, 87, 0.1); }

/* Gründer im Abschnitt „Verlag“ */
.founders { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; margin-top: clamp(16px, 3vw, 32px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }
.founders figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.founders img { width: 100%; height: auto; display: block; box-shadow: 0 1px 0 var(--line); }
.founders figcaption { font-size: 15px; font-style: italic; color: var(--text-soft); }
.founders .body { margin: 0; }
@media (max-width: 760px) { .founders { grid-template-columns: 1fr; } }

/* Zahlarten (Kasse und Fußzeile), nur wenn die Zahlung über Stripe eingerichtet ist (site/shop/zahlarten.js) */
.pay-icons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.pay-logos { display: inline-flex; align-items: center; gap: 14px; color: var(--petrol); opacity: 0.85; }
.pay-logos svg { display: block; }
.pay-stripe { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--text-soft); }
.pay-stripe svg { color: #635BFF; }
.foot-pay { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.on-dark-page .foot-pay .pay-logos { color: var(--on-dark-muted); }
