:root {
    --fw-red: #d71920;
    --fw-red-dark: #9f1117;
    --fw-yellow: #ffcc00;
    --fw-dark: #111827;
    --fw-darker: #070b12;
    --fw-muted: #f4f5f7;
    --fw-border: rgba(17, 24, 39, .12);
    --fw-radius: 1.25rem;
    --fw-shadow: 0 24px 70px rgba(17, 24, 39, .14);
    --fw-shell: min(1180px, calc(100vw - 2rem));
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--fw-dark);
    background: #fff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
}

a {
    color: var(--fw-red);
}

.shell {
    width: var(--fw-shell);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 2000;
    padding: .75rem 1rem;
    background: #fff;
    color: #000;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.site-header {
    background: var(--fw-darker);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .25);
}

.topbar {
    padding: .45rem 0;
    color: rgba(255, 255, 255, .78);
    background: #06080d;
    font-size: .875rem;
}

.topbar-links {
    display: flex;
    gap: 1rem;
}

.topbar-links a {
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
}

.topbar-links a:hover {
    color: #fff;
}

.mainnav {
    min-height: 76px;
    background: linear-gradient(90deg, #101827 0%, #0b101b 55%, #1b0b0d 100%);
}

.brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 245px;
    text-decoration: none;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
}

.brand-logo {
    display: block;
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35));
}

.brand strong {
    display: block;
    color: #fff;
    font-weight: 900;
    letter-spacing: .01em;
}

.brand small {
    display: block;
    color: rgba(255, 255, 255, .65);
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, .78);
    font-weight: 750;
    border-radius: 999px;
    padding-inline: .85rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, .1);
}

.btn-emergency {
    color: #111;
    background: var(--fw-yellow);
    border: 0;
    font-weight: 900;
    box-shadow: 0 10px 28px rgba(255, 204, 0, .25);
}

.btn-emergency:hover {
    color: #111;
    background: #ffd633;
}

.btn-primary {
    --bs-btn-bg: var(--fw-red);
    --bs-btn-border-color: var(--fw-red);
    --bs-btn-hover-bg: var(--fw-red-dark);
    --bs-btn-hover-border-color: var(--fw-red-dark);
    font-weight: 800;
}

