@font-face {
    font-family: "D-DIN-PRO";
    src: url("/assets/fonts/d-din-pro/d-din-pro-regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "D-DIN-PRO";
    src: url("/assets/fonts/d-din-pro/d-din-pro-bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --brand: #b20f16;
    --brand-dark: #831018;
    --dark: #222;
    --dark-soft: #2f2f2f;
    --ink: #202428;
    --muted: #66717a;
    --line: #d8dee4;
    --surface: #fff;
    --soft: #f2f3f5;
    --accent: #e0a11b;
    --max: 1180px;
    --font-main: "D-DIN-PRO", Bahnschrift, "Bahnschrift SemiCondensed", "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: light;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--ink);
    background: var(--soft);
    line-height: 1.55;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.header-strip {
    height: .45rem;
    background: var(--brand);
}

.site-header {
    background: var(--dark);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .28);
}

.site-nav {
    width: min(var(--max), calc(100% - 2rem));
    min-height: 5rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.brand {
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    flex: 0 0 auto;
}

.brand:hover {
    text-decoration: none;
}

.brand-wappen {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
    width: 3.35rem;
    height: 3.65rem;
    object-fit: contain;
    padding: .12rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: .95;
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: 800;
}

.brand-text span {
    font-size: 1.38rem;
}

.brand-text strong {
    color: #fff;
    font-size: 1.68rem;
    font-weight: 900;
}

.brand-fallback {
    font-size: 1.35rem;
    font-weight: 800;
}

.nav-toggle {
    display: none;
}

.nav-button {
    display: none;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    padding: .45rem .75rem;
}

.nav-links {
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
    display: flex;
    align-items: stretch;
    gap: .1rem;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: stretch;
}

.nav-item > a {
    color: #fff;
    display: flex;
    align-items: center;
    min-height: 5rem;
    padding: 0 .85rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: .9rem;
    letter-spacing: 0;
    border-bottom: .25rem solid transparent;
}

.nav-item > a.active,
.nav-item > a:hover,
.nav-item:focus-within > a {
    color: #fff;
    border-bottom-color: var(--brand);
    background: var(--dark-soft);
    text-decoration: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 13.5rem;
    background: #fff;
    border-top: .25rem solid var(--brand);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
    display: none;
    padding: .35rem 0;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    color: var(--ink);
    display: block;
    padding: .55rem .85rem;
    font-weight: 600;
}

.dropdown-menu a:hover {
    background: #f3f4f5;
    color: var(--brand);
    text-decoration: none;
}

.hero {
    color: #fff;
    min-height: min(56vh, 34rem);
    display: flex;
    align-items: end;
    border-bottom: .45rem solid var(--brand);
    overflow: hidden;
    position: relative;
}

.hero::after {
    background: linear-gradient(rgba(0, 0, 0, .16), rgba(0, 0, 0, .62));
    content: "";
    inset: 0;
    position: absolute;
    z-index: 1;
}

.hero-slides {
    inset: 0;
    position: absolute;
}

.hero-slides img {
    animation: hero-slide 24s infinite;
    height: 100%;
    inset: 0;
    object-fit: cover;
    opacity: 0;
    position: absolute;
    width: 100%;
}

.hero-slides img:nth-child(1) {
    animation-delay: 0s;
}

.hero-slides img:nth-child(2) {
    animation-delay: 6s;
}

.hero-slides img:nth-child(3) {
    animation-delay: 12s;
}

.hero-slides img:nth-child(4) {
    animation-delay: 18s;
}

@keyframes hero-slide {
    0%,
    20% {
        opacity: 1;
    }

    25%,
    95% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.hero-inner,
.container {
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto;
}

.hero-inner {
    padding: 7rem 0 3rem;
    position: relative;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.06;
    margin: 0 0 .75rem;
}

.hero p {
    max-width: 720px;
    font-size: 1.18rem;
    margin: 0;
}

.home-intro {
    background: #fff;
}

.intro-grid {
    align-items: center;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
}

.intro-grid h2 {
    margin: 0 0 .75rem;
}

.intro-image {
    display: block;
}

.intro-image img {
    border-radius: 3px;
    display: block;
    height: auto;
    width: 100%;
}

.home-einsatz-image {
    aspect-ratio: 1 / 1;
    background: #dfe4e8;
    display: block;
    overflow: hidden;
    width: 100%;
}

.home-einsatz-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.join-hero {
    background: #fff;
}

.join-hero-grid {
    align-items: center;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 500px);
}

.eyebrow {
    color: var(--brand);
    font-size: .9rem;
    font-weight: 800;
    margin: 0 0 .35rem;
    text-transform: uppercase;
}

.join-hero h1 {
    font-size: clamp(2.1rem, 5vw, 4rem);
    line-height: .98;
    margin: 0 0 1rem;
    max-width: 720px;
}

.join-hero-image {
    margin: 0;
}

.join-hero-image img {
    border-radius: 3px;
    display: block;
    height: auto;
    width: 100%;
}

.button-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.button-row.compact {
    gap: .45rem;
}

.step-list {
    display: grid;
    gap: .65rem;
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

.join-contact {
    text-align: center;
}

.join-contact img {
    border-radius: 3px;
    display: block;
    height: auto;
    margin: 0 auto 1rem;
    max-width: 210px;
    width: 58%;
}

.video-frame {
    aspect-ratio: 16 / 9;
    background: #111;
    border-radius: 3px;
    overflow: hidden;
}

.video-frame iframe {
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
}

.faq-list {
    display: grid;
    gap: .65rem;
}

.faq-list details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: .85rem 1rem;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 800;
}

.faq-list p {
    margin: .65rem 0 0;
}

.emergency-note {
    background: var(--brand);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 1.5rem;
    padding: 1rem;
}

.emergency-note strong {
    font-size: 1.75em;
}

.qr-link {
    display: inline-block;
    margin: .25rem .45rem .35rem 0;
    vertical-align: middle;
}

.qr-link img {
    display: block;
    width: 2.2rem;
}

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

.impressum-grid h2 {
    margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slides img {
        animation: none;
    }

    .hero-slides img:first-child {
        opacity: 1;
    }
}

.section {
    padding: 2rem 0;
}

.section + .section {
    padding-top: .5rem;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--brand);
    padding-bottom: .5rem;
}

.section-head h1,
.section-head h2 {
    margin: 0;
}

.detail-nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: flex-end;
}

.detail-nav a {
    background: #eef2f6;
    border: 1px solid var(--line);
    border-radius: 3px;
    color: #39424e;
    font-weight: 700;
    padding: .35rem .55rem;
}

.detail-nav a:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    text-decoration: none;
}

