/* Look Säule 1: dunkel + Gold (Farben aus projekte/system-neustart/looks.md) */
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #1d1610;
  --karte: #2b2219;
  --flaeche2: #342a20;
  --linie: #4f4333;
  --text: #f3eee6;
  --gedaempft: #b9b4aa;
  --gold: #d6b765;
  --gold-hell: #e8d085;
  --auf-gold: #16110b;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(ellipse 90% 460px at 50% 0, #2c2117 0%, var(--bg) 70%) no-repeat, var(--bg);
  color: var(--text);
  font-family: "Source Sans 3", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 36px 20px 32px; }

h1, h2, h3 { text-wrap: balance; line-height: 1.2; margin: 0; }
p { text-wrap: pretty; margin: 0; }
.nb { white-space: nowrap; }

.label {
  display: inline-block;
  padding: 3px 12px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-hell);
}

/* Kopf */
.kopf { display: grid; gap: 36px; align-items: center; padding: 20px 0 48px; }
.kopf h1 { font-size: 2.25rem; font-weight: 800; margin: 16px 0 16px; }
.kopf h1 em { font-style: normal; color: var(--gold-hell); }
.kopf .lead { color: var(--text); font-size: 1.1875rem; margin-bottom: 24px; max-width: 46ch; }
.kopf .klein { margin-top: 14px; font-size: 0.9375rem; color: var(--gedaempft); }

.btn {
  display: block;
  width: 100%;
  max-width: 420px;
  min-height: 60px;
  padding: 15px 22px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--auf-gold);
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(214, 183, 101, 0.22);
  transition: background-color 0.15s ease, transform 0.1s ease;
}
.btn:hover { background: var(--gold-hell); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--gold-hell); outline-offset: 3px; }

/* Lektions-Vorschau */
.fenster {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.fenster-kopf {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--flaeche2);
  border-bottom: 1px solid var(--linie);
  font-size: 0.8125rem; color: var(--gedaempft); letter-spacing: 0.04em;
}
.fenster-kopf i { width: 10px; height: 10px; border-radius: 50%; background: var(--linie); display: inline-block; }
.fenster-kopf span { margin-left: 6px; }
.raster { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 14px; }
@media (min-width: 500px) { .raster { grid-template-columns: repeat(3, 1fr); } }
.kachel {
  background: var(--bg);
  border: 1px solid var(--linie);
  border-radius: 10px;
  padding: 10px 10px 12px;
  font-size: 0.8125rem; line-height: 1.3; color: var(--gedaempft);
}
.kachel svg {
  display: block; width: 28px; height: 28px; margin-bottom: 8px;
  fill: none; stroke: var(--gold-hell); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.kachel { padding: 0; overflow: hidden; }
.kachel img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.kachel .bild { position: relative; display: block; }
.kachel .play {
  position: absolute; top: 50%; left: 50%;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s ease;
}
.kachel .play svg {
  width: 30px; height: 30px; fill: var(--gold-hell); margin-left: 3px;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 10px rgba(214, 183, 101, 0.55));
}
.kachel:hover .play { transform: scale(1.15); }
.kachel p { padding: 8px 10px 10px; font-size: 0.8125rem; line-height: 1.25; }
.kachel b { color: var(--gold); margin-right: 6px; }
.kachel span { color: var(--text); font-weight: 600; }
.kachel-gold {
  background: rgba(214, 183, 101, 0.12); border-color: var(--gold);
  display: flex; align-items: center; justify-content: center; min-height: 90px; text-align: center;
}
.kachel-gold span { color: var(--gold-hell); font-weight: 800; font-size: 1rem; }
.kachel span { color: var(--text); font-weight: 600; }