.hero {
    position: relative;
    min-height: 470px;
    display: flex;
    align-items: center;
    isolation: isolate;
    color: #fff;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center 46%;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 26%;
    background: linear-gradient(0deg, #fff, transparent);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(7, 11, 18, .92) 0%, rgba(7, 11, 18, .72) 42%, rgba(120, 12, 18, .42) 100%),
        radial-gradient(circle at 80% 25%, rgba(255, 204, 0, .22), transparent 34%);
}

.hero-content {
    padding-block: 3.25rem 3.75rem;
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--fw-red);
    font-weight: 900;
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hero-kicker {
    color: var(--fw-yellow);
    margin-bottom: .55rem;
}

.hero h1 {
    max-width: 680px;
    font-size: clamp(1.9rem, 3.2vw, 2.85rem);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -.035em;
    margin-bottom: .7rem;
}

.hero p {
    max-width: 590px;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(.9rem, 1vw, 1rem);
    line-height: 1.55;
    margin-bottom: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1.1rem;
}

.alarm-card {
    width: min(100%, 340px);
    margin-left: auto;
    padding: 1.35rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 1rem;
    background: rgba(7, 11, 18, .7);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 45px rgba(7, 11, 18, .28);
}

.alarm-card span,
.alarm-card small {
    display: block;
    color: rgba(255, 255, 255, .75);
    font-weight: 800;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.alarm-card strong {
    display: block;
    color: var(--fw-yellow);
    font-size: clamp(3rem, 4.2vw, 4.25rem);
    line-height: .92;
    font-weight: 950;
    margin-block: .2rem .35rem;
}

.stats-strip {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: -4.5rem;
}

.stat-card {
    padding: 1.5rem;
    color: #fff;
    border-radius: var(--fw-radius);
    background: linear-gradient(145deg, var(--fw-dark), #242d3c);
    box-shadow: var(--fw-shadow);
}

.stat-card strong {
    display: block;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
    font-weight: 950;
}

.stat-card span {
    display: block;
    margin-top: .35rem;
    color: rgba(255, 255, 255, .7);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .78rem;
}

.section-space {
    padding-block: clamp(2.5rem, 4.5vw, 4.5rem);
}

.section-muted {
    background: var(--fw-muted);
}

.section-heading {
    width: var(--fw-shell);
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(1.5rem, 2.5vw, 2.25rem);
}

.section-heading h1,
.section-title {
    font-weight: 950;
    letter-spacing: -.03em;
}

.section-heading h1 {
    max-width: 780px;
    margin: .35rem 0 .65rem;
    font-size: clamp(1.65rem, 3vw, 2.65rem);
    line-height: 1.04;
}

.section-heading p {
    max-width: 720px;
    margin-bottom: 0;
    color: #5f6878;
    font-size: clamp(.9rem, 1vw, 1rem);
    line-height: 1.55;
}

.section-title {
    font-size: clamp(1.25rem, 1.9vw, 1.7rem);
    line-height: 1.1;
}

.feature-card,
.info-card,
.content-panel,
.toolbar-card,
.news-card,
.vehicle-card,
.gallery-card {
    border: 1px solid var(--fw-border);
    border-radius: var(--fw-radius);
    background: #fff;
    box-shadow: 0 12px 35px rgba(17, 24, 39, .08);
}

.feature-card {
    position: relative;
    display: block;
    height: 100%;
    padding: 1.75rem;
    color: var(--fw-dark);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fw-shadow);
}

.feature-icon {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 1.25rem;
    color: #fff;
    border-radius: 18px;
    background: linear-gradient(145deg, var(--fw-red), var(--fw-red-dark));
    font-size: 1.35rem;
}

.feature-card strong,
.info-card h2 {
    display: block;
    margin-bottom: .45rem;
    font-size: 1.25rem;
    font-weight: 900;
}

.feature-card p,
.info-card p,
.news-card p,
.vehicle-card p {
    color: #667085;
}

.content-panel,
.toolbar-card,
.info-card {
    padding: clamp(1.35rem, 3vw, 2rem);
}

.dark-panel {
    color: #fff;
    background: linear-gradient(145deg, var(--fw-dark), #070b12);
}

.dark-panel p,
.dark-panel .event-item span,
.dark-panel .event-item time {
    color: rgba(255, 255, 255, .72);
}

.accent-panel {
    color: #fff;
    background: linear-gradient(145deg, var(--fw-red), #7f0e13);
}

.accent-panel .richtext-content {
    color: rgba(255, 255, 255, .92);
}

.accent-panel .eyebrow,
.dark-panel .eyebrow {
    color: var(--fw-yellow);
}

.news-card,
.vehicle-card {
    position: relative;
    overflow: hidden;
}

.news-card img,
.vehicle-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: #d9dee7;
}

.news-card-body,
.vehicle-card-body {
    padding: 1.35rem;
}

.news-card h2,
.news-card h3,
.vehicle-card h2 {
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.25;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .75rem;
    color: #7b8494;
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.incident-list {
    display: grid;
    gap: .75rem;
}

.incident-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--fw-border);
    border-radius: 1rem;
    background: #fff;
}

.incident-list.compact .incident-item {
    grid-template-columns: 130px 1fr;
}

.incident-date strong,
.incident-date span {
    display: block;
}

.incident-date strong {
    font-weight: 900;
}

.incident-date span {
    color: #667085;
    font-size: .9rem;
}

.incident-item h2,
.incident-item h3 {
    margin: .4rem 0 .15rem;
    font-size: 1.05rem;
    font-weight: 900;
}

.incident-item p {
    margin: 0;
    color: #667085;
}

.event-list {
    display: grid;
    gap: .75rem;
}

.event-item {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, .08);
}

.event-item time,
.event-item strong,
.event-item span {
    display: block;
}

.event-item strong {
    color: #fff;
    font-weight: 900;
}

.image-cta {
    min-height: 340px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    color: #fff;
    border-radius: calc(var(--fw-radius) * 1.25);
    background:
        linear-gradient(90deg, rgba(7, 11, 18, .92), rgba(7, 11, 18, .3)),
        var(--cta-image) center / cover;
    box-shadow: var(--fw-shadow);
    overflow: hidden;
}

.image-cta h2 {
    max-width: 720px;
    font-weight: 950;
    letter-spacing: -.035em;
}

.image-cta p {
    max-width: 620px;
    color: rgba(255, 255, 255, .78);
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.filter-pills button {
    border: 1px solid var(--fw-border);
    border-radius: 999px;
    padding: .55rem .85rem;
    background: #fff;
    color: var(--fw-dark);
    font-weight: 850;
}

.filter-pills button.active,
.filter-pills button:hover {
    color: #fff;
    border-color: var(--fw-red);
    background: var(--fw-red);
}

.fleet-hero {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--fw-radius) * 1.2);
    color: #fff;
    min-height: 360px;
    background: var(--fw-dark);
    box-shadow: var(--fw-shadow);
}

.fleet-hero img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    opacity: .72;
}

.fleet-hero > div {
    position: absolute;
    left: clamp(1.5rem, 4vw, 3rem);
    right: clamp(1.5rem, 4vw, 3rem);
    bottom: clamp(1.5rem, 4vw, 3rem);
    max-width: 760px;
}

.fleet-hero h2 {
    font-weight: 950;
    letter-spacing: -.035em;
}

.vehicle-type {
    display: inline-block;
    margin-bottom: .65rem;
    color: var(--fw-red);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.vehicle-card dl {
    display: grid;
    gap: .5rem;
    margin-bottom: 1rem;
}

.vehicle-card dl div,
.vehicle-facts div,
.structure-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .65rem 0;
    border-bottom: 1px solid var(--fw-border);
}

