/* Schriften lokal, nicht von fonts.googleapis.com.
   Ein Verweis dorthin uebertraegt bei jedem Seitenaufruf die IP-Adresse des
   Besuchers an Google, ohne dass er einwilligt (LG Muenchen I, 20.01.2022,
   3 O 17493/20). Erzeugt von scripts/hole-webschriften.py. */
@import url('/assets/fonts.css');

:root {
  --bg: #f6f4ec;
  --bg-deep: #ebe9df;
  --surface: rgba(255, 255, 255, .86);
  --surface-solid: #ffffff;
  --ink: #2f3e34;
  --muted: #69786d;
  --line: rgba(78, 122, 94, .18);
  --accent: #4e7a5e;
  --accent-strong: #3f6b50;
  --accent-soft: #dbe8de;
  --warm: #e99b72;
  --warm-soft: #f4d6c5;
  --shadow: 0 24px 70px -36px rgba(47, 62, 52, .42);
  color-scheme: light;
}

body[data-variant="b"] {
  --bg: #0b2327;
  --bg-deep: #071a1e;
  --surface: rgba(18, 53, 59, .82);
  --surface-solid: #11343a;
  --ink: #f4eee1;
  --muted: #a7bdb9;
  --line: rgba(255, 255, 255, .11);
  --accent: #e3a06e;
  --accent-strong: #c77d45;
  --accent-soft: rgba(227, 160, 110, .14);
  --warm: #eeb086;
  --warm-soft: rgba(238, 176, 134, .16);
  --shadow: 0 28px 80px -38px rgba(0, 0, 0, .82);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(70rem 36rem at 10% -10%, color-mix(in srgb, var(--accent-soft) 90%, transparent), transparent 66%),
    radial-gradient(58rem 32rem at 95% 90%, color-mix(in srgb, var(--warm-soft) 78%, transparent), transparent 70%),
    var(--bg);
  color: var(--ink);
  font-family: 'Nunito', sans-serif;
  line-height: 1.6;
}
body[data-variant="b"] {
  background:
    radial-gradient(80rem 42rem at 80% -12%, rgba(42, 97, 104, .48), transparent 64%),
    radial-gradient(55rem 34rem at 6% 82%, rgba(154, 90, 48, .2), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
  background-attachment: fixed;
}
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 72%, white); outline-offset: 3px; }
::selection { background: var(--warm-soft); color: var(--ink); }

.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-head { position: relative; z-index: 3; padding: 22px 0; }
.site-head__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 600 1.2rem/1 'Fraunces', serif; }
.brand__mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; color: white; background: linear-gradient(145deg, var(--accent), var(--accent-strong)); box-shadow: 0 10px 24px -13px var(--accent); }
.brand__accent { color: var(--accent); }
.head-link { color: var(--muted); font-size: .9rem; font-weight: 800; text-decoration: none; }
.head-link:hover { color: var(--ink); }

/* Zurueck-Knopf. Steht auf jeder Unterseite oben links neben der Marke und
   geht einen Schritt in der Browser-Historie zurueck (assets/zurueck.js) —
   nicht auf ein festes Ziel. Vorher musste man dafuer die Marke anklicken. */
.zurueck {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 38px; padding: 8px 15px 8px 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface-solid); color: var(--ink);
  font: 800 .82rem/1 'Nunito', sans-serif; cursor: pointer;
  transition: border-color .2s, color .2s;
}
.zurueck:hover { border-color: var(--accent); color: var(--accent); }
.zurueck:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.zurueck::before { content: "←"; font-size: 1.05rem; line-height: 1; }
.site-head__links { display: flex; align-items: center; gap: 10px; }

.flow { position: relative; z-index: 2; padding: 40px 0 96px; }
.flow-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); gap: clamp(32px, 7vw, 88px); align-items: start; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: 'Fraunces', serif; line-height: 1.08; letter-spacing: -.025em; }
h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(2.65rem, 6vw, 5.5rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
.lede { max-width: 650px; margin: 0 0 28px; color: var(--muted); font-size: clamp(1.02rem, 2vw, 1.18rem); }

/* Signature: a single breathing waveform that turns payment into a calm threshold. */
.breath-line { position: relative; width: min(620px, 100%); height: 58px; margin: 28px 0 34px; overflow: hidden; }
.breath-line::before {
  content: '';
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 8%, var(--line) 92%, transparent);
}
.breath-line svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--accent); filter: drop-shadow(0 7px 12px color-mix(in srgb, var(--accent) 30%, transparent)); }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--muted); font-size: .9rem; font-weight: 700; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row span::before { content: '✓'; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 999px; color: var(--accent-strong); background: var(--accent-soft); font-size: .72rem; }

