/* =====================================================================
   marcus-aurelius-meditations.com
   Farben & Schriften angelehnt an puremindblog.com und die Buchcover
   ===================================================================== */
@import url('../fonts/fonts.css');

:root {
  --ink: #312a2d;
  --ink-deep: #1e191b;
  --olive: #3d4337;
  --olive-deep: #2c3128;
  --sage: #d3dcc2;
  --gold: #d5a45d;
  --gold-light: #e9c98f;
  --amber: #9c6027;
  --umber: #663f26;
  --taupe: #afa795;
  --parchment: #f3ecdd;
  --parchment-2: #e9dfc9;
  --paper: #faf6ee;
  --text: #2d2629;
  --muted: #6b6159;
  --line: rgba(49, 42, 45, .14);
  --line-light: rgba(243, 236, 221, .18);

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Alegreya Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --script: 'Mr Dafoe', 'Brush Script MT', 'Segoe Script', cursive;

  --ease: cubic-bezier(.22, .9, .24, 1);
  --radius: 14px;
  --wrap: 1180px;
  --header-h: 72px;
  --shadow-lg: 0 30px 60px -20px rgba(30, 22, 18, .45), 0 12px 24px -12px rgba(30, 22, 18, .35);
  --shadow-md: 0 14px 30px -14px rgba(30, 22, 18, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--text);
  font: 400 1.125rem/1.65 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
main, .site-footer { overflow-x: hidden; overflow-x: clip; }
a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: var(--umber); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.wrap.narrow { max-width: 860px; }
.grid-2 { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); }
.grid-2.align-center { align-items: center; }
.columns-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head.light, .section-head.light h2 { color: var(--parchment); }
.section-lead { font-size: 1.25rem; color: var(--muted); }
.section-head.light .section-lead { color: var(--sage); }
.kicker {
  font: 700 .82rem/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .75em;
}
.kicker::before, .section-head .kicker::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.section-head.light .kicker, .hero .eyebrow { color: var(--gold); }
.lead-dark { font-size: 1.22rem; color: #4a403f; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--parchment);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.6em; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); font: 700 1rem/1.1 var(--sans); letter-spacing: .02em;
  text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); color: var(--fg); box-shadow: var(--shadow-md); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn::after { /* Glanzlicht */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn-gold { --bg: linear-gradient(135deg, #e7c27f, var(--gold) 45%, #b9853f); --fg: var(--ink-deep); background: var(--bg); box-shadow: 0 10px 24px -10px rgba(213, 164, 93, .7); }
.btn-dark { --bg: var(--ink); --fg: var(--parchment); }
.btn-ghost { --bg: transparent; --fg: var(--parchment); border-color: rgba(243, 236, 221, .45); }
.btn-ghost:hover { background: rgba(243, 236, 221, .1); }
.btn-lg { font-size: 1.1rem; padding: 1.1em 1.9em; }
.btn-sm { font-size: .9rem; padding: .7em 1.2em; }
.text-link { font-weight: 700; color: var(--amber); text-decoration: none; border-bottom: 1px solid currentColor; }
.center-cta { text-align: center; margin-top: clamp(40px, 6vw, 64px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--parchment); transition: background .4s, box-shadow .4s, height .3s;
}
.site-header.is-solid { background: rgba(30, 25, 27, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-light); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; margin-right: auto; }
.brand:hover { color: inherit; }
.brand-laurel { width: 38px; height: 38px; color: var(--gold); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-small { font: 700 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--sage); }
.brand-script { font: 400 1.9rem/1 var(--script); color: var(--parchment); margin-top: 2px; }
.main-nav { display: flex; align-items: center; gap: 22px; font: 500 .98rem/1 var(--sans); }
.main-nav > a { color: var(--parchment); text-decoration: none; opacity: .85; position: relative; padding-block: 6px; }
.main-nav > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav > a:hover { opacity: 1; color: var(--parchment); }
.main-nav > a:hover::after { transform: scaleX(1); }
.lang-switch { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; font: 700 .78rem/1 var(--sans); letter-spacing: .06em; }
.lang-switch a, .lang-switch span { display: inline-block; padding: 6px 7px; border-radius: 6px; color: inherit; text-decoration: none; opacity: .7; }
.lang-switch a:hover { opacity: 1; background: rgba(255, 255, 255, .08); color: inherit; }
.lang-switch .is-current { opacity: 1; color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); }
.nav-lang { margin-left: 6px; padding-left: 14px; border-left: 1px solid var(--line-light); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; border-radius: 10px; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease), opacity .2s; margin: auto; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ''; position: absolute; left: 0; }
.menu-toggle .bars::before { top: -7px; } .menu-toggle .bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: clamp(680px, 100svh, 1000px); display: flex; align-items: center;
  color: var(--parchment); overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #221b1f 0%, #4a3027 38%, #9c6027 72%, #d5a45d 100%);
  padding-top: calc(var(--header-h) + 24px); padding-bottom: 150px;
}
.rome-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.hero::before { /* Lesbarkeits-Verlauf links */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(24, 19, 21, .82) 0%, rgba(24, 19, 21, .55) 42%, rgba(24, 19, 21, 0) 70%);
}
.hero::after { /* Übergang in den nächsten Abschnitt */
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; z-index: -1;
  background: linear-gradient(180deg, transparent, var(--ink-deep));
}
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.eyebrow { font: 700 .85rem/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; margin-bottom: 1.2rem; }
.hero-title { margin: 0 0 1.2rem; display: flex; flex-direction: column; }
.h1-pre { font: 700 clamp(1rem, 1.6vw, 1.3rem)/1.2 var(--serif); letter-spacing: .32em; text-transform: uppercase; color: var(--sage); }
.h1-main {
  font: 400 clamp(4.2rem, 11vw, 8.6rem)/.92 var(--script); letter-spacing: 0;
  background: linear-gradient(180deg, #fbe7bd 10%, var(--gold) 55%, #b27a38 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: .12em .12em .06em 0; margin-left: -.04em; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35));
}
.h1-sub { font: italic 500 clamp(1.25rem, 2.4vw, 1.8rem)/1.25 var(--serif); color: var(--parchment); }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.28rem); max-width: 36em; color: rgba(243, 236, 221, .92); }
.lead strong { color: var(--gold-light); }
.checks { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .55rem; }
.checks li { display: flex; gap: .7em; align-items: flex-start; font-size: 1.08rem; }
.checks .icon { width: 1.3em; height: 1.3em; flex: none; color: var(--ink-deep); background: var(--gold); border-radius: 50%; padding: 3px; margin-top: .12em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.6rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; font-size: .98rem; color: rgba(243, 236, 221, .85); }
.rating-inline { display: flex; align-items: center; gap: 10px; }
.rating-inline small { opacity: .7; }
.formats-inline { display: inline-flex; align-items: center; gap: 8px; }
.formats-inline .icon { width: 1.2em; height: 1.2em; color: var(--gold); }
.hero-anim { animation: rise 1.1s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
@keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 28px; height: 46px; border: 2px solid rgba(243, 236, 221, .55); border-radius: 16px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; background: var(--gold); border-radius: 2px; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* 3D-Buch mit echtem Buchrücken (aus dem Hardcover-Layout) */
.hero-book { display: flex; justify-content: center; perspective: 1600px; }
.book3d { --T: calc(min(340px, 72vw) * .1); perspective: 1400px; position: relative; width: min(340px, 72vw); animation: float 7s ease-in-out infinite; }
.book3d-inner {
  --rx: 3deg; --ry: 32deg;
  position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .8s var(--ease);
}
.book3d:hover .book3d-inner { --ry: 20deg; }
.book3d-cover { position: relative; width: 100%; border-radius: 2px 6px 6px 2px; transform: translateZ(calc(var(--T) / 2)); box-shadow: inset 3px 0 6px rgba(0, 0, 0, .25), 0 1px 0 rgba(255,255,255,.15); }
.book3d-spine {
  position: absolute; top: 0; bottom: 0; left: 0; width: var(--T); transform-origin: left center;
  transform: translateZ(calc(var(--T) / -2)) rotateY(-90deg);
  background-color: #312a2d; background-size: 100% 100%; background-repeat: no-repeat; border-radius: 3px 0 0 3px;
  box-shadow: inset -2px 0 3px rgba(0, 0, 0, .35), inset 2px 0 2px rgba(255, 255, 255, .06);
}
.book3d-pages {
  position: absolute; top: 5px; bottom: 5px; right: 2px; width: calc(var(--T) * .94); transform-origin: right center;
  transform: translateZ(calc(var(--T) / -2)) rotateY(90deg);
  background: repeating-linear-gradient(90deg, #f7f0e2 0 2px, #e3d7bd 2px 3px);
}
.book3d-shadow { position: absolute; left: 4%; right: 6%; bottom: -34px; height: 30px; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); filter: blur(6px); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Zitat-Band ---------- */
.quote-band { background: var(--ink-deep); color: var(--parchment); padding-block: 40px 80px; text-align: center; }
.meander { width: min(320px, 70%); height: 16px; margin: 0 auto 36px; display: block; }
.meander path { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease); }
.meander.is-drawn path, .no-js .meander path { stroke-dashoffset: 0; }
.big-quote { margin: 0 auto; max-width: 900px; }
.big-quote p { font: italic 500 clamp(1.6rem, 3.6vw, 2.6rem)/1.3 var(--serif); margin-bottom: .8em; text-wrap: balance; }
.big-quote p::before { content: '“'; display: block; font: 700 5rem/0.6 var(--serif); color: var(--gold); margin-bottom: .1em; }
.big-quote footer { font: 700 .9rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sage); }
.big-quote cite { font-style: normal; }

