/* ==========================================================================
   Die 100 Fragen des Lebens · Landingpage
   Editorial-Luxus: Marmor, Kalligrafie, warme Naturtöne
   ========================================================================== */

/* ---------- Fonts (lokal, OFL-Lizenz) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-400i-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-400i-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-500i-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-500i-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/cormorant-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/cormorant-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Web-Ersatz für Apple Chancery (nur für Besucher ohne Apple-Gerät) */
@font-face {
  font-family: "Charm";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/charm-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Charm";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/charm-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design-Tokens ---------- */
:root {
  --bg:        #f6f2ea;
  --bg-alt:    #fbf9f4;
  --ink:       #2b2825;
  --ink-soft:  #6b645c;
  --gold:      #a8853b;
  --gold-soft: #c4a869;
  --line:      #d8d0c2;
  --serif:     "Cormorant Garamond", Georgia, serif;
  --script:    "Apple Chancery", "Charm", cursive; /* wie im Buch; Charm = Web-Ersatz */
  --maxw:      1180px;
  --shadow:    0 24px 60px rgba(60, 50, 35, 0.14);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(17px, 1.15vw + 12px, 20px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-weight: 500; line-height: 1.15; margin: 0; }

p { margin: 0; }

a { color: inherit; }

::selection { background: rgba(168, 133, 59, 0.22); }

/* ---------- Ornament: Linie ◆ Linie ---------- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 26px auto;
  width: min(240px, 60%);
}
.ornament span {
  flex: 1;
  height: 1px;
  background: linear-gradient(to var(--orn-dir, right), transparent, var(--gold-soft));
}
.ornament span:last-child { --orn-dir: left; }
.ornament i {
  font-style: normal;
  font-size: 11px;
  color: var(--gold);
  transform: translateY(-1px);
}

/* ---------- Kicker ---------- */
.kicker {
  font-size: 0.72em;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(246, 242, 234, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(216, 208, 194, 0.55);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wordmark {
  text-decoration: none;
  font-size: 1.05em;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lang-switch { display: flex; align-items: center; gap: 10px; }
.lang-sep { color: var(--line); }
.lang-btn {
  appearance: none;
  background: none;
  border: none;
  padding: 4px 2px;
  font-family: var(--serif);
  font-size: 0.92em;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.is-active {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

/* ---------- Sektionen allgemein ---------- */
section { padding: clamp(72px, 9vw, 130px) 28px; }

.section-head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  letter-spacing: 0.02em;
}
.section-lead {
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.02em;
}

/* ---------- Hero ---------- */
.hero {
  min-height: min(100svh, 940px);
  display: flex;
  align-items: center;
  padding-top: clamp(110px, 14vw, 160px);
  position: relative;
  background:
    radial-gradient(1100px 600px at 85% 8%, rgba(255, 255, 255, 0.75), transparent 65%),
    var(--bg);
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.hero-text { text-align: left; }
.hero-text .ornament { margin-left: 0; width: 220px; }
.hero-script {
  font-family: var(--script);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  color: var(--gold);
  line-height: 1.15;
  margin-bottom: 6px;
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 500;
  letter-spacing: 0.015em;
}
.hero h1 .num {
  font-weight: 600;
  font-size: 1.12em;
  color: var(--ink);
  font-variant-numeric: lining-nums;
}
.hero-subtitle {
  font-style: italic;
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.hero-lead {
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.hero-figure {
  margin: 0;
  position: relative;
}
.hero-figure img {
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  z-index: -1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  font-family: var(--serif);
  letter-spacing: 0.08em;
  padding: 15px 34px;
  border-radius: 2px;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg-alt);
  border: 1px solid var(--ink);
}
.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(60, 50, 35, 0.22);
}
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  padding-top: 22px;
  padding-bottom: 22px;
  justify-content: center;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-badge {
  font-size: 0.62em;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-soft);
  display: none;
}
/* Deaktiviert (kein Amazon-Link hinterlegt) */
.btn[aria-disabled="true"] {
  cursor: default;
  pointer-events: none;
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn[aria-disabled="true"] .btn-badge { display: block; }

/* ---------- Zitatband ---------- */
.quote-band {
  background:
    linear-gradient(rgba(251, 249, 244, 0.82), rgba(251, 249, 244, 0.82)),
    url("../assets/img/papier.jpg") center/cover;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.quote-band blockquote {
  margin: 0 auto;
  max-width: 820px;
}
.quote-band p {
  font-family: var(--script);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.5;
  color: var(--ink);
}

/* ---------- Blick ins Buch ---------- */
.inside { background: var(--bg); }
.inside-figure {
  max-width: 980px;
  margin: clamp(40px, 5vw, 64px) auto;
}
.inside-figure img {
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.features {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--maxw);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 44px);
  text-align: center;
}
.features h3 {
  font-size: 1.28em;
  margin-bottom: 10px;
  position: relative;
  padding-top: 22px;
}
.features h3::before {
  content: "◆";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: var(--gold);
}
.features p {
  color: var(--ink-soft);
  font-size: 0.92em;
}

/* ---------- Beispiel-Fragen ---------- */
.questions {
  background:
    linear-gradient(rgba(251, 249, 244, 0.88), rgba(251, 249, 244, 0.88)),
    url("../assets/img/papier.jpg") center/cover;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.question-list {
  list-style: none;
  margin: clamp(30px, 4vw, 50px) auto 0;
  padding: 0;
  max-width: 780px;
  counter-reset: frage;
  text-align: center;
}
.question-list li {
  counter-increment: frage;
  padding: clamp(26px, 3.4vw, 40px) 0;
  position: relative;
}
.question-list li + li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-soft), transparent);
}
.question-list p {
  font-family: var(--script);
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  line-height: 1.55;
  color: var(--ink);
}
.questions-more {
  text-align: center;
  margin-top: clamp(28px, 3vw, 42px);
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- Kapitel ---------- */
.chapters { background: var(--bg); }
.chapter-list {
  list-style: none;
  margin: clamp(36px, 4vw, 56px) auto 0;
  padding: 0;
  max-width: var(--maxw);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(18px, 2vw, 28px);
}
.chapter-list li {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 34px 22px 30px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.chapter-list li:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold-soft);
}
.chapter-num {
  display: block;
  font-size: 1.15em;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 14px;
}
.chapter-list h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
}
.chapter-list p {
  color: var(--ink-soft);
  font-size: 0.85em;
  line-height: 1.55;
}

/* ---------- Ausgaben ---------- */
.editions {
  background:
    linear-gradient(rgba(251, 249, 244, 0.9), rgba(251, 249, 244, 0.9)),
    url("../assets/img/papier.jpg") center/cover;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.edition-grid {
  max-width: 1020px;
  margin: clamp(36px, 4vw, 56px) auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 3.4vw, 48px);
}
.edition-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.edition-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.edition-card figure {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.edition-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.edition-card:hover figure img { transform: scale(1.04); }
.edition-body {
  padding: 30px 30px 34px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.edition-body h3 { font-size: 1.7em; }
.edition-tagline {
  font-style: italic;
  color: var(--ink-soft);
  margin: 6px 0 18px;
}
.edition-specs {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.9em;
}
.edition-specs li { padding: 4px 0; }
.edition-specs li + li { border-top: 1px solid rgba(216, 208, 194, 0.5); }
.edition-body .btn { margin-top: auto; }

/* ---------- Autor ---------- */
.author { background: var(--bg); }
.author-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.portrait-ring {
  width: 176px;
  height: 176px;
  margin: 0 auto 26px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portrait {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.author h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.author-name {
  font-family: var(--script);
  font-size: 1.9rem;
  color: var(--gold);
  margin: 4px 0 18px;
}
.author-bio { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 28px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85em;
  letter-spacing: 0.06em;
}
.footer-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.footer-links a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold-soft);
}

/* ---------- Rechtliches (rechtliches.html) ---------- */
.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(120px, 16vw, 170px) 28px 60px;
}
.legal-block { padding: 0 0 clamp(48px, 6vw, 72px); }
.legal-block .section-head h1 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 500;
}
.legal-text {
  color: var(--ink-soft);
  font-size: 0.95em;
}
.legal-text h2 {
  color: var(--ink);
  font-size: 1.2em;
  margin: 30px 0 8px;
}
.legal-text p { margin: 0 0 14px; }
.legal-text address { font-style: normal; }
.legal-text a { color: var(--gold); text-decoration: none; }
.legal-text a:hover { text-decoration: underline; }
.legal-stand { margin-top: 26px; font-style: italic; }
.legal-back { text-align: center; margin: 10px 0 0; }

/* ---------- Scroll-Reveals ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Reduzierte Bewegung / kein JS ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn, .edition-card, .chapter-list li, .edition-card figure img { transition: none; }
}
/* Ohne JS bleibt alles sichtbar (JS setzt .js-enabled) */
html:not(.js-enabled) .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-text { text-align: center; }
  .hero-text .ornament { margin-left: auto; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-figure { max-width: 560px; margin: 0 auto; }
  .features { grid-template-columns: 1fr 1fr; }
  .chapter-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  section { padding-left: 20px; padding-right: 20px; }
  .header-inner { padding: 13px 20px; }
  .wordmark { font-size: 0.95em; }
  .features { grid-template-columns: 1fr; }
  .chapter-list { grid-template-columns: 1fr; max-width: 420px; }
  .edition-grid { grid-template-columns: 1fr; max-width: 460px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
