/* ==========================================
   FARBPALETTE & TYPOGRAFIE
   ========================================== */
:root {
    --bg-warm: #FAF6F0;       /* Sanftes Cremeweiß */
    --primary: #45B1B5;        /* Türkis aus dem Logo */
    --primary-hover: #338C90;  /* Dunkleres Türkis für Hover-Effekte */
    --secondary: #6E8E75;      /* Beruhigendes Salbeigrün */
    --text-dark: #3A3530;      /* Weiches Dunkelbraun für Lesbarkeit */
    --white: #FFFFFF;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-warm);
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
header {
    background-color: rgba(250, 246, 240, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(110, 142, 117, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text, .logo {
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--text-dark);
}

/* Standard Navigation (Desktop) */
nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

/* Mobile Toggle-Button (Hamburger) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0 5px;
    box-shadow: none;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn, button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(69, 177, 181, 0.25);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn:hover, button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    color: var(--white);
}

/* ==========================================
   LAYOUT & INHALT
   ========================================== */
.container, .content {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
    flex: 1;
    width: 100%;
}

h1 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 2.2rem;
}

h2 {
    color: var(--primary);
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(69, 177, 181, 0.2);
    padding-bottom: 5px;
}

h3 {
    color: var(--text-dark);
    margin: 20px 0 10px;
}

p {
    margin-bottom: 15px;
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 25px;
}

li {
    margin-bottom: 8px;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
}

.back-link:hover {
    text-decoration: underline;
}

.intro-lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: #5A524A;
    margin-bottom: 25px;
}

/* Responsive Image-Box Container */
.img-box {
    margin: 25px auto;
    width: 80%;
    text-align: center;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.img-box img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

/* ==========================================
   HERO & SECTIONS
   ========================================== */
.hero {
    max-width: 1200px;
    margin: 40px auto 60px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.hero-text .subtitle {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-image {
    height: 380px;
    border-radius: 40px 10px 40px 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(110, 142, 117, 0.2);
}

.services-preview {
    background-color: var(--white);
    padding: 60px 20px;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

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

.card {
    background-color: var(--bg-warm);
    padding: 30px;
    border-radius: 15px;
    border-top: 4px solid var(--primary);
    box-shadow: 0 4px 6px rgba(0,0,0,0.03);
}

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

.team-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    border-left: 5px solid var(--primary);
    display: flex;
    flex-direction: column;
}

.team-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    background-color: var(--bg-warm);
    image-rendering: smooth;
}

.team-card .role {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.team-card .quote {
    font-style: italic;
    color: var(--secondary);
    font-weight: 600;
    margin-top: auto;
    padding-top: 10px;
}

/* ==========================================
   INFO & HIGHLIGHT BOXES
   ========================================== */
.service-box, .info-box, .highlight-box {
    background-color: var(--white);
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 20px 0;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.highlight-box h2 {
    color: var(--primary);
    border-bottom: none;
    margin-top: 0;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background-color: var(--text-dark);
    color: var(--bg-warm);
    padding: 40px 20px 20px;
    font-size: 0.9rem;
    margin-top: 60px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 1px solid #5A524A;
    padding-bottom: 20px;
}

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

.footer-links a {
    color: #C5BCB3;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 15px auto 0;
    display: flex;
    justify-content: space-between;
    color: #8E8377;
    font-size: 0.8rem;
    width: 100%;
}

/* ==========================================
   MOBILE & TABLET OPTIMIERUNGEN (RESPONSIVE)
   ========================================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Hamburger-Icon anzeigen */
    }

    nav {
        width: 100%;
    }

    nav ul {
        display: none; /* Auf Mobilgeräten ausblenden */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--bg-warm);
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        border-bottom: 2px solid var(--primary);
        gap: 15px;
    }

    /* Aufklappbarer Status */
    nav ul.active {
        display: flex;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 8px 0;
        font-size: 1.1rem;
    }

    .hero { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 25px;
        margin: 20px auto 40px;
    }

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

    .hero-image {
        height: 280px;
    }

    .img-box {
        width: 100% !important; /* Bildboxen auf Smartphones voll ausnutzen */
    }

    .container {
        padding: 0 15px;
        margin: 20px auto;
    }

    h1 {
        font-size: 1.8rem;
    }

    .footer-grid, .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-links ul {
        justify-content: center;
        flex-wrap: wrap;
    }
}