/* Spine Abo-Seite. Abendlicht: warme Kakao-, Aprikosen- und Sandflächen, groß gesetzte Schrift, große Bilder. */
:root {
  --radius: 26px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --band-y: clamp(4.5rem, 10vw, 9rem);
  --measure: 62ch;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', sans-serif;
  --font-body: 'Nunito Sans', 'Avenir Next', 'Segoe UI', sans-serif;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; scrollbar-color: var(--accent) var(--dark); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: var(--on-accent); }
input, button { caret-color: var(--accent); font: inherit; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 0.08em; }
img { display: block; max-width: 100%; height: auto; }

:focus-visible { outline: 3px solid var(--band); outline-offset: 3px; border-radius: 6px; }

h1, h2 { font-family: var(--font-display); font-weight: var(--h2-weight, 700); margin: 0; text-wrap: balance; letter-spacing: var(--track-display, -0.028em); line-height: 1.04; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
p { margin: 0 0 1.1em; max-width: var(--measure); text-wrap: pretty; }

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--band); color: var(--dark); padding: 0.7rem 1rem; border-radius: 10px; z-index: 50; transition: top 0.2s; }
.skip:focus { top: 1rem; }

/* Kopfzeile */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1rem var(--gutter);
  color: var(--on-dark);
  transition: background-color 0.35s, box-shadow 0.35s;
}
.top[data-scrolled] { background: rgb(var(--dark-rgb) / 0.94); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.top-nav { display: flex; gap: 1.6rem; margin-left: auto; font-weight: 600; font-size: 1rem; }
.top-nav a { text-decoration: none; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.top-nav a:hover { border-color: var(--band); }
.lang { display: flex; gap: 0.25rem; font-size: 0.9rem; font-weight: 700; }
.lang a, .lang span { padding: 0.35rem 0.6rem; border-radius: 999px; text-decoration: none; }
.lang a:hover { background: rgba(255, 255, 255, 0.14); }
.lang [aria-current] { background: var(--on-dark); color: var(--dark); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.4rem; padding: 0.85rem 1.9rem;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1.05rem; text-decoration: none; line-height: 1.3;
  transition: transform 0.25s var(--ease-out), background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: rgb(var(--light-rgb) / 0.7); color: var(--on-dark); }
.btn-ghost:hover { background: rgb(var(--light-rgb) / 0.14); border-color: var(--on-dark); }
.btn-dark { background: var(--dark); color: var(--on-dark); }
.btn-dark:hover { background: var(--dark-hover); }

/* Einstieg */
.hero { position: relative; min-height: max(100svh, 40rem); display: flex; align-items: flex-end; overflow: hidden; background: var(--dark); color: var(--on-dark); }
.hero-img, .close-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, 68% 40%); }
.hero.is-playing .hero-img { opacity: 0; transition: opacity 0.8s var(--ease-out); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--video-pos, 85% 50%); transform: scale(var(--video-scale, 1.08)); transform-origin: 0 55%; transition: opacity 1.6s linear; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero::after, .close::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(var(--shade-rgb) / 0.88) 0%, rgb(var(--shade-rgb) / 0.62) 38%, rgb(var(--shade-rgb) / 0.08) 72%),
    linear-gradient(0deg, rgb(var(--shade-rgb) / 0.55) 0%, rgb(var(--shade-rgb) / 0) 40%);
}
.hero-copy { position: relative; z-index: 2; width: min(46rem, 100%); padding: 8rem var(--gutter) clamp(3rem, 8vh, 6rem); }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.6rem); font-weight: var(--h1-weight, 800); letter-spacing: var(--track-h1, -0.034em); line-height: 1; }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.55; margin-top: 1.6rem; color: var(--on-dark); max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.search { margin-top: 2.2rem; max-width: 30rem; }
.search label { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.5rem; color: var(--on-dark-soft); }
.search-row { display: flex; background: rgb(var(--light-rgb) / 0.96); border-radius: 999px; padding: 0.3rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0.7rem 1.2rem; color: var(--ink); font-size: 1.05rem; }
.search input::placeholder { color: var(--placeholder); }
.search input:focus-visible { outline: none; }
.search-row:focus-within { outline: 3px solid var(--band); outline-offset: 3px; }
.search button { border: 0; border-radius: 999px; background: var(--dark); color: var(--on-dark); font-weight: 700; padding: 0.7rem 1.5rem; cursor: pointer; transition: background-color 0.2s; }
.search button:hover { background: var(--dark-hover); }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes settle { from { transform: scale(1.07); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-img { animation: settle 2.4s var(--ease-out) both; }
  .hero-copy > * { animation: rise 0.9s var(--ease-out) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.12s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.24s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.36s; }
}

/* Flächen */
.band { padding: var(--band-y) var(--gutter); }
/* Alle Inhalte schließen links an derselben Kante an, auch wenn sie schmaler sind als die Fläche. */
.band > *, .split, .guide-grid { max-width: 76rem; margin-inline: max(0px, calc((100% - 76rem) / 2)); }
.band-cocoa { background: var(--dark); color: var(--on-dark); }
.band-deep { background: var(--darker); color: var(--on-dark); }
.band-apricot { background: var(--band); color: var(--ink); }
.band-sand { background: var(--sand); color: var(--ink); }
.band-paper { background: var(--paper); color: var(--ink); }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split-reverse { grid-template-columns: 0.95fr 1.05fr; }
.split-text h2 { margin-bottom: 1.8rem; }
.photo { width: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: 0 28px 60px -24px rgba(0, 0, 0, 0.55); }
.photo-tall { aspect-ratio: 4 / 5; }
.photo-wide { aspect-ratio: 3 / 2; }

.seek p { font-size: 1.3rem; line-height: 1.6; color: var(--on-dark); }

/* Nui */
.nui { text-align: left; }
.nui h2 { font-size: clamp(2.5rem, 7vw, 6rem); letter-spacing: -0.034em; line-height: 1; max-width: 22ch; }
.nui h2 > span { display: block; }
.nui h2 > span:first-child { font-weight: var(--h-light-weight, 500); }
.nui h2 > span:last-child { font-weight: var(--h-strong-weight, 800); }
.nui-text { margin-top: 2.2rem; font-size: 1.3rem; max-width: 46rem; }

/* Wer begleitet */
.who { position: relative; }
.who .stack { position: relative; }
.gives { margin: 2rem 0 1rem; padding: 0; display: grid; gap: 0; }
.gives div { padding: 1.1rem 0; border-top: 1px solid rgb(var(--ink-rgb) / 0.28); }
.gives div:last-child { border-bottom: 1px solid rgb(var(--ink-rgb) / 0.28); }
.gives dt { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.015em; }
.gives dd { margin: 0.2rem 0 0; color: var(--ink-soft); }
.note { font-size: 1rem; color: var(--ink-soft); }

.sheet {
  position: absolute; left: clamp(-1rem, -2vw, 0rem); bottom: -2.2rem;
  width: min(19rem, 78%); background: var(--paper); color: var(--ink);
  border-radius: 22px; padding: 1.3rem 1.4rem 1.4rem;
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.5);
  transform: rotate(-2deg);
}
.sheet p { margin: 0; }
.sheet-label { font-size: 0.78rem; font-weight: 700; color: var(--ink-soft); }
.sheet-title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; margin: 0.15rem 0 0.7rem; }
.sheet ul { list-style: none; margin: 0 0 0.9rem; padding: 0; display: grid; gap: 0.35rem; font-size: 1rem; }
.sheet li { padding-left: 1.3rem; position: relative; }
.sheet li::before { content: ''; position: absolute; left: 0.1rem; top: 0.55em; width: 0.6rem; height: 0.3rem; border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(-45deg) translateY(-30%); }
.sheet-note { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0.9rem; }
.sheet-btn { display: block; text-align: center; background: var(--accent); color: var(--on-accent); font-weight: 700; padding: 0.7rem; border-radius: 999px; }

