/* Globale Variablen */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --dark-bg: #111111; /* Dunkler Hintergrund */
    --light-bg: #f8f9fa;
    --text-color: #dddddd; 
    --light-text: #cccccc; /* WCAG-Optimierung (etwas heller für Kontrast) */
    --neon-green: #39FF20; /* WCAG-Optimierung (leicht angepasst für Kontrast) */
    --neon-green-glow: rgba(57, 255, 32, 0.7);
    --transition: 0.3s ease-in-out;
}

/* Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: var(--dark-bg);
    color: var(--text-color);
    scroll-behavior: smooth;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: var(--neon-green);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: white;
}

/* --- Barrierefreiheit (WCAG) Optimierungen --- */

/* WCAG: Skiplink-Styling (versteckt, bis es fokussiert wird) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--neon-green);
    color: var(--dark-bg);
    padding: 8px 15px;
    z-index: 9999;
    text-decoration: none;
    transition: var(--transition);
}

.skip-link:focus {
    top: 0;
    outline: none; /* Kein doppelter Fokus-Ring */
}

/* WCAG: Sichtbarer Fokus-Indikator für Tastaturnutzer (WCAG 2.4.7) */
a:focus, 
button:focus, 
input:focus, 
select:focus, 
textarea:focus,
.gallery-item:focus {
    outline: 3px solid var(--neon-green); 
    outline-offset: 2px;
    box-shadow: 0 0 15px var(--neon-green-glow);
}

/* --- Header und Navigation (AKTUELLE ÄNDERUNG: Hintergrund Schwarz) --- */

#header {
    background-color: #000; /* Reines Schwarz */
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background-color var(--transition), box-shadow var(--transition);
}

#header.scrolled {
    background-color: #000; /* Auch beim Scrollen Schwarz */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Anpassung der LOGO-Größe */
.logo {
    line-height: 1;
}

.logo img {
    display: block; 
    height: auto; 
    max-width: 450px; 
    margin: 0; 
}


.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--neon-green);
    transition: width 0.3s;
    position: absolute;
    bottom: 0;
    left: 0;
}

.nav-links a:hover::after, .nav-links a:focus::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--neon-green);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
}

/* --- Hero Section --- */

/* Animation für Text (Sanftes Auftauchen) */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation für das Aufkommen des Hintergrundbildes */
@keyframes fadeInScale {
    0% {
        transform: scale(1.05);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hero {
    background: var(--dark-bg);
    color: white;
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100vh; /* Volle Höhe */
    display: flex;
    align-items: center; 
    justify-content: center;
}

/* Hintergrundbild-Overlay für das Bild */
.hero-car-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; 
    overflow: hidden; 
}

.hero-car-overlay img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: fadeInScale 2s ease-out forwards; 
    opacity: 0; 
    filter: brightness(0.65); /* Bild leicht abdunkeln */
}

/* Maskierung (Weicher Übergang oben und unten) */
.hero-mask-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    
    /* Der Magie-Moment: Transparenter Gradient von Oben und Unten */
    background: linear-gradient(
        to bottom, 
        var(--dark-bg) 0%,     
        transparent 15%,      
        transparent 85%,      
        var(--dark-bg) 0%   
    );
}

/* BILD: Steuert die Größe des animierten Bildes */
.animated-car {
    /* Das Bild nimmt maximal 100% der Breite seines Elternelements (.hero-car-overlay) ein */
    width: 100%; 
    /* Stellt sicher, dass das Seitenverhältnis beibehalten wird */
    height: auto; 
    
    /* Wenn Sie eine feste Skalierung wünschen, ändern Sie width z.B. auf 80vw */
    /* width: 80vw; */
}

/* Anpassung des Text-Containers, um ihn über allen Overlays zu positionieren */
.hero .container {
    position: relative;
    z-index: 2; 
    padding-top: 50px;
    padding-bottom: 50px;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.5rem;
    text-transform: uppercase;
    text-shadow: 0 0 20px var(--neon-green-glow);
    color: var(--neon-green);
    margin-bottom: 20px;
    opacity: 0; /* Für Animation Startzustand */
    animation: fadeUp 1s forwards 2.2s;
}

.hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 20px auto 40px;
    color: var(--light-text); 
    opacity: 0; /* Für Animation Startzustand */
    animation: fadeUp 1s forwards 2.4s;
}

.btn {
    display: inline-block;
    background-color: var(--neon-green);
    color: var(--dark-bg);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green-glow);
    opacity: 0; /* Für Animation Startzustand */
    animation: fadeUp 1s forwards 2.6s;
}

.btn:hover {
    background-color: var(--dark-bg);
    color: var(--neon-green);
    box-shadow: 0 0 20px var(--neon-green-glow);
}

/* --- Allgemeine Section Styles --- */

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--neon-green);
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(57, 255, 32, 0.5);
}

.section-title p {
    color: var(--light-text);
    font-size: 1.1rem;
}

/* --- Services Section (AKTUELLE ÄNDERUNG: Grid auf max. 2 Spalten beschränkt) --- */

/* In Ihrer style.css (Abschnitt Services Section) */
.services-grid {
    display: grid;
    
    /* NEUE REGEL: Erzwingt 3 Spalten mit gleichmäßiger Breite */
    grid-template-columns: repeat(3, 1fr); 
    
    gap: 20px;
    justify-content: center; 

/* Wichtig für die Zentrierung des Grids im Container */

    /* Zusätzlicher Schutz für sehr breite Bildschirme:
       Wenn die 6 Karten nur 3 Spalten füllen, sollte das Grid zentriert sein. */
}

.services-wrapper {
    /* 1. Setzt die maximale Breite des gesamten Kartenblocks */
    max-width: 800px; 
    
    /* 2. Zentriert den 800px breiten Block auf der Seite */
    margin: 0 auto; 
    
    /* Optional: Fügt etwas vertikalen Abstand hinzu, falls nötig */
    /* padding: 20px 0; */
}

.service-card {
    /* WICHTIG: Die Karte ist nun ein Link (a-Tag), muss entsprechend gestylt werden */
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
    border-top: 3px solid var(--neon-green);
    transition: transform 0.3s;
    display: flex; /* Flex-Layout für Icon, Text und Button */
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(57, 255, 32, 0.2);
    border-color: var(--neon-green); 
}

.service-icon {
    font-size: 3rem;
    color: var(--neon-green);
    margin-bottom: 15px;
}

.service-card h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 10px;
    color: white;
}

.service-card p {
    color: var(--light-text);
    flex-grow: 0.9rem; /* Lässt den Text Platz einnehmen */
    margin-bottom: 15px;
}

/* Styling für den "Details ansehen" Button in den Cards */
.btn-small {
    display: inline-block;
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    padding: 5px 15px;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 15px;
    transition: var(--transition);
}

.service-card:hover .btn-small {
    background-color: var(--neon-green);
    color: var(--dark-bg);
}

/* --- Lightbox / Modal Gallery --- */

.lightbox {
    /* Überlagert den gesamten Viewport */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* Dunkler, halbtransparenter Hintergrund */
    z-index: 1000; /* Stellt sicher, dass es über allem liegt */
    
    /* Zentriert den Inhalt */
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Standardmäßig versteckt */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.active {
    visibility: visible;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

#lightbox-image {
    max-width: 100%;
    max-height: 100vh; /* Nimmt maximal die Höhe des Viewports ein */
    display: block;
    border-radius: 5px;
}

/* Schließen-Button (X) */
.lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    transition: color 0.3s;
    z-index: 1001;
}

.lightbox-close:hover {
    color: var(--neon-green);
}

/* Navigations-Buttons (Pfeile) */
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
}

.lightbox-prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-next {
    right: 0;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: var(--neon-green);
    color: var(--dark-bg);
}

/* Responsivität für kleine Bildschirme */
@media (max-width: 768px) {
    .lightbox-prev, .lightbox-next {
        font-size: 16px;
        padding: 10px;
    }
}


