/* stil.css — happy-beginners.com
 *
 * Dieselbe Farbwelt wie Buch und App: Papier, Braun, ein oranger
 * Akzent, die neun Tonfarben. Kein Framework, keine fremden Server —
 * Schrift und Bilder liegen hier. */

:root {
  --papier:      #FDF8EE;
  --papier-tief: #F6EEDD;
  --karte:       #FFFFFF;
  --rand:        #E8DCC4;
  --schrift:     #3A332B;
  --gedaempft:   #6B563C;
  --akzent:      #E8720C;
  --akzent-hell: #FF8A3D;
  --gruen:       #2F9E44;
  --schatten:    0 10px 30px rgba(120, 95, 55, .13);
  --breite:      1120px;
}

@font-face {
  font-family: 'Rubik';
  src: url('schrift/Rubik-Regular.woff') format('woff');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Rubik';
  src: url('schrift/Rubik-Bold.woff') format('woff');
  font-weight: 700; font-display: swap;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--schrift);
  font: 400 18px/1.65 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.6vw, 3.7rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.8vw, 2.5rem); letter-spacing: -.01em; }
h3 { font-size: 1.22rem; }
p  { margin: 0 0 1em; }

a { color: var(--akzent); }

.hg { max-width: var(--breite); margin: 0 auto; padding: 0 22px; }

.abschnitt { padding: clamp(56px, 8vw, 104px) 0; }
.abschnitt--tief { background: var(--papier-tief); }

.kicker {
  font-size: .86rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--gedaempft); margin-bottom: 14px;
}
.lead { font-size: clamp(1.06rem, 2.1vw, 1.3rem); color: var(--gedaempft); max-width: 46ch; }
.mitte { text-align: center; }
.mitte .lead { margin-left: auto; margin-right: auto; }

/* ---- Knöpfe ------------------------------------------------------ */

