/**
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 *  EDGARD Herd-Anschluss-Service - Haupt-Theme
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 *  Version: 1.0.0
 *  Erstellt: 2025-12-29
 *  Basierend auf PV-Service Design, angepasst für Herd-Service
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 */

/* ============================================
   CSS Custom Properties (Design System)
   ============================================ */
:root {
    /* Primary Colors - Orange Theme (statt Grün) */
    --stove-orange: #ff6b35;
    --stove-orange-dark: #ff4500;
    --stove-orange-light: #ff8c61;
    --stove-orange-lighter: #ffb59d;

    /* Secondary Colors - Edgard Blue (beibehalten für Konsistenz) */
    --edgard-blue: #2c5aa0;
    --edgard-blue-dark: #1e3d6f;
    --edgard-blue-light: #4472c4;

    /* Neutral Colors */
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    /* Semantic Colors */
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;

    /* Gradients */
    --gradient-orange: linear-gradient(135deg, var(--stove-orange), var(--stove-orange-dark));
    --gradient-blue: linear-gradient(135deg, var(--edgard-blue), var(--edgard-blue-dark));
    --gradient-orange-blue: linear-gradient(135deg,
        var(--stove-orange) 0%,
        var(--stove-orange-dark) 25%,
        var(--edgard-blue) 60%,
        var(--edgard-blue-dark) 100%);

    /* Typography */
    --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 1.1rem;
    --line-height-base: 1.6;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Border Radius */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(255, 107, 53, 0.1);
    --shadow-md: 0 6px 20px rgba(255, 107, 53, 0.2);
    --shadow-lg: 0 10px 40px rgba(255, 107, 53, 0.25);
    --shadow-xl: 0 15px 60px rgba(255, 107, 53, 0.3);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Base Styles
   ============================================ */
body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--gray-900);
    background: var(--gray-100);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 70px; /* Offset for fixed navbar */
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        rgba(255, 107, 53, 0.4) 0%,
        rgba(255, 69, 0, 0.3) 25%,
        rgba(44, 90, 160, 0.3) 60%,
        rgba(0, 0, 0, 0.2) 100%
    ), url("../img/hero-herd.a38f5665971e.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: var(--spacing-xl);
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.hero-cta-group {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Buttons
   ============================================ */

/* Primary Button (Orange) */
.btn-stove-primary {
    background: var(--gradient-orange);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4), 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    min-height: 56px;
    min-width: 200px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-stove-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--transition-slow);
}

.btn-stove-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-stove-primary:hover::before {
    left: 100%;
}

/* Secondary Button (White Outline) */
.btn-stove-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 14px 38px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-block;
    min-height: 56px;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-stove-secondary:hover {
    background: white;
    color: var(--stove-orange);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Tertiary Button (Blue) */
.btn-stove-blue {
    background: var(--gradient-blue);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.4), 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-block;
    min-height: 56px;
    min-width: 200px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-stove-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(44, 90, 160, 0.5);
    color: white;
}

/* ============================================
   Service Cards
   ============================================ */
.service-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    height: 100%;
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--stove-orange-light);
}

.service-card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: white;
    font-size: 2rem;
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--edgard-blue);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.service-card-text {
    color: var(--gray-700);
    line-height: 1.7;
}

/* ============================================
   Process Steps
   ============================================ */
.process-step {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-orange);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.process-step:hover::before {
    transform: scaleX(1);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.process-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin: 0 auto var(--spacing-md);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.process-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--edgard-blue);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.process-description {
    color: var(--gray-700);
    line-height: 1.7;
}

/* ============================================
   Price Cards
   ============================================ */
.price-card {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
    border: 3px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.price-card.featured {
    border-color: var(--stove-orange);
    transform: scale(1.05);
    position: relative;
    z-index: 1;
}

.price-card.featured::before {
    content: 'BELIEBT';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-orange);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.price-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--stove-orange);
    margin: var(--spacing-md) 0;
    line-height: 1.1;
}

.price-label {
    font-size: 1rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0;
    flex: 1 1 auto;
}

.price-card a.btn-stove-primary,
.price-card a.btn-stove-blue {
    margin-top: auto;
}

.section-gray .row.g-4.mt-4.justify-content-center > [class*="col-"] {
    display: flex;
}

.price-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-700);
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features li i {
    color: var(--success);
    margin-right: 0.5rem;
}

/* ============================================
   Trust Badges
   ============================================ */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    padding: var(--spacing-lg) 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.trust-badge-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.trust-badge-text {
    font-weight: 600;
    color: var(--gray-800);
}

/* ============================================
   Section Styles
   ============================================ */
.section-padding {
    padding: 6rem 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--edgard-blue);
    margin-bottom: var(--spacing-md);
    text-align: center;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gray-600);
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.6;
}

.section-gray {
    background: var(--gray-100);
}

.section-white {
    background: white;
}

/* ============================================
   Header & Navigation
   ============================================ */
.navbar.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-size: 1.25rem;
    transition: color var(--transition-fast);
}

.navbar-brand:hover {
    color: var(--stove-orange-dark) !important;
}

.nav-link {
    font-weight: 500;
    transition: color var(--transition-fast);
    padding: 0.5rem 1rem !important;
}

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

.header-logo {
    height: 50px;
    width: auto;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--stove-orange);
    font-size: var(--font-size-lg);
    font-weight: 700;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.header-phone:hover {
    color: var(--stove-orange-dark);
}

.header-phone i {
    font-size: 1.5rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 3rem 0 1.5rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: var(--spacing-md);
}

.footer-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.footer-link {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-link:hover {
    color: var(--stove-orange);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: var(--font-size-sm);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .hero-section {
        min-height: 90vh;
        background-attachment: scroll;
        padding: 5rem 0 4rem;
    }

    .hero-content {
        padding: var(--spacing-lg);
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }

    .hero-lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-badge {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
        margin-bottom: 1.25rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-stove-primary,
    .btn-stove-secondary,
    .btn-stove-blue {
        width: 100%;
        padding: 16px 40px;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .process-step,
    .service-card {
        margin-bottom: var(--spacing-lg);
    }

    .price-card.featured {
        transform: scale(1);
        margin-bottom: var(--spacing-lg);
    }

    .trust-badges {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-orange {
    color: var(--stove-orange);
}

.bg-orange {
    background-color: var(--stove-orange);
}

.bg-gradient-orange {
    background: var(--gradient-orange);
}

.bg-gradient-blue {
    background: var(--gradient-blue);
}

.shadow-orange {
    box-shadow: var(--shadow-md);
}

.rounded-lg {
    border-radius: var(--border-radius-lg);
}

.rounded-xl {
    border-radius: var(--border-radius-xl);
}
