/* ============================================
   FEUERWEHR NEUKIRCH - Clean Design
   White base, Red accents, Blue details
   ============================================ */

:root {
    --red: #C41E3A;
    --red-dark: #9E1830;
    /* Marineblau – Akzente, gut lesbar auf Weiß */
    --blue: #1B4A6E;
    --marine: #1B4A6E;
    --marine-light: #E8EEF4;
    --marine-muted: rgba(27, 74, 110, 0.12);
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;
    
    --header-height: 64px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    /* sehr dezentes Marine-Weiß an den Rändern (nicht sichtbar auf schmalen Screens stark) */
    background-image: linear-gradient(180deg, #fafcfe 0%, #ffffff 24%);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--red);
    text-decoration: none;
}

a:hover {
    color: var(--red-dark);
}

ul { list-style: none; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================
   HEADER - Clean & Minimal
   ============================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* moderner, flacher Verlauf statt starker 3-Stufen-Balken-Optik */
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 45%),
        linear-gradient(180deg, #1a4f74 0%, #143a56 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.1) inset,
        0 8px 28px -6px rgba(0, 18, 32, 0.28);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.35rem 1rem;
    gap: 0.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.logo:hover {
    opacity: 0.95;
}

.logo-img {
    width: auto;
    max-width: 220px;
    object-fit: contain;
    object-position: left center;
    transition: opacity 0.2s ease;
}

.logo:hover .logo-img {
    opacity: 0.92;
}

/* Logo: auf voller blauer Leiste, ohne extra Kasten */
.logo-block {
    flex-shrink: 0;
    max-width: min(70vw, 280px);
}

.logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0.1rem 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.logo-block .logo-img {
    height: clamp(34px, 2.5vw + 26px, 44px);
    max-height: 44px;
    width: auto;
    max-width: 100%;
    object-position: left center;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
}

.hamburger {
    position: relative;
    width: 20px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.nav-toggle.active .hamburger { background: transparent; }
.nav-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle.active .hamburger::after { bottom: 0; transform: rotate(-45deg); }

.main-nav {
    position: fixed;
    top: var(--header-height);
    left: auto;
    right: 0;
    bottom: 0;
    /* halber Viewport, Panel von rechts (mobile) */
    width: 50vw;
    min-width: 12rem;
    z-index: 1001;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, transparent 55%),
        linear-gradient(180deg, #163d58 0%, #0d2538 100%);
    border-radius: 14px 0 0 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 0;
    box-shadow: -10px 0 36px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.34s cubic-bezier(0.32, 0.72, 0, 1);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.main-nav.active {
    transform: translateX(0);
}

.nav-list {
    padding: 0.5rem 1rem 1.75rem 1.25rem;
}

.nav-link {
    display: block;
    padding: 0.75rem 0;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

/* Neben dem offenen mobilen Menü: linke Hälfte leicht abblenden, Klick schließt (s. script.js) */
.nav-backdrop {
    display: none;
}

@media (max-width: 767.98px) {
    .nav-backdrop {
        display: block;
        position: fixed;
        z-index: 1000;
        top: var(--header-height);
        left: 0;
        width: 50vw;
        bottom: 0;
        background: rgba(6, 16, 26, 0.5);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    body.nav-menu-open .nav-backdrop {
        opacity: 1;
        pointer-events: auto;
    }
}

/* ============================================
   HERO - Simple & Impactful
   ============================================ */
.hero {
    position: relative;
    height: 70vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--header-height);
    background: var(--gray-200);
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(20, 55, 90, 0.35) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.62) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 1.25rem;
}

/* Dezenter Milchglas-Hinweis: kaum Unschärfe, leicht abgetönt */
.hero-content-box {
    display: inline-block;
    max-width: min(92vw, 34rem);
    margin: 0 auto;
    /* Unten bewusst enger: Abstand = Padding, nicht Subtitle-Margin */
    padding: 1.2rem 1.5rem 0.7rem;
    text-align: center;
    background: rgba(40, 44, 50, 0.22);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.hero-content-box .hero-pretitle,
.hero-content-box .hero-subtitle {
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

.hero-content-box .hero-subtitle {
    margin-bottom: 0;
}

.hero-pretitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--red);
    border-color: var(--red);
}

.btn-outline:hover {
    background: var(--red);
    color: var(--white);
}

/* ============================================
   QUICK STATS
   ============================================ */
.quick-stats {
    background: linear-gradient(180deg, #f7fafc 0%, #ffffff 100%);
    border-bottom: 1px solid var(--marine-muted);
    padding: 1.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    text-align: center;
}

.stat-item {
    padding: 0.5rem;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--red);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 3rem 0;
    scroll-margin-top: calc(var(--header-height) + 8px);
}

.section-alt {
    background: linear-gradient(180deg, #f3f6f9 0%, #fafbfc 100%);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0.6rem;
    border-left: 4px solid var(--marine);
    border-bottom: 3px solid var(--red);
    display: inline-block;
}

.subsection-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--gray-800);
    margin: 2rem 0 1rem;
    border-left: 3px solid var(--marine);
    padding-left: 0.5rem;
}

/* ============================================
   HIGHLIGHT CARD (Hexenfest)
   ============================================ */
.highlight-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--red);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.highlight-badge {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.75rem;
}

.highlight-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.highlight-card p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

/* Upcoming-Event (z. B. Hexenfest) – hervorgehoben oben in „Aktuelles“ */
.upcoming-event-wrap {
    margin-bottom: 0.5rem;
}

.upcoming-event-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--marine-light) 100%);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--marine);
    border-radius: 4px;
    padding: 1.5rem 1.25rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 2px 10px var(--marine-muted);
}

