/* 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; }

    /* 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); }
}
/* ===== 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 {
    background: #2a2a2a;
    color: #ffffff;
    border-color: #333;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus,
body.dark-mode .form-group select:focus {
    border-color: #04508c;
    background: #333;
}

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: 60px !important;
        max-width: 250px !important;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hero-logo-centered img {
        height: 50px !important;
        max-width: 200px !important;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .hero-logo-centered img {
        height: 40px !important;
        max-width: 150px !important;
    }
}

/* 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;
}

/* Slideshow Navigation Dots */
.slideshow-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    z-index: 998;
}

.dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: white;
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Navigation Icons */
.dot i {
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dot.active i {
    color: #04508c;
}

/* Current dot number */
.dot-number {
    color: white;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dot.active .dot-number {
    color: #04508c;
}

/* 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: 1001;
    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: 1001;
    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) {
    .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; }
}

.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;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}
.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;
    height: 100%;
}

.contact-right .contact-form {
    height: 100%;
}

.contact-details {
    margin-top: auto;
}

.contact-item i {
    width: 64px;
    height: 64px;
    font-size: 1.4rem;
}

.contact-item h4 {
    font-size: 1.2rem;
}

.contact-item p {
    font-size: 1rem;
}

/* Dark Mode Anpassung für Kontaktkarte */
body.dark-mode .contact-info {
    background: #1a1a1a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.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;
}

.whatsapp-section { }

.whatsapp-section::before { }

.whatsapp-section h4 { }

.whatsapp-section p { }

.whatsapp-btn { }

.whatsapp-btn:hover { }

.whatsapp-btn i { }

.whatsapp-info { }

.whatsapp-info small { }

.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: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.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.6rem;
}

.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 {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.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,
    .contact-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-right {
        gap: 2rem;
        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: 1000;
    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: 1000;
    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 ease;
    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);
}

/* 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: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: #ffffff;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 1200px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid #3498db;
}

/* 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;
}

.image-slider img {
    width: 100%;
    height: 360px; /* größer als Standard 230px */
    object-fit: contain;
    background: #ffffff;
}

.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 img {
    background: #1a1a1a !important;
}

body.dark-mode .modal .image-slider img {
    background: #1a1a1a !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: Größere Bilder im Modal-Slider (Showtreppen/Podeste) */
.modal .image-slider img {
    height: 420px !important;
    object-fit: contain !important;
}

@media (max-width: 768px) {
    .modal .image-slider img {
        height: 260px !important;
    }
}

