/* ================================== */
/* KI ADVENTSKALENDER - REDESIGN      */
/* Basierend auf Buchcover-Farben     */
/* Matrix + Weihnachten               */
/* ================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Source+Sans+3:wght@400;600&family=Orbitron:wght@500;700&display=swap');

:root {
    /* === FARBPALETTE VOM COVER === */
    --color-bg-deep: #061220;        /* Tiefster Hintergrund */
    --color-bg-dark: #0a1a2e;        /* Haupthintergrund */
    --color-bg-card: #0d2240;        /* Karten-Hintergrund */
    
    --color-matrix-bright: #00ff41;  /* Matrix Hellgrün */
    --color-matrix-mid: #00cc33;     /* Matrix Mittelgrün */
    --color-matrix-dark: #008822;    /* Matrix Dunkelgrün */
    --color-matrix-dim: #004411;     /* Matrix Gedimmt */
    
    --color-gold: #D9AE5F;           /* Gold/Orange Akzent */
    --color-gold-dark: #B8923D;      /* Dunkleres Gold */
    --color-gold-glow: #FFCC66;      /* Gold Glühen */
    
    --color-accent-pink: #E87BAF;    /* Rosa Akzent (wie "interaktiv") */
    --color-ice-blue: #7EC8E3;       /* Eisblau Akzent */
    
    --color-text-light: #E0E8F0;     /* Softes Weiß */
    --color-text-dim: #9DB0C4;       /* Gedämpfter Text */
    
    /* Türchen-Holzrahmen */
    --color-wood-light: #C4854C;
    --color-wood-mid: #8B5A2B;
    --color-wood-dark: #5D3A1A;
    
    /* Typografie */
    --font-display: 'Orbitron', sans-serif;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Source Sans 3', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --transition-speed: 0.3s;
}

/* ================================== */
/* RESET & BASE                       */
/* ================================== */

/* Anti-Dark-Mode für mobile Browser */
:root {
    color-scheme: light only;
}

html, body {
    color-scheme: light only;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: var(--font-secondary);
    background-color: var(--color-bg-deep);
    color: var(--color-text-light);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 70px;
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color var(--transition-speed), text-shadow var(--transition-speed);
}

a:hover { 
    color: var(--color-gold-glow);
    text-shadow: 0 0 10px rgba(217, 174, 95, 0.5);
}

h1, h2, h3 {
    font-family: var(--font-primary);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { 
    font-size: clamp(2rem, 5vw, 3rem); 
    font-weight: 700;
}

h2 { 
    font-size: clamp(1.5rem, 4vw, 2.2rem); 
    color: var(--color-gold);
    font-weight: 600;
}

h3 { 
    font-size: 1.2rem;
    color: var(--color-matrix-mid);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-small {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section { 
    padding: 4rem 0; 
    position: relative;
}

.bg-dark { 
    background-color: rgba(6, 18, 32, 0.9); 
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}

/* ================================== */
/* HINTERGRUND-ANIMATION CONTAINER    */
/* Matrix-Regen + Schnee              */
/* ================================== */
#animation-container {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100vh;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

/* Matrix-Zeichen */
.matrix-char {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    animation: matrix-fall linear infinite;
    text-shadow: 0 0 8px currentColor;
    opacity: 0;
}

@keyframes matrix-fall {
    0% { 
        transform: translateY(-20px); 
        opacity: 0; 
    }
    10% { 
        opacity: 1; 
    }
    90% { 
        opacity: 0.6; 
    }
    100% { 
        transform: translateY(100vh); 
        opacity: 0; 
    }
}

/* Schneeflocken */
.snowflake {
    position: absolute;
    color: rgba(255, 255, 255, 0.8);
    font-size: 10px;
    animation: snowfall linear infinite;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

@keyframes snowfall {
    0% { 
        transform: translateY(-20px) rotate(0deg); 
        opacity: 0.8; 
    }
    100% { 
        transform: translateY(100vh) rotate(360deg); 
        opacity: 0.2; 
    }
}

/* ================================== */
/* BUTTONS                            */
/* ================================== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    font-family: var(--font-primary);
    text-align: center;
    transition: all var(--transition-speed);
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-bg-deep);
    box-shadow: 0 4px 15px rgba(217, 174, 95, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-gold-glow) 0%, var(--color-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(217, 174, 95, 0.5);
    color: var(--color-bg-deep);
}

.btn-secondary {
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    background-color: transparent;
}

.btn-secondary:hover {
    background-color: rgba(217, 174, 95, 0.15);
    box-shadow: 0 0 20px rgba(217, 174, 95, 0.3);
    transform: translateY(-2px);
    color: var(--color-gold-glow);
}

/* ================================== */
/* HEADER & NAVIGATION                */
/* ================================== */
header {
    background: linear-gradient(180deg, 
        rgba(6, 18, 32, 0.98) 0%, 
        rgba(10, 26, 46, 0.95) 100%
    );
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(0, 255, 65, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-matrix-bright);
    text-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
    letter-spacing: 1px;
}

.logo:hover {
    color: var(--color-matrix-bright);
    text-shadow: 0 0 25px rgba(0, 255, 65, 0.8);
}

#nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger, .hamburger::before, .hamburger::after {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-matrix-bright);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 5px var(--color-matrix-bright);
}

.hamburger::before { 
    content: ''; 
    position: absolute; 
    transform: translateY(-8px); 
}

.hamburger::after { 
    content: ''; 
    position: absolute; 
    transform: translateY(8px); 
}

#nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

#nav-menu a {
    color: var(--color-text-light);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

#nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-matrix-bright);
    transition: width 0.3s;
    box-shadow: 0 0 8px var(--color-matrix-bright);
}

#nav-menu a:hover::after,
#nav-menu a[aria-current="page"]::after {
    width: 100%;
}

#nav-menu a:hover,
#nav-menu a[aria-current="page"] {
    color: var(--color-matrix-bright);
}