.upcoming-event-card--feature {
    padding: 2rem 1.5rem 2.25rem;
    margin-bottom: 2.75rem;
    box-shadow: 0 8px 28px rgba(16, 52, 76, 0.14);
    border-left-width: 5px;
}

@media (min-width: 700px) {
    .upcoming-event-card--feature {
        padding: 2.25rem 2rem 2.5rem;
    }
}

.upcoming-event-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    width: 100%;
}

.upcoming-event-flyer {
    width: 100%;
    max-width: 18rem;
    line-height: 0;
    margin: 0 auto;
    flex-shrink: 0;
}

.upcoming-event-flyer[hidden] {
    display: none !important;
}

.upcoming-event-flyer-btn {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 6px;
    line-height: 0;
    transition: box-shadow 0.2s ease;
}

.upcoming-event-flyer-btn:focus {
    outline: 2px solid var(--marine);
    outline-offset: 3px;
}

.upcoming-event-flyer-btn:hover .upcoming-event-flyer-img {
    box-shadow: 0 12px 32px rgba(16, 52, 76, 0.22);
}

.upcoming-event-flyer-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(16, 52, 76, 0.18);
}

@media (min-width: 700px) {
    .upcoming-event-layout {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1.5rem 2rem;
    }
    .upcoming-event-content {
        flex: 1 1 0;
        min-width: min(100%, 12rem);
        max-width: none;
    }
    .upcoming-event-flyer {
        width: auto;
        flex: 0 0 clamp(9rem, 32%, 20rem);
        max-width: 20rem;
        margin: 0;
    }
    .upcoming-event-flyer-btn {
        max-width: 100%;
    }
}

.upcoming-event-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-top: 0.15rem;
}

@media (min-width: 700px) {
    .upcoming-event-card {
        flex-direction: column;
    }
    .upcoming-event-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
    }
}

.upcoming-event-badge {
    display: inline-block;
    width: fit-content;
    background: var(--marine);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.75rem;
    border-radius: 2px;
}

.upcoming-event-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gray-900);
    margin: 0.25rem 0 0.35rem;
}

.upcoming-event-card--feature .upcoming-event-content h3 {
    font-size: clamp(1.75rem, 4.5vw, 2.35rem);
    line-height: 1.15;
}

.upcoming-date {
    font-size: 0.9rem;
    color: var(--marine);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.upcoming-event-content p {
    color: var(--gray-700);
    line-height: 1.55;
    max-width: 52ch;
}

#aktuelles .upcoming-event-wrap + h3.subsection-title {
    margin-top: 0.35rem;
}

.aktuelles-recent-hint {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0.25rem 0 0.75rem;
    max-width: 50ch;
}

.aktuelles-berichte-grid {
    min-height: 2rem;
}

.aktuelles-berichte-list {
    margin-top: 0.5rem;
}

.aktuelles-archiv {
    margin-top: 2.5rem;
    padding-top: 0.5rem;
}

