/**
 * FUTURE-FORENSICS.DE - MAIN CSS LAYOUT SYSTEM
 * ==============================================
 * 
 * Dieses CSS-System ist optimiert für zukunftsorientierte forensische Websites
 * mit modernem, technischem Design. Alle Klassen und Variablen sind
 * so dokumentiert, dass LLMs einfach weitere Unterseiten erstellen können.
 * 
 * Diese CSS-Datei ist verfügbar unter: https://future-forensics.de/main.css
 * 
 * DESIGN-PHILOSOPHIE:
 * - Zukunftsorientierte Farbpalette mit Grün-/Teal-/Cyan-Akzenten
 * - Moderne, saubere Linienführung für innovative Forensik-Technologien
 * - Wissenschaftlich-technischer Look für Next-Gen-Forensik
 * - Responsive Design für alle Endgeräte
 * 
 * LAYOUT-PRINZIPIEN:
 * - Mobile-First Design (Entwicklung beginnt bei kleinen Bildschirmen)
 * - Konsistente Seitenränder: 2rem Desktop, 1rem Mobile
 * - Maximale Inhaltsbreite: 1200px (automatisch zentriert)
 * - Grid-basierte Layouts mit automatischer Responsivität
 * - Einheitliche Abstände: 1rem, 2rem, 3rem, 4rem, 5rem
 * 
 * VERWENDUNG FÜR NEUE SEITEN:
 * 1. HTML-Struktur: <link rel="stylesheet" href="https://future-forensics.de/main.css">
 * 2. Basis-Container: <main class="main-content"> für Unterseiten verwenden
 * 3. Grid-System (.grid-2, .grid-3, .grid-cards) für responsive Layouts
 * 4. Card-System (.card, .card-future, .card-innovation, .card-tech) für Inhaltsblöcke
 * 5. Utility-Klassen für schnelle Anpassungen (.color-future, .margin-top-2, etc.)
 * 
 * FARBSCHEMA - FUTURE TECH:
 * - Hauptfarben: Dunkles Grau/Schwarz als Basis für moderne Ästhetik
 * - Primärakzent: Future-Grün (#00ff88) - Repräsentiert Innovation und Fortschritt
 * - Sekundärakzent: Tech-Cyan (#00e1ff) - Symbolisiert digitale Zukunft
 * - Tertiärakzent: Innovation-Lila (#8b5cf6) - Steht für fortschrittliche Technologie
 * - Alle Farben als CSS Custom Properties für einfache Anpassung
 * 
 * ANPASSUNGEN FÜR FUTURE-FORENSICS.DE:
 * - Modernere Icons und Symbole
 * - Zukunftsorientierte Animationen
 * - Tech-orientierte Farbgebung
 * - Innovative Gradient-Effekte
 */

/* =================
   CSS CUSTOM PROPERTIES (CSS-Variablen)
   Diese Farben definieren das Future-Forensics Design-System
   ================= */
:root {
    /* Haupt-Hintergrundfarben - Modern Dark Theme */
    --primary-bg: #0a0a0f;        /* Haupthintergrund (sehr dunkel, leicht bläulich) */
    --secondary-bg: #1a1a28;      /* Sekundärer Hintergrund (dunkles Grau-Blau) */
    --tertiary-bg: #2a2a3e;       /* Tertiärer Hintergrund (für Card-Hintergründe) */
    
    /* Future-Tech Akzentfarben */
    --accent-future: #00ff88;     /* Primäre Future-Farbe (helles Grün) */
    --accent-tech: #00e1ff;       /* Tech-Cyan für digitale Elemente */
    --accent-innovation: #8b5cf6; /* Innovation-Lila für fortschrittliche Features */
    --accent-white: #f0f9ff;      /* Helle Akzentfarbe (leicht bläulich-weiß) */
    
    /* Textfarben - Zukunftsorientiert */
    --text-primary: #ffffff;      /* Haupttext (reines Weiß) */
    --text-secondary: #cbd5e1;    /* Sekundärtext (helles Blau-Grau) */
    --text-muted: #94a3b8;        /* Gedämpfter Text (mittleres Grau) */
    
    /* Spezielle Future-Forensik Farben */
    --success-green: #10b981;     /* Erfolg/Positiv (modernes Grün) */
    --warning-amber: #f59e0b;     /* Warnung (modernes Amber) */
    --future-purple: #8b5cf6;     /* Future-Tech-Farbe */
    --innovation-teal: #14b8a6;   /* Innovation-Farbe */
    --quantum-blue: #3b82f6;      /* Quantum-Computing-Blau */
    
    /* Layout-Konstanten */
    --max-width: 1200px;          /* Maximale Inhaltsbreite */
    --border-radius: 16px;        /* Standard-Rundung (etwas größer für modernen Look) */
    --border-radius-large: 24px;  /* Große Rundung für Hauptelemente */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Moderne Transition-Kurve */
    
    /* Future-Tech Effekte */
    --glow-future: 0 0 20px rgba(0, 255, 136, 0.3);
    --glow-tech: 0 0 20px rgba(0, 225, 255, 0.3);
    --glow-innovation: 0 0 20px rgba(139, 92, 246, 0.3);
}

