/* ==========================================================================
   Streetschool – Stylesheet
   Warme, freundliche Gestaltung (Orange / Dunkelblau / Weiß),
   große Überschriften, einfache Sprache, barrierearm.
   ========================================================================== */

/* ---- Design-Tokens ------------------------------------------------------ */
:root {
    --navy:        #16243F;
    --navy-700:    #1E3357;
    --navy-600:    #2A446F;
    --ink:         #243149;
    --ink-soft:    #45506A;

    --orange:        #F08A2C;
    --orange-strong: #DE7415;
    --orange-soft:   #FCE9D2;

    --cream:   #FBF3E7;
    --cream-2: #F7EAD6;
    --paper:   #FFFDFA;
    --white:   #FFFFFF;

    --line:    rgba(22, 36, 63, .12);
    --shadow:  0 14px 40px -22px rgba(22, 36, 63, .45);
    --shadow-sm: 0 6px 18px -12px rgba(22, 36, 63, .4);

    --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
    --font-body:    "Inter", "Segoe UI", system-ui, sans-serif;

    --wrap: 1140px;
    --radius: 18px;
    --radius-sm: 12px;
}

/* ---- Reset / Basis ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.125rem;          /* 18px Basis – gut lesbar */
    line-height: 1.7;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--orange-strong); }
a:hover { color: var(--navy); }

h1, h2, h3 { font-family: var(--font-display); color: var(--navy); line-height: 1.12; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; }

/* ---- Fokus / Skip-Link (Barrierefreiheit) ------------------------------- */
:focus-visible {
    outline: 3px solid var(--orange-strong);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 100;
    background: var(--navy);
    color: #fff;
    padding: .8rem 1.2rem;
    border-radius: 0 0 10px 10px;
    font-weight: 600;
    text-decoration: none;
    transition: top .15s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---- Layout-Helfer ------------------------------------------------------ */
.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: clamp(1.1rem, 4vw, 2.2rem);
}

