:root {
    --primary-red: #e30613;
    --primary-red-hover: #c40510;

    /* Default Theme (Light) */
    --bg-page: #f8f9fa;
    --bg-card: #ffffff;
    --bg-header: #e30613;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --text-on-red: #ffffff;
    --border-color: rgba(0, 0, 0, 0.05);

    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --text-white: #ffffff;
    --text-dark: #2d3436;
    --bg-dark: #1a1a1b;
    --bg-light: #f8f9fa;
}

[data-theme="dark"] {
    --bg-page: #000000;
    --bg-card: #000000;
    --bg-header: #000000;
    --bg-light: #000000;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-on-red: #ffffff;
    --border-color: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-page);
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header */
.header {
    background-color: var(--bg-header);
    color: var(--text-on-red);
    padding: 1rem 5%;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links li a {
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-links li a:hover {
    opacity: 0.8;
}

/* Dropdown Navigation */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-card);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    z-index: 1000;
    top: 100%;
    left: 0;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.dropdown-content a {
    color: var(--text-main) !important;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: var(--bg-light);
    color: var(--primary-red) !important;
    padding-left: 20px;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-admin {
    background-color: var(--bg-dark);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.btn-notruf {
    background-color: var(--text-white);
    color: var(--primary-red);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/auto.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    padding: 0 10%;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 2rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--text-white);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
}

.btn-secondary {
    background-color: var(--glass-bg);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

/* Stats Overlay Boxes */
.stats-overlay {
    display: flex;
    gap: 2rem;
    margin-top: 4rem;
}

.stat-box {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mission Section */
.mission {
    padding: 5rem 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.mission-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-red);
}

.mission-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    background-color: rgba(227, 6, 19, 0.1);
    color: var(--primary-red);
    padding: 0.8rem;
    border-radius: 8px;
}

/* Einsatzbereiche */
.einsatzbereiche {
    padding: 5rem 10%;
    background-color: var(--bg-card);
    text-align: center;
}

.einsatz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.einsatz-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: left;
    transition: var(--transition);
    border: 1px solid transparent;
}

.einsatz-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: var(--shadow-md);
}

