/* ========================================
   GLOBAL CSS VARIABLES (THEME: MIDNIGHT GLASS)
   ======================================== */

:root {
    --electric-blue: #06F;
    --neon-blue: #00BFFF;
    --cyber-orange: #FF4500;
    --sunset-gold: #FFB347;
    --pure-white: #FFF;
    --ghost-white: #F8FAFC;
    --steel: #64748B;
    --charcoal: #1E293B;
    --midnight: #0F172A;
    --void: #000;

    /* ELEGANT SKY-GOLD-SILVER GRADIENTS */
    --sky-blue: #87CEEB;
    --pure-gold: #FFD700;
    --silver: #C0C0C0;
    --platinum: #E5E4E2;
    --deep-sky: #4169E1;
    --royal-blue: #4169E1;
    --gradient-sky: linear-gradient(135deg, #87CEEB 0%, #4169E1 100%);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --gradient-silver: linear-gradient(135deg, #E5E4E2 0%, #C0C0C0 100%);
    --gradient-cosmic: radial-gradient(circle at 30% 30%, rgb(135, 206, 235, 0.3) 0%, transparent 50%),
                      radial-gradient(circle at 70% 70%, rgb(255, 215, 0, 0.2) 0%, transparent 50%),
                      linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #334155 100%);
    --gradient-hero: linear-gradient(135deg, #87CEEB 0%, #4169E1 50%, #FFD700 100%);
    --gradient-cyber: linear-gradient(135deg, #87CEEB 0%, #4169E1 50%, #FFD700 100%);
    --gradient-premium: linear-gradient(45deg, #4169E1 0%, #87CEEB 25%, #FFD700 50%, #E5E4E2 75%, #4169E1 100%);

    /* PREMIUM SHADOWS */
    --shadow-cyber: 0 0 50px rgb(0, 102, 255, 0.5), 0 0 100px rgb(0, 191, 255, 0.3);
    --shadow-neon: 0 0 20px currentcolor, 0 0 40px currentcolor, 0 0 80px currentcolor;
    --shadow-floating: 0 25px 50px rgb(0, 0, 0, 0.25);
    --shadow-glass: inset 0 1px 0 rgb(255, 255, 255, 0.1), 0 1px 3px rgb(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, -apple-system, sans-serif;
    background: var(--midnight);
    color: var(--pure-white);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizelegibility;
}

/* PERFORMANCE OPTIMIZATIONS */
.optimized-animation {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* ACCESSIBILITY IMPROVEMENTS */
.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;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--pure-white);
    color: var(--midnight);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Focus indicators */
.nav-link:focus,
.cta-button:focus,
.contact-method:focus,
.reference-link:focus {
    outline: 3px solid var(--pure-gold);
    outline-offset: 2px;
}

/* ADVANCED ANIMATIONS & MICRO-INTERACTIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-on-scroll {
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.in-view {
    opacity: 1;
}

.animate-fade-up.in-view {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-left.in-view {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-right.in-view {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-scale.in-view {
    animation: scaleIn 0.6s ease-out forwards;
}

/* HERO ANIMATE - Pure CSS Animationen für zuverlässiges Laden ohne JS */
.hero-animate {
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-animate-badge {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.1s forwards;
}

.hero-animate-heading {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.hero-animate-subtitle {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.hero-animate-cta {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

/* --- WRAPPER METHODE FÜR STABILE HOVER-EFFEKTE --- */

/* 1. Der Wrapper ist der stabile Anker */
.button-wrapper,
.advantage-wrapper,
.service-card-wrapper {
    display: inline-block;
    position: relative;
}

/* Service-Card-Wrapper: Grid-Layout korrekt übernehmen */
.service-card-wrapper {
    display: block;
    height: 100%;
}

/* Erste Service-Card-Wrapper: volle Breite (wie vorher service-card:first-child) */
.service-card-wrapper:first-child {
    grid-column: 1 / -1;
}

/* 2. Wir entfernen den Hover-Effekt von den Buttons/Karten selbst... */
.cta-button:hover,
.advantage:hover,
.contact-method:hover,
.service-card:hover {
    transform: none !important;
}

/* 3. ...und lösen ihn aus, wenn man den WRAPPER berührt */
.button-wrapper:hover .cta-button {
    transform: translateY(-5px);
}

.advantage-wrapper:hover .advantage {
    transform: translateY(-8px);
}

/* Wrapper für service-card */
.service-card-wrapper:hover .service-card {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--sky-blue);
    box-shadow: 0 25px 50px rgb(135, 206, 235, 0.3);
}

/* Wrapper für contact-method */
.contact-method-wrapper:hover .contact-method {
    transform: translateY(-5px);
}

/* --- ENDE WRAPPER METHODE --- */

/* PARALLAX CONTAINER */
.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-element {
    will-change: transform;
}

/* SPOTLIGHT EFFECT */
.spotlight-container {
    position: relative;
    overflow: hidden;
}

.spotlight-container::before {
    content: '';
    position: absolute;

    /* -1px Überzug: Kanten-Artefakte werden von overflow:hidden weggeschnitten (Brave/Chromium Fix) */
    inset: -1px;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgb(135, 206, 235, 0.06),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 2;
    border-radius: inherit;
}

.spotlight-container:hover::before {
    opacity: 1;
}

/* LOADING STATES */
.loading-skeleton {
    background: linear-gradient(90deg, transparent, rgb(255, 255, 255, 0.1), transparent);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* CONTAINER QUERIES REPLACED WITH MEDIA QUERIES FOR VALIDATION */
@media (min-width: 768px) {
    .service-card {
        padding: 3rem;
    }
}

/* VIEW TRANSITIONS API (Disabled for strict validation compliance) */

/*
@supports (view-transition-name: auto) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation-duration: 0.5s;
    }
}
*/

/* MODERN FOCUS-VISIBLE */
:focus-visible {
    outline: 3px solid var(--pure-gold);
    outline-offset: 2px;
}

/* PREFERS-REDUCED-DATA */
@media (prefers-reduced-data: reduce) {
    .fractal-canvas,
    .particles {
        display: none;
    }
}

/* MAGNETIC CURSOR SYSTEM */
.cursor {
    display: none;
}

.cursor-follower {
    position: fixed;
    width: 8px;
    height: 8px;
    background: #0FF;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px #0FF, 0 0 40px #0FF;
    opacity: 1;
}

/* ULTIMATE HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--midnight) 0%, var(--charcoal) 100%);
    overflow: hidden;
    z-index: 0; /* Wichtig: Unterste Ebene */
}

.hero-background {
    display: none;
}

/* .hero::before removed to prevent visual artifacts */

/* FRACTAL CANVAS WITH DYNAMIC VISIBILITY */
.fractal-canvas {
    position: absolute;
    top: 70px; /* Startet unterhalb des Headers (Desktop) */
    left: 0;
    width: 100%;
    height: calc(100vh - 70px); /* Verwendet 100vh statt 100% für Firefox */
    pointer-events: none;
    z-index: 2;
    opacity: 1;

    /* mix-blend-mode entfernt für Firefox-Kompatibilität */
    will-change: auto;
    transform: translateZ(0);
    transition: opacity 0.4s ease, filter 0.4s ease;
    filter: blur(0);
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    .fractal-canvas {
        top: 70px;
        height: calc(100vh - 70px);
    }
}

/* SPIRAL VISIBILITY STATES */
.fractal-canvas.hero-visible {
    opacity: 1;
    filter: blur(0);
}

.fractal-canvas.hero-hidden {
    opacity: 0.05;
    filter: blur(15px);
}

/* FLOATING PARTICLES */
.particles {
    position: absolute;
    top: 70px; /* Startet unterhalb des Headers (Desktop) */
    left: 0;
    width: 100%;
    height: calc(100vh - 70px); /* Verwendet 100vh statt 100% für Firefox */
    pointer-events: none;
    z-index: 3;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    .particles {
        top: 70px;
        height: calc(100vh - 70px);
    }
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--electric-blue);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
    box-shadow: 0 0 10px currentcolor;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 2rem;
    position: relative;
    width: 100%;
    max-width: 1200px;
}

.hero-badge {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgb(255, 255, 255, 0.05);
    border: 2px solid var(--pure-gold);
    border-radius: 50px;
    color: var(--pure-white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 25px rgb(0, 0, 0, 0.2),
        inset 0 1px 0 rgb(255, 255, 255, 0.1);
    animation: badgePulse 4s ease-in-out infinite;
    text-shadow: 0 0 10px rgb(255, 215, 0, 0.3);
}

@keyframes badgePulse {
    0%, 100% { 
        box-shadow: 0 8px 32px rgb(255, 215, 0, 0.25), inset 0 1px 0 rgb(255, 255, 255, 0.5);
        border-color: var(--pure-gold);
    }

    50% { 
        box-shadow: 0 12px 40px rgb(255, 215, 0, 0.4), inset 0 1px 0 rgb(255, 255, 255, 0.7);
        border-color: var(--sky-blue);
    }
}

.hero h1 {
    font-size: clamp(2rem, 9vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: sunEnergy 8s ease-in-out infinite;
    text-shadow: 
        0 0 30px rgb(253, 184, 19, 0.5),
        0 0 50px rgb(254, 202, 28, 0.3),
        0 0 70px rgb(255, 215, 0, 0.2),
        0 2px 4px rgb(0, 0, 0, 0.2);
    filter: drop-shadow(0 0 20px rgb(253, 184, 19, 0.4)) 
            drop-shadow(0 0 40px rgb(255, 215, 0, 0.2));
    position: relative;
    z-index: 10;
    transform: translateZ(0);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

@keyframes sunEnergy {
    0%, 100% { 
        background-position: 0% 50%;
        filter: drop-shadow(0 0 20px rgb(253, 184, 19, 0.4)) 
                drop-shadow(0 0 40px rgb(255, 215, 0, 0.2));
    }

    50% { 
        background-position: 100% 50%;
        filter: drop-shadow(0 0 30px rgb(253, 184, 19, 0.5)) 
                drop-shadow(0 0 50px rgb(255, 215, 0, 0.3));
    }
}

.hero h1::before {
    content: "IT-Service Schneider";
    position: absolute;
    inset: 0;
    background: none;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: none;
    filter: blur(0);
    opacity: 0;
    z-index: -1;
}

@keyframes sunWarmth {
    0%, 100% { 
        transform: scale(1) translateY(0);
        opacity: 0.4;
    }

    50% { 
        transform: scale(1.05) translateY(-2px);
        opacity: 0.5;
    }
}

.hero p {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgb(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 
        0 2px 8px rgb(0, 0, 0, 0.4),
        0 0 20px rgb(135, 206, 235, 0.3);
    background: var(--gradient-silver);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.cta-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    background-size: 200% 200%;
    color: #0F172A;
    box-shadow:
        0 10px 30px rgb(255, 215, 0, 0.4),
        0 0 0 1px rgb(255, 215, 0, 0.3),
        inset 0 1px 0 rgb(255, 255, 255, 0.5);
    text-shadow: none;
    animation: goldGlow 3s ease-in-out infinite;
    border: 2px solid #FFD700;
}

@keyframes goldGlow {
    0%, 100% { 
        box-shadow: 0 10px 30px rgb(255, 215, 0, 0.4), 0 0 0 1px rgb(255, 215, 0, 0.3);
        border-color: #FFD700;
    }

    50% { 
        box-shadow: 0 15px 40px rgb(255, 215, 0, 0.6), 0 0 0 1px rgb(255, 215, 0, 0.5);
        border-color: #FFEC8B;
    }
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-primary:hover::before {
    left: 100%;
}

@keyframes buttonGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.cta-secondary {
    background: rgb(255, 255, 255, 0.05);
    color: var(--pure-white);
    border: 2px solid var(--pure-gold);
    backdrop-filter: blur(20px);
    text-shadow: 0 0 10px rgb(255, 215, 0, 0.3);
    box-shadow: 
        0 8px 25px rgb(0, 0, 0, 0.2),
        inset 0 1px 0 rgb(255, 255, 255, 0.1);
}

.cta-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-secondary:hover::before {
    opacity: 0.1;
}

.cta-primary:hover {
    box-shadow:
        0 20px 40px rgb(255, 215, 0, 0.5),
        0 0 0 1px rgb(255, 215, 0, 0.5),
        inset 0 1px 0 rgb(255, 255, 255, 0.6);
    border-color: #FFEC8B;
    transform: translateY(-3px);
}

.cta-secondary:hover {
    border-color: var(--sky-blue);
    box-shadow:
        0 20px 40px rgb(135, 206, 235, 0.3),
        inset 0 1px 0 rgb(255, 255, 255, 0.2);
}

/* GLASSMORPHISM SERVICES */
.services {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--midnight) 0%, var(--charcoal) 100%);
    border-top: 2px solid var(--pure-gold);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-hero);
    opacity: 0.3;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--sky-blue);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

/* grid-column für erste Card wird jetzt über .service-card-wrapper:first-child gesteuert */

.service-card {
    background: rgb(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--pure-gold);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    container-type: inline-size;

    /* Neuer Stacking Context: verhindert Spotlight-Bleed auf Nachbarelemente */
    isolation: isolate;

    /* Brave/Chromium Fix: erzwingt korrektes Clipping bei backdrop-filter Compositing */
    contain: paint;
    backface-visibility: hidden;
    backface-visibility: hidden;
}

.service-card::before {
    content: '';
    position: absolute;

    /* -1px Überzug: Kanten-Artefakte werden von overflow:hidden weggeschnitten (Brave Fix) */
    top: -1px;
    left: -100%;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    background: linear-gradient(90deg, transparent, rgb(135, 206, 235, 0.1), transparent);
    transition: left 0.6s ease;
    border-radius: inherit;
}

/* Shine-Effekt wird über Wrapper-Hover ausgelöst */
.service-card-wrapper:hover .service-card::before {
    left: 100%;
}

/* Service Icon Styling - Phosphor Icons */
.service-icon i {
    font-size: 3.5rem;
    display: block;
    text-align: center;
    color: var(--neon-blue);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Der Glow-Effekt */
    filter: drop-shadow(0 0 8px rgb(0, 191, 255, 0.3));
}

/* Wrapper für Icons - als Block über dem Titel */
.service-icon {
    margin-bottom: 1.5rem;
}

/* Hover Effekt in den Karten */
.service-card-wrapper:hover .service-icon i,
.advantage-wrapper:hover .service-icon i {
    transform: scale(1.1) translateY(-5px);
    color: var(--pure-gold);
    filter: drop-shadow(0 0 15px var(--pure-gold));
}

/* Anpassung für Formular-Icons */
.label-icon i {
    font-size: 1.2rem;
    margin-right: 5px;
    color: var(--neon-blue);
    transition: all 0.3s ease;
}

.form-group:hover .label-icon i {
    color: var(--pure-gold);
    filter: drop-shadow(0 0 5px var(--pure-gold));
}

/* Map Icon */
.map-icon i {
    font-size: 3rem;
}

/* Der Pfeil in den Listen (Service Features) */

/* Ersetzt das einfache '→' durch einen sauberen Chevron */
.service-features li::before {
    font-family: Phosphor !important;
    content: "\e132";
    position: absolute;
    left: 0;
    top: 0.7rem;
    font-size: 1rem;
    color: var(--neon-blue);
    font-weight: bold;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--pure-white);
}

.service-card p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.service-features {
    list-style: none;
    margin-top: auto;
}

.service-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    opacity: 0.9;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--neon-blue);
    transition: all 0.3s ease;
}

/* --- SERVICE CARD ARROW HOVER ANIMATION --- */

/* Keyframe Animation: Pfeile gleiten nach rechts */
@keyframes arrowSlideIn {
    0% {
        transform: translateX(-10px);
        opacity: 0.5;
    }

    50% {
        transform: translateX(-3px);
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Pfeile beim Hover animieren */
.service-card-wrapper:hover .service-features li::before {
    animation: arrowSlideIn 0.4s ease-out forwards;
    color: var(--pure-gold);
    text-shadow: 0 0 10px rgb(255, 215, 0, 0.5);
}

/* Staggered Animation für jeden Listenpunkt */
.service-card-wrapper:hover .service-features li:nth-child(1)::before {
    animation-delay: 0.05s;
}

.service-card-wrapper:hover .service-features li:nth-child(2)::before {
    animation-delay: 0.1s;
}

.service-card-wrapper:hover .service-features li:nth-child(3)::before {
    animation-delay: 0.15s;
}

.service-card-wrapper:hover .service-features li:nth-child(4)::before {
    animation-delay: 0.2s;
}

/* --- END ARROW ANIMATION --- */

/* REFERENCES STYLING */
.references {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgb(255, 255, 255, 0.1);
}

.references h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--neon-blue);
}

.reference-link {
    display: block;
    color: var(--neon-blue);
    text-decoration: none;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 1rem;
}

.reference-link:hover {
    color: var(--neon-blue);
    border-left-color: var(--electric-blue);
    transform: translateX(5px);
}

/* ADVANTAGES SECTION */
.advantages {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--midnight) 0%, var(--charcoal) 100%);
    text-align: center;
    border-top: 2px solid var(--pure-gold);
    position: relative;
}

.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-hero);
    opacity: 0.3;
}

.advantages-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--sky-blue);
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Explizit 3 Spalten für bessere Kontrolle */
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: stretch;
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr; /* Mobile: 1 Spalte */
    }
}