.vehicle-card dt,
.vehicle-facts span,
.structure-list span {
    color: #667085;
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.vehicle-card dd,
.vehicle-facts strong,
.structure-list strong {
    margin: 0;
    text-align: right;
    font-weight: 900;
}

.dark-panel .structure-list div {
    border-bottom-color: rgba(255, 255, 255, .15);
}

.dark-panel .structure-list span {
    color: rgba(255, 255, 255, .68);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.tag-list span {
    padding: .45rem .75rem;
    border-radius: 999px;
    background: var(--fw-muted);
    font-weight: 750;
}

.modal-image,
.large-photo {
    width: 100%;
    border-radius: 1rem;
    object-fit: cover;
}

.modal-image {
    max-height: 470px;
}

.large-photo {
    height: 100%;
    min-height: 420px;
    box-shadow: var(--fw-shadow);
}

.check-list {
    display: grid;
    gap: .85rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.check-list.two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    font-weight: 750;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -.1rem;
    display: inline-grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    color: #fff;
    border-radius: 50%;
    background: var(--fw-red);
    font-size: .8rem;
    font-weight: 900;
}

.gallery-card {
    overflow: hidden;
    margin: 0;
}

.gallery-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.gallery-card figcaption {
    padding: 1rem;
    font-weight: 850;
}

.timeline {
    position: relative;
    display: grid;
    gap: 1rem;
    max-width: 860px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 54px;
    top: .75rem;
    bottom: .75rem;
    width: 2px;
    background: var(--fw-border);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1.25rem;
}

.timeline-item time {
    position: relative;
    z-index: 2;
    display: inline-grid;
    place-items: center;
    width: 110px;
    height: 54px;
    color: #fff;
    border-radius: 999px;
    background: var(--fw-red);
    font-weight: 950;
}

.timeline-item div {
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--fw-border);
    border-radius: 1rem;
    background: #fff;
}

.timeline-item h2 {
    font-size: 1.2rem;
    font-weight: 900;
}

.timeline-item p {
    margin: 0;
    color: #667085;
}

.contact-list {
    display: grid;
    gap: 1rem;
}

.contact-list div {
    display: flex;
    align-items: center;
    gap: .9rem;
    font-weight: 800;
}

.contact-list i {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    border-radius: 50%;
    background: var(--fw-red);
}

.legal-text h2 {
    margin-top: 1.75rem;
    font-size: 1.25rem;
    font-weight: 900;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text p,
.legal-text address,
.legal-text li {
    color: #475467;
    line-height: 1.72;
}

.legal-text address {
    margin-bottom: 1rem;
    font-style: normal;
}

.legal-text ul {
    padding-left: 1.25rem;
}

.legal-text li + li {
    margin-top: .3rem;
}

.legal-text a {
    overflow-wrap: anywhere;
}

.legal-generator-note {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--fw-border);
    font-size: .86rem;
}

.site-footer {
    color: rgba(255, 255, 255, .8);
    background: #070b12;
    padding: 4rem 0 2rem;
}

.site-footer h2 {
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: .85rem;
}

.footer-brand strong,
.footer-brand small {
    display: block;
}

.footer-brand strong {
    color: #fff;
    font-weight: 900;
}

.footer-text,
.site-footer address {
    color: rgba(255, 255, 255, .66);
}

.site-footer a {
    color: rgba(255, 255, 255, .86);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.footer-links a {
    padding: .55rem .85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    text-decoration: none;
    font-weight: 800;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .55);
    font-size: .9rem;
}

.fw-black {
    font-weight: 950;
}

@media (max-width: 1199.98px) {
    .navbar-collapse {
        padding-block: 1rem;
    }

    .navbar-nav {
        gap: .25rem;
    }
}

@media (max-width: 991.98px) {
    .hero {
        min-height: 500px;
        align-items: end;
    }

    .hero-content {
        padding-block: 3rem 3.5rem;
    }

    .hero h1 {
        font-size: clamp(1.85rem, 5vw, 2.6rem);
    }

    .alarm-card {
        width: 100%;
        margin-left: 0;
    }

    .hero p {
        font-size: .95rem;
    }

    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-cta {
        align-items: start;
        flex-direction: column;
    }

    .check-list.two-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    :root {
        --fw-shell: min(100vw - 1rem, 1180px);
    }

    .hero {
        min-height: 470px;
    }

    .hero-content {
        padding-block: 2.75rem 3.25rem;
    }

    .hero-kicker {
        font-size: .62rem;
        letter-spacing: .075em;
    }

    .hero h1 {
        font-size: clamp(1.65rem, 7.4vw, 2.05rem);
        letter-spacing: -.03em;
    }

    .hero p {
        font-size: .9rem;
    }

    .stats-strip {
        grid-template-columns: 1fr;
        margin-top: -3rem;
    }

    .incident-item,
    .incident-list.compact .incident-item {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* Startseite: kompakter Hauptbereich mit rechter Einsatz-/Terminspalte */
.start-layout-section {
    padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

.feature-card-compact {
    padding: 1.25rem;
}

.feature-card-compact .feature-icon {
    width: 46px;
    height: 46px;
    margin-bottom: .9rem;
    border-radius: 15px;
    font-size: 1.15rem;
}

.feature-card-compact strong {
    margin-bottom: .3rem;
    font-size: 1.08rem;
}

.feature-card-compact p {
    margin-bottom: 0;
    font-size: .94rem;
    line-height: 1.45;
}

.news-start-panel {
    padding: clamp(1.25rem, 2.4vw, 1.65rem);
}

.news-card-compact img {
    height: 150px;
}

.news-card-compact .news-card-body {
    padding: 1rem;
}

.news-card-compact h3 {
    font-size: 1rem;
}

.news-card-compact p {
    font-size: .92rem;
    line-height: 1.45;
}

.news-card-compact .meta-row {
    font-size: .72rem;
    letter-spacing: .055em;
}

.start-vehicle-cta {
    min-height: 260px;
    align-items: flex-end;
    border-radius: var(--fw-radius);
}

.start-vehicle-cta h2 {
    max-width: 560px;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.08;
}

.start-vehicle-cta p {
    max-width: 520px;
    margin-bottom: 0;
    font-size: .95rem;
    line-height: 1.45;
}

.start-sidebar {
    position: sticky;
    top: 1.25rem;
    display: grid;
    gap: 1rem;
}

.sidebar-panel {
    padding: clamp(1rem, 2.2vw, 1.35rem);
}

.sidebar-panel .eyebrow {
    font-size: .68rem;
    letter-spacing: .09em;
}

.sidebar-panel .section-title {
    font-size: clamp(1.45rem, 2.4vw, 1.8rem);
    line-height: 1.02;
}

.sidebar-incident-list {
    gap: .65rem;
}

/* Kompakte Einsatzkarten mit neutralem, weißem Datumskästchen. */
.start-sidebar .incident-item,
.start-sidebar .incident-list.compact .incident-item {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: .8rem;
    align-items: center;
    min-width: 0;
    padding: .72rem;
    border: 1px solid #dfe3e9;
    border-radius: .9rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fb 100%);
    box-shadow: 0 6px 18px rgba(15, 23, 42, .04);
}

.start-sidebar .incident-item::before {
    position: absolute;
    top: .72rem;
    bottom: .72rem;
    left: 0;
    width: 3px;
    content: '';
    border-radius: 0 3px 3px 0;
    background: #c8ced8;
}

.start-sidebar .incident-date-card {
    display: grid;
    place-items: center;
    align-content: center;
    width: 58px;
    min-height: 62px;
    padding: .4rem .25rem;
    overflow: hidden;
    color: var(--fw-dark);
    border: 1px solid #d9dee7;
    border-radius: .72rem;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .06);
}

.start-sidebar .incident-date-day,
.start-sidebar .incident-date-month {
    display: block;
    color: inherit;
    text-align: center;
}

.start-sidebar .incident-date-day {
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
}

.start-sidebar .incident-date-month {
    margin-top: .2rem;
    font-size: .63rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .1em;
}

.start-sidebar .incident-item-content {
    min-width: 0;
}

.start-sidebar .incident-item-meta {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    min-width: 0;
    margin-bottom: .28rem;
}

.start-sidebar .incident-date-meta {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: #7a8493;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.start-sidebar .incident-item .badge {
    flex: 0 0 auto;
    padding: .2rem .42rem;
    font-size: .62rem;
    line-height: 1.15;
    letter-spacing: .03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.start-sidebar .incident-item h3 {
    margin: 0 0 .12rem;
    font-size: .91rem;
    font-weight: 900;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.start-sidebar .incident-item p {
    margin: 0;
    color: #667085;
    font-size: .8rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.sidebar-event-list {
    gap: .65rem;
}

/* Kompakte, helle Terminkarten auf der Startseite. */
.start-sidebar .event-panel .event-item {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: .8rem;
    align-items: center;
    min-width: 0;
    padding: .72rem;
    color: var(--fw-dark);
    border: 1px solid #dfe3e9;
    border-radius: .9rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fb 100%);
    box-shadow: 0 6px 18px rgba(15, 23, 42, .04);
}

.start-sidebar .event-panel .event-item::before {
    position: absolute;
    top: .72rem;
    bottom: .72rem;
    left: 0;
    width: 3px;
    content: '';
    border-radius: 0 3px 3px 0;
    background: #c8ced8;
}

.start-sidebar .event-panel .event-item.is-next {
    border-color: rgba(218, 24, 34, .28);
    background: linear-gradient(135deg, #fff 0%, #fff7f7 100%);
}

.start-sidebar .event-panel .event-item.is-next::before {
    background: var(--fw-red);
}

.start-sidebar .event-date-card {
    display: grid;
    place-items: center;
    align-content: center;
    width: 58px;
    min-height: 62px;
    padding: .4rem .25rem;
    overflow: hidden;
    color: var(--fw-dark);
    border: 1px solid #d9dee7;
    border-radius: .72rem;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .06);
}

.start-sidebar .event-item.is-next .event-date-card {
    color: #fff;
    border-color: var(--fw-red);
    background: var(--fw-red);
}

.start-sidebar .event-date-day,
.start-sidebar .event-date-month {
    display: block;
    color: inherit;
    text-align: center;
}

.start-sidebar .event-date-day {
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
}

.start-sidebar .event-date-month {
    margin-top: .2rem;
    font-size: .63rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .1em;
}

.start-sidebar .event-item-content {
    min-width: 0;
}

.start-sidebar .event-item-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .35rem .5rem;
    margin-bottom: .28rem;
}

.start-sidebar .event-weekday {
    color: #7a8493;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.2;
}

.start-sidebar .event-type {
    padding: .18rem .42rem;
    color: #515b6b;
    border: 1px solid #d9dee7;
    border-radius: 999px;
    background: #fff;
    font-size: .62rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.start-sidebar .event-item strong {
    display: block;
    color: var(--fw-dark);
    font-size: .91rem;
    font-weight: 900;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.start-sidebar .event-next-label {
    display: inline-flex;
    align-items: center;
    margin-top: .28rem;
    color: var(--fw-red);
    font-size: .67rem;
    font-weight: 800;
    line-height: 1.2;
}

.start-sidebar .event-next-label i {
    margin-left: -.18rem;
    font-size: .9rem;
    line-height: 1;
}

.start-sidebar .event-empty-state {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .85rem;
    color: #667085;
    border: 1px dashed #cfd5de;
    border-radius: .9rem;
    background: #f8f9fb;
}

.start-sidebar .event-empty-state i {
    flex: 0 0 auto;
    color: var(--fw-red);
    font-size: 1.25rem;
}

.start-sidebar .event-empty-state p {
    font-size: .85rem;
    line-height: 1.35;
}

@media (max-width: 991.98px) {
    .start-sidebar {
        position: static;
    }

    .start-sidebar .incident-item,
    .start-sidebar .incident-list.compact .incident-item {
        grid-template-columns: 58px minmax(0, 1fr);
    }
}

@media (max-width: 575.98px) {
    .start-layout-section {
        padding-top: 2rem;
    }

    .start-sidebar .incident-item,
    .start-sidebar .incident-list.compact .incident-item {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: .7rem;
    }

    .start-sidebar .incident-date-card {
        width: 54px;
        min-height: 58px;
    }

    .start-vehicle-cta {
        min-height: 300px;
    }
}

/* Beitragsbilder / Carousel */
.news-image-carousel {
    overflow: hidden;
    border-radius: 1rem;
    background: #0b101b;
}

.news-image-frame {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: clamp(300px, 58vh, 560px);
    overflow: hidden;
    border-radius: 1rem;
    background: #0b101b;
}

.news-image-frame::before {
    content: "";
    position: absolute;
    inset: -1.5rem;
    z-index: -2;
    background-image: var(--news-image);
    background-position: center;
    background-size: cover;
    filter: blur(28px);
    transform: scale(1.08);
    opacity: .72;
}

.news-image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(5, 8, 14, .34), rgba(5, 8, 14, .08) 28%, rgba(5, 8, 14, .08) 72%, rgba(5, 8, 14, .34));
}

.news-image-frame .modal-image {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    border-radius: 0;
    object-fit: contain;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .3);
}

.news-image-carousel .carousel-item {
    background: #0b101b;
}

.news-image-carousel .news-image-frame {
    border-radius: 0;
}

.news-image-carousel .carousel-control-prev,
.news-image-carousel .carousel-control-next {
    width: 12%;
}

.news-image-carousel .carousel-indicators {
    margin-bottom: .65rem;
}

@media (max-width: 575.98px) {
    .news-image-frame {
        height: clamp(250px, 58vh, 430px);
    }
}

.richtext-content {
    color: #334155;
    font-size: 1rem;
    line-height: 1.7;
}

.richtext-content > :first-child {
    margin-top: 0;
}

.richtext-content > :last-child {
    margin-bottom: 0;
}

.richtext-content h2,
.richtext-content h3,
.richtext-content h4 {
    color: var(--fw-dark);
    font-weight: 900;
    letter-spacing: -.02em;
    margin: 1.25rem 0 .55rem;
}

.richtext-content blockquote {
    margin: 1rem 0;
    padding: .9rem 1rem;
    border-left: .25rem solid var(--fw-red);
    border-radius: .75rem;
    background: #f8fafc;
}

.richtext-content ul,
.richtext-content ol {
    padding-left: 1.25rem;
}

/* Meldungs-Detailseite */
.news-detail-shell {
    padding-block: clamp(1.5rem, 3vw, 2.75rem) clamp(3rem, 5vw, 5rem);
}

.news-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-width: 0;
    margin-bottom: 1rem;
    color: #7b8494;
    font-size: .84rem;
}

.news-detail-breadcrumb a {
    flex: 0 0 auto;
    color: var(--fw-red);
    font-weight: 800;
    text-decoration: none;
}

.news-detail-breadcrumb a:hover {
    color: var(--fw-red-dark);
}

.news-detail-breadcrumb span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-detail-article,
.news-detail-sidebar {
    border: 1px solid var(--fw-border);
    border-radius: var(--fw-radius);
    background: #fff;
    box-shadow: 0 12px 35px rgba(17, 24, 39, .08);
}

.news-detail-article {
    overflow: hidden;
}

.news-detail-header {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem 1rem;
    margin-bottom: .6rem;
    color: var(--fw-red);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.news-detail-header h1 {
    max-width: 820px;
    margin: 0;
    color: var(--fw-dark);
    font-size: clamp(1.65rem, 3vw, 2.65rem);
    font-weight: 950;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.news-detail-lead {
    max-width: 760px;
    margin: .85rem 0 0;
    color: #5f6878;
    font-size: clamp(.95rem, 1.2vw, 1.08rem);
    line-height: 1.55;
}

.news-detail-media {
    padding-inline: clamp(.85rem, 2vw, 1.35rem);
}

.news-detail-media .news-image-frame {
    height: clamp(300px, 52vw, 590px);
}

.news-detail-content {
    padding: clamp(1.25rem, 3vw, 2rem);
    font-size: .98rem;
}

.news-detail-footer {
    padding: 0 clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem);
}

.news-detail-sidebar {
    position: sticky;
    top: 9rem;
    padding: 1.1rem;
}

.news-detail-sidebar-heading {
    padding: .2rem .2rem .9rem;
    border-bottom: 1px solid var(--fw-border);
}

.news-detail-sidebar-heading h2 {
    margin: .2rem 0 0;
    color: var(--fw-dark);
    font-size: 1.35rem;
    font-weight: 950;
    letter-spacing: -.025em;
}

.news-detail-list {
    display: grid;
}

.news-detail-list-item {
    display: block;
    padding: .9rem .2rem;
    color: var(--fw-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--fw-border);
    transition: color .18s ease, padding-left .18s ease;
}

.news-detail-list-item:hover {
    padding-left: .35rem;
    color: var(--fw-red);
}

.news-detail-list-date {
    display: block;
    margin-bottom: .22rem;
    color: #7b8494;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.news-detail-list-item strong {
    display: block;
    font-size: .96rem;
    line-height: 1.25;
}

.news-detail-list-item small {
    display: -webkit-box;
    margin-top: .28rem;
    overflow: hidden;
    color: #667085;
    font-size: .82rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (max-width: 1199.98px) {
    .news-detail-sidebar {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .news-detail-shell {
        padding-top: 1rem;
    }

    .news-detail-breadcrumb span:last-child {
        display: none;
    }

    .news-detail-header,
    .news-detail-content {
        padding: 1rem;
    }

    .news-detail-media {
        padding-inline: .65rem;
    }

    .news-detail-media .news-image-frame {
        height: clamp(240px, 75vw, 390px);
    }

    .news-detail-footer {
        padding: 0 1rem 1rem;
    }
}

/* Startseite: konsistente, gut lesbare Karten in der rechten Spalte. */
.start-sidebar .sidebar-incident-list,
.start-sidebar .sidebar-event-list {
    display: grid;
    gap: .7rem;
}

.start-sidebar .incident-item,
.start-sidebar .incident-list.compact .incident-item,
.start-sidebar .event-panel .event-item {
    position: relative;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: .85rem;
    align-items: center;
    min-width: 0;
    padding: .8rem;
    border: 1px solid #dde2ea;
    border-radius: 1rem;
    background: #f8fafc;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .045);
}

.start-sidebar .incident-item::before,
.start-sidebar .event-panel .event-item::before {
    content: none;
}

.start-sidebar .incident-date-card,
.start-sidebar .event-date-card {
    display: grid;
    place-items: center;
    align-content: center;
    width: 62px;
    min-height: 66px;
    padding: .45rem .25rem;
    color: var(--fw-dark);
    border: 1px solid #d7dde7;
    border-radius: .85rem;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .055);
}

.start-sidebar .event-item.is-next .event-date-card {
    color: #fff;
    border-color: var(--fw-red);
    background: var(--fw-red);
}

.start-sidebar .incident-date-day,
.start-sidebar .event-date-day {
    font-size: 1.45rem;
    font-weight: 950;
    line-height: 1;
}

.start-sidebar .incident-date-month,
.start-sidebar .event-date-month {
    margin-top: .22rem;
    font-size: .62rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .055em;
    white-space: nowrap;
}

.start-sidebar .incident-item-content,
.start-sidebar .event-item-content {
    min-width: 0;
}

.start-sidebar .incident-item-meta,
.start-sidebar .event-item-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .5rem;
    align-items: center;
    min-width: 0;
    margin-bottom: .28rem;
}

.start-sidebar .incident-date-meta,
.start-sidebar .event-weekday {
    min-width: 0;
    overflow: hidden;
    color: #778295;
    font-size: .72rem;
    font-weight: 750;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.start-sidebar .incident-item .badge,
.start-sidebar .event-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    max-width: 100%;
    padding: .22rem .48rem;
    font-size: .61rem;
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: .035em;
    text-transform: uppercase;
    white-space: nowrap;
}

.start-sidebar .event-type {
    color: #4f5968;
    border: 1px solid #d5dbe5;
    border-radius: 999px;
    background: #fff;
}

.start-sidebar .incident-item h3,
.start-sidebar .event-item strong {
    display: block;
    margin: 0;
    color: var(--fw-dark);
    font-size: .94rem;
    font-weight: 900;
    line-height: 1.23;
    overflow-wrap: anywhere;
}

.start-sidebar .incident-item p {
    margin: .14rem 0 0;
    color: #667085;
    font-size: .8rem;
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.start-sidebar .event-next-label {
    display: inline-flex;
    align-items: center;
    margin-top: .3rem;
    color: var(--fw-red);
    font-size: .68rem;
    font-weight: 850;
    line-height: 1.2;
}

.start-sidebar .event-panel .event-item.is-next {
    border-color: rgba(215, 25, 32, .28);
    background: #fff8f8;
}

@media (max-width: 575.98px) {
    .start-sidebar .incident-item,
    .start-sidebar .incident-list.compact .incident-item,
    .start-sidebar .event-panel .event-item {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: .75rem;
        padding: .72rem;
    }

    .start-sidebar .incident-date-card,
    .start-sidebar .event-date-card {
        width: 58px;
        min-height: 62px;
    }

    .start-sidebar .incident-date-meta,
    .start-sidebar .event-weekday {
        font-size: .68rem;
    }

    .start-sidebar .incident-item .badge,
    .start-sidebar .event-type {
        font-size: .57rem;
    }
}

/* Einsatzübersicht: Datum wie in den Karten der Startseite. */
.incident-overview-list {
    gap: .9rem;
}

.incident-overview-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    min-width: 0;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
}

.incident-overview-date {
    display: grid;
    place-items: center;
    align-content: center;
    width: 76px;
    min-height: 78px;
    padding: .55rem .35rem;
    color: var(--fw-dark);
    border: 1px solid #d7dde7;
    border-radius: .9rem;
    background: #fff;
    box-shadow: 0 5px 15px rgba(15, 23, 42, .06);
}

.incident-overview-date-day,
.incident-overview-date-month {
    display: block;
    color: inherit;
    text-align: center;
}

.incident-overview-date-day {
    font-size: 1.75rem;
    font-weight: 950;
    line-height: 1;
}

.incident-overview-date-month {
    margin-top: .28rem;
    font-size: .7rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .07em;
    white-space: nowrap;
}

.incident-overview-main {
    min-width: 0;
}

.incident-overview-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: center;
    min-width: 0;
    margin-bottom: .3rem;
}

.incident-overview-datetime {
    min-width: 0;
    overflow: hidden;
    color: #778295;
    font-size: .84rem;
    font-weight: 750;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.incident-overview-item .badge {
    white-space: nowrap;
}

.incident-overview-item h2 {
    margin: 0 0 .18rem;
    font-size: 1.08rem;
    line-height: 1.25;
}

.incident-overview-item p {
    display: flex;
    gap: .35rem;
    align-items: flex-start;
    line-height: 1.35;
}

.incident-overview-item p i {
    flex: 0 0 auto;
    margin-top: .08rem;
}

@media (max-width: 575.98px) {
    .incident-overview-item,
    .incident-list .incident-overview-item {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: .75rem;
        padding: .8rem;
    }

    .incident-overview-date {
        width: 62px;
        min-height: 66px;
        border-radius: .78rem;
    }

    .incident-overview-date-day {
        font-size: 1.45rem;
    }

    .incident-overview-date-month {
        font-size: .61rem;
    }

    .incident-overview-meta {
        gap: .45rem;
    }

    .incident-overview-datetime {
        font-size: .72rem;
    }

    .incident-overview-item .badge {
        padding: .22rem .46rem;
        font-size: .62rem;
    }

    .incident-overview-item h2 {
        font-size: .96rem;
    }

    .incident-overview-item p {
        font-size: .82rem;
    }
}

/* Über uns: Unterrubriken */
.about-subnav {
    display: flex;
    gap: .55rem;
    padding: .55rem;
    overflow-x: auto;
    border: 1px solid var(--fw-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(17, 24, 39, .06);
    scrollbar-width: thin;
}

.about-subnav-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    flex: 0 0 auto;
    padding: .68rem .9rem;
    color: var(--fw-dark);
    border-radius: 11px;
    font-size: .88rem;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease;
}

.about-subnav-link:hover,
.about-subnav-link:focus-visible {
    color: #fff;
    background: var(--fw-red);
}

.about-section {
    padding-bottom: 1.5rem;
    scroll-margin-top: 155px;
}

.about-section .content-panel {
    box-shadow: 0 10px 30px rgba(17, 24, 39, .065);
}

.about-copy {
    max-width: 780px;
    color: #667085;
}

.about-fact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
}

.about-fact {
    min-height: 94px;
    padding: 1rem;
    border: 1px solid var(--fw-border);
    border-radius: 14px;
    background: #f8fafc;
}

.about-fact strong {
    display: block;
    margin-bottom: .2rem;
    color: var(--fw-dark);
    font-size: 1.3rem;
    font-weight: 950;
    letter-spacing: -.025em;
}

.about-fact span {
    display: block;
    color: #667085;
    font-size: .82rem;
    line-height: 1.3;
}

.about-distance {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.about-distance span {
    padding: .42rem .65rem;
    border: 1px solid var(--fw-border);
    border-radius: 999px;
    color: #667085;
    background: #fff;
    font-size: .78rem;
}

.about-distance strong {
    color: var(--fw-dark);
}

.about-table-wrap {
    border: 1px solid var(--fw-border);
    border-radius: 14px;
    overflow: hidden;
}

.about-table > :not(caption) > * > * {
    padding: .8rem 1rem;
    border-bottom-color: var(--fw-border);
}

.about-table thead th {
    color: #667085;
    background: #f8fafc;
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .055em;
    white-space: nowrap;
}

.about-table tbody th,
.about-table tbody td {
    color: var(--fw-dark);
    font-size: .9rem;
}

.about-table tbody tr:last-child > * {
    border-bottom: 0;
}

.about-number-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f8fafc;
}

.about-big-number {
    display: block;
    margin: .2rem 0 -.1rem;
    color: var(--fw-red);
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.07em;
}

.about-big-number-label {
    max-width: 210px;
    color: #667085;
    font-size: .9rem;
    line-height: 1.35;
}

.about-support-card {
    height: 100%;
    padding: 1.15rem;
    border: 1px solid var(--fw-border);
    border-radius: 14px;
    background: #f8fafc;
}

.about-support-card h3 {
    margin: .2rem 0 .85rem;
    font-size: 1.15rem;
    font-weight: 900;
}

.about-letter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
}

