:root {
    --font-main: 'Montserrat', sans-serif;
    --font-title: 'Orbitron', sans-serif; /* Für den 3D Titel */
    --dark-orange: #d7230f;

    /* Dark Mode (Standard) */
    --primary-orange: #6176fd;
    --primary-bg: #121212;
    --text-color: #ffffff;
    --card-text: #ffffff;
    --pill-bg: #2a2a2a;
    --pill-text: #ffffff;
    --dot-glow-color: #00f3ff; 
    --mild-orange: #bba4112d;
    --item_in_menu: #b1abd6;
    --anti_bg: #000000b3;
}

body.lightmode {
    --primary-orange: #E98E68;
    --primary-bg: #f0b197;
    --text-color: #000000;
    --card-text: #000000;
    --pill-bg: #ffffff;
    --pill-text: #000000;
    --dot-glow-color: #b81414cb;
    --mild-orange: #bb691161;
    --item_in_menu: #f0b197;
    --anti_bg: #f7896db3;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-main); background-color: var(--primary-bg); color: var(--text-color); overflow-x: hidden; transition: 0.3s; }


/* --- GLOBAL DOTS BACKGROUND --- */

/* --- GLOBAL TRANSPARENCY FIX --- */

/* 1. Haupt-Container transparent machen */
main, 
.team-section, 
.gallery-slider-section, 
.modelle-page,
.status-page-content,
.materials-page {
    /* WICHTIG: Damit man den Hintergrund sieht */
    background-color: transparent !important; 
    background-image: none !important; /* Entfernt evtl. alte Muster */
}

/* 2. Die About-Section ist orange. Damit man die Punkte trotzdem sieht,
/* --- ABOUT SECTION MODERN --- */

/* --- ABOUT SECTION: THE GLASS MONOLITH --- */

.about-section-tech {
    padding: 120px 20px;
    display: flex;
    justify-content: center;
    position: relative;
    /* Hintergrund bleibt transparent, damit man die Dots sieht */
}

/* Der große Container (Monolith) */
.about-monolith {
    position: relative;
    width: 100%;
    max-width: 1300px;
    border-radius: 40px;
    padding: 60px 40px;
    overflow: hidden;
    text-align: center;
    
    /* Das "Tech Glas" */
    background: rgba(15, 15, 15, 0.372); /* Sehr dunkel, aber durchsichtig */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    /* Feine Border mit Verlauf */
    border: 1px solid rgba(255, 255, 255, 0.269);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.701);
    
    /* Übergang für Hover-Effekt */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-monolith:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 30px rgba(233, 142, 104, 0.1);
    border-color: rgba(233, 142, 104, 0.3); /* Rand wird leicht orange */
}

/* Hintergrund Gitter-Muster im Glas (sehr dezent) */
.monolith-bg-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(var(--mild-orange) 1px, transparent 1px),
        linear-gradient(90deg, var(--mild-orange) 1px, transparent 1px);
    background-size: 10px 10px;
    z-index: 0;
    pointer-events: none;
}

/* Ein oranger Lichtschein oben in der Mitte */
.monolith-glow-spot {
    position: absolute;
    top: -100px; left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 200px;
    background: radial-gradient(circle, rgba(215, 35, 15, 0.25) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
}

.monolith-content {
    position: relative;
    z-index: 2; /* Über dem Gitter/Glow */
}

/* --- TYPOGRAPHIE --- */

.tech-headline {
    font-family: var(--font-title);
    font-size: 3.5rem;
    color: var(--text-color);
    margin-bottom: 30px;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.orange-glitch {
    color: var(--dark-orange);
    text-shadow: 0 0 15px rgba(215, 35, 15, 0.6);
}

.text-container {
    max-width: 700px;
    margin: 0 auto 60px;
}

.lead-paragraph {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

.highlight {
    color: var(--dark-orange);
    font-weight: 700;
}

.details-paragraph {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* --- DAS UNTERE GRID --- */

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Spalten nebeneinander */
    gap: 20px;
    border-top: 1px solid rgba(242, 15, 15, 0.514); /* Trennlinie oben */
    padding-top: 40px;
}

.tech-item {
    background: var(--anti_bg);
    padding: 25px 15px;
    border-radius: 15px;
    transition: 0.3s;
    border: 1px solid transparent;
}

.tech-item:hover {
    background: rgba(247, 137, 109, 0.2);
    border-color: rgb(255, 0, 0);
    transform: translateY(-5px);
}

.tech-icon {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 15px;
    transition: 0.3s;
}

.tech-item:hover .tech-icon {
    color: var(--dark-orange);
    text-shadow: 0 0 10px var(--dark-orange);
}

.tech-item h3 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

/* Die kleine orange Linie */
.tech-line {
    width: 30px;
    height: 2px;
    background: var(--dark-orange);
    margin: 0 auto 10px; /* Zentriert */
    transition: 0.3s;
}

.tech-item:hover .tech-line {
    width: 60px; /* Linie wächst beim Hover */
    box-shadow: 0 0 10px var(--dark-orange);
}

.tech-item p {
    font-size: 0.85rem;
    color: var(--text-color);
    line-height: 1.4;
}

/* --- MOBILE & TABLET ANPASSUNG --- */
@media (max-width: 900px) {
    .tech-grid {
        grid-template-columns: 1fr 1fr; /* 2x2 auf Tablets */
    }
    .tech-headline {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .about-monolith {
        padding: 40px 20px;
    }
    .tech-grid {
        grid-template-columns: 1fr; /* Alles untereinander auf Handy */
    }
    .tech-headline {
        font-size: 2rem;
    }
    .lead-paragraph {
        font-size: 1.1rem;
    }
}
/* 3. Footer leicht transparent machen für coolen Look */
footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -999; /* Ganz hinten */
    pointer-events: none; /* Klicks gehen durch */
    background-color: var(--primary-bg); /* Deine Hintergrundfarbe */
    transition: background-color 0.3s;
    overflow: hidden;
}

/* Gemeinsames Raster-Muster für beide Ebenen */
.dots-base, .dots-glow {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: 30px 30px; /* Abstand der Punkte */
}

/* EBENE 1: Die statischen, dunklen Punkte (immer sichtbar, aber dezent) */
.dots-base {
    /* Ein grauer Punkt auf transparentem Grund (Dark Mode Default) */
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 2px, transparent 2px);
}

/* Im Lightmode (Umgekehrt) */
body.lightmode .dots-base {
    background-image: radial-gradient(circle, rgba(0,0,0,0.1) 2px, transparent 2px);
}

/* EBENE 2: Die leuchtenden Punkte (High-End Effekt) */
.dots-glow {
    /* Deine Brand-Color (Orange) für die aktiven Punkte */
    background-image: radial-gradient(circle, var(--dot-glow-color) 2px, transparent 2px);
    
    /* Hier ist der Trick: Standardmäßig ist diese Ebene unsichtbar */
    opacity: 1; 
    
    /* Die Maske schneidet alles weg, außer einem Kreis um die Mauskoordinaten */
    /* Wir nutzen CSS-Variablen --x und --y, die JS liefert */
    -webkit-mask-image: radial-gradient(
        300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        black 0%, 
        transparent 100%
    );
    mask-image: radial-gradient(
        300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        black 0%, 
        transparent 100%
    );
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Karte nach unten schieben */
    align-items: center;
    overflow: hidden;
    padding-bottom: 100px;
}

.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; opacity: 0.9; }

/* Der 3D Effekt Titel */
.hero-title-container {
    position: absolute;
    top: 13%; /* Höher positioniert */
    width: 100%;
    text-align: center;
    z-index: 5; /* Hinter der Karte (10) aber vor Hintergrund (0) */
        /* NEU: Macht das Element zu einem Block, damit man es besser treffen kann */
    display: inline-block; 
    
    /* NEU: Unsichtbares Polster, damit die Maus nicht sofort "runterrutscht" beim Kippen */
    padding: 20px; 
    margin: -20px; /* Gleicht das Padding aus, damit das Layout gleich bleibt */
}

.hero-section:hover .giant-3d-text {
    transition: transform 0.1s linear, text-shadow 0s; 
        /* NEU: Macht das Element zu einem Block, damit man es besser treffen kann */
    display: inline-block; 
    
    /* NEU: Unsichtbares Polster, damit die Maus nicht sofort "runterrutscht" beim Kippen */
    padding: 20px; 
    margin: -20px; /* Gleicht das Padding aus, damit das Layout gleich bleibt */
}

.giant-3d-text {
    font-family: var(--font-title);
    font-size: 11vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: -2px;
    text-shadow: 0 10px 20px rgba(0,0,0,0.3);
    /* Der Trick, damit es hinter der Karte verschwindet */
    margin-bottom: -40px; 
    letter-spacing: -2px;

  /* Variablen Init */
    --rX: 0deg;
    --rY: 0deg;
    --tz: 0px;
    
    position: relative;
    color: #fff;
    cursor: default;
    
    /* Wir nutzen preserve-3d für echte Tiefe */
    transform-style: preserve-3d;
    
    /* Standard-Transition für sanftes Zurückgleiten beim Verlassen */
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), text-shadow 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
        
    /* Start ohne Schatten */
    text-shadow: 0 0 0 rgba(0,0,0,0);
    will-change: transform, text-shadow;

        /* NEU: Macht das Element zu einem Block, damit man es besser treffen kann */
    display: inline-block; 
    
    /* NEU: Unsichtbares Polster, damit die Maus nicht sofort "runterrutscht" beim Kippen */
    padding: 20px; 
    margin: -20px; /* Gleicht das Padding aus, damit das Layout gleich bleibt */

}