.einsatz-icon {
    background-color: var(--primary-red);
    color: var(--text-white);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* Team Section */
.team {
    padding: 5rem 10%;
    background-color: var(--bg-light);
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.team-img {
    height: 300px;
    background-color: #ddd;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition);
}

.team-card:hover .team-img img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
    text-align: left;
}

.team-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-info span {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.9rem;
}

.team-info p {
    margin-top: 1rem;
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Statistics Banner */
.stats-banner {
    background-color: var(--bg-card);
    padding: 4rem 10%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.stat-item h2 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-gray);
    font-weight: 500;
}

/* CTA Section */
.cta {
    background-color: var(--primary-red);
    color: var(--text-white);
    padding: 5rem 10%;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-white {
    background-color: var(--text-white);
    color: var(--primary-red);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 5rem 10% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-red);
}

.footer-col p {
    opacity: 0.7;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links li a {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links li a:hover {
    opacity: 1;
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-notruf {
    background-color: var(--primary-red);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.footer-notruf h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.5;
}

.footer-legal {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 10%;
    background: var(--bg-card);
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.notruf-badge {
    background: var(--primary-red);
    color: #fff;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    text-align: center;
}

.notruf-number {
    font-size: 3rem;
    font-weight: 800;
    margin: 1rem 0;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-icon {
    background: rgba(227, 6, 19, 0.1);
    color: var(--primary-red);
    padding: 0.8rem;
    border-radius: 12px;
}

.info-text strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
}

.contact-form-card {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
    margin-bottom: 2rem;
}

.contact-form-card .form-group {
    margin-bottom: 1.5rem;
}

.contact-form-card label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    border-color: var(--primary-red);
    outline: none;
}

/* Theme Toggle Button */
.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: inherit;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(15deg);
}

/* Detail Modal / Lightbox */
.detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.detail-content {
    background: var(--bg-card);
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    border-radius: 24px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.close-detail {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
}

.main-detail-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.thumb-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
}

.thumb-img:hover,
.thumb-img.active {
    opacity: 1;
    transform: scale(1.05);
}

.detail-info {
    padding: 0 2rem 2rem;
}

.detail-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

.detail-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.detail-desc {
    line-height: 1.8;
    color: var(--text-main);
    white-space: pre-line;
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 900px) {
    .header {
        padding: 0.8rem 5%;
    }

    .mobile-menu-btn {
        display: block;
        order: -1;
        /* Vor dem Logo */
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-header);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }

    nav.active .nav-links {
        display: flex;
    }

    .nav-right {
        gap: 0.5rem;
    }

    .btn-notruf span {
        display: none;
        /* Nur Icon auf Handy */
    }

    .btn-admin {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    /* Hero Anpassung */
    .hero h1 {
        font-size: 2.2rem;
    }

    .stats-overlay {
        display: none;
        /* Zu viel Text für kleine Screens */
    }

    /* Grid Anpassungen */
    .mission {
        grid-template-columns: 1fr;
        padding: 3rem 5%;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .stats-banner {
        grid-template-columns: repeat(2, 1fr);
    }
}\ n / *   C o o k i e   B a n n e r   O p t i o n s   * / \ n . c o o k i e - b a n n e r   { \ n         p o s i t i o n :   f i x e d ; \ n         b o t t o m :   0 ; \ n         l e f t :   0 ; \ n         r i g h t :   0 ; \ n         b a c k g r o u n d - c o l o r :   v a r ( - - b g - c a r d ) ; \ n         b o x - s h a d o w :   0   - 4 p x   1 5 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 ) ; \ n         z - i n d e x :   9 9 9 9 ; \ n         p a d d i n g :   1 . 5 r e m ; \ n         d i s p l a y :   f l e x ; \ n         j u s t i f y - c o n t e n t :   c e n t e r ; \ n         a l i g n - i t e m s :   c e n t e r ; \ n         b o r d e r - t o p :   1 p x   s o l i d   v a r ( - - b o r d e r - c o l o r ) ; \ n         t r a n s i t i o n :   t r a n s f o r m   0 . 5 s   e a s e ,   o p a c i t y   0 . 5 s   e a s e ; \ n } \ n \ n . c o o k i e - b a n n e r - h i d i n g   { \ n         t r a n s f o r m :   t r a n s l a t e Y ( 1 0 0 % ) ; \ n         o p a c i t y :   0 ; \ n } \ n \ n . c o o k i e - c o n t e n t   { \ n         m a x - w i d t h :   1 2 0 0 p x ; \ n         w i d t h :   1 0 0 % ; \ n         d i s p l a y :   f l e x ; \ n         j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ; \ n         a l i g n - i t e m s :   c e n t e r ; \ n         g a p :   2 r e m ; \ n         f l e x - w r a p :   w r a p ; \ n } \ n \ n . c o o k i e - t e x t   h 3   { \ n         f o n t - s i z e :   1 . 2 5 r e m ; \ n         m a r g i n - b o t t o m :   0 . 5 r e m ; \ n         c o l o r :   v a r ( - - t e x t - m a i n ) ; \ n } \ n \ n . c o o k i e - t e x t   p   { \ n         f o n t - s i z e :   0 . 9 5 r e m ; \ n         c o l o r :   v a r ( - - t e x t - m u t e d ) ; \ n         m a r g i n - b o t t o m :   0 . 5 r e m ; \ n         m a x - w i d t h :   8 0 0 p x ; \ n         l i n e - h e i g h t :   1 . 5 ; \ n } \ n \ n . c o o k i e - l i n k   { \ n         c o l o r :   v a r ( - - p r i m a r y - r e d ) ; \ n         t e x t - d e c o r a t i o n :   u n d e r l i n e ; \ n         f o n t - s i z e :   0 . 9 r e m ; \ n } \ n \ n . c o o k i e - b u t t o n s   { \ n         d i s p l a y :   f l e x ; \ n         g a p :   1 r e m ; \ n         f l e x - w r a p :   w r a p ; \ n } \ n \ n . b t n - c o o k i e   { \ n         p a d d i n g :   0 . 7 5 r e m   1 . 5 r e m ; \ n         b o r d e r :   n o n e ; \ n         b o r d e r - r a d i u s :   8 p x ; \ n         f o n t - w e i g h t :   6 0 0 ; \ n         c u r s o r :   p o i n t e r ; \ n         t r a n s i t i o n :   v a r ( - - t r a n s i t i o n ) ; \ n         f o n t - f a m i l y :   i n h e r i t ; \ n         f o n t - s i z e :   0 . 9 5 r e m ; \ n } \ n \ n . b t n - c o o k i e - a c c e p t   { \ n         b a c k g r o u n d - c o l o r :   v a r ( - - p r i m a r y - r e d ) ; \ n         c o l o r :   v a r ( - - t e x t - w h i t e ) ; \ n } \ n \ n . b t n - c o o k i e - a c c e p t : h o v e r   { \ n         b a c k g r o u n d - c o l o r :   v a r ( - - p r i m a r y - r e d - h o v e r ) ; \ n         t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x ) ; \ n } \ n \ n . b t n - c o o k i e - r e j e c t   { \ n         b a c k g r o u n d - c o l o r :   t r a n s p a r e n t ; \ n         b o r d e r :   1 p x   s o l i d   v a r ( - - b o r d e r - c o l o r ) ; \ n         c o l o r :   v a r ( - - t e x t - m a i n ) ; \ n } \ n \ n . b t n - c o o k i e - r e j e c t : h o v e r   { \ n         b a c k g r o u n d - c o l o r :   v a r ( - - b g - l i g h t ) ; \ n         t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x ) ; \ n } \ n \ n @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   { \ n         . c o o k i e - c o n t e n t   { \ n                 f l e x - d i r e c t i o n :   c o l u m n ; \ n                 a l i g n - i t e m s :   f l e x - s t a r t ; \ n                 g a p :   1 . 5 r e m ; \ n         } \ n         \ n         . c o o k i e - b u t t o n s   { \ n                 w i d t h :   1 0 0 % ; \ n                 f l e x - d i r e c t i o n :   c o l u m n ; \ n         } \ n         \ n         . b t n - c o o k i e   { \ n                 w i d t h :   1 0 0 % ; \ n         } \ n }  
 