/* ============================================
   Feuerwehr Olewig — Shared Stylesheet
   Based on Design 1: Hero Cinematic
   ============================================ */

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

:root {
    --red: #C1121F;
    --red-light: #E63946;
    --red-dark: #9A0E18;
    --dark: #0D0D0D;
    --dark-card: #1A1A1A;
    --gray: #2A2A2A;
    --gray-light: #3A3A3A;
    --text: #F0F0F0;
    --text-muted: #999;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ============================================
   NAV
   ============================================ */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s, padding 0.3s;
}
nav.scrolled {
    background: rgba(13,13,13,0.95);
    backdrop-filter: blur(10px);
    padding: 0.6rem 2rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: white;
}
.nav-brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
}
.nav-brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.nav-brand-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.nav-brand-text span { color: var(--red); }

.nav-links { display: flex; gap: 0; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links > li > a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    padding: 0.5rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: white; }
.nav-links > li > a .chevron {
    width: 10px; height: 10px;
    transition: transform 0.2s;
}

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(26,26,26,0.97);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gray);
    border-radius: 6px;
    min-width: 200px;
    padding: 0.4rem 0;
    z-index: 200;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.nav-links > li:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block;
    padding: 0.5rem 1.2rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.15s;
}
.dropdown-menu a:hover { color: white; background: rgba(255,255,255,0.05); }
.dropdown-menu a.active { color: var(--red); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
    z-index: 201;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13,13,13,0.98);
    z-index: 200;
    padding: 5rem 2rem 2rem;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    display: block;
    padding: 0.8rem 0;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--gray);
    transition: color 0.2s;
}
.mobile-menu a:hover { color: white; }
.mobile-menu .mobile-section-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--red);
    padding-top: 1.5rem;
    font-weight: 600;
}

/* ============================================
   HERO (Home page)
   ============================================ */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,13,13,0.7) 0%, rgba(13,13,13,0.2) 50%, rgba(13,13,13,0.15) 100%),
                url('../img/hero.jpg') top right/cover;
    filter: brightness(0.75);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}
.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1.5rem;
}
.hero h1 span { color: var(--red); }
.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: bounce 2s infinite;
}
.scroll-indicator span {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--red);
    border-bottom: 2px solid var(--red);
    transform: rotate(45deg);
    opacity: 0.6;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(12px); }
}

/* ============================================
   PAGE HEADER (Inner pages)
   ============================================ */
.page-header {
    height: 40vh;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    padding-bottom: 3rem;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,13,13,0.85), rgba(13,13,13,0.3));
}
.page-header-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
}
.page-header .container {
    position: relative;
    z-index: 1;
    animation: heroIn 0.8s ease 0.2s both;
}
.page-header .section-label { margin-bottom: 0.5rem; }
.page-header h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--gray);
    border-bottom: 1px solid var(--gray);
}
.stat {
    padding: 3rem 2rem;
    text-align: center;
    border-right: 1px solid var(--gray);
}
.stat:last-child { border-right: none; }
.stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
}
.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ============================================
   SECTION BASICS
   ============================================ */
section { padding: 5rem 2rem; }
.section-dark { background: var(--dark-card); }
.section-label {
    color: var(--red);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 1rem;
}
.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}
.section-title--spaced { margin-top: 3rem; }
.btn-row { margin-top: 2rem; }
.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 800px;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.content-spaced { margin-top: 3rem; }

/* ============================================
   SPLIT LAYOUT
   ============================================ */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.split-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}
.split-image {
    aspect-ratio: 4/3;
    background: var(--gray);
    border-radius: 4px;
    overflow: hidden;
}
.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    background: var(--red);
    color: white;
    padding: 0.9rem 2rem;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
.btn:hover { background: var(--red-light); transform: translateY(-2px); }
.btn-outline {
    background: transparent;
    border: 1px solid var(--red);
    color: var(--red-light);
}
.btn-outline:hover { background: var(--red); color: white; }

/* ============================================
   CARDS GRID
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.card {
    background: var(--dark-card);
    border: 1px solid var(--gray);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--red);
}
.card-img {
    height: 200px;
    background: var(--gray);
    overflow: hidden;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-body { padding: 1.5rem; }
.card-body h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.card-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   EQUIPMENT / VEHICLE CARDS
   ============================================ */
.equip-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}
.equip-card {
    background: var(--dark-card);
    border: 1px solid var(--gray);
    border-radius: 4px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: border-color 0.3s, transform 0.3s;
    text-decoration: none;
    color: inherit;
}
.equip-card:hover { border-color: var(--red); transform: translateY(-2px); }
.equip-icon {
    width: 48px;
    height: 48px;
    background: var(--red);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}