.giant-3d-text:hover {
    /* 1. Der Text hebt sich an und kippt leicht nach hinten links */
    transform: perspective(1000px) rotateX(5deg) rotateY(0deg) translateY(0px);
    
    /* 2. Die Schichten werden simuliert */
    text-shadow: 
        /* Die ersten Schichten (Dunkelgrau - Rahmen) */
        1px 1px 0 #555,
        2px 2px 0 #555,
        3px 3px 0 #555,
        4px 4px 0 #555,
        
        /* Die mittleren Schichten (Dein Orange als Highlight-Kern) */
        5px 5px 0 var(--primary-orange),
        6px 6px 0 var(--primary-orange),
        7px 7px 0 var(--primary-orange),
        8px 8px 0 var(--primary-orange),
        
        /* Die unteren Schichten (Dunkel für Tiefe) */
        9px 9px 0 #333,
        10px 10px 0 #333,
        11px 11px 0 #333,
        12px 12px 0 #333,
        
        /* Der weiche Schatten am Boden (Abstand = Höhe des Textes) */
        20px 20px 30px rgba(0, 0, 0, 0.6),
        
        /* Ein Glow-Effekt um das Orange leuchten zu lassen */
        0 0 20px rgba(247, 137, 109, 0.4); 

        -webkit-text-stroke: 1px rgba(255,255,255,0.4);

}

/* --- HERO CARD UPGRADE (Frosted Amber) --- */

.main-card {
    position: relative;
    z-index: 10;
    top: 8%; /* Leicht angepasst für Balance */
    
    width: 90%;
    max-width: 650px;
    padding: 50px;
    
    /* Das neue Material: Dark Glass */
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.85) 0%, rgba(40, 40, 40, 0.85) 100%);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    
    border-radius: 40px;
    text-align: center;
    color: #fff; 
    
    border: 1px solid rgba(255,255,255,0.1);
    
    /* Neon Border Effekt */
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.5),
        inset 0 0 20px rgba(233, 142, 104, 0.1), 
        0 0 20px rgba(233, 142, 104, 0.2);
        
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden; /* Wichtig für den Glanz-Effekt */
}

/* Hover Effekt: Karte hebt sich an und wird "wacher" */
.main-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 
        0 30px 50px rgba(0,0,0,0.25),
        0 0 0 1px rgba(255,255,255,0.3),
        0 40px 80px rgba(233, 142, 104, 0.5); /* Stärkerer Glow */
    border-color: rgba(255,255,255,0.8);
}

/* Der "Sheen" Effekt (Lichtreflektion) */
.main-card::before {
    content: '';
    position: absolute;
    top: 0; left: -180%;
    width: 210%; height: 100%;
    background: linear-gradient(
        to right, 
        transparent 0%, 
        rgba(240, 204, 178, 0.153) 50%, 
        transparent 100%
    );
    transform: skewX(-25deg);
    transition: 0.7s;
    pointer-events: none;
}

/* Beim Hover läuft das Licht einmal durch */
.main-card:hover::before {
    left: 200%;
    transition: 0.7s ease-in-out;
}

/* Anpassung der Inhalte für besseren Kontrast */
.welcome-text {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    /* Leichter Text-Schatten für Lesbarkeit (Default Dark: None) */
    text-shadow: none;
}

.sub-text {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0.9;
}

