/* =========================================
   1. VARIABLES (SWISS EDITION PALETTE)
   ========================================= */
:root {
    --primary: #0f172a;       /* Sehr dunkles Blau/Schwarz (Text) */
    --accent: #D60000;        /* SWISS RED (statt Tech-Blau) */
    --accent-glow: #FF3333;   /* Helleres Rot für Hover */
    --bg-light-red: #FFF0F0;  /* Ganz helles Rot für Hintergründe */
    
    --text-main: #334155;     /* Dunkles Grau */
    --text-light: #64748b;    /* Helles Grau */
    --bg-light: #f8fafc;      /* Hintergrund Grau */
    --white: #ffffff;
    
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(214, 0, 0, 0.15); /* Rötlicher Schatten */
    --radius: 12px;
}

/* =========================================
   2. RESET & BASE
   ========================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden; 
    font-size: 16px; 
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
}
.logo img { display: block; } /* Falls du ein Bild-Logo nutzt */
.logo .dot { color: var(--accent); } /* Der Punkt ist jetzt rot */

/* Navigation Links (Desktop) */
.main-nav a {
    margin: 0 1rem;
    font-weight: 500;
    color: var(--text-main);
    font-size: 1rem;
    position: relative;
}

.main-nav a:hover { color: var(--accent); }

/* Hamburger Button (Desktop: unsichtbar) */
.hamburger {
    display: none; 
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}
.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary);
    transition: all 0.3s ease-in-out;
}

/* Mobile Link (Kontakt) im Menü verstecken auf Desktop */
.mobile-only-link { display: none; }

/* =========================================
   4. BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap; 
}

.btn-primary {
    /* Roter Verlauf für Schweizer Look */
    background: linear-gradient(135deg, var(--accent) 0%, #b91c1c 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(214, 0, 0, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(214, 0, 0, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: var(--bg-light-red);
}

/* =========================================
   5. HERO SECTION (SWISS STYLE)
   ========================================= */
.hero {
    padding: 6rem 0 4rem 0;
    /* Dezenzer Grauer Verlauf, kein Blau mehr */
    background: radial-gradient(circle at top right, #f8fafc, transparent);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Das neue Swiss Label */
.swiss-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    background-color: var(--bg-light-red);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #FFD6D6;
}
.swiss-cross {
    font-weight: bold;
    color: white;
    background-color: var(--accent);
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    font-family: sans-serif;
    line-height: 1;
}
.swiss-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Hervorhebung im Text (jetzt Rot) */
.text-highlight {
    color: var(--accent);
}
/* Fallback für alte Highlight Klasse */
.highlight {
    background: -webkit-linear-gradient(120deg, var(--accent), var(--accent-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual {
    /* Neutraler Hintergrund für Bilder */
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    min-height: 400px;
    border-radius: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   6. FEATURES GRID
   ========================================= */
.features {
    padding: 5rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-title h2 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--primary); }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: #FECACA; /* Rötlicher Rand bei Hover */
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: var(--bg-light-red); /* Helles Rot */
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--accent); /* Rotes Icon */
}

.card h3 { margin-bottom: 1rem; font-size: 1.25rem; }

/* =========================================
   7. SERVICES (Split Layout)
   ========================================= */
.services-teaser { padding: 5rem 0; background: var(--bg-light); }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 4rem; }
.split-layout.reverse { direction: rtl; } 
.split-layout.reverse .service-text { direction: ltr; }

.service-text h3 { font-size: 2rem; margin-bottom: 1rem; color: var(--primary); }
.service-text p { margin-bottom: 1.5rem; color: var(--text-light); }

.service-tag {
    display: inline-block;
    background: var(--bg-light-red);
    color: var(--accent);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* =========================================
   8. TRUST/ABOUT
   ========================================= */
.trust-banner {
    background: var(--primary); /* Dunkles Blau/Schwarz */
    color: white;
    padding: 4rem 0;
    text-align: center;
    border-bottom: 4px solid var(--accent); /* Rote Linie unten */
}

.trust-stats { display: flex; justify-content: center; gap: 4rem; margin-top: 2rem; flex-wrap: wrap; }
.stat-item h4 { font-size: 2.5rem; color: var(--accent); margin-bottom: 0.5rem;}

/* =========================================
   9. FOOTER
   ========================================= */
.site-footer {
    background: #f8fafc;
    padding: 4rem 0 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid #e2e8f0;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-col h3, .footer-col h4 { margin-bottom: 1.5rem; color: var(--primary); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #cbd5e1; font-size: 0.9rem; color: var(--text-light); }

/* =========================================
   10. RESPONSIVE DESIGN (Fixes & Mobile Menu)
   ========================================= */

/* --- TABLET & KLEINE LAPTOPS (Bis 1024px) --- */
@media (max-width: 1024px) {
    .container { padding: 0 30px; }
    
    /* 1. Hamburger sichtbar machen */
    .hamburger { display: block; }

    /* 2. Desktop Button ausblenden */
    .desktop-only { display: none; }

    /* 3. Das Mobile Menü (Slide-in) */
    .main-nav {
        position: fixed;
        left: -100%;
        top: 0; 
        gap: 0;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s ease-in-out;
        padding-top: 100px;
        z-index: 1000;
    }
    
    .main-nav.active { left: 0; }

    .main-nav a {
        display: block;
        padding: 20px;
        font-size: 1.3rem;
        border-bottom: 1px solid #f1f5f9;
        margin: 0;
    }

    /* Kontakt-Link im Menü anzeigen */
    .mobile-only-link {
        display: block;
        color: var(--accent);
        font-weight: 700;
    }

    /* Animation für Hamburger */
    .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); }

    /* Layout Fixes */
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero-buttons { justify-content: center; }
    .split-layout { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .split-layout.reverse { direction: ltr; } 
    .hero-visual { max-width: 600px; margin: 0 auto; }
}

/* --- MOBILE (Bis 768px) --- */
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    
    .hero { padding: 4rem 0 2rem 0; }
    .hero-text h1 { font-size: 2.2rem; }
    
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn { width: 100%; margin-bottom: 0.5rem; }

    .grid-3, .footer-grid { grid-template-columns: 1fr; }
    .trust-stats { flex-direction: column; gap: 1.5rem; }
}