/* =========================================================
   Nachwuchs-Seite (/nachwuchs) — Kinder- & Jugendfeuerwehr.
   Ausschliesslich Klassen mit Präfix .nw-. Wiederverwendet werden nur
   bestehende Utilities aus styles.css (.section, .wrap, .section__head,
   .eyebrow, .breadcrumb, .muted, .grid, .card, .btn, .tag …) sowie die
   dort definierten CSS-Variablen (--red, --line, --shadow, --radius …).
   styles.css selbst bleibt unangetastet (Eigentum T-03).
   ========================================================= */

/* ---------- Hero ---------- */
.nw-hero {
    position: relative;
    color: #fff;
    background: linear-gradient(120deg, #1a1c22 0%, #2a1416 55%, var(--red-dark) 130%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.nw-hero--img { background-blend-mode: multiply; }
.nw-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(120deg, rgba(26, 28, 34, .84) 0%, rgba(42, 20, 22, .8) 55%, rgba(168, 18, 27, .72) 130%);
    pointer-events: none;
}
.nw-hero__inner {
    position: relative;
    z-index: 2;
    padding: clamp(1.6rem, 5vw, 2.6rem) 0 clamp(3rem, 8vw, 5.5rem);
}
.nw-hero__crumb,
.nw-hero__crumb a { color: rgba(255, 255, 255, .72); }
.nw-hero__crumb a:hover { color: #fff; }
.nw-hero__eyebrow { display: inline-block; color: #ffb3b8; margin: .6rem 0 .8rem; }
.nw-hero h1 { color: #fff; margin: 0; }
.nw-hero__text { color: #e7e8ee; font-size: 1.12rem; max-width: 60ch; margin: 1rem 0 0; }

/* ---------- Kinderfeuerwehr / Jugendfeuerwehr ---------- */
/* Glue-Fix T-08: #kinderfeuerwehr/#jugendfeuerwehr sind Sprungziele (§4.6).
   Ohne scroll-margin-top verschwindet der Sektionskopf beim Anker-Sprung
   unter dem "position: sticky"-Header (74px, styles.css:69). */
.nw-group { scroll-margin-top: 90px; }
.nw-group__grid {
    display: grid;
    gap: clamp(1.6rem, 4vw, 3rem);
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
}
.nw-group__grid--text-only {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
}
@media (max-width: 760px) {
    .nw-group__grid { grid-template-columns: minmax(0, 1fr); }
}
.nw-group__main h2 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
    margin: .3rem 0 .8rem;
}
.nw-group__age { font-size: .78rem; }
.nw-group__main p { font-size: 1.05rem; margin: 0; }

.nw-group__aside { padding: 0; }
.nw-group__image {
    aspect-ratio: 16 / 10;
    background: var(--bg-soft) center/cover no-repeat;
}
.nw-group__aside-body {
    padding: 1.1rem 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nw-meta-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    font-size: .95rem;
    overflow-wrap: break-word;
}

.nw-contact {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    padding-top: .9rem;
    border-top: 1px solid var(--line);
    overflow-wrap: break-word;
}
.nw-contact__label {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .72rem;
    font-weight: 700;
    color: var(--grey);
}
.nw-contact__name { font-weight: 700; }
.nw-contact a { color: var(--red-dark); word-break: break-word; }

/* ---------- Jugendfeuerwehr vor Ort ---------- */
.nw-of-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.nw-of-list__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding: .9rem 1.1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-weight: 700;
    transition: .15s;
}
.nw-of-list__link:hover {
    border-color: var(--red);
    box-shadow: var(--shadow);
    color: var(--red-dark);
    text-decoration: none;
}
.nw-of-list__link span:first-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}
.nw-of-list__arrow { color: var(--red-dark); flex-shrink: 0; }

/* ---------- Termine ---------- */
.nw-termine {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}
.nw-termin {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem 1rem;
    align-items: baseline;
    padding: 1rem 1.2rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}
.nw-termin__date {
    flex: 0 0 auto;
    font-weight: 700;
    color: var(--red-dark);
    white-space: nowrap;
}
.nw-termin__body { min-width: 0; }
.nw-termin__body h3 { margin: 0 0 .2rem; font-size: 1.02rem; }
.nw-termin__body p { margin: 0; overflow-wrap: break-word; }

/* ---------- FAQ (Eltern) ---------- */
.nw-faq {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}
.nw-faq__item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0 1.1rem;
}
.nw-faq__item summary {
    cursor: pointer;
    padding: .9rem 0;
    font-weight: 700;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.nw-faq__item summary::-webkit-details-marker { display: none; }
.nw-faq__item summary::after {
    content: "+";
    font-size: 1.3rem;
    line-height: 1;
    color: var(--red);
    flex-shrink: 0;
}
.nw-faq__item[open] summary::after { content: "–"; }
.nw-faq__item p { margin: 0 0 1rem; color: var(--grey); }

/* ---------- Abschluss-CTA ---------- */
.nw-cta {
    background: linear-gradient(120deg, #1a1c22 0%, #2a1416 55%, var(--red-dark) 130%);
    color: #fff;
}
.nw-cta__inner {
    padding: clamp(2.4rem, 6vw, 4rem) 0;
    text-align: center;
}
.nw-cta__inner h2 { color: #fff; margin: 0; }
.nw-cta__inner p {
    color: #e7e8ee;
    max-width: 60ch;
    margin: .8rem auto 1.6rem;
    font-size: 1.05rem;
}