.section-intro-aktuelles {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    max-width: 60ch;
}

#aktuelles .aktuelles-archiv .subsection-title {
    margin-top: 0;
    margin-bottom: 0.35rem;
}

.aktuelles-empty,
.aktuelles-placeholder {
    color: var(--gray-600);
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

.berichte-year-heading {
    font-size: 1.125rem;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
    color: var(--blue);
    padding-bottom: 0.35rem;
    border-bottom: 2px solid var(--gray-200);
}

/* ============================================
   NEWS GRID
   ============================================ */
.news-grid {
    display: grid;
    gap: 1rem;
}

.news-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 1.25rem;
}

.news-badge {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(30, 58, 95, 0.1);
    padding: 0.2rem 0.5rem;
    margin-bottom: 0.5rem;
}

.news-card time {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.news-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.news-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
}

.link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--red);
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-photo-wrapper {
    margin-bottom: 1.5rem;
    border-radius: 4px;
    overflow: hidden;
}

.team-photo {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.team-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.team-stat {
    background: var(--white);
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    font-size: 0.875rem;
}

.team-stat strong {
    color: var(--red);
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.leadership-grid {
    display: grid;
    gap: 1rem;
}

.leader-card {
    background: var(--white);
    padding: 1rem;
    border: 1px solid var(--gray-200);
    border-left: 3px solid var(--red);
}

.leader-role {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.leader-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--gray-900);
}

/* More Info Accordion */
.more-info {
    margin-top: 1.5rem;
}

.more-info summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--blue);
    padding: 0.75rem 0;
}

.more-info summary:hover {
    color: var(--red);
}

.functions-grid {
    padding: 1rem 0;
}

.function-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.875rem;
}

.function-item strong {
    color: var(--gray-700);
}

/* ============================================
   VEHICLES
   ============================================ */
.vehicles-grid {
    display: grid;
    gap: 1rem;
}

.vehicle-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.vehicle-img {
    aspect-ratio: 4/3;
    background: var(--gray-200);
}

.vehicle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-info {
    padding: 1rem;
}

.vehicle-info h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--red);
    margin-bottom: 0.25rem;
}

.vehicle-info p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.garage-photo {
    margin-top: 1.5rem;
    border-radius: 4px;
    overflow: hidden;
}

.garage-photo img {
    width: 100%;
}

/* ============================================
   LEADERSHIP WITH PHOTOS
   ============================================ */
.leadership-grid-with-photos {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
}

.leader-card-photo {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    text-align: center;
}

.leader-photo {
    aspect-ratio: 1;
    background: var(--gray-200);
    overflow: hidden;
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-200);
    color: var(--gray-500);
    font-size: 0.875rem;
}

.leader-details {
    padding: 1rem;
}

.leader-card-photo .leader-role {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.leader-card-photo .leader-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--gray-900);
}

/* ============================================
   MITMACHEN / JOIN SECTION
   ============================================ */
.join-intro {
    margin-bottom: 2rem;
}

.lead-text {
    font-size: 1.125rem;
    color: var(--gray-700);
    line-height: 1.7;
}

.join-options {
    display: grid;
    gap: 1.5rem;
}

.join-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    padding: 1.5rem;
}

.join-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.join-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.join-card > p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.join-benefits {
    padding-left: 1.25rem;
}

.join-benefits li {
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    list-style: disc;
}

.join-cta {
    margin-top: 2.5rem;
    text-align: center;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: 4px;
}

.join-cta p {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

/* ============================================
   PREVENTION SECTION
   ============================================ */
.section-intro {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 700px;
}

.prevention-grid {
    display: grid;
    gap: 1.5rem;
}

.prevention-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.prevention-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.prevention-icon {
    font-size: 1.5rem;
}

.prevention-header h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--gray-900);
    margin: 0;
}

.prevention-content {
    padding: 1.25rem;
}

.prevention-content h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.w-questions {
    padding-left: 0;
    list-style: none;
}

.w-questions li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}

.w-questions li:last-child {
    border-bottom: none;
}

.w-questions strong {
    color: var(--red);
    font-weight: 600;
}

.prevention-list {
    padding-left: 1.25rem;
}

.prevention-list li {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    list-style: disc;
}

.action-list {
    padding-left: 1.25rem;
}

.action-list li {
    margin-bottom: 0.75rem;
    color: var(--gray-700);
}