.advantage {
    background: rgb(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid var(--pure-gold);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow: 0 8px 25px rgb(0, 0, 0, 0.2);

    /* Explizite Höhe für alle Browser konsistent */
    height: 100%;
    min-height: 200px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.advantage:hover {
    border-color: var(--sky-blue);
    box-shadow: 0 20px 40px rgb(135, 206, 235, 0.3);
}

.advantage h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--pure-white);
}

.advantage-text {
    color: var(--pure-white);
    opacity: 0.8;
    line-height: 1.6;
    margin: 0;
}

/* FAQ SECTION */
.faq {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--midnight) 0%, var(--charcoal) 100%);
    border-top: 2px solid var(--pure-gold);
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-hero);
    opacity: 0.3;
}

.faq-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--sky-blue);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: rgb(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid var(--pure-gold);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgb(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.faq-item:hover {
    transform: translateY(-5px);
    border-color: var(--sky-blue);
    box-shadow: 0 20px 40px rgb(135, 206, 235, 0.3);
}

.faq-icon i {
    font-size: 2.5rem;
    display: block;
    text-align: center;
    color: var(--neon-blue);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 8px rgb(0, 191, 255, 0.3));
    margin-bottom: 1rem;
}

.faq-item:hover .faq-icon i {
    transform: scale(1.1);
    color: var(--pure-gold);
    filter: drop-shadow(0 0 15px var(--pure-gold));
}

.faq-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--pure-gold);
}