/* =================
   RESET & BASE STYLES
   ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-feature-settings: 'liga' 1, 'kern' 1;
    text-rendering: optimizeLegibility;
}

/* =================
   BACKGROUND EFFECTS - FUTURE TECH
   Diese Klassen erzeugen den futuristischen/wissenschaftlichen Look
   ================= */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridShiftFuture 80s linear infinite;
}

@keyframes gridShiftFuture {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, 30px) rotate(0.5deg); }
    100% { transform: translate(60px, 60px) rotate(0deg); }
}

.bg-future {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 136, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 40% 60%, rgba(0, 225, 255, 0.05) 0%, transparent 70%),
        radial-gradient(circle at 60% 20%, rgba(20, 184, 166, 0.04) 0%, transparent 80%);
    animation: futurePulse 25s ease-in-out infinite;
}

@keyframes futurePulse {
    0%, 100% { opacity: 0.8; }
    33% { opacity: 1; }
    66% { opacity: 0.6; }
}

/* =================
   NAVIGATION SYSTEM - FUTURE DESIGN
   Moderneres Navigation mit Glassmorphism und Future-Akzenten
   ================= */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 40, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 2px solid rgba(0, 255, 136, 0.2);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-future);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: var(--glow-future);
    z-index: 1001;
}

.logo::before {
    content: '🔮';
    font-size: 1.6rem;
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.6));
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent-future);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

/* Hidden checkbox for menu toggle */
#menu-checkbox {
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    font-weight: 500;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--accent-tech);
    text-shadow: var(--glow-tech);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-future), var(--accent-tech), var(--accent-innovation));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

/* =================
   LAYOUT CONTAINER SYSTEM
   Hauptlayout-Klassen für konsistente Seitenstruktur
   ================= */

/* Standard Section-Container */
section {
    padding: 5rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Hauptinhalt-Container für Unterseiten */
.main-content {
    padding: 8rem 2rem 5rem; /* Extra padding-top für fixed Navigation */
    max-width: var(--max-width);
    margin: 0 auto;
    min-height: 100vh;
}

/* Container für zentrierte Inhalte */
.content-container {
    background: rgba(42, 42, 62, 0.4);
    padding: 3rem;
    border-radius: var(--border-radius-large);
    border: 1px solid rgba(0, 255, 136, 0.15);
    margin: 3rem 0;
    backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* =================
   TYPOGRAPHY SYSTEM - FUTURE STYLE
   ================= */
.section-title {
    font-size: clamp(2.2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--accent-future), var(--accent-tech), var(--accent-innovation));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--accent-white), var(--accent-future), var(--accent-tech));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.7;
}

/* Text mit Future-Highlighting */
.future-highlight {
    animation: futureGlow 4s ease-in-out infinite;
    position: relative;
}

@keyframes futureGlow {
    0%, 100% { 
        text-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
        color: var(--accent-future);
    }
    50% { 
        text-shadow: 0 0 20px rgba(0, 225, 255, 0.6);
        color: var(--accent-tech);
    }
}

/* =================
   GRID SYSTEM - RESPONSIVE
   Responsive Grid-Layouts für verschiedene Anwendungen
   ================= */

/* Standard 2-Spalten Grid (wird 1-spaltig auf Mobile) */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

/* Standard 3-Spalten Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Flexible Grid für Cards */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

