/* =========================================================
   Fingerfux – Grundstil
   Farben und Schriften angelehnt an die Fingerfux-Handouts.
   Dieser Teil ist so gebaut, dass er später für die ganze
   Homepage wiederverwendet werden kann.
   ========================================================= */

/* ---------- Schriften (lokal, keine Google-Server) ---------- */
@font-face {
  font-family: "Zilla Slab";
  src: url("../fonts/zilla-slab-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("../fonts/zilla-slab-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/lato-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/lato-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/lato-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Farben und Maße ---------- */
:root {
  --creme: #FBF6EE;
  --creme-dunkler: #F3E9D9;
  --creme-rand: #E4D5BD;
  --text: #2E241A;
  --text-leise: #6B5A47;
  --akzent: #C8641A;
  --akzent-dunkel: #A14F12;
  --weiss: #FFFFFF;

  --schrift-titel: "Zilla Slab", Georgia, "Times New Roman", serif;
  --schrift-text: "Lato", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --breite: 68rem;
  --breite-schmal: 44rem;
  --rand: 1.25rem;
  --radius: 10px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: 1.125rem;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--schrift-titel);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.4rem); }
h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.45em;
  background: var(--akzent);
  border-radius: 2px;
}
h3 { font-size: 1.3rem; font-weight: 600; }

p { margin: 0 0 1em; }

a { color: var(--akzent-dunkel); text-underline-offset: 0.15em; }
a:hover { color: var(--akzent); }

:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; }

.inhalt { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.inhalt--schmal { max-width: var(--breite-schmal); }
.kein-rand { padding: 0; margin: 0; }

/* ---------- Kopf ---------- */
.kopf { border-bottom: 1px solid var(--creme-rand); }
.kopf__inhalt { display: flex; align-items: center; height: 3.5rem; }
.kopf__marke {
  font-family: var(--schrift-titel);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--akzent-dunkel);
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 4rem 0; }
.abschnitt--dunkler { background: var(--creme-dunkler); }
.einleitung { font-weight: 700; }
.nachsatz { margin-top: 1.5rem; font-style: italic; }

/* ---------- Einstieg ---------- */
.held { padding: 3.5rem 0 4rem; text-align: center; }
.held__titel {
  font-size: clamp(3rem, 2rem + 6vw, 5.5rem);
  color: var(--akzent-dunkel);
  margin-bottom: 0.3em;
  letter-spacing: -0.01em;
}
.held__lead {
  font-family: var(--schrift-titel);
  font-weight: 600;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem);
  line-height: 1.35;
}
.held__video { margin-top: 2.5rem; max-width: 52rem; }

/* ---------- Knöpfe ---------- */
.aktion { margin-top: 2rem; }
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 3.25rem;
  padding: 0.8rem 2rem;
  border: 0;
  border-radius: 999px;
  background: var(--akzent);
  color: var(--weiss);
  font-family: var(--schrift-text);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 0 var(--akzent-dunkel);
  transition: background 0.15s, transform 0.15s;
}
.knopf:hover { background: var(--akzent-dunkel); color: var(--weiss); transform: translateY(-1px); }
.aktion__hinweis { margin-top: 0.8rem; font-size: 0.95rem; color: var(--text-leise); }
.aktion__zahlung {
  max-width: 26rem;
  margin: 0.6rem auto 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-leise);
}
.aktion__zahlung + .aktion__hinweis { margin-top: 0.6rem; }

/* ---------- Countdown ---------- */
.countdown { margin-top: 1.5rem; }
.countdown[hidden] { display: none; }
.countdown__titel {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--text-leise);
}
.countdown__felder {
  display: inline-flex;
  gap: 0.5rem;
  font-variant-numeric: lining-nums tabular-nums;
}
.countdown__feld {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 4.1rem;
  padding: 0.5rem 0.4rem 0.4rem;
  background: var(--weiss);
  border: 1px solid var(--creme-rand);
  border-radius: var(--radius);
  line-height: 1.1;
}
.countdown__feld b {
  font-family: var(--schrift-titel);
  font-weight: 700;
  font-size: 1.7rem;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--akzent-dunkel);
}
.countdown__feld small {
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: var(--text-leise);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.preis .countdown__feld { background: var(--creme); }

/* ---------- Verkauf offen / geschlossen ---------- */
.nur-geschlossen { display: none; }
html[data-verkauf="geschlossen"] .nur-offen { display: none; }
html[data-verkauf="geschlossen"] .nur-geschlossen { display: block; }
.geschlossen-hinweis p { font-weight: 700; }

/* ---------- Video (Zwei-Klick-Lösung) ---------- */
.video__flaeche {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--text);
  display: grid;
  place-items: center;
}
.video__flaeche iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__zustimmung { padding: 1.5rem; color: var(--creme); max-width: 32rem; }
.video__datenschutz { margin-top: 1rem; font-size: 0.9rem; line-height: 1.5; }
.video__datenschutz a { color: var(--creme); }
.knopf__dreieck {
  width: 0; height: 0;
  border-left: 0.75em solid currentColor;
  border-top: 0.45em solid transparent;
  border-bottom: 0.45em solid transparent;
}
.video .platzhalter { color: var(--creme); border-color: var(--text-leise); }