.band { padding-block: clamp(3rem, 7vw, 5.5rem); }
.band--cream { background: var(--cream); }
.band--navy  { background: var(--navy); color: #EAF0FB; }
.band--navy h1, .band--navy h2, .band--navy h3 { color: #fff; }

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    font-weight: 700;
    margin: 0 0 .5em;
    letter-spacing: -.01em;
}
.section-intro {
    font-size: 1.2rem;
    color: var(--ink-soft);
    max-width: 46ch;
    margin: 0 0 2rem;
}
.band--navy .section-intro { color: #C6D2E8; }

.eyebrow {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .82rem;
    font-weight: 700;
    color: var(--orange-strong);
    margin: 0 0 1rem;
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1;
    padding: .95rem 1.6rem;
    border-radius: 999px;
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: transform .12s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn--lg { padding: 1.1rem 2rem; font-size: 1.12rem; }

.btn--primary {
    background: var(--orange);
    color: var(--navy);
    box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--orange-strong); color: #fff; transform: translateY(-2px); }

.btn--ghost {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn--ghost:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

.band--navy .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.band--navy .btn--ghost:hover { background: #fff; color: var(--navy); }

/* ==========================================================================
   Kopfzeile + Navigation
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 253, 250, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 76px;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand__mark {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    background: var(--navy);
    color: var(--orange);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    border-radius: 12px;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--navy); }
.brand__sub  { font-size: .78rem; color: var(--ink-soft); letter-spacing: .01em; }

.main-nav__list {
    list-style: none;
    display: flex;
    gap: .35rem;
    margin: 0; padding: 0;
}
.main-nav__link {
    display: inline-block;
    padding: .55rem .85rem;
    border-radius: 10px;
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
}
.main-nav__link:hover { background: var(--orange-soft); color: var(--navy); }
.main-nav__link.is-active { color: var(--orange-strong); }
.main-nav__link.is-active::after {
    content: "";
    display: block;
    height: 3px;
    border-radius: 3px;
    background: var(--orange);
    margin-top: 3px;
}

/* Menue-Button (mobil) */
.nav-toggle {
    display: none;
    align-items: center;
    gap: .55rem;
    background: var(--navy);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: .6rem .9rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    content: "";
    display: block;
    width: 20px; height: 2.5px;
    background: #fff;
    border-radius: 2px;
    position: relative;
}
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after  { position: absolute; top:  6px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    max-width: var(--wrap);
    margin-inline: auto;
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1.1rem, 4vw, 2.2rem);
}
.hero__inner { max-width: 36rem; }

.hero__title {
    font-size: clamp(2.4rem, 6.2vw, 4.3rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 1rem;
}
.mark { position: relative; white-space: nowrap; color: var(--navy); }
.mark__line {
    position: absolute;
    left: 0; right: 0; bottom: -.18em;
    width: 100%; height: .42em;
    color: var(--orange);
    overflow: visible;
}
.hero__lead {
    font-size: clamp(1.2rem, 2.4vw, 1.5rem);
    font-weight: 600;
    color: var(--navy-700);
    margin-bottom: 1rem;
}
.hero__text { color: var(--ink-soft); margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__media {
    position: relative;
    min-height: 340px;
    border-radius: var(--radius);
    background:
        radial-gradient(120% 120% at 20% 0%, var(--orange-soft), transparent 60%),
        linear-gradient(160deg, var(--cream-2), var(--cream));
    border: 1px dashed rgba(22,36,63,.25);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.hero__media-hint {
    text-align: center;
    font-weight: 600;
    color: var(--navy-600);
    opacity: .75;
    padding: 1rem;
}

/* ==========================================================================
   Text-Bausteine
   ========================================================================== */
.prose { max-width: 60ch; }
.prose-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
}
.lead-statement {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--navy);
    border-left: 5px solid var(--orange);
    padding-left: 1rem;
    margin: 1.3rem 0;
}

.connect-intro { font-weight: 700; color: var(--navy); margin-bottom: .8rem; }
.tag-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}
.tag-list li {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .45rem 1rem;
    font-weight: 600;
    color: var(--navy);
    box-shadow: var(--shadow-sm);
}

/* ---- Karten ------------------------------------------------------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.2rem;
}
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__title { font-size: 1.4rem; margin: 0 0 .5rem; }
.card p { color: var(--ink-soft); }
.card__link {
    margin-top: auto;
    padding-top: 1rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--orange-strong);
}
.card__link::after { content: " →"; }
.card__link:hover { color: var(--navy); }
.card--accent {
    background: var(--navy);
    border-color: var(--navy);
}
.card--accent .card__title { color: #fff; }
.card--accent p { color: #C6D2E8; }
.card--accent .card__link { color: var(--orange); }
.card--accent .card__link:hover { color: #fff; }

/* ---- Zitat-Band --------------------------------------------------------- */
.quote-band { text-align: center; }
.big-quote {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.6vw, 2.4rem);
    font-weight: 600;
    line-height: 1.3;
    max-width: 22ch;
    margin: 0 auto;
    color: #fff;
}
.band--navy .big-quote { color: #fff; }
.big-quote--dark { color: var(--navy); max-width: 24ch; }
.big-quote__source {
    margin-top: 1.2rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .82rem;
    color: var(--orange);
}

/* ---- CTA-Reihe ---------------------------------------------------------- */
.cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.cta-row .section-title { margin-bottom: .2em; }
.cta-row .section-intro { margin-bottom: 0; }
.cta-row__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ==========================================================================
   Unterseiten
   ========================================================================== */
.page-head {
    background: linear-gradient(180deg, var(--cream), var(--paper));
    padding-block: clamp(2.6rem, 6vw, 4.5rem);
    border-bottom: 1px solid var(--line);
}
.page-head__title {
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 .5rem;
}
.page-head__lead {
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    color: var(--ink-soft);
    max-width: 52ch;
    margin: 0;
}

/* ---- Grundsätze --------------------------------------------------------- */
.principle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.4rem;
}
.principle {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
}
.principle__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--orange);
    display: block;
    margin-bottom: .4rem;
}
.principle h3 { font-size: 1.3rem; margin: 0 0 .5rem; }
.principle p { color: var(--ink-soft); margin: 0; }

/* ---- Angebote-Liste ----------------------------------------------------- */
.offer-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.4rem;
}
.offer {
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 5px solid var(--orange);
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
}
.offer__title { font-size: 1.5rem; margin: 0 0 .5rem; }
.offer__lead { font-weight: 600; color: var(--navy-700); }