/* Future-Tech Grid für spezielle Layouts */
.grid-future {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

/* =================
   CARD SYSTEM - FUTURE DESIGN
   Wiederverwendbare Card-Komponenten mit modernem Look
   ================= */

/* Standard Card */
.card {
    background: rgba(42, 42, 62, 0.6);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 255, 136, 0.2);
    backdrop-filter: blur(12px) saturate(180%);
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-tech);
    box-shadow: var(--glow-tech), 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Card mit Icon */
.card-icon {
    text-align: center;
}

.card-icon .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.4));
}

.card-icon h3, .card-icon h4 {
    color: var(--accent-future);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

/* Spezielle Card-Varianten für Future-Forensics */
.card-future {
    background: rgba(0, 255, 136, 0.05);
    border-color: var(--accent-future);
}

.card-future:hover {
    box-shadow: var(--glow-future), 0 12px 40px rgba(0, 255, 136, 0.1);
}

.card-innovation {
    background: rgba(139, 92, 246, 0.05);
    border-color: var(--accent-innovation);
}

.card-innovation:hover {
    box-shadow: var(--glow-innovation), 0 12px 40px rgba(139, 92, 246, 0.1);
}

.card-tech {
    background: rgba(0, 225, 255, 0.05);
    border-color: var(--accent-tech);
}

.card-tech:hover {
    box-shadow: var(--glow-tech), 0 12px 40px rgba(0, 225, 255, 0.1);
}

.card-highlight {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--accent-future);
    box-shadow: var(--glow-future);
}

/* =================
   BUTTON SYSTEM - FUTURE DESIGN
   ================= */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-future), var(--accent-tech));
    color: var(--primary-bg);
    font-weight: 700;
}

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

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

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    box-shadow: var(--glow-future), 0 8px 25px rgba(0, 255, 136, 0.4);
}

.btn-secondary:hover {
    background: var(--accent-future);
    color: var(--primary-bg);
    box-shadow: var(--glow-future);
}

/* Call-to-Action Button (größer) */
.cta-button {
    padding: 1.2rem 2.5rem;
    font-size: 1rem;
    margin-top: 2rem;
    border-radius: var(--border-radius-large);
}

/* =================
   BADGE SYSTEM - FUTURE STYLE
   ================= */
.badge {
    display: inline-block;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--accent-future);
    color: var(--accent-future);
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-glow {
    animation: badgeGlowFuture 3s ease-in-out infinite;
}

@keyframes badgeGlowFuture {
    0%, 100% { 
        box-shadow: var(--glow-future);
        border-color: var(--accent-future);
    }
    50% { 
        box-shadow: var(--glow-tech);
        border-color: var(--accent-tech);
    }
}

/* Badge-Varianten */
.badge-tech {
    background: rgba(0, 225, 255, 0.1);
    border-color: var(--accent-tech);
    color: var(--accent-tech);
}

.badge-innovation {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--accent-innovation);
    color: var(--accent-innovation);
}

/* =================
   HERO SECTION - FUTURE DESIGN
   Spezielle Styles für Hero-Bereiche
   ================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 2rem; /* Mehr padding-top für fixed Navigation */
    position: relative;
}

.hero-content {
    max-width: 1000px;
    z-index: 1;
}

/* =================
   EXPERTISE/FEATURE SECTIONS
   ================= */
.expertise-item {
    margin-bottom: 2.5rem;
}

.expertise-item h3, .expertise-item h4 {
    color: var(--accent-future);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
}

/* Icons für verschiedene Future-Expertise-Bereiche */
.expertise-item:nth-child(1)::before { content: '🚀'; font-size: 1.3rem; }
.expertise-item:nth-child(2)::before { content: '🔬'; font-size: 1.3rem; }
.expertise-item:nth-child(3)::before { content: '🧠'; font-size: 1.3rem; }
.expertise-item:nth-child(4)::before { content: '⚡'; font-size: 1.3rem; }

/* =================
   STATISTICS/COUNTER SECTION
   ================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(42, 42, 62, 0.3);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 255, 136, 0.2);
    backdrop-filter: blur(8px);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent-innovation);
    display: block;
    text-shadow: var(--glow-innovation);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* =================
   QUOTE/TESTIMONIAL SECTIONS
   ================= */
