.sidewings-switch { margin: 1.25rem 0; position: relative; display: flex; justify-content: center; align-items: center; }
.sidewings-switch .wrapper { margin: 0 auto; }
.sidewings-switch .deco { position: absolute; inset: 0; pointer-events: none; }
.sidewings-switch .deco-1 { position: absolute; top: 55%; left: 65%; width: 80px; height: 80px; transform: translate(-50%, -50%); background-image: radial-gradient(circle at 0 0, #f4c5cd, #ffeecf); border-radius: 80px; animation: deco-move 8s infinite alternate; filter: blur(10px); opacity: 0.25; }
.sidewings-switch .deco-2 { position: absolute; top: 45%; left: 40%; width: 96px; height: 96px; transform: translate(-50%, -50%); background-image: radial-gradient(circle at 0 0, #a1cae9, #f7c6c6); border-radius: 96px; animation: deco-move 6s infinite alternate; filter: blur(10px); opacity: 0.22; }
.sidewings-switch .wrapper { width: 600px; border-radius: 12px; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; gap: 14px; background: rgba(255,255,255,0.6); box-shadow: 3px 3px 6px rgba(0,0,0,0.1), -3px -3px 6px rgba(255,255,255,0.8); position: relative; z-index: 1; }
.sidewings-switch .text { color: #2c3e50; font-weight: 700; }
.sidewings-switch input#withSidewings { display: none; }
.sidewings-switch .button { position: relative; width: 72px; height: 32px; border-radius: 32px; box-shadow: inset 2px 2px 5px rgba(0,0,0,0.2), inset -2px -2px 5px rgba(255,255,255,0.8); cursor: pointer; }
.sidewings-switch .button .dot { position: absolute; width: 24px; height: 24px; left: 4px; top: 50%; transform: translateY(-50%); border-radius: 50%; box-shadow: 3px 3px 6px rgba(0,0,0,0.15), -3px -3px 6px rgba(255,255,255,0.8); transition: all 0.3s; background-color: #aab7d9; }
.sidewings-switch input#withSidewings:checked + label.button .dot { left: 44px; background-color: #04508c; }
@keyframes deco-move { to { transform: translate(-50%, -50%) rotate(360deg); } }
body.dark-mode .sidewings-switch .wrapper { background: rgba(42,42,42,0.6); box-shadow: 3px 3px 6px rgba(0,0,0,0.35), -3px -3px 6px rgba(255,255,255,0.05); }
body.dark-mode .sidewings-switch .text { color: #e0e0e0; }
body.dark-mode .sidewings-switch .button { box-shadow: inset 2px 2px 5px rgba(0,0,0,0.5), inset -2px -2px 5px rgba(255,255,255,0.05); }
body.dark-mode .sidewings-switch .button .dot { background-color: #6f7fa5; }
body.dark-mode .sidewings-switch input#withSidewings:checked + label.button .dot { background-color: #4aa3ff; }
/* Keyfacts in der Kontaktkarte leicht über dem Kartenende positionieren */
.contact-info .contact-details {
    margin-bottom: 1.25rem;
}
/* (entfernt) Google Places Dropdown */
/* Alternierende Hintergründe im Light Mode */
body:not(.dark-mode) .equipment {
    background: #ffffff;
}

body:not(.dark-mode) .services {
    background: #f7f7f7;
}

body:not(.dark-mode) .about {
    background: #ffffff;
}

body:not(.dark-mode) .contact {
    background: #f7f7f7;
}
/* iPad: bessere Klickbarkeit des Hamburger-Buttons */
@media (min-width: 768px) and (max-width: 1024px) {
    .hamburger {
        padding: 1rem 1.2rem;
        min-width: 56px;
        min-height: 44px; /* Apple HIG Touch-Ziel */
        pointer-events: auto !important;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        z-index: 10001;
    }
    .hamburger .bar {
        width: 28px;
        height: 3px;
        margin: 5px 0;
        border-radius: 2px;
    }
}
/* ===== TABLET (iPad) PORTRAIT NAV FIX ===== */
@media (min-width: 768px) and (max-width: 834px) and (orientation: portrait) {
    .navbar {
        padding: 0.75rem 0;
        z-index: 10000;
    }

    .nav-container {
        min-height: 64px;
    }

    /* Hamburger sichtbar, Bars sichtbar */
    .hamburger { display: flex !important; }
    .bar { display: block !important; }
    
    /* Logo für iPad Portrait größer */
    .hero-logo-centered img {
        height: 120px !important;
        max-width: 65vw !important;
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.85)) !important;
    }
    
    .hero-logo-centered {
        max-width: 500px;
        padding: 1.5rem;
    }
    
    /* Contact Details 2x2 für iPad Portrait */
    .contact-details {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem 1rem;
        justify-items: center;
        align-items: start;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
        width: 100%;
        max-width: 200px;
    }
    
    .contact-item i {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }

    /* Standalone-Logo oben rechts anzeigen (nur bei Scroll via .scrolled) */
    .standalone-logo {
        display: block !important;
        position: fixed;
        top: 16px;
        left: 20px;
        right: auto;
        opacity: 0;
        transform: translateY(-8px);
        transition: all 0.4s ease;
        z-index: 10001;
    }
    .standalone-logo.scrolled { opacity: 1; transform: translateY(0); }
    .standalone-logo img { height: 36px; width: auto; filter: none; }

    /* Overlay-Menü: standardmäßig versteckt */
    .nav-menu {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        display: none !important;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        padding-top: 90px;
        background: rgba(0, 0, 0, 0.92);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        z-index: 9998;
        pointer-events: none;
    }

    .nav-menu.active { display: flex !important; pointer-events: auto; }

    .nav-menu .nav-item { margin: 0.6rem 0; }

    .nav-menu .nav-link {
        width: 240px;
        max-width: 80vw;
        font-size: 1.15rem;
        padding: 0.7rem 1.5rem;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 28px;
        color: #ffffff;
        display: block;
    }
}

/* iPad Portrait: Hamburger beim Scrollen mittig oben fixieren */
@media (min-width: 768px) and (max-width: 834px) and (orientation: portrait) {
    .navbar.scrolled .hamburger {
        display: flex !important;
        position: fixed;
        top: 14px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10001;
        opacity: 1 !important;
        pointer-events: auto !important;
        background: rgba(4, 80, 140, 0.95);
        border: 1px solid rgba(4, 80, 140, 0.55);
        border-radius: 14px;
        padding: 0.6rem 0.8rem;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 8px 24px rgba(4, 80, 140, 0.35), 0 2px 6px rgba(0,0,0,0.25);
        transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }
    .navbar.scrolled .hamburger .bar { background: #ffffff !important; }
    .navbar.scrolled .hamburger .bar { height: 3px; margin: 4px 0; border-radius: 2px; width: 26px; }
    .navbar.scrolled .hamburger:hover { box-shadow: 0 10px 28px rgba(4, 80, 140, 0.45), 0 3px 8px rgba(0,0,0,0.3); transform: translateX(-50%) translateY(-1px); }
    .navbar.scrolled .hamburger:active { transform: translateX(-50%) scale(0.97); }
}

/* ===== TABLET (iPad) LANDSCAPE CONTACT FIX ===== */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    /* Contact Details 2x2 für iPad Landscape */
    .contact-details {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem 2rem;
        justify-items: center;
        align-items: start;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .contact-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        width: 100%;
        max-width: 280px;
    }
    
    .contact-item i {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-item span {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    /* Logo für iPad Landscape größer */
    .hero-logo-centered img {
        height: 150px !important; /* Noch größer für Landscape */
        max-width: 60vw !important;
        filter: drop-shadow(0 0 28px rgba(255, 255, 255, 1)) !important;
    }
    
    .hero-logo-centered {
        max-width: 700px;
        padding: 2rem;
    }
    
    /* Kontaktformular für iPad Landscape */
    .contact-form {
        max-width: 800px;
        margin: 0 auto;
        padding: 2rem;
    }
    
    .form-top-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .form-top-row .form-group:has(input#event-location) {
        grid-column: 1 / -1;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
        min-height: 48px;
        padding: 12px 16px;
        border-radius: 8px;
        font-size: 16px;
        box-sizing: border-box;
    }
    
    /* Message-Textfeld für iPad Landscape */
    .form-group-message textarea {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 12px 16px;
    }
    
    .ks-cboxtags {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem;
    }
    
    .stage-card-grid,
    .module-card-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem;
    }
}
/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    width: 100%;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== DARK MODE STYLES ===== */
body.dark-mode {
    background-color: #1a1a1a;
    color: #ffffff;
}

body.dark-mode .navbar {
    background: transparent;
    backdrop-filter: none;
}

body.dark-mode .navbar.scrolled {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode .nav-link {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-mode .navbar.scrolled .nav-link {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

body.dark-mode .hamburger {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

body.dark-mode .hamburger:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

body.dark-mode .navbar.scrolled .hamburger,
body.dark-mode .hamburger.menu-open {
    background: rgba(4, 80, 140, 0.9) !important;
    border: 1px solid rgba(4, 80, 140, 0.2) !important;
}

body.dark-mode .navbar.scrolled .hamburger:hover,
body.dark-mode .hamburger.menu-open:hover {
    background: rgba(4, 80, 140, 1) !important;
}

body.dark-mode .bar {
    background: #ffffff !important;
}

body.dark-mode .standalone-logo img {
    /* Wenn ein spezielles Dark-Logo gesetzt ist, keine erzwungene Invertierung */
    filter: none !important;
}

body.dark-mode .navbar.scrolled ~ .standalone-logo img,
body.dark-mode .standalone-logo.scrolled img {
    filter: none !important;
}

body.dark-mode .hero-logo-centered img {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)) !important;
}

body.dark-mode .hero-card {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(52, 152, 219, 0.3);
}

body.dark-mode .services {
    background: #141414;
}

body.dark-mode .service-card {
    background: #2a2a2a;
    color: #ffffff;
}

body.dark-mode .service-card h3 {
    color: #ffffff;
}

body.dark-mode .service-card p {
    color: #ffffff;
    font-weight: 500;
}

body.dark-mode .service-card li {
    color: #ffffff !important;
    font-weight: 400;
}

body.dark-mode .service-card li::before {
    color: #3498db !important;
}

body.dark-mode .service-icon {
    background: #2a2a2a;
}

body.dark-mode .service-icon i {
    color: #ffffff;
}

body.dark-mode .equipment-item {
    background: #2a2a2a;
    color: #ffffff;
}

body.dark-mode .equipment-info h3 {
    color: #ffffff;
}

body.dark-mode .equipment-info p {
    color: #e0e0e0;
}

body.dark-mode .stage-item {
    background: #2a2a2a;
    color: #ffffff;
}

body.dark-mode .stage-item h4 {
    color: #ffffff;
}

body.dark-mode .stage-item p {
    color: #e0e0e0;
}

body.dark-mode .stage-specs {
    background: #1a1a1a;
    border-color: #333;
}

body.dark-mode .stage-specs h5 {
    color: #4a9eff;
}

body.dark-mode .stage-specs li {
    color: #e0e0e0;
}

body.dark-mode .stage-specs strong {
    color: #ffffff;
}

body.dark-mode .modal-content {
    background: #2a2a2a;
    color: #ffffff;
}

body.dark-mode .modal-content h2 {
    color: #ffffff;
}

body.dark-mode .modal-content p {
    color: #e0e0e0;
}

body.dark-mode .about {
    background: #171717;
}

body.dark-mode .about-text h2 {
    color: #ffffff;
}

body.dark-mode .about-text p {
    color: #e0e0e0;
}

body.dark-mode .stat h3 {
    color: #04508c;
}

body.dark-mode .stat p {
    color: #e0e0e0;
}

body.dark-mode .contact {
    background: #141414;
}

/* Alternierende Hintergründe im Dark Mode */
body.dark-mode .equipment { background: #171717; }
body.dark-mode .services { background: #141414; }
body.dark-mode .about    { background: #171717; }
body.dark-mode .contact  { background: #141414; }

body.dark-mode .contact-info h3 {
    color: #ffffff;
}

body.dark-mode .contact-info p {
    color: #e0e0e0;
}

body.dark-mode .contact-item h4 {
    color: #ffffff;
}

body.dark-mode .contact-item p {
    color: #e0e0e0;
}

body.dark-mode .contact-form {
    background: #1a1a1a;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select,
body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea,
body.dark-mode .contact-form select,
body.dark-mode input[type="text"],
body.dark-mode input[type="email"],
body.dark-mode input[type="tel"],
body.dark-mode textarea,
body.dark-mode select {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f) !important;
    color: #e0e0e0 !important;
    border: 2px solid #4a4a4a !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(74, 163, 255, 0.1) !important;
    transition: all 0.3s ease !important;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus,
body.dark-mode .form-group select:focus,
body.dark-mode .contact-form input:focus,
body.dark-mode .contact-form textarea:focus,
body.dark-mode .contact-form select:focus,
body.dark-mode input[type="text"]:focus,
body.dark-mode input[type="email"]:focus,
body.dark-mode input[type="tel"]:focus,
body.dark-mode textarea:focus,
body.dark-mode select:focus {
    border-color: #4aa3ff !important;
    background: linear-gradient(145deg, #353535, #2a2a2a) !important;
    box-shadow: 0 0 0 3px rgba(74, 163, 255, 0.4), 
                inset 0 2px 4px rgba(0, 0, 0, 0.2),
                0 4px 12px rgba(74, 163, 255, 0.15) !important;
    outline: none !important;
    transform: translateY(-1px) !important;
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder,
body.dark-mode .contact-form input::placeholder,
body.dark-mode .contact-form textarea::placeholder,
body.dark-mode input[type="text"]::placeholder,
body.dark-mode input[type="email"]::placeholder,
body.dark-mode input[type="tel"]::placeholder,
body.dark-mode textarea::placeholder {
    color: #a0a0a0 !important;
    opacity: 0.8 !important;
    font-style: italic !important;
}

body.dark-mode .form-group label {
    color: #e0e0e0;
    font-weight: 600;
}

/* Sehr spezifische Dark Mode Regeln für alle Textfelder */
body.dark-mode #contact input,
body.dark-mode #contact textarea,
body.dark-mode #contact select,
body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea,
body.dark-mode .contact-form select {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f) !important;
    color: #e0e0e0 !important;
    border: 2px solid #4a4a4a !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(74, 163, 255, 0.1) !important;
}

body.dark-mode #contact input::placeholder,
body.dark-mode #contact textarea::placeholder,
body.dark-mode .contact-form input::placeholder,
body.dark-mode .contact-form textarea::placeholder {
    color: #a0a0a0 !important;
    opacity: 0.8 !important;
    font-style: italic !important;
}

/* Dark Mode für Service-Detail Textareas */
body.dark-mode .service-details textarea {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f) !important;
    border: 2px solid #4a4a4a !important;
    color: #e0e0e0 !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(74, 163, 255, 0.1) !important;
    transition: all 0.3s ease !important;
}

body.dark-mode .service-details textarea:focus {
    border-color: #4aa3ff !important;
    background: linear-gradient(145deg, #353535, #2a2a2a) !important;
    box-shadow: 0 0 0 3px rgba(74, 163, 255, 0.4), 
                inset 0 2px 4px rgba(0, 0, 0, 0.2),
                0 4px 12px rgba(74, 163, 255, 0.15) !important;
    transform: translateY(-1px) !important;
}

body.dark-mode .service-details textarea::placeholder {
    color: #a0a0a0 !important;
    opacity: 0.8 !important;
    font-style: italic !important;
}

/* Dark Mode für alle Service-Block Labels */
body.dark-mode .service-block label {
    color: #e0e0e0 !important;
}

/* Dark Mode für Dropdown-Menüs */
body.dark-mode .form-group select {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
    border: 2px solid #4a4a4a;
    color: #e0e0e0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(74, 163, 255, 0.1);
    transition: all 0.3s ease;
}

body.dark-mode .form-group select:focus {
    border-color: #4aa3ff;
    background: linear-gradient(145deg, #353535, #2a2a2a);
    box-shadow: 0 0 0 3px rgba(74, 163, 255, 0.4), 
                inset 0 2px 4px rgba(0, 0, 0, 0.2),
                0 4px 12px rgba(74, 163, 255, 0.15);
    transform: translateY(-1px);
}

body.dark-mode .form-group select option {
    background: #2a2a2a;
    color: #e0e0e0;
    border: none;
    padding: 8px 12px;
}

/* Dark Mode für Komplett-Service Dropdown */
body.dark-mode #completeChoice {
    background: #2d2d2d !important;
    border: 2px solid #555555 !important;
    color: #e0e0e0 !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

body.dark-mode #completeChoice:focus {
    border-color: #4aa3ff !important;
    background: #353535 !important;
    box-shadow: 0 0 0 3px rgba(74, 163, 255, 0.3), inset 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

body.dark-mode .anfahrt-section {
    background: #1a1a1a;
    border-color: #3498db;
}

body.dark-mode .anfahrt-section h4 {
    color: #3498db;
}

body.dark-mode .anfahrt-section p {
    color: #ecf0f1;
}

body.dark-mode .anfahrt-info {
    color: #ecf0f1;
}

body.dark-mode .anfahrt-info i {
    color: #3498db;
}

/* WhatsApp-Styles entfernt */
body.dark-mode .whatsapp-section { }

body.dark-mode .footer {
    background: #0f0f0f;
    color: #ffffff;
}

body.dark-mode .footer-section h3 {
    color: #ffffff;
}

body.dark-mode .footer-section p {
    color: #e0e0e0;
}

body.dark-mode .footer-section ul li a {
    color: #cccccc;
}

body.dark-mode .footer-section ul li a:hover {
    color: #04508c;
}

/* Dark-Mode Darstellung für die eingebettete Anfahrts-Karte */
body.dark-mode .anfahrt-map {
    background: #000;
}

body.dark-mode .anfahrt-map iframe {
    filter: invert(90%) hue-rotate(180deg) saturate(0.8) contrast(0.9);
}

body.dark-mode .section-title {
    color: #ffffff;
}

body.dark-mode .section-title::after {
    background: #04508c;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: all 1s ease-in-out;
    z-index: 999;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Hero Logo Centered */
.hero-logo-centered {
    position: absolute !important;
    top: 46% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1200 !important;
    pointer-events: auto;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: opacity 0.3s ease;
}

.hero-logo-centered img {
    height: 175px !important;
    width: 525px !important;
    max-width: 550px !important;
    /* Leichter Glow um das Logo */
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6)) !important;
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
}

/* CTA-Buttons unter dem Logo */
.hero-cta {
    margin-top: 2px;
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    position: relative;
    z-index: 1201;
    opacity: 1 !important;
    visibility: visible !important;
}

/* (entfernt) Scroll Down Pfeil Styles */

.hero-cta .btn.btn-primary {
    background: #04508c;
    border: 1px solid rgba(4, 80, 140, 0.2);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 28px;
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-cta .btn.btn-primary:hover {
    background: #033d6b;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(4, 80, 140, 0.35);
}

/* Buttons im Fullscreen ausblenden wie das Logo */
.hero.fullscreen .hero-cta {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Logo im Fullscreen-Modus sanft ausblenden */
.hero.fullscreen .hero-logo-centered {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .hero-logo-centered img {
        height: 140px !important; /* Deutlich größer für iPad */
        width: auto !important;
        max-width: 70vw !important;
        filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.9)) !important;
    }
    
    .hero-logo-centered {
        max-width: 600px;
        padding: 2rem 1rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Hero Section - Mobile spezifisch */
    .hero {
        min-height: 100vh;
        height: 100vh;
        padding: 0;
        position: relative;
        overflow: hidden;
        margin-top: 70px; /* Platz für dauerhaft eingeblendete Navbar */
    }
    
    .hero-bg-image {
        position: absolute;
        top: -70px; /* Kompensiert den margin-top */
        left: 0;
        width: 100%;
        height: calc(100% + 70px); /* Erweitert die Höhe um Navbar-Höhe */
        z-index: 0;
    }
    
    .hero-bg-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        min-width: 100%;
        min-height: 100%;
        transform: scale(1.1); /* Stärker vergrößert um alle Ränder zu eliminieren */
    }
    
    /* Navbar dauerhaft sichtbar auf Mobile */
    .navbar {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background: rgba(0, 0, 0, 0.9) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        z-index: 10000 !important;
        padding: 0.5rem 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .hero-logo-centered {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1200 !important;
        padding: 1rem;
        width: 100%;
        max-width: 400px;
    }
    
    .hero-logo-centered img {
        height: 120px !important; /* Größer für bessere Sichtbarkeit */
        width: auto !important;
        max-width: 85vw !important;
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.9)) !important;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin-top: 2rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        min-height: 48px;
    }
    
    /* Navigation - Hamburger Menu */
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .hamburger {
        display: flex !important;
        padding: 0.75rem;
        min-height: 48px;
        min-width: 48px;
        z-index: 10000;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }
    
    .nav-menu.active {
        display: flex !important;
    }
    
    .nav-menu .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        margin: 0.5rem 0;
        width: 80%;
        max-width: 300px;
        text-align: center;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 30px;
        color: white;
        min-height: 48px;
    }
    
    /* Mobile Navbar Dark Mode */
    body.dark-mode .navbar {
        background: rgba(0, 0, 0, 0.95) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* Equipment Section */
    .equipment {
        padding: 60px 0;
        position: relative;
        z-index: 1;
        background: #ffffff; /* Weißer Hintergrund um Überlappungen zu vermeiden */
    }
    
    /* Dark Mode Equipment Background */
    body.dark-mode .equipment {
        background: #1a1a1a;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        justify-items: center; /* Zentriert die Grid-Items */
        align-items: start;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .equipment-item {
        text-align: center;
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .equipment-item img {
        width: 100%;
        max-width: 280px;
        height: 200px;
        object-fit: cover;
        object-position: center;
        border-radius: 12px;
        margin: 0 auto 1rem auto;
        display: block;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .equipment-info {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 0 1rem;
    }
    
    .equipment-info h3 {
        font-size: 1.4rem;
        margin: 0 0 0.75rem 0;
        color: #2c3e50;
        font-weight: 600;
    }
    
    .equipment-info p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
        color: #666;
    }
    
    .equipment-info .btn {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    /* Dark Mode für Equipment Items Mobile */
    body.dark-mode .equipment-info h3 {
        color: #ffffff;
    }
    
    body.dark-mode .equipment-info p {
        color: #e0e0e0;
    }
    
    body.dark-mode .equipment-item {
        background: rgba(42, 42, 42, 0.3);
        border-radius: 15px;
    }
    
    /* Services Section */
    .services {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .service-card ul {
        text-align: left;
        max-width: 280px;
        margin: 0 auto;
    }
    
    /* About Section */
    .about {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .stat h3 {
        font-size: 2.5rem;
        height: 3rem;
    }
    
    .stat p {
        font-size: 0.95rem;
    }
    
    /* Contact Section */
    .contact {
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .contact-info {
        max-width: 100%;
        text-align: center;
    }
    
    .contact-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        justify-items: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-item i {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    /* Contact Form Mobile */
    .contact-form {
        max-width: 100%;
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .form-top-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        font-size: 16px; /* Verhindert Zoom auf iOS */
        min-height: 48px;
        padding: 12px 16px;
    }
    
    .form-group textarea {
        min-width: auto !important;
        width: 100% !important;
    }
    
    /* Adresse-Feld spezifisch für Mobile optimieren */
    .form-group input#event-location {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 16px;
        padding: 12px 16px;
        border-radius: 8px;
        border: 1px solid #ddd;
        background: #fff;
        box-sizing: border-box;
        margin: 0 !important;
        display: block;
    }
    
    /* Adresse Form-Group Container */
    .form-top-row .form-group:has(input#event-location),
    .form-group:has(input#event-location) {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Focus state für Adresse-Feld */
    .form-group input#event-location:focus {
        border-color: #04508c;
        box-shadow: 0 0 0 3px rgba(4, 80, 140, 0.1);
        outline: none;
    }
    
    /* Dark Mode für Adresse-Feld */
    body.dark-mode .form-group input#event-location {
        background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
        border: 2px solid #4a4a4a;
        color: #e0e0e0;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(74, 163, 255, 0.1);
    }
    
    body.dark-mode .form-group input#event-location:focus {
        border-color: #4aa3ff;
        background: linear-gradient(145deg, #353535, #2a2a2a);
        box-shadow: 0 0 0 3px rgba(74, 163, 255, 0.4), 
                    inset 0 2px 4px rgba(0, 0, 0, 0.2),
                    0 4px 12px rgba(74, 163, 255, 0.15);
        outline: none;
        transform: translateY(-1px);
    }
    
    body.dark-mode .form-group input#event-location::placeholder {
        color: #a0a0a0;
        opacity: 0.8;
        font-style: italic;
    }
    
    .service-options {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .ks-cboxtags {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }
    
    .ks-cboxtags li {
        width: 100%;
        text-align: center;
    }
    
    /* Card Grids Mobile */
    .stage-card-grid,
    .module-card-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        justify-items: center;
    }
    
    .card {
        --card-width: 280px;
        --card-height: 200px;
        max-width: 90vw;
    }
    
    /* Form Actions Mobile */
    .form-actions {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .form-actions .fancy-btn {
        width: 100% !important;
        height: 56px !important;
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0.5rem;
    }
    
    /* Hero Navigation Mobile */
    .hero-nav-arrow {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .hero-nav-prev {
        left: 20px;
    }
    
    .hero-nav-next {
        right: 20px;
    }
    
    /* Scroll Down Arrow Mobile */
    .scroll-down-arrow {
        bottom: 30px;
    }
    
    .scroll-arrow-container i {
        font-size: 2.2rem;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    /* Container Padding */
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    /* Ultra-compact mobile layout */
    .hero {
        min-height: 100vh;
        height: 100vh;
        position: relative;
        overflow: hidden;
        margin-top: 70px;
    }
    
    .hero-bg-image {
        top: -70px;
        height: calc(100% + 70px);
    }
    
    .hero-bg-image img {
        transform: scale(1.15); /* Noch stärker vergrößert für sehr kleine Bildschirme */
    }
    
    /* Navbar für Ultra-Mobile */
    .navbar {
        height: 70px !important;
        background: rgba(0, 0, 0, 0.95) !important;
    }
    
    .hero-logo-centered {
        max-width: 320px;
        padding: 0.5rem;
    }
    
    .hero-logo-centered img {
        height: 100px !important; /* Größer für kleine Bildschirme */
        max-width: 80vw !important;
        filter: drop-shadow(0 0 18px rgba(255, 255, 255, 1)) !important;
    }
    
    .hero-cta {
        margin-top: 1.5rem;
        max-width: 280px;
    }
    
    .hero-cta .btn {
        padding: 12px 18px;
        font-size: 0.95rem;
    }
    
    /* Compact sections */
    .equipment,
    .services,
    .about,
    .contact {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    /* Contact form extra compact */
    .contact-form {
        padding: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 16px;
    }
    
    /* Adresse-Feld für Ultra-Mobile */
    .form-group input#event-location {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 14px;
        font-size: 16px;
        min-height: 48px;
        border-radius: 6px;
        margin: 0 !important;
        display: block;
        box-sizing: border-box;
    }
    
    /* Adresse Container für Ultra-Mobile */
    .form-group:has(input#event-location) {
        width: 100% !important;
        max-width: 100% !important;
        grid-column: 1 / -1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Service options single column */
    .ks-cboxtags {
        grid-template-columns: 1fr !important;
    }
    
    /* Cards even smaller */
    .card {
        --card-width: 260px;
        --card-height: 180px;
    }
    
    /* Stats grid single column on very small screens */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
    
    /* Contact details single column */
    .contact-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-item i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Equipment-Items für Ultra-Mobile perfekt zentriert */
    .equipment-item {
        padding: 1rem;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .equipment-item img {
        width: 100%;
        max-width: 260px;
        height: 180px;
        margin: 0 auto 1rem auto;
        border-radius: 10px;
    }
    
    .equipment-info {
        max-width: 260px;
        padding: 0 0.5rem;
    }
    
    .equipment-info h3 {
        font-size: 1.3rem;
        margin: 0 0 0.5rem 0;
    }
    
    .equipment-info p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    /* Modal für Ultra-Mobile noch weiter nach unten */
    .modal-content {
        margin: 180px auto 10px auto !important; /* Zentriert für Ultra-Mobile */
        width: calc(100% - 15px) !important; /* Gleichmäßige 7.5px Abstände */
        max-width: calc(100vw - 15px) !important;
        max-height: calc(100vh - 200px) !important;
        padding: 0.75rem !important;
        left: 47% !important; /* Etwas mehr nach links für Ultra-Mobile */
        transform: translateX(-50%) !important; /* Perfekte Zentrierung */
        position: relative !important;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Zusätzliche Sicherheitsregel für Modal-Positionierung und Zentrierung */
    .modal-content {
        margin-top: 150px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-top: 1rem !important;
        box-sizing: border-box !important;
        left: 48% !important; /* Leicht nach links für alle Mobile-Geräte */
    }
    
    /* Sicherstellen dass Modal nicht über Bildschirmrand hinausgeht */
    .modal {
        padding: 0 !important;
        box-sizing: border-box;
    }
    
    /* Reduce animations for better performance */
    * {
        animation-duration: 0.2s !important;
        transition-duration: 0.2s !important;
    }
    
    /* Optimize images for mobile */
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    /* Improve scrolling performance */
    body {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Better touch targets */
    button,
    .btn,
    .nav-link,
    .hamburger,
    .card,
    .service-card,
    .equipment-item {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Optimize modal for mobile */
    .modal-content {
        margin: 150px auto 10px auto; /* Zentriert mit auto margins */
        width: calc(100% - 20px); /* Gleichmäßige 10px Abstände links/rechts */
        max-width: calc(100vw - 20px); /* Verhindert Überlauf */
        max-height: calc(100vh - 170px); /* Berücksichtigt sehr großen Top-Margin */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 1rem;
        border-radius: 15px;
        left: 48%; /* Leicht nach links verschoben */
        transform: translateX(-50%); /* Perfekte horizontale Zentrierung */
        position: relative;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .modal-content .stage-showcase,
    .modal-content .equipment-details {
        padding: 0;
    }
    
    .modal-content .stage-item,
    .modal-content .equipment-item {
        margin-bottom: 1.5rem;
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Stage-showcase Container für Mobile */
    .modal-content .stage-showcase {
        width: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }
    
    .modal-content .stage-item img,
    .modal-content .equipment-item img {
        max-width: 100%;
        height: auto;
    }
    
    .modal-content .stage-specs ul,
    .modal-content .equipment-specs ul {
        padding-left: 1rem;
    }
    
    .modal-content .stage-specs li,
    .modal-content .equipment-specs li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: anywhere;
        padding-right: 0.5rem;
    }
    
    /* Spezifische Optimierung für Laser-Bild */
    .modal-content .stage-item img[src*="laser"] {
        width: 100% !important;
        height: 180px !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 8px;
        margin: 0 auto 1rem auto;
        display: block;
    }
    
    /* Modal close button mobile */
    .modal .close {
        font-size: 2rem;
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 1200; /* Höher als alle anderen Elemente */
        background: rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        color: #333;
        transition: all 0.3s ease;
    }
    
    .modal .close:hover {
        background: rgba(0, 0, 0, 0.2);
        color: #000;
        transform: scale(1.1);
    }
    
    /* Image sliders in modals */
    .modal-content .image-slider {
        margin: 1rem 0;
    }
    
    .modal-content .slider-arrow {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    /* Mobile-specific form optimizations */
    input[type="tel"],
    input[type="email"],
    input[type="text"] {
        -webkit-appearance: none;
        border-radius: 8px;
    }
    
    /* Prevent zoom on form inputs */
    input,
    select,
    textarea {
        font-size: 16px !important;
        transform: scale(1);
        -webkit-text-size-adjust: 100%;
    }
}

/* Spezifische Mobile Auflösungen für Logo-Optimierung */

/* iPad Mini und große Mobile Bildschirme */
@media (min-width: 430px) and (max-width: 768px) {
    .hero-logo-centered img {
        height: 130px !important; /* Noch größer für große Mobile-Bildschirme */
        max-width: 80vw !important;
        filter: drop-shadow(0 0 22px rgba(255, 255, 255, 1)) !important;
    }
    
    .hero-logo-centered {
        max-width: 500px;
        padding: 1.5rem;
    }
}

/* Spezifisch iPad Mini (768px x 1024px) */
@media (min-width: 768px) and (max-width: 820px) {
    .hero-logo-centered img {
        height: 125px !important;
        max-width: 68vw !important;
        filter: drop-shadow(0 0 22px rgba(255, 255, 255, 0.9)) !important;
    }
    
    .hero-logo-centered {
        max-width: 550px;
        padding: 1.75rem;
    }
}

/* iPhone 12/13/14 Pro Max (428px) */
@media (max-width: 428px) {
    .hero-logo-centered img {
        height: 95px !important;
        max-width: 82vw !important;
        filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.95)) !important;
    }
    
    /* Kontaktformular für große iPhones */
    .contact-form {
        max-width: 100%;
        padding: 1.5rem;
        margin: 0 auto;
    }
    
    .form-top-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        font-size: 16px;
        min-height: 52px;
        padding: 14px 16px;
        border-radius: 10px;
        border: 1px solid #ddd;
        background: #fff;
        box-sizing: border-box;
    }
}

/* iPhone 12/13/14 Pro (390px) */
@media (max-width: 390px) {
    .hero-logo-centered img {
        height: 90px !important;
        max-width: 85vw !important;
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.9)) !important;
    }
    
    /* Kontaktformular für iPhone Pro */
    .contact-form {
        padding: 1.25rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 50px;
        padding: 12px 16px;
        border-radius: 8px;
        font-size: 16px;
    }
    
    .ks-cboxtags {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }
}

/* iPhone SE, iPhone 12/13 mini (375px) */
@media (max-width: 375px) {
    .hero-logo-centered img {
        height: 85px !important;
        max-width: 88vw !important;
        filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.85)) !important;
    }
    
    /* Kontaktformular für iPhone SE/mini */
    .contact-form {
        padding: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 48px;
        padding: 12px 14px;
        border-radius: 6px;
        font-size: 16px;
    }
    
    .form-top-row {
        gap: 1rem;
    }
    
    .card {
        --card-width: 170px;
        --card-height: 160px;
    }
}

/* Sehr kleine Bildschirme (320px - iPhone 5/SE) */
@media (max-width: 320px) {
    .hero-logo-centered img {
        height: 75px !important;
        max-width: 90vw !important;
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8)) !important;
    }
    
    .hero-logo-centered {
        max-width: 300px;
        padding: 0.25rem;
    }
    
    /* Kontaktformular für sehr kleine Bildschirme */
    .contact-form {
        padding: 0.75rem;
        margin: 0 0.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 46px;
        padding: 10px 12px;
        border-radius: 6px;
        font-size: 16px;
    }
    
    .form-top-row {
        gap: 0.75rem;
    }
    
    .ks-cboxtags {
        grid-template-columns: 1fr !important;
        gap: 0.5rem;
    }
    
    .card {
        --card-width: 150px;
        --card-height: 140px;
    }
    
    .form-actions .fancy-btn {
        height: 50px !important;
        font-size: 0.9rem;
    }
}

/* Mobile Landscape Optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        height: 100vh;
        overflow: hidden;
        margin-top: 60px; /* Etwas weniger Platz im Landscape */
    }
    
    .hero-bg-image {
        top: -60px;
        height: calc(100% + 60px);
    }
    
    .hero-bg-image img {
        transform: scale(1.1);
        object-fit: cover;
    }
    
    /* Navbar im Landscape kompakter */
    .navbar {
        height: 60px !important;
        padding: 0.25rem 1rem !important;
    }
    
    .hero-logo-centered {
        top: 45% !important;
        padding: 0.5rem;
        max-width: 500px;
    }
    
    .hero-logo-centered img {
        height: 110px !important; /* Größer für Landscape */
        max-width: 70vw !important;
        filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.95)) !important;
    }
    
    .hero-cta {
        flex-direction: row;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .hero-cta .btn {
        width: auto;
        min-width: 140px;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    /* Hero Navigation Landscape */
    .hero-nav-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .hero-nav-prev {
        left: 15px;
    }
    
    .hero-nav-next {
        right: 15px;
    }
    
    /* Scroll Down Arrow Landscape */
    .scroll-down-arrow {
        bottom: 15px;
    }
    
    .scroll-arrow-container i {
        font-size: 2rem;
    }
    
    .contact-details {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    
    /* Sidewings switch landscape */
    .sidewings-switch .wrapper {
        width: 400px;
        padding: 8px 12px;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    /* Sidewings switch mobile */
    .sidewings-switch .wrapper {
        width: 90%;
        max-width: 400px;
        padding: 8px 12px;
    }
    
    .sidewings-switch .text {
        font-size: 0.9rem;
    }
    
    .sidewings-switch .button {
        width: 60px;
        height: 28px;
    }
    
    .sidewings-switch .button .dot {
        width: 20px;
        height: 20px;
    }
    
    .sidewings-switch input#withSidewings:checked + label.button .dot {
        left: 36px;
    }
    
    /* Service details mobile spacing */
    .service-details .service-block {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .service-details .service-block label {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .service-details textarea {
        min-height: 120px;
        font-size: 16px;
    }
    
    /* Mobile keyboard optimizations */
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        transform: scale(1);
        -webkit-transform: scale(1);
    }
    
    /* Prevent horizontal scroll on mobile */
    html,
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .container {
        overflow-x: hidden;
    }
}

/* Standalone Logo */
.standalone-logo {
    position: fixed;
    top: 20px;
    left: 30px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 1s ease-in-out;
    z-index: 10001;
    pointer-events: none;
}

.standalone-logo img {
    height: 40px;
    width: auto;
    filter: none;
}

.navbar.scrolled ~ .standalone-logo,
.standalone-logo.scrolled {
    opacity: 1;
    transform: translateX(0);
}

.navbar.scrolled ~ .standalone-logo img,
.standalone-logo.scrolled img {
    filter: none; /* Normales Logo beim Scrollen */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 60px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    transition: all 1s ease-in-out;
    position: relative;
    padding: 0.8rem 1.5rem;
    margin: 0 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar.scrolled .nav-link {
    color: #04508c;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(4, 80, 140, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-shadow: none;
}

.nav-link:hover {
    color: #f8f9fa;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-link:hover {
    color: #ffffff;
    background: #04508c;
    border: 1px solid #04508c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(4, 80, 140, 0.2);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

/* Desktop Bar Styles */
.bar {
    width: 25px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.8);
    margin: 3px 0;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

    .navbar.scrolled .bar,
    .hamburger.menu-open .bar {
        background-color: #ffffff;
    }



/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(1.0);
    transition: opacity 1.5s ease-in-out, transform 8s ease-in-out;
    pointer-events: none;
    /* Ensure no edges are visible */
    min-width: 100%;
    min-height: 100%;
}

.hero-bg-image img.active {
    opacity: 1;
}

/* Hero Navigation Arrows */
.hero-navigation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.hero-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.hero-nav-arrow:hover {
    background: rgba(4, 80, 140, 0.8);
    border-color: rgba(4, 80, 140, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.hero-nav-prev {
    left: 30px;
}

.hero-nav-next {
    right: 30px;
}

/* Scroll Down Arrow */
.scroll-down-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    text-align: center;
}

.scroll-arrow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-arrow-container:hover {
    transform: scale(1.1);
}

.scroll-arrow-container i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.scroll-arrow-container:hover i {
    color: rgba(4, 80, 140, 0.9);
    transform: scale(1.1);
}

/* Bounce Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Karussell Animation */
.dot.clicked {
    animation: dotPulse 0.6s ease-in-out;
}

@keyframes dotPulse {
    0% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1.4);
        background: rgba(255, 255, 255, 1);
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
    }
    100% {
        transform: scale(1.2);
    }
}

/* Tooltip labels */
.dot[title]:hover::before {
    content: attr(title);
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 999;
}

/* Scroll to Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(4, 80, 140, 0.9);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1100; /* Höher als Modal */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    pointer-events: none;
    display: none;
}

.scroll-to-top-btn.show {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top-btn:hover {
    background: rgba(4, 80, 140, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Fullscreen/Scroll to Top Button */
.fullscreen-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1100; /* Höher als Modal */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.fullscreen-toggle-btn.scrolled {
    background: rgba(4, 80, 140, 0.9);
    border: 1px solid rgba(4, 80, 140, 0.2);
}

.fullscreen-toggle-btn.scrolled:hover {
    background: rgba(4, 80, 140, 1);
    box-shadow: 0 6px 20px rgba(4, 80, 140, 0.3);
}



/* Fullscreen Mode Styles */
.hero.fullscreen .hero-content {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}



.hero:not(.fullscreen) .hero-content {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.5s ease;
}

/* Logo frame blur effect */
.hero:not(.fullscreen) .hero-logo {
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
}

/* No blur effects needed */
.hero.fullscreen .hero-bg-image img {
    transition: transform 8s ease-in-out;
}

.hero:not(.fullscreen) .hero-bg-image img {
    transition: transform 8s ease-in-out;
}



/* Hero card styling */

.hero.fullscreen .fullscreen-toggle i {
    transform: rotate(180deg);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}



/* Logo frame removed - now handled by .hero-logo itself */

.hero-logo img {
    max-width: 800px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
}



.hero h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    white-space: nowrap;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    justify-content: center;
}

/* Hero Card */


/* ===== HERO CARDS ===== */
.hero-card {
    background: rgba(128, 128, 128, 0.15);
    border-radius: 15px;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 8px;    /* ← Von 0 auf 8px verkleinert */
    left: 8px;   /* ← Von 0 auf 8px verkleinert */
    right: 8px;  /* ← Von 0 auf 8px verkleinert */
    bottom: 8px; /* ← Von 0 auf 8px verkleinert */
    backdrop-filter: blur(6px); /* ← Weiter reduziert für subtileren Effekt */
    -webkit-backdrop-filter: blur(6px);
    z-index: -1;
    pointer-events: none;
    border-radius: 12px; /* ← Leicht kleiner als die Hero Card */
    /* Blur-Effekt jetzt kleiner und dezenter */
}

.card-content h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.card-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}



.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background: #04508c;
    color: white;
}

.btn-primary:hover {
    background: #033d6b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(4, 80, 140, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}



/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #667eea);
    border-radius: 2px;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 100px 0;
    background: #f8f9fa;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 1.5rem 1rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    /* Animation-Klassen hinzufügen */
    animation: slideInFromBottom 0.8s ease forwards;
    opacity: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #3498db, #667eea);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 1.6rem;
    color: white;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
    min-height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.service-card p {
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
    min-height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.service-card ul {
    list-style: none;
    text-align: left;
    min-height: 8rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
}

.service-card li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.8rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0.1rem;
    color: #3498db;
    font-weight: bold;
}

/* ===== EQUIPMENT SECTION ===== */
.equipment {
    padding: 100px 0;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

/* Desktop: Vier Spalten in einer Reihe erzwingen */
@media (min-width: 1025px) {
    .equipment-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.equipment-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    /* Animation-Klassen hinzufügen */
    animation: slideInFromRight 0.8s ease forwards;
    opacity: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 450px;
}

.equipment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.equipment-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.equipment-item img:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.equipment-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.equipment-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
    font-weight: 600;
}

.equipment-info p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Faktenliste innerhalb der Equipment-Karten */
.equipment-info ul {
    list-style: none;
    margin: 0 0 1rem 0;
    padding: 0 0 0 0;
}

.equipment-info ul li {
    position: relative;
    padding-left: 1.2rem;
    margin: 0.35rem 0;
    color: #555;
}

.equipment-info ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #04508c;
    font-weight: 900;
}

.read-more-btn {
    margin-top: auto;
    align-self: center;
    font-size: 0.95rem;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 140px;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}



/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 2.5rem;
    border-radius: 15px;
    width: 95%;
    max-width: 1400px;
    max-height: 85vh;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    overflow-y: auto;
    overflow-x: hidden;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #000;
}

#modalTitle {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

#modalBody {
    color: #666;
    line-height: 1.6;
}

#modalBody p {
    margin-bottom: 1rem;
}

/* Stage Showcase Styles */
.stage-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin: 2.5rem 0;
}

.stage-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 580px;
    align-items: stretch;
}

/* Showtreppe soll eine volle Zeile belegen */
.stage-item--full {
    grid-column: 1 / -1;
}

.stage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stage-item img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    background: #ffffff;
    flex-shrink: 0;
}

.stage-item h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.stage-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
    flex-grow: 1;
}

.stage-specs {
    margin-top: auto;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #04508c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-shrink: 0;
}

.stage-specs.full-height {
    position: relative;
    border-left: none;
}

.stage-specs.full-height::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #04508c;
    border-radius: 2px 0 0 2px;
}

.stage-specs h5 {
    color: #04508c;
    margin: 0 0 0.8rem 0;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.stage-specs ul {
    margin: 0;
    padding-left: 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.stage-specs li {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    text-align: left;
}

.stage-contact-section {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.stage-contact-btn {
    background: #04508c;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.stage-contact-btn:hover {
    background: #033d6b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(4, 80, 140, 0.3);
}

.stage-contact-note {
    color: #666;
    font-style: italic;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

.stage-specs strong {
    color: #333;
}

.stage-features {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e9ecef;
}

.stage-features h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.stage-features ul {
    list-style: none;
    padding: 0;
}

.stage-features li {
    padding: 0.5rem 0;
    color: #666;
    border-bottom: 1px solid #f1f3f4;
}

.stage-features li:last-child {
    border-bottom: none;
}

/* Modal Scroll Styling */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: block;
    align-items: flex-start;
    gap: 0;
}

.about-left {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-right {
    flex: 0.8;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 1.1rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    justify-content: center;
    align-items: stretch;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    background: #ffffff;
    border: 1px solid #e6eaf0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Animation-Klassen hinzufügen */
    animation: bounceIn 1s ease forwards;
    opacity: 0;
    /* Gleiche Höhe für alle Stats */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat h3 {
    font-size: 3.5rem;
    color: #3498db;
    margin-bottom: 0.8rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    text-align: center;
    line-height: 1;
    height: 4.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.stat p {
    color: #04508c;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.team-showcase {
    display: none !important;
}

/* Team-Showcase nur auf Desktop sichtbar */
@media (max-width: 768px) {
    .team-showcase { display: none !important; }
    .about-right { display: none !important; }

    .about-content {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-left {
        width: 100%;
        text-align: center;
    }
}

/* Über KornSound: Bilder immer ausblenden (auch Desktop) */
.about-right { display: none !important; }

/* Tablet-Optimierungen */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Logo für alle iPad-Modelle größer */
    .hero-logo-centered img {
        height: 135px !important; /* Größer als vorher (60px) */
        width: auto !important;
        max-width: 65vw !important;
        filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.95)) !important;
    }
    
    .hero-logo-centered {
        max-width: 600px;
        padding: 1.75rem;
    }
    
    .hero-logo img { max-width: 600px; }
    .services { padding: 80px 0; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .equipment-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
    .hero-card { padding: 2.5rem 2rem; }
    .service-card li { padding-left: 1.6rem; }
    .service-card li::before { left: 0.2rem; }
    
    /* Contact Details 2x2 für iPad */
    .contact-details {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem 1.5rem;
        justify-items: center;
        align-items: start;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .contact-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        width: 100%;
        max-width: 250px;
    }
    
    .contact-item i {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }
    
    .contact-item span {
        font-size: 0.95rem;
        line-height: 1.4;
        text-align: center;
    }
    
    /* Kontaktformular für iPad optimieren */
    .contact-form {
        max-width: 700px;
        margin: 0 auto;
        padding: 2rem;
    }
    
    .form-top-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .form-top-row .form-group {
        width: 100%;
    }
    
    .form-top-row .form-group input,
    .form-top-row .form-group select {
        width: 100%;
        max-width: 100%;
        font-size: 16px;
        min-height: 50px;
        padding: 14px 18px;
        border-radius: 8px;
        border: 1px solid #ddd;
        background: #fff;
        box-sizing: border-box;
    }
    
    /* Alle Textfelder an iPad-Formular anpassen */
    .contact-form .form-group input,
    .contact-form .form-group select,
    .contact-form .form-group textarea {
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
    }
    
    .form-group-message textarea {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    /* Adresse-Feld volle Breite auf iPad */
    .form-top-row .form-group:has(input#event-location) {
        grid-column: 1 / -1;
    }
    
    .form-top-row input#event-location {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Service-Auswahl für iPad */
    .ks-cboxtags {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
        justify-items: center;
    }
    
    /* Card-Grids für iPad */
    .stage-card-grid,
    .module-card-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
        justify-items: center;
    }
    
    .card {
        --card-width: 200px;
        --card-height: 180px;
    }
    
    /* Modal für Tablets anpassen */
    .modal-content {
        margin: 6% auto; /* Tablets: Ähnlich wie Desktop */
        max-height: 82vh;
        padding: 1.5rem;
    }
}

.team-showcase-img {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.team-showcase-img img {
    width: 150px !important;
    height: 150px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.3s ease !important;
    border: 4px solid rgba(255, 255, 255, 0.3) !important;
}

.team-member {
    position: relative;
    overflow: visible;
    border-radius: 12px;
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-showcase-img img:hover {
    transform: scale(1.05);
}





/* Placeholder Styles */
.placeholder-img {
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0) !important;
    border: 4px solid rgba(68, 80, 140, 0.2) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
}

.placeholder-number {
    font-size: 2rem;
    font-weight: 700;
    color: #04508c;
    opacity: 0.6;
}



/* ===== CONTACT SECTION ===== */
.contact {
    padding: 100px 0;
}

/* Full-width info section */
.contact-info-full {
    width: 100%;
    margin-bottom: 4rem !important; /* deutlicher Abstand, forcieren */
    padding-bottom: 0.5rem; /* verhindert Margin-Collapsing optisch */
}

.contact-info {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1400px; /* Noch breiter gemacht */
    margin: 0 auto;
    margin-bottom: 3rem !important; /* sichtbarer Abstand zur Formular-Card */
}

/* Contact form section */
.contact-form-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 2.5rem !important; /* zusätzlicher sichtbarer Abstand nach oben, forcieren */
}

.contact-form {
    width: 100%;
    max-width: 600px;
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-details {
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    gap: 1.5rem 2rem;
    align-items: start;
}

.contact-item {
    display: flex;
    flex-direction: column; /* Icon oben, Text darunter */
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 0.5rem;
}

.contact-item i {
    width: 64px;
    height: 64px;
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
    margin-right: 0;
    background: linear-gradient(135deg, #3498db, #667eea);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: #333;
}

.contact-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.4;
}

/* Text-Container neben dem Icon */
.contact-item > div {
    display: flex;
    flex-direction: column;
    align-items: center; /* Text mittig unter dem Button */
}

/* Dark Mode Anpassung für Kontaktkarte */
body.dark-mode .contact-info,
body.dark-mode .contact-form {
    background: #1a1a1a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

body.dark-mode .contact-item h4 {
    color: #ffffff;
}

body.dark-mode .contact-item p {
    color: #cccccc;
}

.contact-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.anfahrt-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #3498db;
    position: relative;
    overflow: hidden;
}

.anfahrt-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #3498db;
}

.anfahrt-section h4 {
    color: #3498db;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.anfahrt-section p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.anfahrt-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    margin-bottom: 1rem;
}

.anfahrt-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    color: white;
    /* Hover-Animation hinzufügen */
    animation: pulse 0.3s ease;
}

.anfahrt-btn i {
    font-size: 1.5rem;
}

.anfahrt-info {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
}

.anfahrt-info small {
    display: block;
    margin-bottom: 0.25rem;
}

.anfahrt-info i {
    width: 16px;
    margin-right: 0.5rem;
    color: #3498db;
}



.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.contact-info p {
    margin-bottom: 2rem;
    color: #666;
    font-size: 1.1rem;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    gap: 1.5rem 2rem;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 0;
}

.contact-item i {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3498db, #667eea);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
}

.contact-item h4 {
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.contact-item p {
    color: #666;
    margin: 0;
    font-size: 1.0rem;
}

/* Contact Form */
.contact-form {
    width: 100%;
    max-width: 1400px; /* gleiche Breite wie Card darüber (Begrenzung durch .container) */
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Zweispaltiges Layout innerhalb des Formulars */
.contact-form { display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: start; margin-left: 0; }
.form-top-row { display: grid; grid-template-columns: repeat(2, minmax(260px, 1fr)); gap: 1rem 1.25rem; align-items: start; }
.form-top-row .form-group input,
.form-top-row .form-group select,
.form-top-row .form-group textarea { width: 100% !important; min-width: 0 !important; }
.form-top-row input#event-location { width: 204% !important; }
.form-top-row .form-group { margin: 0; }
/* Adresse ist jetzt 5. Feld: volle Breite */
.form-top-row > .form-group:nth-child(5) { grid-column: 1 / -1; }
@media (max-width: 1200px) { .form-top-row { grid-template-columns: repeat(2, minmax(220px, 1fr)); } }
@media (max-width: 800px) { .form-top-row { grid-template-columns: 1fr; } }

.contact-form-title {
    grid-column: 1 / -1;
    margin: 0 0 2rem 0;
    text-align: center;
}

.contact-form-divider {
    text-align: center;
    margin: 2rem 0 1.5rem 0;
}

/* Rechte Spalte: Gewünschte Leistungen oben fixieren */
.form-group-service { grid-column: 1 / -1; align-self: start; justify-self: center; text-align: center; width: 100%; }

/* Linke Spalte: alle anderen Felder */
.contact-form > .form-group,
.contact-form > button[type="submit"] { grid-column: 1 / -1; }
/* Nested grid: obere Felder sollen NICHT über beide Spalten spannen */
.form-top-row > .form-group { grid-column: auto !important; }

/* Interaktive Services rechts */
.service-details { grid-column: 1 / -1; grid-row: auto; display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.service-details .service-block { width: 100%; max-width: 800px; text-align: center; }
.service-details .service-block select,
.service-details .service-block textarea { width: 100%; max-width: 600px; margin: 0 auto; }
/* Message field styling */
.form-group-message {
    grid-column: 1 / -1;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.form-group-message textarea {
    width: 100%;
    max-width: 100%; /* An Card-Breite anpassen */
    min-height: 100px;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    margin: 0;
    box-sizing: border-box;
}

body.dark-mode .form-group-message textarea {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
    border: 2px solid #4a4a4a;
    color: #e0e0e0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(74, 163, 255, 0.1);
    transition: all 0.3s ease;
}

body.dark-mode .form-group-message textarea:focus {
    border-color: #4aa3ff;
    background: linear-gradient(145deg, #353535, #2a2a2a);
    box-shadow: 0 0 0 3px rgba(74, 163, 255, 0.4), 
                inset 0 2px 4px rgba(0, 0, 0, 0.2),
                0 4px 12px rgba(74, 163, 255, 0.15);
    outline: none;
    transform: translateY(-1px);
}

body.dark-mode .form-group-message textarea::placeholder {
    color: #a0a0a0;
    opacity: 0.8;
    font-style: italic;
}

/* Form Actions unten mittig über beide Spalten */
.form-actions { grid-column: 1 / -1; display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 1rem 1.5rem; width: 100%; margin-top: 1.25rem; }
.form-actions .g-recaptcha { justify-self: center; }
.form-actions .btn { justify-self: center; }

/* Fancy submit button in Route-Planen Blau */
.fancy-btn { position: relative; display: inline-block; z-index: 1; overflow: hidden; text-decoration: none; font-weight: 600; font-size: 1rem; padding: 0.75em 1.25em; color: #3498db; background: transparent; border: 0.15em solid #3498db; border-radius: 1.25em; transition: color 0.4s ease; }
.fancy-btn:before, .fancy-btn:after { content: ""; position: absolute; top: -1.5em; z-index: -1; width: 200%; padding-top: 200%; /* aspect-ratio fallback */ border-radius: 40%; background-color: rgba(52,152,219,0.25); transition: transform 0.6s ease, background-color 0.6s ease; }
.fancy-btn:before { left: -80%; transform: translate3d(0, 5em, 0) rotate(-340deg); }
.fancy-btn:after { right: -80%; transform: translate3d(0, 5em, 0) rotate(390deg); }
.fancy-btn:hover, .fancy-btn:focus { color: #ffffff; }
.fancy-btn:hover:before, .fancy-btn:hover:after, .fancy-btn:focus:before, .fancy-btn:focus:after { transform: none; background-color: rgba(52,152,219,0.75); }

/* Ensure consistency with existing primary button styles */
.btn.btn-primary.fancy-btn { border-color: #3498db; background: transparent; }
.btn.btn-primary.fancy-btn:hover { background: transparent; }

/* Match button size to reCAPTCHA (approx. 304x78px) */
.form-actions .fancy-btn { width: 304px; height: 78px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 40px; }

@media (max-width: 520px) {
    .form-actions { grid-template-columns: 1fr; }
    .form-actions .fancy-btn { width: 100%; height: 56px; }
}

/* Linke Spalte: alle Form-Groups in Spalte 2 platzieren */
.contact-form-left { grid-column: 1 / 2; display: grid; grid-template-columns: 1fr; gap: 1rem; }
.contact-form-right { grid-column: 2 / 3; display: grid; grid-template-columns: 1px; gap: 0,5rem; justify-items: start; }

.service-block label { display: block; margin-bottom: 0.4rem; font-weight: 600; }
.service-block select,
.service-block textarea { width: 100%; padding: 10px 12px; border: 2px solid #e1e8ed; border-radius: 8px; font-size: 0.95rem; }

.eventmodules-grid { display: grid; grid-template-columns: 1fr; gap: 0.5rem; }

@media (max-width: 1024px) {
    .service-details { grid-column: 1 / -1; grid-row: auto; }
}

/* Schöne Mehrfachauswahl als Chips */
.service-options { display: block; margin-bottom: 0.5rem; }
/* KS Tag-Checkboxen */
ul.ks-cboxtags { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 180px); grid-auto-rows: min-content; gap: 1.25rem 3.9rem; justify-content: center; justify-items: center; align-content: center; align-items: center; }
ul.ks-cboxtags li { display: block; }
ul.ks-cboxtags li label { display: flex; align-items: center; justify-content: flex-start; width: 235px; min-height: 38px; background-color: rgba(255, 255, 255, .95); border: 2px solid rgba(139, 139, 139, .3); color: #2c3e50; border-radius: 18px; white-space: nowrap; margin: 3px 6px 3px 0; -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; transition: all .2s; padding: 8px 12px; font-size: 0.89rem; line-height: 1; cursor: pointer; }
body.dark-mode ul.ks-cboxtags li label { background-color: rgba(42,42,42,.95); border-color: rgba(255,255,255,0.15); color: #e0e0e0; }
ul.ks-cboxtags li label::before { display: inline-block; font-style: normal; font-variant: normal; text-rendering: auto; -webkit-font-smoothing: antialiased; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 0,87rem; padding: 2px 6px 2px 2px; content: "\f067"; transition: transform .3s ease-in-out; }
ul.ks-cboxtags li input[type="checkbox"]:checked + label::before { content: "\f00c"; transform: rotate(-360deg); transition: transform .3s ease-in-out; }
ul.ks-cboxtags li input[type="checkbox"]:checked + label { border: 2px solid #04508c; background-color: #04508c; color: #fff; transition: all .2s; }
body.dark-mode ul.ks-cboxtags li input[type="checkbox"]:checked + label { border-color: #4aa3ff; background-color: #4aa3ff; color: #0b1220; }
ul.ks-cboxtags li input[type="checkbox"] { position: absolute; opacity: 0; }
ul.ks-cboxtags li input[type="checkbox"]:focus + label { border: 2px solid #4aa3ff; }
/* Ausgrauen gesperrter Optionen (z. B. bei Komplett-Service) */
ul.ks-cboxtags li input[disabled] + label {
    opacity: 0.5;
    filter: grayscale(1);
    cursor: not-allowed;
}
ul.ks-cboxtags li input[disabled] + label:hover {
    transform: none;
}

/* Kartenraster für Bühnenauswahl (Mehrfachauswahl) */
.stage-card-grid { display: grid; grid-template-columns: repeat(4, minmax(180px, 1fr)); gap: 1rem; justify-content: center; justify-items: center; }
.module-card-grid { display: grid; grid-template-columns: repeat(4, minmax(180px, 1fr)); gap: 1rem; justify-content: center; justify-items: center; }
/* Eventmodule: Alle Bilder weiter nach unten versetzen */
.module-card-grid .card__body-cover-image[src*="Fussball"] { object-position: center 60% !important; transform: translateY(12px) !important; }
.module-card-grid .card__body-cover-image[src*="segwayform"] { object-position: center 60% !important; transform: translateY(10px) !important; }
.module-card-grid .card__body-cover-image[src*="Pirat"] { object-position: center 60% !important; transform: translateY(12px) !important; }
.module-card-grid .card__body-cover-image[src*="Hüpfburg"] { object-position: center 60% !important; transform: translateY(12px) !important; }
.module-card-grid .card__body-cover-image[src*="DiscoDome"] { object-position: center 60% !important; transform: translateY(11px) !important; }
.module-card-grid .card__body-cover-image[src*="Aquaballs"] { object-position: center 60% !important; transform: translateY(12px) !important; }
.module-card-grid .card__body-cover-image[src*="Riesenrutsche"] { object-position: center 60% !important; transform: translateY(12px) !important; }
/* Bungee-Bild auch weiter nach unten versetzen */
.module-card-grid .card__body-cover-image[src*="BungeeDia"] { object-position: center 60% !important; transform: translateY(12px) !important; }

.card { --background: #f5f5f5; --background-checkbox: #04508c; --background-image: #fff, rgba(4,80,140, 0.12); --text-color: #666; --text-headline: #2c3e50; --card-shadow: #04508c; --card-height: 190px; --card-width: 190px; --card-radius: 12px; --header-height: 47px; --blend-mode: overlay; --transition: 0.15s; user-select: none; }
.card__input { position: absolute; display: block; outline: none; border: none; background: none; padding: 0; margin: 0; -webkit-appearance: none; }
.card__input:checked ~ .card__body { --shadow: 0 0 0 3px var(--card-shadow); --background: #4a90e2; }
.card__input:checked ~ .card__body .card__body-cover-checkbox { --check-bg: var(--background-checkbox); --check-border: #fff; --check-scale: 1; --check-opacity: 1; }
.card__input:checked ~ .card__body .card__body-cover-checkbox--svg { --stroke-color: #fff; --stroke-dashoffset: 0; }
.card__input:checked ~ .card__body .card__body-cover:after { --opacity-bg: 0; }
.card__input:checked ~ .card__body .card__body-cover-image { --filter-bg: grayscale(0); }
.card__input:disabled ~ .card__body { cursor: not-allowed; opacity: 0.5; }
.card__body { display: grid; grid-auto-rows: calc(var(--card-height) - var(--header-height)) auto; background: var(--background); height: var(--card-height); width: var(--card-width); border-radius: var(--card-radius); overflow: hidden; position: relative; cursor: pointer; border: 2px solid #e1e8ed; box-shadow: var(--shadow, 0 4px 4px 0 rgba(0, 0, 0, 0.02)); transition: transform var(--transition), box-shadow var(--transition); transform: scale(var(--scale, 1)) translateZ(0); }
.card__body:active { --scale: 0.98; }
.card__body-cover { --c-border: var(--card-radius) var(--card-radius) 0 0; --c-width: 100%; --c-height: 100%; position: relative; overflow: hidden; }
.card__body-cover:after { content: ""; position: absolute; left: 0; top: 0; width: var(--c-width); height: var(--c-height); border-radius: var(--c-border); background: linear-gradient(to bottom right, var(--background-image)); mix-blend-mode: var(--blend-mode); opacity: var(--opacity-bg, 1); transition: opacity var(--transition) linear; clip-path: polygon(0% 0%,150% 0%, 110% 100%, 67% 83%, 33% 90%, 0% 96%); -webkit-clip-path: polygon(0% 0%,150% 0%, 110% 100%, 67% 83%, 33% 90%, 0% 96%); }
.card__body-cover-image { width: var(--c-width); height: var(--c-height); object-fit: cover; border-radius: var(--c-border); filter: var(--filter-bg, grayscale(1)); clip-path: polygon(0% 0%,150% 0%, 110% 100%, 67% 83%, 33% 90%, 0% 96%); -webkit-clip-path: polygon(0% 0%,150% 0%, 110% 100%, 67% 83%, 33% 90%, 0% 96%); transform: translateY(6%); }
.card__body-cover-checkbox { background: var(--check-bg, var(--background-checkbox)); border: 2px solid var(--check-border, #fff); position: absolute; right: 10px; top: 10px; z-index: 1; width: 24px; height: 24px; border-radius: 50%; opacity: var(--check-opacity, 0); transition: transform var(--transition), opacity calc(var(--transition) * 1.2) linear, -webkit-transform var(--transition) ease; transform: scale(var(--check-scale, 0)); }
.card__body-cover-checkbox--svg { width: 13px; height: 11px; display: inline-block; vertical-align: top; fill: none; margin: 6px 0 0 5px; stroke: var(--stroke-color, #fff); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16px; stroke-dashoffset: var(--stroke-dashoffset, 16px); transition: stroke-dashoffset 0.4s ease var(--transition); }
.card__body-header { height: var(--header-height); background: var(--background); padding: 0 10px 10px 10px; }
.card__body-header-title { color: var(--text-headline); font-weight: 700; margin-bottom: 6px; font-size: 1rem; }
.card__body-header-subtitle { color: var(--text-color); font-weight: 500; font-size: 0.85rem; }

/* Dark Mode für Karten */
body.dark-mode .card { --background: #2a2a2a; --text-color: #e0e0e0; --text-headline: #ffffff; --background-image: #2a2a2a, rgba(74,163,255, 0.12); }
body.dark-mode .card__input:checked ~ .card__body { --background: #4aa3ff; }


/* Dark Mode Anpassungen für Custom Checkboxes */
body.dark-mode .lns-checkbox { background-color: #2a2a2a; border-color: #3a3a3a; color: #ffffff; }
body.dark-mode .lns-checkbox:hover { border-color: #4aa3ff; box-shadow: 0 2px 8px rgba(74, 163, 255, 0.12); }
body.dark-mode .lns-checkbox span::before { background-color: #3a3a3a; border-color: #555; }
body.dark-mode .lns-checkbox input[type="checkbox"]:checked + span { color: #4aa3ff; }
body.dark-mode .lns-checkbox input[type="checkbox"]:checked + span::after { background-color: #4aa3ff; }
body.dark-mode .lns-checkbox input[type="checkbox"]:focus + span::before { border-color: #4aa3ff; }
.service-options-title { display:block; font-weight:700; margin-bottom:0.5rem; color:#2c3e50; text-align:center; }
body.dark-mode .service-options-title { color: #ffffff; }
.service-chip, .service-chip .service-label, .service-chip input { display: none !important; }
.service-chip input:checked { background: #3498db; border-color: #3498db; }
.service-chip input:checked::after { content: '\2713'; position: absolute; top: -4px; left: 1px; color: #fff; font-size: 12px; }
.service-chip:hover { border-color: #3498db; box-shadow: 0 1px 4px rgba(52,152,219,0.18); }
.hidden-service-select { position: absolute; left: -9999px; width: 0; height: 0; overflow: hidden; }
.form-group-service-mobile { display: none; }

/* Eingabefelder um 50% verkleinern */
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.95rem;
}

/* Textfelder an Card-Breite anpassen */
.contact-form .form-group:not(.form-group-service) input,
.contact-form .form-group:not(.form-group-service) select,
.contact-form .form-group:not(.form-group-service) textarea {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    box-sizing: border-box;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
}

/* Desktop: Textfelder in der linken Spalte begrenzen */
@media (min-width: 1025px) {
    .contact-form .form-group:not(.form-group-service) input,
    .contact-form .form-group:not(.form-group-service) select,
    .contact-form .form-group:not(.form-group-service) textarea {
        max-width: 400px; /* Desktop: Begrenzte Breite für bessere Proportionen */
    }
    
    .form-group-message textarea {
        max-width: 600px; /* Message-Feld etwas breiter */
    }
}

/* Universelle Regel: Textfelder dürfen nie über Container hinausgehen */
.contact-form {
    overflow: hidden;
    box-sizing: border-box;
}

.contact-form .form-group {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.contact-form input,
.contact-form select, 
.contact-form textarea {
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
}

/* Mehrfachauswahl sichtbarer machen */
.contact-form .form-group-service select[multiple] {
    min-height: 140px;
}

/* Buttons mit gleicher Ausrichtung links */
.contact-form button[type="submit"] {
    justify-self: start;
}

@media (max-width: 1024px) {
    .contact-form {
        grid-template-columns: 1fr; /* auf eine Spalte umschalten */
    }
    .form-group-service { grid-column: 1 / -1; grid-row: auto; display: none; }
    .form-group-service-mobile { display: block; }
    .contact-form .form-group input,
    .contact-form .form-group select,
    .contact-form .form-group textarea {
        width: 100%;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #3498db;
}

.footer-section p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #3498db;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    opacity: 0.8;
}

/* Footer Logo */
.footer-brand {
    margin-top: 0.75rem;
    text-align: center;
}

.footer-logo {
    height: 56px;
    width: auto;
    display: block !important;
    margin: 0.5rem auto 0;
    filter: none !important;
    opacity: 1 !important;
    max-width: 220px;
    -webkit-filter: none !important;
    image-rendering: -webkit-optimize-contrast;
}

@media (max-width: 768px) {
    .footer-logo {
        height: 44px;
    }
}

/* Dark Mode Stats Farb-Set */
body.dark-mode .stat {
    background: #1f2937;
    border: 1px solid #2f3b52;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    position: relative;
}

body.dark-mode .stat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #667eea);
    border-radius: 15px 15px 0 0;
}

body.dark-mode .stat h3 {
    color: #4aa3ff;
}

body.dark-mode .stat p {
    color: #cfd8e3;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: bold;
}

.footer-link:hover {
    color: #3498db;
    text-decoration: underline;
}

/* ===== MODAL CONTENT STYLING ===== */
.agb-content {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.agb-content h3 {
    color: #04508c;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.agb-content h3:first-child {
    margin-top: 0;
}

.agb-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: justify;
}

.agb-content strong {
    color: #04508c;
}

.impressum-content {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.impressum-content h3 {
    color: #04508c;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.impressum-content h3:first-child {
    margin-top: 0;
}

.impressum-content h4 {
    color: #3498db;
    margin: 1.5rem 0 0.8rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.impressum-content h4:first-of-type {
    margin-top: 0;
}

.impressum-content p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    text-align: justify;
}

.impressum-content strong {
    color: #04508c;
}

.datenschutz-content {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.datenschutz-content h3 {
    color: #04508c;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.datenschutz-content h3:first-child {
    margin-top: 0;
}

.datenschutz-content h4 {
    color: #3498db;
    margin: 1.5rem 0 0.8rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.datenschutz-content h4:first-of-type {
    margin-top: 0;
}

.datenschutz-content p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    text-align: justify;
}

.datenschutz-content strong {
    color: #04508c;
}

.datenschutz-content ul {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
}

.datenschutz-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* ===== MOBILE RESPONSIVE ===== */

/* Landscape Orientation Fix für Mobile Navbar */
@media (max-height: 500px) and (orientation: landscape) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        z-index: 9999;
        padding: 0.5rem 0;
    }

    .nav-container {
        min-height: 50px;
    }

    .standalone-logo {
        display: block;
        position: fixed;
        top: 16px;
        right: 20px;
        left: auto;
        opacity: 0;
        transform: translateY(-8px);
        transition: all 0.4s ease;
        z-index: 1000;
    }

    .navbar.scrolled ~ .standalone-logo,
    .standalone-logo.scrolled {
        opacity: 1 !important;
        transform: translateY(0);
    }

    .hamburger {
        padding: 0.5rem 1rem;
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        display: flex !important;
    }

    /* Overlay-Menü: standardmäßig versteckt, nur bei .active sichtbar */
    .nav-menu {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        display: none !important;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        padding-top: 60px;
        background: rgba(0, 0, 0, 0.92);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 9998;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        display: flex !important;
    }

    /* Buttons im Overlay kompakter skalieren, damit alle sichtbar sind */
    .nav-menu .nav-item { margin: 0.4rem 0; }

    .nav-menu .nav-link {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        width: auto;
        min-width: 160px;
        max-width: 90vw;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 18px;
        color: #ffffff;
    }

    .hero {
        padding: 80px 0 40px;
        min-height: 100vh;
    }

    .hero-card {
        max-width: 90%; /* ← Reduziert für Landscape */
        width: 90% !important;
        height: auto !important; /* ← Geändert von 100% auf auto */
        max-height: 70vh; /* ← Begrenzte Höhe für Landscape */
        padding: 1rem 0.8rem; /* ← Etwas mehr Padding als vorher */
        margin: 0 auto !important;
        position: relative;
        left: 50%;
        transform: translateX(-52%) !important; /* ← Leicht nach links verschoben */
        box-sizing: border-box;
    }

    .card-content h3 {
        font-size: 1.2rem;
    }

    .card-content p {
        font-size: 0.9rem;
    }

    /* Team-Showcase auch in Landscape ausblenden */
    .team-showcase {
        display: none !important;
    }

    .about-right {
        display: none;
    }
}

@media (max-width: 768px) {

    .nav-menu.active {
        top: 0;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        z-index: 1001;
        padding: 0.8rem 1.2rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 25px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .hamburger:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .navbar.scrolled .hamburger,
    .hamburger.menu-open {
        background: rgba(4, 80, 140, 0.9);
        border: 1px solid rgba(4, 80, 140, 0.2);
    }

    .navbar.scrolled .hamburger:hover,
    .hamburger.menu-open:hover {
        background: rgba(4, 80, 140, 1);
        box-shadow: 0 6px 20px rgba(4, 80, 140, 0.3);
    }

    

    .standalone-logo {
        top: 15px;
        left: 20px;
        opacity: 0; /* Logo anfangs unsichtbar auf Mobile */
        transform: translateX(-20px);
    }

    .standalone-logo img {
        height: 30px; /* Kleiner auf Mobile */
        filter: brightness(0) invert(1); /* Weißes Logo auf Mobile */
    }

    .navbar.scrolled ~ .standalone-logo,
    .standalone-logo.scrolled {
        opacity: 1 !important;
        transform: translateX(0) !important;
    }

    .navbar.scrolled ~ .standalone-logo img,
    .standalone-logo.scrolled img {
        filter: none !important; /* Normales Logo beim Scrollen auf Mobile */
    }

    .nav-menu {
        position: fixed;
        left: 0;
        top: -100vh;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: none;
        padding: 0;
        justify-content: flex-start;
        padding-top: 100px;
        border: none;
        display: flex;
        z-index: 998;
        margin: 0;
        position: fixed;
        transform: none;
    }
    
    body.dark-mode .nav-menu {
        background: rgba(0, 0, 0, 0.9) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
    }

    .nav-menu .nav-link {
        color: #ffffff;
        font-size: 1.2rem;
        padding: 0.6rem 1.5rem;
        margin: 0.2rem auto;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-radius: 30px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
        width: 220px; /* Breiter für bessere Bedienbarkeit */
        text-align: center;
        display: block;
        font-weight: 600;
        letter-spacing: 0.5px;
    }
    


    .nav-menu .nav-link:hover {
        color: #ffffff;
        background: #04508c;
        border: 1px solid #04508c;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(4, 80, 140, 0.3);
    }


    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 0 80px;
        min-height: 90vh;
    }

    .hero-logo img {
        max-width: 350px;
        width: 90vw;
        height: auto;
        margin-bottom: 1rem;
    }

    .hero-card {
        max-width: 90%; /* ← Reduziert von 95% auf 90% */
        width: 90% !important; /* ← Reduziert von 95% auf 90% */
        height: auto !important; /* ← Geändert von 100% auf auto für kleinere Höhe */
        max-height: 80vh; /* ← Begrenzte maximale Höhe */
        margin: 0 auto !important;
        padding: 2rem 1.5rem; /* ← Reduziertes Padding */
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        left: 50%;
        transform: translateX(-52%) !important; /* ← Leicht nach links verschoben */
        box-sizing: border-box;
    }

    .card-content h3 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }

    /* Hero Content in kleineren Cards anpassen */
    .hero-content {
        padding: 1rem;
        min-height: auto;
    }

    .card-content p {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1.2rem;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 30px;
        font-size: 1.1rem;
    }
    
    .team-showcase {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
        max-width: 350px;
    }
    
    .team-showcase-img {
        width: 100px !important;
        height: 100px !important;
    }
    


    .hero-logo::before {
        width: calc(100% + 20px);
        height: calc(100% + 30px);
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-card {
        max-width: 95%;
        padding: 2rem 1.5rem;
    }

    .modal-content {
        margin: 5% auto;
        max-height: 90vh;
        padding: 1rem;
        width: 98%;
    }

    .stage-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stage-item img {
        width: 100%;
        height: auto;
        max-height: 240px;
        object-fit: contain;
    }

    /* Modal-Bilder auf Mobile vollständig anzeigen */
    .modal .stage-item img {
        width: 100%;
        height: auto !important;
        max-height: 60vh;
        object-fit: contain !important;
    }

    .card-content h3 {
        font-size: 1.1rem;
    }

    .card-content p {
        font-size: 0.9rem;
    }

    .detail-item {
        font-size: 0.85rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-left {
        order: 1;
        width: 100%;
    }
    
    .about-right {
        order: 2;
        width: 100%;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.2rem;
    }
    
    .stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .stat {
        text-align: center;
        padding: 1rem;
    }
    
    .stat h3 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .stat p {
        font-size: 0.9rem;
    }
    


    

    
    .contact-info-full { margin-bottom: 3rem; }

    .contact-info {
        padding: 1.5rem;
        max-width: 100%;
        margin: 0;
    }

    .contact-details {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 Spalten auf Mobile */
        gap: 1rem 1.25rem;
    }

    .contact-item {
        min-width: auto;
        max-width: none;
    }

    .contact-form-section {
        padding: 0 1rem;
    }

    .contact-form {
        background: white;
        padding: 2.5rem 2rem;
        border-radius: 20px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        max-width: 100%;
        margin: 0 auto;
    }

    .form-group {
        margin-bottom: 2rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 16px 18px;
        border: 2px solid #e1e8ed;
        border-radius: 12px;
        font-size: 1rem;
        transition: border-color 0.3s ease;
        box-sizing: border-box;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: #3498db;
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    }

    .form-group textarea {
        resize: vertical;
        min-height: 140px;
        font-family: inherit;
    }

    .contact-form button[type="submit"] {
        width: 100%;
        padding: 16px 30px;
        font-size: 1.1rem;
        border-radius: 50px;
        margin-top: 1rem;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .contact-sections {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .anfahrt-section {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }

    .anfahrt-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        border-radius: 50px;
        font-weight: 600;
    }

    .whatsapp-section {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }

    .whatsapp-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        border-radius: 50px;
        font-weight: 600;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
        padding: 0 1rem;
    }

    .stat {
        text-align: center;
        padding: 2rem 1.5rem;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 220px;
        max-width: 300px;
        margin: 0 auto;
    }

    .stat:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    }

    .stat h3 {
        font-size: 4rem;
        color: #3498db;
        margin-bottom: 1rem;
        font-weight: 800;
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
        min-width: auto;
        text-align: center;
        line-height: 1;
        height: 4.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
    }

    .stat p {
        color: #04508c;
        font-weight: 600;
        font-size: 1.2rem;
        margin: 0;
        white-space: nowrap;
        opacity: 0.95;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
        max-width: 100%;
    }

    .service-card {
        padding: 2rem 1.5rem;
        margin: 0 auto;
        max-width: 400px;
        width: 100%;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 1.5rem;
    }

    .service-icon i {
        font-size: 1.8rem;
    }

    .service-card h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .service-card p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        text-align: center;
        min-height: auto;
    }

    .service-card ul {
        text-align: left;
        min-height: auto;
        max-width: 320px;
        margin: 0 auto;
        padding-left: 0.25rem;
    }

    .service-card li {
        padding: 0.5rem 0 0.5rem 1.6rem;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-top: 2rem;
    }

    .equipment-item {
        background: white;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 500px;
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }

    .equipment-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    }

    .equipment-item img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        object-position: center;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        flex-shrink: 0;
    }

    .equipment-item img:hover {
        transform: scale(1.03);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    .equipment-info {
        padding: 2rem 1.5rem;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        justify-content: space-between;
        text-align: center;
    }

    .equipment-info h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        color: #2c3e50;
        font-weight: 700;
    }

    .equipment-info p {
        color: #666;
        margin-bottom: 2rem;
        line-height: 1.7;
        font-size: 1rem;
        flex-grow: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .read-more-btn {
        margin-top: auto;
        align-self: center;
        font-size: 1rem;
        padding: 12px 30px;
        border-radius: 30px;
        transition: all 0.3s ease;
        font-weight: 600;
        min-width: 160px;
    }

    .footer {
        background: #2c3e50;
        color: white;
        padding: 80px 0 30px;
        margin-top: 4rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 3rem;
        text-align: center;
    }

    .footer-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .footer-section h3 {
        color: #3498db;
        font-size: 1.4rem;
        margin-bottom: 1rem;
        font-weight: 600;
    }

    .footer-section p {
        margin-bottom: 1.5rem;
        opacity: 0.9;
        font-size: 1rem;
        line-height: 1.6;
        max-width: 300px;
        text-align: center;
    }

    .footer-section ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }

    .footer-section ul li {
        margin-bottom: 0;
    }

    .footer-section ul li a {
        color: white;
        text-decoration: none;
        opacity: 0.9;
        transition: all 0.3s ease;
        font-size: 1rem;
        padding: 0.5rem 1rem;
        border-radius: 25px;
        background: rgba(255, 255, 255, 0.1);
        display: inline-block;
        min-width: 120px;
        text-align: center;
        font-weight: 500;
    }

    .footer-section ul li a:hover {
        opacity: 1;
        color: #3498db;
        background: rgba(52, 152, 219, 0.2);
        transform: translateY(-2px);
    }

    .social-links {
        display: flex;
        gap: 1.5rem;
        margin-top: 2rem;
        justify-content: center;
    }

    .social-links a {
        width: 50px;
        height: 50px;
        background: #3498db;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 1.3rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .social-links a:hover {
        background: #2980b9;
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    }

    .footer-bottom {
        text-align: center;
        padding-top: 2.5rem;
        border-top: 1px solid #34495e;
        opacity: 0.9;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .footer-link {
        color: #ffffff;
        text-decoration: none;
        transition: color 0.3s ease;
        font-weight: 600;
        padding: 0.2rem 0.5rem;
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.1);
    }

    .footer-link:hover {
        color: #3498db;
        background: rgba(52, 152, 219, 0.2);
        text-decoration: underline;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.2rem;
    }

    .hero-logo img {
        max-width: 280px;
        width: 85vw;
    }

    .hero-card {
        max-width: 95%; /* ← Reduziert von 98% auf 95% */
        width: 95% !important; /* ← Reduziert von 98% auf 95% */
        height: auto !important; /* ← Geändert von 100% auf auto */
        max-height: 75vh; /* ← Begrenzte maximale Höhe für kleine Bildschirme */
        margin: 0 auto !important;
        padding: 1.5rem 1rem; /* ← Weiter reduziertes Padding */
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        left: 50%;
        transform: translateX(-52%) !important; /* ← Leicht nach links verschoben */
        box-sizing: border-box;
    }

    .card-content h3 {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .card-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 25px;
        font-size: 1rem;
    }



    .hero-logo::before {
        width: calc(100% + 15px);
        height: calc(100% + 20px);
        border-radius: 15px;
    }

    .section-title {
        font-size: 1.9rem;
        margin-bottom: 2.5rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        border-radius: 45px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1rem;
    }

    .cookie-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .cookie-buttons {
        justify-content: center;
        gap: 1rem;
    }

    .cookie-buttons .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        min-width: 120px;
    }

    .scroll-to-top {
        bottom: 25px;
        right: 25px;
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    .dark-mode-toggle-btn {
        bottom: 25px;
        right: 25px; /* ← Korrigiert von 85px auf 25px */
        width: 50px;
        height: 50px;
    }

    /* Services auf sehr kleinen Bildschirmen */
    .service-card {
        padding: 1.5rem 1rem;
        max-width: 100%;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 1rem;
    }

    .service-icon i {
        font-size: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    /* Equipment auf sehr kleinen Bildschirmen */
    .equipment-item {
        max-width: 100%;
        min-height: 450px;
    }

    .equipment-item img {
        height: 250px;
    }

    .equipment-info {
        padding: 1.5rem 1rem;
    }

    .equipment-info h3 {
        font-size: 1.4rem;
    }

    .equipment-info p {
        font-size: 0.95rem;
    }

    /* Contact Form auf sehr kleinen Bildschirmen */
    .contact-form {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    .contact-form button[type="submit"] {
        padding: 14px 25px;
        font-size: 1rem;
    }

    /* Footer auf sehr kleinen Bildschirmen */
    .footer {
        padding: 60px 0 25px;
    }

    .footer-content {
        gap: 2.5rem;
    }

    .footer-section h3 {
        font-size: 1.3rem;
    }

    .footer-section p {
        font-size: 0.95rem;
    }

    .footer-section ul li a {
        font-size: 0.95rem;
        padding: 0.4rem 0.8rem;
        min-width: 110px;
    }

    .social-links {
        gap: 1.2rem;
    }

    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .footer-bottom {
        font-size: 0.9rem;
        padding-top: 2rem;
    }
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.equipment-item {
    /* Animation entfernt um weiße Flackereffekte zu vermeiden */
}

/* Hover Effects */
.service-card:hover .service-icon {
    transform: scale(1.1);
}

.equipment-item:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 1rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* ===== SCROLL TO TOP ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #04508c;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1100; /* Höher als Modal */
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-to-top:hover {
    background: #033d6b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.scroll-to-top.show {
    display: flex;
}

/* ===== DARK MODE TOGGLE ===== */
.dark-mode-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px; /* Grundposition */
    width: 50px;
    height: 50px;
    background: #04508c;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 1100; /* Höher als Modal */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dark-mode-toggle-btn:hover {
    background: #033d6b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.dark-mode-toggle-btn.show {
    display: flex;
}

/* Scroll-To-Top neben dem Darkmode-Button platzieren */
.scroll-to-top.show {
    display: flex;
}

/* Abstand zwischen beiden Buttons */
.dark-mode-toggle-btn.show + .scroll-to-top,
.scroll-to-top.show {
    right: 92px; /* 30px + 50px Button + 12px Gap */
}

/* Mobile: Buttons bündig unten rechts, Scroll-Button leicht nach links versetzt */
@media (max-width: 768px) {
    .dark-mode-toggle-btn { right: 25px; bottom: 25px; }
    .scroll-to-top { bottom: 25px; }
    .scroll-to-top.show { right: 87px; }
}

/* ===== ANIMATION CLASSES ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
}

 

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Scroll-basierte Animationen für Service Cards und Equipment Items */
.service-card,
.equipment-item {
    /* Basis-Transition für Animationen */
    transition: opacity 1.2s ease, transform 1.2s ease;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

/* Animierter Zustand für sichtbare Cards */
.service-card.show,
.equipment-item.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Slide-Items für Eventmodule Diashow */
.slide-item {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slide-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.slide-description {
    text-align: center;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    max-width: 320px;
    margin: 0 auto;
    backdrop-filter: blur(3px);
}

.slide-description h4 {
    color: #04508c;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 0 0.2rem 0;
    line-height: 1.2;
}

.slide-description p {
    color: #666;
    font-size: 0.75rem;
    margin: 0;
    line-height: 1.3;
    font-weight: 400;
}

/* Dark Mode für Slide Descriptions */
body.dark-mode .slide-description {
    background: rgba(42, 42, 42, 0.85);
}

body.dark-mode .slide-description h4 {
    color: #4aa3ff;
}

body.dark-mode .slide-description p {
    color: #e0e0e0;
}

/* Erweiterte Animationen */
@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateIn {
    0% {
        opacity: 0;
        transform: rotate(-180deg) scale(0.3);
    }
    100% {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes flipInX {
    0% {
        opacity: 0;
        transform: perspective(400px) rotateX(90deg);
    }
    40% {
        transform: perspective(400px) rotateX(-20deg);
    }
    60% {
        transform: perspective(400px) rotateX(10deg);
    }
    80% {
        transform: perspective(400px) rotateX(-5deg);
    }
    100% {
        opacity: 1;
        transform: perspective(400px) rotateX(0deg);
    }
}

/* Animation-Klassen */
.slide-in-bottom {
    opacity: 0;
    animation: slideInFromBottom 0.8s ease forwards;
}

.slide-in-top {
    opacity: 0;
    animation: slideInFromTop 0.8s ease forwards;
}

.rotate-in {
    opacity: 0;
    animation: rotateIn 1s ease forwards;
}

.bounce-in {
    opacity: 0;
    animation: bounceIn 1s ease forwards;
}

.slide-in-left-anim {
    opacity: 0;
    animation: slideInFromLeft 0.8s ease forwards;
}

.slide-in-right-anim {
    opacity: 0;
    animation: slideInFromRight 0.8s ease forwards;
}

.zoom-in {
    opacity: 0;
    animation: zoomIn 0.8s ease forwards;
}

.flip-in-x {
    opacity: 0;
    animation: flipInX 1s ease forwards;
}

/* Verzögerte Animationen */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }

/* Hover-Animationen */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-rotate {
    transition: transform 0.3s ease;
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(52, 152, 219, 0.5);
}

/* Parallax-Effekt */
.parallax {
    transform: translateZ(0);
    will-change: transform;
}

/* Page-Transition Animationen entfernt um weiße Flackereffekte zu vermeiden */

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Typing Animation */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: #3498db; }
}

.typing-animation {
    overflow: hidden;
    border-right: 2px solid #3498db;
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink 0.75s step-end infinite;
}

/* ===== MODAL STYLES ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 900; /* Niedriger als UI-Buttons */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

/* UI-Buttons ausblenden wenn Modal geöffnet ist */
.modal[style*="display: block"] ~ .dark-mode-toggle-btn,
.modal[style*="display: block"] ~ .scroll-to-top,
.modal[style*="display: block"] ~ .scroll-to-top-btn,
.modal[style*="display: block"] ~ .fullscreen-toggle-btn {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: scale(0.8) !important;
    transition: all 0.3s ease !important;
}

/* Alternative: Wenn Modal die Klasse 'show' hat */
.modal.show ~ .dark-mode-toggle-btn,
.modal.show ~ .scroll-to-top,
.modal.show ~ .scroll-to-top-btn,
.modal.show ~ .fullscreen-toggle-btn {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: scale(0.8) !important;
    transition: all 0.3s ease !important;
}

/* Robustere Lösung: Body-Klasse wenn Modal offen ist */
body.modal-open .dark-mode-toggle-btn,
body.modal-open .scroll-to-top,
body.modal-open .scroll-to-top-btn,
body.modal-open .fullscreen-toggle-btn {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: scale(0.8) translateY(10px) !important;
    transition: all 0.3s ease !important;
}

/* Sicherstellen dass Buttons wieder erscheinen wenn Modal geschlossen wird */
body:not(.modal-open) .dark-mode-toggle-btn.show,
body:not(.modal-open) .scroll-to-top.show,
body:not(.modal-open) .scroll-to-top-btn.show,
body:not(.modal-open) .fullscreen-toggle-btn {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: scale(1) translateY(0) !important;
}

.modal-content {
    background: #ffffff;
    margin: 5% auto; /* Desktop: Weniger Abstand nach oben */
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 1200px;
    max-height: 85vh; /* Desktop: Mehr Höhe verfügbar */
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid #3498db;
    transform: translateY(0);
}

/* Modal Bilder - OHNE RÄNDER */
.modal .stage-item img {
    background: transparent !important;
    object-fit: cover;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    height: 230px;
    width: 100%;
    position: relative;
}

/* Image-Slider in Modals (Showtreppen/Podeste) */
.image-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.image-slider .slides {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}

/* Slide-Items in der Diashow */
.image-slider .slide-item {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100%;
}

.image-slider .slide-item img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    display: block;
    background: #f8f9fa;
    padding: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-slider .slide-description {
    text-align: center;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    max-width: 320px;
    margin: 0 auto;
    backdrop-filter: blur(3px);
}

.image-slider .slide-description h4 {
    color: #04508c;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 0 0.2rem 0;
    line-height: 1.2;
}

.image-slider .slider-dots {
    display: none;
}

/* Slider-Pfeile */
.image-slider .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.image-slider .slider-arrow:hover {
    background: rgba(0,0,0,0.6);
}

.image-slider .slider-prev { left: 10px; }
.image-slider .slider-next { right: 10px; }

.image-slider .slider-arrow:disabled {
    opacity: 0.5;
    cursor: default;
}



.modal .stage-item {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
}

/* Spezielle Behandlung für problematische Bilder - OHNE RÄNDER */
.modal .stage-item img[src*="laser.jpg"],
.modal .stage-item img[src*="background5.png"] {
    background: #000000 !important;
    border: none;
}

/* Showtreppe-Bild mit weißem Hintergrund */
.modal .stage-item img[src*="showtreppescaled.png"] {
    background: #ffffff !important;
    border: none;
}

/* Pioneer-Bild an Hero Card Breite anpassen */
.modal .stage-item img[src*="setupmaster.jpg"] {
    height: 300px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: block !important;
    object-fit: cover !important;
}





/* Dark Mode Modal Styles */
body.dark-mode .modal-content {
    background: #2a2a2a;
    color: #ffffff;
    border-color: #3498db;
}

body.dark-mode .modal .stage-item img {
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    background: #1a1a1a !important;
}

body.dark-mode .modal .stage-item img[src*="laser.jpg"],
body.dark-mode .modal .stage-item img[src*="background5.png"] {
    background: #1a1a1a !important;
}

/* Showtreppe-Bild im Dark Mode auch mit weißem Hintergrund */
body.dark-mode .modal .stage-item img[src*="showtreppe.png"] {
    background: #ffffff !important;
}

/* Pioneer-Bild im Dark Mode auch mit Grauen Hintergrund */
body.dark-mode .modal .stage-item img[src*="setupmaster.jpg"] {
    background: #2a2a2a !important;
}

/* Dark Mode: Dunkler Hintergrund für Slider-Bilder */
body.dark-mode .image-slider .slide-item img {
    background: #2a2a2a !important;
}

body.dark-mode .modal .image-slider .slide-item img {
    background: #2a2a2a !important;
}


/* ===== STAGE SHOWCASE & SPECS STYLES ===== */
.stage-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stage-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stage-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.stage-item h4 {
    color: #04508c;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
    text-align: center;
}

.stage-item p {
    color: #333333;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.stage-specs {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border: none;
}

.stage-specs h5 {
    color: #04508c;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.stage-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stage-specs li {
    color: #333333;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 500;
}

.stage-specs li:last-child {
    border-bottom: none;
}

.stage-specs strong {
    color: #04508c;
    font-weight: 600;
}

/* Dark Mode Stage Styles */
body.dark-mode .stage-item {
    background: #2a2a2a;
    border-color: #e0e0e0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

body.dark-mode .stage-item h4 {
    color: #ffffff;
}

body.dark-mode .stage-item p {
    color: #ffffff;
}

body.dark-mode .stage-specs {
    background: #1a1a1a;
    border-color: #e0e0e0;
}

body.dark-mode .stage-specs h5 {
    color: #ffffff;
}

body.dark-mode .stage-specs li {
    color: #ffffff;
    border-bottom-color: #3498db;
}

body.dark-mode .stage-specs strong {
    color: #3498db;
}

/* ===== WEITERE MOBILE & PERFORMANCE OPTIMIERUNGEN ===== */

/* GPU-Beschleunigung für Animationen */
.service-card,
.equipment-item,
.stat,
.hero-card,
.btn,
.nav-link,
.hamburger {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Optimierte Scroll-Performance */
* {
    -webkit-overflow-scrolling: touch;
}

/* Reduzierte Motion für Benutzerpräferenz */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Bessere Touch-Ziele für kleine Bildschirme */
@media (max-width: 480px) {
    .nav-link,
    .btn,
    .hamburger,
    .read-more-btn {
        min-height: 48px;
        padding: 12px 20px;
        touch-action: manipulation;
    }

    /* Verbesserte Lesbarkeit auf kleinen Bildschirmen */
    body {
        font-size: 16px;
        line-height: 1.6;
        -webkit-text-size-adjust: 100%;
    }

    /* Optimierte Modal-Fenster für kleine Bildschirme */
    .modal-content {
        margin: 10px;
        max-height: 90vh;
        padding: 1.5rem;
        border-radius: 20px;
    }

    /* Verbesserte Formulare für Touch */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Verhindert Zoom auf iOS */
        min-height: 48px;
    }

    /* Bessere Button-Größen */
    .contact-form button[type="submit"] {
        min-height: 52px;
        font-size: 1.1rem;
    }
}

/* Verbesserte Touch-Feedback für alle interaktiven Elemente */
.btn:active,
.nav-link:active,
.hamburger:active,
.equipment-item:active,
.service-card:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Optimierte Bild-Ladezeiten */
.equipment-item img,
.stage-item img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Verbesserte Fokus-Indikatoren für Accessibility */
.nav-link:focus-visible,
.btn:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.hamburger:focus-visible {
    outline: 3px solid #04508c;
    outline-offset: 2px;
    border-radius: 8px;
}

/* Dark Mode Fokus-Indikatoren */
body.dark-mode .nav-link:focus-visible,
body.dark-mode .btn:focus-visible,
body.dark-mode button:focus-visible,
body.dark-mode input:focus-visible,
body.dark-mode select:focus-visible,
body.dark-mode textarea:focus-visible,
body.dark-mode .hamburger:focus-visible {
    outline-color: #4aa3ff;
}

/* Verbesserte Performance für Animationen */
@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px) translateZ(0);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px) translateZ(0);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateZ(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px) translateZ(0);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateZ(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateZ(0);
    }
    to {
        opacity: 1;
        transform: scale(1) translateZ(0);
    }
}

/* Verbesserte Scroll-Performance für iOS */
.hero,
.services,
.equipment,
.about,
.contact {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

/* Optimierte Touch-Delays für iOS */
.nav-link,
.btn,
.hamburger,
.equipment-item img,
.service-card {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Bessere Unterstützung für verschiedene Bildschirm-Dichten */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
    .hero-logo img,
    .equipment-item img,
    .stage-item img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: optimize-contrast;
    }
}

/* Verbesserte Performance für schwächere Geräte */
@media (max-width: 768px) and (max-height: 600px) {
    /* Reduzierte Animationen auf kleinen Geräten */
    .service-card,
    .equipment-item {
        animation-duration: 0.6s;
    }

    /* Vereinfachte Hover-Effekte */
    .service-card:hover,
    .equipment-item:hover {
        transform: translateY(-3px);
    }
}

/* Screen Reader Only Hilfstexte */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Live Region für Screen Reader */
#live-region {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Verbesserte Fokus-Management für Modal-Fenster */
.modal {
    /* Modal-Fenster sollten fokussiert bleiben */
}

.modal[style*="display: block"] {
    /* Fokussierbare Elemente im Modal behalten */
}

/* Verbesserte Error-States für Formulare */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group.error label {
    color: #e74c3c;
}

/* Loading States für bessere UX */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Verbesserte Print-Styles */
@media print {
    .navbar,
    .fullscreen-toggle-btn,
    .dark-mode-toggle-btn,
    .scroll-to-top,
    .cookie-consent {
        display: none !important;
    }

    .hero,
    .services,
    .equipment,
    .about,
    .contact {
        box-shadow: none;
        border: none;
    }

    .btn {
        background: transparent;
        color: black;
        border: 1px solid black;
    }
}

/* Override: Hochauflösende Bilder im Modal-Slider */
.modal .image-slider .slide-item img {
    height: 450px !important;
    object-fit: contain !important;
    background: #ffffff !important;
    padding: 1rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

@media (max-width: 768px) {
    .modal .image-slider .slide-item img {
        height: 350px !important;
        padding: 0.75rem !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }
}

