/* ============================================
   FEUERWEHR ELBE-HEIDE PRÄSENTATION
   Custom Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
    /* Akzentfarben - heller für bessere Lesbarkeit */
    --fire-red: #ff6b6b;
    --fire-red-bright: #ff8585;
    --fire-red-dark: #dc3545;
    --fire-red-light: #ffa0a0;

    /* Hintergrundfarben */
    --bs-body-bg: #1a1d21;
    --bs-body-bg-light: #252a30;

    /* Textfarben - hoher Kontrast */
    --bs-body-color: #ffffff;
    --bs-secondary-color: #c5cdd5;
    --text-muted: #9ca3ab;

    /* Sonstige */
    --bs-border-color: #3d444d;
    --transition-speed: 0.3s;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);

    /* Schriftgrößen */
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-sm: 0.925rem;
}

/* --- Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.7;
    letter-spacing: 0.01em;
}

/* Bessere Lesbarkeit für alle Texte */
p, li, span {
    color: var(--bs-body-color);
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-secondary {
    color: var(--bs-secondary-color) !important;
}

/* --- Utility Classes --- */
.text-fire {
    color: var(--fire-red) !important;
}

.bg-fire {
    background-color: var(--fire-red) !important;
}

/* --- Navigation --- */
.navbar {
    background: rgba(33, 37, 41, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--bs-border-color);
    padding: 0.75rem 1rem;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.1rem;
}

.navbar-brand i {
    color: var(--fire-red);
}

.slide-counter {
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
    font-weight: 500;
}

.nav-controls .btn {
    padding: 0.375rem 0.75rem;
}

.nav-controls .btn:hover {
    background-color: var(--fire-red);
    border-color: var(--fire-red);
}

/* --- Slides Container --- */
.slides-container {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* --- Individual Slides --- */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 2rem 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.slide.prev {
    transform: translateX(-50px);
}

.slide-content {
    max-width: 1200px;
    width: 100%;
    animation: fadeInUp 0.6s ease-out;
}

.slide-content-map {
    max-width: 1600px;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 100px);
    padding-top: 0;
}

.slide-title {
    color: var(--bs-body-color);
    font-weight: 700;
    font-size: 2.25rem;
}

.slide-title i {
    color: var(--fire-red-bright);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* --- Slide 1: Hero / Start --- */
#slide-1 .hero-icon {
    font-size: 6rem;
    color: var(--fire-red-bright);
    animation: pulse 2s ease-in-out infinite;
}

#slide-1 h1 {
    background: linear-gradient(135deg, var(--fire-red-bright), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#slide-1 .lead {
    color: var(--bs-secondary-color) !important;
    font-size: 1.35rem;
}

.btn-fire {
    background: linear-gradient(135deg, var(--fire-red), var(--fire-red-dark));
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all var(--transition-speed);
    box-shadow: var(--shadow-md);
}

.btn-fire:hover {
    background: linear-gradient(135deg, var(--fire-red-bright), var(--fire-red));
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* --- Slide 2: Theory (FwDV 3 & DV 100) --- */
.slide-content-theory {
    max-width: 1400px;
}

.theory-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.theory-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.theory-image img {
    max-width: 100%;
    height: auto;
    max-height: 70vh;
}

.theory-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.theory-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bs-body-bg-light);
    border-radius: 10px;
    transition: all var(--transition-speed);
}

.theory-item:hover {
    transform: translateX(5px);
    background: var(--bs-body-bg);
}

.theory-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.theory-badge.verband {
    background: linear-gradient(135deg, var(--fire-red), var(--fire-red-dark));
}

