:root {
    --primary: #000066; 
    --primary-hover: #000044;
    --bg-light: #f8f9fa;
    --text: #333333;
    --text-muted: #666666;
    --border: #eaeaea;
    --white: #ffffff;
}

/* --- GRUNDLAGEN --- */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; }

/* ANTI-FLACKER & ANTI-OVERFLOW FIX */
html, body { 
    color: var(--text); 
    background: var(--white); 
    line-height: 1.6; 
    overflow-x: hidden; /* Verhindert, dass die Seite nach rechts wackelt */
    width: 100%; 
	-webkit-user-select: none;
    user-select: none;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
a { text-decoration: none; color: var(--primary); }

/* --- BUTTONS --- */
.btn { display: inline-block; padding: 12px 28px; border-radius: 50px; font-weight: 600; text-decoration: none; cursor: pointer; transition: 0.3s; text-align: center; }
.btn-primary { background: var(--primary); color: var(--white) !important; border: 2px solid var(--primary); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-outline { background: transparent; color: var(--text) !important; border: 2px solid var(--border); }
.btn-outline:hover { background: var(--bg-light); border-color: var(--text); }

/* --- HEADER --- */
.main-header { box-shadow: 0 2px 10px rgba(0,0,0,0.05); background: var(--white); position: sticky; top: 0; z-index: 1000; transition: all 0.3s ease; }
.header-top { padding: 20px 0; border-bottom: 1px solid var(--border); transition: all 0.3s ease; }
.header-top-flex { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 80px; display: block; transition: all 0.3s ease; }

.header-badges { display: flex; gap: 20px; transition: max-height 0.3s ease, opacity 0.3s ease; max-height: 200px; opacity: 1; overflow: hidden; }
.badge { display: flex; align-items: center; gap: 10px; background: var(--white); padding: 10px 20px; border-radius: 8px; border: 1px solid var(--border); }
.badge .icon { font-size: 24px; display: flex; }
.badge-text small { color: var(--text-muted); font-size: 12px; }
.badge-text strong { color: var(--text); font-size: 14px; display: block; }

.header-bottom { padding: 15px 0; transition: all 0.3s ease; }
.header-bottom-flex { display: flex; justify-content: space-between; align-items: center; }
.main-nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; color: var(--text); font-weight: 600; text-transform: uppercase; font-size: 14px; transition: 0.2s; }
.main-nav a:hover { color: var(--primary); }
.header-actions { display: flex; gap: 15px; }

/* Menü-Button für Handys (Standardmäßig versteckt) */
.mobile-menu-btn { display: none; background: var(--primary); color: var(--white); border: none; padding: 12px 20px; border-radius: 8px; font-size: 16px; font-weight: bold; cursor: pointer; width: 100%; text-align: center; }

/* --- STICKY HEADER SCROLL EFFEKT --- */
/* Das verhindert das Flackern, weil wir max-height nutzen statt display:none */
.main-header.is-scrolled .header-badges { max-height: 0; opacity: 0; margin: 0; padding: 0; border: none; }
.main-header.is-scrolled .header-top { padding: 8px 0; border-bottom: none; }
.main-header.is-scrolled .logo img { height: 45px; }
.main-header.is-scrolled .header-bottom { padding: 8px 0; }

/* --- HERO MODUL --- */
.hero-module { padding: 120px 0; background-size: cover; background-position: center; color: var(--white); }
.hero-module h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; max-width: 800px; font-weight: 800; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero-module p { font-size: 1.2rem; max-width: 600px; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }

/* --- MODULE & CONTENT --- */
.content-section { padding: 60px 0; }
.bg-light { background: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 40px; font-size: 2.2rem; color: var(--primary); font-weight: 800; }

/* Dust Control Card */
.feature-card { display: flex; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.08); align-items: center; }
.feature-text { padding: 50px; flex: 1; }
.feature-text h2 { color: var(--primary); margin-bottom: 20px; font-size: 2rem; font-weight: 800; }
.feature-text ul { list-style: none; margin: 20px 0 30px 0; }
.feature-text ul li { margin-bottom: 10px; font-weight: 600; display: flex; gap: 10px; }
.feature-image { width: 45%; object-fit: cover; min-height: 400px; }

/* --- FOOTER --- */
.main-footer { background: var(--bg-light); padding: 50px 0 20px 0; margin-top: 60px; border-top: 1px solid var(--border); }
.footer-grid { display: flex; justify-content: space-between; }
.footer-links a { color: var(--text); text-decoration: none; display: block; margin-bottom: 8px; }
.footer-links a:hover { color: var(--primary); text-decoration: underline; }
.footer-bottom { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-muted); }

/* Globale SVG Anpassung */
svg { display: inline-block; width: 28px; line-height: 28px; vertical-align: middle; }



/* =========================================
   📱 MOBILE & TABLET (PERFEKT OPTIMIERT)
   ========================================= */
@media (max-width: 900px) {
    /* Header platzsparend machen */
    .header-top { padding: 15px 0; }
    .header-top-flex { flex-direction: column; gap: 15px; }
    .logo img { height: 55px; margin: 0 auto; }
    .main-header.is-scrolled .logo img { height: 40px; }
    
    /* Badges nebeneinander (50/50 Aufteilung) */
    .header-badges { flex-direction: row; width: 100%; gap: 10px; }
    .badge { flex: 1; flex-direction: column; text-align: center; padding: 10px 5px; gap: 5px; justify-content: center; }
    .badge .icon { margin: 0 auto; }
    .badge-text small { font-size: 10px; }
    .badge-text strong { font-size: 12px; }

    /* Buttons und Menü sauber stapeln */
    .header-bottom-flex { flex-direction: column; gap: 12px; }
    .mobile-menu-btn { display: block; }
    
    /* Aktions-Buttons nebeneinander in gleicher Breite */
    .header-actions { display: flex; width: 100%; gap: 10px; flex-direction: row; }
    .header-actions .btn { flex: 1; padding: 12px 5px; font-size: 13px; text-align: center; white-space: nowrap; }

    /* Navigation Dropdown */
    .main-nav { display: none; width: 100%; }
    .main-nav.active { display: block; margin-bottom: 10px; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav ul li a { display: block; padding: 15px 10px; border-bottom: 1px solid var(--border); text-align: center; }

    /* HIER IST DER FIX FÜR DIE RIESIGE SCHRIFT! */
    .hero-module { padding: 70px 0; text-align: center; }
    .hero-module h1 { 
        font-size: 1.6rem; /* Deutlich kleiner */
        line-height: 1.3;
        word-wrap: break-word; /* Zwingt zu lange Wörter in den Umbruch */
        -webkit-hyphens: auto;
        hyphens: auto; /* Erzeugt Trennstriche, wenn nötig */
    }
    .hero-module p { font-size: 1.05rem; margin: 0 auto; }

    /* Info-Karten brechen um */
    .feature-card { flex-direction: column; }
    .feature-image { width: 100%; height: 250px; min-height: auto; }
    
    /* Footer bricht um */
    .footer-grid { flex-direction: column; gap: 30px; text-align: center!important; }
	.footer-contact p { justify-content: center; }
}