/* ==========================================================================
   DSGVO LOKALE SCHRIFTARTEN (FONTS)
   ========================================================================== */

/* Montserrat für Überschriften */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/montserrat-v26-latin-700.woff2') format('woff2');
}

/* Roboto für den Fließtext */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/roboto-v30-latin-regular.woff2') format('woff2');
}

/* ==========================================================================
   FARBVARIABLEN UND GLOBALESTYLING
   ========================================================================== */
:root {
    --primary-blue: #0056b3;     /* Hauptblau */
    --accent-blue: #0088cc;      /* Helles Akzentblau */
    --dark-blue: #003366;        /* Dunkelblau für Text/Header */
    --bg-white: #ffffff;         /* Hauptfarbe Weiß */
    --bg-light: #f4f7f9;         /* Hellgrau für Abschnitte */
    --text-color: #333333;       /* Lesbarer Dunkelgrauer Text */
    --text-muted: #666666;
    --border-color: #e0e0e0;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* Reset & Basics */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container Klasse */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-blue);
    margin: 10px auto 0;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
}

.btn-secondary {
    background-color: var(--accent-blue);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-img {
    max-height: 50px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-blue);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--dark-blue);
    border-radius: 10px;
}

/* ==========================================================================
   HERO & BEREICHE
   ========================================================================== */
.hero-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.hero-text .subtitle {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--text-muted);
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.rounded-img {
    border-radius: 8px;
}

/* URLAUBSZEITEN */
.vacation-notice {
    background-color: #e6f0fa;
    border-top: 2px solid var(--accent-blue);
    border-bottom: 2px solid var(--accent-blue);
    padding: 15px 0;
}

.alert-box {
    color: var(--dark-blue);
    text-align: center;
    font-size: 1.05rem;
}

/* ==========================================================================
   AKKORDEON LEISTUNGEN (KORRIGIERT)
   ========================================================================== */
.accordion-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: border-color 0.3s ease;
}

.accordion-header {
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.accordion-header:hover {
    background-color: #f8fafd;
    color: var(--primary-blue);
}

.accordion-header .icon {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

/* STANDARDMÄßIG VERSTECKT */
.accordion-content {
    display: none;
    padding: 20px 24px;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.accordion-content p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

/* AKTIER ZUSTAND (WENN KLASSE ACTIVE VORHANDEN IST) */
.accordion-item.active {
    border-color: var(--primary-blue);
}

.accordion-item.active .accordion-header {
    background-color: var(--primary-blue);
    color: var(--bg-white);
}

.accordion-item.active .accordion-header .icon {
    color: var(--bg-white);
    transform: rotate(45deg); /* Dreht das + zu einem x */
}

.accordion-item.active .accordion-content {
    display: block; /* Zeigt den Inhalt beim Öffnen an */
}

/* ==========================================================================
   TEAM GRID
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
    padding-bottom: 20px;
}

.team-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    margin-bottom: 15px;
}

.team-role {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   SPRECHZEITEN
   ========================================================================== */
.hours-box {
    background: var(--bg-white);
    display: inline-block;
    padding: 30px 50px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hours-time {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

/* ==========================================================================
   KONTAKTFORMULAR & GOOGLE MAPS
   ========================================================================== */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
}

.checkbox-group {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.checkbox-group label {
    font-weight: normal;
    font-size: 0.85rem;
}

.form-feedback {
    margin-top: 15px;
    font-weight: 700;
}

/* Maps 2-Klick Styling */
.map-placeholder {
    width: 100%;
    height: 380px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 20px;
    text-align: center;
}

.map-notice p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--dark-blue);
    color: var(--bg-white);
    padding: 30px 0;
    font-size: 0.9rem;
}

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

.footer-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.footer-links a {
    color: var(--bg-white);
    text-decoration: none;
}

/* ==========================================================================
   DSGVO COOKIE BANNER
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-blue);
    color: var(--bg-white);
    padding: 20px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    z-index: 2000;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.cookie-content h3 {
    color: var(--bg-white);
    margin-bottom: 10px;
}

.cookie-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-cookie-accept {
    background-color: #28a745;
    color: white;
}

.btn-cookie-reject {
    background-color: #dc3545;
    color: white;
}

.btn-cookie-custom {
    background-color: #6c757d;
    color: white;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-container,
    .grid-2-col {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}