/* --- Variables & Reset --- */
:root {
    --primary-color: #0e3b43; /* Deep Lake Green */
    --accent-color: #c9a227;  /* Gold/Smoked Fish */
    --text-color: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --transition: all 0.3s ease;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

.overline {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--accent-color);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

/* --- Layout Utility --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

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

.bg-dark {
    background-color: var(--primary-color);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--accent-color);
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: #b08d1f;
    border-color: #b08d1f;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo .highlight {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-nav {
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
}

.btn-nav:hover {
    background-color: var(--primary-color);
    color: white !important;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* --- Hero --- */
.hero {
    height: 100vh;
    width: 100%;
    background-image: url('../img/fzu-oben.JPG');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(14, 59, 67, 0.7), rgba(14, 59, 67, 0.5));
    z-index: 1;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* --- Features / About --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
}

/* --- Image Break --- */
.image-break {
    background-image: url('../img/inhaber-teiche.JPG');
    background-attachment: fixed; /* Parallax effect */
    background-size: cover;
    background-position: center;
    padding: 8rem 0;
    position: relative;
    text-align: center;
}

.image-break::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 59, 67, 0.7);
}

.image-break h3 {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 2rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto;
}

.image-break p {
    position: relative;
    z-index: 2;
    margin-top: 2rem;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Products --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-item {
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.product-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.product-item:hover img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.product-info p {
    color: var(--text-light);
}

/* --- Contact --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info {
    color: rgba(255,255,255,0.8);
}

.contact-info h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.contact-list {
    margin-top: 2.5rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-list i {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-right: 1rem;
    width: 40px;
    text-align: center;
}

.contact-list a {
    color: white;
    transition: var(--transition);
}

.contact-list a:hover {
    color: var(--accent-color);
}

.contact-map-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    position: relative;
}

.map-placeholder {
    height: 100%;
    width: 100%;
    background-color: #e9ecef;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-placeholder h3 {
    margin-bottom: 0.5rem;
}

.map-placeholder p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* --- Footer --- */
footer {
    background-color: #08262b; /* Darker than primary */
    padding: 2rem 0;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    margin-left: 1.5rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* --- Hofladen --- */
.hofladen-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hofladen-text h2 {
    margin-bottom: 1.5rem;
}

.hofladen-list {
    margin: 2rem 0;
}

.hofladen-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.hofladen-list i {
    color: var(--accent-color);
    margin-right: 0.8rem;
    font-size: 1.4rem;
}

.hofladen-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 400px;
    object-fit: cover;
}

/* --- Opening Hours --- */
#opening-times {
    scroll-margin-top: 120px; /* Offset for fixed navbar */
}

.opening-hours-container {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.opening-hours-container h3 {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.opening-hours-container h3 i {
    margin-right: 0.5rem;
}

.hours-grid {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hours-row.closed {
    color: rgba(255,255,255,0.5);
}

.hours-row .day {
    font-weight: 600;
}

.google-ref-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.google-ref-link:hover {
    color: var(--accent-color);
}

.google-ref-link i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* Ensure map fills container */
.contact-map-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .hofladen-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hofladen-image {
        order: -1;
    }
    .hofladen-image img {
        height: 250px;
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Add JS toggle later if needed, simple hide for now */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .btn-primary {
        display: block;
        width: 100%;
        text-align: center;
    }
}
/* --- Privacy Placeholders (2-Click-Solution) --- */
.privacy-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.map-placeholder {
    min-height: 400px;
    /* background-image: url('../img/map-placeholder.jpg'); Optional: Add a screenshot later */
    background-color: #eee;
    background-size: cover;
    background-position: center;
}

.rating-placeholder {
    padding: 1rem;
    background-color: transparent;
}

.privacy-overlay {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 8px;
    max-width: 80%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.privacy-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.privacy-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.btn-privacy {
    cursor: pointer;
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: -100%; /* Hidden by default */
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
    padding: 1.5rem;
    z-index: 9999;
    transition: bottom 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-top: 4px solid var(--primary-color);
}

.cookie-banner.visible {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-text {
    flex: 1 1 600px;
}

.cookie-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.5;
}

.cookie-text a {
    text-decoration: underline;
    color: var(--primary-color);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* --- Cookie Banner Button Overrides --- */
.cookie-banner .btn-outline {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.cookie-banner .btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Missing utility class btn-sm */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}