.tip-text {
    font-size: 0.95rem;
    font-weight: 700;
    background: rgba(233, 142, 104, 0.2);
    color: var(--primary-orange);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Das Icon oben links animieren */
.card-arrow-top-left {
    position: absolute; 
    top: 30px; left: 30px; 
    transform: rotate(180deg);
    opacity: 0.6;
    transition: 0.3s;
}

.main-card:hover .card-arrow-top-left {
    transform: rotate(135deg) scale(1.2); /* Dreht sich spielerisch */
    opacity: 1;
}

/* --- LIGHTMODE ANPASSUNG DER KARTE --- */
body.lightmode .main-card {
    background: linear-gradient(135deg, rgba(237, 150, 113, 0.489) 0%, rgba(242, 236, 234, 0.75) 100%);
    color: #000;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.2),
        0 0 0 1px rgba(255,255,255,0.1),
        0 30px 60px rgba(233, 142, 104, 0.3);
}

body.lightmode .welcome-text {
    text-shadow: 0 2px 5px rgba(255,255,255,0.3);
}

body.lightmode .tip-text {
    background: rgba(255,255,255,0.3);
    color: var(--text-color);
}

body.lightmode .btn-pill {
    background: #fff;
    color: #000;
}

body.lightmode .btn-pill:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card-arrow-top-left { position: absolute; top: 30px; left: 30px; transform: rotate(180deg); }
.welcome-text { font-size: 1.8rem; font-weight: 600; margin-bottom: 10px; line-height: 1.3; }
.sub-text { font-size: 1.2rem; margin-bottom: 5px; }
.tip-text { font-size: 0.9rem; font-weight: 700; margin-bottom: 20px; }

.darkmode-control { display: flex; align-items: center; justify-content: center; gap: 15px; margin: 15px 0; font-weight: 600; }
.toggle-switch { position: relative; display: inline-block; width: 50px; height: 28px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #fff; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background-color: #ccc; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: #333; }
input:checked + .slider:before { transform: translateX(22px); background-color: #fff; }

.card-buttons { display: flex; flex-direction: column; gap: 12px; align-items: center; margin-top: 20px; }
.btn-pill { background: var(--primary-orange); color: #fff; border: none; padding: 15px; width: 80%; border-radius: 50px; font-size: 1.2rem; font-weight: 600; cursor: pointer; transition: transform 0.2s; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.btn-pill:hover { background: #fff; color: var(--primary-orange); box-shadow: 0 0 20px var(--primary-orange); transform: scale(1.03); }

/* --- MATRIX SECTION (Videos) --- */
.matrix-section { padding: 10px; background: var(--primary-bg); }
.matrix-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; /* 2x2 Layout */
    gap: 10px; 
    max-width: 1600px; 
    margin: 0 auto; 
}
.matrix-card {
    position: relative;
    aspect-ratio: 16/9; /* Video Format */
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}
.matrix-card video {
    width: 100%; height: 100%; object-fit: cover;
}
.matrix-overlay {
    position: absolute; bottom: 20px; left: 20px; z-index: 2; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
.matrix-overlay h3 { font-size: 2.5rem; line-height: 1; font-weight: 800; text-transform: uppercase; }
.discover-pill { margin-top: 15px; background: var(--primary-orange); border: none; color: #fff; padding: 8px 20px; border-radius: 20px; cursor: pointer; font-weight: bold; }

/* --- GALERIE SLIDER --- */
/* --- EXTRAORDINARY GALLERY SECTION --- */

.gallery-slider-section {
    position: relative;
    padding: 80px 40px;
    /* Ein subtiler radialer Glow im Hintergrund der Sektion */
    background: radial-gradient(circle at 50% 50%, rgba(233, 142, 104, 0.15) 0%, transparent 70%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Der Container - Schwebt jetzt */
.gallery-wrapper {
    width: 100%;
    max-width: 1300px;
    height: 600px; /* Höher für mehr Impact */
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.3), /* Tiefer Schatten */
        0 0 0 1px rgba(255,255,255,0.1); /* Feine Border */
    background: #000;
}

/* Slide Layout */
.gallery-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    opacity: 0;
    transform: scale(1.1); /* Startet leicht vergrößert für Zoom-Effekt */
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1); /* Ultra-Smooth Easing */
    visibility: hidden;
}

/* Aktiver Slide */
.gallery-slide.active {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
    z-index: 2;
}

/* --- LINKS: Das Bild (60% Breite) --- */
.slide-image {
    flex: 6; /* Nimmt 60% ein */
    position: relative;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 3s ease; /* Langsamer Zoom beim Betrachten */
}

/* Satisfying: Bild zoomt langsam weiter, wenn aktiv */
.gallery-slide.active .slide-image img {
    transform: scale(1.05);
}

/* --- RECHTS: Die Glass-Box (40% Breite) --- */
.slide-text-box {
    flex: 4; /* Nimmt 40% ein */
    position: relative;
    /* Wir nutzen das Hintergrundbild auch hier für den Blur-Effekt */
    background-size: cover;
    background-position: center;
    border-left: 1px solid rgba(255,255,255,0.2);
}

/* Der eigentliche Glass-Effekt (Overlay) */
.slide-text-box::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Heavy Blur + Abdunklung für Lesbarkeit */
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(25px) saturate(180%);
    z-index: 1;
}

/* Oranger Neon-Strich als Akzent */
.slide-text-box::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 0%; /* Startet bei 0 */
    background: var(--primary-orange);
    box-shadow: 0 0 15px var(--primary-orange);
    z-index: 3;
    transition: height 1s cubic-bezier(0.23, 1, 0.32, 1);
    transition-delay: 0.2s; /* Wartet kurz */
}

.gallery-slide.active .slide-text-box::after {
    height: 100%; /* Wächst auf 100% wenn aktiv */
}

/* Der Text-Container */
.glass-text-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: #fff;
}

/* Animationen für den Text (Staggered) */
.glass-text-overlay h3 {
    font-family: var(--font-title); /* Orbitron */
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: -1px;
    
    /* Startposition für Animation */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transition-delay: 0.3s; /* Kommt nach dem Slide rein */
}

.glass-text-overlay p {
    font-family: var(--font-main);
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    
    /* Startposition für Animation */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transition-delay: 0.4s; /* Kommt nach der Überschrift */
}

/* Wenn aktiv, fliegt der Text ein */
.gallery-slide.active .glass-text-overlay h3,
.gallery-slide.active .glass-text-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* --- BUTTONS: Modern & Schwebend --- */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex; /* Zentrieren */
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.slider-btn:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    box-shadow: 0 0 20px var(--primary-orange);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 60px; }
.next-btn { right: 60px; }

/* Mobile Anpassung */
@media (max-width: 900px) {
    .gallery-wrapper { height: auto; min-height: 700px; display: flex; }
    .gallery-slide { flex-direction: column; position: relative; opacity: 0; display: none; }
    .gallery-slide.active { display: flex; opacity: 1; }
    
    .slide-image { flex: 1; min-height: 300px; }
    .slide-text-box { flex: 1; border-left: none; border-top: 1px solid rgba(255,255,255,0.2); }
    .slide-text-box::after { width: 100%; height: 4px; top: 0; left: 0; transition: width 1s ease; }
    .gallery-slide.active .slide-text-box::after { height: 4px; width: 100%; }
    
    .glass-text-overlay { padding: 30px; }
    .glass-text-overlay h3 { font-size: 2rem; }
    
    .slider-btn { width: 50px; height: 50px; top: auto; bottom: 20px; transform: none; }
    .prev-btn { left: 20px; right: auto; }
    .next-btn { right: 20px; left: auto; }
    .slider-btn:hover { transform: scale(1.1); }
}
/* --- ABOUT SECTION (Alles Orange) --- */
.about-section {
    background-color: var(--primary-orange); /* Der ganze Hintergrund ist orange */
    color: var(--card-text);
    padding: 100px 40px;
    display: flex;
    justify-content: center;
    border-radius: 40px; /* Leichte Rundung zum Trennen */
    margin: 20px;
}
.about-content { max-width: 1200px; width: 100%; }
.big-headline { font-size: 4rem; margin-bottom: 30px; font-weight: 900; letter-spacing: -1px; }
.about-text-block { 
    font-size: 1.4rem; line-height: 1.6; margin-bottom: 60px; font-weight: 500;
    max-width: 900px;
}
.about-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px;
}
.about-item h3 { font-size: 1.8rem; margin-bottom: 10px; border-bottom: 2px solid rgba(0,0,0,0.1); padding-bottom: 10px; display: inline-block; }
.about-item p { font-size: 1.1rem; }

