/* Listenly – Startseite. Marke: Nunito, Iris #4F2EC9, Koralle #FF5E36 (nur Akzent), Lavendel #F3F0FF.
   Koralle auf Weiß nur 3,0 : 1 → nie als Fließtext; weiße Schrift auf Koralle nur groß und fett (≥ 18,7 px, 800). */
@font-face { font-family: "Nunito"; src: url("/fonts/Nunito.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/fonts/Caveat.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --iris: #4F2EC9; --iris-tief: #2A1773; --iris-hell: #E6E0FF; --lavendel: #F3F0FF; --lavendel-2: #EAE4FF;
  --koralle: #FF5E36; --koralle-tief: #F0461C; --tinte: #1D1640; --text: #4A4566; --linie: #E4DEF7; --weiss: #fff;
  --schatten: 0 1px 2px rgba(29, 22, 64, .06), 0 8px 24px rgba(79, 46, 201, .08);
  --schatten-hoch: 0 2px 6px rgba(29, 22, 64, .08), 0 24px 60px rgba(79, 46, 201, .18);
  --rund: 18px; --breite: 1200px; --rand: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Nunito", system-ui, sans-serif; font-size: 18px; line-height: 1.6; color: var(--text);
  background: var(--weiss); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { color: var(--iris); line-height: 1.12; margin: 0; font-weight: 900; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: 0; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.versteckt { position: absolute; }
.nw { white-space: nowrap; }
.springen { position: absolute; left: -999px; top: 8px; background: var(--iris); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.springen:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--koralle); outline-offset: 3px; border-radius: 6px; }

.ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-gross { width: 34px; height: 34px; color: var(--iris); stroke-width: 1.8; }
.ic-koralle { color: var(--koralle); }

.innen { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.schmal { max-width: 900px; }
.band { padding: clamp(44px, 5.2vw, 76px) 0; }
.band-lavendel { background: var(--lavendel); }
.titel { text-align: center; font-size: clamp(2rem, 3.4vw, 2.75rem); }
.titel-unter { text-align: center; max-width: 720px; margin: 14px auto 0; font-size: 1.1rem; }
.titel + .karten, .titel + .schritte, .titel + .faq { margin-top: clamp(28px, 3.4vw, 40px); }
.titel-unter + .karten { margin-top: clamp(32px, 4vw, 44px); }
.mitte { text-align: center; margin-top: 32px; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 54px; padding: 0 28px;
  border-radius: 14px; background: var(--koralle); color: #fff; font-weight: 800; font-size: 1.17rem; text-decoration: none;
  border: 2px solid var(--koralle); box-shadow: 0 6px 16px rgba(255, 94, 54, .28); transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.knopf:hover { background: var(--koralle-tief); border-color: var(--koralle-tief); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(255, 94, 54, .32); }
.knopf .ic { width: 1.05em; height: 1.05em; stroke-width: 2.6; }
.knopf-rand { background: #fff; color: var(--iris); border-color: var(--iris); box-shadow: none; }
.knopf-rand:hover { background: var(--lavendel); border-color: var(--iris); box-shadow: none; }
.knopf-klein { min-height: 46px; padding: 0 20px; border-radius: 12px; }
.knopf-gross { min-height: 62px; padding: 0 36px; font-size: 1.25rem; }
.textlink { color: var(--iris); font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Kopfzeile: frei auf dem Hintergrund, beim Scrollen Glas */
.kopf { position: sticky; top: 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.kopf-innen { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 18px var(--rand); display: flex; align-items: center; gap: 32px; transition: padding .25s; }
.kopf.glas { background: rgba(255, 255, 255, .78); backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%);
  box-shadow: 0 1px 0 rgba(79, 46, 201, .10), 0 8px 30px rgba(29, 22, 64, .06); }
.kopf.glas .kopf-innen { padding-top: 10px; padding-bottom: 10px; }
.kopf-logo img { height: 38px; width: auto; }
.kopf-nav { display: flex; gap: 34px; margin: 0 auto; }
.kopf-nav a { text-decoration: none; color: var(--tinte); font-weight: 700; font-size: 1rem; }
.kopf-nav a:hover { color: var(--iris); }
.kopf-aktion { display: flex; align-items: center; gap: 22px; }
.kopf-anmelden { text-decoration: none; color: var(--iris); font-weight: 800; }
.kopf-menueknopf { display: none; background: none; border: 0; padding: 8px; color: var(--iris); cursor: pointer; }
.kopf-menueknopf .ic { width: 28px; height: 28px; }
.nur-mobil { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(20px, 3.4vw, 48px) 0 clamp(48px, 5.5vw, 80px); }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -200px; top: -260px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--lavendel-2), rgba(243, 240, 255, 0)); z-index: -1; }
.hero-innen { max-width: 1320px; margin: 0 auto; padding: 0 var(--rand); display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.1vw, 3.6rem); line-height: 1.04; letter-spacing: -.02em; }
.marker { position: relative; white-space: nowrap; z-index: 0; }
.marker::after { content: ""; position: absolute; left: -2%; right: 4%; bottom: -.07em; height: .24em; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M4 13C46 6 120 4 196 9' fill='none' stroke='%23FF5E36' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.hero-unter { margin-top: 26px; font-size: 1.2rem; max-width: 34em; }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-knoepfe .knopf { padding: 0 22px; }
.pillen { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pillen li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border-radius: 99px; background: var(--lavendel);
  color: var(--tinte); font-weight: 700; font-size: .9rem; }
.pillen .ic { color: var(--iris); stroke-width: 2.8; }

/* App-Vorschau im Hero (im Code gebaut, kein Screenshot) */
.hero-bild { position: relative; }

/* Hero-Foto: Blattform (große Rundung oben links), Lavendel-Fläche dahinter, schwebende App-Karten */
.hero-foto { padding: 24px 0 56px 40px; }
.hero-foto::before { content: ""; position: absolute; left: 0; right: 9%; top: 0; bottom: 6%; border-radius: 46% 54% 40% 60% / 48% 42% 58% 52%; background: var(--iris-hell); z-index: -1; }
.foto-form { position: relative; border-radius: 200px 34px 34px 34px; overflow: hidden; box-shadow: var(--schatten-hoch); aspect-ratio: 3 / 2.15; background: var(--lavendel-2); }
.foto-form img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.schwebe { position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--schatten-hoch); border: 1px solid var(--linie); }
.player-karte { left: -6px; bottom: 6px; width: 300px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.3; }
.pk-kopf { display: flex; align-items: center; gap: 7px; color: var(--iris); font-weight: 800; }
.pk-kopf .ic { width: 18px; height: 18px; stroke-width: 2.4; }
.pk-kopf span { margin-left: auto; background: var(--lavendel); color: var(--tinte); border-radius: 7px; padding: 1px 8px; font-weight: 700; font-size: 12px; }
.pk-titel { color: var(--tinte); font-weight: 900; font-size: 16px; }
.pk-player { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.pk-player .app-play { width: 36px; height: 36px; }
.pk-player .app-play svg { margin: 0; width: 15px; height: 15px; }
.pk-balken { flex: 1; height: 6px; border-radius: 9px; background: var(--lavendel-2); position: relative; }
.pk-balken i { position: absolute; left: 0; top: 0; bottom: 0; width: 28%; background: var(--koralle); border-radius: 9px; }
.pk-balken i::after { content: ""; position: absolute; right: -6px; top: -4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--koralle); }
.ergebnis-karte { right: -4px; top: 46px; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; font-weight: 800; color: var(--tinte); font-size: 1.05rem; }
.ergebnis-karte b { color: #1E9E62; font-weight: 900; }
.ek-haken { width: 34px; height: 34px; border-radius: 50%; background: #EAF8F1; color: #1E9E62; display: grid; place-items: center; }
.ek-haken .ic { stroke-width: 3; }
.ergebnis-karte .deko-strahlen { right: -30px; top: -34px; }
.notiz { position: absolute; left: 318px; bottom: -4px; display: flex; align-items: flex-end; gap: 4px; font-family: "Caveat", cursive; font-size: 2.1rem; font-weight: 700; color: var(--koralle-tief); transform: rotate(-4deg); line-height: 1; }
.notiz svg { width: 50px; height: 34px; margin-bottom: 10px; fill: none; stroke: var(--koralle-tief); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* App-Vorschau bei „So funktioniert's“ */
.so-innen { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.so-text h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); margin-bottom: 30px; }
.so-bild { position: relative; padding: 30px 0 40px; }
.app { position: relative; background: #fff; border-radius: 20px; box-shadow: var(--schatten-hoch); border: 1px solid var(--linie); overflow: hidden; width: 86%; }
.app-leiste { height: 34px; background: var(--lavendel); display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--linie); }
.app-leiste i { width: 10px; height: 10px; border-radius: 50%; background: #CFC6F2; }
.app-koerper { display: grid; grid-template-columns: 27% 1fr; min-height: 340px; font-size: 13px; line-height: 1.35; }
.app-seite { background: #FAF9FF; border-right: 1px solid var(--linie); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.app-logo { height: 20px; width: auto; margin: 0 0 14px 6px; }
.app-nav { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 9px; color: var(--text); font-weight: 700; }
.app-nav.aktiv { background: var(--iris); color: #fff; }
.app-haupt { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.app-titel { color: var(--iris); font-weight: 900; font-size: 18px; }
.app-reihe { display: flex; gap: 10px; }
.app-feld { flex: 1; border: 1px solid var(--linie); border-radius: 9px; padding: 7px 10px; display: flex; justify-content: space-between; color: var(--tinte); font-weight: 700; }
.app-feld b { color: var(--iris); }
.app-feld-klein { flex: .55; }
.app-tabs { display: flex; gap: 6px; }
.app-tabs span { padding: 6px 12px; border-radius: 8px; font-weight: 700; color: var(--text); }
.app-tabs .aktiv { background: var(--lavendel-2); color: var(--iris); }
.app-text { border: 1px solid var(--linie); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; color: var(--text); }
.app-text strong { color: var(--tinte); }
.app-player { display: flex; align-items: center; gap: 12px; background: var(--lavendel); border-radius: 12px; padding: 10px 12px; }
.app-play { width: 40px; height: 40px; border-radius: 50%; background: var(--koralle); display: grid; place-items: center; flex: none; box-shadow: 0 4px 12px rgba(255, 94, 54, .35); }
.app-play svg { width: 18px; height: 18px; fill: #fff; margin-left: 2px; }
.app-zeit { font-weight: 700; color: var(--tinte); white-space: nowrap; font-variant-numeric: tabular-nums; }
.app-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.app-chips span { border: 1px solid var(--iris-hell); color: var(--iris); border-radius: 99px; padding: 3px 10px; font-weight: 700; font-size: 12px; }
.welle { flex: 1; height: 34px; display: flex; align-items: center; gap: 2px; }
.welle i { flex: 1; min-width: 2px; border-radius: 2px; background: #B9ACEF; }
.welle i.gespielt { background: var(--iris); }

.quiz { position: absolute; right: -14px; top: 62px; width: 37%; min-width: 230px; background: #fff; border-radius: 18px; box-shadow: var(--schatten-hoch);
  border: 1px solid var(--linie); padding: 18px 16px; font-size: 13px; line-height: 1.3; transform: rotate(2.5deg); display: flex; flex-direction: column; gap: 8px; }
.quiz-kopf { color: var(--iris); font-weight: 800; }
.quiz-balken { height: 6px; border-radius: 9px; background: var(--lavendel-2); overflow: hidden; }
.quiz-balken i { display: block; height: 100%; background: var(--koralle); border-radius: 9px; }
.quiz-frage { color: var(--tinte); font-weight: 900; font-size: 16px; margin: 4px 0 2px; }
.quiz-option { display: flex; align-items: center; gap: 9px; border: 1.5px solid var(--linie); border-radius: 10px; padding: 8px 10px; color: var(--tinte); font-weight: 600; }
.quiz-option::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #BDB3E6; flex: none; }
.quiz-option.gewaehlt { border-color: var(--koralle); background: #FFF4F0; }
.quiz-option.gewaehlt::before { border: 4px solid var(--koralle); }
.quiz-option.richtig { border-color: #1E9E62; background: #EAF8F1; justify-content: flex-start; }
.quiz-option.richtig::before { border-color: #1E9E62; background: #1E9E62; box-shadow: inset 0 0 0 2px #EAF8F1; }
.quiz-option.richtig .ic { margin-left: auto; color: #1E9E62; stroke-width: 3; }

.deko-kopfhoerer { position: absolute; width: 74px; height: auto; }
.quiz .deko-kopfhoerer { right: -6px; top: -50px; width: 66px; transform: rotate(12deg); }
.deko-strahlen { position: absolute; right: -40px; top: -60px; width: 40px; height: 40px; }
.deko-strahlen i { position: absolute; width: 4px; height: 15px; background: var(--koralle); border-radius: 4px; left: 18px; top: 0; transform-origin: 2px 30px; }
.deko-strahlen i:nth-child(1) { transform: rotate(-10deg); }
.deko-strahlen i:nth-child(2) { transform: rotate(30deg); }
.deko-strahlen i:nth-child(3) { transform: rotate(70deg); }

/* Karten */
.karten { display: grid; gap: 22px; }
.karten-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.karten-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.karte { background: #fff; border-radius: var(--rund); padding: 26px 24px; box-shadow: var(--schatten); border: 1px solid rgba(79, 46, 201, .06); }
.karte p { font-size: 1rem; margin-top: 10px; }
.karte-kopf { display: flex; align-items: center; gap: 12px; }
.wer { text-align: center; padding-top: 24px; }
.wer .karte-kopf { justify-content: center; }
.wer-foto { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 5px solid var(--lavendel); background: var(--lavendel-2); }
.karte-zeile { display: flex; gap: 18px; align-items: flex-start; }
.karte-zeile p { margin-top: 4px; }

/* Schritte */
.schritte { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.schritte li { display: flex; gap: 18px; align-items: flex-start; position: relative; }
.schritte li:not(:last-child)::after { content: ""; position: absolute; right: -32px; top: 18px; width: 24px; height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF5E36' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13.5 6.5 19 12l-5.5 5.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.schritte-senkrecht { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.schritte-senkrecht li::after { display: none; }
.schritt-nr { width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--lavendel); color: var(--iris); font-weight: 900; font-size: 1.6rem; display: grid; place-items: center; }
.schritte p { font-size: 1rem; margin-top: 6px; }

/* Für Schüler */
.schueler { overflow: hidden; }
.schueler-innen { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.vorzeile { color: var(--koralle-tief); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.vorzeile { color: #C6401C; }
.schueler h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); margin-top: 10px; }
.gross { font-size: 1.15rem; margin-top: 16px; }
.liste-ic { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.liste-ic li { display: flex; gap: 16px; align-items: flex-start; }
.liste-ic .ic { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--lavendel); color: var(--iris); stroke-width: 2.2; }
.liste-ic strong { display: block; color: var(--tinte); font-size: 1.1rem; }

.handy { position: relative; justify-self: center; width: min(330px, 100%); }
.handy::before { content: ""; position: absolute; inset: -12% -22%; border-radius: 50%; z-index: -1;
  background: repeating-radial-gradient(circle, rgba(79, 46, 201, .10) 0 2px, transparent 2px 46px); -webkit-mask: radial-gradient(closest-side, #000 55%, transparent); mask: radial-gradient(closest-side, #000 55%, transparent); }
.handy-schirm { background: #fff; border: 10px solid var(--tinte); border-radius: 44px; padding: 26px 18px 22px; box-shadow: var(--schatten-hoch); display: flex; flex-direction: column; gap: 16px; font-size: 14px; line-height: 1.35; }
.handy-oben { display: flex; justify-content: space-between; align-items: center; color: var(--text); font-weight: 700; font-size: 12px; }
.handy-oben img { height: 34px; width: auto; }
.handy-titel { font-size: 22px; font-weight: 900; color: var(--iris); line-height: 1.15; }
.handy-player { background: var(--iris); border-radius: 18px; padding: 16px; display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: center; }
.handy-play { width: 48px; height: 48px; border-radius: 50%; background: var(--koralle); display: grid; place-items: center; }
.handy-play svg { width: 20px; height: 20px; fill: #fff; }
.handy-player .welle { height: 36px; }
.welle-hell i { background: rgba(255, 255, 255, .35); }
.welle-hell i.gespielt { background: #fff; }
.handy-zeit { grid-column: 1 / -1; display: flex; justify-content: space-between; color: #fff; font-weight: 700; font-size: 12px; font-variant-numeric: tabular-nums; }
.handy-frage { display: flex; flex-direction: column; gap: 8px; }
.handy-frage small { color: var(--iris); font-weight: 800; font-size: 12px; }
.handy-frage strong { color: var(--tinte); font-size: 16px; font-weight: 900; margin-bottom: 2px; }

/* Bibliothek */
.aufgabe { display: flex; align-items: center; gap: 16px; text-decoration: none; padding: 18px 20px; transition: transform .15s, box-shadow .15s; }
.aufgabe:hover { transform: translateY(-2px); box-shadow: var(--schatten-hoch); }
.aufgabe-bild { width: 92px; height: 92px; border-radius: 14px; object-fit: cover; flex: none; background: var(--lavendel-2); }
.aufgabe { padding: 14px 18px 14px 14px; }
.aufgabe-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.aufgabe-text strong { color: var(--iris); font-size: 1.05rem; line-height: 1.25; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips span { display: inline-flex; align-items: center; gap: 5px; background: var(--lavendel); color: var(--tinte); border-radius: 8px; padding: 2px 9px; font-size: .85rem; font-weight: 700; }
.chips .ic { color: var(--iris); }
.aufgabe-pfeil { margin-left: auto; color: var(--koralle); width: 24px; height: 24px; stroke-width: 2.4; }

/* Preise */
.preise { align-items: stretch; }
.preis { position: relative; display: flex; flex-direction: column; padding: 30px 28px; }
.preis h3 { font-size: 1.5rem; font-weight: 900; }
.preis-fuer { margin-top: 4px !important; }
.karte .preis-betrag { color: var(--iris); font-size: 2.2rem; font-weight: 900; margin: 18px 0 8px !important; }
.haken-liste { list-style: none; padding: 0; margin: 8px 0 26px; display: grid; gap: 10px; font-size: 1rem; flex: 1; align-content: start; }
.haken-liste li { padding-left: 30px; position: relative; color: var(--tinte); }
.haken-liste li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF5E36' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.preis .knopf { width: 100%; }
.preis-hervor { border: 2px solid var(--koralle); box-shadow: 0 18px 50px rgba(255, 94, 54, .16); transform: translateY(-8px); }
.preis-marke { position: absolute; top: -15px; right: 22px; background: var(--koralle); color: #fff; font-weight: 900; font-size: 1rem; padding: 3px 14px; border-radius: 99px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 14px; box-shadow: var(--schatten); border: 1px solid rgba(79, 46, 201, .06); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 800; color: var(--tinte); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 3px solid var(--iris); border-bottom: 3px solid var(--iris);
  transform: rotate(45deg); transition: transform .2s; border-radius: 2px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding: 0 22px 20px; font-size: 1rem; }

/* Abschluss */
.abschluss-band { padding-top: clamp(44px, 5.2vw, 76px); padding-bottom: 0; }
.abschluss { position: relative; background: var(--iris); border-radius: 28px; padding: clamp(40px, 6vw, 72px) var(--rand); text-align: center; color: #fff; overflow: hidden; }
.abschluss::before, .abschluss::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .12); }
.abschluss::before { width: 420px; height: 420px; left: -140px; bottom: -220px; box-shadow: 0 0 0 46px rgba(255, 255, 255, .04), 0 0 0 92px rgba(255, 255, 255, .03); }
.abschluss::after { width: 300px; height: 300px; right: -90px; top: -150px; box-shadow: 0 0 0 46px rgba(255, 255, 255, .04); }
.abschluss h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.75rem); max-width: 18em; margin: 0 auto; position: relative; }
.abschluss p { margin: 16px auto 30px; font-size: 1.15rem; color: #E9E4FF; position: relative; }
.abschluss .knopf { position: relative; box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.abschluss-kh { position: relative; margin: 0 auto 18px; width: 70px; }

/* Fuß */
.fuss { padding: 56px 0 28px; }
.fuss-innen { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; align-items: start; }
.fuss-marke img { height: 34px; width: auto; }
.fuss-marke p { margin-top: 12px; font-size: .95rem; }
.fuss-nav, .fuss-recht { display: flex; flex-direction: column; gap: 8px; }
.fuss a { text-decoration: none; color: var(--tinte); font-weight: 700; font-size: .95rem; }
.fuss a:hover { color: var(--iris); }
.fuss-copy { text-align: center; font-size: .85rem; margin-top: 40px; padding: 18px var(--rand) 0; border-top: 1px solid var(--linie); max-width: var(--breite); margin-left: auto; margin-right: auto; }

.handy-knopf { display: none; }

/* Tablet */
@media (max-width: 1080px) {
  .kopf-nav { gap: 22px; }
  .kopf-anmelden { display: none; }
  .karten-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-innen { gap: 36px; }
}
@media (max-width: 900px) {
  .kopf-innen { gap: 16px; }
  .kopf-nav { display: none; position: absolute; left: 12px; right: 12px; top: calc(100% + 4px); flex-direction: column; gap: 0; padding: 10px;
    background: #fff; border-radius: 18px; box-shadow: var(--schatten-hoch); }
  .kopf.offen .kopf-nav { display: flex; }
  .kopf.offen { background: #fff; }
  .kopf-nav a { padding: 14px 16px; border-radius: 12px; font-size: 1.1rem; }
  .kopf-nav a:hover { background: var(--lavendel); }
  .nur-mobil { display: block; }
  .kopf-aktion { margin-left: auto; gap: 6px; }
  .kopf-menueknopf { display: block; }
  .hero-innen { grid-template-columns: minmax(0, 1fr); }
  .hero-bild, .so-bild { max-width: 620px; width: 100%; margin: 0 auto; }
  .so-innen { grid-template-columns: minmax(0, 1fr); }
  .karten-3 { grid-template-columns: minmax(0, 1fr); }
  .preise { max-width: 520px; margin-left: auto; margin-right: auto; }
  .preis-hervor { transform: none; }
  .schritte { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .schritte li:not(:last-child)::after { display: none; }
  .schueler-innen { grid-template-columns: minmax(0, 1fr); }
  .schueler-text { order: -1; }
  .fuss-innen { grid-template-columns: 1fr 1fr; }
  .fuss-marke { grid-column: 1 / -1; }
}
/* Handy */
@media (max-width: 600px) {
  body { font-size: 17px; }
  .kopf-innen { padding-top: 12px; padding-bottom: 12px; }
  .kopf-logo img { height: 30px; }
  .kopf-aktion .knopf-klein { min-height: 42px; padding: 0 14px; font-size: 1.05rem; }
  .hero { padding-top: 16px; }
  .hero h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-unter { font-size: 1.08rem; margin-top: 18px; }
  .hero-knoepfe { flex-direction: column; }
  .hero-knoepfe .knopf { width: 100%; }
  .pillen li { font-size: .88rem; }
  .karten-4 { grid-template-columns: minmax(0, 1fr); }
  .app { width: 100%; }
  .app-koerper { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .app-seite { display: none; }
  .quiz { position: relative; width: 84%; margin: -22px 0 0 auto; top: 0; right: auto; transform: rotate(2deg); }
  .so-bild { padding-bottom: 0; }
  .hero-foto { padding: 12px 0 70px 0; }
  .foto-form { border-radius: 120px 26px 26px 26px; }
  .player-karte { width: 82%; left: 0; bottom: 0; }
  .hero-foto { padding-top: 34px; }
  .ergebnis-karte { top: 0; right: 6px; font-size: .92rem; padding: 8px 14px 8px 8px; }
  .ergebnis-karte .deko-strahlen { display: block; right: -14px; top: -30px; transform: scale(.8); }
  .ek-haken { width: 28px; height: 28px; }
  .notiz { display: none; }
  .quiz .deko-kopfhoerer { display: none; }
  .wer { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 0 16px; text-align: left; padding: 18px; align-items: start; }
  .wer-foto { width: 84px; height: 84px; margin: 0; grid-row: span 2; border-width: 3px; }
  .wer .karte-kopf { justify-content: flex-start; margin-top: 4px; }
  .wer p { margin-top: 4px; }
  .deko-strahlen, .app-chips { display: none; }
  .handy-knopf { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; transform: translateY(140%); opacity: 0; visibility: hidden;
    transition: transform .3s, opacity .3s, visibility .3s; }
  .handy-knopf.sichtbar { transform: none; opacity: 1; visibility: visible; }
  .fuss-innen { grid-template-columns: 1fr; }
  .fuss { padding-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
/* Gemeinsame Erweiterungen für die weiteren Seiten */
.knopf { background: var(--iris); border-color: var(--iris); color: #fff; box-shadow: 0 6px 16px rgba(79,46,201,.2); cursor: pointer; font-family: inherit; }
.knopf:hover { background: var(--iris-tief); border-color: var(--iris-tief); }
.knopf-rand, .knopf-hell { background: #fff; color: var(--iris); border-color: var(--iris); box-shadow: none; }
.knopf-rand:hover, .knopf-hell:hover { background: var(--lavendel); color: var(--iris); border-color: var(--iris); }
.kopf { background: #fff; }
.zielmenue { position: relative; color: var(--tinte); font-weight: 700; }
.zielmenue summary { cursor: pointer; list-style: none; white-space: nowrap; }
.zielmenue summary::after { content: ' ▾'; color: var(--iris); }
.zielmenue-inhalt { position: absolute; top: 100%; left: -16px; min-width: 245px; background: #fff; padding: 10px; border-radius: 14px; box-shadow: var(--schatten-hoch); z-index: 2; }
.zielmenue-inhalt a { display: block; padding: 8px; }
.seitenkopf h1, .recht h1, .formular + h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.seitenkopf .gross { max-width: 42em; }
.untertitel { color: var(--iris); font-size: 2rem; margin: 48px 0 24px; }
.intervall { display: flex; justify-content: center; gap: 8px; border: 0; margin: 32px auto; padding: 0; }
.intervall legend { text-align: center; font-weight: 800; margin-bottom: 8px; }
.intervall label { background: white; border: 1px solid var(--linie); border-radius: 12px; padding: 8px 16px; cursor: pointer; }
.intervall input { accent-color: var(--iris); }
.preise { margin-top: 30px; }
.preis-betrag { line-height: 1.2; }
[hidden] { display: none !important; }
.formular { display: grid; gap: 20px; margin-top: 32px; }
.formular-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.formular label { display: grid; gap: 5px; color: var(--tinte); font-weight: 800; }
.formular input, .formular select, .formular textarea { width: 100%; min-width: 0; border: 1px solid #aaa0cb; border-radius: 10px; background: #fff; color: var(--tinte); font: inherit; padding: 10px 12px; }
.formular textarea { resize: vertical; }
.formular .knopf { justify-self: start; }
.honigtopf { position: absolute; left: -10000px; }
.recht h2 { margin: 1.5em 0 .5em; }
.recht p, .recht ul, .recht ol { margin: 1em 0; overflow-wrap: anywhere; }
.recht-hinweis { background: var(--lavendel); color: var(--tinte); padding: 16px; border-radius: 12px; font-weight: 800; }
@media (max-width: 900px) { .zielmenue { width: 100%; } .zielmenue summary { padding: 14px 16px; } .zielmenue-inhalt { position: static; box-shadow: none; padding-left: 20px; } .zielmenue-inhalt a { padding: 10px 16px; } }
@media (max-width: 600px) { .formular-grid { grid-template-columns: 1fr; } .kopf-aktion .knopf-klein { font-size: .9rem; padding: 0 10px; } .kopf-innen { gap: 8px; } .preis .knopf { white-space: normal; text-align: center; } .abschluss .knopf { margin: 4px 0; white-space: normal; } }
.admin-abstand { margin-top: 30px; }
#admin-inhalt .gruppe { background: white; padding: 24px; border-radius: var(--rund); box-shadow: var(--schatten); }
#admin-inhalt h2 { margin-bottom: 16px; }
#admin-inhalt input, #admin-inhalt select { font: inherit; max-width: 100%; padding: 7px; border: 1px solid #aaa0cb; border-radius: 8px; }
#admin-inhalt button { font: inherit; cursor: pointer; }
#admin-inhalt .knopf { min-height: 40px; padding: 5px 12px; white-space: normal; }
.tabellenrahmen { overflow-x: auto; margin-top: 16px; }
table { border-collapse: collapse; min-width: 1050px; width: 100%; text-align: left; }
th, td { border-bottom: 1px solid var(--linie); padding: 12px; vertical-align: top; }
td form { display: grid; gap: 6px; margin-bottom: 10px; }
.admin-eintrag { border-top: 1px solid var(--linie); padding: 16px 0; overflow-wrap: anywhere; }
.admin-eintrag p { white-space: pre-wrap; }
.app-play, .handy-play { background: var(--iris); }

.cookie-abfrage { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto; max-height: calc(100vh - 32px); overflow: auto; display: grid; gap: 10px; padding: 18px; background: #fff; color: var(--text); border: 1px solid var(--linie); border-radius: var(--rund); box-shadow: var(--schatten-hoch); font-size: .95rem; line-height: 1.45; }
.cookie-abfrage h2 { font-size: 1.15rem; color: var(--tinte); }
.cookie-abfrage a { color: var(--iris); font-weight: 700; }
.cookie-einstellungen { display: grid; gap: 8px; }
.cookie-einstellungen[hidden] { display: none; }
.cookie-wahl { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: start; }
.cookie-wahl strong { display: block; color: var(--tinte); }
.cookie-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-knoepfe .knopf { flex: 1 1 150px; }
.cookie-knoepfe [hidden] { display: none; }
/* Verträge hier kündigen / Vertrag widerrufen (vertrag.js) */
.vertrag-form h1, .vertrag-eingang h1 { font-size: clamp(2rem, 4vw, 3rem); }
.vertrag-form .formular { margin-top: 24px; }
.formular fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; min-width: 0; }
.formular legend { padding: 0; margin: 0 0 6px; color: var(--tinte); font-weight: 800; }
.formular label .klein { font-weight: 400; color: #6B6685; font-size: .88rem; }
.formular label.vertrag-wahl { display: flex; align-items: center; gap: 10px; font-weight: 600; padding: 11px 14px; border: 1px solid #aaa0cb; border-radius: 10px; background: #fff; cursor: pointer; }
.formular label.vertrag-wahl input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--iris); }
.vertrag-fakten { display: grid; grid-template-columns: minmax(8em, 34%) 1fr; gap: 8px 16px; margin: 16px 0; padding: 18px 20px; }
.vertrag-fakten dt { color: #6B6685; }
.vertrag-fakten dd { margin: 0; color: var(--tinte); font-weight: 700; overflow-wrap: anywhere; }
.vertrag-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 560px) { .vertrag-fakten { grid-template-columns: 1fr; gap: 2px; } .vertrag-fakten dd { margin-bottom: 8px; } }
@media print { .kopf, .fuss, .vertrag-knoepfe, .springen { display: none !important; } .band { padding: 0 !important; background: none !important; } }
.formular .feld-kopf { display: block; }
.formular .feld-kopf .klein { display: block; margin-top: 2px; }
.vertrag-eingang p { margin: 0 0 14px; }