.detail-nav a.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.termine-filter {
    display: grid;
    gap: .55rem;
    justify-items: end;
}

.year-filter {
    display: flex;
    flex-wrap: wrap;
    column-gap: .3rem;
    row-gap: .55rem;
    justify-content: flex-end;
}

.year-filter .badge {
    line-height: 1.45;
}

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

.card,
.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.card-body,
.panel {
    padding: 1rem;
}

.card h3,
.panel h1,
.panel h2 {
    margin-top: 0;
}

.member-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.member-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 132px;
}

.member-card-image {
    display: block;
    height: 100%;
}

.member-card-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.member-card .card-body {
    align-self: center;
    padding: .85rem 1rem;
}

.member-card h3 {
    margin-bottom: .25rem;
}

.activity-summary {
    margin-top: .65rem;
}

.activity-meter {
    background: #e4e8ec;
    border-radius: 999px;
    height: .45rem;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.activity-meter span {
    background: linear-gradient(90deg, #d8dee5 0%, #e0c54a 34%, #db7a2f 68%, #b20f16 100%);
    border-radius: inherit;
    display: block;
    height: 100%;
    clip-path: inset(0 calc(100% - var(--activity-width, 0%)) 0 0);
    min-width: 0;
    width: 100%;
}

.activity-none .activity-meter {
    background: repeating-linear-gradient(
        135deg,
        #eef1f4 0,
        #eef1f4 6px,
        #d7dde3 6px,
        #d7dde3 12px
    );
}

.activity-none .activity-meter span {
    display: none;
}

.activity-low .activity-meter span {
    background: linear-gradient(90deg, #d8dee5 0%, #e0c54a 34%, #db7a2f 68%, #b20f16 100%);
}

.activity-medium .activity-meter span {
    background: linear-gradient(90deg, #d8dee5 0%, #e0c54a 34%, #db7a2f 68%, #b20f16 100%);
}

.activity-high .activity-meter span {
    background: linear-gradient(90deg, #d8dee5 0%, #e0c54a 34%, #db7a2f 68%, #b20f16 100%);
}

.activity-label {
    color: #66717c;
    font-size: .78rem;
    line-height: 1.25;
    margin-top: .25rem;
}

.activity-none .activity-label,
.activity-low .activity-label {
    color: #7a6b21;
}

.activity-high .activity-label {
    color: #9b2f27;
}

.meta {
    color: var(--muted);
    font-size: .94rem;
}

.badge {
    display: inline-block;
    background: #eef2f6;
    border: 1px solid var(--line);
    color: #39424e;
    border-radius: 999px;
    padding: .15rem .55rem;
    font-size: .85rem;
}

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

.list-heading {
    font-size: 1.15rem;
    margin: 1.25rem 0 .65rem;
}

.list-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: .3rem solid var(--brand);
    border-radius: 3px;
    padding: 1rem;
    display: grid;
    gap: .3rem;
}

.list-item.is-past {
    background: #f7f8f9;
    border-left-color: #9aa3ab;
}

.list-row {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: baseline;
}

.einsatz-list {
    gap: .4rem;
}

.einsatz-list .list-item {
    border-left-width: .22rem;
    gap: 0;
    padding: .55rem .75rem;
}

.einsatz-row {
    align-items: center;
}

.einsatz-title {
    align-items: baseline;
    display: flex;
    gap: .55rem;
    min-width: 0;
}

.einsatz-title strong:not(.einsatz-number) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.einsatz-number {
    color: var(--brand);
    font-variant-numeric: tabular-nums;
    min-width: 2ch;
}

.einsatz-title .meta {
    white-space: nowrap;
}

.compact-list {
    gap: .4rem;
    margin-top: .75rem;
}

.compact-list .list-item {
    border-left-width: .22rem;
    padding: .55rem .75rem;
}

.download-list {
    gap: .45rem;
    margin-top: .85rem;
}

.download-list .list-item {
    border-left-color: var(--accent);
}

.download-item {
    align-items: center;
    display: grid;
    gap: .75rem;
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    padding: .55rem .7rem;
}

.download-item:hover {
    text-decoration: none;
}

.download-icon {
    align-items: center;
    background: #eef2f6;
    border: 1px solid var(--line);
    border-radius: 3px;
    color: #39424e;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 800;
    height: 2.15rem;
    justify-content: center;
    line-height: 1;
    width: 2.65rem;
}

.download-icon-pdf {
    background: #fff1f1;
    border-color: #e8b5b5;
    color: #b20f16;
}

.download-icon-mp3 {
    background: #eef7ff;
    border-color: #b8d8ef;
    color: #1e5f88;
}

.download-main {
    display: grid;
    gap: .05rem;
    min-width: 0;
}

.download-main strong,
.download-main .meta {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.download-size {
    color: var(--muted);
    font-size: .9rem;
    font-weight: 700;
    white-space: nowrap;
}

.qualification-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .75rem;
}

.qualification-tags span {
    background: #eef2f6;
    border: 1px solid var(--line);
    border-radius: 3px;
    color: #39424e;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.25;
    padding: .32rem .5rem;
}

.member-detail-image {
    border-radius: 3px;
    display: block;
    width: 100%;
}

.technik-image {
    border-radius: 3px;
    display: block;
    width: 100%;
}

.technik-image.is-retired {
    filter: grayscale(.75) contrast(.82) brightness(1.04);
}

.technik-einsaetze {
    border-top: 1px solid var(--line);
    margin-top: 1rem;
    padding-top: 1rem;
}

.technik-einsaetze h2 {
    margin-bottom: .75rem;
}

.org-intro {
    margin-bottom: 1rem;
}

.org-section {
    margin-bottom: 1rem;
}

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

.org-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 3px;
    overflow: hidden;
}

.org-photo {
    aspect-ratio: 3 / 4;
    background: #f4f5f6;
    display: grid;
    place-items: center;
}

.org-photo img {
    display: block;
    grid-area: 1 / 1;
    height: 100%;
    object-fit: contain;
    transition: opacity .18s ease;
    width: 100%;
}

.org-photo img + img {
    opacity: 0;
}

.org-card:hover .org-photo img + img,
.org-card:focus-within .org-photo img + img {
    opacity: 1;
}

.org-card-body {
    padding: .9rem 1rem;
}

.org-card-body h3 {
    margin: 0 0 .25rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1rem;
    align-items: start;
}

.einsatz-detail-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
}

.fact-list {
    display: grid;
    gap: .5rem;
}

.fact-list div {
    display: grid;
    grid-template-columns: 8rem 1fr;
    gap: .75rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: .75rem;
}

.gallery a,
.gallery img {
    border-radius: 3px;
}

.gallery a {
    display: block;
}

.gallery img {
    aspect-ratio: 4 / 3;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.einsatz-photo-panel {
    max-height: calc(100vh - 7rem);
    overflow: auto;
    position: sticky;
    top: 5.5rem;
}

.panel-title-row {
    align-items: baseline;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
    margin-bottom: .9rem;
}

.panel-title-row h2 {
    margin: 0;
}

.einsatz-gallery {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: .5rem;
}

.einsatz-gallery a {
    background: #eef2f6;
    overflow: hidden;
}

.einsatz-gallery img {
    aspect-ratio: 1 / 1;
    transition: transform .18s ease, filter .18s ease;
}

.einsatz-gallery a:hover img,
.einsatz-gallery a:focus-visible img {
    filter: brightness(.94);
    transform: scale(1.035);
}

.lightbox {
    align-items: center;
    background: rgba(0, 0, 0, .88);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 3.5rem 4.5rem;
    position: fixed;
    z-index: 1000;
}

.lightbox.is-open {
    display: flex;
}

.lightbox-open {
    overflow: hidden;
}

.lightbox-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.lightbox button {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    cursor: pointer;
}

.lightbox button:hover {
    background: var(--brand);
    border-color: var(--brand);
}

.lightbox-close,
.lightbox-nav {
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    position: absolute;
}

.lightbox-close {
    font-size: 2rem;
    height: 2.75rem;
    right: 1rem;
    top: 1rem;
    width: 2.75rem;
}

.lightbox-nav {
    font-size: 3rem;
    height: 3.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 3.25rem;
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

.button {
    display: inline-block;
    background: var(--brand);
    color: #fff;
    padding: .55rem .8rem;
    border-radius: 3px;
    font-weight: 700;
}

.button:hover {
    background: var(--brand-dark);
    color: #fff;
    text-decoration: none;
}

.button-secondary {
    background: #eef2f6;
    border: 1px solid var(--line);
    color: #39424e;
}

.button-secondary:hover {
    background: #dde5ec;
    color: #202428;
}

.not-found {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 3px;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .95fr);
    overflow: hidden;
    padding: clamp(1.25rem, 4vw, 2.25rem);
}

.not-found-kicker {
    color: var(--brand);
    font-weight: 700;
    margin-bottom: .45rem;
    text-transform: uppercase;
}

.not-found h1 {
    font-size: clamp(2rem, 5vw, 3.75rem);
    line-height: 1;
    margin: 0 0 1rem;
}

.not-found p {
    color: #39424e;
    font-size: 1.08rem;
    max-width: 42rem;
}

.not-found-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1.25rem;
}

.not-found-image {
    display: block;
    height: auto;
    justify-self: center;
    max-width: 100%;
}

.site-footer {
    margin-top: 2rem;
    background: var(--dark);
    color: #d7d7d7;
}

.footer-main {
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.footer-main h2 {
    color: #fff;
    font-size: 1rem;
    margin: 0 0 .8rem;
    padding-bottom: .45rem;
    border-bottom: 2px solid var(--brand);
    text-transform: uppercase;
}

.footer-main p {
    margin: 0;
}

.footer-main a {
    color: #e7e7e7;
    display: block;
    padding: .24rem 0;
}

.footer-main a:hover {
    color: #fff;
}

.footer-cta {
    border: 1px solid rgba(255, 255, 255, .35);
    display: inline-block !important;
    font-weight: 700;
    margin-top: .75rem;
    padding: .45rem .7rem !important;
}

.footer-cta:hover {
    background: var(--brand);
    border-color: var(--brand);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: .6rem;
    margin-top: .65rem;
}

.footer-main .social-links a {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 50%;
    display: inline-flex;
    height: 2.25rem;
    justify-content: center;
    padding: 0;
    width: 2.25rem;
}

.footer-main .social-links a:hover {
    background: var(--brand);
    border-color: var(--brand);
    text-decoration: none;
}

.social-links svg {
    fill: none;
    height: 1.25rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 1.25rem;
}

.social-links a[aria-label="Youtube"] svg {
    fill: currentColor;
    stroke: none;
}

.social-links a[aria-label="Youtube"] svg path:last-child {
    fill: var(--dark);
}

.footer-entry {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: baseline;
}

.footer-entry span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.footer-entry time {
    color: #bfc3c7;
    font-size: .9rem;
}

.footer-bottom {
    background: var(--brand);
    color: #fff;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: .75rem 1rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .site-nav {
        min-height: 4.25rem;
        flex-wrap: wrap;
        padding: .45rem 0;
    }

    .brand {
        gap: .55rem;
    }

    .brand-wappen {
        width: 2.75rem;
        height: 3rem;
    }

    .brand-text span {
        font-size: 1.05rem;
    }

    .brand-text strong {
        font-size: 1.28rem;
    }

    .nav-button {
        display: inline-block;
    }

    .nav-links {
        flex: 1 0 100%;
        display: none;
        margin-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .16);
    }

    .nav-toggle:checked ~ .nav-links {
        display: block;
    }

    .nav-item {
        display: block;
    }

    .nav-item > a {
        min-height: auto;
        padding: .7rem 0;
        border-bottom-width: 0;
    }

    .dropdown-menu {
        position: static;
        display: block;
        min-width: 0;
        background: rgba(255, 255, 255, .06);
        box-shadow: none;
        border-top: 0;
        margin: 0 0 .45rem;
        padding: .2rem .75rem;
    }

    .dropdown-menu a {
        color: #fff;
        padding: .35rem 0;
    }

    .hero {
        min-height: 24rem;
    }

    .join-hero-grid {
        grid-template-columns: 1fr;
    }

    .intro-grid {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .einsatz-detail-grid {
        grid-template-columns: 1fr;
    }

    .einsatz-photo-panel {
        max-height: none;
        overflow: visible;
        position: static;
    }

    .not-found {
        grid-template-columns: 1fr;
    }

    .not-found-image {
        max-width: min(100%, 420px);
        order: -1;
    }

    .member-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 640px) {
    .section-head,
    .list-row,
    .footer-bottom {
        display: grid;
    }

    .einsatz-row {
        display: flex;
    }

    .einsatz-title {
        gap: .4rem;
    }

    .einsatz-title .meta {
        display: none;
    }

    .fact-list div {
        grid-template-columns: 1fr;
        gap: .1rem;
    }

    .download-item {
        gap: .55rem;
        grid-template-columns: 2.8rem minmax(0, 1fr);
    }

    .download-size {
        grid-column: 2;
    }

    .member-card {
        grid-template-columns: 1fr;
    }

    .member-card-image {
        height: auto;
    }

    .member-card-image img {
        height: auto;
    }

    .org-grid {
        grid-template-columns: 1fr;
    }

    .impressum-grid {
        grid-template-columns: 1fr;
    }

    .lightbox {
        padding: 3.5rem .75rem 1rem;
    }

    .lightbox-nav {
        bottom: 1rem;
        top: auto;
        transform: none;
    }
}
