/* =========================================================
   sichtbar.music — Designsystem
   Abgeleitet aus den Website-Skizzen und dem Logo.
   ========================================================= */

/* ---------- Schriften (selbst gehostet, kein Google-CDN) ---------- */
@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Caveat';
  src: url('../fonts/caveat-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --cream:      #F5F0EA;   /* Grundton der Seite */
  --sand:       #EFE6DA;   /* beige Bänder */
  --sand-deep:  #E7DACA;
  --paper:      #FBF9F6;   /* Karten */
  --white:      #FFFFFF;

  --ink:        #14120F;
  --ink-2:      #453F38;
  --muted:      #877E72;
  --muted-2:    #A79C8D;

  --gold:       #B8862B;
  --gold-warm:  #D9A441;
  --gold-soft:  #E8D3A6;
  --gold-dot:   #F4C32F;   /* exakt der Gelbton des i-Punkts im Originallogo */
  --line:       #E2D8C9;
  --line-soft:  #EDE5D9;

  --shadow-s: 0 1px 2px rgba(40,30,15,.05), 0 4px 14px rgba(40,30,15,.05);
  --shadow-m: 0 2px 6px rgba(40,30,15,.06), 0 14px 40px rgba(40,30,15,.09);
  --shadow-l: 0 6px 18px rgba(40,30,15,.08), 0 30px 70px rgba(40,30,15,.12);

  --wrap: 1180px;
  --radius: 14px;
  --radius-s: 9px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Jost', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* height:auto ist zwingend – sonst erzwingen die width/height-Attribute
   im HTML eine feste Höhe und die Bilder werden verzerrt. */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1,h2,h3,h4 { margin: 0; font-weight: 400; letter-spacing: -.015em; line-height: 1.14; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 760px; }
.section { padding: 92px 0; }
.section-tight { padding: 62px 0; }
.band { background: var(--sand); }
.band-soft { background: linear-gradient(180deg, var(--cream), var(--sand)); }
.band-deep { background: var(--sand-deep); }

/* ---------- Typo-Skala ---------- */
.display {
  font-size: clamp(2.25rem, 4.6vw, 3.55rem);
  font-weight: 400;
  letter-spacing: -.028em;
  line-height: 1.08;
}
.h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); letter-spacing: -.025em; }
.h2 { font-size: clamp(1.68rem, 3vw, 2.35rem); letter-spacing: -.02em; }
.h3 { font-size: clamp(1.2rem, 2vw, 1.48rem); letter-spacing: -.01em; }
.lead {
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.6;
  color: var(--ink-2);
  font-weight: 300;
}
.eyebrow {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 18px;
}
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.tiny { font-size: .8rem; letter-spacing: .04em; }