/* Schritte */
.steps h2 { margin-bottom: 3rem; }
.steps ol { list-style: none; counter-reset: step; margin: 0 auto 3rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 4rem); }
.steps li { counter-increment: step; display: grid; gap: 0.5rem; align-content: start; border-top: 1px solid rgb(var(--light-rgb) / 0.3); padding-top: 1.4rem; }
.steps li::before { content: counter(step); font-family: var(--font-display); font-weight: 800; font-size: 4.5rem; line-height: 1; color: var(--band); }
.steps strong { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.3; }
.steps span { color: var(--on-dark-soft); }

/* Für Begleitende */
.guide-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.guide h2 { margin-bottom: 1.6rem; }
.guide-lead { font-size: 1.25rem; }
.points { list-style: none; margin: 1.6rem 0 1.8rem; padding: 0; }
.points li { padding: 0.8rem 0 0.8rem 1.7rem; position: relative; border-top: 1px solid rgb(var(--ink-rgb) / 0.25); }
.points li:last-child { border-bottom: 1px solid rgb(var(--ink-rgb) / 0.25); }
.points li::before { content: ''; position: absolute; left: 0; top: 1.35em; width: 0.7rem; height: 2px; background: var(--dark); }
.calc { border: 1.5px solid rgb(var(--ink-rgb) / 0.4); border-radius: 18px; padding: 1rem 1.3rem; margin-bottom: 2rem; max-width: 34rem; font-size: 1rem; font-variant-numeric: tabular-nums; }
.calc p { margin: 0; }
.calc-title { font-weight: 800; margin-bottom: 0.2rem !important; }
.guide .photo { position: sticky; top: 6rem; }