/* Abschnitte */
section.block { padding: 48px 0; border-top: 1px solid var(--linie); }
.kicker { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
section.block h2 { font-size: 1.875rem; font-weight: 800; margin-bottom: 12px; }
.sub { color: var(--gedaempft); max-width: 56ch; margin-bottom: 28px; }

.karten { display: grid; gap: 16px; }
.karte { background: var(--karte); border: 1px solid var(--linie); border-radius: 16px; padding: 22px 20px; }
.karte .nr { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.06em; color: var(--gold); text-transform: uppercase; margin-bottom: 6px; }
.karte h3 { font-size: 1.3125rem; margin-bottom: 8px; }
.karte p { color: var(--gedaempft); }
.karte-haupt { background: var(--flaeche2); border-color: var(--gold); }

.lektionen { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lektionen li {
  display: flex; align-items: center; gap: 14px;
  background:
    radial-gradient(ellipse 70% 140% at 0% 0%, rgba(214, 183, 101, 0.20) 0%, rgba(214, 183, 101, 0) 60%),
    linear-gradient(135deg, #2b2219 0%, #1f1912 100%);
  border: 1px solid rgba(214, 183, 101, 0.38); border-radius: 14px;
  padding: 14px 16px; font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(232, 208, 133, 0.22),
    0 0 18px rgba(214, 183, 101, 0.14),
    0 8px 20px rgba(0, 0, 0, 0.3);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.lektionen li:hover {
  border-color: var(--gold); transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(232, 208, 133, 0.3), 0 0 28px rgba(214, 183, 101, 0.28), 0 10px 24px rgba(0, 0, 0, 0.35);
}
.nr-badge {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold); color: var(--auf-gold);
  font-size: 1rem; font-weight: 800; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 4px rgba(214, 183, 101, 0.16);
}
.lektionen .titel { flex: 1 1 auto; line-height: 1.3; }
.lektionen svg {
  flex: 0 0 auto; width: 26px; height: 26px;
  fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0.85;
}
@media (prefers-reduced-motion: reduce) { .lektionen li { transition: none; } .lektionen li:hover { transform: none; } }

.ueber { display: grid; gap: 20px; align-items: center; }
.profil {
  width: 112px; height: 112px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(214, 183, 101, 0.14), 0 8px 24px rgba(0, 0, 0, 0.4);
}
.ueber p { color: var(--text); max-width: 60ch; }

.schluss { text-align: center; padding: 48px 20px; }
.schluss .btn { margin: 20px auto 0; }
.schluss p { color: var(--gedaempft); max-width: 52ch; margin: 0 auto; }
.schluss .klein { margin-top: 14px; font-size: 0.9375rem; }

.fuss { margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--linie); text-align: center; font-size: 0.9375rem; color: var(--gedaempft); }
.fuss p { margin-bottom: 10px; }
.fuss a { color: var(--gedaempft); text-decoration: underline; padding: 8px 6px; display: inline-block; }
.fuss a:hover { color: var(--gold-hell); }

@media (min-width: 760px) {
  .wrap { padding-top: 56px; }
  .kopf { grid-template-columns: 1.05fr 0.95fr; gap: 48px; padding-bottom: 64px; }
  .kopf h1 { font-size: 3rem; }
  .karten.drei { grid-template-columns: repeat(3, 1fr); }
  .lektionen { grid-template-columns: repeat(2, 1fr); }
  .ueber { grid-template-columns: auto 1fr; gap: 32px; }
}

/* Werbehinweis unter dem ersten Button */
.kopf .werbung { margin-top: 10px; font-size: 0.875rem; color: var(--gedaempft); max-width: 46ch; }
.kopf .werbung span {
  display: inline-block; margin-right: 6px; padding: 1px 8px;
  border: 1px solid var(--gedaempft); border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}

/* Fester Button, nur am Handy */
.fest { display: none; }
@media (max-width: 759px) {
  .fest {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(29, 22, 16, 0.94);
    border-top: 1px solid rgba(214, 183, 101, 0.4);
    backdrop-filter: blur(6px);
    transform: translateY(110%); transition: transform 0.25s ease;
  }
  .fest.zeigen { transform: translateY(0); }
  .fest .btn { min-height: 52px; font-size: 1.125rem; max-width: none; }
  .fest-werbung { font-size: 0.75rem; color: var(--gedaempft); }
  .fuss { padding-bottom: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  .fest { transition: none !important; }
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:active { transform: none; }
}
