/* ============================================================
   THE SELF-HEALING JOURNAL — V3 "Quiet Motion"
   Palette & Typografie aus V2 übernommen (markenbildend).
   3D: CSS-3D-Buch + Monats-Karussell · Three.js Papierstaub
   ============================================================ */

:root {
  color-scheme: light;
  --ink: #2a2a28;
  --ink-soft: #4a4a47;
  --soft: #786f63;
  --soft-2: #9a9388;
  --line: #d8d3c9;
  --bg: #faf6ec;
  --bg-2: #f5f0e3;
  --bg-3: #efe7d4;
  --cream: #ffffff;
  --max: 1180px;
  --ease: cubic-bezier(.22, .8, .3, 1);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  font-family: 'Lora', 'Cormorant Garamond', Georgia, serif;
  background: var(--bg);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; position: relative; }

::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 10px 18px;
  font-size: 12px; letter-spacing: .12em; border-radius: 0 0 4px 4px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* Atmosphere canvas (Three.js dust) */
#dust {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

main, header.top, footer { position: relative; z-index: 1; }

/* Scroll progress hairline */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 90; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: var(--ink); transform-origin: 0 50%;
  transform: scaleX(0);
}

/* Wordmark */
.wordmark {
  letter-spacing: 0.24em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--soft);
  font-weight: 500;
  white-space: nowrap;
}

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
header.top {
  padding: 24px 0 18px;
  border-bottom: 1px solid transparent;
  position: sticky; top: 0; z-index: 80;
  background: rgba(250, 246, 236, .85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  transition: border-color .4s ease, background .4s ease, padding .4s ease;
}
header.top.scrolled { border-bottom-color: var(--line); padding: 16px 0 14px; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
nav.top-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; color: var(--soft); }
nav.top-nav a { position: relative; transition: color .25s ease; }
nav.top-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .35s var(--ease);
}
nav.top-nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: 0 50%; }
nav.top-nav a:hover { color: var(--ink); }
.nav-cta {
  padding: 9px 18px; border: 1px solid var(--ink); border-radius: 999px;
  color: var(--ink); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  transition: background .25s ease, color .25s ease;
}
.nav-cta:hover { background: var(--ink); color: var(--bg); }

/* Burger */
.burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 34px; position: relative; z-index: 130;
}
.burger span {
  position: absolute; left: 7px; right: 7px; height: 1.5px;
  background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease);
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 20px; }
.burger.open span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { top: 16px; transform: rotate(-45deg); }