/* Handschrift — die warmen Einwürfe aus den Skizzen */
.script {
  font-family: 'Caveat', 'Segoe Script', cursive;
  font-size: clamp(1.45rem, 2.7vw, 1.95rem);
  line-height: 1.4;
  letter-spacing: .035em;
  color: var(--ink-2);
  font-weight: 400;
}
.script-lg { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.script .heart { color: var(--gold); }

/* Der goldene Strich unter den Überschriften */
.rule { width: 54px; height: 2px; background: var(--gold); border: 0; margin: 20px 0 26px; }
.rule-center { margin-left: auto; margin-right: auto; }
.rule-thin { height: 1px; background: var(--line); width: 100%; margin: 0; }

/* ---------- Wortmarke (statt Bitmap-Logo) ---------- */
.wordmark {
  --ls: .22em;            /* Buchstabenabstand wie im Originallogo */
  display: inline-flex;
  align-items: baseline;
  font-weight: 300;
  letter-spacing: var(--ls);
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.wordmark .dot-i {
  position: relative;
  display: inline-block;
}
/* der goldene i-Punkt aus dem Logo */
.wordmark .dot-i::after {
  content: '';
  position: absolute;
  /* Der Buchstabenabstand hängt rechts am "i" – deshalb die halbe
     Laufweite abziehen, sonst sitzt der Punkt neben dem Stamm. */
  /* Am Originallogo ausgemessen (x-Höhe von Jost = 0.46em als Maßstab):
     Durchmesser 0.135em, Unterkante 0.544em über der Grundlinie.
     Die Span-Box endet 0.155em unter der Grundlinie -> bottom = 0.699em.
     Die halbe Laufweite links abziehen, damit der Punkt mittig
     über dem i-Stamm sitzt. */
  left: calc(50% - var(--ls) / 2);
  bottom: .712em;
  width: .142em; height: .142em;
  transform: translateX(-50%);
  border-radius: 50%;
  /* Farbverlauf Pixel für Pixel am Originallogo abgenommen: von blassem
     Creme oben zu tiefem Bernstein unten, ohne hartes Glanzlicht und ohne
     Schlagschatten – sonst wirkt der Punkt wie ein Tropfen. */
  background: radial-gradient(circle at 50% 12%,
              #FEF7CC 0%, #FDE690 30%, #F8CE49 58%, #F1B424 80%, #EA9310 100%);
}
.wordmark-claim {
  display: block;
  font-size: .5em;
  letter-spacing: .3em;
  color: var(--ink-2);
  text-transform: uppercase;
  font-weight: 400;
  margin-top: .55em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .015em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease),
              border-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-dark { background: var(--ink); color: #FBF8F3; box-shadow: var(--shadow-s); }
.btn-dark:hover { background: #292520; box-shadow: var(--shadow-m); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: rgba(20,18,15,.05); }
.btn-light { background: var(--paper); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-s); }
.btn-light:hover { border-color: var(--muted-2); box-shadow: var(--shadow-m); }
.btn-sm { padding: 9px 17px; font-size: .86rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245,240,234,.9);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 14px rgba(40,30,15,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: 76px; }
.site-header .wordmark { font-size: 2rem; }
.nav { display: flex; align-items: center; gap: 30px; }
/* :not(.btn) – sonst überschreibt diese Regel die Button-Farbe
   des CTA im aufgeklappten Mobilmenü (dunkel auf dunkel). */
.nav a:not(.btn) {
  text-decoration: none;
  font-size: .94rem;
  color: var(--ink-2);
  padding: 6px 0;
  position: relative;
  transition: color .2s var(--ease);
}
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:not(.btn)[aria-current="page"] { color: var(--gold); }
.header-cta { display: flex; align-items: center; gap: 14px; }
/* Der CTA im Navigationsblock erscheint nur im aufgeklappten Mobilmenü. */
.nav > .btn { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 0; cursor: pointer; border-radius: 8px;
}
.nav-toggle span { display: block; width: 21px; height: 1.5px; background: var(--ink); position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 21px; height: 1.5px; background: var(--ink);
  transition: transform .28s var(--ease), top .2s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 10px 28px 26px;
    box-shadow: var(--shadow-m);
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
    max-height: calc(100dvh - 76px); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav > .btn { display: inline-flex; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-size: 1.06rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 20px; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0 0; position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(0,1fr);
  gap: 48px; align-items: center;
}
.hero-copy .display { margin-bottom: 4px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 30px 0 28px; }
.hero-media { position: relative; }
.hero-media img { border-radius: 10px; }

@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Stempel „Songs, die verbinden" ---------- */
.stamp {
  width: 118px; height: 118px;
  border: 1px solid var(--muted-2);
  border-radius: 50%;
  display: grid; place-items: center;
  position: relative;
  background: rgba(247,243,237,.94);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 18px rgba(40,30,15,.12);
}
.stamp .stamp-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.stamp text { font-family: 'Jost', sans-serif; font-size: 9px; letter-spacing: .21em; fill: var(--ink-2); text-transform: uppercase; }
.stamp .stamp-heart { position: relative; width: 27px; height: 27px; color: var(--gold); }
/* Der Stempel ist reine Dekoration – auf schmalen Schirmen würde er
   über den Rand ragen und eine Querscrollleiste erzeugen. */
@media (max-width: 900px) { .stamp { display: none; } }

/* ---------- Polaroid-Collage ---------- */
.polaroids { position: relative; }
.polaroid {
  background: var(--white);
  padding: 11px 11px 11px;
  box-shadow: var(--shadow-m);
  border-radius: 3px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.polaroid img { border-radius: 1px; }
.polaroid::before {
  content: '';
  position: absolute; top: -11px; left: 50%;
  width: 62px; height: 21px;
  transform: translateX(-50%) rotate(-2.5deg);
  background: linear-gradient(180deg, rgba(232,220,198,.85), rgba(222,208,183,.72));
  border-left: 1px solid rgba(255,255,255,.35);
  border-right: 1px solid rgba(255,255,255,.35);
}
.polaroid:hover { transform: translateY(-4px) rotate(0deg) !important; box-shadow: var(--shadow-l); }

/* ---------- Icons ----------
   .ico muss ein Block sein, sonst ignoriert das inline-<span> die
   Größenangaben und das SVG rendert in seiner Standardgröße. */
.ico { display: block; }
.ico svg { width: 100%; height: 100%; display: block; }

/* ---------- Merkmale-Leiste (Persönlich / Hochwertig / …) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}
.feature { display: flex; gap: 15px; align-items: flex-start; }
.feature .ico { flex: none; width: 34px; height: 34px; color: var(--ink-2); margin-top: 2px; }
.feature h3 { font-size: 1.02rem; font-weight: 500; margin-bottom: 4px; letter-spacing: 0; }
.feature p { font-size: .9rem; color: var(--muted); line-height: 1.55; margin: 0; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- Schritt-für-Schritt ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.step { text-align: center; position: relative; }
.step-num {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--sand-deep); color: var(--ink-2);
  display: grid; place-items: center;
  margin: 0 auto 20px; font-size: .95rem; font-weight: 500;
}
.band .step-num { background: #E0D2BE; }
.step .ico { width: 42px; height: 42px; margin: 0 auto 18px; color: var(--ink); }
.step h3 { font-size: 1.04rem; font-weight: 500; margin-bottom: 9px; letter-spacing: 0; }
.step p { font-size: .91rem; color: var(--muted); line-height: 1.6; margin: 0; }
/* gepunktete Verbindungslinie zwischen den Schritten */
.step:not(:last-child)::after {
  content: '';
  position: absolute; top: 19px; left: calc(50% + 30px); right: calc(-50% + 30px);
  border-top: 1px dotted var(--muted-2);
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin: 0 auto; text-align: left; }
  .step { display: grid; grid-template-columns: 38px 1fr; gap: 18px; text-align: left; padding-bottom: 30px; }
  .step-num { margin: 0; }
  .step .ico { display: none; }
  .step h3, .step p { grid-column: 2; }
  .step-num { grid-row: 1 / span 2; }
  .step:not(:last-child)::after {
    top: 46px; bottom: 6px; left: 18px; right: auto;
    border-top: 0; border-left: 1px dotted var(--muted-2);
  }
}

/* ---------- Story-Karten ---------- */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 940px) { .story-grid { grid-template-columns: 1fr 1fr; gap: 22px; } }
@media (max-width: 620px) { .story-grid { grid-template-columns: 1fr; } }

.story-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  color: inherit;
  box-shadow: var(--shadow-s);
  transition: transform .34s var(--ease), box-shadow .34s var(--ease), border-color .34s var(--ease);
}
/* Der Titel-Link deckt die ganze Karte ab, liegt aber unter dem Play-Knopf. */
.story-card a.stretched { text-decoration: none; color: inherit; }
.story-card a.stretched::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.story-card a.stretched:focus-visible { outline: none; }
.story-card:has(a.stretched:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--line); }
.story-cover { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--sand-deep); }
.story-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.story-card:hover .story-cover img { transform: scale(1.035); }
.story-cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,14,8,.38), rgba(18,14,8,0) 46%);
  opacity: .85;
}
.story-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.story-body h3 { font-size: 1.16rem; font-weight: 500; letter-spacing: .01em; margin-bottom: 7px; }
/* Platz für zwei Zeilen reservieren, damit die Titel über alle Karten
   auf einer Linie stehen – auch wenn eine Kategorie umbricht. */