/* --- TEAM --- */
.team-section { background: var(--primary-bg); padding: 80px 20px; text-align: center; }
.section-headline { font-size: 2.5rem; margin-bottom: 50px; }
.team-container { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.profile-card { width: 350px; border-radius: 30px; padding: 40px 20px; color: #000; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.gradient-blue { background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%); }
.gradient-purple { background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%); }
.avatar img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255,255,255,0.6); margin-bottom: 15px; }
.profile-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.pill-link { background: #000; color: #fff; padding: 12px; border-radius: 30px; text-decoration: none; font-size: 0.9rem; transition: opacity 0.3s; }

/* Footer */
footer { background: #000; color: #fff; padding: 40px; text-align: center; font-size: 0.9rem; }
.footer-links a { color: #fff; text-decoration: none; margin: 0 10px; }
.chat-fab { position: fixed; bottom: 20px; right: 20px; background: var(--primary-orange); color: #fff; padding: 10px 25px; border-radius: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.2); font-weight: 600; cursor: pointer; z-index: 999; }

/* Mobile */
@media (max-width: 768px) {
    /* Header adjustments */
    .wix-header { padding: 0 10px; top: 10px; }
    .header-left { padding: 8px 15px; height: 50px; gap: 10px; }
    .header-left .brand-name { font-size: 0.9rem; letter-spacing: 1px; }
    .header-center { display: none; }
    .nav-pill { display: none; }
    .lang-pill { height: 50px; padding: 0 12px; }
    
    /* Hero section adjustments */
    .hero-section1 { padding-bottom: 60px; }
    .video-matrix-bg { gap: 10px; padding: 10px; }
    .matrix-cell { border-radius: 10px; }
    
    /* Hero title adjustments */
    .hero-title-container { top: 15%; }
    .giant-3d-text { font-size: 15vw; margin-bottom: -20px; letter-spacing: -1px; }
    
    /* Main card adjustments */
    .main-card { 
        width: 95%; 
        padding: 30px 20px; 
        border-radius: 30px;
        top: 5%;
    }
    .card-arrow-top-left { top: 20px; left: 20px; }
    .card-arrow-top-left svg { width: 30px; height: 30px; }
    .welcome-text { font-size: 1.4rem; line-height: 1.2; margin-bottom: 15px; }
    .sub-text { font-size: 1rem; margin-bottom: 8px; }
    .tip-text { font-size: 0.85rem; margin-bottom: 15px; }
    .btn-pill { font-size: 1rem; padding: 12px 0; width: 90%; }
    
    /* Gallery slider adjustments */
    .gallery-slider-section { padding: 20px 10px; gap: 10px; }
    .slider-btn { width: 40px; height: 40px; font-size: 1rem; }
    .gallery-wrapper { height: auto; min-height: 400px; border-radius: 20px; }
    .gallery-slide { flex-direction: column; height: auto; }
    .slide-image { height: 250px; }
    .slide-text-box { height: auto; min-height: 200px; padding: 20px; }
    .glass-text-overlay { padding: 20px; }
    .glass-text-overlay h3 { font-size: 1.8rem; margin-bottom: 15px; }
    .glass-text-overlay p { font-size: 1rem; }
    
    /* About section adjustments */
    .about-section { padding: 60px 20px; margin: 10px; border-radius: 30px; }
    .big-headline { font-size: 2.5rem; margin-bottom: 20px; }
    .about-text-block { font-size: 1.1rem; line-height: 1.5; margin-bottom: 40px; }
    .about-grid { grid-template-columns: 1fr; gap: 25px; }
    .about-item h3 { font-size: 1.5rem; }
    .about-item p { font-size: 1rem; }
    
    /* Team section adjustments */
    .team-section { padding: 60px 15px; }
    .section-headline { font-size: 2rem; margin-bottom: 30px; }
    .team-container { flex-direction: column; align-items: center; gap: 25px; }
    .profile-card { width: 90%; max-width: 350px; padding: 30px 20px; border-radius: 25px; }
    .avatar img { width: 100px; height: 100px; }
    
    /* Footer adjustments */
    footer { padding: 30px 20px; font-size: 0.85rem; }
    
    /* Chat FAB adjustments */
    .chat-fab { padding: 10px 20px; font-size: 0.9rem; bottom: 15px; right: 15px; }
    
    /* Matrix grid for other sections */
    .matrix-grid { grid-template-columns: 1fr; }
}

/* --- Basis für die Hero Section sicherstellen --- */
.hero-section1 {
    position: relative;
    width: 100%;
    height: 100vh; /* Oder deine gewünschte Höhe */
    overflow: hidden;
    /* Zentrierung für deine Karte */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #111; /* Dunkler Hintergrund für die Lücken */
}

/* --- Der neue Matrix Hintergrund --- */
.video-matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    /* 2 Spalten, 2 Zeilen */
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    /* Deine gewünschten Abstände */
    gap: 20px;     /* Abstand zwischen Videos */
    padding: 20px; /* Abstand zum Rand */
    z-index: 0;    /* Ganz hinten */
}

/* Die einzelnen Zellen */
.matrix-cell {
    width: 100%;
    height: 100%;
    border-radius: 20px; /* Abgerundete Ecken */
    overflow: hidden;    /* Wichtig für Border-Radius beim Video */
    position: relative;
    background: #000;    /* Fallback Farbe */
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5); /* Innerer Schatten für Tiefe */
}

/* Das Video Styling */
.matrix-cell video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Video füllt die Zelle ohne Verzerrung */
    display: block;
    opacity: 0.8; /* Leichte Transparenz für coolen Look */
}

/* Optionales Overlay über die Videos (aber hinter dem Content) */
.matrix-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.2); /* Globale Abdunklung */
    pointer-events: none;
    z-index: 1; /* Über den Videos, aber im Container */
}

/* --- Anpassung deiner bestehenden Elemente (Z-Index) --- */

/* Der 3D Titel muss über dem Video schweben */
.hero-title-container {
    position: absolute; /* Vermutlich schon so, aber sicherheitshalber */
    z-index: 2; /* Höher als Video (0) */
    /* Positionierung falls nötig anpassen, z.B. top: 10% */
}

/* Deine Main Card muss ganz vorne sein */
.main-card {
    position: relative;
    z-index: 3; /* Ganz oben */
}

.logo-image {
    width: 100%;
    height: auto;
}

/* --- Hintergrunderweiterung --- */
.site-background {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle, rgba(0,0,0,0.1) 1px, transparent 1px);
    background-size: 20px 20px; /* Erzeugt das Gitter aus dem Video */
    background-color: var(--primary-bg);
    z-index: -1;
}

/* =====================================================================
    BOOKING & PRICING
   ===================================================================== */

/* --- PREMIUM BOOKING SECTION */
.premium-booking-section {
    padding: 160px 20px 100px;
    max-width: 1400px; /* Wider for better impact */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
    /* Dezenten Hintergrund-Glow hinzufügen */
    background: radial-gradient(circle at 50% 20%, rgba(233, 142, 104, 0.15), transparent 60%);
}

/* --- HERO INTRO --- */
.booking-intro {
    text-align: center;
    margin-bottom: 100px;
    position: relative;
}

