/* =========================================
   1. GRUNDLAGEN & VARIABLEN
   ========================================= */
:root {
    --primary-green: #557A46; /* Moosgrün - Hauptfarbe */
    --dark-green: #3a5530;
    --accent-color: #8CAB7E;
    --text-color: #333;
    --bg-light: #f9fdf9;
    --white: #ffffff;
    --heading-font: Georgia, 'Times New Roman', Times, serif; 
    --body-font: Arial, Helvetica, sans-serif;
}

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

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mb-large { margin-bottom: 3rem; }

.btn {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: background 0.3s;
}

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

.navbar {
    background: var(--white);
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.logo-text {
    margin-left: 15px;
    font-family: var(--heading-font);
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-color);
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-green);
}

.btn-nav {
    background-color: var(--primary-green);
    color: white !important;
    padding: 10px 20px;
    border-radius: 20px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-green);
}

.hero {
    height: 80vh;
    background-image: url('../JPGs/Hofvonoben.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.sub-hero {
    height: 50vh; 
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 50px;
    background-color: #555;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }

.sub-heading {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.banner-box {
    margin-top: -50px;
    position: relative;
    z-index: 10;
    background: var(--white);
    padding: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.banner-border {
    border: 2px solid var(--primary-green);
    padding: 40px;
    text-align: center;
}

.banner-border h2 { font-size: 2.5rem; color: var(--primary-green); }
.banner-border p { max-width: 700px; margin: 0 auto; font-size: 0.9rem; color: #666; font-weight: 600; }

.split-layout { display: flex; align-items: center; gap: 50px; }
.split-layout.reverse { flex-direction: row-reverse; }
.text-block, .image-block { flex: 1; }
.text-block h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.image-block img { width: 100%; height: auto; border-radius: 5px; box-shadow: 10px 10px 0px var(--accent-color); }

.text-block .btn {
    margin-top: 30px;
}

.detail-content { max-width: 800px; margin: 0 auto; font-size: 1.1rem; line-height: 1.8; }
.detail-list { margin: 20px 0; padding-left: 20px; }
.detail-list li { margin-bottom: 10px; list-style-type: disc; color: var(--dark-green); font-weight: 600; }
.back-link { display: inline-block; margin-top: 30px; color: var(--primary-green); font-weight: bold; text-decoration: underline; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.feature-card:hover { transform: translateY(-5px); }
.feature-img img { width: 100%; height: 250px; object-fit: cover; }
.feature-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }

.map-section { background-color: var(--bg-light); }
.map-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 4px solid var(--primary-green);
}
.map-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.map-placeholder {
    width: 100%; height: 100%;
    position: absolute; top: 0; left: 0;
    background-color: #f0f0f0;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center; padding: 20px;
    color: #555; z-index: 10;
}
.map-placeholder h3 { color: var(--dark-green); margin-bottom: 10px; }
.map-placeholder p { max-width: 400px; margin-bottom: 20px; }
.map-placeholder.hidden { display: none; }

.footer {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 60px 0 20px;
    text-align: center; 
}

.footer-content {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    flex-wrap: wrap; 
    gap: 20px;
    margin-bottom: 40px;
}

.footer-box { flex: 0 1 300px; }
.footer-box:first-child { text-align: left; }
.footer-box:last-child { text-align: right; }

.logo-box {
    flex: 0 0 auto;
    text-align: center;
}

.footer-box h3 { color: var(--white); margin-bottom: 20px; }
.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; font-size: 0.9rem; }

.footer .footer-logo {
    height: 120px !important;
    width: auto !important;
    margin: 0; 
    display: block;
    background-color: transparent; 
    padding: 0;
    border-radius: 0;
}

.footer-legal {
    text-align: center; margin-top: 20px; padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.footer-legal a {
    color: var(--white); font-size: 0.9rem; margin: 0 10px;
    text-decoration: none; opacity: 0.8; transition: opacity 0.3s;
}
.footer-legal a:hover { opacity: 1; text-decoration: underline; }

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    
    .nav-menu {
        position: fixed; left: -100%; top: 80px; flex-direction: column;
        background-color: var(--white); width: 100%; text-align: center; padding: 20px 0;
        transition: 0.3s; box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    }
    .nav-menu.active { left: 0; }
    .nav-menu li { margin: 15px 0; }

    .footer-content { flex-direction: column; text-align: center; }
    .footer-box { flex: 0 0 auto; width: 100%; text-align: center !important; }
    .logo-box { order: -1; margin-bottom: 20px; flex: 0 0 auto; width: auto; }

    .hero {
        background-size: 100% auto;       
        background-repeat: no-repeat;
        background-position: top center;
        background-color: var(--primary-green);
        height: auto;
        min-height: 85vh; 
        align-items: flex-start;
        padding-top: 60vw;
        padding-bottom: 40px;
    }
    .hero-content { text-shadow: none; padding: 0 20px; }
    .hero h1 { font-size: 2.2rem; margin-top: 10px; }

    .sub-hero { height: 40vh; background-size: cover; background-position: center; }
    .split-layout, .split-layout.reverse { flex-direction: column; }
    .banner-border h2 { font-size: 2rem; }
    .feature-img img { height: 200px; }
}

.navbar .logo img.nav-logo {
    height: 50px !important;
    width: auto !important;
    max-width: 100%;
    display: block;
}

/* --- NEUES DESIGN FÜR COOKIE BANNER --- */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background-color: var(--white);
    border-top: 4px solid var(--primary-green);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 20px; z-index: 2000;
    display: none; animation: slideUp 0.5s ease-out;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

.cookie-content {
    max-width: 1200px; margin: 0 auto; display: flex;
    justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 20px;
}
.cookie-content p { margin: 0; font-size: 0.95rem; color: var(--text-color); flex: 1; min-width: 280px; }
.cookie-content a { color: var(--primary-green); text-decoration: underline; font-weight: 600; }

/* Container für die beiden Buttons */
.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* 1. Knopf: Akzeptieren (Dunkelgrün gefüllt) */
.cookie-btn-primary {
    background-color: var(--primary-green); 
    color: white;
    border: 2px solid var(--primary-green); 
    padding: 8px 25px; 
    border-radius: 25px;
    cursor: pointer; 
    font-weight: 600; 
    white-space: nowrap;
    transition: 0.3s;
}
.cookie-btn-primary:hover { 
    background-color: var(--dark-green); 
    border-color: var(--dark-green);
}

/* 2. Knopf: Nur essenzielle (Weiß mit grünem Rand) */
.cookie-btn-secondary {
    background-color: white; 
    color: var(--primary-green);
    border: 2px solid var(--primary-green); 
    padding: 8px 23px; 
    border-radius: 25px;
    cursor: pointer; 
    font-weight: 600; 
    white-space: nowrap;
    transition: 0.3s;
}
.cookie-btn-secondary:hover { 
    background-color: #f0f5f0; /* Ganz helles Grün beim Drüberfahren */
}