/* Bei offenem Menü muss der Header (mit Burger/X) über dem Overlay liegen */
body.menu-open header.top {
  z-index: 130;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 120;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .4s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.mobile-menu nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; color: var(--ink);
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mobile-menu.open nav a { opacity: 1; transform: none; }
.mobile-menu nav a:nth-child(1) { transition-delay: .05s; }
.mobile-menu nav a:nth-child(2) { transition-delay: .1s; }
.mobile-menu nav a:nth-child(3) { transition-delay: .15s; }
.mobile-menu nav a:nth-child(4) { transition-delay: .2s; }
.mobile-menu nav a:nth-child(5) { transition-delay: .25s; }
.mobile-menu nav a.nav-cta { font-family: 'Lora', serif; font-size: 12px; transition-delay: .3s; }

@media (max-width: 860px) {
  nav.top-nav { display: none; }
  .burger { display: block; }
}

/* ------------------------------------------------------------
   Shared type & buttons
   ------------------------------------------------------------ */
.section-eyebrow {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--soft); margin-bottom: 22px; text-align: center;
}
.section-eyebrow.left { text-align: left; }
h2.section-title, .section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4.8vw, 62px); font-weight: 400; letter-spacing: -0.01em;
  text-align: center; max-width: 820px; margin: 0 auto 24px; line-height: 1.1;
  color: var(--ink);
}
.section-title em { font-style: italic; }
.section-title.left { text-align: left; margin-left: 0; }
.section-sub {
  text-align: center; color: var(--ink-soft); font-size: 17px; max-width: 600px;
  margin: 0 auto 60px; line-height: 1.7;
}
.sep {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin: 22px auto; color: var(--soft);
}
.sep::before, .sep::after { content: ""; flex: 0 0 60px; height: 1px; background: var(--line); }
.sep span { font-size: 11px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 999px; cursor: pointer; border: none; font-family: inherit;
  transition: background .25s ease, color .25s ease, transform .3s var(--ease), box-shadow .3s ease;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: #18181a; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(42,42,40,.16); }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }

section { padding: 120px 0; position: relative; }

/* ------------------------------------------------------------
   Reveal system
   ------------------------------------------------------------ */
/* Ausgangszustände nur mit JS (html.js) — ohne JS bleibt alles sichtbar */
.reveal {
  transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
html.js .reveal { opacity: 0; transform: translateY(28px); }
html.js .reveal.in { opacity: 1; transform: none; }

[id] { scroll-margin-top: 84px; }

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
section.hero {
  padding: 90px 0 120px;
  border-bottom: 1px solid var(--line);
  min-height: calc(100vh - 80px);
  display: flex; align-items: center;
}
section.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 80px; align-items: center;
  width: 100%;
}
.hero-eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--soft); margin-bottom: 26px;
}
h1.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(46px, 6.5vw, 86px); font-weight: 400; line-height: 1.04;
  letter-spacing: -0.005em; color: var(--ink);
}
h1.hero-title em { font-style: italic; }
h1.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
h1.hero-title .line > span {
  display: block;
  transition: transform 1.1s var(--ease);
}
html.js h1.hero-title .line > span { transform: translateY(110%); }
h1.hero-title.in .line:nth-child(1) > span { transition-delay: .1s; }
h1.hero-title.in .line:nth-child(2) > span { transition-delay: .22s; }
h1.hero-title.in .line:nth-child(3) > span { transition-delay: .34s; }
html.js h1.hero-title.in .line > span { transform: translateY(0); }
.hero-sub {
  font-size: 18px; color: var(--ink-soft); margin: 32px 0 38px;
  max-width: 500px; line-height: 1.7;
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-meta { font-size: 13px; color: var(--soft); letter-spacing: 0.02em; line-height: 1.7; }
.hero-copy .reveal { --d: .5s; }
.hero-copy .hero-eyebrow.reveal { --d: 0s; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 1px; height: 54px; overflow: hidden;
}
.scroll-hint span {
  position: absolute; left: 0; top: 0; width: 1px; height: 100%;
  background: var(--soft);
  animation: hint 2.4s var(--ease-soft) infinite;
}
@keyframes hint {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ---------- 3D BOOK ---------- */
.hero-stage { display: flex; justify-content: center; }
.book-scene {
  --bw: clamp(230px, 24vw, 310px);
  --bh: calc(var(--bw) * 4 / 3);
  --bt: calc(var(--bw) * .13);
  position: relative;
  width: var(--bw); height: var(--bh);
  perspective: 1600px;
}
.book3d {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateY(-24deg) rotateX(4deg);
  will-change: transform;
}
.book3d .face { position: absolute; backface-visibility: hidden; }
.book3d .front, .book3d .back {
  inset: 0;
  border-radius: 3px 8px 8px 3px;
  overflow: hidden;
  background: var(--bg-3);
}
.book3d .front { transform: translateZ(calc(var(--bt) / 2)); }
.book3d .front img { width: 100%; height: 100%; object-fit: cover; }
.book3d .front::after {
  /* hardcover light sweep + hinge groove */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(255,255,255,0) 20%, rgba(255,255,255,.16) 42%, rgba(255,255,255,0) 60%),
    linear-gradient(90deg, rgba(42,42,40,.14) 0, rgba(42,42,40,0) 3.5%);
  pointer-events: none;
}
.book3d .back {
  transform: rotateY(180deg) translateZ(calc(var(--bt) / 2));
  border-radius: 8px 3px 3px 8px;
  background: linear-gradient(120deg, #efe9da, #e6dfcc);
  display: flex; align-items: center; justify-content: center;
}
.back-mark {
  font-size: 9px; letter-spacing: .3em; color: var(--soft);
  text-transform: uppercase; opacity: .7;
}
.book3d .spine {
  width: var(--bt); height: 100%;
  left: calc(50% - var(--bt) / 2); top: 0;
  transform: rotateY(-90deg) translateZ(calc(var(--bw) / 2));
  background: linear-gradient(180deg, #ece5d3, #ddd4bd);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
}
.book3d .spine span {
  writing-mode: vertical-rl;
  font-size: calc(var(--bw) * .028); letter-spacing: .34em;
  color: var(--soft); text-transform: uppercase;
  white-space: nowrap;
}
.book3d .edge-right {
  width: var(--bt); height: calc(100% - 10px);
  left: calc(50% - var(--bt) / 2); top: 5px;
  transform: rotateY(90deg) translateZ(calc(var(--bw) / 2 - 2px));
  background:
    repeating-linear-gradient(90deg, #fdfbf4 0 2px, #eae4d4 2px 3px);
  box-shadow: inset 0 0 12px rgba(42,42,40,.08);
}
.book3d .edge-top, .book3d .edge-bottom {
  width: calc(100% - 4px); height: var(--bt);
  left: 2px;
  background: repeating-linear-gradient(0deg, #fdfbf4 0 2px, #eae4d4 2px 3px);
}
.book3d .edge-top { top: calc(var(--bt) / -2 + var(--bt) / 2); transform: rotateX(90deg) translateZ(calc(var(--bh) / 2)); top: calc(50% - var(--bt) / 2); }
.book3d .edge-bottom { top: calc(50% - var(--bt) / 2); transform: rotateX(-90deg) translateZ(calc(var(--bh) / 2)); }
.book-shadow {
  position: absolute; left: 50%; bottom: calc(var(--bh) * -0.12);
  width: 88%; height: 34px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(42,42,40,.28), rgba(42,42,40,0) 68%);
  filter: blur(6px);
  will-change: transform, opacity;
}

@media (max-width: 900px) {
  section.hero { padding: 56px 0 90px; min-height: 0; }
  section.hero .wrap { grid-template-columns: 1fr; gap: 70px; }
  .hero-stage { order: 2; }
  .book-scene { --bw: min(58vw, 250px); }
}

/* ------------------------------------------------------------
   ESSENCE
   ------------------------------------------------------------ */
section.essence { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.essence-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px;
  max-width: 1000px; margin: 0 auto;
}
.essence-card { text-align: center; }
.essence-card:nth-child(2) { --d: .12s; }
.essence-card:nth-child(3) { --d: .24s; }
.essence-card .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-style: italic; color: var(--soft); margin-bottom: 18px;
}
.essence-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 400; font-style: italic; margin-bottom: 16px;
  color: var(--ink);
}
.essence-card p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 720px) { .essence-grid { grid-template-columns: 1fr; gap: 50px; } }

/* ------------------------------------------------------------
   MANIFESTO — lines write themselves in
   ------------------------------------------------------------ */
section.manifesto { padding: 130px 0; background: var(--bg-3); text-align: center; }
section.manifesto p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.6vw, 30px); line-height: 1.5; color: var(--ink);
  max-width: 620px; margin: 0 auto;
}
section.manifesto p + p { margin-top: 18px; }
section.manifesto .signature {
  margin-top: 50px; font-style: italic; font-size: 18px; color: var(--soft);
}
.m-line {
  transition: opacity 1.1s var(--ease-soft), transform 1.1s var(--ease-soft), filter 1.1s var(--ease-soft);
}
html.js .m-line { opacity: 0; transform: translateY(24px); filter: blur(4px); }
html.js .m-line.in { opacity: 1; transform: none; filter: blur(0); }

