/* =========================================
   1. DESIGN SYSTEM & VARIABLES
   ========================================= */
:root {
    /* Moderne Farbpalette */
    --primary: #2563eb;          /* Kräftiges Tech-Blau */
    --primary-glow: #3b82f6;     /* Helleres Blau für Glow-Effekte */
    --accent: #06b6d4;           /* Cyan für Akzente */
    --dark: #0f172a;             /* Sehr dunkles Blau-Grau (statt Schwarz) */
    --dark-surface: #1e293b;     /* Etwas helleres Dunkel für Karten */
    --light: #f8fafc;            /* Hintergrund Weiß-Grau */
    --text-main: #334155;        /* Dunkelgrau für Text (besser lesbar als Schwarz) */
    --text-light: #94a3b8;       /* Helles Grau für Nebentext */
    
    /* Schatten für Tiefe */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.3);

    /* Abstände & Radius */
    --radius: 16px;              /* Moderne, weiche Ecken */
}

/* Global Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif; /* Clean & Techy */
    background: var(--light);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif; /* Charakterstark für Headlines */
    color: var(--dark);
    line-height: 1.2;
}

/* =========================================
   2. NAVIGATION (Glassmorphism)
   ========================================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    
    /* Der "Frosted Glass" Effekt */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo a { display: flex; align-items: center; height: 100%; }
.logo img { max-height: 50px; width: auto; }

.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links li a {
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
    position: relative;
}

/* Cooler Underline-Effekt beim Hover */
.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s;
}
.nav-links li a:hover::after { width: 100%; }

/* =========================================
   3. HERO SECTION (Modern & Dark)
   ========================================= */
.hero {
    min-height: 90vh; /* Fast voller Screen */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
    
    /* Moderner Mesh-Gradient Hintergrund */
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    color: white;
    overflow: hidden;
}

/* Abstrakter Glow im Hintergrund */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content { position: relative; z-index: 1; max-width: 800px; }

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* Responsive Schriftgröße */
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: -1px;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Text-Gradient */
}

.hero p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Button Upgrade: Glowing Gradient */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-glow));
    color: white;
    font-weight: 600;
    border-radius: 50px; /* Pill Shape */
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.5);
}

/* =========================================
   4. TRUST POINTS & CARDS
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 5%;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: -50px; /* Überlappt den Hero Bereich leicht */
    position: relative;
    z-index: 2;
}

.trust-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s;
    border: 1px solid rgba(0,0,0,0.03);
}

.trust-item:hover { transform: translateY(-5px); }

.icon-box {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

/* =========================================
   5. PRODUCTS (Pricing Cards)
   ========================================= */
.product-grid {
    display: grid;
    gap: 40px; /* Abstand zwischen den Karten */
    margin-top: 60px;
    
    /* Standard für Handys: Alles untereinander */
    grid-template-columns: 1fr;
}

/* Ab großem Bildschirm (Desktop): Zwingend 3 Spalten */
@media (min-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
    position: relative;
}

/* Das neue Styling für das "BELIEBT" Schild */
.popular-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-glow)); /* Schöner Farbverlauf */
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 30px;
    position: absolute;
    top: -18px; /* Schaut oben raus */
    left: 50%;
    transform: translateX(-50%); /* Zentriert es exakt */
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4); /* Ein cooler Glow-Effekt */
    z-index: 2; /* Stellt sicher, dass es ganz vorne liegt */
}

/* Hover Effekt für Karten */
.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
    border-color: var(--primary);
}

.card.popular {
    border: 2px solid var(--primary);
    background: linear-gradient(to bottom, #ffffff, #f0f9ff);
    transform: scale(1.05); /* Bestseller größer */
    z-index: 10;
}
.card.popular:hover { transform: scale(1.05) translateY(-10px); }

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    margin: 1rem 0;
    font-family: 'Outfit', sans-serif;
}

.card ul {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
    padding-left: 20px;
}

.card li {
    margin-bottom: 12px;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

/* Kleiner Haken vor jedem Listenpunkt */
.card li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    margin-right: 10px;
}