.about-letter-grid a {
    display: flex;
    align-items: center;
    gap: .42rem;
    padding: .58rem .68rem;
    color: var(--fw-dark);
    border: 1px solid var(--fw-border);
    border-radius: 10px;
    background: #fff;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}

.about-letter-grid a:hover,
.about-letter-grid a:focus-visible {
    color: var(--fw-red);
    border-color: rgba(217, 31, 38, .35);
}

@media (max-width: 575.98px) {
    .about-subnav {
        margin-inline: -2px;
    }

    .about-subnav-link {
        padding: .62rem .72rem;
        font-size: .82rem;
    }

    .about-section {
        scroll-margin-top: 125px;
    }

    .about-fact {
        min-height: 82px;
        padding: .8rem;
    }

    .about-fact strong {
        font-size: 1.1rem;
    }

    .about-table > :not(caption) > * > * {
        padding: .7rem .75rem;
    }
}

/* Mitglieder: eigene Unterseite */
.about-subnav-link.active {
    color: #fff;
    background: var(--fw-red);
}

.members-current-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f8fafc;
}

.members-summary-number {
    margin: .15rem 0 .2rem;
    color: var(--fw-red);
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.06em;
}

.members-current-summary strong {
    color: var(--fw-dark);
    font-size: 1rem;
    font-weight: 900;
}