.check-list { list-style: none; margin: .5rem 0 0; padding: 0; }
.check-list li {
    position: relative;
    padding-left: 1.9rem;
    margin-bottom: .55rem;
    color: var(--ink);
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0; top: .45em;
    width: 1.1rem; height: 1.1rem;
    background: var(--orange-soft);
    border: 2px solid var(--orange);
    border-radius: 5px;
}
.check-list li::after {
    content: "";
    position: absolute;
    left: .33rem; top: .55em;
    width: .35rem; height: .65rem;
    border: solid var(--orange-strong);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* ---- Zielgruppen -------------------------------------------------------- */
.audience-list {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: .8rem;
}
.audience-list li {
    background: var(--white);
    border-left: 4px solid var(--orange);
    border-radius: var(--radius-sm);
    padding: .9rem 1.1rem;
    font-weight: 600;
    color: var(--navy);
    box-shadow: var(--shadow-sm);
}

/* ---- Split / Info-Box --------------------------------------------------- */
.split {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}
.info-box {
    background: var(--navy);
    color: #EAF0FB;
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: var(--shadow);
}
.info-box--wide { margin-top: 2.5rem; }
.info-box__title { color: #fff; font-size: 1.4rem; margin: 0 0 1rem; }
.info-box .check-list li { color: #DCE5F5; }
.info-box .check-list li::before { background: rgba(240,138,44,.25); }
.info-box .btn { margin-top: 1.3rem; }

/* ---- Mitmachen-Pfade ---------------------------------------------------- */
.path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.4rem;
}
.path {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.path__title { font-size: 1.6rem; margin: 0; }
.path .btn { margin-top: auto; align-self: flex-start; }

/* ==========================================================================
   Kontakt / Formular
   ========================================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}
.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 4vw, 2.4rem);
    box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.req { color: var(--orange-strong); font-weight: 700; }

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
    width: 100%;
    font: inherit;
    color: var(--ink);
    padding: .8rem 1rem;
    border: 2px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--orange);
    outline: none;
    box-shadow: 0 0 0 4px rgba(240,138,44,.18);
}
.field--error input, .field--error textarea, .field--error select { border-color: #C53B22; }
.field__err { color: #C53B22; font-weight: 600; margin: .4rem 0 0; font-size: .95rem; }

.field--check .check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; color: var(--ink); }
.field--check input { margin-top: .3rem; width: 1.2rem; height: 1.2rem; accent-color: var(--orange-strong); }

.form-note { font-size: .9rem; color: var(--ink-soft); margin-top: .9rem; }

/* Honeypot verstecken (vor Menschen + Screenreader) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; margin-bottom: 1.4rem; }
.notice h2 { margin: 0 0 .3rem; font-size: 1.4rem; }
.notice p { margin: 0; }
.notice--ok { background: #E8F5EC; border: 1px solid #57A874; color: #1F5235; }
.notice--ok h2 { color: #1F5235; }
.notice--error { background: #FBE7E2; border: 1px solid #D98A78; color: #8A2C18; }

.contact-aside__title { font-size: 1.4rem; margin: 0 0 1rem; }
.contact-card {
    font-style: normal;
    background: var(--cream);
    border-radius: var(--radius);
    padding: 1.5rem;
    line-height: 1.8;
}
.contact-aside__note { margin-top: 1.2rem; color: var(--ink-soft); }

/* ==========================================================================
   Fußzeile
   ========================================================================== */
.site-footer { background: var(--navy); color: #C6D2E8; margin-top: 2rem; }
.site-footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr;
    gap: 2rem;
    padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.site-footer .brand__name { color: #fff; font-size: 1.5rem; }
.site-footer__brand p { margin: .5rem 0 0; }
.site-footer__motto { color: var(--orange); font-weight: 600; }
.site-footer__heading { color: #fff; font-size: 1.1rem; margin: 0 0 .9rem; }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin-bottom: .5rem; }
.site-footer a { color: #C6D2E8; text-decoration: none; }
.site-footer a:hover { color: var(--orange); text-decoration: underline; }
.site-footer__contact { font-style: normal; line-height: 1.9; }
.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .6rem;
    padding-block: 1.3rem;
    border-top: 1px solid rgba(255,255,255,.15);
    font-size: .92rem;
}
.site-footer__legal p { margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; }
    .hero__media { min-height: 220px; order: -1; }
    .split { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .site-footer__inner { grid-template-columns: 1fr; gap: 1.6rem; }

    /* Mobile Navigation */
    .nav-toggle { display: inline-flex; }
    .main-nav {
        position: absolute;
        left: 0; right: 0;
        top: 100%;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
    }
    body.nav-open .main-nav { max-height: 70vh; overflow: auto; }
    .main-nav__list { flex-direction: column; gap: 0; padding: .6rem 1rem 1.2rem; }
    .main-nav__link { display: block; padding: .85rem .6rem; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
    .main-nav__link.is-active::after { display: none; }
    .brand__sub { display: none; }
}

@media (max-width: 520px) {
    .btn { width: 100%; }
    .cta-row__actions, .hero__actions { width: 100%; }
}

/* ---- Reduced Motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