.faq-item p {
    color: var(--pure-white);
    opacity: 0.8;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* CONTACT SECTION */
.contact {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--midnight) 0%, var(--charcoal) 100%);
    text-align: center;
    border-top: 2px solid var(--pure-gold);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-hero);
    opacity: 0.3;
}

.contact-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: 1.3rem;
    opacity: 0.8;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgb(255, 255, 255, 0.05);
    border: 1px solid var(--pure-gold);
    border-radius: 15px;
    text-decoration: none;
    color: var(--pure-white);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.contact-method:hover {
    border-color: var(--sky-blue);
    box-shadow: 0 20px 40px rgb(135, 206, 235, 0.3);
}

.contact-method.magnetic-button:hover::before,
.contact-method.spotlight-container::before {
    display: none;
}

.contact-method::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 1px;
    background: linear-gradient(45deg, var(--pure-gold), var(--sky-blue), var(--pure-gold));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    pointer-events: none;
}

/* Hero Button Icons - Phone: Kein Hover-Effekt */
.cta-primary .ph-phone {
    color: var(--neon-blue);
    transition: none;
}

.cta-primary:hover .ph-phone {
    color: var(--neon-blue);
    transform: none;
    filter: none;
}

/* Hero Button Icons - Chat: Hover zu Gold */
.cta-secondary .ph-chat-circle-text {
    color: var(--neon-blue);
    transition: all 0.3s ease;
}