.members-current-summary > span:last-child {
    margin-top: .35rem;
    color: #667085;
    font-size: .84rem;
    line-height: 1.4;
}

.members-feature-image-panel {
    overflow: hidden;
    padding: 0 !important;
}

.members-feature-image {
    display: block;
    width: 100%;
    min-width: 100%;
    height: auto;
}

.members-roster-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.members-roster-count {
    flex: 0 0 auto;
    padding: .38rem .65rem;
    border: 1px solid var(--fw-border);
    border-radius: 999px;
    color: #667085;
    background: #f8fafc;
    font-size: .76rem;
    font-weight: 850;
    white-space: nowrap;
}

.members-table-wrap {
    overflow: hidden;
    border: 1px solid var(--fw-border);
    border-radius: 14px;
}

.members-table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: #fafbfc;
}

.members-table > :not(caption) > * > * {
    padding: .72rem .85rem;
    border-bottom-color: var(--fw-border);
    vertical-align: middle;
}

.members-table thead th {
    color: #667085;
    background: #f8fafc;
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
    white-space: nowrap;
}

.members-table tbody th {
    color: var(--fw-dark);
    font-size: .88rem;
    font-weight: 900;
    white-space: nowrap;
}

.members-table tbody td {
    color: #475467;
    font-size: .84rem;
}