/* ---------- Problem ---------- */
.problem { background: var(--parchment); }
.problem .grid-2 { align-items: center; }
.turn { display: flex; gap: .7em; align-items: flex-start; font: italic 600 1.2rem/1.45 var(--serif); color: var(--umber); margin-top: 1.4rem; }
.turn .icon { width: 1.6em; height: 1.6em; color: var(--gold); flex: none; }
.pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pain { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 22px; position: relative; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pain:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pain-num { font: 700 1.05rem/1 var(--serif); color: var(--gold); letter-spacing: .1em; display: block; margin-bottom: .7rem; }
.pain h3 { font-size: 1.15rem; }
.pain p { margin: 0; color: var(--muted); font-size: 1.02rem; }

/* ---------- Nutzen ---------- */
.benefits { background: var(--paper); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit {
  background: #fff; border-radius: calc(var(--radius) + 4px); padding: 30px 28px; border: 1px solid var(--line);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.benefit::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--gold), var(--amber)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.benefit:hover::before { transform: scaleX(1); }
.benefit-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--olive); margin-bottom: 1.1rem; }
.benefit-icon .icon { width: 28px; height: 28px; }
.benefit p { color: var(--muted); }
.mini-quote { margin: auto 0 0; padding: 16px 0 0; border-top: 1px dashed var(--line); }
.mini-quote p { font: italic 400 1.02rem/1.5 var(--serif); color: var(--ink); margin-bottom: .4rem; }
.mini-quote cite { font: 700 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); font-style: normal; }