/* Essay */
.essay h2 { font-size: clamp(2.3rem, 5.6vw, 4.8rem); max-width: 16ch; margin-bottom: 2.4rem; }
.essay-body { max-width: 44rem; font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.6; color: var(--on-dark); }
.essay-body p { max-width: none; }
.essay .sign { margin-top: 2rem; font-family: var(--font-display); font-weight: 700; color: var(--band); font-size: 1.2rem; }

/* Sicher und fair */
.safe ul { list-style: none; margin: 2.4rem 0 0; padding: 0; max-width: 56rem; }
.safe li { padding: 1rem 0 1rem 2rem; border-top: 1px solid rgb(var(--ink-rgb) / 0.28); position: relative; max-width: none; }
.safe li:last-child { border-bottom: 1px solid rgb(var(--ink-rgb) / 0.28); }
.safe li::before { content: ''; position: absolute; left: 0.1rem; top: 1.55em; width: 0.9rem; height: 0.45rem; border-left: 2.5px solid var(--dark); border-bottom: 2.5px solid var(--dark); transform: rotate(-45deg); }

/* Fragen */
.faq-list { margin-top: 2.4rem; max-width: 56rem; }
details { border-top: 1px solid rgb(var(--ink-rgb) / 0.25); }
details:last-child { border-bottom: 1px solid rgb(var(--ink-rgb) / 0.25); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.3rem 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.015em; line-height: 1.3; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; flex: none; width: 0.7rem; height: 0.7rem; border-right: 2.5px solid var(--accent-text); border-bottom: 2.5px solid var(--accent-text); transform: rotate(45deg); transition: transform 0.3s var(--ease-out); margin-right: 0.3rem; }
details[open] summary::after { transform: rotate(-135deg); }
details p { padding-bottom: 1.4rem; color: var(--ink-soft); margin: 0; }

/* Schluss */
.close { position: relative; min-height: 80svh; display: grid; place-items: center; text-align: center; overflow: hidden; background: var(--dark); color: var(--on-dark); }
.close::after { background: linear-gradient(0deg, rgb(var(--shade-rgb) / 0.75), rgb(var(--shade-rgb) / 0.45)); }
.close-img { object-position: 60% 40%; }
.close-copy { position: relative; z-index: 2; padding: 6rem var(--gutter); }
.close h2 { font-size: clamp(2.4rem, 6.4vw, 5.4rem); font-weight: var(--h1-weight, 800); max-width: 14ch; margin-inline: auto; }
.close .hero-actions { justify-content: center; }

.foot { background: var(--darker); color: var(--on-dark-soft); padding: 3rem var(--gutter); font-size: 0.95rem; }
.foot p { max-width: 62rem; margin-inline: auto; }
.foot a { color: var(--on-dark); }

/* Tablet und Handy */
@media (max-width: 900px) {
  .split, .split-reverse, .guide-grid { grid-template-columns: 1fr; }
  .split-reverse .stack { order: 2; }
  .steps ol { grid-template-columns: 1fr; }
  .top-nav { display: none; }
  .lang { margin-left: auto; }
  .guide .photo { position: static; }
  .photo-tall { aspect-ratio: 4 / 4.4; }
  .who .stack { margin-bottom: 2.5rem; }
}
@media (max-width: 560px) {
  body { font-size: 1.05rem; }
  /* Handy: Bild oben frei sichtbar, Text darunter auf dem dunklen Grund. */
  .hero { display: block; min-height: 0; }
  .hero-img { position: relative; height: 62svh; object-position: 70% 50%; }
  .hero-video { height: 62svh; bottom: auto; transform: none; object-position: 70% 50%; }
  .hero::after { inset: 0 0 auto 0; height: 62svh; background: linear-gradient(0deg, rgb(var(--dark-rgb)) 0%, rgb(var(--dark-rgb) / 0) 45%), linear-gradient(180deg, rgb(var(--shade-rgb) / 0.5) 0%, rgb(var(--shade-rgb) / 0) 22%); }
  .hero-copy { padding-top: 0.5rem; padding-bottom: 3rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .sheet { position: relative; left: 0; bottom: 0; margin: -3rem 0 0 1rem; width: calc(100% - 1.5rem); }
}