.theory-badge.zug {
    background: linear-gradient(135deg, #198754, #146c43);
}

.theory-badge.gruppe {
    background: linear-gradient(135deg, #6c757d, #5a6268);
}

.theory-text {
    flex: 1;
}

.theory-text h4 {
    margin: 0 0 0.35rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.theory-text p {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: var(--bs-secondary-color);
    line-height: 1.5;
}

.theory-strength {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    background: var(--fire-red);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.theory-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--bs-secondary-color);
    margin-top: 0.5rem;
}

.theory-note i {
    color: var(--fire-red-bright);
    font-size: 1.1rem;
}

/* Responsive für Theory Slide */
@media (max-width: 992px) {
    .theory-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .theory-image img {
        max-height: 300px;
    }

    .theory-item {
        padding: 0.85rem 1rem;
    }

    .theory-badge {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .theory-text h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .theory-image img {
        max-height: 220px;
    }

    .theory-badge {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .theory-text h4 {
        font-size: 1rem;
    }

    .theory-text p {
        font-size: 0.9rem;
    }
}

/* --- Slide 3: Map --- */
.map-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--bs-body-color);
}

.legend-marker {
    width: 18px;
    height: 22px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    border: 2px solid #fff;
}

.legend-marker.red {
    background: #dc3545;
}

.legend-marker.yellow {
    background: #ffc107;
}

#map-container {
    flex: 1;
    min-height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--bs-border-color);
}

#slide-3 .slide-title {
    margin-bottom: 1rem !important;
}