/* ------------------------------------------------------------
   MONTHS — 3D carousel (scroll-driven, pinned)
   Fallback ohne JS / reduced motion: ruhiges Grid
   ------------------------------------------------------------ */
section.months { padding: 0; }
.months-pin { padding: 120px 0; }
.months-stage { position: relative; }

.carousel {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  max-width: var(--max); margin: 0 auto; padding: 0 32px;
}
.c-item { text-align: center; margin: 0; }
.c-item img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px;
  box-shadow: 0 8px 20px rgba(42,42,40,.10), 0 2px 6px rgba(42,42,40,.05);
}
.c-item figcaption {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 20px; color: var(--ink); margin-top: 14px;
}
.carousel-ui { display: none; }
@media (max-width: 900px) { .carousel { grid-template-columns: repeat(2, 1fr); gap: 30px; } }

/* --- enhanced: pinned 3D orbit (desktop, motion ok) --- */
body.m3d .months-pin { padding: 0; height: 380vh; }
body.m3d .months-stage {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: clip;
}
body.m3d .months-stage .section-sub { margin-bottom: 30px; }
body.m3d .carousel-viewport {
  perspective: 1500px;
  height: min(46vh, 400px);
  position: relative;
  margin-top: 10px;
}
body.m3d .carousel {
  display: block; position: absolute; inset: 0;
  transform-style: preserve-3d;
  padding: 0; max-width: none;
  will-change: transform;
}
body.m3d .c-item {
  position: absolute;
  --cw: clamp(150px, 17vh, 220px);
  width: var(--cw);
  left: calc(50% - var(--cw) / 2);
  top: calc(50% - var(--cw) * 2 / 3);
  backface-visibility: hidden;
  will-change: transform, opacity;
}
body.m3d .c-item img { box-shadow: 0 18px 40px rgba(42,42,40,.16), 0 4px 10px rgba(42,42,40,.08); }
body.m3d .c-item figcaption { opacity: 0; transition: opacity .4s ease; }
body.m3d .c-item.active figcaption { opacity: 1; }
body.m3d .carousel-ui {
  display: flex; align-items: center; justify-content: center; gap: 26px;
  margin-top: 34px;
}
.c-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  font-size: 16px; cursor: pointer;
  transition: border-color .25s ease, background .25s ease, color .25s ease, transform .25s var(--ease);
}
.c-btn:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.c-label { text-align: center; min-width: 150px; }
.c-month {
  display: block; font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 30px; line-height: 1.1; color: var(--ink);
}
.c-count { display: block; font-size: 11px; letter-spacing: .22em; color: var(--soft); margin-top: 6px; }

