/* KIDZ for Future, gestraffte Fassung (Kai, 17.11.2026: „kürzer, peppiger, intensiver“).
   Liegt über css/kidz-elternabend.css: weniger Luft zwischen den Abschnitten, Themen als kompakte Fragekarten,
   Gesetzesband schmaler, Datenschutz leiser. Inhalte und Reihenfolge bleiben wie entschieden. */
.kea-hero { padding-bottom: 56px; }
.kea-hero-media { max-height: 520px; }
.kea-lede { max-width: 34em; }

.kea-topics-section { padding: 56px var(--rand) 48px; }
.kea-kidz-intro { margin-bottom: 36px; }
.kea-section-head { margin-bottom: 26px; }
.kea-topic { padding: 22px 22px 22px 20px; align-items: center; }
.kea-topic h3 { margin: 4px 0 0; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; }
.kea-topic:hover { transform: translateY(-2px); transition: transform .15s; }
.kea-afterwards { margin-top: 24px; }

.kea-law { padding: 52px var(--rand); background: linear-gradient(135deg, #1f4f68, #2c6683); }
.kea-law h2 { font-size: clamp(26px, 3vw, 36px); }
.kea-law blockquote { margin-top: 18px; font-size: clamp(18px, 1.8vw, 22px); }
.kea-law p:not(.kea-eyebrow):not(.kea-law-source) { margin-top: 16px; font-size: 17px; }

.kea-register { padding: 60px var(--rand) 64px; }
.kea-register-intro { margin-bottom: 24px; }
.kea-register-card { padding: 32px; }

.kea-legal { padding-top: 40px; padding-bottom: 40px; }
.kea-legal h2 { font-size: clamp(22px, 2.2vw, 28px); }
.kea-legal p { font-size: 15px; }

@media (max-width: 860px) {
  .kea-hero { padding-bottom: 40px; }
  .kea-topics-section { padding: 40px var(--rand) 36px; }
  .kea-topic { padding: 18px; }
  .kea-law { padding: 40px var(--rand); }
  .kea-register { padding: 44px var(--rand) 48px; }
  .kea-register-card { padding: 22px; }
}

/* Mutigere Fassung (Kai, 17.11.2026: „mehr Begeisterung, weniger Text“) */
.kea-hero-lok { aspect-ratio: auto; display: grid; align-content: end; justify-items: center; min-height: 420px; padding: 40px 24px 36px;
  background: radial-gradient(circle at 78% 18%, #fff6d2 0, rgba(255,246,210,0) 32%), linear-gradient(180deg, #cfe5ee 0%, #eaf4f8 62%, #a9cdb6 62%, #87b897 100%);
  border-radius: 32px; overflow: hidden; position: relative; }
.kea-hero-lok::after { content: ""; position: absolute; left: 0; right: 0; bottom: 42px; height: 8px; background: repeating-linear-gradient(90deg, #8c6e4c 0 22px, transparent 22px 40px); }
.kea-hero-lok .kea-lok-ort { position: relative; z-index: 1; width: min(92%, 420px); }
.kea-hero-lok img { position: relative; z-index: 1; width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(24,63,86,.18)); animation: kea-lok-ein 1.8s cubic-bezier(.2,.7,.25,1) both; }
.kea-hero-hand { position: absolute; top: 24px; left: 0; right: 0; text-align: center; white-space: nowrap; font-family: "KidzHand", "Segoe Print", cursive; font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; color: #9c782a; }
@keyframes kea-lok-ein { from { transform: translateX(-120%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .kea-hero-lok img { animation: none; } }
.kea-button-primary { box-shadow: 0 12px 28px rgba(200,169,43,.35); }

.kea-kidz-intro { padding: 14px 20px; margin-bottom: 28px; }
.kea-kidz-intro img { width: 56px; height: 57px; }

.kea-law { padding: 26px var(--rand); }
.kea-law details { max-width: 820px; margin: 0 auto; }
.kea-law summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 18px; }
.kea-law summary::-webkit-details-marker { display: none; }
.kea-law summary .kea-eyebrow { grid-column: 1; }
.kea-law summary h2 { grid-column: 1; margin: 0; font-size: clamp(20px, 2.2vw, 26px); }
.kea-law-plus { grid-column: 2; grid-row: 1 / span 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #fff; font-size: 26px; transition: transform .2s; }
.kea-law details[open] .kea-law-plus { transform: rotate(45deg); }

/* Fragekarten mit eigener Farbe und großem Symbol (Kai, 17.11.2026: „alle Kacheln sehen gleich aus“) */
.kea-topics .kea-topic { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 26px 26px 28px; border: 0; border-top: 7px solid var(--kea-farbe); background: linear-gradient(180deg, var(--kea-tint) 0%, #fff 70%); box-shadow: 0 18px 44px rgba(24,63,86,.09); }
.kea-topics .kea-topic:nth-child(1) { --kea-farbe: #c8a92b; --kea-tint: #fbf3d6; }
.kea-topics .kea-topic:nth-child(2) { --kea-farbe: #4a8b5c; --kea-tint: #e7f3ea; }
.kea-topics .kea-topic:nth-child(3) { --kea-farbe: #2c5f7c; --kea-tint: #e2eef5; }
.kea-topics .kea-topic-icon { width: 76px; height: 76px; margin-bottom: 10px; background-color: transparent; background-size: 76px 76px; filter: drop-shadow(0 8px 14px rgba(24,63,86,.14)); }
.kea-topics .kea-topic:nth-child(1) .kea-topic-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-40 -40 80 80'%3E%3Ccircle r='37' fill='%23fbf7ee' stroke='%23c8a92b' stroke-width='4'/%3E%3Cg transform='scale%28.78%29'%3E%3Cellipse cx='-6' cy='16' rx='16' ry='6' fill='%23c8a92b' stroke='%239c782a' stroke-width='2.5'/%3E%3Cpath d='M-22 6 V16 M10 6 V16' stroke='%239c782a' stroke-width='2.5'/%3E%3Cellipse cx='-6' cy='6' rx='16' ry='6' fill='%23c8a92b' stroke='%239c782a' stroke-width='2.5'/%3E%3Cpath d='M-22 -4 V6 M10 -4 V6' stroke='%239c782a' stroke-width='2.5'/%3E%3Cellipse cx='-6' cy='-4' rx='16' ry='6' fill='%23e3cb6a' stroke='%239c782a' stroke-width='2.5'/%3E%3Ccircle cx='16' cy='-12' r='11' fill='%23183f56'/%3E%3Cpath d='M20 -16.5 A5.5 5.5 0 1 0 20 -7.5 M10.5 -13.5 H17 M10.5 -10.5 H17' fill='none' stroke='%23fbf7ee' stroke-width='2' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E"); }
.kea-topics .kea-topic:nth-child(2) .kea-topic-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-40 -40 80 80'%3E%3Ccircle r='37' fill='%23fbf7ee' stroke='%234a8b5c' stroke-width='4'/%3E%3Cg transform='scale%28.78%29'%3E%3Cpath d='M0 22 C-26 6 -26 -16 -12 -20 C-6 -22 -2 -18 0 -13 C2 -18 6 -22 12 -20 C26 -16 26 6 0 22 Z' fill='%235e9b6e' stroke='%233f7a52' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M-17 0 H-7 L-3 -8 L2 8 L6 -2 H17' fill='none' stroke='%23fbf7ee' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E"); }
.kea-topics .kea-topic:nth-child(3) .kea-topic-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-40 -40 80 80'%3E%3Ccircle r='37' fill='%23fbf7ee' stroke='%232c5f7c' stroke-width='4'/%3E%3Cg transform='scale%28.78%29'%3E%3Cpath d='M0 -26 L21 -18 V-2 C21 12 12 21 0 25 C-12 21 -21 12 -21 -2 V-18 Z' fill='%232c5f7c' stroke='%23183f56' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M-9 -1 l6 7 l12 -14' fill='none' stroke='%23f0d27a' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E"); }
.kea-topics .kea-topic-label { color: var(--kea-farbe); }
.kea-topics .kea-topic h3 { font-size: clamp(20px, 1.7vw, 23px); }
.kea-topics .kea-topic:hover { transform: translateY(-3px); box-shadow: 0 24px 54px rgba(24,63,86,.14); }

/* Rahmen-Kacheln: jede mit eigener Symbolfarbe */
.kea-facts .kea-fact-dauer::before { background-color: #fbf0cc; }
.kea-facts .kea-fact-kosten::before { background-color: #e3f1e6; }
.kea-facts .kea-fact-rahmen::before { background-color: #e0edf4; }
.kea-facts .kea-fact-termin::before { background-color: #fbe6d6; }
.kea-facts .kea-fact-termin { border-color: #e9c9ac; background: #fffaf5; }

/* 3D-Einfahrt mit Dampf und Ton (Kai, 18.11.2026) */
.kea-hero-lok.lok-js img { animation: none; }
.kea-lok-ort .lok3d-live { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; filter: drop-shadow(0 10px 14px rgba(24,63,86,.18)); }
.kea-lok-ort.lok-wartet img.lok3d, .kea-lok-ort.lok-live > img.lok3d { visibility: hidden; }
.lok-puff { position: absolute; z-index: 6; margin: 0; transform: translate(-50%, -50%) scale(.35); border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 42% 40%, #fff 0 40%, rgba(240, 245, 248, .97) 52%, rgba(150, 172, 188, .62) 64%, rgba(150, 172, 188, 0) 72%);
  animation: lok-puff var(--d, 1.7s) cubic-bezier(.25, .6, .35, 1) forwards; }
@keyframes lok-puff { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.35); } 14% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--dx, -30px)), calc(-50% + var(--dy, -80px))) scale(1.7); } }
@media (prefers-reduced-motion: reduce) { .lok-puff { display: none; } }
.kea-ton { position: absolute; z-index: 3; left: 12px; bottom: 6px; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px 6px 8px; border: 0; border-radius: 999px; color: var(--blue-deep); font: 700 13px/1 inherit; font-family: inherit; background: rgba(255,255,255,.92); box-shadow: 0 6px 16px rgba(24,63,86,.14); cursor: pointer; }
.kea-ton svg { width: 20px; height: 20px; }

/* Imagefilm */
.kea-film { max-width: var(--max); margin: 0 auto; padding: 44px var(--rand) 50px; text-align: center; }
.kea-film h2 { margin: 6px 0 22px; font-size: clamp(26px, 3vw, 36px); color: var(--blue-deep); }
.kea-film-rahmen { margin: 0 auto; max-width: 880px; }
.kea-film-rahmen video { width: 100%; height: auto; display: block; border-radius: 22px; box-shadow: 0 24px 60px rgba(24,63,86,.2); background: #000; }
.kea-film .ki-hinweis { margin-top: 10px; color: var(--muted); font-size: 13px; }

/* Bestätigung als Fahrkarte */
.kea-fahrkarte { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 0 22px; text-align: left; padding: 26px 26px 26px 30px; border-radius: 22px; background: #fbf7ee; border: 2px solid #c8a92b; box-shadow: 0 18px 44px rgba(24,63,86,.12); }
.kea-fahrkarte > * { grid-column: 1; }
.kea-fahrkarte-kopf { margin: 0 0 6px; color: #9c782a; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.kea-fahrkarte-abschnitt { grid-column: 2; grid-row: 1 / span 5; display: grid; place-items: center; align-content: center; gap: 8px; margin: -26px -26px -26px 0; padding: 18px; border-left: 3px dashed #e3d3a6; border-radius: 0 20px 20px 0; background: #c8a92b; color: #0f2a3b; font-weight: 800; }
.kea-fahrkarte-abschnitt img { width: 96px; height: auto; }
@media (max-width: 560px) { .kea-fahrkarte { grid-template-columns: 1fr; } .kea-fahrkarte-abschnitt { grid-column: 1; grid-row: auto; margin: 16px -26px -26px -30px; border-left: 0; border-top: 3px dashed #e3d3a6; border-radius: 0 0 20px 20px; grid-auto-flow: column; } }

/* Einblenden beim Scrollen (js/kidz-einblenden.js, Kai 18.11.2026: „mit Animation hochwertiger“) */
.einblenden-an .blendet-ein { opacity: 0; transform: translateY(26px); }
.einblenden-an .blendet-ein.ist-sichtbar { opacity: 1; transform: none; transition: opacity .7s ease var(--einblenden-verzug, 0s), transform .8s cubic-bezier(.2,.7,.25,1) var(--einblenden-verzug, 0s); }

/* Handy: die drei Fragekarten legen sich beim Scrollen übereinander wie bei „Gut geregelt“ (reines CSS, position: sticky) */
@media (max-width: 860px) {
  .kea-topics { display: block; }
  .kea-topics .kea-topic { position: sticky; top: calc(76px + var(--kea-i, 0) * 12px); margin-bottom: 22px; min-height: 196px;
    background: linear-gradient(180deg, var(--kea-tint) 0%, #fff 70%), #fff;
    box-shadow: 0 -1px 0 rgba(24,63,86,.04), 0 -8px 20px rgba(24,63,86,.07), 0 12px 28px rgba(24,63,86,.12); }
  .kea-topics .kea-topic:nth-child(1) { --kea-i: 0; }
  .kea-topics .kea-topic:nth-child(2) { --kea-i: 1; }
  .kea-topics .kea-topic:nth-child(3) { --kea-i: 2; margin-bottom: 0; }
  .einblenden-an .kea-topic.blendet-ein { transform: none; }
}
