/* ============================================================
   FABELKIND — Landingpage
   Warm, handgemacht, vertrauensvoll. Keine Standard-Templates.
   ============================================================ */

:root {
  --paper:      #FBF7EF;
  --paper-deep: #F3EBDD;
  --card:       #FFFFFF;
  --ink:        #2E2418;
  --ink-soft:   #6E5F4E;
  --line:       #EAE0CE;

  --terra:      #D96E48;
  --terra-dark: #C05A36;
  --terra-soft: #F8E3D6;

  --sage:       #64805F;
  --sage-soft:  #E9EFE3;

  --gold:       #D9A441;
  --night:      #2A2E4F;
  --night-deep: #222642;

  --font-display: "Baloo 2", "Nunito Sans", system-ui, sans-serif;
  --font-serif:   "Fraunces", Georgia, serif;
  --font-body:    "Nunito Sans", system-ui, sans-serif;
  --font-hand:    "Caveat", cursive;

  --radius: 24px;
  --radius-sm: 16px;
  --shadow-soft: 0 2px 6px rgba(70, 50, 20, .05), 0 14px 40px rgba(70, 50, 20, .09);
  --shadow-lift: 0 4px 10px rgba(70, 50, 20, .07), 0 22px 60px rgba(70, 50, 20, .14);
}

/* ---------- Reset & Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--terra-soft); color: var(--ink); }
:focus-visible { outline: 3px solid rgba(217, 110, 72, .55); outline-offset: 2px; border-radius: 6px; }
.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;
}

/* Papierkorn über allem — macht Flächen lebendig */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.38 0 0 0 0 0.28 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: min(1140px, 100% - 48px); margin-inline: auto; }
.section { padding-block: clamp(70px, 9vw, 112px); }

/* ---------- Typo-Bausteine ---------- */
.kicker {
  display: block;
  font-family: var(--font-hand);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--terra);
  margin-bottom: 10px;
  transform: rotate(-1.2deg);
}
.kicker--gold { color: var(--gold); }
.kicker::before { content: "✦"; color: var(--gold); font-family: var(--font-body); font-size: .85em; margin-right: 8px; vertical-align: .1em; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 5vw, 60px); }
.section-head h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); letter-spacing: -.01em; }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; margin-top: 14px; }
.section-head--light h2 { color: #FCF8EE; }
.section-head--light p { color: rgba(252, 248, 238, .78); }

/* ---------- Buttons & Chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 800; text-decoration: none; white-space: nowrap;
  border-radius: 999px; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn--primary {
  background: var(--terra); color: #FFF6ED;
  box-shadow: 0 6px 18px rgba(217, 110, 72, .35), inset 0 -2px 0 rgba(0,0,0,.12);
}
.btn--primary:hover { background: var(--terra-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(217, 110, 72, .4), inset 0 -2px 0 rgba(0,0,0,.12); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: rgba(255,255,255,.5); color: var(--ink);
  border: 2px solid rgba(46, 36, 24, .16);
}
.btn--ghost:hover { border-color: rgba(46, 36, 24, .38); transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: .92rem; }
.btn--lg { padding: 16px 30px; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn__hint { font-weight: 600; opacity: .85; }

.chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line);
  padding: 7px 15px; border-radius: 999px;
  font-size: .86rem; font-weight: 700; color: var(--ink-soft);
  box-shadow: 0 2px 8px rgba(70,50,20,.06);
}
.chip__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 0 rgba(100, 128, 95, .5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(100, 128, 95, .45); }
  70% { box-shadow: 0 0 0 7px rgba(100, 128, 95, 0); }
  100% { box-shadow: 0 0 0 0 rgba(100, 128, 95, 0); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(251, 247, 239, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(70, 50, 20, .06);
}
.header__inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 56px; height: 56px; object-fit: contain; color: var(--terra); }
.logo__word-img { height: 26px; width: auto; display: block; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--ink-soft);
  transition: color .15s ease;
}
.nav a:hover { color: var(--ink); }
.header__actions { display: flex; align-items: center; gap: 14px; }
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 22px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 0; padding-top: 150px; padding-bottom: clamp(60px, 7vw, 100px); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; z-index: -1;
  left: -150px; bottom: -60px; width: 640px; height: 623px;
  background: url("/assets/img/logo-bg.png") no-repeat center / contain;
  opacity: .08; transform: rotate(7deg); pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(46% 42% at 84% 16%, rgba(248, 227, 214, .8), transparent 70%),
    radial-gradient(38% 40% at 6% 68%, rgba(233, 239, 227, .9), transparent 70%);
}
.hero__grid {
  display: grid; grid-template-columns: 1.04fr .96fr;
  gap: clamp(40px, 5vw, 72px); align-items: center;
}
.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.9rem);
  letter-spacing: -.015em;
  margin: 22px 0 18px;
}
.underline-wrap { position: relative; white-space: nowrap; }
.underline {
  position: absolute; left: -4%; bottom: -.04em; width: 108%; height: .24em;
  color: var(--terra); opacity: .85; z-index: -1;
}
.underline path { stroke-dasharray: 230; stroke-dashoffset: 230; }
.is-revealed .underline path { animation: draw 0.9s .5s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__sub { font-size: 1.13rem; color: var(--ink-soft); max-width: 34em; }
.hero__sub strong { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.trust-row li { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 700; color: var(--ink-soft); }
.trust-row svg { width: 20px; height: 20px; color: var(--sage); flex: none; }

/* Vorher/Nachher-Slider */
.hero__visual { position: relative; }
.scribble-note {
  position: absolute; top: -44px; right: 4%;
  font-family: var(--font-hand); font-size: 1.5rem; font-weight: 600;
  color: var(--ink-soft); transform: rotate(-5deg);
  z-index: 3; text-align: center; line-height: 1.15;
}
.scribble-arrow {
  position: absolute; top: -26px; right: 26%; width: 64px;
  color: var(--ink-soft); opacity: .75; z-index: 3;
  transform: rotate(14deg);
}
.ba {
  --pos: 50%;
  --posn: .5;
  position: relative;
  max-width: 440px; margin-inline: auto;
  aspect-ratio: 3 / 4.05;
  background: #fff;
  border-radius: 26px;
  padding: 12px;
  box-shadow: var(--shadow-lift);
  touch-action: none;
}
.ba::before, .ba::after {
  content: "";
  position: absolute; top: -13px; width: 88px; height: 28px; z-index: 4;
  background: rgba(233, 222, 196, .8);
  box-shadow: 0 1px 3px rgba(70,50,20,.12);
  border-radius: 3px;
}
.ba::before { left: 8%; transform: rotate(-5deg); }
.ba::after { right: 8%; transform: rotate(4deg); }
.ba__img {
  position: absolute; inset: 12px;
  width: calc(100% - 24px); height: calc(100% - 24px);
  object-fit: cover; border-radius: 17px;
  user-select: none; -webkit-user-drag: none;
}
.ba__before {
  position: absolute; inset: 12px; z-index: 1;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0 round 17px);
}
.ba__before .ba__img { inset: 0; width: 100%; height: 100%; }
.ba__label {
  position: absolute; top: 26px; z-index: 3;
  font-size: .8rem; font-weight: 800; letter-spacing: .02em;
  color: #fff; background: rgba(35, 28, 18, .55);
  backdrop-filter: blur(6px);
  padding: 5px 12px; border-radius: 999px;
  pointer-events: none;
}
.ba__label--left { left: 26px; }
.ba__label--right { right: 26px; }
.ba__handle {
  position: absolute; top: 12px; bottom: 12px;
  left: calc(12px + (100% - 24px) * var(--posn));
  z-index: 2; width: 0; pointer-events: none;
}
.ba__handle::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px;
  background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.25);
}
.ba__grip {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--terra);
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
}
.ba__grip svg { width: 22px; height: 22px; }
.ba__range {
  position: absolute; inset: 0; z-index: 5;
  width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0;
}

