/* =========================================
   STYLE.CSS - APEX EDITION II
   Modern Typography & Diagonal Creep Background
========================================= */

/* Moderne Fonts: Montserrat (Headings) & Sora (Body) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;800&family=Sora:wght@300;400;600&display=swap');

:root {
    /* === CORPORATE BASE === */
    --corp-bg: #06090e;
    --corp-surface: #0d131f;
    --corp-text: #f8fafc;
    --corp-muted: #64748b;
    --corp-border: #1e293b;

    /* =========================================
       CYBERPUNK NEON
    ========================================= */
    --cyber-cyan:        #00e5ff;
    --cyber-acid-green:  #39ff14;
    --cyber-plasma:      #ff00aa;
    --cyber-volt:        #e8ff00;

    /* =========================================
       ÄGYPTISCHE ROYALTY (Beibehalten für Akzente)
    ========================================= */
    --egypt-gold:        #d4af37;
    --egypt-gold-light:  #f9e596;
    --egypt-lapis:       #1a3c63;
    --egypt-nile:        #00695c;
    --egypt-carnelian:   #c41e3a;
    --egypt-amethyst:    #4b0082;

    /* =========================================
       LUXURY DESIGNER
    ========================================= */
    --lux-hermes:        #e8520a;
    --lux-bottega:       #4a5c3a;
    --lux-vuitton:       #b8860b;
    --lux-chanel:        #f0ece4;

    /* =========================================
       CRIMSON & PRISMA
    ========================================= */
    --prism-crimson:     #8b0000;
    --prism-ruby:        #dc143c;
    --prism-violet:      #6a0dad;
    --prism-teal:        #007070;

    /* =========================================
       BORDER RADIUS TOKENS
    ========================================= */
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  18px;
    --radius-xl:  24px;
}

/* -----------------------------------------
   BASIS & APPLE-STRUKTUR
----------------------------------------- */
body {
    margin: 0;
    padding: 0;
    font-family: 'Sora', sans-serif;
    background-color: var(--corp-bg);
    color: var(--corp-text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* -----------------------------------------
   SCHLEICHEFFEKT DIAGONAL-HINTERGRUND
----------------------------------------- */
.bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        135deg,
        rgba(0, 229, 255, 0.08) 0%,    /* Cyberpunk Cyan */
        rgba(57, 255, 20, 0.06) 12%,   /* Cyberpunk Acid Green */
        rgba(106, 13, 173, 0.09) 25%,  /* Prisma Violett */
        rgba(0, 112, 112, 0.08) 37%,   /* Prisma Teal */
        rgba(139, 0, 0, 0.09) 50%,     /* Crimson Tiefrot */
        rgba(220, 20, 60, 0.07) 62%,   /* Crimson Rubin */
        rgba(184, 134, 11, 0.08) 75%,  /* Luxury Vuitton Gold */
        rgba(240, 236, 228, 0.05) 87%, /* Luxury Chanel Elfenbein */
        rgba(0, 229, 255, 0.08) 100%   /* Loop zurück zu Cyberpunk */
    );
    background-size: 800% 800%;
    animation: diagonalCreep 30s ease-in-out infinite;
}

/* Apple Precision Raster über dem Gradienten */
.bg-canvas::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
}

@keyframes diagonalCreep {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

@keyframes royal-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shimmer-sweep {
    0%   { left: -100%; opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* -----------------------------------------
   TYPOGRAFIE — Modern Luxury
----------------------------------------- */
h1, h2, h3, .brand-title {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    background: linear-gradient(
        120deg,
        var(--egypt-gold-light),
        var(--egypt-gold),
        var(--lux-chanel),
        var(--lux-vuitton),
        var(--egypt-gold)
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0;
    animation: royal-shift 12s ease infinite;
    text-shadow: none;
    filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.25));
}

/* -----------------------------------------
   PANELS & KARTEN
----------------------------------------- */
.glass-panel {
    background: var(--corp-surface);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.85),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid var(--corp-border);
    position: relative;
    transition: border-color 0.8s ease, box-shadow 0.8s ease, background 0.8s ease;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(
        90deg,
        var(--egypt-lapis),
        var(--egypt-amethyst),
        var(--prism-violet),
        var(--egypt-gold),
        var(--lux-hermes),
        var(--prism-ruby),
        var(--egypt-gold),
        var(--egypt-amethyst),
        var(--egypt-lapis)
    );
    background-size: 300% 100%;
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
    animation: royal-shift 10s ease infinite;
}

.glass-panel:hover {
    border-color: rgba(0, 229, 255, 0.35);
    box-shadow: 
        0 14px 50px rgba(0, 0, 0, 0.92),
        0 0 28px rgba(0, 229, 255, 0.08),
        0 0 60px rgba(75, 0, 130, 0.06);
}

/* -----------------------------------------
   FORMULARE & EINGABEN
----------------------------------------- */
label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--egypt-gold);
    margin-bottom: 8px;
    font-weight: 600;
    transition: color 0.8s ease;
}

input[type="text"], 
input[type="password"], 
input[type="number"],
input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--corp-border);
    color: var(--corp-text);
    font-size: 1rem;
    font-family: 'Sora', sans-serif;
    border-radius: var(--radius-sm);
    box-sizing: border-box;
    transition: border-color 0.8s ease, box-shadow 0.8s ease, background 0.8s ease;
}

input:focus {
    outline: none;
    border-color: var(--cyber-cyan);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.22), 0 0 30px rgba(0, 229, 255, 0.08);
    background: rgba(0, 229, 255, 0.025);
}

/* -----------------------------------------
   BUTTONS
----------------------------------------- */
button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(160deg, #1c1209, #111, #0a0a0a);
    border: 1px solid var(--egypt-gold);
    color: var(--egypt-gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    transition: all 0.8s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6), inset 0 1px 0 rgba(212, 175, 55, 0.08);
}

button::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.15), rgba(249, 229, 150, 0.1), transparent);
}

button:hover {
    color: var(--cyber-cyan);
    border-color: var(--cyber-cyan);
    background: linear-gradient(160deg, #0a1a1f, #0d131f, #06090e);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.25), 0 0 50px rgba(0, 229, 255, 0.08);
    text-shadow: 0 0 10px var(--cyber-cyan);
}

button:hover::before {
    animation: shimmer-sweep 1.6s ease forwards;
}

.btn-danger {
    border-color: var(--cyber-plasma);
    color: var(--cyber-plasma);
}
.btn-danger:hover {
    color: #fff;
    background: linear-gradient(160deg, #1a0010, #0d0008);
    border-color: var(--cyber-plasma);
    box-shadow: 0 0 25px rgba(255, 0, 170, 0.35);
    text-shadow: 0 0 10px var(--cyber-plasma);
}

/* -----------------------------------------
   FEHLER & SYSTEMMELDUNGEN
----------------------------------------- */
.error-box {
    background: rgba(255, 0, 170, 0.05);
    border-left: 3px solid var(--cyber-plasma);
    color: var(--corp-text);
    padding: 16px;
    font-size: 0.9em;
    font-family: monospace;
    box-shadow: -2px 0 15px rgba(255, 0, 170, 0.08);
}