.cta-secondary:hover .ph-chat-circle-text {
    color: var(--pure-gold);
    filter: drop-shadow(0 0 8px var(--pure-gold));
}

/* Contact Method Icon - Phone/Calendar: Hover zu Gold */
.contact-icon {
    font-size: 1.5rem;
    color: var(--neon-blue);
    transition: all 0.3s ease;
}

.contact-method:hover .contact-icon {
    color: var(--pure-gold);
    filter: drop-shadow(0 0 8px var(--pure-gold));
}

/* MODAL STYLES */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.hidden {
    display: none;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgb(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--charcoal);
    border: 1px solid var(--pure-gold);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgb(0, 0, 0, 0.5), var(--shadow-glass);
    animation: modalSlideIn 0.3s ease-out;
}

.modal-content.modal-large {
    max-width: 800px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: rgb(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--pure-white);
}

.modal-close:hover {
    background: rgb(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-close:focus {
    outline: 3px solid var(--pure-gold);
    outline-offset: 2px;
}

.modal-close::before,
.modal-close::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background-color: currentcolor;
    border-radius: 1px;
}

.modal-close::before {
    transform: rotate(45deg);
}

.modal-close::after {
    transform: rotate(-45deg);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgb(255, 255, 255, 0.1);
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--pure-gold);
    margin: 0;
}