/* Add decorative glowing line */
.booking-intro::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-orange);
    margin: 40px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 20px var(--primary-orange);
}

.premium-headline {
    font-family: var(--font-title);
    font-size: 5.5rem; /* Bigger */
    font-weight: 900;
    line-height: 1;
    color: var(--text-color);
    margin-bottom: 25px;
    letter-spacing: -2px;
    position: relative;
    z-index: 2;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 30%, var(--primary-orange) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(233, 142, 104, 0.4)); /* Glow Text */
}

/* Dark mode adjustment for gradient */
body.darkmode .text-gradient {
    background: linear-gradient(135deg, #fff 30%, var(--primary-orange) 80%);
     -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.premium-subtext {
    font-size: 1.4rem;
    color: #ccc; /* Default Dark Text */
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
    font-weight: 400;
}
body.lightmode .premium-subtext { color: #666; }

/* Enhanced Button */
.apple-btn-primary {
    background: var(--primary-orange);
    color: #fff;
    border: none;
    padding: 20px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(233, 142, 104, 0.5), inset 0 2px 0 rgba(255,255,255,0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.apple-btn-primary::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.apple-btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(233, 142, 104, 0.7), inset 0 2px 0 rgba(255,255,255,0.5);
}
.apple-btn-primary:hover::before { left: 100%; }
.apple-btn-primary:active { transform: translateY(1px) scale(0.98); }


/* --- PRICING ECOSYSTEM --- */
.pricing-ecosystem {
    width: 100%;
    margin-top: 20px;
}

.section-tag {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--dark-orange);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 60px;
    opacity: 0.8;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* --- FORMULA RE-DESIGN --- */
.pricing-formula-row {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Cards same height */
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    flex-wrap: wrap;
}

.pricing-card {
    flex: 1;
    min-width: 280px;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08); /* Dark default border */
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3); /* Dark default shadow */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

body.lightmode .pricing-card {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* Top Glow Line */
.pricing-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
    opacity: 0; transition: 0.4s;
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1), 0 0 0 1px var(--primary-orange);
}
.pricing-card:hover::before { opacity: 1; }

.math-sign {
    font-size: 2.5rem;
    color: var(--text-color);
    opacity: 0.2;
    display: flex; align-items: center;
}

/* Only rotate on mobile, normally standard */
@media (min-width: 901px) {
    .math-sign { width: auto; font-weight: 100; font-size: 3rem; }
}

/* Icons Enhancement */
.icon-feature {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-orange), #ff5e00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    filter: drop-shadow(0 10px 20px rgba(233, 142, 104, 0.3));
}

.pricing-card h3 { font-size: 1.8rem; margin-bottom: 10px; font-weight: 800; font-family: var(--font-title); }
.pricing-card p { font-size: 1rem; opacity: 0.7; margin-bottom: auto; }

.price-metric {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px dashed rgba(100,100,100,0.2);
    width: 100%;
    display: flex; justify-content: center; align-items: baseline; gap: 5px;
}
.metric-value { font-size: 3.5rem; line-height: 1; font-weight: 900; color: var(--text-color); }
.metric-unit { font-size: 1.1rem; color: var(--primary-orange); font-weight: 700; transform: translateY(-5px); display: inline-block; }

.card-step {
    font-size: 10rem;
    top: -30px;
    right: 10px;
    opacity: 50;
    transition: 0.5s;
    transform: translateY(20px);
    color: rgba(38, 37, 37, 0.701); /* Orange tint */

}
.pricing-card:hover .card-step {
    opacity: 1;
    transform: translateY(0);
    color: rgba(39, 39, 39, 0.801); /* Orange tint */
}

/* Das Gleich Zeichen (Wrapper und Icon) */
.math-result-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: -30px; /* Zieht es über die Beispiel-Karte */
    position: relative;
    z-index: 5;
}

.math-equals-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--primary-orange);
    color: #fff;
    font-size: 2rem;
    display: grid; place-items: center;
    box-shadow: 0 10px 30px rgba(233, 142, 104, 0.6);
    position: relative;
    z-index: 20;
    border: 6px solid var(--primary-bg); /* Thicker border */
}
/* Pulse Animation */
.math-equals-icon::after {
    content: ''; position: absolute; inset: -10px; border-radius: 50%;
    border: 2px solid var(--primary-orange);
    opacity: 0.5;
    animation: pulseBorder 2s infinite;
}
@keyframes pulseBorder {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* Mobile Optimierung: Alles untereinander */
@media (max-width: 900px) {
    .premium-headline { font-size: 3rem; }
    .pricing-formula-row { flex-direction: column; }
    .pricing-card { width: 100%; }
    .math-sign { transform: rotate(90deg); margin: 0; padding: 20px; }
}

.link-pill {
    margin-top: 20px;
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; color: var(--primary-orange); text-decoration: none;
    transition: 0.3s;
}
.link-pill:hover { gap: 12px; }

/* --- EXAMPLE CALCULATOR (COCKPIT STYLE) --- */
.example-calculation-card {
    max-width: 900px;
    margin: 0 auto;
    background: #111; /* Dark Cockpit */
    color: #fff;
    border-radius: 40px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.example-content {
    flex: 6;
    padding: 50px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    position: relative;
    z-index: 1;
}

/* Grid lines overlay on calc */
.example-content::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: -1;
}

.example-content h4 {
    font-size: 2rem; margin-bottom: 30px; font-weight: 800;
    display: flex; align-items: center; gap: 15px;
    color: #fff;
}
.example-content h4::before {
    content: ''; display: inline-block; width: 12px; height: 12px; background: #0f0; border-radius: 50%;
    box-shadow: 0 0 10px #0f0;
}

.example-image-wrapper {
    flex: 4;
    background: #000;
    display: flex; justify-content: center; align-items: center;
    position: relative;
    border-left: 1px solid rgba(255,255,255,0.1);
}
.example-image-wrapper img {
    width: 85%;
    filter: drop-shadow(0 20px 40px rgba(233, 142, 104, 0.4));
    transition: 0.5s;
}
.example-calculation-card:hover img { transform: scale(1.1); }


.calc-list li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 15px 0;
    font-family: 'Courier New', monospace; /* Code Style */
    color: #aaa;
    display: flex; justify-content: space-between;
}
.c-label { color: #fff; font-weight: 600; }
.c-price { color: var(--primary-orange); text-shadow: 0 0 10px rgba(233, 142, 104, 0.5); font-weight: 700; }

.total-price {
    background: rgba(233, 142, 104, 0.1);
    border: 1px solid var(--primary-orange);
    color: var(--primary-orange);
    padding: 20px;
    border-radius: 12px;
    margin-top: 30px;
    display: flex; justify-content: space-between; align-items: center;
}
.total-value { text-shadow: 0 0 20px var(--primary-orange); font-size: 1.8rem; font-weight: 800; }

.example-content .tag {
    font-size: 0.75rem; background: var(--primary-orange); color: #fff;
    padding: 6px 14px; border-radius: 20px; display: inline-block;
    margin-bottom: 15px; font-weight: 800; letter-spacing: 1px;
}

/* --- Mobile Fixes --- */
@media (max-width: 900px) {
    .example-calculation-card { flex-direction: column-reverse; } /* Image on top */
    .example-image-wrapper { height: 250px; border-left: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .example-content { padding: 30px; }
}

/* =====================================================================
   MODAL (TECH-HUD STYLE)
   ===================================================================== */

.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: 9000;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal-container {
    width: 95%; max-width: 700px;
    background: #0a0a0a;
    border-radius: 30px; padding: 50px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.6);
    transform: scale(0.9) translateY(40px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    overflow: hidden;
}
/* HUD Grid Background */
.modal-container::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

body.lightmode .modal-container { background: #111; border-color: rgba(255,255,255,0.1); }
.modal-overlay.active .modal-container { transform: scale(1) translateY(0); }

.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; position: relative; z-index: 2; }
.modal-header h2 { font-size: 2rem; font-weight: 900; letter-spacing: -1px; }

.close-modal {
    background: rgba(255,255,255,0.1); border: none; width: 45px; height: 45px;
    border-radius: 50%; color: #fff; cursor: pointer; transition: 0.3s;
    display: flex; justify-content: center; align-items: center; font-size: 1.2rem;
}
.close-modal:hover { background: var(--primary-orange); transform: rotate(90deg); }

.step-desc { margin-bottom: 30px; font-size: 1.2rem; font-weight: 500; opacity: 0.8; position: relative; z-index: 2; }

/* Radio Cards (Futuristic Grid) */
.selection-group { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; position: relative; z-index: 2; }
.radio-card input { display: none; }

.radio-content {
    display: grid;
    grid-template-areas: "icon title" "icon desc";
    grid-template-columns: 60px 1fr;
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px; cursor: pointer; transition: 0.3s;
    background: rgba(255,255,255,0.02);
}
.radio-content i {
    grid-area: icon; align-self: center; justify-self: center;
    font-size: 2rem; color: #555; transition: 0.3s;
}
.r-title { grid-area: title; font-weight: 700; font-size: 1.15rem; align-self: end; margin-bottom: 4px; }
.r-desc { grid-area: desc; font-size: 0.9rem; opacity: 0.6; align-self: start; }

/* Active Radio State */
.radio-card input:checked + .radio-content {
    border-color: var(--primary-orange);
    background: rgba(233, 142, 104, 0.08); /* Minimal orange tint */
    box-shadow: 0 0 30px rgba(233, 142, 104, 0.1);
}
.radio-card input:checked + .radio-content i { color: var(--primary-orange); text-shadow: 0 0 10px rgba(233, 142, 104, 0.5); }

.modal-footer { margin-top: 30px; text-align: right; position: relative; z-index: 2; }
.modal-footer.split { display: flex; justify-content: space-between; align-items: center; }

.apple-btn-secondary {
    background: #fff; color: #000; border: none; padding: 18px 40px;
    border-radius: 50px; font-weight: 700; cursor: pointer; transition: 0.3s; font-size: 1rem;
}
.apple-btn-secondary:disabled { background: #333; color: #777; cursor: not-allowed; opacity: 1; }
.apple-btn-secondary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,255,255,0.2); }

.apple-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.2); padding: 15px 30px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: 0.2s; }
.apple-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.05); }

