/* HSG Radevormwald/Herbeck — Mockup-Stylesheet
   Vereinsrot #df0024 aus dem Originallogo von rader-handball.de entnommen.

   Aufbau:
   1. Design-Tokens      2. Grundlagen      3. Bausteine (Knopf, Marke, Karte)
   4. Kopf und Navigation                   5. Hero und Seitenkopf
   6. Abschnitte und Inhalte                7. Fuss      8. Bewegung/Reduced Motion
*/

/* ============================================================
   1. Design-Tokens
   ============================================================ */

:root {
    /* Marke */
    --rot: #df0024;          /* Kontrast auf Weiss 5.0:1 — auch fuer Text nutzbar */
    --rot-dunkel: #a30019;
    --rot-tief: #75000f;
    --rot-sanft: #fdecef;

    /* Neutrale Flaechen und Text */
    --anthrazit: #14171c;
    --anthrazit-weich: #262c35;
    --grau: #5a616c;         /* Kontrast auf Weiss 6.1:1 */
    --grau-hell: #f1f2f4;
    --sand: #faf8f6;         /* warmes Off-White fuer abgesetzte Baender */
    --rand: #e3e6ea;
    --weiss: #ffffff;

    /* Akzent — sparsam, immer mit dunklem Text */
    --gold: #ffc32e;
    --gold-tief: #6b4900;

    /* Radien */
    --r-sm: 8px;
    --r: 14px;
    --r-lg: 22px;
    --r-pille: 999px;

    /* Schatten-Skala */
    --schatten-1: 0 1px 2px rgba(20, 23, 28, .06), 0 2px 8px rgba(20, 23, 28, .05);
    --schatten-2: 0 4px 12px rgba(20, 23, 28, .08), 0 12px 28px rgba(20, 23, 28, .07);
    --schatten-3: 0 18px 48px rgba(117, 0, 15, .22);

    /* Rhythmus */
    --breite: 1180px;
    --abstand-block: clamp(3.5rem, 7vw, 5.5rem);

    /* Bewegung */
    --tempo: 200ms;
    --kurve: cubic-bezier(.2, .8, .3, 1);
}

/* ============================================================
   2. Grundlagen
   ============================================================ */

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

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