/* ---------- Zitate-Karussell ---------- */
.quotes-section { background: var(--ink); color: var(--parchment); overflow: hidden; isolation: isolate; }
.quotes-bg {
  position: absolute; inset: 0; z-index: -1; background-size: min(820px, 110vw); background-position: center; background-repeat: no-repeat;
  opacity: .16; filter: invert(1) sepia(.8) saturate(1.4); mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 22%, transparent 62%); mask-image: radial-gradient(circle at 50% 50%, #000 22%, transparent 62%);
}
.quotes-section::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 60%, rgba(213, 164, 93, .18), transparent 60%); }
.carousel { max-width: 920px; margin: 0 auto; text-align: center; }
.carousel-track { display: grid; min-height: 240px; align-items: center; }
.slide { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .9s var(--ease), transform .9s var(--ease); pointer-events: none; }
.slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.slide blockquote { margin: 0 0 1.2rem; }
.slide blockquote p { font: italic 500 clamp(1.45rem, 3.2vw, 2.35rem)/1.35 var(--serif); margin: 0; text-wrap: balance; }
.slide figcaption { font: 700 .85rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-light); background: transparent; color: var(--parchment); cursor: pointer; display: grid; place-items: center; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.round-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: scale(1.06); }
.round-btn .icon { width: 20px; height: 20px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: rgba(243, 236, 221, .3); cursor: pointer; transition: width .4s var(--ease), background .3s; }
.dots button[aria-current="true"] { width: 30px; background: var(--gold); }
.blog-quotes-link { text-align: center; margin: 32px 0 0; }
.blog-quotes-link a { color: var(--sage); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(211, 220, 194, .4); }

