/* Style Dach Online Anfrage - Zentrale CSS */
/* VERSION: V.1.0.2 */
/* DATUM: 2026-06-10 */
/* INFO: Zentrale Abstände (Hero-Padding und Container-Margin) verringert, um unschöne Leerräume auf allen Seiten (Startseite & Kalender) zu eliminieren. */

:root {
    --sd-blue: #005088; /* Das Blau aus dem Logo */
    --sd-gray: #4b5563; /* Das Grau aus dem Logo */
    --sd-light: #f3f4f6;
    --sd-white: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: var(--sd-light);
    color: var(--sd-gray);
}

/* Header & Navigation Basis-Layout (Desktop) */
.main-header {
    background: var(--sd-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    box-sizing: border-box;
}

.logo-box img {
    height: 60px;
    width: auto;
    display: block;
}

nav {
    display: block;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: var(--sd-blue);
    font-weight: bold;
    transition: 0.3s;
}

.nav-list a:hover {
    color: var(--sd-gray);
}

/* Hero Section / Startseite - Abstand von 80px auf 40px/20px reduziert */
.hero {
    text-align: center;
    padding: 40px 20px 20px 20px;
}

.hero h1 {
    color: var(--sd-blue);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Der leuchtende Button (Pulsierend) */
.btn-start {
    display: inline-block;
    padding: 20px 40px;
    font-size: 20px;
    font-weight: 800;
    color: white;
    background-color: var(--sd-blue);
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 0 0 0 rgba(0, 80, 136, 0.7);
    animation: pulsing 2s infinite;
    transition: transform 0.2s;
}

@keyframes pulsing {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 80, 136, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(0, 80, 136, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 80, 136, 0); }
}

.btn-start:hover {
    transform: scale(1.05);
}

/* Formular & Kundenbereich Container - Abstand nach oben von 40px auf 15px verringert */
.container {
    max-width: 800px;
    margin: 15px auto 40px auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.status-box {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.status-in_progress { background: #fef3c7; color: #92400e; border: 1px solid #f59e0b; }
.status-rejected { background: #fee2e2; color: #991b1b; border: 1px solid #ef4444; }
.status-success { background: #dcfce7; color: #166534; border: 1px solid #22c55e; }

/* Responsive Anpassungen (Mobile Ansicht) */
@media (max-width: 768px) {
    .main-header {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        height: 70px !important;
        padding: 10px 20px !important;
    }

    .logo-box img {
        height: 40px !important;
    }

    nav {
        display: none;
    }
    
    nav.open {
        display: block !important;
    }

    .nav-list {
        flex-direction: column !important;
        gap: 15px !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
}