.action-list strong {
    color: var(--gray-900);
}

.tip-box {
    background: var(--gray-50);
    border-left: 3px solid var(--blue);
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.tip-box strong {
    color: var(--blue);
}

.tip-box.warning {
    border-left-color: var(--red);
}

.tip-box.warning strong {
    color: var(--red);
}

.app-info {
    display: grid;
    gap: 1rem;
}

.app-item {
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 4px;
}

.app-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.app-item p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

/* ============================================
   EINSÄTZE (Incidents)
   ============================================ */
.years-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--marine-muted);
}

.year-btn {
    padding: 0.5rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    background: var(--white);
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    cursor: pointer;
    border-radius: 2px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.year-btn:hover {
    border-color: var(--marine);
    color: var(--marine);
    background: var(--marine-light);
}

.year-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    box-shadow: 0 0 0 1px var(--marine);
}

.incidents-placeholder {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 2rem;
    text-align: center;
    color: var(--gray-500);
}

/* ============================================
   REPORTS GRID
   ============================================ */
.reports-grid {
    display: grid;
    gap: 1.5rem;
}

.report-category {
    background: var(--gray-50);
    padding: 1.25rem;
    border-radius: 4px;
}

.report-category h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--blue);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-200);
}

.report-category li {
    padding: 0.4rem 0;
}

.report-category a {
    font-size: 0.875rem;
    color: var(--gray-700);
}

.report-category a:hover {
    color: var(--red);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    gap: 2rem;
}

.contact-info {
    display: grid;
    gap: 1rem;
}

.contact-item {
    padding: 0.5rem 0;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.emergency-box {
    background: var(--white);
    border: 2px solid var(--red);
    padding: 1.5rem;
    text-align: center;
    margin-top: 1rem;
}

.emergency-box strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.emergency-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
}

.emergency-box small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Contact Form */
.contact-form {
    position: relative;
}

/* Honeypot: für Menschen unsichtbar, gängiges Bot-Falle-Feld (nicht anzeigen/fokussieren) */
.contact-honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    margin: 0;
    padding: 0;
    border: 0;
}

.contact-form .contact-honeypot input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
}

.contact-form-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 1rem;
    background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--red);
}

/* Kontakt: Social-Media-Links (unter Formular & Infos) */
.contact-social {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.contact-social-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
}

.contact-social-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 1.25rem;
    row-gap: 0.5rem;
}

.form-row {
    display: grid;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.checkbox-label input {
    width: auto;
    margin: 0;
    margin-top: 2px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 2rem 0 1rem;
}

.footer-content {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-brand strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 1rem;
    border-top: 1px solid var(--gray-800);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ============================================
   UTILITIES
   ============================================ */
.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-200);
    color: var(--gray-500);
    font-size: 0.875rem;
    height: 100%;
    min-height: 150px;
}

.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 2px;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--red-dark);
}

.toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--gray-900);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 2px;
    font-size: 0.875rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2000;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    background: #2E7D32;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .leadership-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .leadership-grid-with-photos {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reports-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .join-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .prevention-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
    
    .main-nav {
        position: static;
        transform: none;
        background: none;
        width: auto;
        min-width: 0;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        z-index: auto;
        border: none;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }
    
    .nav-list {
        display: flex;
        gap: 0;
        padding: 0;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        border: none;
        color: rgba(255, 255, 255, 0.88);
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: #fff;
        box-shadow: inset 0 -2px 0 0 rgba(255, 255, 255, 0.75);
    }
    
    .logo {
        font-size: 1.25rem;
        gap: 0.75rem;
    }
    
    .logo-block .logo-img {
        max-height: 46px;
        height: 44px;
    }
    
    .hero {
        height: 60vh;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
        align-items: start;
    }
}