.members-table tbody td:nth-child(2) {
    width: 110px;
    font-weight: 800;
    white-space: nowrap;
}

.members-table tbody td:nth-child(3) {
    width: 210px;
    color: var(--fw-dark);
    font-weight: 750;
}

.members-table tbody tr:last-child > * {
    border-bottom: 0;
}

.members-empty {
    color: #98a2b3;
}

@media (max-width: 767.98px) {
    .members-roster-heading {
        align-items: flex-start;
    }

    .members-table-wrap {
        overflow: visible;
        border: 0;
        border-radius: 0;
    }

    .members-table,
    .members-table tbody {
        display: block;
        width: 100%;
    }

    .members-table thead {
        display: none;
    }

    .members-table tbody {
        display: grid;
        gap: .65rem;
    }

    .members-table tbody tr {
        display: grid;
        grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
        gap: .55rem .8rem;
        padding: .8rem;
        border: 1px solid var(--fw-border);
        border-radius: 12px;
        background: #fff;
    }

    .members-table tbody th,
    .members-table tbody td,
    .members-table tbody td:nth-child(2),
    .members-table tbody td:nth-child(3) {
        display: block;
        width: auto;
        padding: 0;
        border: 0;
        white-space: normal;
    }

    .members-table tbody th {
        grid-column: 1 / -1;
        padding-bottom: .5rem;
        border-bottom: 1px solid var(--fw-border);
        font-size: .94rem;
    }

    .members-table tbody td::before {
        display: block;
        margin-bottom: .12rem;
        color: #98a2b3;
        font-size: .65rem;
        font-weight: 900;
        letter-spacing: .04em;
        text-transform: uppercase;
        content: attr(data-label);
    }

    .members-table tbody td[data-label="Funktion"] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .members-roster-heading {
        flex-direction: column;
        gap: .65rem;
    }

    .members-roster-count {
        align-self: flex-start;
    }

    .members-current-summary {
        min-height: 170px;
    }
}

