:root {
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --text-light: #f8fafc;
    --text-grey: #94a3b8;
    --accent: #ca8a04;
    --accent-hover: #eab308;
    --price-green: #10b981; 
    --card-bg: #1e293b;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Leistenhöhe auf schlanke 80px */
    --nav-height: 80px; 
}

/* --- HONEYPOT FALLE (NEU) --- */
/* Dieses Feld wird nur für Screenreader und Bots sichtbar sein, aber optisch versteckt */
/* Wir nutzen kein display:none, da manche Bots das erkennen */
.honey-trap {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden; 
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
hr { border: 0; border-top: 1px solid rgba(255,255,255,0.1); margin: 2rem 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* --- Navbar --- */
.navbar {
    height: var(--nav-height);
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO IN DER NAVBAR (Schriftzug) */
.logo {
    display: flex;
    align-items: center;
    height: 100%;
    z-index: 100;
}

.logo img {
    height: 45px; 
    width: auto;
    transition: all 0.3s ease;
}

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 0.95rem; color: var(--text-grey); cursor: pointer; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.btn-nav {
    border: 1px solid var(--text-grey);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}
.btn-nav:hover, .btn-nav.active {
    border-color: var(--accent);
    color: var(--accent) !important;
}

/* --- HERO BILD STYLING (Großes Wappen) --- */
.hero-image-container {
    margin-top: 4rem;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.hero-shield {
    width: 350px; 
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6));
    transition: transform 0.5s ease;
}

.hero-shield:hover {
    transform: scale(1.02);
}

/* --- DESIGN ELEMENTE --- */
.overline { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; margin-bottom: 1rem; }
h1 { font-family: var(--font-heading); font-size: 3.5rem; line-height: 1.2; margin-bottom: 1.5rem; }
.text-highlight { color: transparent; -webkit-text-stroke: 1px var(--text-light); position: relative; }
.text-highlight::after { content: ''; position: absolute; bottom: 5px; left: 0; width: 100%; height: 8px; background: var(--accent); opacity: 0.4; z-index: -1; }
.subtitle { font-size: 1.2rem; color: var(--text-grey); margin-bottom: 2.5rem; max-width: 600px; }

.btn { display: inline-block; padding: 1rem 2rem; border-radius: 4px; font-weight: 600; margin-right: 1rem; cursor: pointer;}
.btn-primary { background: var(--accent); color: var(--bg-darker); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { border: 1px solid var(--text-light); color: var(--text-light); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* --- SECTIONS --- */
.section-dark { background: var(--bg-darker); }
.section-light { background: var(--bg-dark); }
.section-primary { background: linear-gradient(to right, #1e293b, #0f172a); border-top: 1px solid rgba(255,255,255,0.1); }

/* Impressum & Datenschutz Styling */
.section-darker { 
    background: var(--card-bg); 
    border-top: 1px solid rgba(255,255,255,0.1); 
    padding-top: calc(var(--nav-height) + 2rem) !important; 
    min-height: 100vh;
}
.section-darker h2 { color: var(--accent); }
.section-darker p, .section-darker li { max-width: 800px; margin-bottom: 1rem; color: #cbd5e1; }
.datenschutzerklaerung-inhalt h3 { margin-top: 2rem; margin-bottom: 1rem; font-size: 1.3rem; color: var(--text-light); }
.datenschutzerklaerung-inhalt h4 { margin-top: 1.5rem; margin-bottom: 0.5rem; font-size: 1.1rem; color: var(--text-grey); }

.hero-content { max-width: 800px; }

.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
h2 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 2rem; color: var(--text-light); }
.feature-list li { display: flex; gap: 1.5rem; margin-bottom: 2rem; }
.icon { font-size: 1.5rem; background: rgba(255,255,255,0.05); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--accent); }

.abstract-box { background: #000; border: 1px solid #334155; padding: 2rem; font-family: monospace; color: #00ff00; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.code-line { margin-bottom: 0.5rem; opacity: 0.7; }
.success { color: var(--accent); opacity: 1; font-weight: bold; }

/* --- LEISTUNGEN KARTEN GRID --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }

.card { 
    background: var(--card-bg); 
    padding: 2.5rem; 
    border-radius: 8px; 
    border: 1px solid rgba(255,255,255,0.05); 
    transition: transform 0.3s; 
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-5px); border-color: var(--accent); }
.card h3 { margin-bottom: 1rem; color: var(--accent); }
.card p { margin-bottom: 1.5rem; }

/* --- PREIS STYLING (Grün) --- */
.price-info {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.price-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--price-green);
    line-height: 1.2;
}

.price-note {
    display: block;
    font-size: 0.8rem;
    color: var(--text-grey);
    margin-top: 0.3rem;
}

.section-footer-button {
    text-align: center;
    margin-top: 4rem;
}

/* --- ABLAUF STEPS --- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.number { font-size: 3rem; font-family: var(--font-heading); color: rgba(255,255,255,0.1); font-weight: 700; display: block; margin-bottom: 0.5rem; }

/* --- KONTAKT FORMULAR & LAYOUT --- */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-side h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.contact-details-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cd-item {
    display: flex;
    flex-direction: column;
}

.cd-label {
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.cd-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
}

.cd-link {
    color: var(--text-grey);
    text-decoration: underline;
    font-size: 0.95rem;
}
.cd-link:hover { color: var(--accent); }

/* Formular Design */
.forensic-form {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-grey);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 0.8rem;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(15, 23, 42, 0.9);
}

.form-group select {
    cursor: pointer;
}

.btn-full {
    width: 100%;
    border: none;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* --- FOOTER --- */
footer { padding: 2rem 0; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-grey); font-size: 0.9rem; margin-top: auto; }
.footer-content { display: flex; justify-content: space-between; }
.footer-links a { margin-left: 2rem; }

/* =========================================================
   TAB LOGIK (MUSS GANZ UNTEN STEHEN)
   ========================================================= */

.page-section {
    display: none !important; 
    min-height: calc(100vh - var(--nav-height));
    padding-top: calc(var(--nav-height) + 4rem); 
    padding-bottom: 4rem;
    animation: fadeIn 0.4s ease-out;
}

.active-section {
    display: block !important;
}

#home.active-section {
    display: flex !important;
    flex-direction: column; 
    justify-content: center;
    align-items: flex-start;
    padding-top: 0; 
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- MOBILE ANPASSUNGEN --- */
@media (max-width: 768px) {
    /* Logo kleiner auf Handy */
    .logo img {
        height: 35px; 
    }
    
    /* Schild auf Handy anpassen */
    .hero-shield {
        width: 100%; 
        max-width: 250px; 
    }
    
    h1 { font-size: 2.5rem; }
    .split-layout { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    
    /* Formular responsive */
    .contact-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .forensic-form {
        padding: 1.5rem;
    }
    
    .nav-links { display: none; } 
}