@media (min-width: 1024px) {
    .vehicles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .reports-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .join-options {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .prevention-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   LEGAL PAGES (Impressum, Datenschutz)
   ============================================ */
.page-header {
    position: relative;
    padding: 6rem 0 2rem;
    margin-top: var(--header-height);
    min-height: 180px;
    overflow: hidden;
}

.page-header-image {
    position: absolute;
    inset: 0;
}

.page-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 40%, rgba(255,255,255,0) 75%);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.breadcrumb {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.breadcrumb a {
    color: var(--gray-600);
}

.breadcrumb a:hover {
    color: var(--red);
}

.breadcrumb span {
    margin: 0 0.25rem;
}

.legal-content {
    max-width: 800px;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--red);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    list-style: disc;
}

.legal-content address {
    font-style: normal;
    margin: 0.5rem 0;
}

.contact-block {
    background: var(--gray-50);
    padding: 1.5rem;
    border-left: 3px solid var(--red);
    margin-bottom: 2rem;
}

.contact-block p {
    margin-bottom: 0.5rem;
}

.contact-block address {
    margin: 0.75rem 0;
}

@media (min-width: 768px) {
    .page-header {
        padding: 8rem 0 3rem;
        min-height: 250px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
}

/* ============================================
   BERICHTE SYSTEM
   ============================================ */
.berichte-section {
    margin-bottom: 2rem;
}

.berichte-section-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--blue);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-200);
}

.berichte-list {
    display: grid;
    gap: 1rem;
}

.bericht-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bericht-card:hover {
    border-color: var(--red);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08), 0 2px 0 0 var(--marine-muted);
    transform: translateY(-2px);
}

.bericht-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.bericht-badge {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    border-radius: 2px;
}

.bericht-badge-red {
    background: var(--red);
    color: var(--white);
}

.bericht-badge-blue {
    background: var(--blue);
    color: var(--white);
}

.bericht-badge-green {
    background: #2E7D32;
    color: var(--white);
}

.bericht-badge-purple {
    background: #7B1FA2;
    color: var(--white);
}

.bericht-badge-gold {
    background: #F9A825;
    color: var(--gray-900);
}

.bericht-badge-gray {
    background: var(--gray-500);
    color: var(--white);
}

.bericht-datum {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.bericht-titel {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.bericht-kurz {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.bericht-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bericht-bilder-count {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.bericht-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--red);
}

.no-berichte {
    background: var(--gray-50);
    padding: 2rem;
    text-align: center;
    border-radius: 4px;
    color: var(--gray-500);
}

/* Bericht Modal */
.bericht-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.bericht-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
}

.modal-container {
    position: relative;
    background: var(--white);
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    border-radius: 4px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.bericht-modal.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--gray-600);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--red);
    color: var(--white);
}

.modal-content {
    padding: 2rem;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    padding-right: 2rem;
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
}

/* Einsatzdetails */
.einsatz-details {
    background: var(--gray-50);
    padding: 1.25rem;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.einsatz-details h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--blue);
    margin-bottom: 1rem;
}

.details-grid {
    display: grid;
    gap: 0.5rem;
}

.details-grid div {
    font-size: 0.875rem;
    color: var(--gray-700);
}

.details-grid strong {
    color: var(--gray-900);
}

/* Bericht Galerie */
.bericht-galerie {
    margin-top: 1.5rem;
}

.bericht-galerie h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--blue);
    margin-bottom: 1rem;
}

.galerie-grid {
    display: grid;
    gap: 1rem;
}

.galerie-item {
    border-radius: 4px;
    overflow: hidden;
    background: var(--gray-100);
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.galerie-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.galerie-item img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.galerie-item:hover img {
    opacity: 0.9;
}

.galerie-zoom-hint {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0,0,0,0.6);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.galerie-item:hover .galerie-zoom-hint {
    opacity: 1;
}

.galerie-item figcaption {
    padding: 0.75rem;
    font-size: 0.75rem;
    color: var(--gray-600);
    text-align: center;
}

.bild-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/10;
    background: var(--gray-200);
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.lightbox-caption {
    color: var(--white);
    text-align: center;
    padding: 1rem;
    font-size: 0.875rem;
    max-width: 600px;
}

.lightbox-counter {
    color: var(--gray-400);
    font-size: 0.75rem;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.25);
}

@media (max-width: 640px) {
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .lightbox-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 40px;
        height: 40px;
    }
}

@media (min-width: 640px) {
    .berichte-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .galerie-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .modal-content {
        padding: 2.5rem;
    }
    
    .modal-title {
        font-size: 1.75rem;
    }
}

/* Print */
@media print {
    .main-header,
    .nav-backdrop,
    .back-to-top,
    .contact-form-wrapper {
        display: none;
    }
    
    .hero {
        height: auto;
        margin-top: 0;
    }
    
    .page-header {
        margin-top: 0;
    }
}