/* ================================== */
/* HERO SECTION MIT HINTERGRUNDBILD   */
/* ================================== */
.hero-section {
    padding: 10rem 0 8rem;
    text-align: center;
    position: relative;
    z-index: 1;
    /* Hintergrundbild mit hellerem Overlay für Mobile */
    background-image: 
        linear-gradient(
            180deg,
            rgba(6, 18, 32, 0.55) 0%,
            rgba(6, 18, 32, 0.65) 50%,
            rgba(6, 18, 32, 0.9) 100%
        ),
        url('../assets/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Anti-Dark-Mode */
    filter: none !important;
    -webkit-filter: none !important;
}

/* Für Mobile: kein fixed attachment (Performance) */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
}

/* Matrix/Glow Overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 40%, rgba(0, 255, 65, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(217, 174, 95, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

/* Sanfter Übergang zum Rest der Seite */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--color-bg-deep) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 10;
}

.hero-section h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    color: var(--color-gold);
    text-shadow: 
        0 0 30px rgba(217, 174, 95, 0.6),
        0 0 60px rgba(217, 174, 95, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.hero-section .subtitle {
    font-family: var(--font-display);
    font-size: clamp(1rem, 3vw, 1.4rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--color-accent-pink);
    text-shadow: 
        0 0 20px rgba(232, 123, 175, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
}

.hero-section .tagline {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text-light);
    line-height: 1.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ================================== */
/* FEATURE CARDS                      */
/* ================================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    background: linear-gradient(145deg, 
        rgba(13, 34, 64, 0.9) 0%, 
        rgba(10, 26, 46, 0.95) 100%
    );
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-matrix-mid);
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-matrix-bright);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--color-matrix-bright);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 255, 65, 0.15);
}

.card:hover::before {
    box-shadow: 0 0 15px var(--color-matrix-bright);
}

.card p {
    color: var(--color-text-dim);
}

/* ================================== */
/* ADVENTSKALENDER - TÜRCHEN          */
/* ================================== */
#calendar { 
    text-align: center;
    position: relative;
    z-index: 1;
}

#calendar > .container > p {
    color: var(--color-text-dim);
    margin-bottom: 2rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    perspective: 1000px;
}

/* === TÜRCHEN-DESIGN === */
.day-tile {
    display: block;
    aspect-ratio: 1;
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
    text-decoration: none;
}