.story-tags { font-size: .74rem; line-height: 1.45; letter-spacing: .13em; text-transform: uppercase; color: var(--gold); margin-bottom: 11px; min-height: 2.9em; }
.story-body p { font-size: .92rem; color: var(--muted); line-height: 1.58; margin: 0 0 16px; }
.story-more {
  margin-top: auto; font-size: .89rem; color: var(--ink);
  display: inline-flex; align-items: center; gap: 7px;
}
.story-more .arrow { transition: transform .25s var(--ease); }
.story-card:hover .story-more .arrow { transform: translateX(3px); }

/* Play-Knopf auf dem Cover */
.cover-play {
  position: absolute; left: 16px; bottom: 16px; z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: rgba(255,255,255,.93);
  color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 3px 14px rgba(0,0,0,.26);
  transition: transform .22s var(--ease), background .22s var(--ease);
}
.cover-play:hover { transform: scale(1.08); background: #fff; }
.cover-play svg { width: 17px; height: 17px; margin-left: 2px; }
.cover-play[data-state="playing"] svg { margin-left: 0; }

/* ---------- Story-Detailseite ---------- */
.story-hero { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 52px; align-items: center; }
@media (max-width: 900px) { .story-hero { grid-template-columns: 1fr; gap: 32px; } }
.story-hero-cover {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-l);
  aspect-ratio: 1/1;
  background: var(--sand-deep);
}
.story-hero-cover img { width: 100%; height: 100%; object-fit: cover; }

