/* Juna-Seiten (juna.wegeners.info) im Stil von wegeners.info: Teal/Mint, Baloo 2 + Manrope */
@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@700;800&family=Manrope:wght@400;600;800&display=swap");
:root {
  --teal: #1C8E9F; --teal-dunkel: #11887A; --petrol: #058396; --mint: #9EEE92;
  --ink: #182a2e; --unter: #5c6e71; --linie: #e7edec; --flaeche: #e8f7f0; --gold: #F5A623; --rot: #c0492f;
  --kopf: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; }
a { color: var(--teal-dunkel); }
.innen { max-width: 1040px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
.kopf { background: linear-gradient(135deg, var(--mint) 0%, var(--petrol) 100%); color: #fff; }
.kopf-raster { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding-block: 48px 44px; }
.ueber { font-family: ui-monospace, "Fira Code", monospace; font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .92; }
h1 { font-family: var(--kopf); font-weight: 800; font-size: clamp(32px, 5.4vw, 52px); line-height: 1.06; margin: 8px 0 12px; text-wrap: balance; }
.unter { margin: 0; font-weight: 600; max-width: 56ch; }
.juna { width: 220px; height: 220px; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 18px 34px rgba(0, 40, 50, .25); }
.haupt { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; padding-block: 40px 56px; align-items: start; }
h2 { font-family: var(--kopf); font-weight: 800; font-size: 26px; margin: 0 0 12px; line-height: 1.15; }
.gruss { font-size: 18px; margin: 0 0 24px; }
.liste { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 6px; }
.klein { font-size: 14px; color: var(--unter); }
.karte { background: #fff; border: 1px solid var(--linie); border-radius: 20px; padding: 28px 24px; box-shadow: 0 18px 34px rgba(0, 40, 50, .10); }
form { display: grid; gap: 8px; }
label { font-weight: 800; font-size: 15px; }
.opt { font-weight: 400; color: var(--unter); }
input[type=text], input:not([type]), input[type=email], input[type=tel] { font: inherit; padding: 12px 14px; border: 1px solid #cfdcda; border-radius: 12px; margin-bottom: 6px; width: 100%; }
input:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.haken { display: grid; grid-template-columns: auto 1fr; gap: 10px; font-weight: 400; font-size: 14px; color: var(--unter); margin: 6px 0 4px; }
.haken input { width: 20px; height: 20px; margin-top: 2px; }
button { font: inherit; font-weight: 800; background: var(--teal); color: #fff; border: 0; border-radius: 16px; padding: 14px 20px; cursor: pointer; box-shadow: 0 12px 26px rgba(28, 142, 159, .32); }
button:hover { background: var(--teal-dunkel); }
button[disabled] { opacity: .6; cursor: wait; }
.zweit { background: #fff; color: var(--teal-dunkel); border: 2px solid var(--teal-dunkel); box-shadow: none; }
.zweit:hover { background: var(--flaeche); }
.fehler { color: var(--rot); font-weight: 600; margin: 4px 0 0; }
.feld-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fuss { background: linear-gradient(122deg, rgba(26, 149, 163, .48), var(--mint)); font-size: 14px; }
.fuss-raster { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 20px; }
.linkknopf { background: none; color: var(--ink); text-decoration: underline; box-shadow: none; padding: 0; font-weight: 400; font-size: 14px; }
.linkknopf:hover { background: none; }
.cookie { position: fixed; left: 0; right: 0; bottom: 0; background: #0f2a2e; color: #fff; padding-bottom: env(safe-area-inset-bottom, 0px); z-index: 20; }
.cookie-raster { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; padding-block: 18px; }
.cookie p { margin: 4px 0 0; font-size: 14px; max-width: 70ch; color: #d6e6e3; }
.cookie-knoepfe { display: flex; gap: 10px; }
.cookie .zweit { background: transparent; color: #fff; border-color: #fff; }
.danke { padding-block: 48px 64px; display: grid; gap: 18px; max-width: 720px; }
.gross-knopf { display: inline-block; text-decoration: none; }
@media (max-width: 760px) {
  .kopf-raster { grid-template-columns: 1fr; padding-block: 32px; }
  .juna { width: 140px; height: 140px; order: -1; }
  .haupt { grid-template-columns: 1fr; gap: 28px; }
}

/* ---- Quiz ---- */
main.innen { padding-block: 0; }
.schritt { padding-block: 40px 56px; }
.start-karte { display: grid; gap: 14px; text-align: center; }
.gross-zahl { font-family: var(--kopf); font-weight: 800; font-size: 44px; line-height: 1; color: var(--teal-dunkel); }
.gross-zahl span { display: block; font-family: var(--text); font-size: 14px; font-weight: 600; color: var(--unter); }
.ueber.dunkel { color: var(--teal-dunkel); opacity: 1; margin: 0 0 6px; }
.quiz { max-width: 760px; margin: 0 auto; display: grid; gap: 22px; }
.fortschritt { height: 10px; background: var(--flaeche); border-radius: 99px; overflow: hidden; }
.fortschritt div { height: 100%; width: 0; background: linear-gradient(90deg, var(--mint), var(--teal)); border-radius: 99px; transition: width .5s ease; }
.quiz-karte { background: #fff; border: 1px solid var(--linie); border-radius: 22px; padding: 28px 24px; box-shadow: 0 18px 34px rgba(0, 40, 50, .10); }
.quiz-karte.rein { animation: rein .45s ease both; }
@keyframes rein { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.frage { font-size: clamp(22px, 3.4vw, 30px); min-height: 2.4em; text-wrap: balance; }
.antworten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.antwort { background: #fff; color: var(--ink); border: 2px solid #cfdcda; box-shadow: none; font-size: 18px; padding: 16px 10px; transition: transform .15s, border-color .15s, background .15s; }
.antwort:hover { background: var(--flaeche); border-color: var(--teal); transform: translateY(-2px); }
.antwort.gewaehlt { background: var(--teal); border-color: var(--teal); color: #fff; transform: scale(1.03); }
.antworten.tuer .antwort:first-child { border-color: var(--gold); }
.antworten.tuer .antwort.gewaehlt:first-child { background: var(--gold); color: var(--ink); }
.juna-sagt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.juna-sagt img { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--mint); }
.juna-sagt.gross img { width: 96px; height: 96px; align-self: start; }
.blase { position: relative; margin: 0; background: var(--flaeche); border-radius: 18px; padding: 14px 18px; font-weight: 600; }
.blase::before { content: ""; position: absolute; left: -8px; top: 50%; margin-top: -8px; border: 8px solid transparent; border-left: 0; border-right-color: var(--flaeche); }
.juna-sagt.gross .blase::before { top: 40px; }
.juna-sagt.gross .blase { font-weight: 400; padding: 22px 24px; }
.blase.neu { animation: blase .4s ease both; }
@keyframes blase { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
.zurueck { justify-self: start; color: var(--unter); }
.fertig { max-width: 820px; margin: 0 auto; display: grid; gap: 24px; }
.einladung { border: 2px solid var(--gold); background: linear-gradient(135deg, #fff 60%, #fff6e6); display: grid; gap: 10px; justify-items: start; }
.wa-karte { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.wa-karte > div { flex: 1 1 280px; min-width: 0; }
.wa-knopf { display: inline-block; background: #1f9d55; color: #fff; text-decoration: none; font-weight: 800; padding: 14px 22px; border-radius: 16px; box-shadow: 0 12px 26px rgba(31, 157, 85, .30); }
.wa-knopf:hover { background: #17834a; }
.wa-knopf.zweit-wa { background: #fff; color: #17834a; border: 2px solid #1f9d55; box-shadow: none; }
@media (max-width: 760px) {
  .schritt { padding-block: 28px 40px; }
  .antworten { grid-template-columns: 1fr; }
  .antworten.tuer { grid-template-columns: 1fr; }
  .quiz-karte { padding: 22px 18px; }
}
.status-zeile { display: flex; gap: 10px; align-items: center; font-weight: 800; color: var(--teal-dunkel); margin: 10px 0 0; }
.status-zeile .punkt { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); animation: puls 1.4s ease-in-out infinite; }
@keyframes puls { 50% { transform: scale(1.5); opacity: .5; } }
.bestaetigt .blase { background: #dff6dc; }
.bestaetigt .status-zeile .punkt { background: #1f9d55; animation: none; }
.vorschau-karte { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 28px; align-items: center; }
.vorschau-bild { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 12px 26px rgba(0, 40, 50, .18); }
.vorschau-bild img { display: block; width: 100%; height: auto; filter: blur(6px) saturate(1.1); transform: scale(1.06); transition: filter .8s ease, transform .8s ease; }
.vorschau-bild.frei img { filter: none; transform: none; }
.schloss { position: absolute; left: 10px; right: 10px; bottom: 12px; background: rgba(15, 42, 46, .86); color: #fff; font-size: 13px; font-weight: 800; border-radius: 10px; padding: 8px 10px; text-align: center; }
.vorschau-bild.frei .schloss { display: none; }
.was-entsteht { display: grid; gap: 14px; }
.geschichten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.geschichte-karte { background: var(--flaeche); border-radius: 18px; padding: 20px; display: grid; gap: 6px; align-content: start; }
.geschichte-karte h3 { font-family: var(--kopf); font-size: 20px; line-height: 1.15; margin: 0; }
.geschichte-karte p { margin: 0; font-size: 15px; }
.geschichte-karte .jahr { font-family: ui-monospace, monospace; font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dunkel); }
.stimme { background: #fff; border: 1px solid var(--linie); border-radius: 18px; padding: 20px; }
.stimme p { margin: 0 0 8px; font-style: italic; }
.stimme b { font-size: 14px; }
@media (max-width: 760px) { .vorschau-karte { grid-template-columns: 1fr; } .vorschau-bild { max-width: 240px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
