:root {
    --red: #a7191f;
    --red-dark: #751015;
    --blue: #075cab;
    --text: #27272a;
    --muted: #666;
    --surface: #fff;
    --background: #f3f4f6;
    --border: #d7d9dd;
    --shadow: 0 8px 24px rgba(0, 0, 0, .1);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--background);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    line-height: 1.55;
}

img,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: var(--blue);
    text-underline-offset: .18em;
}

a:hover {
    text-decoration-thickness: 2px;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
.button {
    min-height: 44px;
}

.container {
    width: min(100% - 32px, 1280px);
    margin: 24px auto;
    overflow: visible;
}

.site-header {
    color: #fff;
    background: linear-gradient(135deg, var(--red-dark), var(--red));
    box-shadow: var(--shadow);
}

.header-container {
    width: min(100% - 32px, 1280px);
    min-height: 112px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 18px;
    color: #fff;
    text-decoration: none;
}

.logo {
    width: 80px;
    border-radius: 8px;
}

.verein-name {
    font-size: clamp(1.6rem, 4vw, 3rem);
    line-height: 1.1;
    font-weight: 750;
    letter-spacing: .02em;
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 7px;
    cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
    display: block;
    width: 21px;
    height: 2px;
    background: currentColor;
}

.nav-toggle-icon {
    position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle-icon::before { top: -7px; }
.nav-toggle-icon::after { top: 7px; }

.layout {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 20px;
}

.layout:has(.sidebar_right) {
    grid-template-columns: 210px minmax(0, 1fr) minmax(220px, 280px);
}

.sidebar,
.sidebar_right,
.content {
    margin-top: 20px;
    border-radius: 10px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.sidebar {
    align-self: start;
    padding: 12px;
}

.nav-list,
.dropdown-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list a,
.submenu-toggle {
    width: 100%;
    display: block;
    padding: 11px 12px;
    color: var(--text);
    text-align: left;
    text-decoration: none;
    font-weight: 650;
    background: transparent;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

.submenu-toggle::after {
    content: "›";
    float: right;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.submenu-toggle:hover,
.submenu-toggle:focus-visible {
    color: #fff;
    background: var(--red);
    outline: none;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    min-width: 210px;
    display: none;
    position: absolute;
    z-index: 20;
    top: 0;
    left: calc(100% + 6px);
    padding: 6px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu,
.dropdown.is-open > .dropdown-menu {
    display: block;
}

.content {
    min-width: 0;
    padding: clamp(18px, 4vw, 36px);
}

main {
    min-width: 0;
}

h1 {
    margin: 0 0 24px;
    color: var(--red);
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    line-height: 1.15;
}

h2 {
    line-height: 1.25;
}

.news-container {
    width: 100%;
}

.news-item,
.breaking-news,
.admin-option {
    margin-bottom: 20px;
    padding: 18px;
    background: #fafafa;
    border: 1px solid #ececef;
    border-radius: 9px;
}

.breaking-news {
    color: #65151a;
    background: #fff0f1;
    border-color: #e6b5b8;
}

.sidebar_right {
    align-self: start;
    padding: 12px;
    overflow: hidden;
}

footer {
    margin-top: 24px;
    padding: 18px;
    color: #fff;
    text-align: center;
    background: #29292c;
    border-radius: 10px;
}

footer p {
    margin: 4px;
}

footer a {
    color: #fff;
}

form {
    max-width: 760px;
}

label {
    display: block;
    margin-top: 14px;
    font-weight: 650;
}

input,
textarea,
select {
    width: 100%;
    min-height: 44px;
    margin-top: 5px;
    padding: 10px 12px;
    color: var(--text);
    background: #fff;
    border: 1px solid #aaaeb5;
    border-radius: 6px;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 10px 16px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    background: var(--red);
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

button:hover,
.button:hover {
    background: var(--red-dark);
}

.button-secondary {
    color: var(--red-dark);
    background: #fff;
}

.logout-form {
    flex: 0 0 auto;
}

.logout-form button {
    margin: 0;
}

.form-container {
    width: min(100% - 32px, 440px);
    min-height: 100vh;
    margin: auto;
    display: grid;
    align-content: center;
}

.login-form {
    padding: 24px;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.error,
.success,
.message {
    padding: 12px;
    border-radius: 6px;
}

.error {
    color: #7d1218;
    background: #ffe4e6;
}

.success {
    color: #155d31;
    background: #dcfce7;
}

.privacy-notice {
    color: #5c4300;
    background: #fff4cc;
    border: 1px solid #e2c15b;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

th,
td {
    padding: 11px 12px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border);
}

th {
    background: #f4f4f5;
}

.admin-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 18px;
}

.admin-option {
    margin: 0;
}

.admin-link {
    color: inherit;
    text-decoration: none;
}

.admin-back-link {
    margin-bottom: 20px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.actions form,
.actions button {
    margin: 0;
}

.sponsor-logo {
    width: 160px;
    max-height: 100px;
    object-fit: contain;
}

:focus-visible {
    outline: 3px solid #f7b500;
    outline-offset: 2px;
}

@media (max-width: 980px) {
    .layout,
    .layout:has(.sidebar_right) {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .sidebar_right {
        grid-column: 2;
    }
}

@media (max-width: 760px) {
    .brand,
    .brand > span {
        min-width: 0;
    }

    .nav-toggle {
        flex: 0 0 auto;
    }

    .container {
        width: min(100% - 20px, 1280px);
        margin: 10px auto;
    }

    .header-container {
        width: min(100% - 20px, 1280px);
        min-height: 82px;
    }

    .logo {
        width: 58px;
    }

    .verein-name {
        font-size: clamp(1.15rem, 6vw, 1.7rem);
    }

    .nav-toggle {
        display: inline-flex;
    }

    .layout,
    .layout:has(.sidebar_right) {
        display: block;
    }

    .sidebar {
        display: none;
        width: 100%;
        margin-top: 10px;
    }

    .sidebar.is-open {
        display: block;
    }

    .dropdown-menu {
        min-width: 0;
        position: static;
        margin: 0 0 6px 12px;
        box-shadow: none;
    }

    .dropdown:hover > .dropdown-menu {
        display: none;
    }

    .dropdown.is-open > .dropdown-menu,
    .dropdown:focus-within > .dropdown-menu {
        display: block;
    }

    .submenu-toggle::after {
        content: "⌄";
    }

    .content,
    .sidebar_right {
        width: 100%;
        margin-top: 10px;
        padding: 18px;
    }

    .sidebar_right {
        display: none;
    }

    th,
    td {
        padding: 9px;
    }

    .logout-form {
        display: none;
    }
}

@media (max-width: 420px) {
    .brand {
        width: 0;
        flex: 1 1 0;
        gap: 9px;
    }

    .header-container {
        gap: 8px;
    }

    .brand-subtitle {
        display: none;
    }

    .nav-toggle {
        flex: 0 0 44px;
        padding-inline: 10px;
    }

    .nav-toggle span:last-child {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .content {
        padding: 15px;
    }

    .consent-banner {
        right: 10px;
        bottom: 10px;
        left: 10px;
        width: auto;
        max-height: calc(100vh - 20px);
        padding: 18px;
        overflow-y: auto;
    }

    .consent-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .consent-actions > * {
        width: 100%;
        margin-top: 0;
        text-align: center;
    }
}

/* Modernisierung 2026 */
body { overflow-wrap: anywhere; }
.site-header {
    background:
        radial-gradient(circle at 85% 15%, rgba(255,255,255,.14), transparent 24rem),
        linear-gradient(135deg, #68101a, #ad1f2d);
}
.brand > span { display: grid; gap: 3px; }
.brand-subtitle {
    color: rgba(255,255,255,.82);
    font-size: clamp(.72rem,2vw,.95rem);
    letter-spacing: .08em;
    text-transform: uppercase;
}
.skip-link {
    position: fixed; z-index: 999; top: 8px; left: 8px;
    padding: 10px 14px; color: #fff; background: #111;
    border-radius: 6px; transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.nav-list .active { color: #fff; background: var(--red); }
.nav-list .submenu-toggle { margin-top: 0; }
.content > main { max-width: 920px; margin-inline: auto; }
.button-ghost {
    color: #fff; background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.55);
}
.admin-header-actions { display: flex; align-items: center; gap: 10px; }
.admin-header-actions .button { margin: 0; }
.site-footer { padding: 26px clamp(18px,4vw,34px); text-align: left; }
.footer-grid {
    display: grid; grid-template-columns: 1fr auto;
    gap: 30px; align-items: start;
}
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-link {
    min-height: 0; margin: 0; padding: 0; color: #fff;
    font-weight: 400; text-decoration: underline; background: none;
}
.copyright {
    padding-top: 18px; color: #c8c8cc;
    border-top: 1px solid #46464b;
}
.hero {
    position: relative; min-height: 430px; margin: -18px -36px 32px;
    display: grid; align-items: end; overflow: hidden; color: #fff;
    background:
        linear-gradient(180deg,rgba(20,9,10,.08),rgba(20,9,10,.86)),
        url("../images/team1.jpg") center 25%/cover;
    border-radius: 10px 10px 18px 18px;
}
.hero-content { max-width: 710px; padding: clamp(24px,6vw,54px); }
.hero-eyebrow {
    margin: 0 0 8px; color: #ffd9dc; font-weight: 750;
    letter-spacing: .12em; text-transform: uppercase;
}
.hero h1 {
    margin-bottom: 14px; color: #fff;
    font-size: clamp(2.2rem,7vw,4.6rem);
}
.hero p { font-size: clamp(1rem,2.2vw,1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.social-actions {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
    max-width: 680px;
}
.social-button {
    width: 100%;
    margin-top: 0;
}
.hero .button { color: var(--red-dark); background: #fff; }
.hero .button-secondary {
    color: #fff; background: transparent;
    border: 1px solid rgba(255,255,255,.75);
}
.section-heading {
    display: flex; justify-content: space-between; gap: 20px;
    align-items: end; margin: 36px 0 18px;
}
.section-heading h2 {
    margin: 0; font-size: clamp(1.6rem,4vw,2.25rem);
}
.quick-link-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 14px;
}
.quick-card {
    min-height: 135px; padding: 20px; display: flex;
    flex-direction: column; justify-content: space-between;
    color: var(--text); text-decoration: none; background: #fff;
    border: 1px solid var(--border); border-radius: 12px;
    transition: transform .2s ease,box-shadow .2s ease;
}
.quick-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.quick-card strong { color: var(--red-dark); font-size: 1.08rem; }
.youth-overview { grid-template-columns: repeat(2,minmax(0,1fr)); }
.intro-text {
    max-width: 760px;
    margin: -8px 0 28px;
    color: var(--muted);
    font-size: 1.08rem;
}
.news-grid {
    display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px;
}
.news-card {
    padding: 22px; background: #fff;
    border: 1px solid var(--border); border-radius: 12px;
}
.news-card time { color: var(--muted); font-size: .9rem; }
.news-card h3 { margin: 7px 0 10px; font-size: 1.3rem; }
.external-placeholder {
    padding: 28px; text-align: center; background: #f5f5f5;
    border: 1px dashed #aaa; border-radius: 10px;
}
.consent-banner {
    position: fixed; z-index: 1000; right: 18px; bottom: 18px;
    width: min(520px,calc(100% - 36px)); padding: 22px;
    background: #fff; border: 1px solid var(--border);
    border-radius: 12px; box-shadow: 0 20px 70px rgba(0,0,0,.25);
}
.consent-banner h2 { margin-top: 0; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.breadcrumb {
    margin-bottom: 18px; display: flex; flex-wrap: wrap;
    gap: 8px; color: var(--muted); font-size: .92rem;
}
.admin-section {
    margin-block: 28px;
    padding-block: 8px 24px;
    border-bottom: 1px solid var(--border);
}
.team-admin-image,
.team-hero-image img {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    border-radius: 12px;
}
.team-hero-image {
    margin: 0 0 28px;
}
.roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 14px;
}
.player-card {
    min-height: 92px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
}
.player-card h3,
.player-card p { margin: 0; }
.player-card p { color: var(--muted); }
.shirt-number {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    background: var(--red);
    border-radius: 50%;
}

.division-page {
    min-height: 100vh;
    padding: clamp(10px, 2vh, 22px);
    background:
        radial-gradient(circle at 12% 5%, rgba(167, 25, 31, .16), transparent 25rem),
        radial-gradient(circle at 88% 95%, rgba(7, 92, 171, .10), transparent 28rem),
        var(--background);
}

.division-shell {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.division-header {
    padding: clamp(18px, 3vh, 28px) clamp(22px, 4vw, 44px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(18px, 3vw, 34px);
    color: #fff;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 255, 255, .16), transparent 24rem),
        linear-gradient(135deg, #68101a, #ad1f2d);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.division-header img {
    width: clamp(76px, 9vw, 104px);
    border-radius: 12px;
}

.division-header h1 {
    max-width: 780px;
    margin: 4px 0 8px;
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 3.35rem);
    line-height: 1.04;
}

.division-header p {
    max-width: 720px;
    margin: 0;
    font-size: clamp(.95rem, 1.4vw, 1.08rem);
}

.division-eyebrow {
    color: #ffd9dc;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.division-section {
    margin-top: clamp(10px, 1.8vh, 16px);
    padding: clamp(16px, 2.5vh, 24px) clamp(18px, 3vw, 30px);
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.division-section .section-heading {
    margin: 0 0 clamp(10px, 1.5vh, 16px);
}

.division-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.division-card {
    min-width: 0;
    overflow: hidden;
    display: grid;
    grid-template-rows: clamp(180px, 24vh, 230px) auto;
    color: var(--text);
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.division-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .15);
}

.division-card-visual {
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.division-card-football .division-card-visual {
    background:
        linear-gradient(180deg, rgba(20, 9, 10, .12), rgba(104, 16, 26, .76)),
        url("../images/team1.jpg") center 25% / cover;
}

.division-card-tennis .division-card-visual {
    background:
        radial-gradient(circle at 78% 22%, rgba(255, 255, 255, .20), transparent 14rem),
        linear-gradient(135deg, #075cab, #14884b);
}

.division-card-visual::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 116px;
    height: 116px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
    backdrop-filter: blur(4px);
}

.division-card svg {
    width: 78px;
    height: 78px;
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.division-card-tennis svg circle {
    fill: #d8ee45;
}

.division-card-content {
    min-height: 104px;
    padding: 16px 20px;
    display: grid;
    align-content: center;
    gap: 6px;
}

.division-card-content strong {
    color: var(--red-dark);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.division-card-kicker {
    color: var(--muted);
    font-size: .85rem;
    font-weight: 750;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.division-footer {
    margin-top: 10px;
    padding: 10px clamp(14px, 3vw, 22px);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: #d4d4d8;
    font-size: .9rem;
    text-align: left;
}

.division-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.team-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.team-overview-card {
    min-width: 0;
    overflow: hidden;
    color: var(--text);
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.team-overview-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.team-overview-card > img,
.team-overview-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
}

.team-overview-card > img {
    display: block;
    object-fit: cover;
}

.team-overview-placeholder,
.team-image-placeholder {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 6px;
    color: #fff;
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 850;
    letter-spacing: .08em;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .12), transparent 55%),
        linear-gradient(135deg, var(--red-dark), var(--red));
}

.team-image-placeholder small {
    font-size: .9rem;
    font-weight: 650;
    letter-spacing: normal;
}

.team-overview-content {
    min-height: 112px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.team-overview-content strong {
    color: var(--red-dark);
    font-size: 1.35rem;
}

.youth-team-list {
    width: 100%;
    min-width: 0;
    display: grid;
    gap: 28px;
}

.youth-team-card {
    width: 100%;
    min-width: 0;
    padding: clamp(18px, 4vw, 28px);
    background: #fff;
    border: 1px solid var(--border);
    border-top: 5px solid var(--red);
    border-radius: 14px;
}

.youth-team-heading h2 {
    max-width: 100%;
    margin: 0 0 18px;
    font-size: clamp(1.35rem, 4vw, 2rem);
    overflow-wrap: anywhere;
}

.youth-team-image {
    margin: 0 0 24px;
}

.youth-team-image img,
.youth-team-card > .team-image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.youth-team-card > .team-image-placeholder {
    display: grid;
    margin-bottom: 24px;
}

.coach-section h3 {
    margin-bottom: 14px;
}

.coach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}

.coach-card {
    min-width: 0;
    padding: 16px;
    display: grid;
    gap: 4px;
    background: #f7f7f8;
    border: 1px solid var(--border);
    border-radius: 9px;
}

.coach-card span {
    color: var(--muted);
}

.coach-card a {
    overflow-wrap: anywhere;
}

.bfv-section {
    margin-top: 38px;
}

.bfv-details {
    margin-top: 24px;
    border-top: 1px solid var(--border);
}

.bfv-details summary {
    padding: 18px 0 4px;
    color: var(--red-dark);
    font-weight: 750;
    cursor: pointer;
}

.bfv-details-content {
    padding-top: 16px;
}

.bfv-widget,
.bfv-widget-frame {
    width: 100%;
    min-width: 0;
}

.bfv-widget-frame {
    min-height: 180px;
    overflow-x: auto;
}

.bfv-widget-frame iframe {
    width: 100% !important;
    max-width: 100%;
    border: 0;
}

.bfv-unavailable {
    padding: 20px;
    background: #f7f7f8;
    border: 1px solid var(--border);
    border-radius: 9px;
}

.bfv-unavailable p {
    margin-top: 0;
}

.admin-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    gap: 22px;
}

.admin-image-card {
    min-width: 0;
    padding: 18px;
    background: #f8f8f9;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.admin-image-card h3 {
    margin-top: 0;
}

.admin-image-card .team-admin-image,
.admin-image-card .team-image-placeholder {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 9px;
}

.admin-image-card .team-image-placeholder {
    font-size: 1.1rem;
    text-align: center;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.board-card {
    min-width: 0;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(167, 25, 31, .08), transparent 62%),
        #fff;
    border: 1px solid var(--border);
    border-top: 4px solid var(--red);
    border-radius: 12px;
}

.board-card h2 {
    margin: 5px 0 14px;
    font-size: clamp(1.2rem, 3vw, 1.55rem);
}

.board-role {
    margin: 0;
    color: var(--red-dark);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.board-email {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.board-email-muted {
    color: var(--muted);
}

.foerderverein-banner {
    padding: clamp(18px, 4vw, 30px);
    text-align: center;
    background: #f7f7f8;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.foerderverein-banner img {
    width: min(100%, 560px);
    border-radius: 10px;
    transition: transform .2s ease;
}

.foerderverein-banner a:hover img {
    transform: scale(1.015);
}

.mitgliedsantrag {
    margin: 20px 0 38px;
    text-align: center;
}

.mitgliedsantrag .button {
    margin: 0;
}

.member-section {
    margin-top: 28px;
}

.member-count {
    flex: 0 0 auto;
    padding: 5px 10px;
    color: var(--red-dark);
    font-size: .88rem;
    font-weight: 750;
    background: rgba(167, 25, 31, .08);
    border-radius: 999px;
}

.member-note {
    max-width: 760px;
    margin: -4px 0 22px;
    color: var(--muted);
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.member-card {
    min-width: 0;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid var(--red);
    border-radius: 9px;
    font-weight: 650;
}

@media (max-width: 980px) {
    .quick-link-grid { grid-template-columns: repeat(2,1fr); }
    .team-overview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .member-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
    .admin-header-actions > a { display: none; }
    .hero { min-height: 390px; margin: 0 -18px 24px; }
    .news-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .social-actions { grid-template-columns: 1fr; }
    .youth-overview { grid-template-columns: 1fr; }
    .board-grid { grid-template-columns: 1fr; }
    .section-heading { align-items: flex-start; }
    .team-overview-grid { grid-template-columns: 1fr; }
    .youth-team-card { padding: 16px; }
    .bfv-widget-frame { margin-inline: -6px; width: calc(100% + 12px); }
    .division-page { padding: 8px; }
    .division-header {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    .division-header img { width: 72px; }
    .division-grid { grid-template-columns: 1fr; }
    .division-card { grid-template-rows: 205px auto; }
    .division-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
@media (max-width: 420px) {
    .hero { margin: 0 -15px 20px; }
    .quick-link-grid { grid-template-columns: 1fr; }
    .youth-overview { grid-template-columns: 1fr; }
    .member-grid { grid-template-columns: 1fr; }
    .consent-banner {
        right: 10px;
        bottom: 10px;
        left: 10px;
        width: auto;
        max-height: calc(100vh - 20px);
        padding: 18px;
        overflow-y: auto;
    }
    .consent-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .consent-actions > * {
        width: 100%;
        margin-top: 0;
        text-align: center;
    }
}