.breadcrumb { font-size: .84rem; color: var(--muted); margin-bottom: 26px; display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb .sep { color: var(--muted-2); }

/* Fließtext der Geschichte */
.prose { max-width: 680px; }
.prose p { font-size: 1.06rem; line-height: 1.75; color: var(--ink-2); margin-bottom: 1.15em; }
.prose h2 { margin: 52px 0 6px; }
.prose h3 { margin: 40px 0 10px; font-weight: 500; }
.prose strong { font-weight: 500; color: var(--ink); }

/* hervorgehobener Schlüsselmoment */
.keyline {
  margin: 44px 0;
  padding: 30px 34px;
  background: var(--paper);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  box-shadow: var(--shadow-s);
}
.keyline .script { margin-bottom: 10px; display: block; }
.keyline p { font-size: .95rem; color: var(--muted); margin: 0; }

/* Lyrics */
.lyrics-wrap { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 38px 40px; box-shadow: var(--shadow-s); }
.lyrics-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; }
@media (max-width: 820px) { .lyrics-cols { grid-template-columns: 1fr; gap: 34px; } .lyrics-wrap { padding: 28px 24px; } }
.lyrics {
  font-size: .99rem; line-height: 1.95; color: var(--ink-2);
  white-space: pre-line;
  font-weight: 300;
}
.lyrics .tag {
  display: block;
  font-size: .71rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
  margin: 26px 0 8px;
}
.lyrics .tag:first-child { margin-top: 0; }

/* Vor/Zurück zwischen den Geschichten */
.story-nav { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.story-nav a {
  text-decoration: none; display: flex; flex-direction: column; gap: 3px;
  padding: 18px 24px; border: 1px solid var(--line); border-radius: var(--radius-s);
  background: var(--paper); min-width: 232px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.story-nav a:hover { border-color: var(--muted-2); transform: translateY(-2px); box-shadow: var(--shadow-s); }
.story-nav .dir { font-size: .74rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.story-nav .ttl { font-size: 1.02rem; }
.story-nav a.next { text-align: right; margin-left: auto; }

/* ---------- Audio-Player ---------- */
.player {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-m);
}
.player-top { display: flex; align-items: center; gap: 18px; }
.player-btn {
  flex: none;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--ink); color: #FBF8F3;
  border: 0; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: var(--shadow-s);
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.player-btn:hover { transform: scale(1.05); background: #2A2520; }
.player-btn svg { width: 22px; height: 22px; margin-left: 3px; }
.player-btn[data-state="playing"] svg { margin-left: 0; }
.player-btn.is-loading { opacity: .6; pointer-events: none; }
.player-meta { min-width: 0; flex: 1; }
.player-title { font-size: 1.12rem; font-weight: 500; letter-spacing: .01em; }
.player-sub { font-size: .85rem; color: var(--muted); }
.player-bottom { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.player-time { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; flex: none; min-width: 42px; }
.player-time.end { text-align: right; }

/* die Spul-Leiste */
.scrub {
  position: relative; flex: 1; height: 26px; cursor: pointer;
  display: flex; align-items: center;
  touch-action: none;
}
.scrub-track { position: absolute; left: 0; right: 0; height: 4px; border-radius: 3px; background: var(--sand-deep); overflow: hidden; }
.scrub-buffer { position: absolute; left: 0; top: 0; bottom: 0; background: var(--line); width: 0; }
.scrub-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--gold); width: 0; }
.scrub-knob {
  position: absolute; top: 50%; left: 0;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--paper);
  transform: translate(-50%, -50%) scale(.85);
  box-shadow: 0 1px 4px rgba(90,60,10,.35);
  transition: transform .18s var(--ease);
  pointer-events: none;
}
.scrub:hover .scrub-knob, .scrub.is-dragging .scrub-knob { transform: translate(-50%, -50%) scale(1.12); }
.scrub input[type="range"] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }

