/* assets/style.css */

:root {
    /* --- DEINE NEUEN FARBEN --- */
    --primary-color: #11486e; /* Das neue Profi-Dunkelblau */
    --primary-hover: #0c3654; /* Ein Tick dunkler für Hover-Effekte */
    
    --brand-green: #77b04c;   /* Das neue Logo-Grün */
    --brand-green-hover: #669840;
    
    --secondary-color: #6c757d; /* Standard Grau für Nebentexte */
}

body {
    background-color: #f8f9fa;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
}
/* --- FARB-ÜBERSCHREIBUNGEN (Bootstrap Override) --- */

/* 1. Hauptfarbe (Blau) für Text und Hintergründe */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* 2. Sekundärfarbe (Grün) - Ersetzt das Standard-Grün von Bootstrap */
.text-success {
    color: var(--brand-green) !important;
}

.bg-success {
    background-color: var(--brand-green) !important;
}

/* --- BUTTONS --- */

/* Primär-Button (Blau) */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* Outline-Button (Blauer Rand) */
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Success-Button (Grün - z.B. für WhatsApp oder den Schritt 4 Haken) */
.btn-success {
    background-color: var(--brand-green);
    border-color: var(--brand-green);
    border-radius: 50px;
    font-weight: 600;
}

.btn-success:hover {
    background-color: var(--brand-green-hover);
    border-color: var(--brand-green-hover);
}

/* --- NAVBAR TWEAKS --- */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.08);
    background-color: #ffffff !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.navbar-brand img {
    max-height: 70px; 
    transition: transform 0.3s ease;
}

@media (max-width: 400px) {
    .navbar-brand img {
        max-height: 50px;
    }
}

.nav-link {
    font-weight: 500;
    color: #444 !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Icons in der Nav */
.nav-link i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* --- NAVBAR TWEAKS --- */
/* --- NAVBAR LOGO ANPASSUNG --- */
.navbar-brand img {
    /* Damit das Logo auf dem Handy nicht zu riesig wird */
    max-height: 80px; 
    transition: transform 0.3s ease;
}

/* Auf sehr kleinen Handys das Logo etwas kleiner machen, damit das Menü daneben passt */
@media (max-width: 400px) {
    .navbar-brand img {
        max-height: 50px;
    }
}

.navbar {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;

    box-shadow: 0 2px 4px rgba(0,0,0,.08); /* Dezenter Schatten */
    background-color: #ffffff !important;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: #444 !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Icons in der Nav etwas Platz geben */
.nav-link i {
    margin-right: 5px;
    color: var(--primary-color);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(17, 72, 110, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.navbar-toggler:focus {
    box-shadow: none; /* Entfernt den Standard-Rahmen beim Klicken */
}
/* --- BUTTONS --- */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px; /* Pillen-Form */
    padding: 0.5rem 1.5rem;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #006699;
    border-color: #006699;
}

/* --- DROPDOWN --- */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 0.5rem;
    margin-top: 10px;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: #f0f8ff;
    color: var(--primary-color);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    margin-right: 10px;
    color: var(--primary-color);
}
/* --- HERO SECTION --- */
.hero-header {
    /* Platzhalter-Bild (Unsplash) - später durch eigenes Bild ersetzen! */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('img/header-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 8rem 0; /* Viel Platz oben/unten */
    margin-top: -80px; /* Zieht es unter die transparente Navbar */
    padding-top: 10rem; /* Ausgleich für die Navbar */
}

/* Karten Hover-Effekt */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: #f0f8ff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
/* --- FEATURE SECTION (Die 3 Vorteile) --- */

/* Die Box selbst */
.feature-card {
    background: #ffffff;
    padding: 2.5rem 1.5rem;
    border-radius: 1rem; /* Schön abgerundet */
    border: 1px solid rgba(0,0,0,0.05); /* Ganz feiner Rand */
    transition: all 0.3s ease; /* Weiche Animation */
    height: 100%; /* Alle Boxen gleich hoch */
    position: relative;
    overflow: hidden;
}

/* Hover-Effekt: Box hebt sich und Schatten wächst */
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: transparent;
}

/* Das Icon-Design */
.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); /* Helles Blau */
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem auto;
    transition: transform 0.3s ease;
}

/* Icon dreht sich leicht beim Hovern */
.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-color);
    color: white; /* Icon wird weiß, Hintergrund blau */
}

.feature-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}
/* --- ANIMATIONEN --- */

/* Definition der Bewegung (von unten nach oben + Einblenden) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Die Klasse, die wir den Karten geben */
.animate-up {
    opacity: 0; /* Startet unsichtbar */
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Verzögerungen, damit sie nacheinander kommen (Wasserfall-Effekt) */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* --- SERVICES GRID --- */
.service-box {
    border: 1px solid #eee;
    background: #fff;
    transition: all 0.3s ease;
    height: 100%; /* Alle Boxen gleich hoch */
    display: flex;
    flex-direction: column;
}

.service-box:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.service-img-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-box:hover .service-img-wrapper img {
    transform: scale(1.1); /* Zoom-Effekt beim Hovern */
}

/* --- TESTIMONIALS (Kundenmeinungen) --- */
.testimonial-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 1rem;
    height: 100%;
    position: relative;
}

.testimonial-stars {
    color: #ffc107; /* Goldene Sterne */
    margin-bottom: 1rem;
}

/* Kleines Zitat-Icon im Hintergrund */
.testimonial-card::before {
    content: '\201C'; /* Anführungszeichen */
    font-family: serif;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 5rem;
    color: rgba(0,0,0,0.05);
    line-height: 1;
}
/* --- MOBILE FOOTER FIX --- */
/* Auf Handys (unter 992px Breite) geben wir dem Footer unten extra Platz.
   So kann man so weit scrollen, dass der Text ÜBER den Buttons steht. */
@media (max-width: 991.98px) {
    footer {
        padding-bottom: 110px !important; 
    }
}