/* Leaflet Popup Styling */
.leaflet-popup-content-wrapper {
    background: var(--bs-body-bg-light);
    color: var(--bs-body-color);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.leaflet-popup-tip {
    background: var(--bs-body-bg-light);
}

.leaflet-popup-content {
    margin: 12px 16px;
    text-align: center;
}

.leaflet-popup-content b {
    color: #ffffff;
    font-size: 1.1rem;
}

.popup-badge {
    display: inline-block;
    margin-top: 0.4rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.popup-badge.zwei-gruppen {
    background: #ffc107;
    color: #000;
}

.popup-badge.loeschgruppe {
    background: #6c757d;
    color: #fff;
}

/* Marker Styles */
.fire-marker-yellow svg {
    filter: drop-shadow(0 3px 6px rgba(255, 193, 7, 0.5));
}

.fire-marker-red svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

/* Zoom Controls Styling */
.leaflet-control-zoom {
    border: none !important;
    box-shadow: var(--shadow-md) !important;
}

.leaflet-control-zoom a {
    background: var(--bs-body-bg-light) !important;
    color: #ffffff !important;
    border: none !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 1.2rem !important;
}

.leaflet-control-zoom a:hover {
    background: var(--fire-red) !important;
}

.leaflet-control-zoom-in {
    border-radius: 6px 6px 0 0 !important;
}

.leaflet-control-zoom-out {
    border-radius: 0 0 6px 6px !important;
}

/* --- Slide 4: Feuerwehrzüge --- */
.slide-content-zuege {
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
}

/* Zug Tabs Navigation */
.zug-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.zug-tab {
    background: var(--bs-body-bg-light);
    border: 2px solid var(--bs-border-color);
    border-radius: 10px;
    padding: 0.85rem 1.5rem;
    color: var(--bs-body-color);
    font-weight: 600;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
}

.zug-tab span {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.zug-tab:hover {
    border-color: var(--fire-red);
    background: rgba(255, 107, 107, 0.1);
}

.zug-tab.active {
    background: linear-gradient(135deg, var(--fire-red), var(--fire-red-dark));
    border-color: var(--fire-red);
    color: #fff;
}

.zug-tab.active span {
    color: rgba(255, 255, 255, 0.85);
}

/* Zug Content Wrapper */
.zug-content-wrapper {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.zug-content {
    display: none;
    animation: fadeInUp 0.4s ease-out;
}

.zug-content.active {
    display: block;
}

/* Zug Header & Summary */
.zug-header {
    margin-bottom: 1.5rem;
}

.zug-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.zug-summary {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.zug-summary span {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--bs-body-color);
}

.zug-summary span i {
    font-size: 1.5rem;
    color: var(--fire-red-bright);
}

/* Zug Table */
.zug-table {
    width: 100%;
    background: var(--bs-body-bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.zug-table table {
    width: 100%;
    border-collapse: collapse;
}

.zug-table thead {
    background: linear-gradient(135deg, var(--fire-red), var(--fire-red-dark));
}

.zug-table th {
    padding: 1.1rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.15rem;
    color: #fff;
    white-space: nowrap;
}

.zug-table th:first-child {
    text-align: left;
    padding-left: 1.5rem;
}

.zug-table tbody tr {
    border-bottom: 1px solid var(--bs-border-color);
    transition: background var(--transition-speed);
}

.zug-table tbody tr:last-child {
    border-bottom: none;
}

.zug-table tbody tr:hover {
    background: rgba(255, 107, 107, 0.08);
}

.zug-table td {
    padding: 1rem 1rem;
    text-align: center;
    font-size: 1.15rem;
    color: var(--bs-body-color);
}

.zug-table td:first-child {
    text-align: left;
    padding-left: 1.5rem;
    font-weight: 600;
    font-size: 1.2rem;
    color: #fff;
}

/* Farbige Werte in Tabelle */
.zug-table .val-gf {
    color: var(--fire-red-bright);
    font-weight: 600;
}

.zug-table .val-zf {
    color: #4ade80;
    font-weight: 600;
}

.zug-table .val-vf {
    color: #fbbf24;
    font-weight: 600;
}

.zug-table .val-fz {
    color: #60a5fa;
    font-weight: 600;
}

.zug-table .val-mitglieder {
    font-weight: 700;
    color: #fff;
}

/* Summen-Zeile */
.zug-table tfoot {
    background: var(--bs-body-bg);
    border-top: 2px solid var(--fire-red);
}

.zug-table tfoot td {
    padding: 1.1rem 1rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.zug-table tfoot td:first-child {
    color: var(--fire-red-bright);
    font-size: 1.25rem;
}

/* Zug Gesamt Übersicht */
.zug-gesamt {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.gesamt-item,
.zug-gesamt-item {
    background: var(--bs-body-bg-light);
    border-radius: 12px;
    padding: 1.5rem 2.25rem;
    text-align: center;
    min-width: 150px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--fire-red);
}

.gesamt-value,
.zug-gesamt-value {
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.gesamt-label,
.zug-gesamt-label {
    font-size: 1.15rem;
    color: var(--bs-secondary-color);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Hinweis unter Gesamtübersicht */
.zug-hinweis {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.6rem 1rem;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--bs-secondary-color);
}

.zug-hinweis i {
    color: #60a5fa;
    font-size: 1rem;
}

/* Responsive Züge */
@media (max-width: 992px) {
    .zug-tabs {
        gap: 0.35rem;
    }

    .zug-tab {
        padding: 0.6rem 0.9rem;
        min-width: 100px;
        font-size: 0.9rem;
    }

    .zug-tab span {
        font-size: 0.7rem;
    }

    .zug-table th,
    .zug-table td {
        padding: 0.65rem 0.5rem;
        font-size: 0.9rem;
    }

    .zug-gesamt {
        gap: 0.75rem;
    }

    .zug-gesamt-item {
        padding: 0.75rem 1rem;
        min-width: 100px;
    }

    .zug-gesamt-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .zug-tab {
        min-width: 80px;
        padding: 0.5rem 0.6rem;
    }

    .zug-tab span {
        display: none;
    }

    .zug-table {
        font-size: 0.85rem;
    }

    .zug-table th,
    .zug-table td {
        padding: 0.5rem 0.35rem;
    }

    .zug-gesamt-item {
        min-width: 80px;
        padding: 0.6rem 0.75rem;
    }

    .zug-gesamt-value {
        font-size: 1.25rem;
    }

    .zug-gesamt-label {
        font-size: 0.75rem;
    }
}

/* --- Slide 5: SOLL/IST Vergleich --- */
.slide-content-vergleich {
    max-width: 1200px;
}

.vergleich-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.vergleich-card {
    background: var(--bs-body-bg-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.vergleich-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vergleich-header i {
    font-size: 2rem;
}

.vergleich-header h4 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.vergleich-header.gf {
    background: linear-gradient(135deg, var(--fire-red), var(--fire-red-dark));
}

.vergleich-header.zf {
    background: linear-gradient(135deg, #198754, #146c43);
}

.vergleich-header.vf {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #000;
}

.vergleich-header.vf i,
.vergleich-header.vf h4 {
    color: #000;
}

.vergleich-body {
    padding: 1.5rem;
}

.vergleich-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--bs-border-color);
}

.vergleich-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.vergleich-label {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--bs-secondary-color);
}

.vergleich-value {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.vergleich-value.soll {
    color: var(--bs-secondary-color);
}

.vergleich-value.ist {
    color: #fff;
}

.vergleich-row.differenz {
    background: rgba(255, 255, 255, 0.05);
    margin: 0.5rem -1.5rem 0;
    padding: 1rem 1.5rem;
    border-radius: 0 0 0 0;
}

.vergleich-row.differenz.positiv .vergleich-value {
    color: #4ade80;
}

.vergleich-row.differenz.negativ .vergleich-value {
    color: var(--fire-red-bright);
}

.vergleich-footer {
    padding: 1rem 1.5rem;
    background: var(--bs-body-bg);
    border-top: 1px solid var(--bs-border-color);
}

.lehrgang-bedarf {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: var(--fire-red-bright);
    font-weight: 500;
}

.lehrgang-bedarf i {
    font-size: 1.25rem;
}

.vergleich-footer.erfuellt .lehrgang-bedarf {
    color: #4ade80;
}

/* Vergleich Fazit Box */
.vergleich-fazit {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(251, 191, 36, 0.05));
    border: 2px solid rgba(251, 191, 36, 0.4);
    border-radius: 16px;
    margin-top: 0.5rem;
}

.fazit-icon {
    flex-shrink: 0;
}

.fazit-icon i {
    font-size: 2.5rem;
    color: #fbbf24;
}

.fazit-text h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fbbf24;
}

.fazit-text p {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--bs-body-color);
}

.fazit-text strong {
    color: #fff;
}

/* Responsive Vergleich */
@media (max-width: 992px) {
    .vergleich-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .vergleich-fazit {
        flex-direction: column;
        text-align: center;
    }

    .fazit-icon {
        align-self: center;
    }
}

/* --- Slide 6: Aufgaben der Gemeindewehrleitung --- */
.slide-content-aufgaben {
    max-width: 1400px;
}

.aufgaben-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.aufgaben-card {
    background: var(--bs-body-bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.aufgaben-card.gwl-card {
    border: 2px solid rgba(255, 193, 7, 0.5);
    box-shadow: var(--shadow-md), 0 0 20px rgba(255, 193, 7, 0.15);
}

.aufgaben-header {
    padding: 1rem;
    background: var(--bs-body-bg);
    border-bottom: 1px solid var(--bs-border-color);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.gwl-card .aufgaben-header {
    background: rgba(255, 193, 7, 0.1);
    border-bottom-color: rgba(255, 193, 7, 0.3);
}

.aufgaben-sterne {
    color: #ffc107;
    font-size: 0.9rem;
    flex-shrink: 0;
    padding-top: 0.2rem;
}

.aufgaben-person {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.aufgaben-person strong {
    font-size: 1.2rem;
    color: #fff;
}

.aufgaben-person span {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.3;
    margin-left: -2rem;
}

.gwl-card .aufgaben-person strong {
    color: #ffc107;
}

.aufgaben-liste {
    list-style: none;
    padding: 1rem;
    margin: 0;
    flex: 1;
}

.aufgaben-liste li {
    padding: 0.5rem 0;
    padding-left: 1.4rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--bs-body-color);
    line-height: 1.45;
}

.aufgaben-liste li::before {
    content: '\F26A';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--fire-red-bright);
    font-size: 0.75rem;
    top: 0.6rem;
}

.gwl-card .aufgaben-liste li::before {
    color: #ffc107;
}

.aufgaben-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--bs-body-bg-light);
    border-radius: 10px;
    font-size: 1.1rem;
    color: var(--bs-secondary-color);
}

.aufgaben-footer i {
    color: #60a5fa;
    font-size: 1.25rem;
}

/* Einsatzleitdienst Highlight Box */
.einsatzleitdienst-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 107, 107, 0.1));
    border: 2px solid var(--fire-red);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.einsatzleitdienst-box i {
    font-size: 2rem;
    color: var(--fire-red-bright);
}

.einsatzleitdienst-box span {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.einsatzleitdienst-box strong {
    color: var(--fire-red-bright);
}

/* Responsive Aufgaben */
@media (max-width: 1200px) {
    .aufgaben-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .aufgaben-card.gwl-card {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .aufgaben-grid {
        grid-template-columns: 1fr;
    }

    .aufgaben-card.gwl-card {
        grid-column: span 1;
    }
}

/* --- Slide 7: Verbandsführer --- */
.slide-content-vf {
    max-width: 1300px;
}

.vf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.vf-table-container {
    background: var(--bs-body-bg-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.vf-table {
    width: 100%;
    border-collapse: collapse;
}

.vf-table thead {
    background: linear-gradient(135deg, #ffc107, #e0a800);
}

.vf-table th {
    padding: 0.9rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.05rem;
    color: #000;
}

.vf-table tbody tr {
    border-bottom: 1px solid var(--bs-border-color);
    transition: background var(--transition-speed);
}

.vf-table tbody tr:last-child {
    border-bottom: none;
}

.vf-table tbody tr:hover {
    background: rgba(255, 193, 7, 0.08);
}

.vf-table tbody tr.gwl {
    background: rgba(255, 193, 7, 0.15);
}

.vf-table tbody tr.gwl:hover {
    background: rgba(255, 193, 7, 0.2);
}

.vf-table tbody tr.stv {
    background: rgba(255, 193, 7, 0.08);
}

.vf-table td {
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    color: var(--bs-body-color);
}

.vf-table td:first-child {
    font-weight: 600;
    color: #fff;
}

.vf-table td:nth-child(2) {
    font-weight: 500;
}

/* Sterne für GWL/Stellvertreter */
.sterne {
    color: #ffc107;
    margin-right: 0.4rem;
}

.sterne i {
    font-size: 0.85rem;
}

.dienstgrad {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fbbf24;
}

/* Zusätzlich ausgebildet Box */
.vf-zusatz-box {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(96, 165, 250, 0.05));
    border: 2px solid rgba(96, 165, 250, 0.5);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.zusatz-header {
    background: rgba(96, 165, 250, 0.2);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(96, 165, 250, 0.3);
}

.zusatz-header i {
    font-size: 1.4rem;
    color: #60a5fa;
}

.zusatz-header span {
    font-size: 1.15rem;
    font-weight: 600;
    color: #60a5fa;
}

.zusatz-content {
    padding: 1rem 1.25rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.zusatz-person-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: var(--bs-body-bg);
    border-radius: 8px;
    border-left: 3px solid #60a5fa;
}

.person-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.person-ort {
    font-size: 1rem;
    color: var(--text-muted);
}

.person-grad {
    font-size: 0.9rem;
    padding: 0.2rem 0.6rem;
    background: rgba(96, 165, 250, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.4);
    border-radius: 4px;
    color: #60a5fa;
    font-weight: 500;
}

/* Legende */
.vf-legende {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding: 1rem;
    background: var(--bs-body-bg-light);
    border-radius: 10px;
}

.vf-legende span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--bs-secondary-color);
}

.vf-legende i {
    color: #ffc107;
    font-size: 0.9rem;
}

/* Responsive VF */
@media (max-width: 992px) {
    .vf-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .vf-table th,
    .vf-table td {
        padding: 0.6rem 0.75rem;
        font-size: 0.95rem;
    }

    .vf-legende {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}

/* --- Slide 7: Dynamics --- */
.dynamics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.dynamics-card {
    background: var(--bs-body-bg-light);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed);
    border: 2px solid transparent;
}

.dynamics-card:hover {
    border-color: var(--fire-red);
    transform: translateY(-5px);
}

.dynamics-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

.dynamics-icon.small-incident {
    color: #ffc107;
}

.dynamics-icon.medium-incident {
    color: #fd7e14;
}

.dynamics-icon.large-incident {
    color: var(--fire-red);
}

.dynamics-card h4 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.dynamics-card > p.text-muted {
    font-size: 1rem;
}

.dynamics-structure {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.structure-box {
    background: var(--bs-body-bg);
    border: 2px solid var(--bs-border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    transition: all var(--transition-speed);
}

.structure-box i {
    color: var(--fire-red-bright);
}

.structure-box.small {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.structure-box.highlight {
    background: linear-gradient(135deg, var(--fire-red-dark), var(--fire-red));
    border-color: var(--fire-red);
}

.structure-box.highlight i {
    color: white;
}

.structure-arrow {
    color: var(--bs-secondary-color);
}

.structure-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* --- Slide 6: Arguments & Stats --- */
.arguments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.argument-card {
    background: var(--bs-body-bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
    border-left: 4px solid var(--fire-red);
}

.argument-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.argument-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--fire-red), var(--fire-red-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.argument-icon i {
    font-size: 1.5rem;
    color: white;
}

.argument-card h5 {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.argument-card p {
    color: var(--bs-body-color);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    background: var(--bs-body-bg-light);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--fire-red);
    transition: all var(--transition-speed);
}

.stat-card:hover {
    transform: scale(1.05);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--bs-body-color);
    font-weight: 600;
}

/* --- Slide 7: Führungsmittel --- */
.slide-content-fuehrungsmittel {
    max-width: 1300px;
}

.fuehrungsmittel-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.fm-card {
    background: var(--bs-body-bg-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.fm-card.fm-elw {
    border: 2px solid rgba(255, 107, 107, 0.4);
}

.fm-card.fm-kdow {
    border: 2px solid rgba(96, 165, 250, 0.4);
}

.fm-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bs-body-bg);
}

.fm-elw .fm-header {
    border-bottom: 2px solid rgba(255, 107, 107, 0.3);
}

.fm-kdow .fm-header {
    border-bottom: 2px solid rgba(96, 165, 250, 0.3);
}

.fm-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fm-elw .fm-icon {
    background: linear-gradient(135deg, var(--fire-red), var(--fire-red-dark));
}

.fm-kdow .fm-icon {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
}

.fm-icon i {
    font-size: 1.75rem;
    color: #fff;
}

.fm-title h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.fm-title span {
    font-size: 1rem;
    color: var(--text-muted);
}

.fm-body {
    padding: 1.25rem 1.5rem;
    flex: 1;
}

.fm-beschreibung {
    font-size: 1.1rem;
    color: var(--bs-secondary-color);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.fm-ausstattung,
.fm-besatzung,
.fm-nutzer {
    margin-bottom: 1rem;
}

.fm-ausstattung h5,
.fm-besatzung h5,
.fm-nutzer h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--fire-red-bright);
    margin: 0 0 0.75rem 0;
}

.fm-kdow .fm-nutzer h5 {
    color: #60a5fa;
}

.ausstattung-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ausstattung-grid span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: var(--bs-body-bg);
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--bs-body-color);
}

.ausstattung-grid span i {
    color: var(--fire-red-bright);
    font-size: 0.9rem;
}

.fm-besatzung p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--bs-body-color);
}

.nutzer-liste {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.nutzer-liste span {
    padding: 0.5rem 1rem;
    background: rgba(96, 165, 250, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
}

.fm-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: rgba(255, 107, 107, 0.1);
    border-top: 1px solid rgba(255, 107, 107, 0.2);
    font-size: 0.95rem;
    color: var(--fire-red-bright);
}

.fm-footer i {
    font-size: 1rem;
}

/* Einsatz-Box */
.fm-einsatz-box {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(251, 191, 36, 0.05));
    border: 2px solid rgba(251, 191, 36, 0.4);
    border-radius: 12px;
    overflow: hidden;
}

.fm-einsatz-box .einsatz-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(251, 191, 36, 0.15);
    border-bottom: 1px solid rgba(251, 191, 36, 0.3);
}

.fm-einsatz-box .einsatz-header i {
    font-size: 1.5rem;
    color: #fbbf24;
}

.fm-einsatz-box .einsatz-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fbbf24;
}

.fm-einsatz-box .einsatz-content {
    padding: 1.25rem 1.5rem;
}

.fm-einsatz-box .einsatz-content p {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: var(--bs-body-color);
    line-height: 1.6;
}

.fm-einsatz-box .einsatz-content strong {
    color: #fbbf24;
}

.sachgebiete {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.sachgebiete .sg {
    padding: 0.5rem 1rem;
    background: var(--bs-body-bg);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--bs-secondary-color);
}

.sachgebiete .sg strong {
    color: #fbbf24;
    margin-right: 0.35rem;
}

/* Responsive Führungsmittel */
@media (max-width: 992px) {
    .fuehrungsmittel-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .fm-header {
        flex-direction: column;
        text-align: center;
    }

    .ausstattung-grid {
        justify-content: center;
    }

    .sachgebiete {
        justify-content: center;
    }
}

/* --- Slide 9: Problematik zu viele Führungskräfte --- */
.slide-content-problematik {
    max-width: 1300px;
}

.problematik-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.problem-card {
    background: var(--bs-body-bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--fire-red);
    transition: all var(--transition-speed);
}

.problem-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--fire-red-bright);
}

.problem-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--fire-red), var(--fire-red-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.problem-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.problem-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.problem-card p {
    font-size: 1.05rem;
    color: var(--bs-secondary-color);
    line-height: 1.5;
    margin: 0;
}

/* Problematik Fazit Box */
.problematik-fazit {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.15), rgba(74, 222, 128, 0.05));
    border: 2px solid rgba(74, 222, 128, 0.5);
    border-radius: 16px;
}

