/* buzykids App – Gestaltung nach Markenhandbuch: Fredoka (Überschriften), Nunito (Text), runde Formen, ruhige Bewegung.
   Bewusst nicht die Schriften der Eltern-Website (Instrument Serif, Nunito Sans):
   die App ist die Kinderoberfläche, das Handbuch legt Fredoka und Nunito dafür fest.
   Schalter und die Sanduhr bleiben rund, weil das Bedienelemente sind, keine Marketing-Knöpfe. */

@font-face { font-family: "Fredoka"; font-weight: 600; font-display: swap; src: url("/assets/fonts/fredoka-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url("/assets/fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("/assets/fonts/nunito-latin-700-normal.woff2") format("woff2"); }

:root {
  --honig: #CCA765; --salbei: #83917B; --erde: #544A3F; --taubenblau: #8BA3B5;
  --leinen: #F5F0E8; --papier: #FBF8F3; --sand: #E6DDCF;
  --honig-dunkel: #8A672A; --salbei-dunkel: #56664F; --blau-dunkel: #4F6A80; --grau-braun: #6E6357;
  --r-feld: 10px; --r-btn: 16px; --r-karte: 24px; --r-gross: 36px;
  --dauer: 450ms; --ruhig-dauer: 4500ms;
  --schatten: 0 12px 32px rgba(84, 74, 63, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; height: 100%; }
body { margin: 0; min-height: 100%; background: var(--leinen); color: var(--erde); font: 400 1.125rem/1.55 "Nunito", system-ui, sans-serif; -webkit-tap-highlight-color: transparent; overscroll-behavior: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: var(--blau-dunkel); }
:focus-visible { outline: 3px solid var(--blau-dunkel); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: "Fredoka", "Nunito", system-ui, sans-serif; font-weight: 600; line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Ruhiger Seitenwechsel */
#app { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.ansicht { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 24px 20px 48px; animation: einblenden var(--dauer) ease both; }
.ansicht.breit { max-width: 1040px; }
@keyframes einblenden { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.kopf { display: flex; align-items: center; gap: 12px; min-height: 56px; margin-bottom: 16px; }
.kopf .logo { width: 120px; }
.kopf .rechts { margin-left: auto; display: flex; gap: 8px; align-items: center; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 28px; border: 0; border-radius: var(--r-btn); background: var(--erde); color: var(--papier); font: 700 1.125rem/1.2 "Nunito", sans-serif; text-decoration: none; cursor: pointer; transition: background-color var(--dauer) ease, opacity var(--dauer) ease; }
.knopf:hover { background: #40382F; }
.knopf:disabled { opacity: .45; cursor: not-allowed; }
.knopf.zweit { background: var(--papier); color: var(--erde); box-shadow: inset 0 0 0 2px var(--sand); }
.knopf.zweit:hover { background: var(--sand); }
.knopf.voll { width: 100%; }
.knopf.klein { min-height: 44px; padding: 10px 16px; font-size: 1rem; }
.knopf svg { width: 22px; height: 22px; }
.textknopf { background: none; border: 0; color: var(--blau-dunkel); text-decoration: underline; text-underline-offset: 4px; padding: 10px 8px; min-height: 44px; cursor: pointer; font-size: 1rem; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.symbolknopf { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--papier); color: var(--erde); cursor: pointer; transition: background-color var(--dauer) ease; }
.symbolknopf:hover { background: var(--sand); }
.symbolknopf svg { width: 24px; height: 24px; }

/* Karten und Formulare */
.karte { background: var(--papier); border-radius: var(--r-karte); padding: 24px; margin-bottom: 16px; }
.karte.ruhig { background: transparent; box-shadow: inset 0 0 0 2px var(--sand); }
.feld { margin-bottom: 18px; }
.feld label, .feld .label { display: block; font-weight: 700; margin-bottom: 6px; }
.feld input[type=email], .feld input[type=password], .feld input[type=text] { width: 100%; min-height: 54px; padding: 12px 16px; font: inherit; color: var(--erde); background: #fff; border: 2px solid var(--sand); border-radius: var(--r-feld); transition: border-color var(--dauer) ease; }
.feld input:focus { outline: none; border-color: var(--blau-dunkel); }
.feld .hilfe { font-size: .9375rem; color: var(--grau-braun); margin-top: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0; font-size: 1rem; cursor: pointer; }
.check input { width: 26px; height: 26px; margin: 0; flex: none; accent-color: var(--salbei-dunkel); }
.meldung { padding: 14px 18px; border-radius: var(--r-feld); background: var(--papier); border-left: 6px solid var(--taubenblau); margin: 12px 0; }
.meldung.gut { border-left-color: var(--salbei); }
.meldung:empty { display: none; }
.leise { color: var(--grau-braun); font-size: 1rem; }

/* Auswahl (Alter, Dauer, Kinder) */
.auswahl { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 12px; margin: 12px 0 8px; }
.wahl { position: relative; min-height: 72px; border: 0; border-radius: var(--r-btn); background: var(--papier); box-shadow: inset 0 0 0 2px var(--sand); font: 600 1.375rem/1.1 "Fredoka", sans-serif; cursor: pointer; transition: background-color var(--dauer) ease, box-shadow var(--dauer) ease, color var(--dauer) ease; padding: 10px 6px; }
.wahl small { display: block; font: 700 .8125rem/1.2 "Nunito", sans-serif; margin-top: 4px; color: var(--grau-braun); }
.wahl[aria-pressed="true"] { background: var(--salbei-dunkel); color: #fff; box-shadow: none; }
.wahl[aria-pressed="true"] small { color: #fff; }
.wahl .empfohlen { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--honig); color: var(--erde); font: 700 .75rem/1 "Nunito", sans-serif; padding: 5px 9px; border-radius: 999px; }
.kinder-wahl { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.kinder-wahl .wahl { min-height: 96px; font-size: 1.5rem; }

/* PIN-Feld */
.pin-feld { max-width: 360px; margin: 0 auto; text-align: center; }
.pin-titel { font-size: 1.75rem; }
.pin-text { color: var(--grau-braun); min-height: 1.5em; }
.pin-punkte { display: flex; justify-content: center; gap: 18px; margin: 20px 0 8px; }
.pin-punkte span { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--erde); transition: background-color var(--dauer) ease; }
.pin-punkte span.voll { background: var(--erde); }
.pin-meldung { min-height: 3em; margin: 8px 0; font-size: 1rem; }
.pin-tasten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 8px auto 12px; max-width: 300px; }
.pin-taste { aspect-ratio: 1; min-height: 64px; border: 0; border-radius: 50%; background: var(--papier); font: 600 1.75rem/1 "Fredoka", sans-serif; cursor: pointer; transition: background-color var(--dauer) ease; touch-action: manipulation; }
.pin-taste:active { background: var(--sand); }
.pin-taste.loeschen { background: transparent; font-size: 1.5rem; }
.pin-feld.gesperrt .pin-taste { opacity: .35; pointer-events: none; }
.pin-feld.prueft { opacity: .7; }
.pin-unten { display: flex; justify-content: center; gap: 8px; }

/* Spielübersicht (Kind) */
.kind-kopf { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; min-height: 64px; }
.kind-kopf h1 { margin: 0; font-size: 1.75rem; }
.kind-kopf .rechts { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.spiele-raster { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.spiel-kachel { position: relative; display: block; border-radius: var(--r-gross); background: var(--papier); overflow: hidden; text-decoration: none; color: var(--erde); transition: transform var(--dauer) ease; }
.spiel-kachel:active { transform: scale(.98); }
.spiel-kachel img { width: 100%; aspect-ratio: 3/2; object-fit: cover; background: var(--sand); }
.spiel-kachel span { display: block; padding: 16px 20px 20px; font: 600 1.375rem/1.2 "Fredoka", sans-serif; }
.spiel-kachel.bald { opacity: .55; pointer-events: none; }
.spiel-kachel .schild { position: absolute; top: 12px; right: 12px; background: var(--papier); border-radius: 999px; padding: 6px 12px; font: 700 .8125rem/1 "Nunito", sans-serif; display: flex; gap: 6px; align-items: center; }
.spiel-kachel .schild svg { width: 14px; height: 14px; }

/* Sanduhr */
.sanduhr { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 4px 10px; border: 0; border-radius: 999px; background: var(--papier); cursor: pointer; }
.sanduhr svg { width: 30px; height: 42px; }
.sanduhr .glas { fill: none; stroke: var(--erde); stroke-width: 2; stroke-linejoin: round; }
.sanduhr .rahmen { stroke: var(--erde); stroke-width: 3; stroke-linecap: round; }
.sanduhr .sand { fill: var(--honig); transition: y 1s linear, height 1s linear; }
.sanduhr-text { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: 1rem; transition: max-width var(--dauer) ease; }
.sanduhr.zeigt-text .sanduhr-text { max-width: 200px; padding-right: 6px; }

/* Hinweise */
.pause-hinweis { position: fixed; left: 50%; top: 24px; transform: translate(-50%, -12px); z-index: 50; display: flex; flex-direction: column; gap: 2px; background: var(--papier); padding: 18px 28px; border-radius: var(--r-karte); box-shadow: var(--schatten); text-align: center; opacity: 0; transition: opacity 900ms ease, transform 900ms ease; max-width: calc(100% - 32px); }
.pause-hinweis strong { font: 600 1.5rem/1.2 "Fredoka", sans-serif; }
.pause-hinweis.sichtbar { opacity: 1; transform: translate(-50%, 0); }
.hinweis-blase { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px); z-index: 50; background: var(--erde); color: var(--papier); padding: 14px 22px; border-radius: var(--r-btn); opacity: 0; transition: opacity 600ms ease, transform 600ms ease; max-width: calc(100% - 32px); }
.hinweis-blase.sichtbar { opacity: 1; transform: translate(-50%, 0); }

/* Ende: Bildschirm wird langsam ruhig */
html.wird-ruhig body { opacity: .15; transition: opacity var(--ruhig-dauer) ease; pointer-events: none; }
.ende { text-align: center; padding-top: 8vh; }
.ende .stein { width: 120px; margin: 0 auto 28px; }
.ende h1 { font-size: clamp(2rem, 6vw, 2.75rem); }
.ende .mission { max-width: 460px; margin: 28px auto; background: var(--papier); border-radius: var(--r-gross); padding: 28px; }
.ende .mission .titel { display: flex; justify-content: center; gap: 8px; align-items: center; color: var(--salbei-dunkel); font-weight: 700; margin-bottom: 8px; }
.ende .mission .titel svg { width: 22px; height: 22px; }
.ende .mission p { font: 600 1.375rem/1.35 "Fredoka", sans-serif; margin: 0; }
.ende .eltern-link { margin-top: 32px; }

/* Elternbereich */
.reiter { display: flex; gap: 6px; overflow-x: auto; margin: 0 -20px 20px; padding: 0 20px 4px; scrollbar-width: none; }
.reiter button { flex: none; min-height: 44px; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-weight: 700; color: var(--grau-braun); }
.reiter button[aria-selected="true"] { background: var(--erde); color: var(--papier); }
.balken { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 180px; position: relative; margin: 24px 0 8px; padding-top: 8px; }
.balken .saeule { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.balken .wert { width: 100%; max-width: 44px; background: var(--salbei); border-radius: 10px 10px 4px 4px; min-height: 4px; transition: height var(--dauer) ease; }
.balken .wert.ueber { background: var(--honig); }
.balken .linie { position: absolute; left: 0; right: 0; border-top: 2px dashed var(--erde); opacity: .45; }
.balken .linie span { position: absolute; right: 0; top: -22px; font-size: .8125rem; font-weight: 700; }
.balken-tage { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; text-align: center; font-size: .875rem; color: var(--grau-braun); }
.balken-tage b { display: block; color: var(--erde); }
.zeile { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--sand); }
.zeile:first-child { border-top: 0; }
.zeile .mitte { flex: 1; }
.zeile .mitte small { display: block; color: var(--grau-braun); font-size: .9375rem; }
.schalter { position: relative; width: 60px; height: 36px; flex: none; }
.schalter input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.schalter span { position: absolute; inset: 0; border-radius: 999px; background: var(--sand); transition: background-color var(--dauer) ease; pointer-events: none; }
.schalter span::after { content: ""; position: absolute; top: 4px; left: 4px; width: 28px; height: 28px; border-radius: 50%; background: #fff; transition: transform var(--dauer) ease; }
.schalter input:checked + span { background: var(--salbei-dunkel); }
.schalter input:checked + span::after { transform: translateX(24px); }
.schalter input:focus-visible + span { outline: 3px solid var(--blau-dunkel); outline-offset: 3px; }
.anleitung ol { padding-left: 1.2em; }
.anleitung li { margin-bottom: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
}
html.weniger-bewegung *, html.weniger-bewegung *::before, html.weniger-bewegung *::after { animation: none !important; transition-duration: 1ms !important; }
html.weniger-bewegung.wird-ruhig body { transition-duration: var(--ruhig-dauer) !important; }

/* Ergänzungen */
.willkommen { text-align: center; padding-top: 6vh; max-width: 460px; margin: 0 auto; }
.willkommen-logo { margin: 0 auto 32px; width: 140px; height: auto; }
.knopfreihe.senkrecht { flex-direction: column; }
.gross { font-size: 1.375rem; }
.uebergabe { text-align: center; padding-top: 8vh; max-width: 460px; margin: 0 auto; }
.uebergabe .knopf { margin-top: 24px; }
.warn-box { margin-top: 16px; }
.warn-box[hidden] { display: none; }
.warn-text { margin-bottom: 4px; }
.dauer-wahl { margin-top: 28px; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.klein-wahl { min-height: 56px; font-size: 1.125rem; }
.ueberlagerung { position: fixed; inset: 0; z-index: 60; background: rgba(245, 240, 232, .97); display: flex; align-items: center; justify-content: center; padding: 20px; animation: einblenden var(--dauer) ease both; overflow-y: auto; }
.ueberlagerung-innen { width: 100%; max-width: 420px; }
.ansicht > .knopf.voll { margin-top: 20px; }
.oben-abstand { margin-top: 14px; margin-bottom: 0; }

/* ---------- App-Gefühl ---------- */
html, body { overscroll-behavior: none; }
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select { -webkit-user-select: text; user-select: text; font-size: max(16px, 1em); } /* 16px verhindert Zoomen beim Tippen auf iPhone */
a, button, label, .wahl, .pin-taste { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.knopf, .wahl, .symbolknopf, .reihe, .tab, .appbar-aktion, .appbar-zurueck { transition: transform 160ms ease, background-color var(--dauer) ease, opacity var(--dauer) ease; }
.knopf:active, .wahl:active, .symbolknopf:active { transform: scale(.97); }
.ansicht { padding-top: calc(env(safe-area-inset-top) + 16px); padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); padding-bottom: calc(env(safe-area-inset-bottom) + 40px); }
::-webkit-scrollbar { display: none; }

/* Elternbereich: obere Leiste mit kleinem Titel, großer Titel darunter */
.ansicht.eltern { padding-top: 0; max-width: 680px; }
.appbar { position: sticky; top: 0; z-index: 15; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 52px; margin: 0 -20px; padding: env(safe-area-inset-top) 12px 0; background: rgba(245, 240, 232, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.appbar-titel { font: 700 1.0625rem/1.2 "Nunito", sans-serif; opacity: 0; transition: opacity 250ms ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar.eingeklappt .appbar-titel { opacity: 1; }
.appbar.eingeklappt { box-shadow: 0 1px 0 var(--sand); }
.appbar-zurueck { justify-self: start; display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 8px 0 0; color: var(--blau-dunkel); text-decoration: none; font-weight: 700; font-size: 1.0625rem; }
.appbar-zurueck svg { width: 26px; height: 26px; }
.appbar-platz { display: block; }
.appbar-aktion { justify-self: end; min-height: 44px; padding: 0 8px; border: 0; background: none; color: var(--blau-dunkel); font: 700 1.0625rem/1 "Nunito", sans-serif; cursor: pointer; }
.gross-titel { font-size: 2.125rem; margin: 6px 0 18px; }

/* Untere Leiste */
.tabbar { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px max(8px, env(safe-area-inset-left)) calc(env(safe-area-inset-bottom) + 4px); background: rgba(251, 248, 243, .94); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 -1px 0 var(--sand); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; color: var(--grau-braun); text-decoration: none; font: 700 .6875rem/1 "Nunito", sans-serif; border-radius: 12px; }
.tab svg { width: 26px; height: 26px; }
.tab[aria-current="page"] { color: var(--salbei-dunkel); }
.tab:active { background: var(--sand); }
.ansicht.mit-tabbar { padding-bottom: calc(env(safe-area-inset-bottom) + 96px); }

/* Listen wie in den Handy-Einstellungen */
.gruppe-block { margin: 0 0 22px; }
.gruppe-titel { font: 700 .8125rem/1.3 "Nunito", sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--grau-braun); margin: 0 16px 8px; }
.gruppe { background: var(--papier); border-radius: 16px; overflow: hidden; }
.gruppe-fuss { font-size: .875rem; color: var(--grau-braun); margin: 8px 16px 0; line-height: 1.45; }
.reihe { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 16px; border: 0; background: none; color: var(--erde); font: inherit; text-align: left; text-decoration: none; cursor: default; }
a.reihe, button.reihe { cursor: pointer; }
a.reihe:active, button.reihe:active { background: var(--sand); }
.reihe + .reihe::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--sand); }
.reihe-text { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.reihe-text small { display: block; font-weight: 400; font-size: .875rem; color: var(--grau-braun); margin-top: 2px; }
.reihe-wert { flex: none; max-width: 50%; color: var(--grau-braun); font-size: .9375rem; text-align: right; }
.reihe .chevron { width: 18px; height: 18px; flex: none; color: #B5A996; }
.reihe .schalter { flex: none; }
.reihe.aktion .reihe-text { color: var(--blau-dunkel); font-weight: 700; }
.reihe.leise-aktion .reihe-text { color: #8C5A42; }
.gruppe.diagramm { padding: 16px; }
.gruppe.diagramm .leise { margin: 0; }
.gruppe.anleitung { padding: 16px 16px 6px; }
.gruppe.anleitung ol { margin: 0; padding-left: 1.2em; }
.gruppe.anleitung li { margin-bottom: 10px; }
.hinweis-karte { background: var(--papier); border-radius: 16px; padding: 14px 16px; margin-bottom: 18px; box-shadow: inset 4px 0 0 var(--taubenblau); }
.hinweis-karte p { margin: 0 0 4px; }
.start-knopf { margin-bottom: 24px; }
.eltern form { background: var(--papier); border-radius: 16px; padding: 18px 16px; }
.eltern .pin-feld { margin-top: 8px; }
.hinweis-karte.links { text-align: left; margin-top: 20px; } .kinder-sperre { z-index: 70; }
.spiel-kachel.zu { opacity: .7; pointer-events: none; }
.code-karte { background: var(--papier); border-radius: 16px; padding: 18px 16px; margin-top: 16px; text-align: center; }
.freundes-code { font: 600 2.75rem/1.1 "Fredoka", sans-serif; letter-spacing: .08em; margin: 8px 0 12px; -webkit-user-select: text; user-select: text; }

/* ---------- Kinder-Look (Begrüßung, Spielen, Ende): warmes Creme, Kiesel, weiche Kacheln ---------- */
:root { --creme: #FBF7F1; --kakao: #5A3F2C; --zimt: #9C6B3C; --zimt-hell: #B07A3F;
  --t-honig: #F6E4C4; --t-salbei: #E4EBD9; --t-koralle: #F3D9C6; --t-leinen: #F1E9DC; }
body { background: var(--creme); color: var(--kakao); }
body h1 { color: var(--kakao); font-size: clamp(2.3rem, 9vw, 3.2rem); line-height: 1.04; letter-spacing: -.01em; }
body h1 em { font-style: normal; color: var(--zimt-hell); }
.mini-logo { display: inline-flex; align-items: center; gap: 6px; font: 600 1.15rem/1 "Fredoka", sans-serif; color: var(--kakao); }
.mini-logo svg { width: 26px; height: 26px; }
.mini-logo img { display: block; height: 32px; width: auto; }
.kiesel { display: block; }
.kiesel img { width: 100%; height: auto; }
.kiesel.gross { width: min(300px, 74vw); margin: 18px auto 10px; }
.knopf.rund { border-radius: 999px; min-height: 60px; background: var(--zimt); color: #fff; font-size: 1.2rem; box-shadow: 0 6px 16px rgba(156, 107, 60, .25); }
.knopf.rund:hover { background: #87592F; }
.knopf.zweit.rund { background: #fff; color: var(--kakao); box-shadow: inset 0 0 0 2px var(--t-leinen); }

.kind-schirm { max-width: 460px; margin: 0 auto; display: flex; flex-direction: column; min-height: calc(100dvh - 80px); }
.kind-schirm > .mini-logo { margin-bottom: 28px; }
.kind-schirm h1 { margin: 0; }
.kind-schirm .knopfreihe, .kind-schirm > .knopf { margin-top: auto; }
.kind-schirm > .knopf { margin-top: 16px; }
.willkommen, .uebergabe, .ende { text-align: left; padding-top: 0; }
.uebergabe .gross { text-align: center; }

/* Spielübersicht */
.ansicht.mit-kind-leiste { padding-bottom: calc(env(safe-area-inset-bottom) + 120px); max-width: 720px; }
body .kind-kopf h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
.zeitkarte { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--t-salbei); border-radius: 32px; padding: 20px 18px 16px 24px; margin-bottom: 18px; min-height: 150px; overflow: hidden; }
.zeit-text { display: flex; flex-direction: column; gap: 2px; }
.zeit-text > span { font: 600 1.4rem/1.1 "Fredoka", sans-serif; }
.zeit-rest { font: 600 1.25rem/1.2 "Fredoka", sans-serif; }
.zeitkarte .sanduhr { margin-top: 10px; align-self: flex-start; background: rgba(255, 255, 255, .7); height: 48px; }
.zeitkarte .sanduhr svg { width: 24px; height: 34px; }
.zeit-kiesel { width: 150px; flex: none; margin: -6px -6px -18px 0; }
.spiele-raster { grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .spiele-raster { grid-template-columns: repeat(3, 1fr); } }
.spiel-kachel { border-radius: 28px; background: var(--t-leinen); padding: 12px 12px 0; box-shadow: 0 6px 18px rgba(90, 63, 44, .06); }
.spiel-kachel.ton-honig { background: var(--t-honig); }
.spiel-kachel.ton-salbei { background: var(--t-salbei); }
.spiel-kachel.ton-koralle { background: var(--t-koralle); }
.spiel-kachel img { aspect-ratio: 4/3; object-fit: contain; background: rgba(255, 255, 255, .55); border-radius: 20px; }
.spiel-kachel span { padding: 12px 6px 16px; font-size: 1.15rem; text-align: center; color: var(--kakao); }
.spiel-kachel .schild { top: 18px; right: 18px; }

.kind-leiste { position: fixed; z-index: 20; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom) + 10px); max-width: 520px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: #fff; border-radius: 28px; padding: 6px 12px; box-shadow: 0 10px 30px rgba(90, 63, 44, .12); }
.kind-leiste .tab { color: var(--grau-braun); font-size: .75rem; }
.kind-leiste .tab[aria-current="page"] { color: var(--zimt); }
.kiesel-knopf { display: block; width: 74px; height: 74px; margin-top: -34px; border: 4px solid var(--creme); border-radius: 50%; background: var(--t-honig); padding: 8px 6px 4px; cursor: pointer; box-shadow: 0 8px 18px rgba(90, 63, 44, .16); }
.kiesel-ziel { border: 0; background: none; padding: 0 0 2px; cursor: pointer; gap: 2px; }
.kiesel.mini img { width: 100%; height: auto; }

/* Ende */
.ende .kiesel.gross { width: min(280px, 70vw); }
.ende .mission { margin: 8px 0 18px; background: #fff; border-radius: 28px; padding: 20px 22px; text-align: left; }
.ende .mission .titel { justify-content: flex-start; }
.ende .mission p { font-size: 1.2rem; }
.pin-start { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pin-rund { width: 92px; height: 92px; border: 0; border-radius: 50%; background: #fff; color: var(--kakao); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font: 700 .9rem/1 "Nunito", sans-serif; cursor: pointer; box-shadow: 0 10px 26px rgba(90, 63, 44, .14); }
.pin-rund svg { width: 28px; height: 28px; }
.pin-rund:active { transform: scale(.96); }
.pin-start .textknopf { color: var(--grau-braun); font-size: .9375rem; }
.spiel-kachel img { height: auto; }
h1[tabindex="-1"]:focus { outline: none; }
.spiel-kachel .schild { padding: 5px 9px; font-size: .75rem; }

/* ---------- Ganze App im Kiesel-Look: Creme, Kakao-Schrift, weiche 3D-Flächen wie glatte Steine ---------- */
:root {
  --leinen: #FBF7F1; --papier: #FFFFFF; --sand: #EFE5D6; --erde: #5A3F2C;
  --blau-dunkel: #7A5230; --salbei-dunkel: #5E7456;
  --stein-schatten: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 -3px 0 rgba(90, 63, 44, .06) inset, 0 6px 14px rgba(90, 63, 44, .08), 0 2px 3px rgba(90, 63, 44, .06);
  --stein-flaeche: linear-gradient(180deg, #FFFFFF 0%, #FAF4EB 100%);
}
body { background: var(--creme); color: var(--kakao); }
h1, h2, h3 { color: var(--kakao); }
h1 { font-size: clamp(2rem, 7.5vw, 2.8rem); line-height: 1.06; }
a { color: var(--zimt); }
:focus-visible { outline-color: var(--zimt); }

/* Knöpfe: rund, warm, mit leichtem Stein-Relief */
.knopf { border-radius: 999px; min-height: 58px; background: linear-gradient(180deg, #A97543 0%, var(--zimt) 100%); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 -3px 0 rgba(0, 0, 0, .12) inset, 0 6px 16px rgba(156, 107, 60, .28); }
.knopf:hover { background: linear-gradient(180deg, #9C6B3C 0%, #87592F 100%); }
.knopf.zweit { background: var(--stein-flaeche); color: var(--kakao); box-shadow: var(--stein-schatten); }
.knopf.zweit:hover { background: #F6EEE2; }
.textknopf { color: var(--zimt); }
.symbolknopf { background: var(--stein-flaeche); box-shadow: var(--stein-schatten); color: var(--kakao); }

/* Flächen: weiße Kiesel-Karten statt Linien */
.karte, .gruppe, .hinweis-karte, .code-karte, .eltern form, .ende .mission { background: var(--stein-flaeche); box-shadow: var(--stein-schatten); border-radius: 26px; }
.gruppe { border-radius: 22px; }
.karte.ruhig { background: var(--t-honig); box-shadow: none; }
.hinweis-karte { box-shadow: var(--stein-schatten), inset 5px 0 0 var(--honig); }
.meldung { background: #fff; border-left-color: var(--honig); border-radius: 16px; box-shadow: var(--stein-schatten); }
.meldung.gut { border-left-color: var(--salbei); }
.gruppe-titel { color: #8A7462; }
.reihe { color: var(--kakao); }
.reihe + .reihe::before { background: #F1E8DA; }
.reihe.aktion .reihe-text { color: var(--zimt); }
.reihe .chevron { color: #C9B49B; }

/* Eingabefelder */
.feld input[type=email], .feld input[type=password], .feld input[type=text], .feld select { border: 2px solid #EFE3D2; border-radius: 18px; background: #fff; box-shadow: 0 2px 0 rgba(90, 63, 44, .04) inset; }
.feld input:focus { border-color: var(--zimt); }
.check input { accent-color: var(--zimt); }

/* Auswahl-Steine (Alter, Dauer, Kinder) */
.wahl { border-radius: 22px; background: var(--stein-flaeche); box-shadow: var(--stein-schatten); color: var(--kakao); }
.wahl[aria-pressed="true"] { background: linear-gradient(180deg, #8C9C83 0%, var(--salbei-dunkel) 100%); box-shadow: 0 -3px 0 rgba(0, 0, 0, .12) inset, 0 6px 14px rgba(94, 116, 86, .3); }
.wahl .empfohlen { background: var(--t-honig); color: var(--kakao); box-shadow: 0 2px 6px rgba(90, 63, 44, .1); }

/* PIN: runde Kiesel-Tasten */
.pin-taste { background: var(--stein-flaeche); box-shadow: var(--stein-schatten); color: var(--kakao); }
.pin-taste:active { background: #F3EADC; box-shadow: 0 2px 4px rgba(90, 63, 44, .1) inset; }
.pin-taste.loeschen { box-shadow: none; background: transparent; }
.pin-punkte span { box-shadow: inset 0 0 0 2px var(--kakao); }
.pin-punkte span.voll { background: var(--honig); box-shadow: inset 0 0 0 2px #B08A48; }
.pin-feld::before { content: ""; display: block; width: 110px; height: 88px; margin: 0 auto 10px; background: url("/assets/img/kiesel/zeigen-480.webp?v=4") center / contain no-repeat; }
.eltern .pin-feld::before { display: none; }

/* Elternbereich: gleiche Leiste wie bei den Kindern */
.appbar { background: rgba(251, 247, 241, .92); }
.appbar-zurueck, .appbar-aktion { color: var(--zimt); }
.tabbar { left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom) + 10px); max-width: 560px; margin: 0 auto; border-radius: 28px; padding: 6px 8px; background: rgba(255, 255, 255, .96); box-shadow: 0 10px 30px rgba(90, 63, 44, .12); }
.tab { color: #8A7462; }
.tab[aria-current="page"] { color: var(--zimt); }
.ansicht.mit-tabbar { padding-bottom: calc(env(safe-area-inset-bottom) + 110px); }
.gross-titel { font-size: 2.2rem; }
.balken .wert { background: linear-gradient(180deg, #9AAA90, var(--salbei)); border-radius: 14px 14px 6px 6px; }
.balken .wert.ueber { background: linear-gradient(180deg, #DDBF84, var(--honig)); }
.schalter span { background: #E9DDCB; }
.schalter span::after { box-shadow: 0 2px 4px rgba(90, 63, 44, .25); }
.schalter input:checked + span { background: var(--salbei-dunkel); }
.sanduhr { background: var(--stein-flaeche); box-shadow: var(--stein-schatten); }
.ueberlagerung { background: rgba(251, 247, 241, .97); }
.reiter button[aria-selected="true"] { background: var(--zimt); }
.hinweis-blase { background: var(--kakao); border-radius: 999px; }
.pause-hinweis { border-radius: 28px; box-shadow: var(--stein-schatten), 0 14px 40px rgba(90, 63, 44, .14); }

/* ASAP-Prinzip: schwebende Leiste mit aktiver Pill, Kiesel mit Namen, kleine Feder nur für Kiesel */
:root { --motion-small: .5s; --ease-spring: cubic-bezier(.34, 1.56, .64, 1); }
.kind-leiste .tab, .tabbar .tab { border-radius: 18px; padding: 6px 4px; }
.kind-leiste .tab[aria-current="page"], .tabbar .tab[aria-current="page"] { background: var(--t-honig); color: var(--kakao); }
.kind-leiste .kiesel-ziel { color: var(--kakao); }
.kiesel-knopf.hupft { animation: hupfen var(--motion-small) var(--ease-spring); }
@keyframes hupfen { 0% { transform: scale(.88); } 100% { transform: scale(1); } }
/* Datumsfeld (Geburtstag) wie die anderen Eingabefelder */
.feld input[type=date] { display: block; width: 100%; min-height: 54px; padding: 12px 16px; font: inherit; color: var(--kakao); background: #fff; border: 2px solid #EFE3D2; border-radius: 18px; -webkit-appearance: none; appearance: none; text-align: left; }
.feld input[type=date]::-webkit-date-and-time-value { text-align: left; }
.feld input[type=date]:focus { outline: none; border-color: var(--zimt); }

/* Einstellungen: Symbol links, Zustand in Worten, Erklärungen zum Aufklappen */
.reihe-symbol { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--kakao); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 2px 4px rgba(90, 63, 44, .08); }
.reihe-symbol svg { width: 22px; height: 22px; }
.reihe-symbol.ton-honig { background: var(--t-honig); }
.reihe-symbol.ton-salbei { background: var(--t-salbei); }
.reihe-symbol.ton-koralle { background: var(--t-koralle); }
.reihe-symbol.ton-blau { background: #DDE7EE; }
.reihe-symbol.ton-leinen { background: var(--t-leinen); }
.reihe-text small.zustand { color: #8A7462; }
.reihe-text small.zustand.an { color: var(--salbei-dunkel); }
.reihe-text small.zustand.geht-nicht { color: #9A8A7A; font-style: italic; }
.schalter input:disabled + span { opacity: .45; }
.erklaerung { margin: -10px 4px 22px; }
.erklaerung summary { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; list-style: none; color: var(--zimt); font-weight: 700; font-size: .95rem; }
.erklaerung summary::-webkit-details-marker { display: none; }
.erklaerung summary::before { content: "?"; display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--t-honig); color: var(--kakao); font-size: .8rem; }
.erklaerung[open] summary { margin-bottom: 4px; }
.erklaerung p { margin: 0 0 8px; padding-left: 30px; font-size: .95rem; color: #6E6155; }

/* Hilfe: Anleitungen als Karten, Schritte als nummerierte Steine, Weg als Wegmarken */
.hilfe-kopf { display: flex; align-items: center; gap: 14px; background: var(--t-salbei); border-radius: 26px; padding: 14px 18px; margin: 0 0 22px; }
.hilfe-kopf p { margin: 0; font-size: 1rem; }
.hilfe-kopf strong { font: 600 1.2rem/1.2 "Fredoka", sans-serif; }
.hilfe-kiesel { flex: none; width: 78px; }
.anleitung-karte { background: var(--stein-flaeche); box-shadow: var(--stein-schatten); border-radius: 22px; margin: 0 0 12px; overflow: hidden; }
.anleitung-karte summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; }
.anleitung-karte summary::-webkit-details-marker { display: none; }
.anleitung-karte summary .reihe-text { font-weight: 700; }
.anleitung-karte summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid #C9B49B; border-bottom: 2px solid #C9B49B; transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform .2s ease; }
.anleitung-karte[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.schritte { list-style: none; counter-reset: schritt; margin: 0; padding: 0 16px 16px; }
.schritt { counter-increment: schritt; position: relative; padding: 4px 0 14px 48px; }
.schritt::before { content: counter(schritt); position: absolute; left: 0; top: 0; width: 34px; height: 30px; border-radius: 50% 50% 46% 46% / 56% 56% 44% 44%; display: grid; place-items: center; background: linear-gradient(180deg, #F2DA9E, #D4AE68); color: var(--kakao); font: 600 1rem/1 "Fredoka", sans-serif; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .08), 0 2px 4px rgba(90, 63, 44, .12); }
.schritt:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 34px; bottom: 2px; width: 2px; background: #EFE3D2; border-radius: 1px; }
.schritt-text { display: block; }
.weg { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 6px; }
.weg-marke { background: #fff; border: 1.5px solid #EFE3D2; border-radius: 999px; padding: 2px 10px; font-size: .85rem; font-weight: 700; }
.weg-pfeil { color: #C9B49B; font-weight: 700; }
.fragen-liste { background: var(--stein-flaeche); box-shadow: var(--stein-schatten); border-radius: 22px; padding: 6px 16px; margin-bottom: 22px; }
.fragen-liste .erklaerung { margin: 0; border-bottom: 1px solid #F1E8DA; padding: 2px 0; }
.fragen-liste .erklaerung:last-child { border-bottom: 0; }
.fragen-liste .erklaerung p { padding-left: 30px; }
.erklaerung p.fragen-link { margin-top: -2px; font-weight: 700; }
.kontakt-karte { background: var(--t-honig); border-radius: 26px; padding: 18px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.kontakt-karte p { margin: 0; }
.kontakt-karte strong { font: 600 1.2rem/1.2 "Fredoka", sans-serif; }
.kontakt-link { font-size: .95rem; }

/* Hinweisfeld: neue Walkie-Talkie-Nachricht (in allen Spielen und in der Übersicht) */
.walkie-post { position: fixed; left: 50%; top: calc(env(safe-area-inset-top) + 14px); transform: translate(-50%, -16px); z-index: 60; display: flex; align-items: center; gap: 4px; width: min(440px, calc(100% - 24px)); padding: 8px 8px 8px 10px; background: var(--papier); border-radius: 28px; box-shadow: var(--stein-schatten, 0 2px 0 rgba(84, 74, 63, .08)), 0 14px 40px rgba(90, 63, 44, .18); opacity: 0; transition: opacity 400ms ease, transform 400ms ease; }
.walkie-post.sichtbar { opacity: 1; transform: translate(-50%, 0); }
.walkie-post-link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 60px; color: var(--erde); text-decoration: none; border-radius: 22px; padding: 4px 6px; }
.walkie-post-link:focus-visible, .walkie-post-zu:focus-visible { outline: 3px solid var(--honig); outline-offset: 2px; }
.walkie-post-symbol { flex: none; position: relative; width: 52px; height: 42px; border-radius: 50% 50% 46% 46% / 56% 56% 44% 44%; background: radial-gradient(circle at 35% 28%, #BFCBB3, var(--salbei) 55%, #5F6E57); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .08); }
.walkie-post-symbol::before { content: ""; position: absolute; left: 50%; top: 9px; width: 10px; height: 16px; margin-left: -5px; border-radius: 6px; background: #fff; }
.walkie-post-symbol::after { content: ""; position: absolute; left: 50%; top: 18px; width: 16px; height: 10px; margin-left: -10px; border: 2px solid #fff; border-top: 0; border-radius: 0 0 10px 10px; }
.walkie-post-text { display: flex; flex-direction: column; min-width: 0; }
.walkie-post-text strong { font: 600 1.15rem/1.2 "Fredoka", sans-serif; }
.walkie-post-text span { font-size: .95rem; opacity: .8; }
.walkie-post-zu { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--erde); font: 400 1.6rem/1 "Nunito", sans-serif; cursor: pointer; }
.walkie-post.sichtbar .walkie-post-symbol { animation: post-wippen 1.6s ease-in-out 2; }
@keyframes post-wippen { 30% { transform: rotate(-6deg); } 60% { transform: rotate(5deg); } }
html.weniger-bewegung .walkie-post .walkie-post-symbol { animation: none; }
@media (prefers-reduced-motion: reduce) { .walkie-post, .walkie-post.sichtbar .walkie-post-symbol { transition: none; animation: none; } }

/* PIN-Seite: passt ohne Scrollen auf den Bildschirm, mit der Leiste unten.
   --pin-rest = Höhe von allem außer den Tasten (Abstände, Kiesel, Titel, Punkte, Links, Leiste) */
.ansicht.pin-seite { --pin-rest: 330px; display: flex; flex-direction: column; height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; padding-bottom: calc(env(safe-area-inset-bottom) + 16px); }
.ansicht.pin-seite.mit-kind-leiste { --pin-rest: 420px; padding-bottom: calc(env(safe-area-inset-bottom) + 104px); }
.pin-seite .pin-feld { flex: 1; min-height: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pin-seite .pin-feld::before { width: 100px; height: clamp(56px, 10dvh, 88px); margin-bottom: 6px; }
.pin-seite .pin-titel { font-size: clamp(1.4rem, 3.4dvh, 1.75rem); margin: 0 0 4px; }
.pin-text:empty { display: none; }
.pin-seite .pin-punkte { margin: 14px 0 4px; }
.pin-seite .pin-meldung { min-height: 1.4em; margin: 4px 0; }
.pin-seite .pin-tasten { width: min(300px, calc((100dvh - var(--pin-rest)) * .75)); max-width: none; gap: clamp(8px, 1.6dvh, 14px); margin: 4px auto 6px; }
.pin-seite .pin-taste { min-height: 0; font-size: clamp(1.4rem, 3.6dvh, 1.75rem); }
.pin-seite .pin-unten { min-height: 44px; }
@media (max-height: 700px) {
  .pin-seite .pin-feld::before { display: none; }
  .ansicht.pin-seite { --pin-rest: 250px; }
  .ansicht.pin-seite.mit-kind-leiste { --pin-rest: 330px; }
}
/* Löschen-Taste: großes, klares Symbol */
.pin-taste.loeschen { display: flex; align-items: center; justify-content: center; color: var(--kakao); }
.pin-taste.loeschen svg { width: 46%; height: 46%; min-width: 30px; min-height: 30px; }

/* Untere Leisten: der aktive Bereich bekommt eine farbige Fläche, nicht nur eine andere Farbe */
.tabbar .tab, .kind-leiste .tab { position: relative; margin: 0 2px; border-radius: 18px; transition: background-color 200ms ease, color 200ms ease; }
.tabbar .tab[aria-current="page"], .kind-leiste .tab[aria-current="page"] { background: #F6E4C4; color: var(--kakao); }
.tabbar .tab[aria-current="page"] svg, .kind-leiste .tab[aria-current="page"] svg { color: var(--zimt); stroke-width: 2.2; }
.tabbar .tab[aria-current="page"] span, .kind-leiste .tab[aria-current="page"] span { font-weight: 800; }

/* Zahl ungehörter Walkie-Talkie-Nachrichten an der Kachel */
.spiel-kachel .ungehoert { position: absolute; top: 6px; left: 6px; z-index: 2; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; background: #B5432D; color: #fff; font: 700 1rem/1 "Nunito", sans-serif; box-shadow: 0 0 0 3px var(--creme), 0 4px 10px rgba(181, 67, 45, .35); animation: hupfen var(--motion-small, .5s) var(--ease-spring, ease); }
.spiel-kachel .ungehoert[hidden] { display: none; }

/* ---------- App installieren (Baustein installieren.js: Willkommen, Hilfe, Gast im Familien-Duell) ---------- */
.install-karte { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; padding: 16px; border-radius: 24px; background: rgba(228, 235, 217, .7); }
.install-titel { font: 700 1.05rem/1.2 "Nunito", sans-serif; }
.install-schritte { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; text-align: left; }
.install-schritte li { display: flex; align-items: center; gap: 12px; }
.install-symbol { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: #2F6FD6; }
.install-symbol svg { width: 24px; height: 24px; }
.install-karte p { margin: 0; text-align: center; }
.install-karte .stein-knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  background: var(--stein-flaeche, #FBF7F1); box-shadow: var(--stein-schatten, 0 6px 14px rgba(90, 63, 44, .14)); color: var(--kakao, #5A3F2C); font: 700 1.05rem/1.2 "Nunito", sans-serif; }
.install-karte .stein-knopf.salbei { background: linear-gradient(180deg, #8FA77C, #6E8A5C); color: #fff; }
.installieren-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; padding: 8px; color: var(--zimt, #9C6B3C); font-weight: 700; text-underline-offset: 4px; }
.installieren-seite .install-karte { margin: 6px 0 14px; }
.eltern .install-karte, .hilfe-seite .install-karte { margin-bottom: 12px; }

/* Lieder hören auf dem Ende-Bildschirm (auch ohne Spielzeit) */
.kind-schirm .lieder-hoeren { gap: 10px; margin: 6px 0 14px; }
.kind-schirm .lieder-hoeren svg { flex: none; }

/* ---------- Pro kaufen ---------- */
.angebote { border: 0; padding: 0; margin: 0 0 8px; display: grid; gap: 12px; }
.angebot { position: relative; display: grid; gap: 2px; padding: 16px 18px; border-radius: 20px; background: var(--papier); box-shadow: inset 0 0 0 2px var(--sand); cursor: pointer; transition: box-shadow var(--dauer) ease, background-color var(--dauer) ease; }
.angebot:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 3px var(--salbei-dunkel); }
.angebot:has(input:focus-visible) { outline: 3px solid var(--taubenblau); outline-offset: 2px; }
.angebot.gesperrt { opacity: .55; cursor: default; }
.angebot-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.angebot-name { font: 700 1.0625rem/1.3 "Nunito", sans-serif; color: var(--kakao); }
.angebot-tipp { font-size: .8125rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--honig); color: var(--kakao); }
.angebot-preis { font: 600 1.375rem/1.3 "Fredoka", sans-serif; color: var(--erde); }
.angebot small { color: var(--grau-braun); font-size: .9375rem; }
.gutschein { margin: 8px 0 4px; }
.gutschein summary { cursor: pointer; font-weight: 700; color: var(--erde); padding: 8px 0; min-height: 44px; display: flex; align-items: center; }
.gutschein-zeile { display: flex; gap: 10px; align-items: stretch; }
.gutschein-zeile input { flex: 1; min-width: 0; text-transform: uppercase; }
.gutschein-zeile .knopf { min-height: 48px; padding: 10px 18px; font-size: 1rem; }
.kauf-klein { font-size: .9375rem; margin-top: 14px; }

.walkie-kiesel { display: block; width: min(220px, 60vw); margin: 0 auto 12px; }
.walkie-kiesel img { width: 100%; height: auto; }