/* ---------- Listen ---------- */
.liste { list-style: none; margin: 0; padding: 0; }
.liste li { position: relative; padding-left: 2rem; margin-bottom: 0.75rem; }
.liste--haken li::before {
  content: "";
  position: absolute;
  left: 0.2rem; top: 0.35em;
  width: 0.55rem; height: 0.95rem;
  border: solid var(--akzent);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.liste--punkt li::before {
  content: "";
  position: absolute;
  left: 0.35rem; top: 0.65em;
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--akzent);
}

/* ---------- Songs ---------- */
.songs {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  counter-reset: song;
}
.song {
  counter-increment: song;
  background: var(--creme);
  border: 1px solid var(--creme-rand);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 0.6rem;
}
.song__name { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.5rem; }
.song__name::before {
  content: counter(song);
  font-size: 0.95rem;
  color: var(--akzent);
  min-width: 1.1rem;
}
.song p { font-size: 1rem; }

/* ---------- Kursaufbau ---------- */
.schritte { list-style: none; margin: 2rem 0 0; padding: 0; counter-reset: schritt; }
.schritt {
  counter-increment: schritt;
  position: relative;
  padding: 0 0 1.5rem 3.5rem;
  border-left: 2px solid var(--creme-rand);
  margin-left: 1.1rem;
}
.schritt:last-child { border-left-color: transparent; padding-bottom: 0; }
.schritt::before {
  content: counter(schritt);
  position: absolute;
  left: -1.2rem; top: -0.2rem;
  width: 2.3rem; height: 2.3rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--akzent);
  color: var(--weiss);
  font-family: var(--schrift-titel);
  font-weight: 700;
}
.schritt h3 { margin-bottom: 0.3rem; }

/* ---------- Bilder und Platzhalter ---------- */
.bilder {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}
.bild-platzhalter { aspect-ratio: 4 / 3; }
.platzhalter {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 1rem;
  border: 2px dashed var(--akzent);
  border-radius: var(--radius);
  color: var(--akzent-dunkel);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
}

.hinweis-kasten {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  background: var(--creme);
  border-left: 4px solid var(--akzent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---------- Preis ---------- */
.preis {
  background: var(--weiss);
  border: 2px solid var(--akzent);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}
.preis__betrag {
  font-family: var(--schrift-titel);
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--akzent-dunkel);
  margin-bottom: 0.5rem;
}
.preis__zusatz { margin-bottom: 1.5rem; }
.preis__liste { text-align: left; max-width: 30rem; margin: 0 auto; }

/* ---------- Über mich ---------- */
.ueber-mich { display: grid; gap: 2rem; }
.ueber-mich__foto { aspect-ratio: 1; max-width: 16rem; width: 100%; }
@media (min-width: 40rem) {
  .ueber-mich { grid-template-columns: 14rem 1fr; align-items: start; }
}

/* ---------- Stimmen (Bewertungs-Screenshots) ---------- */
.stimmen { display: grid; gap: 1.25rem; margin-top: 2rem; }
.stimme {
  margin: 0;
  padding: 1.4rem 1.4rem 1.1rem;
  background: var(--weiss);
  border: 1px solid var(--creme-rand);
  border-left: 4px solid var(--akzent);
  border-radius: var(--radius);
}
.stimme__kurs {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--akzent-dunkel);
}
.stimme__text { margin: 0; font-size: 1.05rem; }
.stimme__text p { margin: 0; }
.stimme__fuss {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--creme-dunkler);
  font-size: 0.9rem;
  color: var(--text-leise);
}
.stimme__fuss span { font-weight: 700; }
.stimme__fuss a { color: var(--text-leise); }
.nur-vorleser {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.stimmen__link { margin-top: 1.5rem; font-weight: 700; }
.stimmen__hinweis { font-size: 0.9rem; color: var(--text-leise); }

/* ---------- Häufige Fragen ---------- */
.fragen details { border-bottom: 1px solid var(--creme-rand); }
.fragen details:first-child { border-top: 1px solid var(--creme-rand); }
.fragen summary {
  position: relative;
  padding: 1rem 2.5rem 1rem 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem; top: 0.75rem;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--akzent);
}
.fragen details[open] summary::after { content: "–"; }
.fragen details p { padding-bottom: 0.5rem; }

/* ---------- Abschluss ---------- */
.abschnitt--abschluss { text-align: center; background: var(--creme-dunkler); }
.abschluss__text {
  font-family: var(--schrift-titel);
  font-weight: 600;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem);
  line-height: 1.4;
}

/* ---------- Fuß ---------- */
.fuss { padding: 2rem 0; font-size: 0.95rem; color: var(--text-leise); border-top: 1px solid var(--creme-rand); }
.fuss__inhalt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.fuss p { margin: 0; }
.fuss nav { display: flex; gap: 1.5rem; }
.fuss a { color: var(--text-leise); }

/* ---------- Hinweisleiste für fehlende Inhalte ---------- */
.platzhalter-leiste {
  background: #FFF1C2;
  color: #5C4300;
  font-size: 0.9rem;
  padding: 0.6rem var(--rand);
  text-align: center;
}

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .knopf { transition: none; }
}