.modal-body {
    padding: 1.5rem 2rem 2rem;
}

.modal-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--sky-blue);
    margin: 1.5rem 0 0.75rem;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    color: rgb(255, 255, 255, 0.9);
    line-height: 1.6;
}

.modal-body a {
    color: var(--neon-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.modal-body a:hover {
    color: var(--sky-blue);
    text-decoration: underline;
}

/* Cookie Consent Modal */
.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.cookie-info {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Modal anpassen für Cookie-Consent (ohne X-Button) */
#cookie-consent-modal .modal-close {
    display: none;
}

/* Footer Link Styles */
.footer-link {
    color: var(--neon-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--sky-blue);
    text-decoration: underline;
}

.footer-separator {
    margin: 0 0.75rem;
    color: rgb(255, 255, 255, 0.4);
}

/* Responsive Modal */
@media (max-width: 640px) {
    .modal-content {
        max-height: 90vh;
        margin: 0;
    }
    
    .modal-header,
    .modal-body {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Print Styles for Modal Content */
@media print {
    .modal-overlay {
        display: none !important;
    }
}

/* FOOTER */
.footer {
    padding: 3rem 2rem;
    background: var(--midnight);
    text-align: center;
    border-top: 2px solid var(--pure-gold);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-hero);
    opacity: 0.3;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.8;
}

/* ========================================
    SCROLL PROGRESS BAR
    ======================================== */

.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgb(15, 23, 42, 0.95);
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient-gold);
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgb(255, 215, 0, 0.5);
    border-radius: 0 2px 2px 0;
}

/* Navigation Header - angepasst für Scroll Progress Bar */
.navigation {
    position: fixed;
    top: 2px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgb(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--pure-gold);
    transition: all 0.3s ease;
    box-sizing: border-box;
    height: 70px;
    display: flex;
    align-items: stretch;
}

.navigation::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-hero);
    opacity: 0.3;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.nav-logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    height: 100%;
}

.nav-logo-container:hover {
    transform: scale(1.02);
}

