/* Grundlegende Stile & Schriftart */
:root {
    --primary-color: #4682B4; /* Stahlblau */
    --secondary-color: #f4f4f4; /* Helles Grau */
    --text-color: #333;
    --white-color: #fff;
    --navbar-height: 70px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background-color: var(--white-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 600;
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
}

.content-section {
    padding: 60px 0;
}

/* Navigationsleiste */
.navbar {
    background: var(--white-color);
    height: var(--navbar-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-menu ul li a {
    color: var(--text-color);
    padding: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu ul li a:hover {
    color: var(--primary-color);
}

/* Hamburger Menü (Standardmäßig versteckt) */
.hamburger-menu {
    display: none;
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}

/* Hero-Sektion (unverändert) */
#hero {
    height: 60vh;
/*    background: url('https://images.pexels.com/photos/4021775/pexels-photo-4021775.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center/cover; */
    background: url('images/head.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white-color);
}
.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px 50px;
    border-radius: 10px;
}
.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Restliche Sektionen (Stile bleiben großteils gleich) */
/* ... (kopiere die Stile für Leistungen, Team, Kontakt, Footer und Legal-Pages aus der vorherigen Antwort hier hinein) ... */
.leistungen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; text-align: center; }
.leistung-item { background: var(--secondary-color); padding: 30px; border-radius: 8px; transition: transform 0.3s ease; }
.leistung-item:hover { transform: translateY(-5px); }
.leistung-item svg { color: var(--primary-color); margin-bottom: 15px; }
#team { background-color: var(--secondary-color); }
.leistung-item-link {
    text-decoration: none;
    color: inherit;
    display: flex; /* Sorgt dafür, dass der Link den Raum füllt */
}

.leistung-item {
    display: flex;
    flex-direction: column; /* Ordnet Inhalt (Icon, Titel, Text) untereinander an */
    flex-grow: 1; /* Lässt das Item wachsen, um den Link auszufüllen */
    align-items: center; /* Zentriert die Elemente horizontal in der Spalte */
    justify-content: flex-start; /* Stellt sicher, dass der Inhalt oben beginnt */
}

.leistung-item h3 {
    margin-top: 0; /* Entfernt den Standard-Oberrand */
    margin-bottom: 10px; /* Konsistenter Abstand unter dem Titel */
}

.leistung-item p {
    flex-grow: 1; /* Lässt den Absatz den restlichen vertikalen Raum einnehmen */
    margin-top: 0; /* Entfernt den Standard-Oberrand */
    margin-bottom: 0; /* Entfernt den Standard-Unterrand */
}

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.team-card { background: var(--white-color); border-radius: 8px; overflow: hidden; text-align: center; box-shadow: 0 4px 8px rgba(0,0,0,0.1); transition: transform 0.3s ease; }
.team-card:hover { transform: translateY(-10px); }
.team-card img { width: 100%; height: 250px; object-fit: cover; }
.team-card h3 { margin-top: 20px; font-size: 1.5rem; }
.team-card h4 { color: var(--primary-color); font-weight: 600; margin-top: -10px; }
.team-card p { padding: 0 20px 20px 20px; }
.kontakt-details p, .oeffnungszeiten {
    font-size: 1.1rem; /* Schriftgröße leicht erhöht */
}


.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: flex-start; }
.kontakt-details a { color: var(--primary-color); text-decoration: none; }
.kontakt-details a:hover { text-decoration: underline; }
.oeffnungszeiten { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.oeffnungszeiten td { padding: 8px; border-bottom: 1px solid #ddd; }
.oeffnungszeiten tr:last-child td { border-bottom: none; }
.kontakt-karte iframe { border-radius: 8px; }
footer { background: var(--text-color); color: var(--white-color); text-align: center; padding: 20px 0; }
footer .container { display: flex; justify-content: space-between; align-items: center; }
footer a { color: var(--white-color); text-decoration: none; margin: 0 10px; }
.legal-page { padding: 40px 20px; min-height: 60vh; }
.legal-page h1 { color: var(--primary-color); margin-bottom: 30px; }
.legal-page h2 { text-align: left; font-size: 1.8rem; margin-top: 30px; }
.legal-disclaimer { margin-top: 30px; font-style: italic; color: #666; }
.button-primary { display: inline-block; background-color: var(--primary-color); color: var(--white-color); padding: 10px 20px; border-radius: 5px; text-decoration: none; margin-top: 20px; transition: background-color 0.3s ease; }

/* Stile für Bilder auf den Leistungsseiten */
.leistung-image-wrapper {
    float: right;
    width: 40%;
    max-width: 350px;
    margin-left: 30px;
    margin-bottom: 20px;
}
.leistung-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.button-primary:hover { background-color: #366a93; }

.button-secondary { display: inline-block; background-color: #6c757d; color: var(--white-color); padding: 10px 20px; border-radius: 5px; text-decoration: none; margin-top: 20px; transition: background-color 0.3s ease; border: none; cursor: pointer; font-family: 'Open Sans', sans-serif; font-size: 1rem; }
.button-secondary:hover { background-color: #5a6268; }




/* ====================================================== */
/* NEUE STILE FÜR "AKTUELLES" */
/* ====================================================== */
#aktuelles {
    background-color: var(--secondary-color); /* Helles Grau als Hintergrund */
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.news-card .news-date {
    font-size: 0.9rem;
    color: #777;
    margin-top: 0;
    margin-bottom: 10px;
}

.news-card h3 {
    font-size: 1.4rem;
    margin-top: 0;
    color: var(--primary-color);
}

.news-archive-grid {
    display: grid;
    grid-template-columns: 1fr; /* Nur eine Spalte für das Archiv */
    gap: 30px;
}

/* ########## COOKIE BANNER STYLES ########## */
.cookie-banner {
    display: none; /* Standardmäßig versteckt, wird per JS angezeigt */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(30, 30, 30, 0.95);
    color: var(--white-color);
    padding: 20px 0;
    z-index: 2000; /* Über allen anderen Elementen */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    align-items: center;
    justify-content: center;
}

.cookie-banner .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.95rem;
    flex-grow: 1;
}

.cookie-banner a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}


/* ########## RESPONSIVE DESIGN - MEDIA QUERIES ########## */
@media (max-width: 820px) {
    .nav-brand { font-size: 1.2rem; }
    
    /* Desktop-Navigation ausblenden */
    .nav-menu {
        display: none; /* Menü standardmäßig verstecken */
        position: absolute;
        top: var(--navbar-height);
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    /* Wenn Menü aktiv ist, anzeigen */
    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column; /* Links untereinander anordnen */
        width: 100%;
    }

    .nav-menu ul li a {
        display: block; /* Links füllen die gesamte Breite aus */
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid var(--secondary-color);
    }

    /* Hamburger-Icon einblenden */
    .hamburger-menu {
        display: block;
    }
    
    /* Animation für Hamburger-Icon zu einem "X" */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Weitere Anpassungen für kleinere Bildschirme */
    .kontakt-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2rem; }
    footer .container { flex-direction: column; gap: 10px;}
}

/* Bild auf Leistungsseiten auf mobilen Geräten */
@media (max-width: 768px) {
    .leistung-image-wrapper {
        float: none;
        width: 100%;
        max-width: none;
        margin: 0 0 30px 0;
    }

@media (max-width: 768px) {
    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner p {
        margin-bottom: 15px;
    }
}