@media (max-width: 520px) {
  .player { padding: 20px 18px; }
  .player-btn { width: 54px; height: 54px; }
  .player-title { font-size: 1.02rem; }
}

/* ---------- Mini-Player am unteren Rand ---------- */
.miniplayer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(251,249,246,.96);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 26px rgba(40,30,15,.09);
  transform: translateY(102%);
  transition: transform .38s var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}
.miniplayer.is-visible { transform: translateY(0); }
.miniplayer-inner { display: flex; align-items: center; gap: 16px; height: 70px; }
.miniplayer-cover { width: 46px; height: 46px; border-radius: 6px; object-fit: cover; flex: none; background: var(--sand-deep); }
.miniplayer-meta { min-width: 0; flex: none; width: 190px; }
.miniplayer-meta a { display: block; padding: 5px 0; text-decoration: none; }
.miniplayer-title { font-size: .94rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.miniplayer-sub { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.miniplayer .player-btn { width: 40px; height: 40px; }
.miniplayer .player-btn svg { width: 14px; height: 14px; }
.miniplayer .scrub { min-width: 80px; }
.miniplayer-close {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: transparent; border: 0; cursor: pointer; color: var(--muted);
  display: grid; place-items: center;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.miniplayer-close:hover { background: var(--sand); color: var(--ink); }
.miniplayer-close svg { width: 15px; height: 15px; }
body.has-miniplayer { padding-bottom: 70px; }

@media (max-width: 720px) {
  .miniplayer-meta { width: auto; flex: 1; }
  .miniplayer .player-time, .miniplayer .scrub { display: none; }
  .miniplayer-inner { height: 64px; }
  body.has-miniplayer { padding-bottom: 64px; }
}

/* ---------- Karten / Produkte / Preise ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow-s);
}
.card-white { background: var(--white); }
@media (max-width: 560px) { .card { padding: 22px 18px; } .wrap { padding: 0 20px; } }

.product-shot {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-s);
  overflow: hidden;
}
.product-shot img { border-radius: 7px; width: 100%; height: auto; }

/* Portraitfoto: bewusst begrenzt, damit es die Seite nicht dominiert */
.portrait { max-width: 400px; }
.portrait img { border-radius: var(--radius); box-shadow: var(--shadow-l); }
@media (max-width: 900px) { .portrait { max-width: 320px; margin: 0 auto; } }

/* minmax(0,…) statt 1fr: sonst schrumpfen Grid-Spalten nicht unter die
   Mindestbreite ihres Inhalts und breite Tabellen sprengen die Seite. */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; }
.split-wide-right { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); }
.split-wide-left  { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); }
.split > * { min-width: 0; }
.table-scroll { min-width: 0; }
@media (max-width: 900px) {
  .split, .split-wide-right, .split-wide-left { grid-template-columns: minmax(0,1fr); gap: 34px; }
  .split .order-first-mobile { order: -1; }
}