/* --- Gallery Section --- */

.gallery {
    background-color: #0d0d0d;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    line-height: 0; /* Entfernt whitespace unter Bildern */
    transition: transform 0.3s;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    border: 3px solid var(--neon-green);
}

.gallery-item:hover .gallery-overlay, .gallery-item:focus .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green-glow);
}

/* --- Gallery Section - Hover-Effekt --- */

.gallery-item {
    /* ... bestehende Regeln wie border-radius, overflow: hidden, transition, etc. ... */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Leichter Basisschatten für Tiefe */
    transition: transform 0.3s, box-shadow 0.3s; /* Wichtig: box-shadow zur Transition hinzufügen */
}

.gallery-item:hover {
    transform: scale(1.03); /* Leichte Vergrößerung beibehalten */
    
    /* NEU: NEON GRÜNER SCHATTEN */
    box-shadow: 0 0 20px var(--neon-green-glow); 
    
    /* Optional: Fügt dem Bild im Hover-Zustand einen leichten Neon-Rand hinzu */
    outline: 2px solid var(--neon-green); 
    outline-offset: -2px; /* Zieht den Rand leicht nach innen */
}

/* WICHTIG: Neon-Glow-Variable */
/* Stellen Sie sicher, dass Sie diese Variable definiert haben, um den Effekt zu sehen: */
/* --neon-green-glow: rgba(117, 255, 203, 0.8); */

/* --- Gallery Section - Item Style --- */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    line-height: 0; 
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); 
    height: 200px; /* Behält die kompakte Höhe bei */

    /* NEU: Neon-grüne Linie am oberen Rand (wie bei den Service-Karten) */
    border-top: 5px solid var(--neon-green); 
}

.gallery-item:hover {
    transform: scale(1.03); 
    box-shadow: 0 0 20px var(--neon-green-glow); 
    outline: 2px solid var(--neon-green); 
    outline-offset: -2px; 
}
/* --- Gallery Section - Bildanpassung --- */

.gallery-item img {
    width: 100%;
    height: 100%;
    
    /* *WICHTIGE ÄNDERUNG*: 
       'contain' stellt sicher, dass das gesamte Bild sichtbar ist (es passt sich an die kürzere Seite der Box an).
       'cover' (vorher) schnitt Teile ab, um die Box komplett zu füllen. */
    object-fit: contain; 
    
    display: block;
    transition: transform 0.5s;
    
    /* NEU: Hintergrundfarbe hinzufügen, damit der freie Platz im Neon-Design ist */
    background-color: var(--dark-bg); /* Hintergrundfarbe für den leeren Platz */
    border-radius: 4px; /* Optional: Leichte Rundung auch für das Bild */
}

/* --- SCROLL-TO-TOP BUTTON (#myBtn) --- */
#myBtn {
    display: none; 
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99; 
    
    border: none;
    outline: none;
    cursor: pointer;
    
    width: 50px; 
    height: 50px;
    border-radius: 8px; 
    text-align: center;
    line-height: 1.1; 
    font-size: 0.8rem;
    font-weight: bold;

    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
    
    /* --- Normalzustand (NEU) --- */
    background-color: var(--neon-green); /* Button Neon Grün */
    color: var(--dark-bg);             /* Schrift Schwarz */
    box-shadow: 0 0 8px rgba(117, 255, 203, 0.5); /* Leichter Neon-Schatten */
}

#myBtn:hover {
    /* --- Hover-Zustand (NEU) --- */
    background-color: var(--dark-bg);      /* Button Schwarz */
    color: var(--neon-green);            /* Schrift Neon Grün */
    box-shadow: 0 0 15px var(--neon-green-glow); /* Intensiverer Neon-Schatten */
    transform: scale(1.05);
}


/* --- Contact Section --- */

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info h3 {
    font-family: 'Orbitron', sans-serif;
    color: white;
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--light-text);
}

.contact-details {
    list-style: none;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--neon-green);
}

.contact-item h4 {
    color: var(--neon-green);
    margin-bottom: 5px;
}