/* Türchen-Rahmen (wie Holzrahmen auf Cover) */
.door-frame {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, 
        var(--color-wood-light) 0%, 
        var(--color-wood-mid) 50%, 
        var(--color-wood-dark) 100%
    );
    border-radius: 6px;
    padding: 4px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Türchen-Tür (die sich öffnet) */
.door-panel {
    position: absolute;
    inset: 4px;
    background: linear-gradient(180deg, 
        #1a3a5c 0%, 
        #0d2240 50%,
        #061832 100%
    );
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform-origin: left center;
    transition: transform 0.6s ease;
    backface-visibility: hidden;
    border: 1px solid rgba(0, 255, 65, 0.2);
    overflow: hidden;
}

/* Matrix-Code-Hintergrund für Türchen - KOMPLETT BEDECKT */
.matrix-bg {
    position: absolute;
    inset: 0;
    font-family: 'Courier New', monospace;
    font-size: 9px;
    line-height: 1.15;
    color: var(--color-matrix-mid);
    opacity: 0.7;
    overflow: hidden;
    word-break: break-all;
    padding: 4px;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    letter-spacing: 1px;
}

.day-tile:hover .matrix-bg {
    color: var(--color-matrix-bright);
    opacity: 0.9;
    text-shadow: 0 0 5px var(--color-matrix-bright);
}

/* Tages-Nummer */
.day-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--color-gold);
    text-shadow: 
        0 0 15px rgba(217, 174, 95, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 2;
    position: relative;
}

/* "Tag" Label */
.day-label {
    display: block;
    font-size: 0.7rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2px;
    z-index: 2;
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Weihnachtliches Symbol auf Türchen */
.door-icon {
    position: absolute;
    bottom: 8px;
    font-size: 1rem;
    opacity: 0.6;
}

/* Türgriff */
.door-handle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 14px;
    background: linear-gradient(180deg, 
        var(--color-gold-glow) 0%, 
        var(--color-gold-dark) 100%
    );
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(217, 174, 95, 0.5);
    z-index: 3;
}

/* Dahinter (wenn Tür offen) */
.door-behind {
    position: absolute;
    inset: 4px;
    background: linear-gradient(180deg, 
        rgba(13, 34, 64, 0.95) 0%, 
        rgba(10, 26, 46, 0.98) 100%
    );
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px;
}

.behind-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.behind-title {
    font-family: var(--font-primary);
    font-size: 0.65rem;
    color: var(--color-text-light);
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hover-Effekt */
.day-tile:hover .door-panel {
    transform: perspective(800px) rotateY(-25deg);
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5);
}

/* === GEÖFFNETE TÜRCHEN === */
.day-tile.door-opened .door-panel {
    transform: perspective(800px) rotateY(-85deg);
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.4);
}

.day-tile.door-opened .door-frame {
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        inset 0 0 15px rgba(0, 255, 65, 0.1);
}

.day-tile.door-opened:hover .door-panel {
    transform: perspective(800px) rotateY(-85deg);
}

/* === GESPERRTE TÜRCHEN === */
.day-tile.door-locked {
    cursor: not-allowed;
}

.day-tile.door-locked .door-frame {
    opacity: 0.5;
    filter: grayscale(50%);
}

.day-tile.door-locked .door-panel {
    background: linear-gradient(180deg, 
        #1a2a3a 0%, 
        #0d1a28 50%,
        #061018 100%
    );
}

.day-tile.door-locked .matrix-bg {
    opacity: 0.3;
    color: var(--color-matrix-dark);
}

.day-tile.door-locked .day-number {
    color: var(--color-text-dim);
    opacity: 0.6;
    text-shadow: none;
}

.day-tile.door-locked .door-handle {
    opacity: 0.3;
}

.day-tile.door-locked:hover .door-panel {
    transform: none;
}

.day-tile.door-locked:hover .door-frame {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.day-tile.door-locked .locked-icon {
    font-size: 1rem;
    letter-spacing: 0;
}

/* Booster-Badge auch gedimmt bei gesperrten Türchen */
.day-tile.door-locked.booster-badge .door-frame {
    opacity: 0.4;
}

.day-tile.door-locked .booster-star {
    opacity: 0.3;
    animation: none;
}

/* === COUNTDOWN ANZEIGE === */
#countdown-display {
    text-align: center;
    margin-bottom: 1.5rem;
    display: none;
}