/* Preisstufen */
.tier {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 30px;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.tier:first-of-type { border-top: 0; }
.tier-name { font-size: 1.3rem; letter-spacing: .01em; }
.tier-claim { color: var(--muted); font-size: .96rem; margin-top: 2px; }
.tier-price { font-size: 1.16rem; white-space: nowrap; text-align: right; }
.tier-price .from { font-size: .8rem; color: var(--muted); display: block; letter-spacing: .08em; text-transform: uppercase; }
.tier-body { grid-column: 1 / -1; }
.tier-body p { font-size: .96rem; color: var(--ink-2); }
@media (max-width: 620px) {
  .tier { grid-template-columns: 1fr; gap: 10px; }
  .tier-price { text-align: left; }
}

/* hervorgehobene Einstiegsstufe */
.tier-hero {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 42px;
  box-shadow: var(--shadow-m);
}
@media (max-width: 620px) { .tier-hero { padding: 28px 22px; } }

.checklist { display: grid; gap: 10px; margin: 22px 0 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.checklist .tick { flex: none; width: 17px; height: 17px; color: var(--gold); margin-top: 5px; }

/* Breite Tabellen scrollen in sich selbst, statt die Seite breit zu machen. */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pricetable { width: 100%; min-width: 280px; border-collapse: collapse; font-size: .95rem; }
.pricetable th, .pricetable td { text-align: left; padding: 14px 8px; border-bottom: 1px solid var(--line); }
.pricetable th { font-weight: 500; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pricetable td:last-child, .pricetable th:last-child { text-align: right; white-space: nowrap; }
.pricetable tr:last-child td { border-bottom: 0; }
.pricetable .group td { padding-top: 26px; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); border-bottom: 0; }

/* ---------- CTA-Streifen ---------- */
.cta-strip {
  display: flex; align-items: center; justify-content: space-between;
  gap: 26px; flex-wrap: wrap;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 36px;
  box-shadow: var(--shadow-s);
}
.cta-strip .ico { width: 40px; height: 40px; color: var(--gold); flex: none; }
.cta-strip-text { display: flex; align-items: center; gap: 20px; min-width: 0; }
.cta-strip h3 { font-size: 1.18rem; font-weight: 500; margin-bottom: 3px; }
.cta-strip p { font-size: .93rem; color: var(--muted); margin: 0; }
@media (max-width: 620px) { .cta-strip { padding: 24px 22px; } .cta-strip .ico { display: none; } }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--sand); padding: 58px 0 34px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer .wordmark { font-size: 1.5rem; }
.footer-col h4 { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 15px; }
.footer-col a { display: block; text-decoration: none; font-size: .94rem; color: var(--ink-2); padding: 5px 0; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--sand-deep);
  font-size: .85rem; color: var(--muted);
}
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }

/* ---------- Sanftes Einblenden beim Scrollen ----------
   Nur wenn JavaScript läuft (Klasse .js am <html>). Ohne JS bleibt
   der Inhalt sichtbar, statt unsichtbar zu verschwinden. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ---------- Feinschliff für Telefone ----------
   Auf kleinen Schirmen werden die Kleinschriften angehoben und die
   Tippflächen vergrößert (Finger brauchen rund 44px). */
@media (max-width: 640px) {
  .eyebrow      { font-size: .8rem; letter-spacing: .18em; }
  .story-tags   { font-size: .78rem; }
  .lyrics .tag  { font-size: .76rem; }
  .tiny         { font-size: .84rem; }
  .small        { font-size: .94rem; }
  .feature p, .step p { font-size: .95rem; }

  .breadcrumb   { font-size: .9rem; gap: 6px; }
  .breadcrumb a { display: inline-block; padding: 7px 0; }

  .site-header .wordmark { padding: 8px 0; }
  .footer-col a { padding: 10px 0; }

  .miniplayer .player-btn    { width: 44px; height: 44px; }
  .miniplayer .player-btn svg { width: 15px; height: 15px; }
  .miniplayer-close          { width: 40px; height: 40px; }
  .cover-play   { width: 50px; height: 50px; }

  .story-nav a  { min-width: 100%; }
  .story-nav a.next { text-align: left; }
  .story-nav .dir { font-size: .82rem; }

  .footer-bottom   { font-size: .9rem; }
  .footer-bottom a { display: inline-block; padding: 9px 4px; }
  .footer-bottom a:first-child { padding-left: 0; }
}

/* ---------- Hilfsklassen ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 32px; } .mt-4 { margin-top: 48px; } .mt-5 { margin-top: 68px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 20px; } .mb-3 { margin-bottom: 32px; }
.mb-4 { margin-bottom: 48px; } .mb-5 { margin-bottom: 68px; }
.maxw-sm { max-width: 560px; } .maxw-md { max-width: 700px; } .maxw-lg { max-width: 860px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex-row { display: flex; gap: 13px; flex-wrap: wrap; align-items: center; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 6px; text-decoration: none;
}
.skip-link:focus { left: 16px; }