/* Funkel-Sterne */
.sparkle { position: absolute; fill: var(--gold); opacity: .9; animation: floaty 5s ease-in-out infinite; }
.sparkle--1 { width: 26px; top: 4%; left: -34px; animation-delay: .2s; }
.sparkle--2 { width: 17px; bottom: 12%; left: -20px; animation-delay: 1.4s; opacity: .6; }
.sparkle--3 { width: 21px; top: 38%; right: -28px; animation-delay: 2.3s; opacity: .75; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(8deg); }
}

/* ---------- USP-Band ---------- */
.usp { background: var(--paper-deep); border-block: 1px solid var(--line); }
.usp__row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 26px; padding-block: 30px;
}
.usp__row li { display: flex; align-items: center; gap: 13px; }
.usp__row svg { width: 30px; height: 30px; color: var(--terra); flex: none; }
.usp__row strong { display: block; font-size: .98rem; line-height: 1.3; }
.usp__row span { font-size: .86rem; color: var(--ink-soft); }

/* ---------- Schritte ---------- */
.steps__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; counter-reset: step;
}
.step-card {
  position: relative;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 28px 26px;
  box-shadow: var(--shadow-soft);
}
.step-card__num {
  position: absolute; top: -16px; left: 26px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--terra); color: #FFF6ED;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  display: grid; place-items: center;
  box-shadow: 0 4px 10px rgba(217, 110, 72, .4);
}
.step-card__icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--sage-soft); color: var(--sage);
  display: grid; place-items: center; margin-bottom: 18px;
}
.step-card__icon svg { width: 28px; height: 28px; }
.step-card h3 { font-size: 1.35rem; }
.step-card p { color: var(--ink-soft); font-size: .98rem; margin: 0; }
.step-card p strong { color: var(--ink); }

/* ---------- Wellen-Übergänge ---------- */
.wave { line-height: 0; background: var(--paper); }
.wave svg { width: 100%; height: clamp(34px, 5vw, 60px); display: block; }
.wave--to-night svg path { fill: var(--night); }
.wave--from-night { background: var(--paper); }
.wave--from-night svg path { fill: var(--night); }

/* ---------- Nacht-Sektion (Beispielseiten) ---------- */
.night::before {
  content: ""; position: absolute; z-index: -1;
  right: -70px; top: -50px; width: 380px; height: 380px;
  background: url("/assets/img/star-bg.png") no-repeat center / contain;
  opacity: .1; transform: rotate(14deg); pointer-events: none;
}
.night {
  position: relative; z-index: 0; overflow: hidden;
  background:
    radial-gradient(2px 2px at 12% 22%, rgba(255, 244, 214, .8) 40%, transparent 41%),
    radial-gradient(1.6px 1.6px at 78% 12%, rgba(255, 244, 214, .7) 40%, transparent 41%),
    radial-gradient(2px 2px at 88% 58%, rgba(255, 244, 214, .5) 40%, transparent 41%),
    radial-gradient(1.4px 1.4px at 32% 76%, rgba(255, 244, 214, .55) 40%, transparent 41%),
    radial-gradient(1.8px 1.8px at 56% 34%, rgba(255, 244, 214, .4) 40%, transparent 41%),
    radial-gradient(1.4px 1.4px at 6% 62%, rgba(255, 244, 214, .5) 40%, transparent 41%),
    var(--night);
}
.pages {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
}
.page-card {
  margin: 0;
  background: #FFFDF7;
  border-radius: 18px; padding: 14px 14px 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  transition: transform .3s ease, box-shadow .3s ease;
}
.page-card:nth-child(1) { transform: rotate(-1.6deg); }
.page-card:nth-child(2) { transform: rotate(1.1deg) translateY(14px); }
.page-card:nth-child(3) { transform: rotate(-.7deg); }
.page-card:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.page-card img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.page-card__text {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.02rem; line-height: 1.45; color: var(--ink);
  margin: 14px 6px 12px;
}
.page-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-inline: 6px; }
.same-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--sage-soft); color: var(--sage);
  font-size: .78rem; font-weight: 800;
  padding: 4px 11px 4px 5px; border-radius: 999px;
}
.same-chip img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.same-chip svg { width: 13px; height: 13px; }
.page-card__page { font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.night__note {
  text-align: center; margin: 54px auto 0; max-width: 520px;
  color: rgba(252, 248, 238, .75); font-size: .98rem;
}
.night__note-em { font-family: var(--font-hand); font-size: 1.35rem; color: var(--gold); white-space: nowrap; }

/* ---------- Stile ---------- */
.styles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.style-card {
  position: relative; text-align: left;
  background: var(--card); border: 2.5px solid var(--line);
  border-radius: var(--radius); padding: 12px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  box-shadow: var(--shadow-soft);
}
.style-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.style-card.is-active { border-color: var(--terra); }
.style-card img { border-radius: 14px; aspect-ratio: 3 / 3.4; object-fit: cover; object-position: top; width: 100%; }
.style-card__body { display: block; padding: 14px 8px 6px; }
.style-card__body strong { font-family: var(--font-display); font-size: 1.2rem; display: block; }
.style-card__body span { color: var(--ink-soft); font-size: .92rem; }
.style-card__check {
  position: absolute; top: 22px; right: 22px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--terra); color: #fff;
  display: grid; place-items: center;
  transform: scale(0); transition: transform .22s cubic-bezier(.34, 1.56, .64, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.style-card__check svg { width: 18px; height: 18px; }
.style-card.is-active .style-card__check { transform: scale(1); }

/* ---------- Produkt & Preis ---------- */
.product { background: var(--paper-deep); border-block: 1px solid var(--line); }
.product__grid {
  display: grid; grid-template-columns: .92fr 1.08fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
.product__visual { position: relative; display: grid; place-items: center; padding-block: 20px; }
.book {
  perspective: 1400px;
}
.book__cover {
  position: relative;
  width: min(330px, 72vw);
  aspect-ratio: 3 / 4;
  border-radius: 6px 14px 14px 6px;
  transform: rotateY(-22deg) rotateZ(-1deg);
  transform-style: preserve-3d;
  transition: transform .45s ease;
  box-shadow: -18px 24px 50px rgba(70, 50, 20, .35);
}
.book:hover .book__cover { transform: rotateY(-10deg) rotateZ(0deg) translateY(-6px); }
.book__cover img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 6px 14px 14px 6px;
}
.book__cover::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 0; width: 14px;
  background: linear-gradient(90deg, rgba(0,0,0,.32), rgba(0,0,0,0) 80%);
  border-radius: 6px 0 0 6px;
}
.book__cover::after {
  content: "";
  position: absolute; top: 5px; bottom: 5px; right: -7px; width: 7px;
  background: repeating-linear-gradient(180deg, #F6EFE2 0 2px, #E2D7C2 2px 3px);
  border-radius: 0 3px 3px 0;
  transform: translateZ(-1px);
}
.book__title {
  position: absolute; top: 7%; left: 0; right: 0;
  text-align: center; color: var(--night-deep);
  text-shadow: 0 1px 0 rgba(255, 250, 235, .6), 0 3px 18px rgba(255, 250, 235, .8);
}
.book__title-main {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.3rem, 2.3vw, 1.65rem); line-height: 1.15;
  letter-spacing: .01em;
}
.book__title-sub {
  display: block; margin-top: 7px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  opacity: .85;
}
.product__price-doodle {
  position: absolute; bottom: -14px; right: 4%;
  font-family: var(--font-hand); font-size: 1.4rem; line-height: 1.1;
  color: var(--terra); transform: rotate(-4deg); text-align: center;
}
.product__copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.check-list { margin: 26px 0 30px; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 600; color: var(--ink); }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--sage-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='%2364805F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 13px; background-position: center; background-repeat: no-repeat;
}
.price-box {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 28px;
  box-shadow: var(--shadow-soft);
}
.price-box__prices { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price-box__old { color: var(--ink-soft); text-decoration: line-through; font-size: 1.15rem; font-weight: 600; }
.price-box__new { font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; color: var(--ink); }
.price-box__badge {
  background: var(--terra-soft); color: var(--terra-dark);
  font-size: .82rem; font-weight: 800;
  padding: 5px 12px; border-radius: 999px;
}
.price-box__note { font-size: .88rem; color: var(--ink-soft); margin: 10px 0 18px; }

/* ---------- Anlässe ---------- */
.occasions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.occasion-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease;
}
.occasion-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.occasion-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.occasion-card__body { padding: 20px 24px 22px; }
.occasion-card h3 { font-size: 1.3rem; margin-bottom: .35em; }
.occasion-card p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ---------- Stimmen ---------- */
.voices { padding-top: 0; }
.voices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.voice-card {
  margin: 0;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 28px;
  box-shadow: var(--shadow-soft);
}
.voice-card__stars { color: var(--gold); letter-spacing: 3px; font-size: 1rem; margin-bottom: 12px; }
.voice-card blockquote {
  margin: 0 0 18px;
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.08rem; line-height: 1.5;
}
.voice-card figcaption { display: flex; align-items: center; gap: 11px; font-size: .9rem; font-weight: 700; color: var(--ink-soft); }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--a, var(--terra-soft));
  color: rgba(46, 36, 24, .78);
  display: inline-grid; place-items: center;
  font-size: .82rem; font-weight: 800; letter-spacing: .02em;
}