.countdown-text {
    display: inline-block;
    background: linear-gradient(135deg, 
        rgba(217, 174, 95, 0.2) 0%, 
        rgba(217, 174, 95, 0.1) 100%
    );
    border: 1px solid rgba(217, 174, 95, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    color: var(--color-gold);
    animation: pulse-countdown 2s ease-in-out infinite;
}

@keyframes pulse-countdown {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(217, 174, 95, 0.2);
    }
    50% { 
        box-shadow: 0 0 20px rgba(217, 174, 95, 0.4);
    }
}

.day-tile:hover .door-frame {
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(217, 174, 95, 0.3);
}

.day-tile:hover .day-number {
    text-shadow: 0 0 25px rgba(217, 174, 95, 0.8);
}

/* Booster-Woche (Tag 25-31) - Stern */
.booster-badge .door-frame {
    background: linear-gradient(145deg, 
        var(--color-gold-glow) 0%, 
        var(--color-gold) 50%, 
        var(--color-gold-dark) 100%
    );
}

.booster-badge .door-panel {
    border-color: rgba(217, 174, 95, 0.4);
}

.booster-star {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 1.5rem;
    animation: twinkle 2s infinite alternate;
    z-index: 10;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.8));
}

@keyframes twinkle {
    0% { 
        opacity: 0.7; 
        transform: scale(0.9) rotate(-5deg); 
    }
    100% { 
        opacity: 1; 
        transform: scale(1.1) rotate(5deg); 
    }
}

/* ================================== */
/* INTERAKTIVE SECTION                */
/* ================================== */
#interactive {
    background: linear-gradient(180deg, 
        rgba(13, 34, 64, 0.5) 0%, 
        rgba(6, 18, 32, 0.5) 100%
    );
    border-top: 1px solid rgba(0, 255, 65, 0.1);
    border-bottom: 1px solid rgba(0, 255, 65, 0.1);
}

#interactive p {
    color: var(--color-text-dim);
    font-size: 1.05rem;
}

/* ================================== */
/* BUCHTEASER                         */
/* ================================== */
#bookteaser {
    background: radial-gradient(ellipse at center, 
        rgba(217, 174, 95, 0.08) 0%, 
        transparent 70%
    );
}

#bookteaser h2 {
    color: var(--color-gold);
}

#bookteaser p {
    color: var(--color-text-dim);
    margin-bottom: 1.5rem;
}

/* ================================== */
/* FAQ SECTION                        */
/* ================================== */
.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 255, 65, 0.1);
}

.faq-item h3 {
    color: var(--color-matrix-mid);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--color-text-dim);
}

/* ================================== */
/* KONTAKTFORMULAR - SCHÖNES DESIGN   */
/* ================================== */
.contact-section {
    max-width: 700px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-intro p {
    color: var(--color-text-dim);
    font-size: 1.1rem;
}

/* Direkte E-Mail Box */
.direct-email {
    background: linear-gradient(145deg, 
        rgba(13, 34, 64, 0.9) 0%, 
        rgba(10, 26, 46, 0.95) 100%
    );
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.direct-email h3 {
    color: var(--color-matrix-mid);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.direct-email a {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-gold);
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(217, 174, 95, 0.3);
    border-radius: 4px;
    transition: all 0.3s;
}

.direct-email a:hover {
    background: rgba(217, 174, 95, 0.1);
    box-shadow: 0 0 20px rgba(217, 174, 95, 0.3);
}

/* Trennlinie */
.contact-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    color: var(--color-text-dim);
}

.contact-divider::before,
.contact-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 255, 65, 0.3), 
        transparent
    );
}

.contact-divider span {
    padding: 0 1rem;
    font-size: 0.9rem;
}

/* Formular Container */
.contact-form-container {
    background: linear-gradient(145deg, 
        rgba(13, 34, 64, 0.8) 0%, 
        rgba(10, 26, 46, 0.9) 100%
    );
    border: 1px solid rgba(0, 255, 65, 0.15);
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--color-matrix-dark) 0%, 
        var(--color-matrix-bright) 50%, 
        var(--color-matrix-dark) 100%
    );
}

