/* --- CSS Variables & Reset --- */
:root {
    --color-bg-dark: #121212;
    --color-bg-light: #f9f7f4; /* A soft, warm beige/grey */
    --color-bg-white: #ffffff;
    --color-text-main: #333333;
    --color-text-light: #aaaaaa;
    --color-copper: #c07c40; /* The accent color */
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-white);
    color: var(--color-text-main);
    line-height: 1.7;
    font-weight: 300;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--color-bg-dark);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--color-bg-white);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

.section-subtitle {
    display: block;
    font-family: var(--font-body);
    color: var(--color-copper);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.text-center { text-align: center; }

/* --- Layout & Components --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

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

/* --- Navigation --- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-main);
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--color-bg-dark);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--color-bg-dark);
    /* HIER IST DIE KORREKTUR: */
    background-image: linear-gradient(rgba(18, 18, 18, 0.6), rgba(18, 18, 18, 0.6)), url('Stolz-Hof-alt.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-bg-white);
    padding-top: 80px; 
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

/* --- Buttons & Links --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid;
}

.btn-primary {
    color: var(--color-copper);
    border-color: var(--color-copper);
}

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

.link-copper {
    color: var(--color-copper);
    text-decoration: none;
    transition: color 0.2s ease;
}

.link-copper:hover {
    color: var(--color-bg-dark);
}

/* --- Section Layouts (Grid) --- */
.layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.premium-img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* --- Product Grid (Sortiment) --- */
.section-intro {
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.product-item {
    background-color: var(--color-bg-white);
    border: 1px solid #eee;
    padding: 2rem;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-bg-dark);
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: default;
}

.product-item:hover {
    border-color: var(--color-copper);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transform: translateY(-5px);
    color: var(--color-copper);
}

/* --- Contact --- */
.contact-card {
    background-color: var(--color-bg-white);
    padding: 3rem;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-top: 3px solid var(--color-copper);
}

address {
    font-style: normal;
    margin-bottom: 1.5rem;
}

/* --- Galerie (Impressionen) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Bilder nebeneinander */
    gap: 2rem;
}

.gallery-img {
    width: 100%;
    height: 300px; /* Alle Bilder bekommen die gleiche Höhe */
    object-fit: cover; /* Bild wird perfekt eingepasst ohne zu verzerren */
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-img:hover {
    transform: translateY(-5px); /* Sanftes Anheben beim Drüberfahren */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* --- Footer --- */
.footer {
    padding: 3rem 0;
    font-size: 0.9rem;
}

.footer-link {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--color-copper);
}

.credits {
    margin-top: 1rem;
    font-size: 0.8rem;
}

/* --- Responsive Design --- */
@media (max-width: 900px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    
    .layout-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .layout-reverse {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr; /* Auf dem Handy werden die Bilder untereinander gezeigt */
    }
    .mobile-menu-btn { display: block; }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-bg-white);
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    
    .nav-links.active {
        max-height: 300px; /* Adjust based on number of links */
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 1.5rem;
        border-bottom: 1px solid #eee;
    }
}