/* Form Elements Floating Label Style - Dark */
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; position: relative; z-index: 2; }
.input-group { position: relative; margin-bottom: 25px; z-index: 2; }
.input-group input, .input-group textarea {
    width: 100%; padding: 25px 20px 10px; border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.3);
    font-size: 1rem; color: #fff; outline: none; transition: 0.3s;
}
.input-group input:focus, .input-group textarea:focus {
    border-color: var(--primary-orange);
    background: rgba(0,0,0,0.5);
    box-shadow: 0 0 15px rgba(233, 142, 104, 0.15);
}
.input-group label {
    position: absolute; top: 18px; left: 20px; font-size: 1rem; color: #666;
    pointer-events: none; transition: 0.2s; font-weight: 500;
}
.input-group input:focus ~ label, .input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label, .input-group textarea:not(:placeholder-shown) ~ label {
    top: 8px; font-size: 0.75rem; color: var(--primary-orange);
}

.upload-zone {
    border: 2px dashed rgba(255,255,255,0.15); padding: 50px; text-align: center; border-radius: 20px; cursor: pointer; transition: 0.3s; margin-bottom: 30px;
    background: rgba(255,255,255,0.01);
}
.upload-zone:hover { border-color: var(--primary-orange); background: rgba(233, 142, 104, 0.05); }
.upload-zone i { font-size: 3rem; color: var(--primary-orange); margin-bottom: 20px; filter: drop-shadow(0 0 10px rgba(233, 142, 104, 0.4)); }