/* --- enhanced: mobile snap-row --- */
body.mrow .carousel {
  display: flex; gap: 18px; overflow-x: auto; padding: 10px 32px 26px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
body.mrow .carousel::-webkit-scrollbar { display: none; }
body.mrow .c-item {
  flex: 0 0 58vw; max-width: 240px; scroll-snap-align: center;
  transition: transform .4s var(--ease);
}
body.mrow .carousel-ui { display: none; }

/* ------------------------------------------------------------
   INSIDE
   ------------------------------------------------------------ */
section.inside { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.inside-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  max-width: var(--max); margin: 0 auto;
  perspective: 1200px;
}
.inside-card {
  transform-style: preserve-3d;
  transition: opacity 1s var(--ease-soft), transform 1s var(--ease-soft);
  transition-delay: var(--d, 0s);
}
html.js .inside-card {
  opacity: 0;
  transform: rotateY(-14deg) rotateZ(var(--rz, -4deg)) translateY(46px);
}
.inside-card:nth-child(1) { --rz: -5deg; --d: 0s; }
.inside-card:nth-child(2) { --rz: 3deg; --d: .12s; }
.inside-card:nth-child(3) { --rz: -3deg; --d: .24s; }
.inside-card:nth-child(4) { --rz: 5deg; --d: .36s; }
html.js .inside-grid.in .inside-card { opacity: 1; transform: none; }
.inside-card img {
  border-radius: 3px;
  box-shadow: 0 6px 16px rgba(42,42,40,.08);
  transition: transform .5s var(--ease), box-shadow .5s ease;
}
.inside-card:hover img {
  transform: translateY(-6px) rotateX(3deg);
  box-shadow: 0 18px 34px rgba(42,42,40,.14);
}
.inside-card .caption { margin-top: 16px; text-align: center; }
.inside-card .caption .l1 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 17px; color: var(--ink);
}
.inside-card .caption .l2 {
  font-size: 11px; letter-spacing: 0.16em; color: var(--soft);
  text-transform: uppercase; margin-top: 4px;
}
@media (max-width: 760px) { .inside-grid { grid-template-columns: 1fr 1fr; gap: 18px; } }

