/* Tilda & Bruno – Stylesheet für Startseite und Textseiten.
   Schrift Baloo 2 (OFL) wird selbst gehostet, Fließtext in Systemschrift. Keine externen Anfragen. */
@font-face {
  font-family: "Baloo 2";
  src: url("fonts/Baloo2.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
:root {
  --creme: #FFF3E6; --hell: #FFF8F0; --papier: #FFFDF9; --tinte: #2B1A0E; --text: #4A3423; --grau: #6B5040;
  --rost: #9C4A12; --rost-hell: #B05E23; --petrol: #1F7A8C; --petrol-dunkel: #155A68; --orange: #E8731B; --braun: #7A4A1E;
  --gelb: #F7C948; --linie: #F1DFC9; --rand: #E4CDB3; --beige: #8A6E58;
  --kopf: "Baloo 2", "Segoe UI", system-ui, sans-serif;
  --fliess: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--fliess); background: var(--papier); color: var(--tinte); line-height: 1.55; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol); }
h1, h2, h3 { font-family: var(--kopf); font-weight: 800; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 64px); color: var(--rost); }
h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 8px; }
h3 { font-size: 24px; font-weight: 700; }
p { margin: 0 0 12px; color: var(--text); }
.inhalt { max-width: 1248px; margin: 0 auto; padding: 0 16px; }
.springen { position: absolute; left: -999px; top: 8px; background: var(--gelb); padding: 8px 12px; border-radius: 8px; }
.springen:focus { left: 8px; z-index: 20; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; padding: 0 16px; background: var(--creme); border-bottom: 1px solid var(--linie); }
.marke { display: flex; align-items: center; gap: 12px; font-family: var(--kopf); font-weight: 800; font-size: 24px; text-decoration: none; color: var(--tinte); line-height: 1; }
.marke img { border-radius: 999px; }
.marke .t { color: var(--orange); } .marke .u { color: var(--petrol); } .marke .b { color: var(--braun); }
.menue-knopf { width: 44px; height: 44px; border: 0; background: transparent; color: var(--tinte); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.menue { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 4px; padding: 12px 16px 16px; background: var(--creme); border-bottom: 1px solid var(--linie); }
.menue.offen { display: flex; }
.menue a { padding: 10px 4px; font-weight: 700; text-decoration: none; color: var(--tinte); }
.kopf nav a.knopf { color: #fff; margin-top: 8px; }
.kopf > nav:not(.menue) a { margin-left: 20px; font-weight: 700; text-decoration: none; color: inherit; }

/* Knöpfe, Pillen */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px; border: 0; font-family: var(--fliess); font-weight: 700; font-size: 18px; text-decoration: none; cursor: pointer; }
.knopf.klein { min-height: 48px; padding: 0 22px; font-size: 16px; }
.knopf.breit { width: 100%; }
.knopf-akzent { background: var(--petrol); color: #fff; }
.knopf-akzent:hover { background: var(--petrol-dunkel); color: #fff; }
.knopf-rand { background: #fff; border: 2px solid var(--rost); color: var(--rost); }
.knopf-gelb { background: var(--gelb); color: var(--tinte); }
.knopf:disabled { background: var(--rand); color: var(--grau); border-color: var(--rand); cursor: not-allowed; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.pille { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--linie); font-weight: 700; font-size: 14px; color: var(--petrol); }
.marke-pille { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; background: var(--gelb); font-family: var(--kopf); font-weight: 700; font-size: 14px; color: var(--tinte); }
.blase { display: inline-block; padding: 10px 16px; border-radius: 16px 16px 16px 4px; background: var(--creme); border: 1px solid var(--linie); font-weight: 700; font-size: 15px; color: var(--rost); }
.blase.bruno { color: var(--braun); }
.vorzeile { font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--petrol); margin-bottom: 8px; }
.vorzeile.gelb { color: var(--gelb); }
.vorzeile.klein { color: var(--grau); }
.gross { font-size: 19px; }
.schmal { max-width: 720px; }
.leise { color: var(--beige); font-weight: 400; font-size: 14px; }
.hinweis { font-size: 14px; color: var(--grau); margin: 8px 0 0; }

/* Abschnitte */
.abschnitt { padding: 64px 0; }
.abschnitt.hell { background: var(--hell); }
.abschnitt.dunkel { background: var(--rost); color: var(--creme); }
.abschnitt.dunkel h2 { color: #fff; }
.abschnitt.dunkel p { color: #FFE7D1; }
.drei, .zwei, .zwei-breit { display: grid; gap: 24px; }
.hero { background: var(--creme); padding: 48px 0 56px; }
.hero-raster { display: grid; gap: 32px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.hero-bild { position: relative; border-radius: 28px; background: #fff; border: 1px solid var(--linie); overflow: hidden; }
.hero-bild img { object-fit: cover; object-position: center bottom; aspect-ratio: 7 / 6; width: 100%; padding-top: 48px; }
.hero-bild .blase { position: absolute; top: 16px; right: 16px; }
.versprechen { padding: 24px 0; border-bottom: 1px solid var(--linie); }
.versprechen-eintrag { display: flex; align-items: center; gap: 14px; }
.versprechen-eintrag div { display: flex; flex-direction: column; }
.versprechen-eintrag span:not(.symbol) { font-size: 15px; color: var(--grau); }
.symbol { width: 52px; height: 52px; flex-shrink: 0; border-radius: 16px; background: var(--creme); color: var(--rost); display: flex; align-items: center; justify-content: center; }
.karte { padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--linie); }
.karte.creme { background: var(--creme); border: 0; }
.schritte { margin-top: 32px; }
.nummer { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 999px; background: var(--rost); color: #fff; font-family: var(--kopf); font-weight: 800; font-size: 24px; margin-bottom: 14px; }
.nummer.klein { width: 34px; height: 34px; font-size: 17px; margin: 0 8px 0 0; vertical-align: middle; }
.haken { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.haken li { position: relative; padding-left: 34px; }
.haken li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 18px; height: 18px; border-radius: 999px; background: var(--rost); -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>') center/contain no-repeat; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>') center/contain no-repeat; }
.abschnitt.dunkel .haken li::before { background: var(--gelb); }
.haken.kaesten { gap: 12px; }
.haken.kaesten li { padding: 18px 20px 18px 52px; border-radius: 18px; background: var(--rost-hell); }
.haken.kaesten li::before { left: 20px; top: 21px; }
.rund { border-radius: 24px; width: 100%; object-fit: cover; }

/* Folgen */
.trailer { display: grid; gap: 20px; margin-top: 32px; padding: 20px; border-radius: 24px; background: #fff; border: 1px solid var(--linie); }
.trailer h3 { font-size: 26px; }
.trailer p { margin: 8px 0 0; }
.folgen { margin-top: 32px; }
.folge h3 { margin-top: 14px; font-size: 22px; }
.folge p { color: var(--grau); font-size: 15px; }
.vorschaubild { position: relative; border-radius: 20px; overflow: hidden; background: var(--tinte); aspect-ratio: 16 / 9; }
.vorschaubild img, .vorschaubild iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.abspielen { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 999px; border: 0; background: #fff; color: var(--rost); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.vorschaubild .datenschutz-hinweis, .vorschaubild .bald { position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(43,26,14,.75); color: #fff; font-size: 12px; font-weight: 700; }
.kanal-band { display: grid; gap: 20px; margin-top: 40px; padding: 20px; border-radius: 24px; background: #fff; border: 1px solid var(--linie); text-decoration: none; color: var(--tinte); }
.kanal-band img { border-radius: 16px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.kanal-band h3 { font-size: 28px; }
.kanal-band .knopf { margin-top: 6px; }

/* Generator */
.generator { display: grid; gap: 32px; margin-top: 32px; align-items: start; }
.formular { display: flex; flex-direction: column; gap: 28px; }
fieldset.schritt { border: 0; padding: 0; margin: 0; min-width: 0; }
.schritt legend, .legende { display: block; width: 100%; font-family: var(--kopf); font-weight: 700; font-size: 21px; margin-bottom: 12px; padding: 0; }
.zaehler { float: right; margin-top: 2px; padding: 5px 10px; border-radius: 999px; background: var(--creme); font-family: var(--fliess); font-weight: 700; font-size: 13px; color: var(--rost); }
.kacheln { display: grid; gap: 10px; }
.kacheln-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kacheln-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kachel { display: flex; flex-direction: column; gap: 4px; min-height: 60px; padding: 12px 14px; border-radius: 18px; border: 2px solid var(--rand); background: #fff; color: var(--tinte); font-family: var(--fliess); text-align: left; cursor: pointer; }
.kachel strong { font-family: var(--kopf); font-weight: 800; font-size: 20px; color: var(--rost); line-height: 1.1; }
.kachel span { font-size: 13px; color: var(--grau); }
.kachel.aktiv { border-color: var(--rost); background: var(--creme); }
.kachel.bald { border-style: dashed; cursor: not-allowed; }
.kachel.bald strong { color: #B9A08A; }
.gruppen { display: flex; flex-direction: column; gap: 10px; }
.gruppe { border: 1px solid var(--linie); border-radius: 16px; background: #fff; }
.gruppe summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; font-weight: 700; list-style: none; }
.gruppe summary::-webkit-details-marker { display: none; }
.gruppe summary::before { content: "▸"; color: var(--rost); margin-right: 8px; }
.gruppe[open] summary::before { content: "▾"; }
.gruppe summary .zaehler { float: none; }
.gruppe .chips { padding: 4px 16px 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--rand); background: #fff; color: var(--tinte); font-family: var(--fliess); font-weight: 700; font-size: 15px; cursor: pointer; }
.chip.aktiv { border-color: var(--rost); background: var(--rost); color: #fff; }
.punkt { width: 14px; height: 14px; border-radius: 999px; border: 2px solid #fff; flex-shrink: 0; }
#kindname { width: 100%; max-width: 360px; height: 52px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--rand); background: #fff; font-family: var(--fliess); font-size: 17px; color: var(--tinte); }
.zwei { grid-template-columns: 1fr; }
.vorschau { display: flex; flex-direction: column; gap: 14px; }
.blatt { border-radius: 20px; border: 1px solid var(--rand); background: #fff; overflow: hidden; box-shadow: 0 12px 32px rgba(43,26,14,.08); }
.blatt-kopf { display: flex; flex-direction: column; gap: 2px; padding: 18px 22px; border-bottom: 3px solid; }
.blatt-kopf strong { font-family: var(--kopf); font-weight: 800; font-size: 22px; }
.blatt-kopf span { font-size: 14px; font-weight: 600; }
.stationen { list-style: none; margin: 0; padding: 18px 22px; min-height: 120px; display: flex; flex-direction: column; gap: 10px; }
.stationen li { display: flex; align-items: center; gap: 12px; font-weight: 700; counter-increment: station; }
.stationen li .station { width: 28px; height: 28px; border-radius: 999px; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.stationen li .station::before { content: counter(station); }
.stationen li.leer { font-weight: 400; color: var(--beige); }
.blatt-fuss { display: flex; justify-content: space-between; padding: 12px 22px; border-top: 1px dashed var(--rand); font-size: 13px; font-weight: 700; color: var(--grau); }
.ergebnis { padding: 16px; border-radius: 16px; background: var(--creme); }
.ergebnis p { margin-bottom: 10px; font-weight: 700; color: var(--tinte); }
.fehlermeldung { padding: 12px 16px; border-radius: 12px; background: #FDECEA; color: #8A1C12; font-weight: 700; }

/* Figuren */
.figuren { margin-top: 32px; }
.figur { display: flex; gap: 20px; align-items: flex-start; }
.portraet { width: 120px; height: 120px; flex-shrink: 0; border-radius: 999px; background: var(--creme); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.portraet img { width: 96px; height: auto; }
h3.tilda { color: var(--orange); } h3.bruno { color: var(--braun); }
.figur p { margin: 8px 0 12px; }

/* Textseiten (Impressum, Datenschutz) */
.text { max-width: 760px; margin: 0 auto; padding: 40px 16px 64px; }
.text h1 { font-size: 40px; margin: 0 0 24px; }
.text h2 { font-size: 22px; margin: 32px 0 8px; }
.text .kurz { padding: 16px 20px; border-radius: 16px; background: var(--creme); color: var(--tinte); font-weight: 600; }
.text .stand { margin-top: 40px; color: var(--grau); font-size: 14px; }

/* Fuß */
.fuss { padding: 32px 0; background: var(--tinte); color: #E4CDB3; font-size: 15px; }
.fuss-raster { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.fuss .marke { color: #fff; font-size: 20px; }
.fuss .marke .leise { color: #E4CDB3; }
.fuss nav a, .fuss > nav a { color: #E4CDB3; text-decoration: none; font-weight: 700; margin-right: 20px; }
.fuss > nav { max-width: 1248px; margin: 0 auto; padding: 0 16px; }
.fuss > span { display: block; max-width: 1248px; margin: 0 auto 12px; padding: 0 16px; }

/* Breite Bildschirme */
@media (min-width: 720px) {
  .drei { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .kacheln-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kanal-band { grid-template-columns: 380px minmax(0, 1fr); align-items: center; }
  .trailer { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: center; gap: 32px; }
  .abschnitt { padding: 88px 0; }
  .karte { padding: 32px; }
}
@media (min-width: 1000px) {
  .menue-knopf { display: none; }
  .menue { display: flex; position: static; flex-direction: row; align-items: center; gap: 28px; padding: 0; background: none; border: 0; }
  .kopf nav a.knopf { margin-top: 0; }
  .kopf { height: 80px; padding: 0 40px; }
  .hero { padding: 80px 0 88px; }
  .hero-raster { grid-template-columns: minmax(0, 1fr) 520px; gap: 64px; }
  .zwei-breit { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .generator { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; }
  .vorschau { position: sticky; top: 100px; }
  .formular { padding: 40px; }
  .portraet { width: 150px; height: 150px; } .portraet img { width: 120px; }
}