/* Toggle Switch */
.toggle-group { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; position: relative; z-index: 2; }
.switch { position: relative; display: inline-block; width: 60px; height: 34px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #333; transition: .4s; }
.slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: #777; transition: .4s; }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }
input:checked + .slider { background-color: var(--primary-orange); }
input:checked + .slider:before { transform: translateX(26px); background-color: #fff; }
.toggle-label { font-weight: 600; color: #fff; }

.divider { height: 1px; background: rgba(255,255,255,0.1); margin: 40px 0; }
/* --- Gallery Page Overrides & Reconstruction --- */

.gallery-page {
    min-height: 100vh;
    padding-top: 120px; /* Platz für fixierten Header */
    padding-bottom: 50px;
    /* Rekonstruktion des strukturierten Hintergrunds aus dem Video */
    background-color: #D37652; 
    background-image: 
        linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.gallery-container {
    width: 90%;
    max-width: 1200px;
    text-align: center;
}

.gallery-headline {
    font-family: var(--font-main); /* Laut Video eher Montserrat Bold */
    font-size: 5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 30px;
    text-transform: none;
}

.slider-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 8; /* Video-Format */
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 8px solid rgba(0,0,0,0.05);
}

.slides-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img, .slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigations-Pfeile exakt wie im Video */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: white;
    font-size: 3.5rem;
    cursor: pointer;
    z-index: 10;
    padding: 20px;
    transition: opacity 0.3s, scale 0.2s;
    text-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.slider-nav:hover {
    scale: 1.1;
}

.slider-nav.prev { left: 20px; }
.slider-nav.next { right: 20px; }

/* Caption Styling */
.caption-container {
    margin-top: 25px;
}

#slideCaption {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    opacity: 0.9;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    .gallery-headline { font-size: 3rem; }
    .slider-viewport { aspect-ratio: 4 / 3; }
    .slider-nav { font-size: 2rem; }
}

/* --- MATERIALIEN PAGE SPEZIFISCH --- */

.materials-page {
    padding-top: 140px; /* Platz für Header */
    padding-bottom: 80px;
    min-height: 100vh;
    /* Der markante strukturierte Hintergrund aus dem Video */
    background-color: var(--primary-bg);
    background-image: 
        radial-gradient(var(--primary-orange) 0.5px, transparent 0.5px), 
        radial-gradient(var(--primary-orange) 0.5px, var(--primary-bg) 0.5px);
    background-size: 4px 4px;
    background-position: 0 0, 2px 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- MATERIALIEN PAGE REDESIGN ("THE VAULT" STYLE) --- */

.materials-page {
    position: relative;
    padding-top: 150px; /* Space for fixed header */
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.materials-main-title {
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 60px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(233, 142, 104, 0.3);
    position: relative;
    text-align: center;
}

.materials-main-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-orange);
    box-shadow: 0 0 15px var(--primary-orange);
    border-radius: 2px;
}

.materials-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    width: 90%;
}

.material-card {
    background: rgba(20, 20, 20, 0.6); /* Dark Glass */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

/* Hover Effect: Card Lifts & Glows */
.material-card:hover {
    transform: translateY(-10px);
    border-color: rgba(233, 142, 104, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 
                0 0 20px rgba(233, 142, 104, 0.2);
}

.material-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
    opacity: 0;
    transition: 0.4s;
    z-index: 5;
}

.material-card:hover::before {
    opacity: 1;
}

/* INFO SECTION (TOP) */
.card-top-info {
    background: transparent;
    padding: 35px 30px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-top-info h3 {
    font-family: var(--font-title);
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.card-top-info p {
    font-family: var(--font-main);
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* --- NEW ELEMENTS STYLING --- */

/* Badge */
.badge-container {
    margin-bottom: 15px;
}

.tech-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-orange);
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid rgba(233, 142, 104, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.badge-advanced {
    color: #4bd6cb; /* Cyan for PETG/Advanced */
    border-color: rgba(75, 214, 203, 0.3);
    background: rgba(75, 214, 203, 0.1);
}

/* Specs Grid */
.specs-mini-grid {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #aaa;
    font-weight: 500;
}

.specs-mini-grid span i {
    margin-right: 6px;
    color: var(--primary-orange);
}

.badge-advanced ~ h3 ~ .specs-mini-grid span i {
     color: #4bd6cb;
}

/* Pricing Display (Replaces Button) */
.pricing-display {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 100%;
}

.p-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
    margin-bottom: 5px;
    font-weight: 600;
}

.p-value {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    transition: color 0.3s, text-shadow 0.3s;
}

.material-card:hover .p-value {
    color: var(--primary-orange);
    text-shadow: 0 0 20px rgba(233, 142, 104, 0.4);
}

/* IMAGE SECTION (BOTTOM) */
.card-bottom-image {
    background: #fff;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.card-bottom-image::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
    pointer-events: none;
}

.card-bottom-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.material-card:hover .card-bottom-image img {
    transform: scale(1.15) translateY(-5px);
}

/* Zentrierung für die einzelne Karte in der zweiten Reihe */
.centered-card {
    grid-column: 2;
}

/* Mobile & Tablet Anpassung */
@media (max-width: 1200px) {
    .materials-container {
        grid-template-columns: 1fr 1fr;
    }
    .centered-card {
        grid-column: auto; /* Im Flow bleiben bei 2 Spalten (2x2 Grid) */
        max-width: none;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .materials-container {
        grid-template-columns: 1fr;
    }
    .centered-card {
        grid-column: auto;
    }
    .materials-main-title {
        font-size: 2.5rem;
    }
}

/* --- TEAM CARDS --- */
/* --- SCI-FI PROFILE CARDS --- */

.team-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    perspective: 1000px; /* Für 3D Effekte */
}

/* Basis Karte */
.profile-card {
    position: relative;
    width: 350px;
    border-radius: 30px;
    padding: 3px; /* Platz für den Border-Glow */
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Farben Variablen je nach Theme */
    --theme-color: #00f3ff; /* Default Blau */
}

.profile-card.theme-purple {
    --theme-color: #4a5dd8; /* Neon Lila */
}

/* Hover Lift */
.profile-card:hover {
    transform: translateY(0px) scale(1.02);
    z-index: 10;
}

/* Der Glas-Hintergrund (Extra Layer für maximale Kontrolle) */
.card-glass-bg {
    position: absolute;
    inset: 3px; /* Innerhalb des Borders */
    background: rgba(0, 0, 0, 0.4); /* Dark Default */
    backdrop-filter: blur(12px); /* Blurt die Dots im Hintergrund */
    border-radius: 28px;
    z-index: 0;
    box-shadow: inset 0 0 30px rgba(255,255,255,0.05);
}

/* Der leuchtende Rand (Animated Gradient) */
.card-border-glow {
    position: absolute;
    inset: 0;
    background: conic-gradient(
        from 0deg, 
        transparent 0%, 
        var(--theme-color) 20%, 
        transparent 40%
    );
    border-radius: 30px;
    z-index: -1;
    animation: rotateBorder 4s linear infinite;
    opacity: 0.5; /* Dezent im Normalzustand */
    transition: opacity 0.3s;
}

/* Hover: Rand leuchtet stark */
.profile-card:hover .card-border-glow {
    opacity: 1;
    animation-duration: 2s; /* Schneller bei Hover */
    filter: blur(5px); /* Glow Effekt */
}

@keyframes rotateBorder {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Inhalt Wrapper */
.card-inner {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* --- AVATAR BEREICH --- */
.avatar-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-wrapper img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.8);
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    transition: transform 0.4s ease, filter 0.4s;
    filter: grayscale(60%); /* Startet Schwarz/Weiß für coolen Look */
}

/* Hover: Bild wird farbig und zoomt */
.profile-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
    border-color: var(--theme-color);
}

/* Das drehende HUD Interface um den Kopf */
.hud-ring {
    position: absolute;
    width: 100%; height: 100%;
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 50%;
    animation: spinRing 10s linear infinite;
}

.hud-ring::before {
    content: ''; position: absolute; inset: -5px;
    border-radius: 50%;
    border-top: 2px solid var(--theme-color);
    border-right: 2px solid transparent;
    transform: rotate(45deg);
}

.profile-card:hover .hud-ring {
    border-color: rgba(255,255,255,0.6);
    animation-duration: 3s; /* Schneller drehen bei Hover */
}

@keyframes spinRing {
    to { transform: rotate(360deg); }
}

/* --- TEXT BEREICH --- */
.profile-info h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.role {
    color: var(--theme-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--theme-color);
}

.tech-divider {
    width: 50px;
    height: 2px;
    background: var(--theme-color);
    margin: 0 auto 25px;
    box-shadow: 0 0 10px var(--theme-color);
    transition: width 0.3s ease;
}

.profile-card:hover .tech-divider {
    width: 100%; /* Linie wächst auf volle Breite */
    opacity: 0.5;
}

/* --- BUTTONS --- */
.profile-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.hud-btn {
    position: relative;
    background: rgba(255,255,255,0.05);
    color: #fff;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hud-btn:hover {
    background: var(--theme-color);
    color: #000; /* Schwarzer Text auf Neon Hintergrund für Kontrast */
    box-shadow: 0 0 20px var(--theme-color);
    border-color: var(--theme-color);
    font-weight: bold;
}

.hud-btn.youtube:hover {
    background: #FF0000;
    color: #fff;
    box-shadow: 0 0 20px #FF0000;
    border-color: #FF0000;
}

/* Lightmode specific adjustments */
body.lightmode .card-glass-bg {
    background: rgba(20, 20, 20, 0.288);
}

/* --- REKONSTRUKTION MODELLE SEITE --- */

.modelle-page {
    min-height: 100vh;
    padding-top: 140px; /* Platz für den Header */
    padding-bottom: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Exakter Mesh-Hintergrund aus dem Video */
    background-color: #B3714E; 
    background-image: 
        linear-gradient(rgba(0,0,0,0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.15) 1px, transparent 1px);
    background-size: 3px 3px; /* Sehr feines Gitter */
    position: relative;
}

.modelle-content-wrapper {
    width: 100%;
    max-width: 1000px;
    text-align: center;
    z-index: 10;
}

.selection-title {
    font-family: var(--font-main);
    font-weight: 900;
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--theme-color);
    margin-bottom: 60px;
}

.selection-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    align-items: flex-start;
    padding: 0 20px;
}

.selection-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Handgezeichnete Pfeile */
.arrow-container {
    width: 120px;
    height: 80px;
    margin-bottom: 20px;
}

.hand-arrow {
    width: 100%;
    height: 100%;
    filter: drop-shadow(2px 2px 0px rgba(255,255,255,0.3));
}

/* Die Karten-Struktur */
.model-platform-card {
    width: 320px;
    height: 320px;
    background: #fff;
    border-radius: 40px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.4);
    text-decoration: none;
}