/* ---------- Ausgabe ---------- */
.edition { background: var(--parchment); }
.feature-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 1.1rem; }
.feature-list li { display: flex; gap: 14px; }
.feature-list .icon { width: 28px; height: 28px; color: var(--gold); flex: none; margin-top: 2px; }
.feature-list strong { display: block; font: 700 1.12rem/1.3 var(--serif); color: var(--ink); }
.feature-list span { color: var(--muted); }
.inside { margin: 0; }
/* Nur das aufgeschlagene Buch (ohne Hintergrund) ist leicht geneigt und richtet sich beim Überfahren auf */
.inside img { width: 94%; margin-inline: auto; border-radius: 2px; box-shadow: 0 30px 46px -20px rgba(30, 22, 18, .55), 0 10px 18px -8px rgba(30, 22, 18, .3); transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transition: transform .8s var(--ease); }
.inside:hover img { transform: none; }
.inside figcaption { font: 700 .8rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--amber); margin-top: 26px; text-align: center; }

/* ---------- Leseprobe ---------- */
.sample { background: linear-gradient(180deg, #e6e9d8, #dde3cb); }
.sample-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.sample-art { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.sample-art img { border-radius: var(--radius); box-shadow: var(--shadow-lg); filter: sepia(.35) contrast(1.05); }
.scrolls { display: grid; gap: 24px; justify-items: start; }
.scroll {
  background: var(--paper); border-radius: 6px; padding: clamp(26px, 4vw, 44px); position: relative;
  box-shadow: 0 1px 0 #fff inset, var(--shadow-md);
  background-image: radial-gradient(ellipse at top left, rgba(213, 164, 93, .12), transparent 60%), radial-gradient(ellipse at bottom right, rgba(156, 96, 39, .08), transparent 55%);
  border-left: 3px solid var(--gold);
}
.scroll-ref { font: 700 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--amber); }
.dropcap { font: 400 1.14rem/1.75 var(--serif); color: #3a3134; margin: 0; }
.dropcap::first-letter { float: left; font: 700 3.6em/.85 var(--serif); color: var(--umber); padding: .06em .1em 0 0; }

/* ---------- Über Marcus Aurelius ---------- */
.about { background: var(--paper); }
.about .grid-2 > div > p { font-size: 1.14rem; }
.about-art { margin: 28px 0 0; max-width: 360px; }
.about-art img { border-radius: var(--radius); box-shadow: var(--shadow-md); filter: sepia(.3); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 34px; position: relative; align-self: center; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline::after { content: ''; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--amber)); transform-origin: top; transform: scaleY(var(--p, 1)); }
.js .timeline::after { transform: scaleY(var(--p, 0)); }
.timeline li { position: relative; padding: 0 0 34px 18px; }
.timeline li::before { content: ''; position: absolute; left: -31px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--gold); z-index: 1; }
.tl-year { display: block; font: 700 1.7rem/1.1 var(--serif); color: var(--umber); }
.tl-text { color: var(--muted); font-size: 1.08rem; }

/* ---------- Stoa ---------- */
.stoa { background: radial-gradient(ellipse at 50% 0%, #4a5242, var(--olive-deep) 70%); color: var(--parchment); }
.pillar { text-align: center; padding: 10px 18px; }
.pillar-svg { width: 54px; height: 108px; color: var(--gold); margin: 0 auto 18px; display: block; }
.pillar h3 { color: var(--parchment); }
.pillar p { color: var(--sage); margin: 0; }
.blog-card {
  margin-top: clamp(48px, 7vw, 80px); display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: center;
  background: rgba(243, 236, 221, .06); border: 1px solid var(--line-light); border-radius: calc(var(--radius) + 6px); padding: clamp(24px, 4vw, 44px);
}
.blog-card h3 { font-size: 1.7rem; color: var(--parchment); }
.blog-card p { color: var(--sage); margin: 0; }
.blog-card strong { color: var(--gold-light); }
.blog-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.blog-actions .text-link { color: var(--sage); }

/* ---------- Bewertungen ---------- */
.reviews { background: var(--parchment); }
.reviews-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.rating-panel { background: var(--ink); color: var(--parchment); border-radius: calc(var(--radius) + 6px); padding: 34px 32px; box-shadow: var(--shadow-lg); }
.rating-panel h3 { font-size: 1rem; font-family: var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--sage); }
.rating-big { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 4px; }
.rating-num { font: 700 4.6rem/1 var(--serif); color: var(--gold); }
.rating-of { font: 500 1.4rem/1 var(--serif); color: var(--taupe); }
.rating-count { margin: .6rem 0 1.4rem; color: rgba(243, 236, 221, .85); }
.rating-sub { font: 700 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); margin-bottom: .8rem; }
.market-bars { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 10px; }
.market-bars li { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: center; font-size: .95rem; }
.mb-bar { height: 8px; border-radius: 99px; background: rgba(243, 236, 221, .12); overflow: hidden; }
.mb-bar span { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--amber), var(--gold)); border-radius: inherit; transition: width 1.4s var(--ease) .2s; }
.js .rating-panel:not(.is-in) .mb-bar span { width: 0; }
.mb-val { font-variant-numeric: tabular-nums; color: var(--sage); white-space: nowrap; }
.rating-panel .fineprint { color: var(--taupe); margin: 0; }
.review-cards { display: grid; gap: 18px; }
.review { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.review:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.review .stars { margin-bottom: .6rem; }
.review-text, .review blockquote p { font: 400 1.1rem/1.6 var(--serif); color: var(--ink); margin: 0 0 .7rem; }
.review blockquote { margin: 0; }
.review figcaption { font-size: .9rem; color: var(--muted); }
.fineprint { font-size: .88rem; color: var(--muted); line-height: 1.5; }

/* Sterne */
.stars { position: relative; display: inline-block; line-height: 0; white-space: nowrap; }
.stars svg { width: 18px; height: 18px; margin-right: 2px; }
.stars-lg svg { width: 26px; height: 26px; }
.stars-base svg { fill: rgba(175, 167, 149, .45); }
.stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.stars-fill svg { fill: var(--gold); }

/* ---------- Formate ---------- */
.formats { background: var(--paper); }
.store-choice { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: -24px 0 36px; font-size: .98rem; color: var(--muted); }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 7px 14px; font: 700 .9rem/1 var(--sans); color: var(--ink); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.chip.is-active, .chip:hover { background: var(--ink); color: var(--parchment); border-color: var(--ink); }
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 22px; align-items: stretch; }
.format {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  padding: 34px 28px 30px; text-align: center; display: flex; flex-direction: column; align-items: center;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.format:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.format.is-featured { border: 2px solid var(--gold); box-shadow: var(--shadow-md); }
.format p { color: var(--muted); flex: 1; }
/* Mittig auf der oberen Kante der Karte; links .12em mehr Innenabstand gleicht die Laufweite nach dem letzten Buchstaben aus */
.badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; background: var(--gold); color: var(--ink-deep); font: 700 .75rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 7px 11px 7px calc(11px + .12em); border-radius: 99px; box-shadow: 0 6px 14px -6px rgba(30, 22, 18, .35); }
.format-visual { height: 230px; display: grid; place-items: center; margin-bottom: 22px; perspective: 900px; }
/* Taschenbuch und Hardcover als kleines 3D-Buch wie im Hero; das Taschenbuch ist dünner */
.format-visual .book3d { --T: 13px; width: 133px; perspective: 560px; animation: none; }
.format-hardcover .book3d { --T: 18px; width: 143px; }
.format-visual .book3d-spine { background-size: auto 100%; background-position: center; }
.format-visual .book3d-inner { --ry: 28deg; }
.format:hover .format-visual .book3d-inner { --ry: 16deg; }
.format-paperback .book3d-cover { border-radius: 1px 2px 2px 1px; }
.format-hardcover .book3d-cover { border-radius: 2px 3px 3px 2px; }
.format-visual .book3d-inner::after { content: ''; position: absolute; inset: 0; transform: translateZ(calc(var(--T) / 2 + .5px)); pointer-events: none; }
.format-paperback .book3d-inner::after { background: linear-gradient(105deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 38%); }
.format-hardcover .book3d-inner::after { border-radius: 2px 3px 3px 2px; background: linear-gradient(90deg, rgba(0, 0, 0, 0) 4.6%, rgba(0, 0, 0, .3) 5.4%, rgba(255, 255, 255, .18) 6.4%, rgba(255, 255, 255, 0) 7.6%); }
.format-visual .book3d-shadow { bottom: -16px; height: 18px; }
/* Kindle wie die aktuellen Geräte: schmale Ränder an den Seiten und oben, unten breiter mit Schriftzug */
.kindle-device { position: relative; padding: 9px 9px 26px; border-radius: 12px; background: linear-gradient(160deg, #3a3a3c, #1d1d1f 42%, #131314); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 24px 34px -12px rgba(0, 0, 0, .5); transition: transform .6s var(--ease); }
.kindle-device img { height: 168px; width: auto; outline: 1px solid rgba(0, 0, 0, .55); }
.kindle-logo { position: absolute; left: 0; right: 0; bottom: 8px; font: 500 10px/1 var(--sans); letter-spacing: .04em; color: #8e8e90; text-align: center; }
.format:hover .kindle-device { transform: rotateY(-12deg) scale(1.03); }
.gift-tip { display: flex; justify-content: center; align-items: center; gap: 10px; text-align: center; margin: 40px auto 0; font: italic 500 1.1rem/1.5 var(--serif); color: var(--umber); max-width: 720px; }
.gift-tip .icon { width: 1.5em; height: 1.5em; flex: none; color: var(--gold); }
.other-langs { text-align: center; color: var(--muted); margin: 22px 0 0; font-size: .98rem; }
.other-langs a { margin: 0 .35em; white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { background: var(--parchment); }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s; }
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font: 700 1.14rem/1.35 var(--serif); color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 22px; height: 22px; flex: none; color: var(--amber); transition: transform .4s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(135deg); }
.faq-a { padding: 0 24px 22px; color: #4a403f; }
.faq-a p { margin: 0; }

/* ---------- Finale ---------- */
.final { position: relative; color: var(--parchment); text-align: center; padding-block: clamp(100px, 14vw, 180px) clamp(170px, 20vw, 240px); overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #120f14 0%, #2a2230 45%, #5b3c30 100%); }
.final::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 35%, rgba(18, 15, 20, .75), rgba(18, 15, 20, .2) 70%); }
.final-inner { max-width: 820px; }
.final-laurel { width: 86px; height: 86px; color: var(--gold); margin: 0 auto 10px; display: block; }
.final h2 { color: var(--parchment); font-size: clamp(2.4rem, 5.4vw, 4rem); }
.final p { font-size: 1.2rem; color: var(--sage); }
.final .kicker { color: var(--gold); }
.final-quote { margin: 2rem auto 2.4rem; max-width: 640px; }
.final-quote p { font: italic 500 1.35rem/1.45 var(--serif); color: var(--parchment); margin-bottom: .6rem; }
.final-quote cite { font: 700 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-style: normal; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: rgba(243, 236, 221, .78); padding-block: 64px 28px; font-size: 1rem; }
.site-footer a { color: var(--sage); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--line-light); }
.brand-footer { margin-bottom: 18px; color: var(--parchment); }
.footer-h { font: 700 .78rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-blog { display: inline-block; white-space: nowrap; }
.footer-lang { flex-wrap: wrap; color: var(--parchment); }
.footer-bottom { padding-top: 22px; font-size: .88rem; color: rgba(243, 236, 221, .55); }
.site-footer .fineprint { color: rgba(243, 236, 221, .55); }
.self-note { margin: 10px 0 0; color: var(--sage); }
.self-note::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--sage); vertical-align: 1px; }

