/* ===========================
   Farb- & Typografie-Konzept
   =========================== */

:root {
    --primary: #7A4E2A;       /* warmes Pferdebraun */
    --secondary: #3A3A3C;     /* schiefergrau */
    --accent: #556B2F;        /* moosgrün */
    --bg: #E8E2D6;            /* hellbeige (Seitenhintergrund) */
    --bg-soft: #F4EFE7;       /* zartes beige (Boxen, Kontakt) */

    --font-head: 'Lora', serif;
    --font-body: 'Source Sans Pro', sans-serif;
}

/* ===========================
   Grundlayout
   =========================== */

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--secondary);
    line-height: 1.6;
}

/* ===========================
   Hero-Bereich
   =========================== */

.hero {
    background: url("../images/hero.jpg") center/cover no-repeat;
    height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-text h1 {
    font-family: var(--font-head);
    font-size: 3rem;
    margin: 0;
}

.hero-text p {
    font-size: 1.4rem;
    margin-top: .5rem;
}

/* ===========================
   Navigation (modernisiert)
   =========================== */

.main-nav {
    background: var(--primary);
    border-bottom: 4px solid var(--accent);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: .8rem 0;
    text-align: center;
}

.main-nav li {
    display: inline-block;
    margin: 0 1.2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--bg-soft);
    font-weight: bold;
    font-size: 1.2rem;
    padding-bottom: .3rem;
    transition: color .2s, border-bottom .2s;
}

.main-nav a.active,
.main-nav a:hover {
    color: white;
    border-bottom: 3px solid var(--accent);
}

/* ===========================
   Inhalt
   =========================== */

.content {
    max-width: 1100px;
    margin: auto;
    padding: 2rem 1rem;
}

h2 {
    font-family: var(--font-head);
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    padding-bottom: .3rem;
    margin-top: 2rem;
}

/* ===========================
   Video responsive
   =========================== */

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper video {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* ===========================
   Galerie (ohne Lightbox)
   =========================== */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.caption {
    font-size: .9rem;
    color: var(--secondary);
    margin-top: .5rem;
}

/* ===========================
   Kontaktbereich
   =========================== */

.contact {
    background: var(--bg-soft);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.contact p {
    line-height: 1.5;
}

/* ===========================
   Footer
   =========================== */

.footer {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--secondary);
}

.footer a {
    color: var(--primary);
    text-decoration: none;
}

.footer a:hover {
    color: var(--accent);
}

/* ===========================
   Mobile Optimierung
   =========================== */

@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }
    .hero-text p {
        font-size: 1.1rem;
    }
    .main-nav li {
        margin: 0 .6rem;
    }
}