.model-platform-card:hover {
    transform: scale(1.05);
}

/* Glass-Effekt auf den Karten wie im Video */
.card-glass-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 100%);
    pointer-events: none;
}

/* Spezielle Schatten/Glows für die Logos */
.thingi-card {
    background: radial-gradient(circle at center, #ffffff 0%, #e6f0ff 100%);
}

.maker-card {
    background: radial-gradient(circle at center, #ffffff 0%, #f5f5f5 100%);
}

.platform-logo {
    width: 70%;
    height: auto;
    object-fit: contain;
    z-index: 2;
    filter: contrast(1.1);
}

/* Mobile Optimierung */
@media (max-width: 850px) {
    .selection-grid {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    .selection-title {
        font-size: 2.5rem;
    }
    .model-platform-card {
        width: 280px;
        height: 280px;
    }
    .arrow-container {
        display: none; /* Auf Mobile stören die Pfeile im vertikalen Layout */
    }
}

/* --- STATUS PAGE RECONSTRUCTION --- */

.status-page-content {
    min-height: 100vh;
    padding-top: 150px;
    padding-bottom: 100px;
    display: flex;
    justify-content: center;
    /* Exakter Mesh-Hintergrund aus dem Video */
    background-color: #B16B4A; 
    background-image: 
        linear-gradient(rgba(0,0,0,0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.15) 1px, transparent 1px);
    background-size: 3px 3px;
}

.status-hero {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.search-form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 450px;
}

.input-label {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 18px;
    align-self: center;
}

.input-wrapper {
    width: 80%;
    position: relative;
    margin-bottom: 40px;
}

.status-input {
    width: 100%;
    padding: 15px 25px;
    border-radius: 15px;
    border: none;
    font-size: 1.2rem;
    color: #555;
    background: white;
    /* Der extrem starke weiße Glow-Effekt aus dem Video */
    box-shadow: 0 0 25px 8px rgba(255, 255, 255, 0.9);
    outline: none;
}

/* Entfernt die Standard-Arrows bei Number-Inputs für cleanen Look */
.status-input::-webkit-outer-spin-button,
.status-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.status-submit-btn {
    background-color: #888; /* Dunkelgrau wie im Video */
    color: white;
    border: none;
    padding: 10px 45px;
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s;
}

.status-submit-btn:hover {
    background-color: #666;
}

/* Tabellen-Rekonstruktion */
.results-container {
    width: 95%;
    max-width: 1000px;
    margin-top: 20px;
    animation: fadeIn 0.5s ease-out;
}

.status-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    font-family: var(--font-main);
}

.status-table thead th {
    background-color: #FDF1B8; /* Das spezifische Blassgelb aus dem Video */
    padding: 20px;
    font-weight: 500;
    color: #333;
    border-right: 2px solid white;
}

.status-table thead th:last-child {
    border-right: none;
}

.status-table tbody td {
    padding: 20px;
    text-align: center;
    border-right: 2px solid #FDF1B8; /* Trenner in Headerfarbe */
    border-bottom: 1px solid #eee;
    color: #333;
}

.status-table tbody td:last-child {
    border-right: none;
}

.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- CALCULATOR INTERACTIVE UPDATE --- */
.calculator-inputs {
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.cal-input-row {
    margin-bottom: 15px;
}
.cal-input-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
}
.cal-input-row label span {
    color: var(--primary-orange);
    font-family: 'Fira Code', monospace;
    font-size: 1.1rem;
    font-weight: 1000;
}

.calc-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    outline: none;
    transition: 0.2s;
}
.calc-slider:hover { opacity: 1; }

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-orange);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(233, 142, 104, 0.5);
    transition: transform 0.1s;
    border: 2px solid #fff;
}
.calc-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-orange);
    cursor: pointer;
    border: 2px solid #fff;
}

.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.calc-slider::-webkit-slider-thumb:active { transform: scale(0.9); }

/* Success Icon Animation */
@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}
.success-icon i {
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}


/* --- NEW FORM ELEMENTS (LAST POLISH) --- */
.inner-upload {
    padding: 20px !important;
    border-style: dotted !important;
    margin-top: 15px;
}
.inner-upload i { font-size: 1.5rem !important; margin-bottom: 5px !important; }

.checkbox-group {
    display: flex; flex-direction: column; gap: 15px; margin-bottom: 20px;
}
.custom-checkbox {
    display: flex; align-items: center; gap: 10px; cursor: pointer; position: relative;
    user-select: none;
}
.custom-checkbox input {
    position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0;
}
.checkmark {
    height: 20px; width: 20px; background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3); border-radius: 4px;
    display: flex; justify-content: center; align-items: center;
    transition: 0.2s;
}
.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}
.checkmark:after {
    content: ''; display: none; width: 5px; height: 10px;
    border: solid white; border-width: 0 2px 2px 0;
    transform: rotate(45deg) translateY(-1px);
}
.custom-checkbox input:checked ~ .checkmark:after { display: block; }

.label-text { font-size: 0.9rem; color: #ccc; }
.label-text a { color: var(--primary-orange); text-decoration: none; }
.label-text a:hover { text-decoration: underline; }


/* ============================================================
   LAYOUT STABILITY FOR MULTILINGUAL TEXT
   ============================================================ */

/* 1. Prevent Navigation Wrap */
.nav-item {
    white-space: nowrap;
}

/* 2. Prevent Button Layout Breaking */
.apple-btn-primary, 
.btn-pill, 
.hud-btn {
    white-space: nowrap;
}

/* 3. Stabilize Pricing Cards (Align Prices) */
/* Reserve space for 2 lines of text in description to keep prices aligned */
.pricing-card p {
    min-height: 3em; 
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 4. Stabilize Tech/Features Grid */
.tech-item p {
    min-height: 3em; /* Ensure uniform height for descriptions */
}

/* 5. Hero Headline Responsive Font Size for longer text */
@media (max-width: 768px) {
    .premium-headline {
        font-size: 3.5rem; /* Slightly smaller on mobile to fit long words */
        word-wrap: break-word;
    }
}