/* ------------------------------------------------------------
   THE TWELVE TONES (palette)
   ------------------------------------------------------------ */
section.tones { background: var(--bg-3); border-top: 1px solid var(--line); }
.tone-grid {
  list-style: none; margin: 56px auto 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 36px 16px;
  max-width: 900px;
}
.tone-grid li { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.tone-dot {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--tone); border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(42,42,40,.07);
  transition: transform .45s var(--ease);
}
.tone-grid li:hover .tone-dot { transform: translateY(-4px) scale(1.06); }
.tone-month {
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--soft);
}
@media (max-width: 760px) { .tone-grid { grid-template-columns: repeat(4, 1fr); gap: 28px 12px; } }
@media (max-width: 480px) { .tone-grid { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------------------
   EDITIONS
   ------------------------------------------------------------ */
section.editions { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.editions-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  max-width: 1240px; margin: 0 auto;
}
.edition {
  background: var(--cream); border: 1px solid var(--line); border-radius: 4px;
  padding: 44px 32px; display: flex; flex-direction: column; position: relative;
  transition: border-color .3s ease, transform .45s var(--ease), box-shadow .45s ease,
              opacity .9s var(--ease-soft);
}
html.js .edition.reveal { transform: translateY(28px); }
html.js .edition.reveal.in { transform: none; }
.edition:hover { border-color: var(--ink); transform: translateY(-6px); box-shadow: 0 24px 48px rgba(42,42,40,.10); }
.edition.featured { border-color: var(--ink); border-width: 1.5px; --d: .12s; }
.edition.featured::before {
  content: 'arrives first'; position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%); background: var(--ink); color: var(--bg);
  font-size: 10px; padding: 6px 16px; letter-spacing: 0.2em; text-transform: uppercase; border-radius: 999px;
}
.edition-name {
  font-family: 'Cormorant Garamond', serif;
  text-align: center; font-style: italic; font-size: 30px; margin-bottom: 8px; font-weight: 400;
}
.edition-tagline {
  text-align: center; color: var(--soft); font-size: 12px; margin-bottom: 24px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.edition-price {
  font-family: 'Cormorant Garamond', serif;
  text-align: center; font-size: 48px; font-weight: 400; margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.edition-price-note {
  text-align: center; font-size: 12px; color: var(--soft); margin-bottom: 28px;
  letter-spacing: 0.05em;
}
.edition-list {
  list-style: none; margin: 0 0 32px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0;
}
.edition-list li {
  /* Hängender Punkt ohne Flexbox: Flex würde inline-Kinder (<em>) blockifizieren
     und den Satz in eigenständig umbrechende Flex-Items zerreißen. */
  padding: 6px 0 6px 18px; text-indent: -18px; font-size: 14.5px; color: var(--ink-soft);
}
.edition-list li::before {
  content: '·'; color: var(--soft); font-weight: 700; font-size: 18px; line-height: 1;
  display: inline-block; width: 18px; text-indent: 0;
}
.edition .btn { margin-top: auto; align-self: center; }
.bundle-note {
  text-align: center; color: var(--ink-soft); font-size: 14px;
  max-width: 600px; margin: 60px auto 0; line-height: 1.7;
}
@media (max-width: 1020px) { .editions-grid { grid-template-columns: 1fr; gap: 30px; max-width: 560px; } .edition { padding: 44px 36px; } }

/* ------------------------------------------------------------
   ABOUT
   ------------------------------------------------------------ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  max-width: 1000px; margin: 0 auto;
}
.about-text p { color: var(--ink-soft); margin-top: 22px; font-size: 16px; line-height: 1.8; }
.about-text .signature {
  margin-top: 32px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 22px; color: var(--ink);
}
.about-photo {
  aspect-ratio: 1; background: var(--bg-3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  max-width: 360px; margin: 0 auto; width: 100%;
}
.about-photo span {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 96px; color: var(--soft);
}
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 220px; }
}

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
section.faq-section { background: var(--bg-2); border-top: 1px solid var(--line); }
.faq-list { max-width: 760px; margin: 0 auto; }
details.faq { border-bottom: 1px solid var(--line); padding: 24px 0; }
details.faq summary {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 20px; font-weight: 500; color: var(--ink); cursor: pointer;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: '+'; font-size: 26px; color: var(--soft); transition: transform .35s var(--ease);
  font-weight: 300; flex: 0 0 auto;
}
details.faq[open] summary::after { transform: rotate(45deg); }
.faq-body { overflow: hidden; }
.faq-body p {
  color: var(--ink-soft); padding-top: 18px; font-size: 15.5px; line-height: 1.75;
  max-width: 680px;
}

/* ------------------------------------------------------------
   FINAL CTA
   ------------------------------------------------------------ */
section.cta-final {
  background: var(--ink); color: var(--bg);
  padding: 130px 0; text-align: center;
  overflow: clip;
}
section.cta-final .section-eyebrow { color: rgba(250,246,236,.5); }
section.cta-final .section-title { color: var(--bg); }
section.cta-final .btn-primary { background: var(--bg); color: var(--ink); }
section.cta-final .btn-primary:hover { background: #fff; }
section.cta-final .btn-secondary { color: var(--bg); border-color: rgba(250,246,236,.6); }
section.cta-final .btn-secondary:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.cta-final .wrap { position: relative; z-index: 2; }

/* slow orbit of tiny covers behind the CTA */
.cta-ring {
  position: absolute; left: 50%; top: 50%;
  width: 900px; height: 900px; margin: -450px 0 0 -450px;
  z-index: 1; opacity: .14; pointer-events: none;
  animation: ringspin 90s linear infinite;
}
.cta-ring img {
  position: absolute; width: 64px; border-radius: 2px;
  left: calc(50% - 32px); top: calc(50% - 43px);
}
@keyframes ringspin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
footer {
  padding: 60px 0 36px; border-top: 1px solid var(--line);
  background: var(--bg-3); color: var(--ink-soft);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
footer h4 {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500; margin-bottom: 20px; color: var(--ink);
}
footer ul { list-style: none; }
footer ul li { padding: 4px 0; font-size: 14px; }
footer ul li a { color: var(--ink-soft); transition: color .2s ease; }
footer ul li a:hover { color: var(--ink); }
footer .brand-block p { font-size: 14px; line-height: 1.7; margin-top: 18px; color: var(--soft); max-width: 320px; }
footer .legal {
  border-top: 1px solid var(--line); margin-top: 50px; padding-top: 24px;
  font-size: 12px; color: var(--soft);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ------------------------------------------------------------
   Reduced motion — Pflicht
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  #dust, .scroll-hint, .cta-ring, .scroll-progress { display: none; }
  .reveal, .m-line, .inside-card, h1.hero-title .line > span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .inside-grid .inside-card { opacity: 1; transform: none; }
  .book3d { transform: rotateY(-24deg) rotateX(4deg) !important; }
}