/* ---------- Sticky CTA (mobil) ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: none; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 16px;
  background: rgba(30, 25, 27, .95); color: var(--parchment); box-shadow: var(--shadow-lg); backdrop-filter: blur(8px);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.sticky-cta img { width: 32px; height: auto; border-radius: 2px; }
.sticky-cta span { flex: 1; font: 600 .98rem/1.2 var(--serif); }
.sticky-cta.is-visible { transform: none; }

/* Schriftzug aus dem Buchcover als Maske – der Text bleibt echter HTML-Text */
@supports ((mask-image: url("x.png")) or (-webkit-mask-image: url("x.png"))) {
  .h1-main[style*="--ratio"], .h1-pre[style*="--ratio"], .brand-script[style*="--ratio"], .brand-small[style*="--ratio"] {
    display: block; color: transparent; -webkit-text-fill-color: transparent;
    -webkit-background-clip: border-box; background-clip: border-box;
    -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: left center; mask-position: left center;
    aspect-ratio: var(--ratio); overflow: hidden; white-space: nowrap; user-select: none;
  }
  .h1-main[style*="--ratio"] {
    --h: clamp(92px, 12.5vw, 158px);
    width: min(100%, calc(var(--h) * var(--ratio))); height: auto; padding: 0; margin: .18em 0 .28em -.02em;
    font-size: calc(var(--h) * .62); line-height: 1;
    background-image: linear-gradient(175deg, #fbe7bd 5%, var(--gold) 50%, #b27a38 100%);
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35));
  }
  .h1-pre[style*="--ratio"] {
    --h: clamp(42px, 5.75vw, 72px);
    width: min(100%, calc(var(--h) * var(--ratio))); height: auto; margin: 0 0 -.1em;
    font-size: calc(var(--h) * .5); line-height: 1; letter-spacing: 0; text-transform: none;
    background: var(--sage);
  }
  .brand-small[style*="--ratio"] {
    --h: 17px; width: calc(var(--h) * var(--ratio)); height: auto; margin-bottom: 1px;
    font-size: 11px; line-height: 1; letter-spacing: 0; text-transform: none; background: var(--sage);
  }
  .brand-script[style*="--ratio"] {
    --h: 34px; width: calc(var(--h) * var(--ratio)); height: auto; margin-top: 3px;
    font-size: 22px; line-height: 1; background: var(--parchment);
  }
}

