:root {
    --primary: #2563eb;
    --dark: #0f172a;
    --accent: #10b981;
    --text: #475569;
    --bg-light: #f8fafc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; 
    margin: 0; color: var(--text); line-height: 1.6; overflow-x: hidden; 
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- NAVIGATION --- */
.navbar { background: #fff; padding: 12px 0; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 1000; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }

/* Modernes SVG Logo Branding */
.brand-logo { display: flex; align-items: center; text-decoration: none; }
.logo-icon-svg {
    width: 2.6rem;
    height: 2.6rem;
    color: var(--primary);
    margin-right: 12px;
    display: inline-block;
    vertical-align: middle;
}
.logo-text { font-weight: 800; line-height: 1.1; display: flex; flex-direction: column; font-size: 1.3rem; color: var(--dark); }
.logo-text span { color: var(--primary); font-weight: 400; }
.logo-text .subtext { font-size: 0.65rem; color: #94a3b8; font-weight: 600; margin-top: 3px; text-transform: none; }

.nav-links { display: flex; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links li { margin-left: 25px; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 600; font-size: 0.95rem; }
.btn-nav { background: var(--primary); color: #fff !important; padding: 10px 22px; border-radius: 6px; transition: 0.3s; }
.btn-nav:hover { background: var(--dark); }

/* --- MOBILE MENU TOGGLE (FIXED) --- */
.menu-toggle { 
    display: none; 
    cursor: pointer; 
    padding: 10px;
    z-index: 1100;
}
.menu-toggle .bar { 
    display: block; 
    width: 28px; 
    height: 3px; 
    margin: 6px 0; 
    background: var(--dark); /* Hier war der Fehler: Jetzt fest auf Dark gesetzt */
    transition: 0.4s ease; 
    border-radius: 2px;
}

/* Animation zum "X" wenn aktiv */
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* --- HERO SECTION --- */
.hero { padding: 100px 0; background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); text-align: center; }
.badge { background: #dbeafe; color: var(--primary); padding: 6px 18px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); color: var(--dark); margin: 25px 0; letter-spacing: -1px; }
.hero p { max-width: 700px; margin: 0 auto 50px; font-size: 1.2rem; }

.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 25px; }
.btn-main { background: var(--dark); color: #fff; text-decoration: none; padding: 18px 40px; border-radius: 8px; font-weight: bold; transition: 0.3s; display: inline-block; font-size: 1.1rem; border: none; cursor: pointer; }
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); }

.hero-trust { display: flex; gap: 20px; font-size: 0.9rem; color: var(--accent); font-weight: 600; }
.hero-trust span i { margin-right: 5px; }

/* --- VORTEILE --- */
.features { padding: 100px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.feat-card { text-align: center; }
/* --- LOTTIE ICON STYLING (NEU) --- */
.lottie-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 25px; /* Abstand zum Text unten */
}

.lottie-container lottie-player {
    width: 80px;  /* Perfekte Premium-Größe */
    height: 80px;
}

/* Umrandung für die Icons, damit sie noch wertiger wirken (Optional) */
.lottie-container lottie-player {
    background: #fff;
    padding: 15px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}

/* MOBILE ANPASSUNG */
@media (max-width: 768px) {
    .lottie-container lottie-player {
        width: 65px;
        height: 65px;
    }
}
.feat-card h3 { color: var(--dark); }

/* --- BRANCHEN-SHOWCASE --- */
.showcase-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.portfolio-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; transition: 0.3s ease; display: block; }
.portfolio-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.card-image { position: relative; height: 250px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s ease; }
.portfolio-card:hover .card-image img { transform: scale(1.05); }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(37, 99, 235, 0.85); color: white; display: flex; align-items: center; justify-content: center; font-weight: bold; opacity: 0; transition: 0.3s ease; }
.portfolio-card:hover .overlay { opacity: 1; }
.card-body { padding: 25px; }
.card-body h4 { margin: 0 0 10px 0; color: var(--dark); font-size: 1.3rem; }
.card-body p { margin: 0; font-size: 0.95rem; color: #64748b; line-height: 1.5; }

/* --- PRICING --- */
.pricing { padding: 100px 0; background: #fcfcfc; }
.section-title { text-align: center; margin-bottom: 60px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 900px; margin: 0 auto; }
.price-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 45px; position: relative; transition: 0.4s; }
.price-card.featured { border: 3px solid var(--primary); box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1); }
.popular { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; padding: 6px 20px; border-radius: 20px; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; white-space: nowrap; }
.price { font-size: 3.2rem; font-weight: 800; color: var(--dark); margin: 15px 0 5px; letter-spacing: -2px; }
.price span { font-size: 1.1rem; color: #94a3b8; font-weight: 500; }
.setup-fee { font-size: 0.8rem; color: #94a3b8; font-weight: 700; text-transform: uppercase; margin-bottom: 30px; }
.price-card ul { list-style: none; padding: 0; margin-bottom: 35px; text-align: left; }
.price-card li { margin-bottom: 12px; color: #64748b; font-size: 0.95rem; }
.price-card li i { color: var(--accent); margin-right: 12px; }
.btn-price { display: block; text-align: center; padding: 16px; border: 2px solid var(--primary); border-radius: 8px; text-decoration: none; font-weight: bold; color: var(--primary); transition: 0.2s; }
.featured-btn { background: var(--primary); color: #fff; }

/* --- KONTAKT --- */
.contact-section { padding: 100px 0; }
.contact-card { background: #fff; border: 1px solid #e2e8f0; padding: 40px; border-radius: 15px; max-width: 600px; margin: 0 auto; box-shadow: 0 15px 40px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: bold; margin-bottom: 8px; font-size: 0.9rem; color: var(--dark); }
.form-group input, .form-group textarea { width: 100%; padding: 14px; border: 1px solid #cbd5e1; border-radius: 8px; outline: none; font-family: inherit; }
.checkbox-group { display: flex; align-items: flex-start; gap: 12px; margin: 20px 0; text-align: left; }
.checkbox-group label { font-size: 0.8rem; line-height: 1.4; color: #64748b; cursor: pointer; }

/* --- FOOTER --- */
footer { background: var(--dark); color: #94a3b8; padding: 60px 0; text-align: center; }
footer a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-legal { margin-top: 20px; font-size: 0.8rem; }
.footer-legal a { color: #64748b; margin: 0 10px; }

/* --- MOBILE OPTIMIERUNG (FIXED) --- */
@media (max-width: 768px) {
    .menu-toggle { display: block; } /* Toggle jetzt sichtbar */
    
    .nav-links { 
        position: absolute; 
        top: 70px; /* Navbar Höhe */
        left: -100%; 
        background: #fff; 
        width: 100%; 
        height: auto; 
        padding: 40px 0;
        flex-direction: column; 
        transition: 0.4s ease-in-out; 
        box-shadow: 0 15px 30px rgba(0,0,0,0.1); 
        justify-content: center;
        z-index: 999;
    }
    
    .nav-links.active { left: 0; }
    .nav-links li { margin: 15px 0; margin-left: 0; }
    
    .hero-trust { flex-direction: column; gap: 10px; }
    .showcase-grid-2 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
}
/* Standardmäßig kein Umbruch */
.break-mobile {
    display: inline;
}

/* Auf mobilen Geräten den Umbruch erzwingen */
@media (max-width: 768px) {
    .badge {
        display: inline-block; /* Erlaubt dem Badge, höher zu werden */
        line-height: 1.5;      /* Sorgt für sauberen Abstand zwischen den Zeilen */
        padding: 8px 15px;     /* Etwas mehr Platz für zwei Zeilen */
    }

    .break-mobile {
        display: block;        /* Erzwingt die neue Zeile */
        margin-top: 2px;       /* Kleiner optischer Abstand */
    }
}
/* Standard: Alles in einer Zeile */
.break-mobile {
    display: inline;
}

@media (max-width: 768px) {
    /* Der ultimative Umbruch-Killer */
    .mobile-break {
        display: table; /* Erzwingt den Umbruch zuverlässiger als 'block' */
        margin: 10px auto 0; /* Zentriert es und gibt oben 10px Abstand */
        width: 100%; /* Belegt die volle Breite */
    }

    /* Falls die H1 im Flex-Modus ist, stellen wir sie auf Block um */
    .hero h1 {
        display: block; 
        line-height: 1.2;
    }
}
/* Styling für die neuen SVG-Icons */
.icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--bg-light); /* Ganz zartes Grau/Blau */
    color: var(--primary);       /* Dein Marken-Blau */
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;         /* Sanft abgerundete Ecken */
    transition: 0.3s ease;
}

.icon-wrapper svg {
    width: 40px;
    height: 40px;
}

.feat-card:hover .icon-wrapper {
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px);
}

.feat-card h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 15px;
}