/**
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 *  BAUSTROMZENTRALE - Yellow/Black Theme
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 *  Version: 1.0.0
 *  Erstellt: 2026-02-21
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 */

/* ============================================
   CSS Custom Properties (Design System)
   ============================================ */
:root {
    /* Primary Colors - Baustrom Yellow Theme */
    --baustrom-yellow: #ffcc00;
    --baustrom-yellow-dark: #e6b800;
    --baustrom-yellow-light: #ffd633;
    
    /* Contrast Colors */
    --baustrom-black: #1a1a1a;
    --baustrom-black-light: #333333;

    /* 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;

    /* Gradients */
    --gradient-yellow: linear-gradient(135deg, var(--baustrom-yellow), var(--baustrom-yellow-dark));
    --gradient-dark: linear-gradient(135deg, var(--baustrom-black), #000000);

    /* Typography */
    --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;

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

    /* Border Radius */
    --border-radius-md: 12px;
    --border-radius-lg: 16px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-base: 0.3s 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);
    padding-top: 76px; /* Offset for fixed navbar */
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        rgba(26, 26, 26, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 100%
    ), url("../img/hero-main.247316033d3d.jpg"); /* Using hero-main.jpg as fallback */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.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: var(--baustrom-yellow);
    color: var(--baustrom-black);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--baustrom-yellow-dark);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.hero-title span {
    color: var(--baustrom-yellow);
}

.hero-lead {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Buttons
   ============================================ */
.btn-baustrom {
    background: var(--gradient-yellow);
    color: var(--baustrom-black);
    border: none;
    padding: 16px 40px;
    font-weight: 700;
    border-radius: 12px;
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.3);
}

.btn-baustrom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.4);
    background: var(--baustrom-yellow-light);
    color: var(--baustrom-black);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 14px 38px;
    font-weight: 700;
    border-radius: 12px;
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-block;
}

.btn-outline-white:hover {
    background: white;
    color: var(--baustrom-black);
}

/* ============================================
   Service Grid
   ============================================ */
.section-padding {
    padding: 6rem 0;
}

.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);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--baustrom-yellow);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--baustrom-black);
    color: var(--baustrom-yellow);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--baustrom-black);
}

.service-text {
    color: var(--gray-600);
    flex-grow: 1;
}

/* ============================================
   Navigation
   ============================================ */
.navbar.baustrom-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 3px solid var(--baustrom-yellow);
}

.navbar-brand {
    font-weight: 800;
    color: var(--baustrom-black) !important;
}

.navbar-brand span {
    color: var(--baustrom-yellow);
    background: var(--baustrom-black);
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 5px;
}

/* ============================================
   Footer
   ============================================ */
.footer-baustrom {
    background: var(--baustrom-black);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-logo span {
    color: var(--baustrom-yellow);
}

.footer-link {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--baustrom-yellow);
}

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