/* Abendhärtung-Bibliothek — clean Wes-token recreation (not a copy of the 1.6MB blob) */
:root {
  --paper: #fbf8f2;
  --ink: #1b2028;
  --muted: #6c7783;
  --navy: #183047;
  --dark: #101923;
  --dark2: #16202c;
  --gold: #c98b1e;
  --gold-d: #9c6a17;
  --gold-btn: #c98b1e;
  --tint: #f3e9d3;
  --cream: #f3ecde;
  --line: #e6ddcc;
  --red: #ba4a40;
  --green: #31815b;
  --white: #ffffff;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --wrap: 1040px;
  --narrow: 640px;
  --card: 660px;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--narrow); margin: 0 auto; }
.gold { color: var(--gold); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* —— Promobar —— */
.promobar {
  background: var(--dark);
  color: #f0e9db;
  text-align: center;
  padding: 11px 16px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}
.promobar b {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}

/* —— CTA —— */
.cta {
  display: inline-block;
  background: linear-gradient(180deg, #d19a37, #b97e1c);
  color: #1d1405;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 10px 26px rgba(201,139,30,.32), inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform .12s, box-shadow .12s;
  text-align: center;
  line-height: 1.25;
  cursor: pointer;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(201,139,30,.42), inset 0 1px 0 rgba(255,255,255,.3);
}
.cta small {
  display: block;
  font-weight: 600;
  font-size: 12px;
  opacity: .72;
  margin-top: 5px;
}
.cta.ghost {
  background: transparent;
  color: #e9e2d4;
  border: 1px solid rgba(233,226,212,.4);
  box-shadow: none;
  font-weight: 600;
}
.cta.ghost:hover { background: rgba(233,226,212,.08); transform: none; }
.cta-center { text-align: center; }
.cta-note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.cta-pending {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--tint);
  border: 1px dashed var(--gold);
  border-radius: 10px;
  color: #7a6a3f;
  font-size: 14.5px;
  text-align: center;
}
.cta-pending.show { display: block; }

/* —— Hero —— */
.hero {
  background: linear-gradient(180deg, #182230, #101923 82%);
  color: #efe9dc;
  padding: 46px 0 56px;
  text-align: center;
  position: relative;
}
.brandline {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .22em;
  font-size: 11.5px;
  color: var(--gold);
  text-transform: uppercase;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.05;
  font-weight: 700;
  margin: 16px auto 8px;
  max-width: 16ch;
  color: #fcf8ef;
}
.hero h1 .gold { font-style: italic; color: var(--gold); }
.hero .promise {
  font-size: 18.5px;
  line-height: 1.55;
  color: #d3ccbe;
  max-width: 640px;
  margin: 14px auto 8px;
  font-family: var(--font-body);
}
.hero .promise b { color: #fff; font-weight: 700; }
.hbtns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 26px 0 4px;
}

/* Book covers (CSS/SVG placeholders) */
.covers {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: flex-end;
  margin: 34px 0 4px;
  flex-wrap: wrap;
}
.cover {
  width: 188px;
  height: 282px;
  border-radius: 8px;
  background: linear-gradient(165deg, #1a222c 0%, #0c1016 55%, #151b24 100%);
  border: 1px solid rgba(201,139,30,.35);
  box-shadow: 0 20px 44px rgba(0,0,0,.55);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 22px 14px 18px;
  text-align: center;
  color: #f0e9db;
}
.cover.mid {
  width: 214px;
  height: 321px;
  z-index: 2;
  border-color: rgba(201,139,30,.55);
}
.cover .band {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.cover .ctitle {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 600;
  color: #fcf8ef;
  margin: 10px 0;
}
.cover.mid .ctitle { font-size: 19px; }
.cover .csub {
  font-size: 11px;
  color: #9aa3ad;
  line-height: 1.35;
}
.cover .portrait-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  overflow: hidden;
  margin: 8px 0;
  flex-shrink: 0;
}
.cover.mid .portrait-ring { width: 84px; height: 84px; }
.cover .portrait-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.cover .spine {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 8px;
  background: linear-gradient(180deg, #c98b1e, #7a5210);
  opacity: .85;
}

/* Stats */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 34px auto 0;
  max-width: 900px;
}
.stat {
  flex: 1 1 190px;
  max-width: 230px;
  border: 1px solid rgba(214,183,110,.25);
  border-radius: 12px;
  padding: 16px 14px;
  background: rgba(255,255,255,.03);
}
.stat .n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--gold);
}
.stat .l {
  font-size: 13px;
  color: #c3ccd6;
  line-height: 1.35;
  margin-top: 3px;
}

/* —— Sections —— */
section { padding: 62px 0; }
.cream { background: var(--cream); }
.sec-no {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .3em;
  color: var(--gold-d);
  text-align: center;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.12;
  font-weight: 600;
  text-align: center;
  margin: 6px 0 6px;
  color: var(--navy);
}
.sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 18px;
  font-weight: 400;
}
p { margin: 0 0 18px; }