.quote-section {
    text-align: center;
    background: rgba(20, 184, 166, 0.05);
    padding: 4rem;
    border-radius: var(--border-radius-large);
    margin: 3rem 0;
    border-left: 4px solid var(--innovation-teal);
    backdrop-filter: blur(8px);
}

.quote-text {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-style: italic;
    color: var(--accent-tech);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 300;
}

.quote-author {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

/* =================
   FOOTER SYSTEM - FUTURE DESIGN
   ================= */
footer {
    background: var(--secondary-bg);
    padding: 4rem 2rem 2rem;
    border-top: 2px solid rgba(0, 255, 136, 0.2);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-future);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-section p, 
.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-tech);
    text-shadow: var(--glow-tech);
}

.footer-credentials {
    background: rgba(0, 255, 136, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 255, 136, 0.2);
    backdrop-filter: blur(8px);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 255, 136, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom strong {
    color: var(--accent-future);
}

/* =================
   ANIMATION SYSTEM - FUTURE EFFECTS
   ================= */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide-in Animation */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Future Pulse Animation */
.future-pulse {
    animation: futurePulseElement 2s ease-in-out infinite;
}

@keyframes futurePulseElement {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* =================
   FORM ELEMENTS - FUTURE STYLE
   Für Kontaktformulare und andere Inputs
   ================= */
.form-group {
    margin-bottom: 1.8rem;
}

.form-label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(42, 42, 62, 0.6);
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-future);
    box-shadow: var(--glow-future);
    background: rgba(42, 42, 62, 0.8);
}

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

/* =================
   UTILITY CLASSES
   Hilfsklassen für schnelle Anpassungen
   ================= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.margin-top-1 { margin-top: 1rem; }
.margin-top-2 { margin-top: 2rem; }
.margin-top-3 { margin-top: 3rem; }
.margin-top-4 { margin-top: 4rem; }

.margin-bottom-1 { margin-bottom: 1rem; }
.margin-bottom-2 { margin-bottom: 2rem; }
.margin-bottom-3 { margin-bottom: 3rem; }
.margin-bottom-4 { margin-bottom: 4rem; }

.padding-1 { padding: 1rem; }
.padding-2 { padding: 2rem; }
.padding-3 { padding: 3rem; }
.padding-4 { padding: 4rem; }

/* Future-Forensics Farb-Utilities */
.color-future { color: var(--accent-future); }
.color-tech { color: var(--accent-tech); }
.color-innovation { color: var(--accent-innovation); }
.color-quantum { color: var(--quantum-blue); }
.color-muted { color: var(--text-muted); }

/* Background-Utilities */
.bg-future { background: rgba(0, 255, 136, 0.1); }
.bg-tech { background: rgba(0, 225, 255, 0.1); }
.bg-innovation { background: rgba(139, 92, 246, 0.1); }

/* =================
   RESPONSIVE DESIGN - MOBILE-FIRST
   Mobile-First Approach mit konsistenten Breakpoints
   ================= */

/* Tablet (768px und größer) */
@media (min-width: 768px) {
    .nav-container {
        padding: 1.2rem 3rem;
    }
    
    section {
        padding: 6rem 3rem;
    }
    
    .main-content {
        padding: 9rem 3rem 6rem;
    }
    
    .content-container {
        padding: 4rem;
    }
    
    .grid-2-tablet {
        grid-template-columns: 1fr 1fr;
    }
}