.equip-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}
.equip-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
   VEHICLE DETAIL (technik page)
   ============================================ */
.vehicle-section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--gray);
}
.vehicle-section:last-child { border-bottom: none; }
.vehicle-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.vehicle-image {
    border-radius: 4px;
    overflow: hidden;
}
.vehicle-image img {
    width: 100%;
    display: block;
}
.vehicle-specs {
    margin-top: 1.5rem;
}
.vehicle-specs table {
    width: 100%;
    border-collapse: collapse;
}
.vehicle-specs td {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray);
    font-size: 0.9rem;
}
.vehicle-specs td:first-child {
    color: var(--text-muted);
    width: 40%;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.vehicle-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.5rem;
    margin-top: 1.5rem;
}
.vehicle-desc {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.vehicle-gallery a {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid var(--gray);
    transition: border-color 0.2s;
}
.vehicle-gallery a:hover { border-color: var(--red); }
.vehicle-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   EVENTS
   ============================================ */
.events-list { margin-top: 2rem; }
.event-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray);
    transition: padding-left 0.3s;
}
.event-item:hover { padding-left: 1rem; }
.event-date-box {
    background: var(--red);
    color: white;
    min-width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}
.event-day {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}
.event-month {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.event-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
}
.event-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   YOUTH SECTION
   ============================================ */
.youth-section {
    background: linear-gradient(180deg, var(--dark) 0%, #1a0a0a 100%);
}
.youth-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.youth-image {
    aspect-ratio: 4/3;
    border-radius: 4px;
    overflow: hidden;
}
.youth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section { background: var(--dark-card); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}
.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}
.contact-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--red);
}
.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}
.contact-value { font-size: 1rem; }
.contact-value a { color: var(--red-light); text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }

.notruf-box {
    margin-top: 1rem;
    padding: 1.5rem;
    background: rgba(193,18,31,0.1);
    border: 1px solid var(--red);
    border-radius: 4px;
}
.notruf-box .contact-icon {
    background: var(--red);
    color: white;
    border-color: var(--red);
}
.notruf-number {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
}

.full-width-img {
    width: 100%;
    border-radius: 4px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: var(--gray);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-light);
    text-align: center;
    color: var(--text-muted);
}
.map-placeholder svg { opacity: 0.4; margin-bottom: 1rem; }
.map-placeholder p { font-size: 0.85rem; }

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}
.social-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}
.social-links a:hover { color: white; }

/* ============================================
   PROSE CONTENT (inner pages)
   ============================================ */
.prose { max-width: 800px; }
.prose p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    line-height: 1.8;
}
.prose h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    margin: 2.5rem 0 1rem;
    color: var(--text);
}
.prose h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin: 2rem 0 0.8rem;
    color: var(--text);
}
.prose ul, .prose ol {
    color: var(--text-muted);
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
}
.prose li { margin-bottom: 0.4rem; }
.prose img {
    max-width: 100%;
    border-radius: 4px;
    margin: 1rem 0;
}
.prose strong { color: var(--text); }

/* ============================================
   DATA TABLE (Mannschaft)
   ============================================ */
.data-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}
.data-table th {
    text-align: left;
    padding: 0.8rem 1rem;
    background: var(--red);
    color: white;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.data-table td {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--gray);
    font-size: 0.9rem;
}
.data-table tr:hover td { background: rgba(255,255,255,0.02); }
.data-table .num {
    color: var(--red);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    width: 40px;
}
.data-table .leader { font-weight: 600; color: white; }

/* ============================================
   TIMELINE (Geschichte)
   ============================================ */
.timeline { position: relative; padding-left: 3rem; margin-top: 2rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray);
}
.timeline-item {
    position: relative;
    padding-bottom: 3rem;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 0.3rem;
    width: 12px;
    height: 12px;
    background: var(--red);
    border-radius: 50%;
    transform: translateX(-5px);
}
.timeline-year {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 0.5rem;
}
.timeline-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
.timeline-text ul {
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}
.timeline-text li {
    margin-bottom: 0.2rem;
}
.timeline-text img {
    max-width: 100%;
    border-radius: 4px;
    margin-top: 1rem;
}
.timeline-text img + em {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    margin-bottom: 0.5rem;
}

/* ============================================
   INFO CALLOUT (Alarmierung, Wenn es brennt)
   ============================================ */
.callout {
    background: var(--dark-card);
    border-left: 3px solid var(--red);
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}
.callout h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--text);
}
.callout p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.w-questions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}
.w-question {
    background: var(--dark-card);
    border: 1px solid var(--gray);
    border-radius: 4px;
    padding: 1.2rem 1.5rem;
}
.w-question strong {
    color: var(--red);
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.3rem;
}
.w-question span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
   EINSATZGEBIET (Alarm levels)
   ============================================ */