.btn-small {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: var(--light);
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.card:hover .btn-small, .card.popular .btn-small {
    background: var(--primary);
    color: white;
}

/* =========================================
   INDIVIDUELLES ANGEBOT (Text unter Paketen)
   ========================================= */
.custom-offer-box {
    text-align: center;       /* Text zentrieren */
    margin-top: 60px;         /* WICHTIG: Viel Abstand nach oben zu den Karten */
    margin-bottom: 20px;
    padding: 30px;
    
    /* Optional: Ein Rahmen, um es als "Extra-Option" zu markieren */
    background: #f8fafc;      /* Sehr helles Grau */
    border: 1px dashed #cbd5e1; /* Gestrichelte Linie wirkt wie "Platzhalter" für Custom */
    border-radius: 16px;
    max-width: 800px;         /* Nicht zu breit */
    margin-left: auto;        /* Zentriert die Box selbst */
    margin-right: auto;
}

.custom-offer-box p {
    font-size: 1.1rem;
    color: var(--text-main);
    margin: 0;
    font-weight: 500;
}

.custom-offer-box a {
    color: var(--primary);    /* Deine blaue Farbe */
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.custom-offer-box a:hover {
    border-bottom-color: var(--primary); /* Unterstreichung beim Drüberfahren */
    color: var(--dark);
}

/* =========================================
   6. KONTAKT FORMULAR (Clean UI)
   ========================================= */
#contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto;
}

input, textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: 0.3s;
    background: #f8fafc;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* =========================================
   PROFI FOOTER STYLING
   ========================================= */
.site-footer {
    background: #020617; /* Fast Schwarz (Midnight Blue) */
    color: #94a3b8;      /* Hochwertiges Grau für Text */
    padding: 80px 0 0;   /* Viel Platz oben */
    font-size: 0.95rem;
    border-top: 1px solid rgba(255,255,255,0.05); /* Sehr dezente Linie oben */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsives Grid */
    gap: 50px;
    margin-bottom: 60px;
}

/* Spalten Styling */
.footer-col h4 {
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

/* Logo im Footer */
.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Macht dein Logo weiß! Sieht auf Dunkel edel aus */
    opacity: 0.9;
}

.brand-desc {
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 300px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
}
.social-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: 0.3s;
}
.social-links a:hover { opacity: 1; color: var(--primary); }

/* Link Listen */
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}
.footer-links a:hover {
    color: white;
    transform: translateX(5px); /* Kleiner "Rutsch" nach rechts beim Hover */
}

/* Kontakt Liste mit Icons */
.contact-list { list-style: none; padding: 0; }
.contact-list li {
    display: flex;
    align-items: center; /* Zentriert Icon und Text */
    gap: 15px;
    margin-bottom: 15px;
    color: #cbd5e1;
}
.contact-list a { color: #cbd5e1; text-decoration: none; transition: 0.3s; }
.contact-list a:hover { color: var(--primary); }
.contact-list svg {
    color: var(--primary); /* Icons in Blau */
    flex-shrink: 0; /* Verhindert, dass Icons gequetscht werden */
}

/* Unterer Balken */
.footer-bottom {
    background: rgba(0,0,0,0.2); /* Noch etwas dunkler */
    padding: 25px 5%;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    border-top: 1px solid rgba(255,255,255,0.05);
}
/* =========================================
   8. ANIMATIONEN & RESPONSIVE
   ========================================= */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    nav { height: 70px; }
    .nav-links { display: none; } /* Auf Handy Menu verstecken oder Burger Menu bauen */
    .hero h1 { font-size: 2.5rem; }
    .card.popular { transform: scale(1); }
    .trust-grid { margin-top: 30px; }
}
/* =========================================
   PORTFOLIO (Bilder Galerie)
   ========================================= */
.portfolio-grid {
    display: grid;
    gap: 30px;
    margin-top: 30px;
    
    /* Standard für Handys: 1 Spalte untereinander */
    grid-template-columns: 1fr;
}

/* Ab Tablet/PC (breiter als 900px): Zwingend 3 Spalten */
@media (min-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden; /* Damit das Bild nicht über die runden Ecken rausguckt */
    box-shadow: var(--shadow-lg);
    height: 300px;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Schneidet das Bild perfekt zu */
    transition: transform 0.5s ease;
}