/* Desktop (1024px und größer) */
@media (min-width: 1024px) {
    .grid-2-desktop {
        grid-template-columns: 1fr 1fr;
    }
    
    .grid-3-desktop {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-4-desktop {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Large Desktop (1440px und größer) */
@media (min-width: 1440px) {
    .hero-content {
        max-width: 1200px;
    }
    
    section {
        padding: 7rem 4rem;
    }
}

/* Mobile (767px und kleiner) */
@media (max-width: 767px) {
    /* Mobile Navigation mit Burger Menu */
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(26, 26, 40, 0.98);
        backdrop-filter: blur(20px) saturate(180%);
        border-left: 2px solid rgba(0, 255, 136, 0.2);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right 0.3s ease-in-out;
        z-index: 999;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
    }
    
    /* Menu toggle animation */
    #menu-checkbox:checked ~ .nav-links {
        right: 0;
    }
    
    #menu-checkbox:checked ~ .menu-toggle span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
        background: var(--accent-tech);
    }
    
    #menu-checkbox:checked ~ .menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    
    #menu-checkbox:checked ~ .menu-toggle span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
        background: var(--accent-tech);
    }
    
    /* Mobile nav links styling */
    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        border-radius: var(--border-radius);
        transition: all 0.3s ease;
        text-align: center;
        width: 200px;
    }
    
    .nav-links a:hover {
        background: rgba(0, 255, 136, 0.1);
        border: 1px solid rgba(0, 255, 136, 0.3);
        transform: scale(1.05);
    }
    
    .nav-links a::after {
        display: none; /* Remove underline effect on mobile */
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    /* Improved mobile layout spacing */
    section {
        padding: 5rem 1rem; /* Increased top padding */
    }
    
    .main-content {
        padding: 8rem 1rem 4rem; /* Increased top padding */
    }
    
    .hero {
        padding: 8rem 1rem 2rem; /* Much more padding-top for mobile */
        min-height: calc(100vh - 2rem);
    }
    
    .content-container {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
    
    /* Grids werden einspaltiger */
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .grid-cards,
    .grid-future {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Kleinere Abstände */
    .quote-section {
        padding: 2rem 1.5rem;
    }
    
    /* Footer auf Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Mobile typography improvements */
    .page-title {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 2rem;
    }
    
    .subtitle {
        font-size: clamp(1rem, 4vw, 1.2rem);
        line-height: 1.6;
    }
}

/* Extra kleine Bildschirme (480px und kleiner) */
@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .nav-links {
        width: 100vw;
        right: -100vw;
    }
    
    #menu-checkbox:checked ~ .nav-links {
        right: 0;
    }
    
    /* Even more padding for very small screens */
    section {
        padding: 6rem 0.75rem;
    }
    
    .main-content {
        padding: 9rem 0.75rem 4rem;
    }
    
    .hero {
        padding: 9rem 0.75rem 2rem;
    }
    
    .content-container {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 1rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-credentials {
        padding: 1.5rem;
    }
    
    .quote-section {
        padding: 1.5rem;
    }
    
    /* Smaller typography for tiny screens */
    .page-title {
        font-size: clamp(1.5rem, 7vw, 2.5rem);
    }
    
    .section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }
    
    .subtitle {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    }
}

/* =================
   PRINT STYLES
   Für Druckversionen von Seiten
   ================= */
@media print {
    .bg-grid,
    .bg-future,
    nav,
    .cta-button,
    .btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section-title,
    .page-title {
        color: black;
        -webkit-text-fill-color: black;
    }
    
    .card {
        border: 1px solid #ccc;
        background: white;
    }
}

/* =================
   ACCESSIBILITY IMPROVEMENTS
   ================= */
@media (prefers-reduced-motion: reduce) {
    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .bg-grid,
    .bg-future {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --accent-future: #00ff00;
        --accent-tech: #00ffff;
        --accent-innovation: #ff00ff;
        --text-primary: #ffffff;
        --text-secondary: #cccccc;
    }
}

/* Fokus-Sichtbarkeit für Tastaturnavigation */
a:focus,
button:focus,
.btn:focus,
.form-input:focus,
.form-textarea:focus {
    outline: 3px solid var(--accent-future);
    outline-offset: 2px;
}

/* =================
   PERFORMANCE OPTIMIERUNGEN
   ================= */
.will-change-transform {
    will-change: transform;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Lazy Loading Unterstützung */
.lazy-load {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

/* =================
   DARK MODE VARIANTEN (falls benötigt)
   ================= */
@media (prefers-color-scheme: light) {
    /* Optionale Light-Mode Varianten für bessere Zugänglichkeit */
    .light-mode-only {
        display: block;
    }
    
    .dark-mode-only {
        display: none;
    }
}

/* =================
   CUSTOM SCROLLBAR (Webkit Browser)
   ================= */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-future);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-tech);
}

/* =================
   LOADING STATES
   Für bessere User Experience
   ================= */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg, rgba(42, 42, 62, 0.2) 25%, rgba(0, 255, 136, 0.1) 50%, rgba(42, 42, 62, 0.2) 75%);
    background-size: 200% 100%;
    animation: loading-skeleton 1.5s infinite;
}

@keyframes loading-skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}