﻿/* Grundfarben */
:root {
    --gold: #f2d45c;
    --green: #2f4f2f;
    --dark: #222;
    --light-bg: #fff8e0;
    --white: #ffffff;
    --yellow: #ffe668;
}

/* --- Header Grundlayout --- */
.main-header {
    position: sticky;
    top: 0;
    background-color: var(--yellow);
    height: 140px;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.15);
}

/* Container für Logo + + Titel + Navigation */
.header-container {
    display: grid;
    grid-template-columns: auto 1fr auto; /* Links – Mitte – Rechts */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo links */
.header-left {
    display: flex;
    align-items: center;
}

/* Logo */
.logo {
    height: 120px;
    width: auto;
    object-fit: contain;
}

/* Titel in der Mitte */
.header-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Titel-Layout */
.site-title {
    font-size: 2.6rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.1;
}

/* Navigation rechts */
.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.main-nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
}

.main-nav a:hover {
        color: #800000; /* Weinrot – passt gut zu deinem Thema */
}

#about {
    scroll-margin-top: 150px; /* Springmarke unter dem Header statt am Seitenanfang */
}

#kontakt {
    scroll-margin-top: 150px; /* Springmarke unter dem Header statt am Seitenanfang */
}

/* Allgemein */
body {
    padding-top: 0;
    background-image: url("images/background2.jpg");
    background-size: cover; /* Bild füllt den Bildschirm */
    background-attachment: fixed; /* Parallax-Effekt */
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    font-family: "Lato", sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: "Playfair Display", serif;
    color: var(--green);
}


.section {
max-width: 1100px;
margin: 60px auto;
padding: 40px;
background: rgba(255, 255, 255, 0.85); /* weiß, leicht transparent */
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.section.light {
    background: var(--light-bg); /* gelblicher Hintergrund, nicht transparent */
}

.section.dark {
    background: var(--green); /* grüner Hintergrund, nicht transparent */
    color: var(--white);
}

.section.dark h2 {
    color: var(--white);
}

/* HERO */
.hero {
    position: relative;
    min-height: 90vh;
    background-image: url("images/hero_pc.png");
    background-size: cover;
    background-position: center 0px;
    display: flex;
    justify-content: flex-start; /* LINKS */
    align-items: flex-end; /* UNTEN */
    padding: 0px 20px 60px 20px; /* unten + links Abstand */
}

/* Die Box hinter dem Text */
.hero-textbox {
    background: rgba(0, 0, 0, 0.45);
    padding: 30px 40px;
    border-radius: 10px;
    text-align: center;
    color: white;
    max-width: 700px;
    z-index: 2;
    margin-bottom: 120px; /* Box höher schieben */
}

/* MOBILE HERO */
@media (max-width: 768px) {

    .hero {
        background-image: url("images/hero_mob.png");
        min-height: 80vh; /* etwas kompakter */
        padding: 0 15px 40px 15px; /* weniger Rand */
        background-position: center; /* Bild sauber zentriert */
    }

    .hero-textbox {
        margin-bottom: 40px; /* Box höher, aber nicht zu hoch */
        padding: 20px 25px; /* kompakter für kleine Screens */
        max-width: 90%; /* passt sich der Breite an */
        font-size: 0.95rem; /* etwas kleinere Schrift */
    }

    .hero-textbox .subtitle {
        font-size: 1rem; /* Untertitel lesbar halten */
    }

    .hero-textbox p {
        font-size: 0.95rem;
    }

    .hero-textbox .btn {
        padding: 12px 20px; /* Daumenfreundlich */
        font-size: 1rem;
    }
}

/* Burger-Button */
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1000;
}

    .burger span {
        width: 28px;
        height: 3px;
        background: white;
        border-radius: 2px;
    }

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0,0,0,0.9);
    padding: 20px;
    border-radius: 0 0 0 10px;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