.area-primary { margin-top: 1.5rem; }
.area-primary-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.area-badge {
    background: var(--red);
    color: white;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
}

.alarm-levels-section { padding-top: 0; }

.alarm-level {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid var(--gray);
}
.alarm-level:last-of-type { border-bottom: none; }
.alarm-level--reverse { direction: rtl; }
.alarm-level--reverse > * { direction: ltr; }

.alarm-level-map {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--gray);
    transition: border-color 0.3s;
}
.alarm-level-map:hover { border-color: var(--red); }
.alarm-level-map img { width: 100%; display: block; }

.alarm-level-badge {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.35rem 0.9rem;
    border-radius: 4px;
    margin-bottom: 0.8rem;
}
.alarm-level--medium { background: #92400e; color: #fbbf24; }
.alarm-level--high { background: #9a3412; color: #fb923c; }
.alarm-level--critical { background: var(--red-dark); color: #fca5a5; }

.alarm-level-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}
.alarm-level-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.alarm-level-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.alarm-level-areas span {
    background: var(--gray);
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    padding: 3rem 2rem;
    border-top: 1px solid var(--gray);
    background: var(--dark);
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.footer-brand img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}
.footer-brand span {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
}
footer h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--text);
}
footer ul { list-style: none; }
footer li { margin-bottom: 0.5rem; }
footer a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}
footer a:hover { color: white; }
.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray);
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   EINSÄTZE PAGE
   ============================================ */
.einsatz-controls {
    margin-bottom: 2rem;
}
.year-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.year-btn {
    background: var(--dark-card);
    border: 1px solid var(--gray);
    color: var(--text-muted);
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}
.year-btn:hover { border-color: var(--red); color: white; }
.year-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: white;
}

.einsatz-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.einsatz-stat {
    background: var(--dark-card);
    border: 1px solid var(--gray);
    border-radius: 4px;
    padding: 1.2rem 1.5rem;
    text-align: center;
}
.einsatz-stat-num {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
}
.einsatz-stat-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.einsatz-list { display: flex; flex-direction: column; gap: 0; }

.einsatz-entry {
    display: flex;
    gap: 1.2rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--gray);
    align-items: flex-start;
    transition: padding-left 0.2s;
}
.einsatz-entry:first-child { border-top: 1px solid var(--gray); }
.einsatz-entry:hover { padding-left: 0.5rem; }

.einsatz-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.einsatz-icon svg { width: 20px; height: 20px; }
.einsatz-type--brand { background: rgba(193,18,31,0.15); color: var(--red-light); }
.einsatz-type--brand svg { stroke: var(--red-light); }
.einsatz-type--th { background: rgba(59,130,246,0.15); color: #60a5fa; }
.einsatz-type--th svg { stroke: #60a5fa; }

.einsatz-content { flex: 1; min-width: 0; }

.einsatz-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 0.4rem;
}
.einsatz-header h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
}
.einsatz-type-badge {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    white-space: nowrap;
}
.einsatz-type-badge.einsatz-type--brand { background: rgba(193,18,31,0.2); color: var(--red-light); }
.einsatz-type-badge.einsatz-type--th { background: rgba(59,130,246,0.2); color: #60a5fa; }

.einsatz-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.2rem;
    margin-bottom: 0.4rem;
}
.einsatz-meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.einsatz-meta-item svg { flex-shrink: 0; opacity: 0.6; }

.einsatz-units {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.3rem;
}
.einsatz-units span {
    font-size: 0.7rem;
    background: var(--gray);
    color: var(--text-muted);
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
}

.einsatz-loading, .einsatz-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: pointer;
}
.lightbox-overlay.visible { opacity: 1; }
.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
}
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }

/* Hero text fade-in */
.hero-content {
    animation: heroIn 1s ease 0.3s both;
}
@keyframes heroIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stats counter pop */
.stat {
    transition: transform 0.3s ease;
}
.stat:hover {
    transform: scale(1.05);
}

/* Nav link underline effect */
.nav-links > li > a::after {
    content: '';
    display: block;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    margin-top: 2px;
}
.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
    transform: scaleX(1);
}

/* Image hover zoom */
.split-image img,
.vehicle-image img,
.youth-image img {
    transition: transform 0.5s ease;
}
.split-image:hover img,
.vehicle-image:hover img,
.youth-image:hover img {
    transform: scale(1.03);
}