/* Hover Effekt: Bild zoomt ran */
.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Der Text über dem Bild */
.portfolio-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 20px;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* Text erscheint beim Hover */
.portfolio-item:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item h3 { color: white; margin-bottom: 5px; font-size: 1.3rem; }
.portfolio-item p { color: #cbd5e1; font-size: 0.9rem; margin: 0; }


/* =========================================
   TESTIMONIALS (Kundenbewertungen)
   ========================================= */
.testimonials-section {
    background: var(--dark); /* Dunkler Hintergrund für Kontrast */
    padding: 80px 0;
    position: relative;
}

.reviews-grid {
    display: grid;
    gap: 30px;
    
    /* Standard für Handys: 1 Spalte */
    grid-template-columns: 1fr;
}

/* Ab Tablet/PC: Zwingend 3 Spalten */
@media (min-width: 900px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.review-card {
    background: rgba(255, 255, 255, 0.05); /* Sehr dunkel & transparent */
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.stars {
    color: #fbbf24; /* Goldene Sterne */
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-text {
    color: #cbd5e1;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 25px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
}

.reviewer strong {
    display: block;
    color: white;
    font-size: 0.95rem;
}

.reviewer span {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* =========================================
   ALLES ZENTRIEREN (Center Mode)
   ========================================= */

/* 1. Global alle Texte zentrieren */
body, h1, h2, h3, h4, p {
    text-align: center;
}

/* 2. TRUST POINTS: Icons in die Mitte zwingen */
.trust-item {
    display: flex;
    flex-direction: column; /* Stapelt Icon über Text */
    align-items: center;    /* Zentriert alles horizontal */
}

/* 3. PRODUKTE: Listen & Haken zentrieren */
.card ul {
    padding: 0;
    text-align: center;
}

.card li {
    justify-content: center; /* Schiebt "Haken + Text" in die Mitte */
}

/* 4. FOOTER: Alles mittig ausrichten */
.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin: 0 auto 20px; /* Logo zentrieren */
}

.social-links {
    justify-content: center; /* Social Icons mittig */
    width: 100%;
}

.contact-list li {
    justify-content: center; /* Telefon/Mail Icons mittig */
}

.footer-links a:hover {
    transform: scale(1.1); /* Statt nach rechts rutschen -> leicht vergrößern */
}

/* 5. FORMULAR FELDER */
input, textarea {
    text-align: center; /* Auch der Text beim Tippen ist jetzt mittig */
}

/* 6. NAVIGATIONSLEISTE KORREKTUR */
/* Da wir 'body' zentriert haben, müssen wir sicherstellen, 
   dass die Navigationsleiste nicht kaputt geht */
nav {
    text-align: left; /* Reset für die Leiste, damit Flexbox funktioniert */
} 
/* Aber die Links darin zentriert lassen */
.nav-links {
    text-align: center;
}

/* =========================================
   WARTUNGS-PAKET (RECURRING REVENUE)
   ========================================= */
.maintenance-card {
    background: linear-gradient(to right, #0f172a, #1e293b); /* Edles Dunkelblau */
    color: white;
    border-radius: 20px;
    padding: 40px;
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

/* Ein leichter Glanz-Effekt im Hintergrund */
.maintenance-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.maintenance-content {
    flex: 2;
    min-width: 300px;
    text-align: left; /* Text linksbündig für bessere Lesbarkeit */
    padding-right: 20px;
}

.maintenance-content h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: left; /* Überschrift links */
}

.maintenance-content p {
    color: #cbd5e1;
    margin-bottom: 25px;
    text-align: left;
}

.maintenance-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.maintenance-features {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.maintenance-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.maintenance-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    color: #e2e8f0;
    font-size: 0.95rem;
}

/* Grüner Haken für Features */
.maintenance-features li::before {
    content: '✓';
    color: #10b981; /* Helles Grün */
    margin-right: 10px;
    font-weight: bold;
}

/* Preisbereich rechts */
.maintenance-price {
    flex: 1;
    min-width: 200px;
    text-align: center;
    border-left: 1px solid rgba(255,255,255,0.1);
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.maintenance-price .price-tag {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: white;
    margin-bottom: 15px;
}

/* Responsive Anpassung für Handy */
@media (max-width: 768px) {
    .maintenance-card {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }
    
    .maintenance-content, .maintenance-content h3, .maintenance-content p, .maintenance-features ul {
        text-align: center;
        padding-right: 0;
    }
    
    .maintenance-features {
        justify-content: center;
        margin-bottom: 30px;
    }
    
    .maintenance-price {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-left: 0;
        padding-top: 30px;
        width: 100%;
    }
}

/* =========================================
   KALKULATOR STYLING
   ========================================= */
.calculator-wrapper {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Die Karten-Logik */
.calc-card {
    cursor: pointer;
    position: relative;
}

/* Verstecke die echten Radio-Buttons/Checkboxen */
.calc-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.card-content {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s;
    background: #f8fafc;
    height: 100%;
}

/* Update für die Extra-Karten mit Beschreibung */
.calc-card.small .card-content {
    flex-direction: column; /* Damit die Beschreibung UNTER den Titel rutscht */
    align-items: flex-start;
    padding: 20px;
    height: auto; /* Höhe passt sich dem Text an */
    min-height: 140px; /* Damit alle Extras etwa gleich hoch aussehen */
}

/* Der Titel-Bereich in den Extras */
.calc-card.small .card-content > div {
    width: 100%;
}

/* Wenn ausgewählt: Blau werden */
.calc-card input:checked + .card-content {
    border-color: var(--primary);
    background: #eff6ff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.check-icon {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%; /* Rund für Radio */
    margin-bottom: 10px;
    position: relative;
}

.check-icon.box {
    border-radius: 4px; /* Eckig für Checkbox */

    margin-bottom: 0;
}

/* Punkt in der Mitte anzeigen wenn aktiv */
.calc-card input:checked + .card-content .check-icon {
    background: var(--primary);
    border-color: var(--primary);
}

.price {
    color: var(--primary);
    font-weight: 700;
    margin-top: 5px;
}

/* Ergebnis Leiste */
.total-bar {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.total-text span:first-child {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
}

#total-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    font-family: 'Outfit', sans-serif;
}
/* =========================================
   MOBILE NAVIGATION (Burger Menu)
   ========================================= */
@media (max-width: 768px) {
    /* 1. Die Leiste an sich */
    nav {
        padding: 0 20px;
        height: 70px;
    }

    /* 2. Das Burger-Icon sichtbar machen */
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 2000; /* Muss über dem Menü liegen */
    }

    .hamburger .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background-color: var(--dark);
        border-radius: 3px;
    }

    /* 3. Das Menü (Standard: Versteckt & aus dem Bild geschoben) */
    .nav-links {
        position: fixed;
        left: -100%;        /* Links aus dem Bild geschoben */
        top: 0;
        gap: 0;
        flex-direction: column; /* Untereinander statt nebeneinander */
        background-color: rgba(255, 255, 255, 0.98); /* Fast undurchsichtig */
        width: 100%;
        height: 100vh;      /* Vollbild */
        text-align: center;
        transition: 0.3s;
        box-shadow: none;
        padding-top: 100px; /* Abstand von oben */
        z-index: 1500;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links li a {
        font-size: 1.5rem; /* Größere Schrift auf Handy */
    }

    /* 4. Wenn das Menü AKTIV ist (per Javascript hinzugefügt) */
    .nav-links.active {
        left: 0; /* Schiebt es ins Bild */
    }

    /* Animation für den Burger zum "X" */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Preispakete und Grid auf Handy einspaltig */
    .product-grid, .trust-grid, .portfolio-grid, .reviews-grid, .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    
    /* Wartungskarte mobil optimieren */
    .maintenance-card {
        flex-direction: column;
        text-align: center;
    }
    .maintenance-price {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 20px;
        margin-top: 20px;
        width: 100%;
    }
}

/* Auf Desktop den Burger verstecken */
@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
}