/* ---------- Einblend-Animationen ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 120ms); }
.js [data-reveal="left"] { transform: translateX(-56px); }
.js [data-reveal="right"] { transform: translateX(56px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Rechtliche Seiten ---------- */
.legal-page body { background: var(--paper); }
.legal { padding-top: calc(var(--header-h) + 48px); padding-bottom: 80px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-top: 1rem; }
.legal-body h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal-body ul { padding-left: 1.2em; }
.legal-body li { margin-bottom: .4em; }
.legal-note { background: var(--parchment); border-left: 3px solid var(--gold); padding: 10px 14px; border-radius: 6px; }
.legal-nav { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal-page .site-header { background: var(--ink-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav { gap: 16px; }
  .header-cta { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: grid; place-items: center; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(30, 25, 27, .98); padding: 8px clamp(16px, 4vw, 40px) 24px; border-top: 1px solid var(--line-light);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .3s, visibility .3s;
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav > a { padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line-light); }
  .main-nav > a::after { display: none; }
  .nav-lang { border: 0; padding: 16px 0 0; margin: 0; }
  .site-header.menu-open { background: rgba(30, 25, 27, .98); }
  .hero { padding-bottom: 120px; }
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-book { order: -1; }
  .book3d { --T: calc(min(170px, 42vw) * .1); width: min(170px, 42vw); }
  .hero-book { margin-top: 4px; }
  .book3d-shadow { bottom: -22px; }
  .hero::before { background: linear-gradient(180deg, rgba(24, 19, 21, .55), rgba(24, 19, 21, .8) 45%, rgba(24, 19, 21, .45)); }
  .grid-2, .reviews-grid, .sample-grid { grid-template-columns: 1fr; }
  .sample-art { position: static; max-width: 420px; margin: 0 auto; }
  .benefit-grid, .format-grid { grid-template-columns: 1fr 1fr; }
  .columns-3 { grid-template-columns: 1fr; gap: 36px; }
  .blog-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .sticky-cta { display: flex; }
  .timeline { margin-top: 12px; }
}
@media (max-width: 640px) {
  body { font-size: 1.06rem; }
  .brand-script[style*="--ratio"] { --h: 28px; }
  .js [data-reveal="left"] { transform: translateX(-24px); }
  .js [data-reveal="right"] { transform: translateX(24px); }
  .brand-small { font-size: .62rem; }
  .hero { padding-top: calc(var(--header-h) + 8px); }
  .eyebrow { font-size: .75rem; letter-spacing: .18em; }
  .pains, .benefit-grid, .format-grid { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .brand-script { font-size: 1.6rem; }
  .brand-laurel { width: 32px; height: 32px; }
  .market-bars li { grid-template-columns: 84px 1fr auto; font-size: .88rem; }
  .rating-panel { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 110px; }
  .scroll-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .book3d { animation: none; }
}