.fazit-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.fazit-stat .stat-label {
    font-size: 1rem;
    color: var(--bs-secondary-color);
    font-weight: 500;
}

.fazit-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--fire-red-bright);
}

.fazit-divider {
    width: 2px;
    height: 60px;
    background: rgba(74, 222, 128, 0.4);
    flex-shrink: 0;
}

.problematik-fazit .fazit-text {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
}

.problematik-fazit .fazit-text i {
    font-size: 2rem;
    color: #4ade80;
    flex-shrink: 0;
}

.problematik-fazit .fazit-text p {
    margin: 0;
    font-size: 1.2rem;
    color: var(--bs-body-color);
    line-height: 1.6;
}

.problematik-fazit .fazit-text strong {
    color: #4ade80;
}

/* Responsive Problematik */
@media (max-width: 1200px) {
    .problematik-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .problematik-grid {
        grid-template-columns: 1fr;
    }

    .problematik-fazit {
        flex-direction: column;
        text-align: center;
    }

    .fazit-divider {
        width: 80%;
        height: 2px;
    }

    .problematik-fazit .fazit-text {
        flex-direction: column;
        align-items: center;
    }
}

/* --- Slide 9: Fazit --- */
.slide-content-fazit {
    max-width: 1400px;
}

.fazit-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* Linke Seite: Kernaussagen */
.fazit-punkte {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.fazit-punkt {
    display: flex;
    gap: 1.25rem;
    background: var(--bs-body-bg-light);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
    border-left: 4px solid transparent;
}

.fazit-punkt:hover {
    border-left-color: var(--fire-red);
    transform: translateX(5px);
}

.punkt-nummer {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--fire-red), var(--fire-red-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.punkt-content h4 {
    margin: 0 0 0.4rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.punkt-content p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--bs-secondary-color);
    line-height: 1.5;
}

/* Rechte Seite: Sidebar */
.fazit-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Statistik-Box */
.fazit-stats-box {
    background: var(--bs-body-bg-light);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.fazit-stats-box h5 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--fire-red-bright);
}