body {
    margin: 0;
    font-family: Barlow, "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.0625rem;
    color: var(--anthrazit);
    background: var(--weiss);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: "Barlow Condensed", Barlow, "Segoe UI", system-ui, sans-serif;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.005em;
    margin: 0 0 .4em;
    text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

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

/* Fliesstext bleibt lesbar: rund 70 Zeichen pro Zeile */
main p { max-width: 68ch; }

a { color: var(--rot); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { color: var(--rot-dunkel); }

img { max-width: 100%; }

strong { font-weight: 700; }

:focus-visible {
    outline: 3px solid var(--rot);
    outline-offset: 3px;
    border-radius: 4px;
}
.hero :focus-visible,
.fuss :focus-visible,
.band :focus-visible { outline-color: #fff; }

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }

/* Nur fuer Screenreader — bleibt fokussierbar */
.nur-sr {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.sprung {
    position: absolute;
    left: 12px; top: -100px;
    z-index: 100;
    background: var(--anthrazit);
    color: #fff;
    padding: 12px 18px;
    border-radius: 0 0 var(--r-sm) var(--r-sm);
    font-weight: 600;
    text-decoration: none;
    transition: top var(--tempo) var(--kurve);
}
.sprung:focus { top: 0; color: #fff; }

/* Icons — einheitlich 1.5px Strichstaerke, Groesse ueber em */
.icon {
    width: 1.15em;
    height: 1.15em;
    flex: none;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -.18em;
}

/* ============================================================
   3. Bausteine
   ============================================================ */

.knopf {
    display: inline-flex;
    align-items: center;
    gap: .55em;
    min-height: 48px;
    padding: 12px 26px;
    border: 2px solid transparent;
    border-radius: var(--r-pille);
    background: var(--rot);
    color: #fff;
    font-family: "Barlow Condensed", Barlow, sans-serif;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--schatten-1);
    transition: background var(--tempo) var(--kurve),
                box-shadow var(--tempo) var(--kurve),
                transform var(--tempo) var(--kurve),
                color var(--tempo) var(--kurve);
}
.knopf:hover { background: var(--rot-dunkel); color: #fff; box-shadow: var(--schatten-2); transform: translateY(-2px); }
.knopf:active { transform: translateY(0); box-shadow: var(--schatten-1); }
.knopf .icon { stroke-width: 2.25; }

.knopf.hell { background: #fff; color: var(--rot-dunkel); }
.knopf.hell:hover { background: var(--sand); color: var(--rot-tief); }

.knopf.linie {
    background: transparent;
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
    box-shadow: none;
}
.knopf.linie:hover { background: rgba(255, 255, 255, .12); border-color: #fff; box-shadow: none; }

.knopf.dunkel { background: var(--anthrazit); }
.knopf.dunkel:hover { background: var(--anthrazit-weich); }

/* Textlink mit Pfeil — Hoehe 44px, damit er sich auf dem Handy sicher treffen laesst */
.pfeil {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    min-height: 44px;
    padding-block: 9px;
    font-weight: 600;
    text-decoration: none;
    color: var(--rot);
}
.pfeil .icon { transition: transform var(--tempo) var(--kurve); }
.pfeil:hover .icon { transform: translateX(3px); }
.pfeil:hover { text-decoration: underline; }

.marke {
    display: inline-flex;
    align-items: center;
    gap: .35em;
    background: var(--rot);
    color: #fff;
    font-family: "Barlow Condensed", Barlow, sans-serif;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: var(--r-pille);
}
.marke.grau { background: var(--anthrazit); }
.marke.gold { background: var(--gold); color: var(--gold-tief); }

/* ============================================================
   4. Kopf und Navigation
   ============================================================ */

.hinweis {
    background: var(--anthrazit);
    color: #d7dae0;
    font-size: .85rem;
    line-height: 1.45;
    text-align: center;
    padding: 9px 20px;
}
.hinweis strong {
    display: inline-block;
    background: var(--gold);
    color: var(--gold-tief);
    padding: 1px 9px;
    border-radius: var(--r-pille);
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-right: .5em;
}

.kopf {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rand);
    box-shadow: 0 1px 0 rgba(223, 0, 36, .9);
}
.kopf .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 84px;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 56px; width: auto; display: block; }

/* Umschalter fuer das mobile Menue — das Kontrollkaestchen bleibt fuer die
   Tastatur erreichbar, bedient wird ueber das verknuepfte Label. */
.menue-knopf {
    display: none;
    align-items: center;
    gap: .5em;
    min-height: 48px;
    padding: 8px 16px;
    border-radius: var(--r-pille);
    background: var(--anthrazit);
    color: #fff;
    font-family: "Barlow Condensed", Barlow, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
}
.menue-schalter:focus-visible + .menue-knopf { outline: 3px solid var(--rot); outline-offset: 3px; }
.menue-knopf .schliessen { display: none; }

nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}
nav a {
    display: block;
    padding: 10px 13px;
    border-radius: var(--r-sm);
    text-decoration: none;
    color: var(--anthrazit);
    font-family: "Barlow Condensed", Barlow, sans-serif;
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    transition: background var(--tempo) var(--kurve), color var(--tempo) var(--kurve);
}
nav a:hover { background: var(--grau-hell); color: var(--rot-dunkel); }
nav a.aktiv { background: var(--rot); color: #fff; }
nav a.aktiv:hover { background: var(--rot-dunkel); color: #fff; }

@media (max-width: 980px) {
    .kopf .wrap { flex-wrap: wrap; min-height: 0; padding-block: 12px; row-gap: 0; }
    .menue-knopf { display: inline-flex; }
    .kopf nav {
        flex-basis: 100%;
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows var(--tempo) var(--kurve);
    }
    .kopf nav > ul { overflow: hidden; min-height: 0; }
    .menue-schalter:checked ~ nav { grid-template-rows: 1fr; }
    .menue-schalter:checked ~ .menue-knopf .oeffnen { display: none; }
    .menue-schalter:checked ~ .menue-knopf .schliessen { display: inline; }
    /* Kein Padding an der Liste: es wuerde im geschlossenen Zustand stehen bleiben */
    nav ul { flex-direction: column; gap: 4px; padding: 0; }
    nav li:first-child { padding-top: 10px; }
    nav li:last-child { padding-bottom: 8px; }
    nav a { padding: 12px 14px; font-size: 1.18rem; line-height: 1.3; }
}

/* ============================================================
   5. Hero und Seitenkopf
   ============================================================ */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(120% 90% at 88% 8%, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(128deg, var(--rot) 0%, var(--rot-dunkel) 52%, var(--rot-tief) 100%);
    color: #fff;
    padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
}
/* Handball-Anmutung: angedeutete Ballsegmente als ruhige Flaechengrafik */
.hero::before {
    content: "";
    position: absolute;
    inset: auto -12% -45% auto;
    right: -8%; bottom: -42%;
    width: min(680px, 78vw);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .18);
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, .03) 60%, transparent 70%);
    box-shadow: inset 0 0 0 46px rgba(255, 255, 255, .06);
    z-index: -1;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(58deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 26px);
    z-index: -1;
}
.hero .inhalt { max-width: 46rem; }
.hero .augen {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: var(--r-pille);
    padding: 6px 16px;
    font-family: "Barlow Condensed", Barlow, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}
.hero h1 { margin-bottom: .25em; }
.hero h1 .zeile2 { display: block; color: #ffd7de; }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #fff; max-width: 40rem; }
.hero .knoepfe { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8rem; }

/* Kennzahlen unter dem Hero */
.zahlen {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1px;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    background: rgba(255, 255, 255, .22);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.zahlen div {
    background: rgba(117, 0, 15, .28);
    padding: 20px 22px;
    backdrop-filter: blur(2px);
}
.zahlen .wert {
    display: block;
    font-family: "Barlow Condensed", Barlow, sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
}
.zahlen .was {
    font-size: .92rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .94);
}

/* Kompakter Kopf der Unterseiten */
.seitenkopf {
    background: var(--anthrazit);
    color: #fff;
    padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(2rem, 4vw, 2.8rem);
    position: relative;
    overflow: hidden;
}
.seitenkopf::after {
    content: "";
    position: absolute;
    right: -60px; top: -80px;
    width: 320px; height: 320px;
    border-radius: 50%;
    border: 36px solid rgba(223, 0, 36, .28);
}
.seitenkopf .wrap { position: relative; z-index: 1; }
.seitenkopf h1 { margin-bottom: .2em; }
.seitenkopf p { color: #c9ced7; max-width: 52ch; margin: 0; }
.krumen {
    display: flex;
    gap: .5em;
    align-items: center;
    font-size: .88rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #9aa2ae;
    margin-bottom: .9rem;
}
.krumen a { color: #9aa2ae; text-decoration: none; }
.krumen a:hover { color: #fff; text-decoration: underline; }

/* ============================================================
   6. Abschnitte und Inhalte
   ============================================================ */

section { padding: var(--abstand-block) 0; }
section.sand { background: var(--sand); }
section.grau { background: var(--grau-hell); }

.titel {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px 24px;
    flex-wrap: wrap;
    margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.titel h2 { margin: 0; position: relative; padding-top: .55rem; }
.titel h2::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 56px; height: 5px;
    border-radius: var(--r-pille);
    background: var(--rot);
}
.titel p { color: var(--grau); margin: .5em 0 0; }

.raster { display: grid; gap: clamp(16px, 2.4vw, 24px); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.raster.zwei { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; }

/* Karten */
.karte {
    background: #fff;
    border: 1px solid var(--rand);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--schatten-1);
    transition: box-shadow var(--tempo) var(--kurve), transform var(--tempo) var(--kurve), border-color var(--tempo) var(--kurve);
}
.karte:hover { box-shadow: var(--schatten-2); transform: translateY(-3px); border-color: #d6dae1; }
.karte .bild {
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    gap: 6px;
    color: var(--grau);
    background:
        radial-gradient(circle at 30% 25%, rgba(223, 0, 36, .07), transparent 60%),
        repeating-linear-gradient(135deg, #eceef1 0 14px, #f4f6f8 14px 28px);
    font-family: "Barlow Condensed", Barlow, sans-serif;
    font-size: .95rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.karte .bild .icon { width: 2rem; height: 2rem; stroke-width: 1.4; color: #b3bac4; }
.karte .inhalt { padding: 22px; flex: 1; display: flex; flex-direction: column; align-items: start; gap: .7rem; }
.karte h3 { margin: 0; }
.karte p { color: var(--grau); font-size: .98rem; margin: 0; flex: 1; }

/* Mannschaften */
.gruppe { margin-bottom: clamp(2rem, 4vw, 3rem); }
.gruppe > h2 {
    display: flex;
    align-items: center;
    gap: .55em;
    font-size: clamp(1.5rem, 2.6vw, 1.9rem);
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--rot);
}
.gruppe > h2 .icon { color: var(--rot); width: 1.1em; height: 1.1em; }
.teams { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.team {
    background: #fff;
    border: 1px solid var(--rand);
    border-left: 4px solid var(--rot);
    border-radius: var(--r);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--schatten-1);
    transition: box-shadow var(--tempo) var(--kurve), transform var(--tempo) var(--kurve);
}
.team:hover { box-shadow: var(--schatten-2); transform: translateY(-2px); }
.team .kopfzeile h3 { margin: 0 0 2px; }
.team .jahrgang { color: var(--grau); font-size: .92rem; }
.team .zeiten { display: grid; gap: 8px; }
.team .zeit {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 10px;
    align-items: baseline;
    background: var(--sand);
    border-radius: var(--r-sm);
    padding: 8px 12px;
    font-size: .96rem;
}
.team .zeit .tag {
    font-family: "Barlow Condensed", Barlow, sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--rot-dunkel);
}
.team .zeit .uhrzeit { font-variant-numeric: tabular-nums; }
.team .zeit .halle {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: .35em;
    color: var(--grau);
    font-size: .89rem;
}
.team .trainer {
    display: flex;
    align-items: start;
    gap: .5em;
    border-top: 1px solid var(--rand);
    padding-top: 12px;
    margin-top: auto;
    font-size: .92rem;
    color: var(--grau);
}
.team .trainer .icon { margin-top: .2em; color: var(--rot); }
.team .trainer strong { color: var(--anthrazit); font-weight: 600; }
.team.offen { border-left-color: var(--gold); }
.team.offen .trainer .icon { color: var(--gold-tief); }

/* Termine */
.termine { display: grid; gap: 12px; }
.termin {
    display: flex;
    gap: 18px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--rand);
    border-radius: var(--r);
    padding: 14px 18px;
    box-shadow: var(--schatten-1);
    transition: box-shadow var(--tempo) var(--kurve), transform var(--tempo) var(--kurve);
}
.termin:hover { box-shadow: var(--schatten-2); transform: translateX(3px); }
.termin .datum {
    flex: none;
    width: 66px;
    text-align: center;
    background: linear-gradient(160deg, var(--rot), var(--rot-dunkel));
    color: #fff;
    border-radius: var(--r-sm);
    padding: 8px 0 6px;
    line-height: 1.05;
    box-shadow: var(--schatten-1);
}
.termin .datum .tag {
    display: block;
    font-family: "Barlow Condensed", Barlow, sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.termin .datum .monat { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.termin .text { flex: 1; min-width: 0; }
.termin .text strong { display: block; font-size: 1.05rem; }
.termin .text span { display: inline-flex; align-items: center; gap: .35em; color: var(--grau); font-size: .93rem; }

/* Spiele aus handball.net */
.spiele { display: grid; gap: 12px; }
.spiel {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr) auto;
    gap: 8px 18px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--rand);
    border-radius: var(--r);
    padding: 14px 18px;
    box-shadow: var(--schatten-1);
    transition: box-shadow var(--tempo) var(--kurve), transform var(--tempo) var(--kurve);
}
.spiel:hover { box-shadow: var(--schatten-2); transform: translateX(3px); }
.spiel .datum {
    grid-row: span 1;
    width: 66px;
    text-align: center;
    background: linear-gradient(160deg, var(--anthrazit), var(--anthrazit-weich));
    color: #fff;
    border-radius: var(--r-sm);
    padding: 8px 0 6px;
    line-height: 1.05;
}
.spiel .datum .tag {
    display: block;
    font-family: "Barlow Condensed", Barlow, sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.spiel .datum .monat { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.spiel .paarung { min-width: 0; }
.spiel .liga {
    display: block;
    font-family: "Barlow Condensed", Barlow, sans-serif;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--grau);
}
.spiel .teams { display: block; font-size: 1.05rem; }
.spiel .teams .gegen { color: var(--grau); font-size: .92rem; padding: 0 .3em; }
.spiel .teams .eigen { color: var(--rot-dunkel); }
.spiel .wann { display: grid; gap: 2px; justify-items: end; text-align: right; }
.spiel .wann span { display: inline-flex; align-items: center; gap: .35em; color: var(--grau); font-size: .92rem; }
@media (max-width: 760px) {
    .spiel { grid-template-columns: 66px minmax(0, 1fr); }
    .spiel .wann { grid-column: 2; justify-items: start; text-align: left; }
}

/* Variantenvergleich auf der Spielbetrieb-Seite */
.variante { border: 1px solid var(--rand); border-radius: var(--r-lg); overflow: hidden; }
.variante-kopf { background: var(--sand); border-bottom: 1px solid var(--rand); padding: 20px 22px; }
.variante-kopf h2 { margin: .35em 0 .3em; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.variante-kopf p { color: var(--grau); margin: 0; font-size: .98rem; }
.variante > .spiele { padding: 20px 22px; }
.variante .spiel { box-shadow: none; }
.widget-rahmen {
    margin: 20px 22px;
    padding: 14px;
    border: 2px dashed #cfd5dd;
    border-radius: var(--r);
    background: repeating-linear-gradient(135deg, #fff 0 14px, #fcfcfd 14px 28px);
    overflow-x: auto;
    min-height: 120px;
}

/* Mitmach-Band */
.band {
    background: linear-gradient(120deg, var(--anthrazit) 0%, #2c3440 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.band::after {
    content: "";
    position: absolute;
    left: -80px; bottom: -140px;
    width: 340px; height: 340px;
    border-radius: 50%;
    border: 40px solid rgba(223, 0, 36, .3);
}
.band .wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}
.band h2 { margin-bottom: .25em; }
.band p { color: #c9ced7; margin: 0; max-width: 46ch; }
.band .knoepfe { display: flex; gap: 12px; flex-wrap: wrap; }

/* Tabellen */
.tabelle-huelle {
    overflow-x: auto;
    border: 1px solid var(--rand);
    border-radius: var(--r);
    background: #fff;
    box-shadow: var(--schatten-1);
}
table { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 520px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--rand); }
th {
    background: var(--anthrazit);
    color: #fff;
    font-family: "Barlow Condensed", Barlow, sans-serif;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #fbfcfd; }
tbody tr:hover { background: var(--sand); }
tr.eigen { background: var(--rot-sanft) !important; font-weight: 700; }
tr.eigen td:first-child { box-shadow: inset 4px 0 0 var(--rot); }
td.zahl, th.zahl { text-align: right; font-variant-numeric: tabular-nums; }

/* Sponsoren */
.sponsoren { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.sponsor {
    background: #fff;
    border: 1px solid var(--rand);
    border-radius: var(--r);
    aspect-ratio: 3 / 2;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 16px;
    font-weight: 600;
    color: var(--grau);
    font-size: .95rem;
    box-shadow: var(--schatten-1);
    transition: box-shadow var(--tempo) var(--kurve), transform var(--tempo) var(--kurve);
}
.sponsor:hover { box-shadow: var(--schatten-2); transform: translateY(-2px); }
.sponsor small { color: var(--grau); font-weight: 500; }
.sponsor.gross { grid-column: span 2; aspect-ratio: 3 / 1; font-size: 1.1rem; color: var(--anthrazit); }
.sponsor.frei {
    background: repeating-linear-gradient(135deg, #fff 0 12px, var(--sand) 12px 24px);
    border-style: dashed;
    border-color: #cfd5dd;
    box-shadow: none;
    color: var(--grau);
}
@media (max-width: 520px) { .sponsor.gross { grid-column: span 1; aspect-ratio: 3 / 2; } }

/* Formular */
form { display: grid; gap: 18px; max-width: 620px; }
.feld { display: grid; gap: 6px; }
label { font-weight: 600; font-size: .98rem; }
label .pflicht { color: var(--rot); }
.hilfe { font-size: .88rem; color: var(--grau); }
input, textarea, select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #ccd2da;
    border-radius: var(--r-sm);
    font: inherit;
    color: inherit;
    background: #fff;
    transition: border-color var(--tempo) var(--kurve), box-shadow var(--tempo) var(--kurve);
}
textarea { min-height: 140px; resize: vertical; }
input:hover, textarea:hover, select:hover { border-color: #aab2bd; }
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--rot);
    box-shadow: 0 0 0 3px rgba(223, 0, 36, .16);
}
button { border: 0; }

/* Hinweiskasten */
.notiz {
    display: flex;
    gap: .8em;
    align-items: start;
    border: 1px solid var(--rand);
    border-left: 4px solid var(--rot);
    background: var(--sand);
    padding: 16px 20px;
    border-radius: 0 var(--r) var(--r) 0;
    font-size: .96rem;
    color: var(--grau);
    max-width: 78ch;
}
.notiz .icon { color: var(--rot); margin-top: .18em; }
.notiz p { margin: 0; max-width: none; }

.abstand-oben { margin-top: clamp(2rem, 4vw, 3rem); }

/* Zwei-Spalten-Textblock */
.text-block > * + * { margin-top: 1rem; }

/* ============================================================
   7. Fuss
   ============================================================ */

.fuss {
    background: var(--anthrazit);
    color: #aab1bc;
    padding: clamp(3rem, 5vw, 4rem) 0 1.8rem;
    font-size: .96rem;
    border-top: 5px solid var(--rot);
}
.fuss a { color: #e6e9ee; text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss h3 {
    color: #fff;
    font-size: 1.15rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .7em;
}
.fuss .spalten { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 0; }
.fuss li a { display: inline-block; padding: 12px 0; }
.fuss .marke-block img { height: 62px; width: auto; margin-bottom: 14px; }
.fuss .unten {
    border-top: 1px solid #333a45;
    margin-top: 2.4rem;
    padding-top: 1.2rem;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: .88rem;
    color: #8d95a1;
}

/* ============================================================
   8. Bewegung
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .karte:hover, .team:hover, .termin:hover, .sponsor:hover, .knopf:hover { transform: none; }
}

@media (max-width: 640px) {
    body { font-size: 1rem; }
    .kopf .wrap { min-height: 0; }
    .logo img { height: 46px; }
    .termin { gap: 14px; padding: 12px 14px; }
    .band .wrap { gap: 20px; }
}