.knopf {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 17px 30px; border-radius: 999px;
  font-weight: 700; font-size: 1.05rem; text-decoration: none;
  border: 2px solid transparent; transition: transform .12s, box-shadow .12s;
}
.knopf:hover { transform: translateY(-2px); }
.knopf--haupt {
  background: var(--akzent); color: #fff;
  box-shadow: 0 8px 22px rgba(232, 114, 12, .32);
}
.knopf--haupt:hover { box-shadow: 0 12px 28px rgba(232, 114, 12, .40); }
.knopf--zweit {
  background: var(--karte); color: var(--schrift); border-color: var(--rand);
  box-shadow: var(--schatten);
}
.knopfreihe { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.unterknopf { font-size: .92rem; color: var(--gedaempft); margin-top: 14px; }

/* ---- Kopfbereich -------------------------------------------------- */

.kopf { padding: clamp(28px, 4.5vw, 52px) 0 clamp(40px, 6vw, 72px); }
.kopf__raster {
  display: grid; gap: clamp(32px, 5vw, 60px);
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 900px) {
  .kopf__raster { grid-template-columns: 1.05fr .95fr; }
}
.kopf__bild { position: relative; }
.kopf__bild img {
  border-radius: 14px; box-shadow: var(--schatten);
  margin: 0 auto; max-width: 420px; width: 100%;
}
.kopf h1 { font-size: clamp(2rem, 4.3vw, 3rem); }
.kopf h1 .betont {
  display: block; margin-top: .35em; font-size: .56em; line-height: 1.2;
  letter-spacing: 0; color: #C65E08;
}

/* Die Übe-App als Tablet vor dem Cover */
.kopf__bild { margin-bottom: 34px; }
.kopf__bild .tablet {
  position: absolute; left: max(-12px, calc(50% - 290px)); bottom: -34px;
  width: min(300px, 62%); margin: 0; padding: 9px;
  background: var(--schrift); border-radius: 22px;
  box-shadow: 0 18px 40px rgba(58, 51, 43, .30);
}
.kopf__bild .tablet img { width: 100%; max-width: none; border-radius: 13px; box-shadow: none; }
/* Auf dem Handy ist das Cover breit: der Stempel wird kleiner und rückt hinaus, damit er den Titel frei lässt. */
@media (max-width: 600px) {
  .kopf__bild .stempel { width: 92px; height: 92px; font-size: .64rem; top: -30px; right: -10px; }
}

/* ---- Karten ------------------------------------------------------- */

.karten { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 42px; }
@media (min-width: 720px) { .karten--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) { .karten--2 { grid-template-columns: repeat(2, 1fr); } }

.karte {
  background: var(--karte); border: 2px solid var(--rand);
  border-radius: 20px; padding: 28px 26px;
}
.karte h3 { margin-bottom: .35em; }
.karte p { margin: 0; color: var(--gedaempft); font-size: 1rem; }

/* Vier Vorteile der Übe-App */
.vorteile {
  list-style: none; display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 42px;
}
@media (min-width: 620px) { .vorteile { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .vorteile { grid-template-columns: repeat(4, 1fr); } }
.vorteile li {
  background: var(--karte); border: 2px solid var(--rand); border-radius: 20px; padding: 24px 22px;
}
.vorteile__zeichen {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 14px;
}
.vorteile h3 { margin-bottom: .3em; }
.vorteile p { margin: 0; color: var(--gedaempft); font-size: 1rem; }

/* Zwei Zielgruppen: Eltern und Unterricht */
.zielgruppe { padding: 32px 30px 26px; }
.zielgruppe h3 { font-size: 1.35rem; }
.zielgruppe .liste { margin-top: 20px; }
.zielgruppe .zielgruppe__marke {
  display: inline-block; margin: 0 0 14px; padding: 4px 14px; border-radius: 999px;
  color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase;
}

/* ---- Gegenüberstellung Buch / App --------------------------------- */

.paar { display: grid; gap: 26px; grid-template-columns: 1fr; align-items: center; margin-top: 44px; }
@media (min-width: 820px) { .paar { grid-template-columns: 1fr auto 1fr; } }
.paar figure { margin: 0; text-align: center; }
.paar img { border-radius: 14px; box-shadow: var(--schatten); margin: 0 auto; }
.paar figcaption {
  margin-top: 14px; font-weight: 700; color: var(--akzent); font-size: 1.02rem;
}
.pfeil { font-size: 2rem; color: var(--rand); text-align: center; }

/* ---- Seitenstreifen ----------------------------------------------- */

.streifen {
  display: grid; gap: 16px; margin-top: 42px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) { .streifen { grid-template-columns: repeat(5, 1fr); } }
.streifen figure { margin: 0; }
.streifen img { border-radius: 8px; box-shadow: var(--schatten); }
.streifen figcaption {
  margin-top: 10px; font-size: .86rem; color: var(--gedaempft); text-align: center;
}

/* ---- Liste mit Punkten -------------------------------------------- */

.liste { list-style: none; padding: 0; margin: 26px 0 0; }
.liste li {
  position: relative; padding-left: 32px; margin-bottom: 15px; color: var(--gedaempft);
}
.liste li::before {
  content: ''; position: absolute; left: 0; top: .52em;
  width: 13px; height: 13px; border-radius: 50%; background: var(--akzent-hell);
}
.liste b { color: var(--schrift); }

/* ---- Angebote: Buch und PDF ----------------------------------------- */

.angebote {
  display: grid; gap: 30px 22px; grid-template-columns: 1fr;
  max-width: 880px; margin-top: 50px;
}
@media (min-width: 760px) { .angebote { grid-template-columns: 1fr 1fr; } }
.angebot {
  position: relative; display: flex; flex-direction: column; text-align: center;
  background: var(--karte); border: 2px solid var(--rand); border-radius: 26px;
  padding: 36px 30px 30px;
}
.angebot--haupt { border-color: var(--akzent); box-shadow: 0 14px 38px rgba(232, 114, 12, .18); }
.angebot__band {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--gruen); color: #fff; font-weight: 700; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 16px; border-radius: 999px;
}
.angebot h3 { font-size: 1.3rem; margin-bottom: .3em; }
.angebot__preis { font-size: clamp(2.4rem, 6vw, 3rem); font-weight: 700; line-height: 1.1; }
.angebot__klein { color: var(--gedaempft); font-size: .92rem; margin: 6px 0 0; }
.angebot .liste { text-align: left; margin: 24px 0 26px; flex: 1; }
.angebot .knopf { justify-content: center; }
#kaufen .unterknopf { margin-top: 26px; }

/* ---- Leiste oben ---------------------------------------------------- */

.leiste {
  position: sticky; top: 0; z-index: 10;
  background: rgba(253, 248, 238, .93);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rand);
}
.leiste__innen { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.leiste__marke {
  display: flex; align-items: center; gap: 10px; margin-right: auto;
  font-weight: 700; color: var(--schrift); text-decoration: none;
}
.leiste__marke img { width: 36px; height: 36px; border-radius: 50%; }
.leiste__marke span { white-space: nowrap; }
@media (max-width: 419px) {
  .leiste__innen { gap: 10px; }
  .leiste__marke { gap: 8px; font-size: .9rem; }
  .knopf--klein { padding: 9px 16px; }
}
@media (max-width: 374px) { .leiste__marke span { display: none; } }
.leiste__links { display: none; gap: 26px; }
.leiste__links a { color: var(--gedaempft); text-decoration: none; font-size: .98rem; }
.leiste__links a:hover { color: var(--schrift); }
@media (min-width: 820px) { .leiste__links { display: flex; } }
.knopf--klein { padding: 10px 20px; font-size: .95rem; }
header[id], section[id] { scroll-margin-top: 72px; }

/* ---- Kopf: Neu-Hinweis, Haken, Stempel, Zahlen ---------------------- */

.neu {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  background: var(--karte); border: 2px solid var(--rand); border-radius: 999px;
  padding: 4px 16px 4px 4px; font-size: .92rem; font-weight: 700;
}
.neu span {
  background: var(--gruen); color: #fff; border-radius: 999px; padding: 2px 10px;
  font-size: .76rem; letter-spacing: .07em; text-transform: uppercase;
}
.haken { list-style: none; padding: 0; margin: 22px 0 0; }
.haken li { position: relative; padding-left: 34px; margin-bottom: 9px; }
.haken li::before {
  content: ''; position: absolute; left: 0; top: .2em;
  width: 22px; height: 22px; border-radius: 50%; background: var(--gruen);
}
.haken li::after {
  content: ''; position: absolute; left: 8px; top: calc(.2em + 5px);
  width: 6px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.stempel {
  position: absolute; top: -16px; right: max(-6px, calc(50% - 232px));
  width: 124px; height: 124px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--akzent); color: #fff; font-weight: 700; font-size: .8rem; line-height: 1.2;
  transform: rotate(12deg); box-shadow: 0 8px 20px rgba(232, 114, 12, .35);
}
.zahlen {
  list-style: none; margin: clamp(44px, 6vw, 70px) 0 0; padding: 30px 0 0;
  display: grid; gap: 22px 18px; grid-template-columns: repeat(2, 1fr);
  border-top: 2px solid var(--rand); text-align: center;
}
@media (min-width: 760px) { .zahlen { grid-template-columns: repeat(4, 1fr); } }
.zahlen b {
  display: block; font-size: clamp(2rem, 4.6vw, 2.8rem); line-height: 1.1; color: var(--akzent);
}
.zahlen span { font-size: .95rem; color: var(--gedaempft); }

/* ---- Drei Schritte --------------------------------------------------- */

.schritte {
  list-style: none; display: grid; gap: 40px 20px; grid-template-columns: 1fr; margin-top: 60px;
}
@media (min-width: 720px) { .schritte { grid-template-columns: repeat(3, 1fr); } }
.schritte .karte { position: relative; padding-top: 42px; }
.schritte__nr {
  position: absolute; top: -22px; left: 26px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.2rem;
}

/* ---- Versprechen, Autor ---------------------------------------------- */

.versprechen { margin-top: 56px; }
.versprechen h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
.versprechen p { color: var(--gedaempft); max-width: 52ch; margin: 0 auto; }

.autor { display: grid; gap: 30px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 760px) { .autor { grid-template-columns: 290px 1fr; gap: 60px; } }
.autor img {
  width: 100%; max-width: 290px; margin: 0 auto; border-radius: 50%;
  border: 6px solid var(--karte); box-shadow: var(--schatten);
}
.autor .lead { max-width: 54ch; }

/* ---- Fragen ------------------------------------------------------------ */

.fragen { max-width: 800px; margin-top: 38px; }
.fragen details {
  background: var(--karte); border: 2px solid var(--rand); border-radius: 16px;
  padding: 0 22px; margin-bottom: 12px;
}
.fragen summary {
  position: relative; cursor: pointer; list-style: none;
  font-weight: 700; padding: 18px 34px 18px 0;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--akzent);
}
.fragen details[open] summary::after { content: '–'; }
.fragen details p { color: var(--gedaempft); margin: 0 0 20px; }