.logo-text {
    font-family: Inter, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgb(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-logo-container:hover .logo-text {
    background-position: 100% center;
    filter: drop-shadow(0 0 8px rgb(255, 215, 0, 0.6));
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo-container:hover .header-logo {
    filter: brightness(1.1) drop-shadow(0 0 8px rgb(255, 215, 0, 0.5));
}

@keyframes goldShimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.header-logo {
    height: 65px;
    width: 65px;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: top;
}

.nav-logo:hover .header-logo {
    filter: brightness(1.1) drop-shadow(0 0 8px rgb(255, 215, 0, 0.5));
}

/* ========================================
    NAVIGATION LINKS - PREMIUM GLASSMORPHISM DESIGN
    ======================================== */

.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    color: var(--platinum);
    text-decoration: none;
    padding: 0.6rem 1.4rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    position: relative;
    cursor: pointer;
    outline: none !important;

    /* Glassmorphism Basis - kein sichtbarer Rahmen */
    background: rgb(255, 255, 255, 0.02);
    border: 1px solid transparent;    backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    
    /* Subtle Glow */
    box-shadow: 
        0 2px 8px rgb(0, 0, 0, 0.15),
        inset 0 1px 0 rgb(255, 255, 255, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Nav-Icon Styling */
.nav-icon {
    font-size: 1rem;
    margin-right: 6px;
    color: inherit;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 4px rgb(255, 215, 0, 0.1));
}

/* Hover: Sky-Blue Glow + Verstärkter Glass-Effekt mit subtilem Rahmen */
.nav-link:hover {
    color: var(--sky-blue);
    background: rgb(135, 206, 235, 0.06);
    border-color: rgb(135, 206, 235, 0.15);
    
    /* Glow-Effekt */
    box-shadow: 
        0 4px 20px rgb(135, 206, 235, 0.15),
        inset 0 1px 0 rgb(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Hover: Icons werden Sky-Blue */
.nav-link:hover .nav-icon:not(.nav-icon-home) {
    color: var(--sky-blue);
    filter: drop-shadow(0 0 8px rgb(135, 206, 235, 0.4));
    transform: translateY(-1px);
}

/* Unterstreichungs-Animation */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--sky-blue), transparent);
    transform: translateX(-50%);
    transition: width 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.nav-link:hover::after {
    width: 60%;
    opacity: 1;
}

/* Active/Scroll: Gold-Gradient Text ohne Hintergrund-Rahmen */
.nav-link.active {
    /* Kein Hintergrund, nur Gold-Text wie vorher */
    border-color: transparent;
    
    /* Sanfte Füllung (5%) für den Kasten, um den Text besser einzubetten */
    background: rgb(255, 215, 0, 0.05);
    
    /* Gold Gradient Text */
    background-image: linear-gradient(90deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    
    /* Subtiler, aber sichtbarer Glow statt Rahmen (30% Deckkraft, weichere Kante) */
    box-shadow: 
        0 0 15px rgb(255, 215, 0, 0.3),
        inset 0 0 10px rgb(255, 215, 0, 0.1);
        
    /* Wirft einen weichen, goldenen Lichtschein um den Text und den Button */
    filter: drop-shadow(0 0 4px rgb(255, 215, 0, 0.4));
}

.nav-link.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgb(255, 215, 0, 0.25);
}

/* Active Icon Styling */
.nav-link.active .nav-icon:not(.nav-icon-home) {
    color: var(--pure-gold);
    filter: drop-shadow(0 0 8px rgb(255, 215, 0, 0.5));
}

/* Focus State */
.nav-link:focus {
    outline: none !important;
    box-shadow: 
        0 0 0 2px rgb(255, 215, 0, 0.4),
        0 4px 20px rgb(255, 215, 0, 0.2) !important;
}

/* Click State */
.nav-link:active,
.nav-link.nav-link-clicked {
    color: var(--pure-gold);
    -webkit-text-fill-color: var(--pure-gold);
    background: rgb(255, 215, 0, 0.12);
    border-color: rgb(255, 215, 0, 0.4);
    transform: translateY(0);
    box-shadow: 0 2px 10px rgb(255, 215, 0, 0.25) !important;
}



/* Hamburger Menu Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--pure-gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Overlay - Only for Menu Button */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgb(15, 23, 42, 0.95);
    backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero always centered ignoring nav */
.hero {
    height: 100vh;
    padding-top: 0;
    margin-top: 0;
}

/* MOBILE & RESPONSIVE OPTIMIZATIONS */
@media (max-width: 1024px) {
    .fractal-canvas {
        opacity: 0.3;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card-wrapper:first-child {
        grid-column: 1;
    }
}

@media (max-width: 768px) {
    .navigation {
        height: 70px;
    }
    
    /* Logo-Text in mobilen Versionen ausblenden */
    .logo-text {
        display: none;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgb(15, 23, 42, 0.98);
        backdrop-filter: blur(20px) saturate(150%);
        backdrop-filter: blur(20px) saturate(150%);
        z-index: 999;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 1rem 1rem 2rem;
        gap: 0.5rem;
        opacity: 0;
        transition: opacity 0.3s ease;
        height: auto;
        max-height: none;
        overflow-y: visible;
    }
    
    .nav-links.active {
        display: flex;
        opacity: 1;
    }
    
    .nav-links .nav-link {
        font-size: 1.5rem;
        padding: 1rem 2rem;
        color: var(--platinum);
        border: 2px solid var(--pure-gold);
        letter-spacing: 1px;
        background: rgb(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        min-width: 200px;
        text-align: center;
    }
    
    .nav-links .nav-link:hover {
        color: var(--sky-blue);
        background: rgb(135, 206, 235, 0.08);
        border-color: rgb(135, 206, 235, 0.15);
    }
    
    .nav-links .nav-link:hover .nav-icon:not(.nav-icon-home) {
        color: var(--sky-blue);
    }
    
    .nav-links .nav-link.active {
        background: linear-gradient(90deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
        background-size: 200% auto;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active ~ .nav-links {
        display: flex;
        opacity: 1;
    }
    
    .header-logo {
        height: 65px;
        width: 65px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .hero {
        min-height: 100vh;
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-badge {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .hero h1 {
        font-size: clamp(1.5rem, 10vw, 3.5rem);
        margin-bottom: 0.8rem;
    }
    
    .hero p {
        font-size: clamp(1rem, 4vw, 1.3rem);
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.9rem 1.5rem;
    }
    
    .services,
    .advantages,
    .faq,
    .contact {
        padding: 3rem 1rem;
    }

    .services-title,
    .advantages-title,
    .faq-title,
    .contact-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 2rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .advantage,
    .faq-item {
        padding: 2rem 1.5rem;
    }    
    .contact-methods {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .contact-method {
        width: 100%;
        max-width: 300px;
        padding: 1.2rem 1.5rem;
    }
    
    .fractal-canvas {
        opacity: 0.2;
    }
    
    /* ==========================================
       MOBILE HERO ANIMATIONS DISABLED
       Deaktiviert alle Animationen im Hero auf Mobile
       ========================================== */
    
    /* Fractal Canvas komplett deaktivieren auf Mobile */
    .hero .fractal-canvas {
        display: none !important;
    }
    
    /* Partikel deaktivieren auf Mobile */
    .hero .particles {
        display: none !important;
    }
    
    /* Hero-Content Animationen deaktivieren */
    .hero .animate-on-scroll {
        opacity: 1 !important;
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }
    
    /* Hero-Content Klassen für Animationen neutralisieren */
    .hero .animate-fade-up,
    .hero .animate-fade-left,
    .hero .animate-fade-right,
    .hero .animate-scale {
        opacity: 1 !important;
        animation: none !important;
        transform: none !important;
    }
    
    /* Badge Puls-Animation deaktivieren */
    .hero .hero-badge {
        animation: none !important;
    }
    
    /* H1 Gradient-Animation deaktivieren */
    .hero h1 {
        animation: none !important;
        background-position: 0% 50% !important;
    }
    
    /* H1::before Schatten deaktivieren */
    .hero h1::before {
        animation: none !important;
        opacity: 0 !important;
    }
    
    /* Button Gradient-Animation deaktivieren */
    .hero .cta-button {
        animation: none !important;
        background-position: 0% 50% !important;
    }
    
    /* Magnetic Button Effekt vereinfachen auf Mobile */
    .hero .magnetic-button::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .navigation {
        height: 70px;
    }
    
    /* Logo-Text in sehr kleinen Bildschirmen ausblenden */
    .logo-text {
        display: none;
    }
    
    .nav-container {
        padding: 0 0.75rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links .nav-link {
        font-size: 1.2rem;
        padding: 0.6rem 1rem;
    }
    
    .header-logo {
        height: 65px;
        width: 65px;
    }
    
    .logo-text {
        font-size: 1.1rem;
        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .nav-toggle {
        width: 26px;
        height: 20px;
    }
    
    .nav-links .nav-link {
        font-size: 1.3rem;
        padding: 0.8rem 1.5rem;
    }
    
    .hero-content {
        padding: 0.5rem;
    }
    
    .hero h1 {
        font-size: clamp(1.2rem, 9.5vw, 2.5rem);
    }
    
    .cta-button {
        max-width: 260px;
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
    }
    
    .service-card,
    .advantage {
        padding: 1.5rem 1rem;
    }
    
    .contact-method {
        max-width: 280px;
        padding: 1rem 1.2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
    
    .fractal-canvas {
        opacity: 0.1;
    }
}

/* stylelint-disable function-calc-no-unspaced-operator, property-no-unknown */
@supports not (backdrop-filter: blur(20px)) {
    .hero-badge,
    .service-card,
    .advantage,
    .contact-method,
    .navigation {
        background: rgb(0, 0, 0, 0.8);
    }
}

/* REDUCED MOTION ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    /* Canvas nicht mehr ausblenden - Animation wird nur pausiert */

    /* .fractal-canvas { */

    /*     display: none; */

    /* } */
}

/* HIGH CONTRAST MODE */
@media (prefers-contrast: high) {
    .hero-badge,
    .service-card,
    .advantage,
    .contact-method {
        border-width: 2px;
        background: rgb(0, 0, 0, 0.9);
    }
}

/* ========================================
   KONTAKTFORMULAR STYLES
   ======================================== */

.contact-form-wrapper {
    max-width: 600px;
    margin: 2rem auto 0;
    padding: 0 1rem;
}

.form-title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: rgb(255, 255, 255, 0.9);
}

.contact-form {
    padding: 2.5rem;
    background: rgb(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid var(--pure-gold);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgb(135, 206, 235, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.contact-form:hover::before {
    left: 100%;
}

.contact-form:hover {
    border-color: var(--sky-blue);
    box-shadow: 0 20px 40px rgb(135, 206, 235, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--pure-white);
    font-size: 0.95rem;
}

.label-icon {
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgb(255, 255, 255, 0.05);
    border: 1px solid rgb(255, 255, 255, 0.15);
    border-radius: 12px;
    color: var(--pure-white);
    font-family: Inter, sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Autofill verhindern - Browser-Hintergrund überschreiben */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active,
.form-group input:-webkit-autofill:focus-within {
    -webkit-text-fill-color: var(--pure-white) !important;
    box-shadow: 0 0 0 1000px rgb(15, 23, 42, 1) inset !important;
    box-shadow: 0 0 0 1000px rgb(15, 23, 42, 1) inset !important;
    filter: none !important;
    -webkit-border-color: rgb(255, 255, 255, 0.15) !important;
    border-color: rgb(255, 255, 255, 0.15) !important;
    transition: background-color 5000s ease-in-out 0s;
    caret-color: var(--pure-white) !important;
}

/* Telefon-Feld: Autofill-Hintergrund verhindern */
.form-group input[type="tel"],
.form-group input[type="tel"]:hover,
.form-group input[type="tel"]:focus {
    -webkit-text-fill-color: var(--pure-white) !important;
    box-shadow: 0 0 0 1000px rgb(15, 23, 42, 1) inset !important;
    box-shadow: 0 0 0 1000px rgb(15, 23, 42, 1) inset !important;
    background-color: rgb(15, 23, 42, 1) !important;
    border-color: rgb(255, 255, 255, 0.15) !important;
}

/* Firefox Autofill */
.form-group input:-moz-autofill,
.form-group input:-moz-autofill:hover,
.form-group input:-moz-autofill:focus {
    -moz-text-fill-color: var(--pure-white) !important;
    background-color: rgb(15, 23, 42, 1) !important;
    border-color: rgb(255, 255, 255, 0.15) !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgb(255, 255, 255, 0.4);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    background: rgb(135, 206, 235, 0.15);
    border-color: var(--sky-blue);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444 !important;
    background: rgb(239, 68, 68, 0.15);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 3rem;
}

.form-group select option {
    background: var(--charcoal);
    color: var(--pure-white);
}

.required {
    color: #ff6b6b;
}

.error-message {
    display: block;
    color: var(--pure-white);  /* Weißer Text statt rot */
    font-size: 0.85rem;
    margin-top: 0.4rem;
    min-height: 1.2em;
    transition: opacity 0.3s ease;
}

.char-count {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    color: rgb(255, 255, 255, 0.4);
    margin-top: 0.4rem;
}

/* Checkbox Styles */
.checkbox-group {
    /* Flexbox erzwingt zwei Spalten nebeneinander */
    display: flex !important;
    flex-direction: row;
    align-items: flex-start; /* WICHTIG: Checkbox bleibt oben links */
    gap: 12px; /* Abstand zwischen Checkbox und Text */
    margin-bottom: 1.5rem;
    width: 100%;
}

.checkbox-group input[type="checkbox"] {
    /* Verhindert, dass die Checkbox auf dem Handy zerquetscht wird */
    flex-shrink: 0; 
    width: 22px;
    height: 22px;

    /* Optische Korrektur: Checkbox bündig mit der 1. Textzeile */
    margin-top: 3px; 
    cursor: pointer;
    border-radius: 4px;
    background-color: transparent;
    border: 1px solid rgb(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    accent-color: var(--neon-blue); /* Moderne Browser nutzen hiermit die Theme-Farbe */
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: var(--neon-blue);
    border-color: var(--neon-blue);
}

.checkbox-group label {
    /* Der Text nimmt den gesamten restlichen Platz ein */
    flex: 1;
    display: block;
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: left; /* Text immer linksbündig */
    cursor: pointer;
    max-width: 100%;
    overflow-wrap: break-word;
    overflow-wrap: break-word;
}

/* Mobile Optimierung */
@media (max-width: 480px) {
    .checkbox-group label {
        font-size: 0.9rem;
        padding-top: 2px;
    }
}

.checkbox-group a {
    color: var(--pure-white);
    text-decoration: underline;
    text-decoration-color: rgb(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.checkbox-group a:hover {
    color: #FFD700;
    text-decoration-color: #FFD700;
}

/* Submit Button */
.form-submit {
    width: 100%;
    padding: 1.1rem 2rem;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-submit:hover:not(:disabled) {
    box-shadow: 0 15px 35px rgb(255, 215, 0, 0.5);
    border-color: #FFEC8B;
    transform: translateY(-3px);
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Form Status Messages */
.form-status {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    display: none;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--pure-white);  /* Weißer Text */
}

.form-status.success {
    display: block;
    background: rgb(34, 197, 94, 0.2);
    border: 1px solid #22c55e;
}

.form-status.error {
    display: block;
    background: rgb(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
}

/* Form Animation */
@keyframes formSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form-wrapper.in-view {
    animation: formSlideIn 0.6s ease-out forwards;
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .navigation,
    .fractal-canvas,
    .particles,
    .cursor,
    .cursor-follower {
        display: none !important;
    }
    
    .hero,
    .services,
    .advantages,
    .faq,
    .contact {
        background: white !important;
        color: black !important;
    }

    .hero h1,
    .services-title,
    .advantages-title,
    .faq-title,
    .contact-title {
        color: black !important;
        -webkit-text-fill-color: black !important;
    }}

/* ========================================
   ADRESSE SECTION STYLES
   ======================================== */

.address-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 2.5rem;
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.address-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

/* Adresse Content */
.address-content {
    text-align: center;
}

.address-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pure-white);
    margin-bottom: 0.5rem;
}

.address-street,
.address-city {
    font-size: 1.2rem;
    color: rgb(255, 255, 255, 0.9);
    margin-bottom: 0.25rem;
}

.address-link {
    display: inline-block;
    margin-top: 1rem;
}

/* Map Container */
.map-wrapper {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--pure-gold);
    position: relative;
    background: rgb(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

/* Hover-Effekt: Wenn Kontaktfeld oder Karte gehovert wird */
.map-wrapper:hover,
.map-wrapper.contact-hover-active {
    border-color: var(--sky-blue);
    box-shadow: 0 20px 40px rgb(135, 206, 235, 0.3);
    transform: translateY(-5px);
}

/* Kontaktfeld: Wenn Karte gehovert wird */
.contact-method.map-hover-active {
    border-color: var(--sky-blue);
    box-shadow: 0 20px 40px rgb(135, 206, 235, 0.3);
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Map Placeholder - DSGVO */
.map-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.map-placeholder.hidden {
    opacity: 0;
    pointer-events: none;
}

.map-loading {
    text-align: center;
}

.map-icon i {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    color: var(--neon-blue);
    filter: drop-shadow(0 0 8px rgb(0, 191, 255, 0.3));
}

.map-loading p {
    color: rgb(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.map-load-btn {
    cursor: pointer;
    border: 1px solid var(--pure-gold);
}

/* Responsive */
@media (max-width: 768px) {
    .address-section {
        padding: 3rem 1rem;
    }
    
    .address-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    
    .address-name {
        font-size: 1.3rem;
    }
    
    .address-street,
    .address-city {
        font-size: 1.1rem;
    }
    
    .map-wrapper {
        max-width: 100%;
    }
}