/* Mobiles Home-Menü auf impressum, datenschutz, usw. */
.mobile-home {
    display: none;
    padding: 5px;
}

.mobile-home svg {
    stroke: white;
    transition: opacity 0.3s ease;
}

.mobile-home:hover svg {
    opacity: 0.7;
}

@media (max-width: 768px) {

    /* Desktop-Navigation ausblenden */
    .main-nav {
        display: none;
    }

    /* Burger anzeigen */
    .burger {
        display: flex;
        align-items: center;
        padding: 5px;
    }

    /* Mobile Navigation sichtbar, wenn aktiv */
    .mobile-nav.active {
        display: flex;
    }

    /* Header kompakter */
    .main-header {
        padding: 10px 20px;
    }

    /* Startseite-Textlink ausblenden */
   .main-nav {
        display: none;
    }

   /* Mobile Home Link anzeigen*/ 
   .mobile-home {
        display: flex;
        align-items: center;
    }

   /* Titelgröße mobil anpassen */ 
   .site-title {
        font-size: 1.2rem;
        text-align: center;
    }
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: var(--white);
    border: 2px solid var(--green);
    color: var(--green);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.btn:hover {
    background-color: var(--yellow);
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}

/* Über uns */
.more-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--green);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: -0.2px;
    font-size: 1.03rem;
}

.more-link:hover {
    opacity: 0.8;
}

.verband-logos img {
    height: 60px;
    margin: 10px;
    opacity: 0.9;
}

/* Leistungen */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-box {
    background: var(--white);
    padding: 20px;
    border-left: 5px solid var(--gold);
    border-radius: 5px;
}

/* Galerie */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 15px;
}

.gallery img {
    width: 100%;
    border-radius: 5px;
    transition: transform 0.3s ease; /* weiche Animation */
}

    .gallery img:hover {
        transform: scale(1.05); /* leichtes Zoomen */
        box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    }




/* Copyright-Hinweis unter dem Bild */
.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* rechtsbündig */
}

.img-copy {
    font-size: 0.65rem;
    color: #666;
    margin-top: 4px;
    opacity: 0.8;
}


/* Kontakt */
.contact-info a {
    color: var(--white);
    text-decoration: underline;
}

.kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin-top: 30px;
}

.kontakt-form label {
    font-weight: bold;
    color: white;
}

.kontakt-form input,
.kontakt-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
}

.kontakt-form button {
    margin-top: 10px;
}

.kontakt-form button:hover {
    background-color: var(--yellow);
}

.kontakt-hinweis a {
    font-size: 1.2rem;
    color: #ffffff; /* oder eine andere Farbe */
    text-decoration: none;
}

.kontakt-hinweis a:hover {
    color: var(--yellow);
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.5); 
}



/* DSGVO-Hinweis */
.ds-hinweis {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 10px;
    color: white;
    max-width: 600px;
}

.ds-hinweis a {
    color: #ffff;
    text-decoration: underline;
}

/* Danke-Antwort des Kontaktformulars */
.thanks-center {
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertikal */
    align-items: center; /* horizontal */
    text-align: center;
    min-height: 60vh; /* sorgt für schöne Höhe */
    gap: 20px; /* Abstand zwischen Text und Button */
}

.thanks-icon {
    margin-bottom: 10px;
    opacity: 0.9;
}

.thanks-icon svg {
    filter: drop-shadow(0 0 6px rgba(76, 175, 80, 0.6));
}

/* Footer */
.main-footer {
    background-color: var(--yellow); /* gleiche Farbe wie Header */
    padding: 20px 0;
    margin-top: 40px;
    width: 100%; /* sorgt für volle Breite */
    border-top: 1px solid rgba(0,0,0,0.15); /* gleiche Linie wie unter dem Header */
}

.footer-container {
    max-width: 1200px; /* exakt wie header-container */
    margin: 0 auto;
    text-align: center;
    color: #333;
    font-size: 1rem;
}