/* ---- Schluss ------------------------------------------------------------ */

.schluss { background: #B85407; color: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.schluss .lead { color: rgba(255, 255, 255, .92); }
.schluss .knopfreihe { justify-content: center; }
.knopf--hell { background: #fff; color: #B85407; box-shadow: 0 8px 22px rgba(0, 0, 0, .16); }
.knopf--rand { color: #fff; border-color: rgba(255, 255, 255, .75); }

/* ---- Rechtstexte ---------------------------------------------------- */

.rechtskopf { padding: 26px 0; border-bottom: 2px solid var(--rand); }
.zurueck { font-weight: 700; text-decoration: none; }
.rechtstext { max-width: 760px; padding-top: 44px; padding-bottom: 72px; font-size: 1rem; }
.rechtstext h1 { font-size: clamp(1.7rem, 4.4vw, 2.4rem); margin-bottom: .8em; }
.rechtstext h2 { font-size: 1.2rem; margin: 1.8em 0 .5em; }
.rechtstext ul { padding-left: 1.2em; }
.rechtstext li { margin-bottom: .4em; }
.tabelle { border-collapse: collapse; width: 100%; margin: 0 0 1em; }
.tabelle th, .tabelle td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--rand); }
.tabelle th { font-size: .9rem; color: var(--gedaempft); }
.formular {
  background: var(--karte); border: 2px dashed var(--rand); border-radius: 16px;
  padding: 22px 24px;
}
.stand { color: var(--gedaempft); font-size: .9rem; margin-top: 2.4em; }
/* Noch auszufüllen — das Deploy-Skript lässt nichts mit .offen hinaus. */
.offen { background: #FFE9A8; padding: 0 4px; border-radius: 4px; }
.fuss--schmal { padding: 26px 0; }

/* ---- Video --------------------------------------------------------- */

.film {
  border-radius: 22px; overflow: hidden; box-shadow: var(--schatten);
  max-width: 460px; margin: 0 auto; background: var(--papier-tief);
}

/* ---- Fuß ----------------------------------------------------------- */

.fuss {
  background: var(--schrift); color: #E7DFD2; padding: 56px 0 44px; font-size: .95rem;
}
.fuss a { color: #FFB877; }
.fuss__raster { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .fuss__raster { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .fuss__raster { grid-template-columns: 1.7fr 1fr 1fr 1.1fr; } }
.fuss h3 { color: #fff; font-size: 1rem; margin-bottom: .7em; }
.fuss p { margin: 0 0 .5em; opacity: .82; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: .5em; }

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

/* ---- Ratgeberseiten (Lernen, Grifftabelle, Lieder) -------------------- */

.brotkrumen { font-size: .9rem; color: var(--gedaempft); padding-top: 26px; }
.brotkrumen a { text-decoration: none; }
.brotkrumen a:hover { text-decoration: underline; }

.artikel { max-width: 780px; padding-top: 18px; padding-bottom: 60px; }
.artikel > h1 { margin-bottom: .35em; }
.artikel .lead { max-width: none; margin-bottom: 1.6em; }
.artikel h2 { margin: 1.9em 0 .5em; font-size: clamp(1.4rem, 3.2vw, 1.9rem); }
.artikel h3 { margin: 1.5em 0 .4em; }
.artikel p, .artikel li { color: var(--gedaempft); }
.artikel b { color: var(--schrift); }
.artikel ul, .artikel ol { padding-left: 1.3em; }
.artikel li { margin-bottom: .5em; }
.artikel .liste li { color: var(--gedaempft); }

.kasten {
  background: var(--karte); border: 2px solid var(--rand); border-radius: 18px;
  padding: 24px 26px; margin: 1.8em 0;
}
.kasten--tipp { border-color: var(--akzent-hell); }
.kasten h3 { margin-top: 0; }
.kasten p:last-child, .kasten ul:last-child { margin-bottom: 0; }

/* Griffbilder-Gitter */
.griffgitter {
  list-style: none; display: grid; gap: 16px; padding: 0; margin: 1.6em 0 0;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 560px) { .griffgitter { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 860px) { .griffgitter { grid-template-columns: repeat(5, 1fr); } }
.griffgitter li {
  background: var(--karte); border: 2px solid var(--rand); border-radius: 16px;
  padding: 14px 8px 12px; text-align: center; margin: 0;
}
.griffgitter li.hervor { border-color: var(--akzent); }
.griffgitter .notenbild { height: 62px; width: auto; margin: 0 auto 8px; }
.griffgitter .griffbild { height: 175px; width: auto; margin: 0 auto; }
.griffgitter .buchstabe { display: block; font-size: 1.6rem; font-weight: 700; line-height: 1.1; margin-top: 8px; }
.griffgitter .buchstabe sup { font-size: .55em; vertical-align: super; line-height: 0; }
.griffgitter .lage { display: block; font-size: .82rem; color: var(--gedaempft); }

/* Liedtabellen */
.kapitelblock { margin: 1.8em 0; }
.kapitelblock h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: .5em; }
.kapitelblock__toene { font-weight: 400; font-size: .92rem; color: var(--gedaempft); }
.tonpunkt { width: 16px; height: 16px; border-radius: 50%; display: inline-block; }
.liedtabelle { border-collapse: collapse; width: 100%; font-size: .98rem; }
.liedtabelle th, .liedtabelle td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--rand); }
.liedtabelle th { font-size: .84rem; text-transform: uppercase; letter-spacing: .05em; color: var(--gedaempft); }
.liedtabelle td:last-child, .liedtabelle th:last-child { text-align: right; width: 4.5em; color: var(--gedaempft); }
.tabellenrahmen { overflow-x: auto; }

/* Weiterführende Karten am Seitenende */
.weiter { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 2.4em; }
@media (min-width: 720px) { .weiter { grid-template-columns: repeat(3, 1fr); } }
.weiter a {
  display: block; background: var(--karte); border: 2px solid var(--rand); border-radius: 18px;
  padding: 22px 22px 20px; text-decoration: none; color: var(--schrift);
  transition: transform .12s, border-color .12s;
}
.weiter a:hover { transform: translateY(-2px); border-color: var(--akzent); }
.weiter b { display: block; margin-bottom: .3em; font-size: 1.08rem; }
.weiter span { color: var(--gedaempft); font-size: .96rem; }

/* Gratis-Bereich auf der Startseite */
.lernkarten { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 42px; }
@media (min-width: 760px) { .lernkarten { grid-template-columns: repeat(3, 1fr); } }
.lernkarte {
  display: flex; flex-direction: column; background: var(--karte);
  border: 2px solid var(--rand); border-radius: 20px; padding: 26px 24px 22px;
  text-decoration: none; color: var(--schrift);
  transition: transform .12s, border-color .12s, box-shadow .12s;
}
.lernkarte:hover { transform: translateY(-2px); border-color: var(--akzent); box-shadow: var(--schatten); }
.lernkarte h3 { margin-bottom: .35em; }
.lernkarte p { color: var(--gedaempft); font-size: 1rem; margin: 0 0 14px; }
.lernkarte span { margin-top: auto; font-weight: 700; color: var(--akzent); }
