/* ======================================================= */
/* SCHRIFTARTEN LOKAL EINBINDEN                            */
/* ======================================================= */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ======================================================= */
/* GRUNDSTILE & CSS-VARIABLEN                              */
/* ======================================================= */
:root {
    --color-background: #ffffff;
    --color-text: #333333;
    --color-primary: #dd0505;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Allgemeiner Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    line-height: 1.7;
    font-size: 16px;
}

/* ======================================================= */
/* HERO-SEKTION (OBERER BEREICH)                           */
/* ======================================================= */
.hero-section {
    min-height: 100vh;
    padding: 280px 20px 150px 20px;
    position: relative; 
    
    background-image: url('../images/SW-Fotolia_43500724_L.jpg');
    background-size: cover;
    background-position: center;

    /* Vignette nur am unteren Rand */
    mask-image: linear-gradient(to top, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, black 80%, transparent 100%);
}

.hero-logo {
    position: absolute;
    top: 5vh;
    right: 20px;
    max-width: 450px; 
    z-index: 10;
}

.hero-content {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

/* Leeres Grid-Element als Abstandshalter */
.spacer-row {
    height: 25px;
    width: 100%;
    display: block;
}

/* NEU: Container für das vertikale Layout der Boxen */
.content-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Container, der die Info-Boxen nebeneinander anordnet */
.info-boxes-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    width: 100%;
}

/* Gemeinsames Styling für beide Info-Boxen */
.info-box {
    padding: 1.5rem 2rem;
    background-color: rgba(255, 255, 255, 0.8); 
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: left;
}

/* Breitenverhältnis der Boxen zueinander */
.about-box {
    flex: 2;
}
.contact-box {
    flex: 1;
}

/* Styling für die Kontaktliste in der rechten Box */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-list li {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
}
.contact-list strong {
    font-weight: 700;
}
.contact-list a {
    color: var(--color-primary);
    text-decoration: none;
}
.contact-list a:hover {
    text-decoration: underline;
}

/* Styling für den Geschäftsführer-Eintrag */
.contact-ceo {
    padding-top: 1rem;
    margin-top: 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-box p {
    font-size: 1.1rem;
}

/* Styling für die Öffnungszeiten */
.opening-hours {
    font-size: 1rem;
    line-height: 1.6;
}
.opening-hours strong {
    font-weight: 700;
}

/* ======================================================= */
/* FOOTER (FUSSZEILE)                                      */
/* ======================================================= */
.site-footer {
    background-color: #1a1a1a;
    color: #f1f1f1;
    text-align: center;
    padding: 2.5rem 2rem;
}

.footer-content {
    max-width: 750px;
    margin: 0 auto;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
}

.site-footer p {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: #a0a0a0;
}

.site-footer a {
    color: var(--color-primary);
    text-decoration: none;
    transition: opacity 0.2s;
}

.site-footer a:hover {
    opacity: 0.8;
}

/* Styling für die rechtlichen Informationen */
.footer-legal {
    margin-top: 2rem;
    border-top: 1px solid #444;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: #888;
}

.footer-legal p {
    margin: 0.5rem 0;
}

.footer-legal a {
    color: #999;
}
.footer-legal a:hover {
    color: var(--color-primary);
}

/* ======================================================= */
/* RESPONSIVE ANPASSUNGEN                                  */
/* ======================================================= */
@media (max-width: 820px) {
    .hero-section {
        padding-top: 5vh;
        padding-bottom: 5vh;
        text-align: center;
    }

    .hero-logo {
        position: static; 
        display: block;
        margin: 0 auto 2.5rem auto; 
        max-width: 80%; 
    }
    
    .hero-content {
        margin-top: 0;
        width: 100%;
    }

    .info-boxes-container {
        flex-direction: column;
    }
    
    .content-grid {
        gap: 1rem; /* Abstand für Mobile reduzieren */
    }

    .info-box {
        padding: 1rem 1.5rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .info-box p, .contact-list li, .opening-hours {
        font-size: 1rem;
    }
}