.panel { border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.order-card { position: sticky; top: 24px; overflow: hidden; }
.order-card__top { padding: 28px 28px 22px; border-bottom: 1px solid var(--line); }
.order-card__body { padding: 26px 28px 30px; }
.product-kicker { color: var(--muted); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.price { display: flex; align-items: baseline; gap: 9px; margin: 10px 0 7px; }
.price strong { font: 600 clamp(2.5rem, 6vw, 4.5rem)/1 'Fraunces', serif; color: var(--accent); }
.price span { color: var(--muted); font-size: .9rem; }
.order-list { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .93rem; }
.order-list li { display: grid; grid-template-columns: 18px 1fr; gap: 9px; }
.order-list li::before { content: '•'; color: var(--warm); font-size: 1.3rem; line-height: 1.1; }

.form-grid { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .88rem; font-weight: 800; }
.field small { color: var(--muted); }
.input { width: 100%; min-height: 52px; border: 1px solid var(--line); border-radius: 14px; padding: 0 15px; background: color-mix(in srgb, var(--surface-solid) 88%, transparent); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); outline: 0; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.consent-stack { display: grid; gap: 12px; margin-top: 3px; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; color: var(--muted); font-size: .86rem; line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.consent a { color: var(--accent); font-weight: 800; }

.primary { width: 100%; min-height: 56px; border: 0; border-radius: 999px; padding: 14px 22px; cursor: pointer; color: #fff; background: linear-gradient(110deg, var(--accent), var(--accent-strong)); box-shadow: 0 16px 34px -18px var(--accent); font-weight: 800; transition: transform .2s, box-shadow .2s, opacity .2s; }
.primary:hover { transform: translateY(-2px); box-shadow: 0 22px 42px -18px var(--accent); }
.primary:disabled { cursor: wait; opacity: .64; transform: none; }
.error-box, .notice { border-radius: 14px; padding: 13px 15px; font-size: .9rem; }
.error-box { display: none; border: 1px solid rgba(178, 55, 55, .35); color: #9d2e2e; background: rgba(225, 82, 82, .1); }
.error-box.is-visible { display: block; }
.notice { color: var(--muted); background: var(--accent-soft); }
.secure-note { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: .79rem; }

.state-card { max-width: 760px; margin: 6vh auto 0; padding: clamp(28px, 6vw, 60px); text-align: center; }
.state-icon { width: 74px; height: 74px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 999px; color: var(--accent); background: var(--accent-soft); font: 600 2rem/1 'Fraunces', serif; }
.spinner { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.state-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.secondary { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; color: var(--ink); background: var(--surface); text-decoration: none; font-weight: 800; }

.library-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 28px; }
.library-grid { display: grid; gap: 14px; }
.track { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 12px 36px -30px rgba(0,0,0,.5); }
.track__number { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; color: var(--accent); background: var(--accent-soft); font: 600 1.05rem/1 'Fraunces', serif; }
.track h3 { margin: 0 0 3px; }
.track p { margin: 0; color: var(--muted); font-size: .82rem; }
.track audio { width: min(420px, 100%); margin-top: 10px; }
.track__download { color: var(--accent); font-size: .84rem; font-weight: 800; text-decoration: none; white-space: nowrap; }

/* Bonusdokument (Workbook). Steht ueber der Sessionliste statt darunter:
   es beantwortet die erste Frage nach dem Kauf — womit fange ich an. */
.bonus-grid { display: grid; gap: 14px; margin-bottom: 22px; }
.bonus { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--warm-soft); }
.bonus--ohne-bild { grid-template-columns: minmax(0, 1fr) auto; }
.bonus__cover { width: 88px; height: auto; border-radius: 8px; box-shadow: 0 12px 28px -18px rgba(47, 62, 52, .85); }
.bonus .eyebrow { margin: 0 0 5px; font-size: .68rem; }
.bonus h2 { margin: 0 0 4px; font-size: 1.3rem; }
.bonus p { margin: 0; color: var(--muted); font-size: .86rem; }
.bonus__aktionen { display: grid; gap: 8px; justify-items: stretch; }
.bonus__online { width: auto; min-height: 46px; padding: 12px 20px; text-decoration: none; text-align: center; display: inline-flex; align-items: center; justify-content: center; }
.bonus .secondary { min-height: 40px; font-size: .84rem; }

.legal { max-width: 800px; margin: 28px auto 40px; padding: clamp(24px, 6vw, 56px); }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
.legal h2 { margin-top: 38px; font-size: 1.55rem; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--ink); }
.legal a { color: var(--accent); font-weight: 800; }

.site-foot { position: relative; z-index: 2; padding: 24px 0 38px; color: var(--muted); font-size: .8rem; }
.site-foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--line); padding-top: 22px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 14px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--ink); }
/* Rechtlicher Hinweis unter dem Footer — wortgleich mit der Startseite.
   Die Aufhellung steckt in der Farbe statt in `opacity`, damit keine eigene
   Kompositionsebene entsteht.

   Warum die vier Rechtstexte trotzdem nicht bis aufs Pixel gleich aussehen:
   ihre Seiten sind unterschiedlich lang, der Footer landet dadurch auf einer
   um eine halbe Pixelzeile verschobenen Y-Position (gemessen: 1217,938 px auf
   dem Impressum, 2379,438 px im Datenschutz). Groesse, Farbe, Schrift, Umbruch
   und Zeilenkasten sind identisch — nur das Raster der Glyphen liegt anders.
   Das ist Browsersache und nicht behebbar, ohne die Seiten kuenstlich gleich
   lang zu machen. */