.contact-item p a {
    color: var(--light-text);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    color: var(--light-text);
    font-weight: 500;
}

.contact-form .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #333;
    background-color: #222;
    color: white;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    text-align: center;
}

/* --- CTA Section --- */

.cta {
    background: url('images/cta-background.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    padding: 100px 0;
    text-align: center;
    color: white;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green-glow);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta .btn {
    /* Stil von oben übernehmen */
    box-shadow: 0 0 15px var(--neon-green-glow);
    animation: none;
    opacity: 1;
    transform: none;
}

/* --- Footer --- */

footer {
    background-color: #000;
    padding: 50px 0 20px;
    color: var(--light-text);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-column {
    width: 23%;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-column h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-green);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--light-text);
}

.footer-column ul li a:hover {
    color: var(--neon-green);
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border: 1px solid var(--neon-green);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--neon-green);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--neon-green);
    color: var(--dark-bg);
}

.social-links span {
    font-weight: 700;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* --- Lightbox / Modalfenster Styles (für Bildvergrößerung) --- */

.lightbox-modal {
    display: none; 
    position: fixed;
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9); 
    backdrop-filter: blur(5px); 
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 900px; 
    animation: zoomIn 0.3s;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    border: 3px solid var(--neon-green);
    border-radius: 8px;
    box-shadow: 0 0 20px var(--neon-green-glow);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    text-shadow: 0 0 10px var(--neon-green-glow);
}

.close-btn:hover,
.close-btn:focus {
    color: var(--neon-green);
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
  from {transform: scale(0.8);} 
  to {transform: scale(1);}
}


/* --- Responsive Design (Media Queries) --- */

@media (max-width: 992px) {
    /* Services Grid auf Tablets (immer noch 2 Spalten) */
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

    /* Header/Navigation */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background-color: #000;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
        padding: 20px 0;
        transition: height 0.3s ease-out;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Logo Anpassung für Tablets/Mobile */
    .logo img {
        height: 35px; 
        max-width: 200px;
    }

    /* Hero Section */
    .hero {
        height: 80vh; 
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    /* Contact Section */
    .contact-container {
        flex-direction: column;
    }
    
    /* Footer */
    .footer-content {
        justify-content: space-around;
    }
    
    .footer-column {
        width: 45%; 
    }
}

@media (max-width: 768px) {
    /* Services Grid auf kleineren Geräten (jetzt 1 Spalte) */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Hero Section */
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }

    /* General */
    .section-title h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    /* Logo Anpassung für kleine Mobilgeräte */
    .logo img {
        height: 30px; 
    }

    .footer-column {
        width: 100%; 
    }
}