/* —— Offer card —— */
.offer {
  max-width: var(--card);
  margin: 26px auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(20,25,32,.09);
}
.offer .price { text-align: center; padding: 26px 20px 8px; }
.offer .price .now {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  color: var(--navy);
  line-height: 1;
}
.offer .price .was {
  font-size: 22px;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 8px;
  vertical-align: top;
}
.offer .price .promo {
  display: inline-block;
  margin-top: 10px;
  background: var(--tint);
  color: var(--gold-d);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.offer .whatget {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: .1em;
  font-size: 12.5px;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 14px 22px 4px;
}
.offer .row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 24px;
  border-top: 1px solid var(--line);
  font-size: 16px;
}
.offer .row span:first-child { color: var(--ink); }
.offer .row .v {
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.offer .row .em { font-style: italic; color: var(--muted); font-weight: 400; }
.offer .row.total { background: #fbf7ef; font-weight: 700; }
.offer .row.total .v { text-decoration: line-through; opacity: .6; }
.offer .row.pay {
  background: var(--navy);
  color: #fff;
  align-items: center;
}
.offer .row.pay span:first-child { font-weight: 700; color: #fff; }
.offer .row.pay .v {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--gold);
}
.offer .foot { text-align: center; padding: 20px 22px 26px; }
.offer .micro {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 14px;
}
.badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
}
.badges b { color: var(--ink); }

/* —— Math —— */
.math {
  max-width: 860px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.mcard {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(20,25,32,.05);
}
.mcard.bad { border-top: 5px solid var(--red); }
.mcard.good { border-top: 5px solid var(--green); }
.mcard h3 {
  font-size: 14px;
  font-weight: 800;
  font-family: var(--font-body);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--muted);
}
.mcard table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.mcard td { padding: 8px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.mcard td:last-child {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding-left: 10px;
}
.mcard tr.sum td {
  border-top: 2px solid var(--ink);
  border-bottom: none;
  padding-top: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}
.mnote {
  text-align: center;
  max-width: 720px;
  margin: 18px auto 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--navy);
}
.disc {
  font-size: 12.5px;
  color: var(--muted);
  max-width: 760px;
  margin: 12px auto 0;
  text-align: center;
  line-height: 1.5;
}

/* —— Volumes —— */
.vol {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  max-width: 880px;
  margin: 0 auto 40px;
}
.vol-card {
  width: 186px;
  height: 278px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: linear-gradient(165deg, #1a222c, #0c1016);
  border: 1px solid rgba(201,139,30,.4);
  box-shadow: 0 16px 36px rgba(0,0,0,.22);
  color: #f0e9db;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  position: relative;
}
.vol-card .spine {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 7px;
  background: linear-gradient(180deg, #c98b1e, #7a5210);
}
.vol-card .vlbl {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.vol-card .vtitle {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
}
.vol-card .vmeta { font-size: 11px; color: #9aa3ad; }
.vol .lbl {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--gold-d);
  text-transform: uppercase;
}
.vol h3 {
  margin: 5px 0 4px;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--navy);
  font-weight: 600;
}
.vol .d { color: var(--muted); margin: 0 0 10px; font-size: 16.5px; }
.vol ul { margin: 0; padding-left: 20px; font-size: 16px; }
.vol li { margin: 0 0 7px; }
.insidefoot {
  text-align: center;
  color: var(--muted);
  margin-top: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
}

/* —— Community note —— */
.notebox {
  max-width: 720px;
  margin: 18px auto 0;
  background: var(--tint);
  border: 1px dashed var(--gold);
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 15.5px;
  color: #7a6a3f;
  line-height: 1.55;
  text-align: center;
}

/* —— About —— */
.about {
  display: flex;
  gap: 36px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.about .pic {
  flex: 0 0 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.about .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}
.about p { font-size: 17.5px; color: var(--ink); }
.about p b { color: var(--navy); }

/* —— Guarantee —— */
.guar {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 20px;
  padding: 34px 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(201,139,30,.14);
}
.guar .seal {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  color: var(--gold-d);
  letter-spacing: .13em;
  font-size: 12.5px;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 7px 18px;
}
.guar h2 { margin: 16px 0 12px; }
.guar p { color: var(--muted); font-size: 17.5px; }

/* —— Order (compact offer) —— */
#bestellen .offer { margin-top: 22px; }

/* —— FAQ —— */
.faq { max-width: 800px; margin: 16px auto 0; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 0 0 13px;
  padding: 2px 24px;
  box-shadow: 0 4px 14px rgba(20,25,32,.04);
}
.faq summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18.5px;
  color: var(--navy);
  cursor: pointer;
  padding: 17px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--gold-d);
  font-weight: 700;
  font-size: 24px;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "\2013"; }
.faq p {
  padding: 0 0 18px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.soft-cta {
  text-align: center;
  margin-top: 28px;
  font-size: 15.5px;
  color: var(--muted);
}
.soft-cta a {
  color: var(--gold-d);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(156,106,23,.35);
}
.soft-cta a:hover { border-bottom-color: var(--gold-d); }

/* —— Final CTA —— */
.final {
  background: linear-gradient(180deg, #0c0f14, #182230);
  color: #efe9dc;
  text-align: center;
}
.final h2 { color: #fcf8ef; font-size: clamp(28px, 4vw, 40px); }
.final .sub { color: #cfc7b8; }

/* —— Footer —— */
footer {
  background: #0a0d11;
  color: #7c8492;
  font-size: 13px;
  padding: 38px 0 48px;
}
footer .wrap { text-align: center; }
footer .brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: #cfd5de;
  font-size: 17px;
}
footer a { color: #aeb6c1; }
.legal {
  max-width: 840px;
  margin: 16px auto 0;
  line-height: 1.55;
  color: #6b7280;
}

/* —— Responsive —— */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .hero { padding: 34px 0 42px; }
  .hero h1 { font-size: 34px; max-width: 18ch; }
  h2, .final h2 { font-size: 28px; }
  .cover { width: 118px; height: 178px; padding: 14px 8px; }
  .cover.mid { width: 136px; height: 204px; }
  .cover .ctitle { font-size: 13px; }
  .cover.mid .ctitle { font-size: 14px; }
  .cover .portrait-ring { width: 48px; height: 48px; }
  .cover.mid .portrait-ring { width: 56px; height: 56px; }
  .cover .csub { display: none; }
  .math { grid-template-columns: 1fr; }
  .vol { flex-direction: column; align-items: center; text-align: center; }
  .vol ul { text-align: left; }
  .about { flex-direction: column; text-align: center; }
  .about .pic { flex: none; width: min(280px, 78%); }
  .offer .price .now { font-size: 52px; }
  .cta { width: 100%; max-width: 420px; }
  .hbtns .cta { width: auto; min-width: 200px; }
  .stat { flex-basis: 44%; }
  .guar { padding: 28px 22px; }
  .promobar { font-size: 11.5px; letter-spacing: .08em; }
}