.fazit-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.fazit-stat-item {
    text-align: center;
    padding: 0.75rem;
    background: var(--bs-body-bg);
    border-radius: 8px;
}

.fazit-stat-item .stat-num {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.fazit-stat-item .stat-lbl {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    display: block;
}

/* Quellen-Box */
.fazit-quellen-box {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(96, 165, 250, 0.05));
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
}

.fazit-quellen-box h5 {
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #60a5fa;
}

.quellen-liste {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quellen-liste li {
    padding: 0.4rem 0;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--bs-secondary-color);
    line-height: 1.4;
}

.quellen-liste li::before {
    content: '\F287';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: #60a5fa;
    font-size: 0.7rem;
    top: 0.55rem;
}

.quellen-liste li strong {
    color: #fff;
}

/* Danke-Box */
.fazit-danke {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.15), rgba(74, 222, 128, 0.05));
    border: 2px solid rgba(74, 222, 128, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.fazit-danke i {
    font-size: 3rem;
    color: #4ade80;
    margin-bottom: 0.5rem;
}

.fazit-danke h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.fazit-danke p {
    margin: 0;
    font-size: 1rem;
    color: var(--bs-secondary-color);
}

/* Responsive Fazit */
@media (max-width: 992px) {
    .fazit-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .fazit-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .fazit-stats-box,
    .fazit-quellen-box {
        flex: 1;
        min-width: 280px;
    }

    .fazit-danke {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .fazit-punkt {
        flex-direction: column;
        text-align: center;
    }

    .punkt-nummer {
        margin: 0 auto;
    }

    .fazit-sidebar {
        flex-direction: column;
    }

    .fazit-stats-box,
    .fazit-quellen-box {
        min-width: auto;
    }
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .slide {
        padding: 70px 1.5rem 1.5rem;
    }

    .slide-title {
        font-size: 1.6rem;
    }

    .org-chart {
        flex-direction: column;
        align-items: center;
    }

    .org-connection {
        transform: rotate(90deg);
        min-width: auto;
        min-height: 80px;
    }

    .org-block {
        max-width: 100%;
    }

    .pyramid-box {
        min-width: 100px;
        padding: 0.75rem 1rem;
    }

    .pyramid-box .box-title {
        font-size: 0.95rem;
    }

    .level-4 .pyramid-box {
        min-width: 80px;
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 768px) {
    #slide-1 .hero-icon {
        font-size: 4rem;
    }

    #slide-1 h1 {
        font-size: 2rem;
    }

    .slide-title {
        font-size: 1.5rem;
    }

    .dynamics-grid,
    .arguments-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pyramid-level {
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 2.75rem;
    }

    .fazit-item p {
        font-size: 1rem;
    }

    .theory-desc {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .slide {
        padding: 60px 1rem 1rem;
    }

    .navbar-brand {
        font-size: 0.95rem;
    }

    .btn-fire {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .fazit-item {
        flex-direction: column;
        text-align: center;
    }
}