/* --- WCAG-ÄNDERUNG: Reduced Motion Media Query (WCAG 2.3.3) --- */
@media (prefers-reduced-motion: reduce) {
    .hero-car-overlay img {
        animation: none !important; 
        transform: none !important;
        opacity: 1 !important; 
        transition: none !important;
    }
    
    .hero h1, .hero p, .btn {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .gallery-item:hover img {
        transform: none; /* Deaktiviert den Hover-Zoom */
    }
}

/* In Ihrer style.css anpassen: */
.contact-map-icon {
    width: 34px;  /* Etwas größer als das Bild (30px + 2px Rahmen x 2) */
    height: 34px; /* Etwas größer als das Bild */
    border: 2px solid var(--neon-green); 
    /* ... andere Styles ... */
}

.impressum-section {
    padding: 40px 0;
    /* Verwenden Sie Ihre Hintergrundfarbe */
    background-color: var(--dark-bg); 
    color: var(--light-text);
}

.impressum-section h2 {
    /* Neon-Style für die Hauptüberschrift */
    color: var(--neon-green); 
    text-shadow: 0 0 5px rgba(117, 255, 203, 0.7);
}

.impressum-section a {
    /* Links in Neon-Farbe */
    color: var(--neon-green); 
    text-decoration: none;
}

/* --- Styling für AGB und Datenschutz --- */
.richtlinien-section {
    padding: 60px 0;
    line-height: 1.6;
    background-color: var(--dark-bg); 
    color: var(--light-text);
}

.richtlinien-section h2 {
    color: var(--neon-green); 
    margin-bottom: 30px;
    text-shadow: 0 0 5px rgba(117, 255, 203, 0.7);
}

.richtlinien-block {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #333; /* Trennlinie */
}

.richtlinien-block h3 {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.richtlinien-block p, .richtlinien-block li {
    font-size: 0.95rem;
}

.richtlinien-block ol, .richtlinien-block ul {
    padding-left: 20px;
}

.richtlinien-section a {
    color: var(--neon-green);
    text-decoration: underline;
}

/* --- Über Uns Sektion --- */
.about-section {
    padding: 80px 0;
    background-color: var(--dark-bg);
}

.about-content {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(117, 255, 203, 0.1); /* Leichte Neon-Trennlinie */
}

.about-content h3 {
    color: var(--neon-green);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.about-image {
    width: 100%;
    max-width: 500px; /* Begrenzt die Bildbreite */
    float: right; /* Lässt den Text links um das Bild fließen */
    margin-left: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(117, 255, 203, 0.5); /* Neon-Schatten */
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Anpassung für kleine Bildschirme (Mobile) */
@media (max-width: 768px) {
    .about-image {
        float: none;
        margin: 0 auto 20px auto; /* Zentriert das Bild */
    }
}

.package-grid { /* Oder der tatsächliche Grid-Container */
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    grid-template-rows: auto; /* Da wir keine feste Höhe mehr benötigen */
    gap: 30px;
}

.package-item {
    /* Flexbox auf Element-Ebene, um alle Kind-Elemente zu zentrieren */
    display: flex;
    flex-direction: column; /* Anordnung untereinander */
    align-items: center;    /* Horizontal zentriert */
    text-align: center;     /* Für Text-Ausrichtung */

    /* Basis-Styling beibehalten (falls Sie es benötigen) */
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    border-top: 3px solid var(--neon-green);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    /* Weitere Styles... */
}

.package-symbol {
    /* Das Bild selbst, Größe definieren */
    width: 60px; 
    height: 60px;
    margin-bottom: 10px;
}

.package-item h3 {
    margin-top: 5px;
    margin-bottom: 10px;
    color: var(--neon-green);
}

/* 1. CONTAINER-LISTE: Entfernt Standard-Punkte und zentriert die gesamte Liste */
.service-details ul {
    list-style: none;
    padding-left: 0;
    
    /* Zentriert die gesamte Liste horizontal im verfügbaren Platz */
    width: fit-content; 
    margin-left: auto;   
    margin-right: auto;
}

/* 2. LISTEN-ITEMS: Konfiguration für Text und Punkt */
.service-details li {
    position: relative; 
    padding-left: 20px; /* Platz für den benutzerdefinierten Punkt */
    margin-bottom: 10px; 
    color: var(--light-text);
    text-align: left; 
}

/* 3. NEON-PUNKT: Ersetzt das Quadrat durch einen runden Kreis */
.service-details li::before {
    /* ANPASSUNG: Verwenden von '•' (Unicode U+2022) für einen runden Punkt */
    content: '•'; 
    position: absolute;
    left: 0; 
    top: 0;
    
    /* Leuchten */
    color: var(--neon-green);
    text-shadow: 0 0 5px rgba(117, 255, 203, 0.7);
    font-size: 1.2em;
    line-height: 1.2;
}

.package-link {
    /* Fügt 20 Pixel Außenabstand rund um jedes Paket hinzu */
    margin: 30px; 
    
    /* WICHTIG: Stellt sicher, dass das Element einen Margin haben kann */
    display: block; 
    
    /* ... weitere bestehende package-link Styles ... */
}

/* Base-Style für das Element, das den Schatten bekommt */
.package-item {
    /* WICHTIG: Die Transition für den Effekt */
    transition: box-shadow 0.3s ease, border-color 0.3s ease; 
    border-top: 3px solid #1a1a1a; /* Basislinie (kann angepasst werden) */
    /* ... andere bestehende package-item Styles ... */
}

/* Hover-Effekt (Neon-Schatten) auf dem Link */
.package-item {
    /* WICHTIG: Definiert den Rahmen, damit border-color bei Hover funktioniert */
    border-top: 3px solid #1a1a1a; /* Beispiel: 3px dicke, dunkle Linie */
    
    /* WICHTIG: Transition für den Übergang beim Normalzustand */
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    
    /* ... weitere bestehende Styles ... */
}

/* Stellt alle H3-Überschriften in den Service Cards auf Neongrün um */
.service-card h3 {
    /* Setzt die Farbe auf Ihre Neon-Variable oder den Hex-Code */
    color: var(--neon-green, #39FF20); 
    
    /* Fügt den gewünschten Glow-Effekt hinzu */
    text-shadow: 
        0 0 7px rgba(57, 255, 32, 0.7), /* Heller Glow */
        0 0 10px rgba(57, 255, 32, 0.4); /* Breiterer, weicherer Glow */
    
    /* Optionale Regel: Entfernt den margin/padding, falls vorhanden */
    margin-top: 10px; 
    margin-bottom: 5px; 
}

.package-item {
    /* Wichtig: Basis-Rahmen definieren */
    border-top: 3px solid var(--neon-green, #39FF20); 
    
    /* Fügt einen leichten, permanenten Glow hinzu, damit der Rand grün leuchtet */
    box-shadow: 0 -2px 5px rgba(57, 255, 32, 0.2); 
    
    /* Sanfte Übergänge für den Hover-Effekt */
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    
    position: relative; 
    /* ... weitere bestehende package-item Styles ... */
}

/* Definiert den Neon-Schatten und Farbe, wenn der Link gehovert wird */
.package-link:hover .package-item {
    /* Der neon-grüne Schatten */
    box-shadow: 0 0 20px rgba(57, 255, 32, 0.6), 0 0 5px rgba(57, 255, 32, 0.4); 
    
    /* Hebt die Oberkante in Neon hervor */
    border-color: var(--neon-green, #39FF20); 
    
    /* Optional: Leichter Schwebe-Effekt */
    transform: translateY(-2px); 
}

/* Erhöht die Höhe der Symbole in den Paket-Elementen */
.package-item .package-symbol {
    /* Beispiel: Setzen Sie die Höhe auf 50 Pixel */
    height: 40px; 
    
    /* Stellt sicher, dass die Breite proportional skaliert wird */
    width: auto; 
    
    /* Optionale Regel: Zentriert das Icon, falls es im Container schwimmt */
    display: block; 
    margin: 0 auto 10px auto; 
}

gap: 20px; /* Optional: Fügt etwas Abstand zwischen den Elementen hinzu */
    /* Behält alle Ihre bestehenden package-item Styles bei (Neon-Border etc.) */
}


/* CSS für die INTERNE ANORDNUNG JEDES PAKETS (Text neben Bild) */
.package-item {
    display: flex;       /* Setzt Text und Bild innerhalb des Pakets nebeneinander */
    align-items: flex-start; /* Stellt die Elemente oben im Container aus */
    gap: 15px;           /* Abstand zwischen Text und Bild innerhalb des Pakets */
    text-align: left;    
    /* ... weitere Styles wie Neon-Border ... */
}

/* Definiert die Breitenverteilung INNERHALB JEDES PAKETS */
.package-content-wrapper {
    flex: 0 0 60%; /* Text nimmt 60% ein */
}

.package-image-right {
    flex: 0 0 40%; /* Bild nimmt 40% ein */
    /* DIESE REGEL ZENTRIERT DAS BILD HORIZONTAL IM CONTAINER */
    text-align: center; 
}

/* Responsivität des Bildes */
.package-large-image {
    /* Wenn max-width < 100%, zentriert text-align: center; das Bild */
    max-width: 50%; 
    height: auto; 
    /* display: block; würde text-align: center; ignorieren, wenn nicht auch margin: 0 auto; gesetzt wird.
       Für die Zentrierung durch text-align: center; muss das Bild als Inline-Element oder Inline-Block behandelt werden. */
    display: inline-block; /* Korrektur: Macht das Bild zentrierbar durch text-align */
}

img[src*="3.png"] {
    /* Macht das Bild zu einem Block, damit margin: auto funktioniert */
    display: block;
    
    /* Setzt die Ränder links und rechts auf "auto", um es zu zentrieren */
    margin-left: auto;
    margin-right: auto;
    
    /* Optional: Feste Breite setzen */
    max-width: 90%; 
}

.bild-reihe {
    /* 1. Aktiviert das flexible Layout */
    display: flex;
    
    /* 2. Verteilt den Raum gleichmäßig zwischen den Elementen */
    justify-content: space-between; 
    
    /* 3. Stellt sicher, dass die Bilder oben ausgerichtet sind, falls sie unterschiedliche Höhen haben */
    align-items: flex-start;
    
    /* 4. Optional: Entfernt unnötige Lücken, die durch Inline-Elemente entstehen können */
    line-height: 0; 
}

/* Optional: Stellt sicher, dass die Bilder responsiv sind und sich anpassen */
.bild-reihe img {
    /* Die 50% Breite aus dem HTML wird hier respektiert, 
       aber Sie könnten sie auch hier definieren: flex: 1 1 50%; */
    max-width: 100%;
    height: auto;
}

/* Färbt alle Icons innerhalb der Kontaktliste neongrün */
.contact-details .contact-icon {
    color: #39FF20; 
}
/* Stellt sicher, dass die neon-highlight Klasse die gewünschte Farbe hat */
.neon-highlight {
    color: #39FF20 !important; /* Wichtig, falls die Farbe überschrieben wird */
}

/* 1. Zentriert den gesamten Impressums-Block auf der Seite */
.impressum-section {
    /* Stellt sicher, dass die Section nicht die volle Breite einnimmt */
    max-width: 800px; 
    /* Setzt den linken und rechten Rand auf "auto", um den Block zu zentrieren */
    margin: 0 auto; 
    /* Sorgt für etwas vertikalen Abstand */
    padding: 40px 20px; 
}

/* 2. Zentriert den Text innerhalb der Blöcke */
.impressum-section,
.impressum-block {
    /* Zentriert alle Texte, Überschriften und Inline-Elemente */
    text-align: center; 
}

/* 3. Korrigiert die Listen-Zentrierung (WICHTIG!) */
/* Listenelemente (ul) reagieren nicht auf text-align, sie müssen als Block zentriert werden */
.contact-list,
.info-list {
    /* Nimmt nicht die volle Breite ein (für bessere Lesbarkeit bei Zentrierung) */
    max-width: 450px; 
    /* Zentriert den Listen-Block selbst auf der Seite */
    margin-left: auto;
    margin-right: auto;
    /* Entfernt Standard-Bullet Points */
    list-style: none; 
    padding: 0;
}

/* CSS FÜR DEN COOKIE-HINWEIS */
#cookie-banner {
    position: fixed; /* Bleibt immer sichtbar */
    bottom: 0;      /* Am unteren Rand des Bildschirms */
    left: 0;        
    width: 100%;    /* Volle Breite */
    background-color: #222; /* Dunkler Hintergrund */
    color: #fff;    
    padding: 15px 0;
    z-index: 1000;  /* Überlagert andere Elemente */
    text-align: center;
    border-top: 3px solid #39FF20; /* Ihr Neon-Akzent */
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-content a.neon-highlight-link {
    color: #39FF20; /* Neon-Farbe für den Link */
    text-decoration: none;
    font-weight: bold;
}

.btn-small {
    /* Passen Sie dies an Ihren bestehenden .btn Stil an */
    background-color: #39FF20;
    color: #000;
    padding: 8px 15px;
    border: none;
    cursor: pointer;
    margin-left: 20px;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
    }
    .btn-small {
        margin-top: 10px;
        margin-left: 0;
    }
}