/* Responsive Hauptnavigation: Logo/Toggle oben, Menü sauber darunter */
@media (max-width: 1199.98px) {
    .mainnav {
        min-height: 64px;
        padding: .5rem 0;
    }

    .mainnav > .shell {
        flex-wrap: wrap;
    }

    .mainnav .brand {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 58px);
        gap: .6rem;
    }

    .mainnav .brand-icon {
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
    }

    .mainnav .brand-logo {
        width: 46px;
        height: 46px;
    }

    .mainnav .brand strong {
        overflow: hidden;
        font-size: 1rem;
        line-height: 1.1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mainnav .brand small {
        margin-top: .12rem;
        overflow: hidden;
        font-size: .68rem;
        line-height: 1.15;
        letter-spacing: .08em;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mainnav .navbar-toggler {
        flex: 0 0 auto;
        width: 44px;
        height: 40px;
        margin-left: auto;
        padding: .3rem .45rem;
        border-color: rgba(255, 255, 255, .22);
        border-radius: .5rem;
        box-shadow: none;
    }

    .mainnav .navbar-toggler:focus {
        box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .12);
    }

    .mainnav .navbar-collapse {
        flex: 0 0 100%;
        width: 100%;
        margin-top: .5rem;
        padding: .55rem 0 .15rem;
        border-top: 1px solid rgba(255, 255, 255, .1);
    }

    .mainnav .navbar-nav {
        width: 100%;
        margin: 0 !important;
        gap: .12rem;
        align-items: stretch !important;
    }

    .mainnav .navbar-nav .nav-link {
        display: block;
        width: 100%;
        padding: .68rem .8rem !important;
        border-radius: .5rem;
        text-align: left;
    }

    .mainnav .navbar-nav .nav-link.active {
        padding-left: .68rem !important;
        border-left: 3px solid var(--fw-red);
        background: rgba(255, 255, 255, .1);
    }

    .mainnav .navbar-nav .nav-item:last-child {
        margin-top: .55rem !important;
    }

    .mainnav .btn-emergency {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        gap: .4rem;
        padding: .68rem 1rem;
        border-radius: .5rem;
    }
}

@media (max-width: 575.98px) {
    .mainnav .brand strong {
        font-size: .94rem;
    }

    .mainnav .brand small {
        font-size: .62rem;
        letter-spacing: .065em;
    }
}