/* Formular-Elemente */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem 1.2rem;
    border-radius: 6px;
    border: 2px solid rgba(0, 255, 65, 0.2);
    background-color: rgba(6, 18, 32, 0.8);
    color: var(--color-text-light);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-matrix-bright);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
    background-color: rgba(10, 26, 46, 0.9);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-dim);
    opacity: 0.6;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Submit Button im Formular */
.contact-form .btn {
    margin-top: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hinweis-Text */
.form-hint {
    text-align: center;
    color: var(--color-text-dim);
    font-size: 0.85rem;
    margin-top: 1rem;
    opacity: 0.8;
}

.form-hint a {
    color: var(--color-matrix-mid);
}

/* ================================== */
/* FOOTER                             */
/* ================================== */
footer {
    background: linear-gradient(180deg, 
        var(--color-bg-deep) 0%, 
        #040d18 100%
    );
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(0, 255, 65, 0.1);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    color: var(--color-text-dim);
    font-size: 0.9rem;
}

footer nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

footer nav a {
    color: var(--color-text-dim);
    font-size: 0.9rem;
}

footer nav a:hover {
    color: var(--color-matrix-bright);
}

/* ================================== */
/* RESPONSIVE                         */
/* ================================== */
@media (max-width: 1024px) {
    .calendar-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }
}

@media (max-width: 768px) {
    #nav-toggle { 
        display: block; 
    }

    #nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, 
            rgba(10, 26, 46, 0.98) 0%, 
            rgba(6, 18, 32, 0.98) 100%
        );
        flex-direction: column;
        padding: 1.5rem;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
        border-top: 1px solid rgba(0, 255, 65, 0.2);
    }

    #nav-menu.is-active { 
        display: flex; 
    }

    #nav-toggle[aria-expanded="true"] .hamburger {
        background-color: transparent;
    }

    #nav-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg) translate(5px, 6px);
    }

    #nav-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .calendar-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .day-number {
        font-size: 1.2rem;
    }

    .door-handle {
        width: 4px;
        height: 10px;
        right: 5px;
    }

    .behind-icon {
        font-size: 1.5rem;
    }

    .behind-title {
        font-size: 0.55rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    footer nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .calendar-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .door-frame {
        padding: 3px;
    }

    .door-panel::before,
    .door-panel::after {
        display: none;
    }

    .day-label {
        font-size: 0.6rem;
    }

    .door-icon {
        display: none;
    }

    .behind-icon {
        font-size: 1.3rem;
    }

    .behind-title {
        font-size: 0.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn { 
        display: block; 
        width: 100%; 
    }

    .booster-star {
        font-size: 1rem;
        top: -5px;
        right: -5px;
    }
}

/* ================================== */
/* REDUCED MOTION                     */
/* ================================== */
@media (prefers-reduced-motion: reduce) {
    html { 
        scroll-behavior: auto; 
    }
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    #animation-container { 
        display: none; 
    }
    
    .booster-star { 
        animation: none; 
    }
    
    .day-tile:hover .door-panel {
        transform: none;
    }
}

/* === DAY VIEWER (iframe für Tag-Seiten) === */
.day-viewer {
    position: fixed;
    top: 70px; /* Unter dem Header */
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg-deep);
    z-index: 900; /* Unter dem Header (1000) */
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.day-viewer.active {
    opacity: 1;
    visibility: visible;
}

.close-viewer-btn {
    background: var(--color-matrix-mid);
    color: var(--color-bg-deep);
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.close-viewer-btn:hover {
    background: var(--color-matrix-bright);
}

.day-iframe {
    flex: 1;
    width: 100%;
    border: none;
}

/* Mobile Anpassung für Viewer */
@media (max-width: 768px) {
    .day-viewer {
        top: 60px; /* Kleinerer Header auf Mobile */
    }
    
    .close-viewer-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ================================== */
/* DARK MODE OVERRIDE                 */
/* Verhindert Browser-Dark-Mode       */
/* ================================== */
@media (prefers-color-scheme: dark) {
    .hero-section {
        filter: none !important;
        -webkit-filter: none !important;
    }
    
    .hero-section img,
    .hero-section::before,
    .hero-section::after {
        filter: none !important;
    }
}

/* Force light mode for all elements */
img, picture, video, canvas, svg {
    filter: none !important;
    -webkit-filter: none !important;
}