.site-foot__hinweis {
  margin-top: 16px; font-size: .75rem; line-height: 1.6;
  color: color-mix(in srgb, var(--muted) 85%, var(--bg));
}

@media (max-width: 820px) {
  .flow { padding-top: 20px; }
  .flow-grid { grid-template-columns: 1fr; }
  .order-card { position: relative; top: 0; }
  .library-head { grid-template-columns: 1fr; align-items: start; }
  .track { grid-template-columns: 48px minmax(0, 1fr); }
  .track__download { grid-column: 2; }
  .bonus { grid-template-columns: 72px minmax(0, 1fr); }
  .bonus__cover { width: 72px; }
  .bonus__aktionen { grid-column: 1 / -1; grid-auto-flow: column; }
}
@media (max-width: 520px) {
  .shell { width: min(100% - 22px, 1120px); }
  .head-link { font-size: .8rem; }
  .flow { padding-bottom: 64px; }
  .panel { border-radius: 22px; }
  .order-card__top, .order-card__body { padding-left: 20px; padding-right: 20px; }
  .track { padding: 14px; gap: 12px; }
  .track audio { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}


/* --- "Link verloren": Zugangslink erneut anfordern ---------------------- */
/* Ersetzt einen Downloadzaehler: Wer sein Postfach hat, kommt wieder an
   seine Sessions - ohne Support und ohne Sperre nach n Klicks. */
.access-form { margin: 26px auto 4px; max-width: 26rem; text-align: left; }
.access-form__lede { font-size: .93rem; color: var(--muted, #6b6b74); margin: 0 0 10px; }
.access-form__row { display: flex; gap: 8px; flex-wrap: wrap; }
.access-form__row input {
  flex: 1 1 12rem; min-width: 0; padding: 12px 14px; font: inherit;
  border: 1px solid rgba(0,0,0,.16); border-radius: 10px; background: #fff;
}
.access-form__row input:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.access-form__row button { flex: 0 0 auto; width: auto; }
.access-form__hint { margin: 10px 0 0; font-size: .9rem; line-height: 1.5; color: var(--muted, #6b6b74); }
.access-form__hint--fehler { color: #a33; }
@media (max-width: 30rem) {
  .access-form__row { flex-direction: column; }
  .access-form__row button { width: 100%; }
}

.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;
}


/* --- Fassungswahl je Session ------------------------------------------- */
/* Ersetzt zwei getrennte Eintraege je Session: Die Liste bliebe sonst bei
   Komplett mit 364 Karten unuebersichtlich, und dieselbe Session staende
   zweimal fast gleich da. */
.fassung {
  display: inline-flex; gap: 2px; margin: 2px 0 10px;
  background: rgba(0,0,0,.05); border-radius: 999px; padding: 3px;
}
.fassung__opt {
  border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: .82rem; line-height: 1;
  padding: 7px 13px; border-radius: 999px; color: var(--muted, #6b6b74);
}
.fassung__opt:hover { color: inherit; }
.fassung__opt.is-aktiv {
  background: #fff; color: inherit; font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.fassung__opt:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* --- Ein ZIP-Knopf je Fassung ------------------------------------------ */
.archive-links { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.archive-link {
  width: auto; text-decoration: none; display: inline-flex;
  align-items: baseline; justify-content: center; gap: 8px; white-space: nowrap;
}
.archive-link__groesse { font-size: .82em; opacity: .75; font-weight: 400; }
@media (min-width: 46rem) {
  .archive-links { align-items: flex-end; }
}
