/* -----------------------------------
   Grundlayout & Reset
----------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    line-height: 1.6;
    color: #222;
    background: #f8f8f8;
}

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

/* -----------------------------------
   Farben & Variablen
----------------------------------- */

:root {
    --primary: #7bb062;
    --primary-dark: #6fa958;
    --text: #222;
    --light-bg: #f0f4ed;
    --gray: #666;
    --light-gray: #ddd;
    --white: #fff;

    --radius: 12px;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* -----------------------------------
   Header / Navigation
----------------------------------- */

.site-header {
    background: var(--white);
    padding: 12px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    gap: 12px;
    text-decoration: none;
    align-items: center;
}

.logo-icon img {
    height: 42px;
    width: auto;
    display: block;
}

.logo-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text);
}

.logo-subtitle {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 22px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a.active {
    color: var(--primary);
    font-weight: 700;
}

/* Mobile Menü Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
}

/* -----------------------------------
   Buttons
----------------------------------- */

.btn {
    background: var(--primary);
    color: var(--white);
    padding: 10px 18px;
    border-radius: var(--radius);
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
    font-weight: 600;
}

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

.btn-secondary {
    background: #eee;
    color: var(--text);
}

.btn-secondary:hover {
    background: #ddd;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-small {
    padding: 8px 14px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 14px 24px;
    font-size: 1.1rem;
}

/* -----------------------------------
   HERO – Persönlich & Modern
----------------------------------- */

.hero-simple {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #f5faf1, #f8f8f8);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.hero-simple h1 {
    font-size: 2.1rem;
    margin-bottom: 16px;
}

.hero-simple p {
    max-width: 540px;
    margin-bottom: 16px;
}

.hero-actions {
    margin-top: 16px;
    display: flex;
    gap: 12px;
}

/* Hero Bildseite */
.hero-media {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-end;
}

.hero-photo {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #ccc;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-tagline-card {
    background: var(--white);
    padding: 10px 14px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.pill {
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--light-bg);
}

/* -----------------------------------
   Sektionen
----------------------------------- */

.section {
    padding: 60px 0;
    background: var(--white);
}

.section-light {
    background: var(--white);
}

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

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

/* -----------------------------------
   Feature-Karten (3er Grid)
----------------------------------- */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background: #fafafa;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}

.feature-card h3 {
    margin-bottom: 10px;
}

.feature-card p {
    flex-grow: 1;
    margin-bottom: 14px;
}

.card-link {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

/* -----------------------------------
   Galerie-Streifen
----------------------------------- */

.section-gallery {
    background: #f3f6f0;
    padding: 40px 0;
}

.gallery-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: 14px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.gallery-item figcaption {
    padding: 10px 12px;
    font-size: 0.9rem;
    color: var(--gray);
    background: var(--white);
}

/* -----------------------------------
   Über-mich / Persönlich
----------------------------------- */

.about-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: center;
}

.about-photo img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

/* -----------------------------------
   CTA
----------------------------------- */

.section-cta {
    background: var(--primary);
    color: var(--white);
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* -----------------------------------
   Footer
----------------------------------- */

.site-footer {
    background: #333;
    color: var(--white);
    padding: 30px 0;
    margin-top: 40px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

/* -----------------------------------
   Responsive Design
----------------------------------- */

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-media {
        align-items: flex-start;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .gallery-strip {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-photo {
        max-width: 260px;
    }
}

@media (max-width: 768px) {

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        right: 10px;
        background: var(--white);
        padding: 20px;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

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

    .main-nav ul {
        flex-direction: column;
        gap: 12px;
    }
}
