/* 1. Global & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "proxima-nova", "Arial", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 2. Layout-Hilfen */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

header, #hero, #leistungen, #referenz, #kontakt, footer {
    margin-bottom: 20px !important;
    border-radius: 10px;
}

/* 3. Header & Nav */
header {
    background: #1a1a1a;
    color: #ffffff;
    border-radius: 10px;
    padding: 20px 40px;
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    position: sticky; 
    top: 0;
    z-index: 1000;
    margin-bottom: -10px !important;
}

header strong {
    flex: 1; 
    text-align: left;
}

header nav {
    flex: 2;
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
}

nav li {
    margin-left: 2rem;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #d85b41;
}

/* 4. Content-Sektionen */
#hero {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 40px 0;
    border-radius: 0 0 10px 10px;
    max-width: 1200px;
    margin: -20px auto 20px auto;
    width: 100%;
}

.hero-split {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: flex-start;
}

.hero-text .cta-button {
    margin-top: 20px;
}

#hero h1 {
    font-size: 2rem;
    max-width: 800px;
    line-height: 1.3;
}

/* Leistungen */
#leistungen {
    background-color: whitesmoke;
    border-radius: 10px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 20px auto !important;
}

.leistung-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
}

.leistung-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    flex: 1;
}

/* Referenz */
#referenzen {
    background-color: transparent; 
    max-width: 1200px;
    margin: 0 auto !important;
    width: 100%;
}

.referenz-grid {
    display: flex;
    justify-content: center; 
}

.referenz-card {
    background: #ffffff;
    border: 1px solid #eee; 
    padding: 40px 30px;
    border-radius: 12px;
    max-width: 500px; 
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.zitat {
    font-style: italic;
    font-size: 1rem; 
    line-height: 1.6;
    color: #444;
    margin-bottom: 25px;
}

.zitat::before {
    content: "„";
    display: block;
    font-size: 2.5rem;
    color: #d85b41;
    font-family: serif;
    margin-bottom: 5px;
}

.kunde strong {
    display: block;
    font-size: 0.95rem;
    color: #1a1a1a;
    margin-bottom: 3px;
}

.kunde span {
    font-size: 0.8rem;
    color: #999;
    display: block;
    line-height: 1.3;
}

/* Kontakt */
#kontakt {
    background-color: whitesmoke;
    padding: 40px 0;
    border-radius: 10px;
    max-width: 1200px;
    margin: 20px auto !important;
    width: 100%;
}

#kontakt h2 {
    text-align: left;
    margin-bottom: 30px;
}

.button-wrapper {
    display: flex;
    justify-content: center; 
    width: 100%;
}

/* 5. Allgemeine Elemente (Buttons) */
button {
    background-color: #d85b41;
    color: #ffffff;
    padding: 15px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

button:hover {
    background-color: #ac4a36;
    transform: scale(1.05);
}

/* 6. Footer */
footer {
    background-color: #1a1a1a;
    color: #ffffff;
    border-radius: 10px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 20px auto !important; 
    padding: 30px 0;
    text-align: center;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;    
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

footer a:hover {
    color: #d85b41;
}

/* Styling für die Kontaktseite */
#anfrage-formular {
    background-color: whitesmoke;
    padding: 60px 0;
    border-radius: 10px;
    max-width: 1200px;
    margin: 20px auto;
}

.form-container {
    max-width: 600px; 
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: bold;
    font-size: 0.9rem;
    color: #333;
}

.form-group input, 
.form-group textarea {
    padding: 12px;
    border: 2px solid #ccc; 
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
    resize: vertical;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #d85b41; 
    box-shadow: 0 0 5px rgba(216, 91, 65, 0.2);
}

.submit-button {
    width: 100%;
    margin-top: 10px;
    font-weight: bold;
    font-size: 1.1rem;
}

/* 7. Mobile Ansicht (Responsive Design) */
@media (max-width: 768px) {
    /* Header anpassen */
    header {
        flex-direction: column;
        padding: 15px;
        text-align: center;
    }
    
    header nav ul {
        flex-wrap: wrap;
        margin-top: 15px;
        padding: 0;
    }
    
    nav li {
        margin: 5px 10px;
    }

    /* Hero Bereich stauchen */
    .hero-split {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .hero-text {
        align-items: center;
    }

    /* Leistungen untereinander */
    .leistung-container {
        flex-direction: column;
    }

    /* Kontakt Formular anpassen */
    #anfrage-formular {
        padding: 30px 15px;
    }
}