/* ---------- Sicherheit ---------- */
.safety { padding-top: 0; }
.safety__inner {
  background: var(--sage-soft);
  border-radius: 32px;
  padding: clamp(36px, 5vw, 60px);
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: clamp(30px, 4vw, 60px); align-items: center;
}
.safety__shield { width: 46px; height: 46px; color: var(--sage); margin-bottom: 16px; }
.safety__head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.safety__head p { color: var(--ink-soft); margin: 0; }
.safety__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.safety__grid li {
  background: rgba(255, 255, 255, .72);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.safety__grid strong { display: block; margin-bottom: 3px; font-size: .98rem; }
.safety__grid span { font-size: .88rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq__inner { max-width: 780px; }
.faq__list { display: grid; gap: 12px; }
.faq__list details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 24px;
  box-shadow: 0 2px 8px rgba(70, 50, 20, .04);
}
.faq__list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 0;
  font-weight: 800; font-size: 1.02rem;
  cursor: pointer; list-style: none;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 22px; height: 22px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 14px; height: 2.5px; border-radius: 2px;
  background: var(--terra);
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
details[open] summary { color: var(--terra-dark); }
.faq__list details p {
  margin: 0; padding: 0 0 20px;
  color: var(--ink-soft);
  animation: faqIn .3s ease;
}
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Finale CTA / Warteliste ---------- */
.cta-final { padding-bottom: clamp(70px, 9vw, 112px); }
.cta-final__panel {
  position: relative;
  background:
    radial-gradient(2px 2px at 16% 30%, rgba(255, 244, 214, .7) 40%, transparent 41%),
    radial-gradient(1.6px 1.6px at 82% 22%, rgba(255, 244, 214, .6) 40%, transparent 41%),
    radial-gradient(1.6px 1.6px at 68% 78%, rgba(255, 244, 214, .45) 40%, transparent 41%),
    radial-gradient(2px 2px at 8% 82%, rgba(255, 244, 214, .5) 40%, transparent 41%),
    var(--night);
  border-radius: 34px;
  padding: clamp(44px, 6vw, 76px) clamp(24px, 5vw, 80px);
  text-align: center;
  color: #FCF8EE;
  overflow: hidden;
}
.cta-final__panel h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.cta-final__panel > p { color: rgba(252, 248, 238, .82); max-width: 560px; margin: 0 auto 30px; }
.cta-final__panel strong { color: var(--gold); }
.sparkle--cta1 { width: 26px; top: 36px; left: 7%; }
.sparkle--cta2 { width: 18px; bottom: 42px; right: 9%; animation-delay: 1.8s; }
.waitlist {
  display: flex; gap: 12px; justify-content: center;
  max-width: 520px; margin: 0 auto;
}
.waitlist input {
  flex: 1; min-width: 0;
  font: inherit; font-weight: 600;
  padding: 15px 22px;
  border-radius: 999px; border: 2px solid transparent;
  background: #FFFDF6; color: var(--ink);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.waitlist input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(217, 164, 65, .25); }
.waitlist input.is-error { border-color: #D96E48; box-shadow: 0 0 0 4px rgba(217, 110, 72, .25); }
.waitlist__success { font-weight: 800; font-size: 1.1rem; color: var(--gold); margin-top: 6px; }
.waitlist__micro { font-size: .82rem; color: rgba(252, 248, 238, .55); margin: 16px 0 0; }
.br-mobile { display: none; }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 0; overflow: hidden; background: var(--paper-deep); border-top: 1px solid var(--line); }
.site-footer::before {
  content: ""; position: absolute; z-index: -1;
  right: -90px; bottom: -130px; width: 420px; height: 409px;
  background: url("/assets/img/logo-bg.png") no-repeat center / contain;
  opacity: .07; transform: rotate(-6deg); pointer-events: none;
}
/* Fixes Logo-Watermark fuer Unterseiten (body class="page-watermark") */
.page-watermark::before {
  content: ""; position: fixed; z-index: -1;
  right: -130px; bottom: -150px; width: 520px; height: 506px;
  background: url("/assets/img/logo-bg.png") no-repeat center / contain;
  opacity: .05; pointer-events: none;
}
.footer__inner {
  padding-block: 44px;
  display: grid; justify-items: center; gap: 14px; text-align: center;
}
.logo--footer .logo__word-img { height: 22px; }
.footer__tag { color: var(--ink-soft); font-size: .92rem; margin: 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.footer__links a { font-size: .9rem; font-weight: 700; color: var(--ink-soft); text-decoration: none; }
.footer__links a:hover { color: var(--ink); }
.footer__copy { font-size: .82rem; color: var(--ink-soft); opacity: .7; margin: 4px 0 0; }

/* ---------- Scroll-Reveal ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s ease var(--rd, 0ms), transform .7s ease var(--rd, 0ms);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* ---------- Anker-Offset ---------- */
section[id] { scroll-margin-top: 90px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 480px; margin: 26px auto 0; width: 100%; }
  .scribble-note { top: -40px; right: 10%; }
  .usp__row { grid-template-columns: 1fr 1fr; gap: 18px 26px; }
  .steps__grid, .styles__grid, .occasions__grid, .voices__grid, .pages { grid-template-columns: 1fr 1fr; }
  .pages { row-gap: 34px; }
  .product__grid { grid-template-columns: 1fr; }
  .safety__inner { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav {
    position: fixed; top: 86px; right: 24px; z-index: 99;
    flex-direction: column; gap: 4px;
    background: var(--card); border: 1px solid var(--line);
    border-radius: 18px; padding: 12px;
    box-shadow: var(--shadow-lift);
    opacity: 0; transform: translateY(-8px) scale(.98);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav a { padding: 10px 22px; border-radius: 10px; }
  .nav a:hover { background: var(--paper); }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .burger { display: flex; }
}
@media (max-width: 660px) {
  body { font-size: 16px; }
  .site-header .logo__word-img { display: none; }
  .steps__grid, .styles__grid, .occasions__grid, .voices__grid, .pages { grid-template-columns: 1fr; }
  .page-card:nth-child(2) { transform: rotate(1.1deg); }
  .hero { padding-top: 128px; }
  .hero__cta .btn { width: 100%; }
  .waitlist { flex-direction: column; }
  .safety__grid { grid-template-columns: 1fr; }
  .usp__row { grid-template-columns: 1fr; gap: 16px; }
  .br-mobile { display: inline; }
  .scribble-arrow { display: none; }
  .scribble-note { position: static; display: block; margin-bottom: 14px; transform: rotate(-2deg); }
}

/* ============================================================
   KONFIGURATOR
   ============================================================ */
.konfig { padding-top: 120px; padding-bottom: clamp(70px, 9vw, 110px); min-height: 80vh; }
.konfig__container { max-width: 1120px; }
.konfig__head { text-align: center; margin-bottom: 30px; }
.konfig__head h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -.01em; }
.konfig__sub { color: var(--ink-soft); }

.konfig__progress {
  height: 6px; border-radius: 999px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  margin-bottom: 40px; overflow: hidden;
}
.konfig__progress-bar {
  height: 100%; width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--terra));
  transition: width .4s ease;
}

/* Sternen-Pfad durch die Schritte */
.konfig-track {
  display: flex; justify-content: space-between; position: relative;
  max-width: 640px; margin: 0 auto 38px; padding: 0;
}
.konfig-track::before {
  content: ""; position: absolute; top: 17px; left: 24px; right: 24px;
  height: 3px; border-radius: 2px; background: var(--line); z-index: 0;
}
.konfig-track li { position: relative; z-index: 1; text-align: center; flex: 1; }
.konfig-track__dot {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin: 0 auto;
  border-radius: 50%; background: var(--paper-deep);
  border: 2px solid var(--line); color: var(--line);
  transition: all .25s ease;
}
.konfig-track__dot svg { width: 18px; height: 18px; }
.konfig-track__label {
  display: block; margin-top: 7px;
  font-size: .72rem; font-weight: 800; letter-spacing: .03em;
  color: var(--ink-soft); opacity: .75;
}
.konfig-track li.is-done .konfig-track__dot { background: var(--gold); border-color: var(--gold); color: #fff; }
.konfig-track li.is-current .konfig-track__dot {
  background: var(--terra); border-color: var(--terra); color: #fff;
  transform: scale(1.22);
  box-shadow: 0 0 0 6px rgba(217, 110, 72, .18);
}
.konfig-track li.is-current .konfig-track__label { color: var(--terra-dark); opacity: 1; }
@media (max-width: 560px) { .konfig-track__label { display: none; } .konfig-track { margin-bottom: 26px; } }

.konfig-step { display: none; }
.konfig-step.is-active {
  display: block; animation: stepIn .4s ease;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(22px, 3.5vw, 36px);
  box-shadow: var(--shadow-soft);
}
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* Ergebnis-Schritt hat eigene Karten (Buch, Kostprobe, Bestellung) — kein Karten-im-Karten-Look */
.konfig-step[data-step="6"].is-active { background: none; border: none; box-shadow: none; padding: 0; }

.konfig-step__title { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: 8px; }
.konfig-step__hint { color: var(--ink-soft); font-size: .95rem; margin-bottom: 22px; }

.konfig-field { margin-bottom: 26px; }
.konfig-field label, .konfig-label {
  display: block; font-weight: 800; font-size: .95rem; margin-bottom: 10px;
}
.konfig-field input[type="text"], .konfig-field input[type="email"], .konfig-field input[type="password"] {
  width: 100%; font: inherit; font-weight: 600; font-size: 1.1rem;
  padding: 15px 20px;
  border-radius: 16px; border: 2px solid var(--line);
  background: var(--card); color: var(--ink);
  outline: none; transition: border-color .18s ease, box-shadow .18s ease;
}
.konfig-field input:focus { border-color: var(--terra); box-shadow: 0 0 0 4px rgba(217, 110, 72, .15); }
.konfig-field input.is-error { border-color: #C0392B; box-shadow: 0 0 0 4px rgba(192, 57, 43, .15); }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.k-chip {
  padding: 11px 20px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--card);
  font-weight: 700; font-size: .98rem;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.k-chip:hover { border-color: #D8C6A8; transform: translateY(-1px); }
.k-chip.is-selected {
  border-color: var(--terra);
  background: var(--terra-soft);
  color: var(--terra-dark);
}

/* Foto-Upload */
.upload-zone {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 34px 20px;
  border: 2.5px dashed #D8C6A8;
  border-radius: var(--radius);
  background: var(--card);
  cursor: pointer; text-align: center;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.upload-zone:hover, .upload-zone.is-drag {
  border-color: var(--terra);
  background: #FFF9F2;
  transform: translateY(-2px);
}
.upload-zone svg { width: 40px; height: 40px; color: var(--terra); margin-bottom: 4px; }
.upload-zone strong { font-size: 1.1rem; }
.upload-zone span { color: var(--ink-soft); font-size: .88rem; }

.upload-privacy {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .85rem; color: var(--ink-soft);
  margin: 12px 2px 0;
}
.upload-privacy svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--sage); }
.upload-privacy strong { color: var(--ink); }

.photo-thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.photo-thumb { position: relative; }
.photo-thumb img {
  width: 86px; height: 86px; object-fit: cover;
  border-radius: 14px;
  border: 2px solid #fff;
  box-shadow: var(--shadow-soft);
}
.photo-thumb__remove {
  position: absolute; top: -8px; right: -8px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: 1rem; line-height: 1;
  display: grid; place-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.photo-thumb__remove:hover { background: var(--terra-dark); }

.traits-status {
  display: flex; align-items: center; gap: 12px;
  margin-top: 20px; padding: 16px 20px;
  background: var(--paper-deep); border-radius: var(--radius-sm);
  font-weight: 700; color: var(--ink-soft);
}
.traits-card {
  margin-top: 20px; padding: 20px 24px;
  background: var(--sage-soft);
  border-radius: var(--radius);
}
.traits-card__label { font-weight: 800; font-size: .95rem; display: block; margin-bottom: 6px; }
.traits-card__text {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.05rem; margin-bottom: 14px;
}
.traits-card .chip-row { margin-bottom: 12px; }
.traits-card .k-chip { background: #fff; }

.linklike {
  background: none; border: none; padding: 0;
  margin-top: 18px;
  font-weight: 700; font-size: .92rem;
  color: var(--terra-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.linklike:hover { color: var(--terra); }
.manual-note {
  margin-top: 18px; padding: 12px 16px;
  background: var(--terra-soft); border-radius: var(--radius-sm);
  font-size: .92rem; font-weight: 600; color: var(--terra-dark);
}

.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.story-card {
  text-align: left;
  background: var(--card); border: 2.5px solid var(--line);
  border-radius: var(--radius); padding: 10px;
  transition: border-color .18s ease, transform .18s ease;
}
.story-card:not(.story-card--soon):hover { transform: translateY(-3px); }
.story-card.is-selected { border-color: var(--terra); }
.story-card img { border-radius: 12px; aspect-ratio: 3 / 3.2; object-fit: cover; width: 100%; }
.story-card__placeholder {
  border-radius: 12px; aspect-ratio: 3 / 3.2;
  background: var(--paper-deep);
  display: grid; place-items: center;
  font-size: 2.4rem;
}
.story-card__body { display: block; padding: 12px 8px 6px; }
.story-card__body strong { font-family: var(--font-display); display: block; font-size: 1.05rem; }
.story-card__body span { color: var(--ink-soft); font-size: .85rem; }
.story-card--soon { opacity: .55; cursor: default; }

.konfig-nav {
  display: flex; justify-content: space-between; gap: 14px;
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.konfig-nav .btn--primary { margin-left: auto; }

/* Ergebnis */
.konfig-loading { text-align: center; padding: 70px 0; color: var(--ink-soft); font-weight: 700; }
.konfig-loading__star {
  width: 44px; height: 44px; color: var(--gold);
  animation: spinStar 1.6s ease-in-out infinite;
  margin-bottom: 14px;
}
@keyframes spinStar {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.25); }
}

.preview-book__page {
  background: #FFFDF7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 5vw, 48px);
  box-shadow: var(--shadow-lift);
}
.preview-book__kicker {
  font-family: var(--font-hand); font-size: 1.3rem; color: var(--terra);
}
.preview-book__title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--night);
  margin: 6px 0 18px;
}
.preview-book__text p {
  font-family: var(--font-display);
  font-size: 1.08rem; line-height: 1.75;
  margin-bottom: 1.1em;
}
.preview-drop {
  float: left;
  font-size: 3.2em; line-height: .8;
  padding: .08em .12em 0 0;
  color: var(--terra); font-weight: 600;
}
.preview-book__art { border-radius: 14px; margin: 10px 0 14px; }
.preview-book__note {
  font-size: .88rem; color: var(--ink-soft);
  background: var(--sage-soft);
  border-radius: 12px; padding: 12px 16px; margin: 0;
}

.konfig-cta {
  margin-top: 30px; text-align: center;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 40px);
}
.konfig-cta h3 { font-size: 1.4rem; margin-bottom: 6px; }
.konfig-cta > p { color: var(--ink-soft); max-width: 460px; margin: 0 auto 20px; }
.konfig-cta strong { color: var(--terra-dark); }
.waitlist--light input { border: 2px solid var(--line); }
.waitlist--light .waitlist__success { color: var(--sage); }

/* Honeypot: für Menschen unsichtbar, für Bots ein normales Feld */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

@media (max-width: 660px) {
  .story-grid { grid-template-columns: 1fr; }
  .konfig-nav .btn { flex: 1; }
}

/* ============================================================
   AUTH, KONTO, ADMIN, SHOP-KOMPONENTEN
   ============================================================ */
.auth-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-soft);
}
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%;
  padding: 13px 20px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff;
  font-weight: 700; font-size: 1rem;
  transition: border-color .18s ease, transform .18s ease;
}
.btn-google:hover { border-color: #C9B891; transform: translateY(-1px); }
.btn-google svg { width: 22px; height: 22px; }
.auth-google-hint { font-size: .85rem; color: var(--terra-dark); margin-top: 10px; text-align: center; }
.auth-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 22px 0;
  color: var(--ink-soft); font-size: .85rem; font-weight: 700;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.auth-error {
  background: #FDECEA; color: #B03A2E;
  border-radius: 12px; padding: 10px 14px;
  font-size: .9rem; font-weight: 600;
}
.auth-success {
  background: var(--sage-soft); color: var(--sage);
  border-radius: 12px; padding: 10px 14px;
  font-size: .9rem; font-weight: 700;
}
.auth-links { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* Meine Bücher */
.projects-grid { display: grid; gap: 18px; }
.project-card {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 24px;
  box-shadow: var(--shadow-soft);
}
.project-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.project-card__meta { font-size: .85rem; color: var(--ink-soft); margin: 0 0 6px; }
.project-card__excerpt { font-size: .9rem; color: var(--ink-soft); font-style: italic; margin: 0; }
.project-card__actions { display: flex; flex-direction: column; gap: 8px; flex: none; }

/* Stil-Miniaturen (6er-Raster) */
.mini-style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-style {
  text-align: left;
  background: var(--card); border: 2.5px solid var(--line);
  border-radius: 16px; padding: 8px;
  transition: border-color .15s ease, transform .15s ease;
}
.mini-style:hover { transform: translateY(-2px); }
.mini-style.is-selected { border-color: var(--terra); background: #FFF9F2; }
.mini-style img {
  width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top;
  border-radius: 10px; margin-bottom: 6px;
}
.mini-style strong { display: block; font-size: .92rem; }
.mini-style span { display: block; font-size: .76rem; color: var(--ink-soft); line-height: 1.3; }

/* Produkt-/Preisstufen */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card {
  position: relative; text-align: left;
  background: var(--card); border: 2.5px solid var(--line);
  border-radius: var(--radius); padding: 22px 20px 18px;
  transition: border-color .18s ease, transform .18s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-3px); }
.product-card.is-selected { border-color: var(--terra); background: #FFF9F2; }
.product-card__badge {
  position: absolute; top: -11px; left: 20px;
  background: var(--terra); color: #FFF6ED;
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.product-card > strong { font-family: var(--font-display); font-size: 1.25rem; }
.product-card__sub { color: var(--ink-soft); font-size: .85rem; margin-bottom: 10px; }
.product-card__price { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; }
.product-card__early {
  color: var(--terra-dark); font-size: .82rem; font-weight: 800;
  background: var(--terra-soft); border-radius: 999px; padding: 3px 10px;
  align-self: flex-start; margin: 4px 0 12px;
}
.product-card ul { list-style: none; display: grid; gap: 6px; }
.product-card li {
  font-size: .85rem; color: var(--ink-soft);
  padding-left: 20px; position: relative;
}
.product-card li::before {
  content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 800;
}

/* Wunschgeschichte */
.wish-field { margin-top: 22px; }
.wish-field textarea {
  width: 100%; font: inherit; font-weight: 600; font-size: 1.05rem;
  padding: 14px 18px;
  border-radius: 16px; border: 2px solid var(--line);
  background: var(--card); color: var(--ink);
  resize: vertical; outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.wish-field textarea:focus { border-color: var(--terra); box-shadow: 0 0 0 4px rgba(217, 110, 72, .15); }
.wish-field textarea.is-error { border-color: #C0392B; box-shadow: 0 0 0 4px rgba(192, 57, 43, .15); }
.wish-hint { display: block; font-size: .82rem; color: var(--ink-soft); margin-top: 6px; }

/* Zusammenfassung unter der Vorschau */
.summary-bar {
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center;
  background: var(--paper-deep); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 20px; margin-top: 18px;
  font-size: .92rem; font-weight: 700; color: var(--ink-soft);
}
.summary-bar__price { margin-left: auto; color: var(--ink); font-size: 1.05rem; }
.summary-bar__price small { color: var(--terra-dark); font-weight: 800; }

/* Admin */
.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.admin-tab {
  padding: 9px 18px; border-radius: 999px;
  border: 2px solid var(--line); background: var(--card);
  font-weight: 700; font-size: .9rem;
}
.admin-tab.is-active { border-color: var(--terra); background: var(--terra-soft); color: var(--terra-dark); }
.admin-panel { display: none; }
.admin-panel.is-active { display: block; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 10px; }
.admin-stat {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 18px 20px;
}
.admin-stat strong { font-family: var(--font-display); font-size: 1.9rem; display: block; }
.admin-stat span { font-size: .82rem; color: var(--ink-soft); font-weight: 700; }
.admin-table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.admin-table th, .admin-table td {
  text-align: left; padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.admin-table th {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-soft); background: var(--paper-deep);
  position: sticky; top: 0;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table input, .admin-table textarea {
  width: 100%; font: inherit; font-size: .86rem;
  padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff;
}
.admin-actions { display: flex; gap: 8px; margin: 14px 0; flex-wrap: wrap; }
.admin-msg { font-size: .88rem; font-weight: 700; margin-top: 10px; }
.admin-msg--ok { color: var(--sage); }
.admin-msg--err { color: #B03A2E; }

@media (max-width: 760px) {
  .product-grid { grid-template-columns: 1fr; }
  .mini-style-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card { flex-direction: column; align-items: stretch; }
  .project-card__actions { flex-direction: row; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sparkle, .chip__dot { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .underline path { stroke-dashoffset: 0; animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ============================================================
   BUECHER-GALERIE
   ============================================================ */
.books { background: var(--paper); }
.books__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 8px; }
.book-card { display: flex; flex-direction: column; }
.book-card__coverbtn {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 14px 34px rgba(70, 50, 20, .16);
  transition: transform .25s ease, box-shadow .25s ease;
}
.book-card__coverbtn img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.book-card:hover .book-card__coverbtn { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 24px 50px rgba(70, 50, 20, .22); }
.book-card__body { padding: 14px 4px 0; }
.style-chip {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: var(--terra);
  background: rgba(217, 110, 72, .12); border-radius: 999px; padding: 3px 12px; margin-bottom: 8px;
}
.book-card__body strong { display: block; font-family: var(--font-display); font-size: 1.06rem; line-height: 1.3; margin-bottom: 6px; }
.book-card__open {
  border: 0; background: none; padding: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 800; font-size: .92rem; color: var(--terra);
}
.book-card__open:hover { text-decoration: underline; }
.books__note { text-align: center; margin: 34px auto 0; max-width: 640px; color: var(--ink-soft); }

.book-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 18px; }
.book-modal__backdrop { position: absolute; inset: 0; background: rgba(46, 36, 24, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.book-modal__panel {
  position: relative; background: var(--paper); border-radius: 22px;
  max-width: 900px; width: 100%; max-height: calc(100vh - 40px); overflow-y: auto;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .35);
}
.book-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.book-modal__close svg { width: 20px; height: 20px; }
.book-modal__head h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 8px 0 6px; }
.book-modal__teaser { color: var(--ink-soft); max-width: 640px; margin: 0 0 22px; }
.book-modal__proof { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
.book-modal__proof figure { margin: 0; text-align: center; }
.book-modal__proof img { width: 130px; height: 130px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-soft); }
.book-modal__proof figcaption { font-family: var(--font-hand); font-size: 1.1rem; color: var(--terra); margin-top: 8px; }
.book-modal__arrow { width: 44px; color: var(--gold); flex: 0 0 auto; }
.book-modal__pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.book-modal__page { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px; box-shadow: var(--shadow-soft); }
.book-modal__page img { width: 100%; border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.book-modal__page figcaption { font-family: var(--font-serif); font-style: italic; font-size: .92rem; line-height: 1.45; padding: 10px 4px 4px; }
.book-modal__cta { text-align: center; margin-top: 28px; }

@media (max-width: 1020px) { .books__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 660px) {
  .books__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .book-modal__pages { grid-template-columns: 1fr; }
  .book-modal { padding: 10px; }
}

/* ============================================================
   KONFIGURATOR 2.0 — Live-Vorschau & Bestellung
   ============================================================ */
.konfig__stepcount { text-align: center; font-weight: 800; font-size: .85rem; color: var(--ink-soft); letter-spacing: .06em; text-transform: uppercase; margin: 10px 0 26px; }
.konfig__layout { display: grid; grid-template-columns: 1fr 320px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.konfig__main { min-width: 0; grid-column: 1; grid-row: 1; }
.konfig-live { position: sticky; top: 98px; grid-column: 2; grid-row: 1; }
.order-success { scroll-margin-top: 96px; }
.konfig-live__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-soft); text-align: center; }
.konfig-live__badge { display: inline-block; font-family: var(--font-hand); color: var(--terra); font-size: 1.25rem; margin-bottom: 12px; transform: rotate(-1.5deg); }
.konfig-live__coverwrap { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 14px 30px rgba(70, 50, 20, .2); margin-bottom: 14px; }
.konfig-live__coverwrap::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 12px; background: linear-gradient(90deg, rgba(0, 0, 0, .18), rgba(255, 255, 255, .12) 55%, transparent); }
.konfig-live__coverwrap img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.konfig-live__photo {
  position: absolute; right: 10px; bottom: 10px;
  width: 64px !important; height: 64px !important;
  border-radius: 14px; border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
  object-fit: cover; transform: rotate(5deg);
  aspect-ratio: 1 !important;
}
.konfig-live__title { display: block; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3; margin-bottom: 10px; }
.konfig-live__facts { text-align: left; display: grid; gap: 6px; margin: 0 0 12px; font-size: .92rem; color: var(--ink-soft); font-weight: 700; }
.konfig-live__price { font-family: var(--font-display); font-size: 1.35rem; }
.konfig-live__price s { color: var(--ink-soft); font-size: 1rem; margin-right: 6px; }
.konfig-live__discount { display: inline-block; margin-left: 8px; font-family: var(--font-body); font-size: .72rem; font-weight: 800; color: var(--sage); background: var(--sage-soft); padding: 2px 10px; border-radius: 999px; vertical-align: middle; }
.konfig-live__ship { font-size: .82rem; color: var(--ink-soft); margin: 10px 0 0; }

.order-block { text-align: left; }
.order-pay-hint { color: var(--ink-soft); }
.order-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.order-form__wide { grid-column: 1 / -1; }
.order-legal { font-size: .78rem; color: var(--ink-soft); margin-top: 12px; }
.order-error { color: #B33A2B; font-weight: 700; margin-top: 10px; }
.order-success { text-align: left; }
.order-timeline { counter-reset: ot; display: grid; gap: 14px; margin: 18px 0 22px; }
.order-timeline li { position: relative; padding-left: 52px; }
.order-timeline li::before { counter-increment: ot; content: counter(ot); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--terra-soft); color: var(--terra-dark); font-weight: 800; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); }
.order-timeline strong { display: block; }
.order-timeline span { color: var(--ink-soft); font-size: .92rem; }
.order-success__mail a { color: var(--terra); font-weight: 800; }

@media (max-width: 1020px) {
  .konfig__layout { grid-template-columns: 1fr; }
  .konfig-live { position: static; grid-column: 1; grid-row: 1; }
  .konfig__main { grid-column: 1; grid-row: 2; }
  .konfig-live__card { display: grid; grid-template-columns: 96px 1fr; gap: 4px 16px; text-align: left; padding: 14px; align-items: center; }
  .konfig-live__badge { display: none; }
  .konfig-live__coverwrap { grid-row: 1 / span 3; margin: 0; }
  .konfig-live__title { margin: 0; font-size: 1rem; }
  .konfig-live__facts { display: none; }
  .konfig-live__price { font-size: 1.1rem; }
  .konfig-live__ship { grid-column: 2; margin: 0; font-size: .75rem; }
}
@media (max-width: 660px) {
  .order-form__grid { grid-template-columns: 1fr; }
}

/* Kundenportal: Bestell-Tracking */
.orders-list { display: grid; gap: 16px; }
.order-card__cancelled { color: #B33A2B; font-weight: 700; }
.order-track { display: flex; gap: 0; margin: 14px 0 4px; padding: 0; flex-wrap: wrap; }
.order-track li { position: relative; flex: 1; min-width: 86px; text-align: center; font-size: .72rem; font-weight: 800; color: var(--ink-soft); padding-top: 24px; }
.order-track li span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--line); }
.order-track li::before { content: ""; position: absolute; top: 7px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.order-track li:first-child::before { display: none; }
.order-track li.is-done span, .order-track li.is-current span { background: var(--sage); }
.order-track li.is-done::before, .order-track li.is-current::before { background: var(--sage); }
.order-track li.is-current { color: var(--ink); }
.order-track li.is-current span { box-shadow: 0 0 0 4px var(--sage-soft); }

/* Zahlungswahl & Illustrations-Kostprobe */
.pay-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.pay-option { display: block; border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; cursor: pointer; background: var(--card); transition: border-color .15s ease, box-shadow .15s ease; }
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-option.is-selected { border-color: var(--terra); box-shadow: 0 6px 20px rgba(217, 110, 72, .14); }
.pay-option strong { display: block; margin-bottom: 4px; }
.pay-option span { font-size: .85rem; color: var(--ink-soft); }
.art-tease { text-align: center; }
.art-tease__result { max-width: 340px; width: 100%; margin: 18px auto 0; border-radius: 18px; box-shadow: var(--shadow-lift); }
.art-tease__hint { font-size: .88rem; color: var(--ink-soft); margin-top: 12px; }
@media (max-width: 660px) { .pay-choice { grid-template-columns: 1fr; } }

/* Warte-Wizard & Kostproben-Galerie */
.art-wizard { max-width: 420px; margin: 22px auto 0; text-align: center; }
.art-wizard__easel { width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 50%; background: var(--terra-soft); display: flex; align-items: center; justify-content: center; }
.art-wizard__star { width: 38px; height: 38px; color: var(--terra); animation: artspin 2.6s ease-in-out infinite; }
@keyframes artspin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.15); }
  100% { transform: rotate(360deg) scale(1); }
}
.art-wizard__msg { font-family: var(--font-hand); font-size: 1.35rem; color: var(--terra); min-height: 1.6em; margin: 0 0 12px; }
.art-wizard__bar { height: 10px; border-radius: 999px; background: var(--paper-deep); overflow: hidden; border: 1px solid var(--line); }
.art-wizard__fill { height: 100%; width: 4%; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--terra)); transition: width .8s ease; }
.art-wizard__hint { font-size: .82rem; color: var(--ink-soft); margin-top: 10px; }
.art-results { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.art-result { margin: 0; text-align: center; }
.art-result img { width: 250px; max-width: 100%; border-radius: 18px; box-shadow: var(--shadow-lift); }
.art-result figcaption { font-family: var(--font-hand); font-size: 1.05rem; color: var(--ink-soft); margin-top: 8px; }

/* Inline-Icons statt Emojis */
.f-icon { width: 1.05em; height: 1.05em; vertical-align: -0.18em; display: inline-block; color: var(--terra); flex: 0 0 auto; }
.konfig-live__facts .f-icon, .summary-bar .f-icon { margin-right: 4px; }
.story-card__placeholder .f-icon { width: 34px; height: 34px; color: var(--gold); }

/* Szenen-Kostproben im Querformat */
.art-result--scene img { width: 380px; max-width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Beispiel-Buchseiten in der Vorschau */
.preview-pages__head { text-align: center; margin-bottom: 26px; }
.preview-pages__head .preview-book__title { margin-top: 6px; }
/* Beispielseiten im echten Druck-Layout: quadratisch wie das 20x20-Buch, vollflaechige Illustration, gesetzter Text */
.book-pages { display: flex; flex-direction: column; gap: 30px; align-items: center; margin-bottom: 18px; }
.spread {
  display: grid; grid-template-columns: 1fr 1fr;
  width: min(100%, 800px); position: relative;
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 4px 10px rgba(70, 50, 20, .12), 0 26px 60px rgba(70, 50, 20, .22);
}
.spread .bpage { border: none; border-radius: 0; box-shadow: none; }
.spread::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 34px;
  transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg, rgba(40, 25, 10, 0) 0%, rgba(40, 25, 10, .16) 50%, rgba(40, 25, 10, 0) 100%);
}
.spread--single { grid-template-columns: 1fr; width: min(100%, 400px); }
.spread--single::after { display: none; }
.bpage--img { position: relative; overflow: hidden; }
.bpage--img .bpage__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.bpage--img .bpage__num.bpage__num--onart {
  background: rgba(253, 251, 244, .88); padding: 1px 10px; border-radius: 999px;
  left: 50%; right: auto; transform: translateX(-50%); text-align: center;
}
.bpage {
  margin: 0; position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: 5px; background: #FDFBF5; border: 1px solid rgba(70, 50, 20, .12);
  box-shadow: 0 3px 8px rgba(70, 50, 20, .1), 0 22px 48px rgba(70, 50, 20, .2);
}
.bpage--art .bpage__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.book-pages { --bp-font: var(--font-serif); --bp-accent: var(--terra-dark); --bp-plate: rgba(253, 251, 244, .95); }
.bpage__plate {
  position: absolute; left: 5.5%; right: 5.5%; bottom: 5.5%;
  background: var(--bp-plate);
  border-radius: 7px; padding: 11px 14px;
  font-family: var(--bp-font); font-style: italic;
  font-size: .86rem; line-height: 1.5; color: var(--ink);
  box-shadow: 0 6px 18px rgba(40, 25, 10, .25);
  max-height: 52%; overflow: auto; scrollbar-width: none;
}
.bpage__plate--top { top: 5.5%; bottom: auto; }
.bpage__dropcap {
  float: left; font-size: 2.35em; line-height: .82;
  padding: 3px 7px 0 0; color: var(--bp-accent);
  font-style: normal; font-weight: 600; font-family: inherit;
}
.bpage__ornament { color: var(--bp-accent); margin-bottom: 12px; }
.bpage__ornament svg { width: 78px; height: 18px; display: block; }

/* Stil-Charakter der Seiten (Schrift kommt via --bp-font aus dem Preset) */
.book-pages[data-style="comic"] .bpage__plate,
.book-pages[data-style="comic"] .bpage--text .bpage__text { font-style: normal; }
.book-pages[data-style="comic"] .bpage__plate { border: 2px solid var(--ink); border-radius: 12px; }
.book-pages[data-style="verfilmt"] .bpage__plate,
.book-pages[data-style="verfilmt"] .bpage--text .bpage__text { font-style: normal; }
.book-pages[data-style="pastell"] .bpage__plate,
.book-pages[data-style="pastell"] .bpage--text .bpage__text { font-style: normal; }
.book-pages[data-style="pastell"] .bpage__plate { border-radius: 16px; }
.book-pages[data-style="collage"] .bpage__plate,
.book-pages[data-style="collage"] .bpage--text .bpage__text { font-style: normal; font-size: .98rem; }
.book-pages[data-style="collage"] .bpage__plate { transform: rotate(-.6deg); }
.book-pages[data-style="maerchen"] .bpage__plate {
  border: 1px solid var(--bp-accent);
  box-shadow: inset 0 0 0 3px #FDFBF4, inset 0 0 0 4px var(--bp-accent), 0 6px 18px rgba(40, 25, 10, .25);
}
.bpage__plate::-webkit-scrollbar { display: none; }
.bpage--text .bpage__text { max-height: 100%; overflow: auto; scrollbar-width: none; }
.bpage--text {
  background: radial-gradient(130% 100% at 50% 0%, #FFFDF7 0%, #F6EFDF 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 9%; text-align: center;
}
.bpage--text .bpage__deko { margin-bottom: 12px; }
.bpage--text .bpage__deko .f-icon { width: 38px; height: 38px; color: var(--gold); }
.bpage--text .bpage__text { font-family: var(--bp-font); font-style: italic; font-size: .95rem; line-height: 1.62; margin: 0; }
.bpage__num {
  position: absolute; bottom: 1.8%; left: 0; right: 0; text-align: center;
  font-family: var(--bp-font); font-size: .74rem; font-weight: 600; color: var(--bp-accent);
}
.bpage--art .bpage__num {
  bottom: 1.2%; left: 50%; right: auto; transform: translateX(-50%);
  background: rgba(253, 251, 244, .88); padding: 1px 10px; border-radius: 999px;
}
#previewNote { text-align: center; color: var(--ink-soft); max-width: 560px; margin: 0 auto 26px; }
.preview-pages__sub { text-align: center; color: var(--ink-soft); font-size: .92rem; margin: -14px 0 22px; }
@media (max-width: 660px) {
  .spread { grid-template-columns: 1fr; width: min(100%, 420px); }
  .spread::after { display: none; }
}

/* ============================================================
   MOBILE-OPTIMIERUNG (Audit-Fixes)
   ============================================================ */
/* Sticky-Footer: kein abgehackter Seitenboden (z. B. /danke) */
body { min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }

/* Grid-Tracks nie durch min-content sprengen lassen */
.hero__grid > * { min-width: 0; }

/* Tap-Targets */
.burger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.book-card__open { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 0; }
.footer__links a { display: inline-block; padding: 10px 8px; }
#toggleMode, #forgotPw { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; }

/* Lesbarkeit: Mini-Schriften anheben */
.konfig-live__discount, .product-card__badge, .bpage__num { font-size: .8rem; }
.order-legal { font-size: .85rem; }

/* Rechtsseiten */
.legal h1 { font-size: clamp(1.6rem, 8.5vw, 2.2rem); overflow-wrap: break-word; }
.legal .placeholder, .placeholder { -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Foto-Datenschutzhinweis: Text als ein Block neben dem Icon */
.upload-privacy span { flex: 1; min-width: 0; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 660px) {
  /* Buttons duerfen umbrechen statt das Layout zu sprengen */
  .btn--lg { white-space: normal; }
  .btn { max-width: 100%; }

  /* Konfigurator: Weiter/Zurueck immer in der Daumenzone */
  .konfig-nav {
    position: sticky; bottom: 0; z-index: 20;
    background: linear-gradient(to top, var(--paper) 78%, transparent);
    padding: 14px 0 max(10px, env(safe-area-inset-bottom));
    margin-top: 20px;
  }
  .konfig-nav .btn { flex: 1; min-width: 0; white-space: normal; padding-inline: 16px; }

  /* Wunschgeschichten-Karte: kein leerer Riesen-Platzhalter */
  .story-card__placeholder { aspect-ratio: auto; min-height: 120px; }

  /* Kleinschriften auf lesbare Groesse */
  .same-chip, .page-card__page, .ba__label, .book__title-sub { font-size: 13px; }
  .style-chip { font-size: .8rem; }
  .konfig-live__ship { font-size: .8rem; }

  /* Buch-Modal: X-Button immer erreichbar */
  .book-modal__close { position: fixed; top: 14px; right: 14px; z-index: 10; box-shadow: var(--shadow-soft); }
}

@media (max-width: 480px) {
  /* Foto-zu-Held-Beweis bleibt eine Reihe: Pfeil zeigt aufs Ergebnis */
  .book-modal__proof { flex-wrap: nowrap; gap: 10px; }
  .book-modal__proof img { width: 104px; height: 104px; }
  .book-modal__arrow { width: 32px; }
}

/* Cover & Rueckseite in der Buch-Vorschau */
.spread-label { text-align: center; font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin: 8px 0 -16px; }
.spread--cover { width: min(100%, 430px); box-shadow: 0 6px 14px rgba(70, 50, 20, .16), 0 30px 70px rgba(70, 50, 20, .28); }

/* Design-System 2.0: Muster & Stil-Charakter der Textseiten */
.book-pages[data-pattern="stars"] .bpage--text {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84'%3E%3Cpath d='M20 10l1.7 4.2 4.3.5-3.2 2.9.9 4.3-3.7-2.2-3.7 2.2.9-4.3-3.2-2.9 4.3-.5zM62 48l1.3 3.2 3.3.4-2.5 2.2.7 3.3-2.8-1.7-2.8 1.7.7-3.3-2.5-2.2 3.3-.4zM66 12l.9 2.2 2.3.3-1.7 1.5.5 2.3-2-1.2-2 1.2.5-2.3-1.7-1.5 2.3-.3zM16 62l.9 2.2 2.3.3-1.7 1.5.5 2.3-2-1.2-2 1.2.5-2.3-1.7-1.5 2.3-.3z' fill='%23B49659' opacity='.16'/%3E%3C/svg%3E"), radial-gradient(130%25 100%25 at 50%25 0%25, #FFFDF7 0%25, #F6EFDF 100%25);
}
.book-pages[data-pattern="waves"] .bpage--text {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='44'%3E%3Cpath d='M0 12c11-8 22 8 33 0s22 8 33 0 16 6 22 2M0 34c11-8 22 8 33 0s22 8 33 0 16 6 22 2' fill='none' stroke='%235A8CA0' stroke-width='1.4' opacity='.14' stroke-linecap='round'/%3E%3C/svg%3E"), radial-gradient(130%25 100%25 at 50%25 0%25, #FCFDFB 0%25, #EDF2EA 100%25);
}
.book-pages[data-pattern="leaves"] .bpage--text {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='92'%3E%3Cpath d='M22 18c6-8 16-8 20 0-8 4-16 4-20 0zM66 60c6-8 16-8 20 0-8 4-16 4-20 0zM70 22c2-5 8-6 11-2-4 4-9 4-11 2zM18 68c2-5 8-6 11-2-4 4-9 4-11 2z' fill='%236E8C5E' opacity='.13'/%3E%3C/svg%3E"), radial-gradient(130%25 100%25 at 50%25 0%25, #FDFEF8 0%25, #F0F2E4 100%25);
}
.book-pages[data-pattern="sparkles"] .bpage--text {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpath d='M18 12l1.2 3.6 3.6 1.2-3.6 1.2L18 21.6l-1.2-3.6-3.6-1.2 3.6-1.2zM52 44l1.5 4.5 4.5 1.5-4.5 1.5L52 56l-1.5-4.5-4.5-1.5 4.5-1.5zM56 14l.8 2.4 2.4.8-2.4.8-.8 2.4-.8-2.4-2.4-.8 2.4-.8zM14 52l.8 2.4 2.4.8-2.4.8-.8 2.4-.8-2.4-2.4-.8 2.4-.8z' fill='%23C9A14E' opacity='.18'/%3E%3C/svg%3E"), radial-gradient(130%25 100%25 at 50%25 0%25, #FFFDF6 0%25, #F7EFDC 100%25);
}

/* Maerchen: feiner Zierrahmen auf Textseiten */
.book-pages[data-style="maerchen"] .bpage--text::after {
  content: ""; position: absolute; inset: 4.5%;
  border: 1px solid var(--bp-accent); opacity: .4; border-radius: 3px;
  pointer-events: none;
}
.book-pages[data-style="maerchen"] .bpage--text { position: relative; }

/* Collage: Textseite wie eingeklebt mit Klebeband */
.book-pages[data-style="collage"] .bpage--text { position: relative; }
.book-pages[data-style="collage"] .bpage--text::before {
  content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  width: 92px; height: 26px; background: rgba(222, 205, 160, .55); border-radius: 2px;
  box-shadow: 0 1px 3px rgba(70, 50, 20, .15);
}

/* Comic: Textseiten mit dezentem Punktraster */
.book-pages[data-style="comic"] .bpage--text {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Ccircle cx='4' cy='4' r='1.6' fill='%23D96E48' opacity='.10'/%3E%3Ccircle cx='17' cy='17' r='1.6' fill='%23D96E48' opacity='.10'/%3E%3C/svg%3E"), radial-gradient(130%25 100%25 at 50%25 0%25, #FFFEFA 0%25, #F8F1E4 100%25);
}

/* Wunschgeschichte als Herzstueck von Schritt 4 */
.wish-hero {
  position: relative; background: linear-gradient(135deg, #FFF9F1 0%, #FBEFE3 100%);
  border: 2px solid var(--line); border-radius: var(--radius);
  padding: clamp(18px, 3vw, 28px); transition: border-color .2s ease, box-shadow .2s ease;
}
.wish-hero.is-selected { border-color: var(--terra); box-shadow: 0 10px 30px rgba(217, 110, 72, .16); }
.wish-hero__badge {
  position: absolute; top: -12px; left: 22px;
  font-family: var(--font-hand); font-size: 1.05rem; color: #fff;
  background: var(--terra); padding: 2px 14px; border-radius: 999px;
  transform: rotate(-2deg);
}
.wish-hero__title { font-size: 1.3rem; margin: 6px 0 4px; }
.wish-hero__sub { color: var(--ink-soft); font-size: .95rem; margin-bottom: 14px; }
.wish-hero textarea {
  width: 100%; font: inherit; font-weight: 600; font-size: 1.05rem;
  padding: 14px 16px; border-radius: 14px; border: 2px solid var(--line);
  background: var(--card); color: var(--ink); resize: vertical; outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.wish-hero textarea:focus { border-color: var(--terra); box-shadow: 0 0 0 4px rgba(217, 110, 72, .14); }
.wish-hero textarea.is-error { border-color: #C0392B; box-shadow: 0 0 0 4px rgba(192, 57, 43, .15); }
.wish-tips { margin-top: 14px; font-size: .9rem; color: var(--ink-soft); }
.wish-tips strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: .92rem; }
.wish-tips ul { display: grid; gap: 5px; }
.wish-tips li { padding-left: 18px; position: relative; }
.wish-tips li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.wish-tips b { color: var(--ink); }
.wish-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.wish-examples span { font-size: .85rem; font-weight: 800; color: var(--ink-soft); }
.wish-examples button {
  font-size: .85rem; font-weight: 700; padding: 8px 14px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--card);
  transition: border-color .15s ease, transform .15s ease;
}
.wish-examples button:hover { border-color: var(--terra); transform: translateY(-1px); }

.wish-style-hint { font-size: .85rem; color: var(--ink-soft); margin: 12px 0 0; padding: 10px 14px; background: rgba(217, 110, 72, .07); border-radius: 10px; }