/* Timeline dot pulse on reveal */
.timeline-item.visible::before {
    animation: dotPulse 0.6s ease;
}
@keyframes dotPulse {
    0% { transform: translateX(-5px) scale(0); }
    60% { transform: translateX(-5px) scale(1.4); }
    100% { transform: translateX(-5px) scale(1); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal, .reveal-stagger > * {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }

    section { padding: 3rem 1.5rem; }
    .container { padding: 0 1.5rem; }

    /* Grids → single column */
    .split, .youth-content, .contact-grid, .vehicle-layout { grid-template-columns: 1fr; gap: 2rem; }
    .equip-row { grid-template-columns: 1fr; }

    /* Stats → 2 columns */
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat { border-bottom: 1px solid var(--gray); padding: 2rem 1.5rem; }
    .stat-number { font-size: 2.5rem; }

    /* Page header */
    .page-header { height: 30vh; min-height: 220px; padding-bottom: 2rem; }

    /* Alarm levels (Einsatzgebiet) */
    .alarm-level, .alarm-level--reverse { grid-template-columns: 1fr; direction: ltr; gap: 1.5rem; }

    /* Einsätze */
    .einsatz-entry { gap: 0.8rem; }
    .einsatz-icon { width: 32px; height: 32px; }
    .einsatz-icon svg { width: 16px; height: 16px; }

    /* Timeline (Geschichte) */
    .timeline { padding-left: 2rem; }
    .timeline-item::before { left: -2rem; }

    /* Vehicle detail */
    .vehicle-gallery { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }

    /* Footer */
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
}

/* Mobile */
@media (max-width: 600px) {
    section { padding: 2.5rem 1rem; }
    .container { padding: 0 1rem; }

    /* Hero */
    .hero h1 { font-size: clamp(2rem, 10vw, 3.5rem); }
    .hero p { font-size: 1rem; margin-bottom: 2rem; }

    /* Stats → 2 columns, smaller */
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat { padding: 1.5rem 1rem; }
    .stat-number { font-size: 2rem; }
    .stat-label { font-size: 0.7rem; letter-spacing: 1px; }

    /* Section titles */
    .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }

    /* Page header */
    .page-header { height: 25vh; min-height: 180px; padding-bottom: 1.5rem; }
    .page-header h1 { font-size: clamp(1.5rem, 6vw, 2rem); }

    /* Split text */
    .split-text p { font-size: 0.95rem; }

    /* Equipment cards */
    .equip-card { padding: 1.2rem; gap: 1rem; }
    .equip-icon { width: 40px; height: 40px; }
    .equip-name { font-size: 1rem; }
    .equip-desc { font-size: 0.8rem; }

    /* Cards */
    .card-grid { grid-template-columns: 1fr; }

    /* Data table (Mannschaft) */
    .data-table { font-size: 0.8rem; }
    .data-table th, .data-table td { padding: 0.5rem 0.6rem; }

    /* Timeline */
    .timeline { padding-left: 1.5rem; }
    .timeline-item::before { left: -1.5rem; width: 10px; height: 10px; }
    .timeline-year { font-size: 1.2rem; }
    .timeline-text { font-size: 0.9rem; }
    .timeline-text ul { padding-left: 1.2rem; }

    /* Alarm levels */
    .alarm-level { padding: 2rem 0; gap: 1rem; }
    .alarm-level-title { font-size: 1.3rem; }

    /* Einsätze */
    .einsatz-stats { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
    .einsatz-stat { padding: 0.8rem; }
    .einsatz-stat-num { font-size: 1.5rem; }
    .einsatz-stat-label { font-size: 0.65rem; }
    .year-selector { gap: 0.3rem; }
    .year-btn { padding: 0.3rem 0.6rem; font-size: 0.8rem; }
    .einsatz-header h3 { font-size: 0.95rem; }
    .einsatz-meta { gap: 0.3rem 0.8rem; }
    .einsatz-meta-item { font-size: 0.75rem; }

    /* Contact */
    .contact-info-item { gap: 0.8rem; }

    /* Vehicle detail */
    .vehicle-specs td { font-size: 0.8rem; padding: 0.4rem 0; }
    .vehicle-specs td:first-child { font-size: 0.7rem; }
    .vehicle-gallery { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }

    /* W-questions (Wenn es brennt) */
    .w-questions { grid-template-columns: 1fr; }

    /* Callout */
    .callout { padding: 1.2rem 1.5rem; }
    .callout h3 { font-size: 1rem; }
    .callout p { font-size: 0.85rem; }

    /* Prose (inner pages) */
    .prose p { font-size: 0.9rem; }
    .prose h2 { font-size: 1.3rem; }
    .prose h3 { font-size: 1.1rem; }

    /* Footer */
    footer { padding: 2rem 1rem; }
    .footer-brand span { font-size: 0.85rem; }
    .footer-desc { font-size: 0.8rem; }
}
