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

:root {
    --blue: #1a3a5c;
    --blue-light: #2a5a8c;
    --red: #c0392b;
    --cream: #f9f6f1;
    --white: #ffffff;
    --gray: #555;
    --gray-light: #e8e4df;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: #333;
    line-height: 1.7;
    background: var(--cream);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--blue);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

nav .logo {
    height: 50px;
}

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

nav .nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

nav .nav-links a:hover {
    opacity: 0.8;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero */
.hero {
    margin-top: 70px;
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/fisch.jpg') center/cover no-repeat;
    filter: brightness(0.4);
}

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

.hero-content img {
    width: 280px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-content .cta {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background: var(--red);
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.hero-content .cta:hover {
    background: #a93226;
}

/* Section Base */
section {
    padding: 5rem 2rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--blue);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 3rem;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Ueber Uns */
.ueber-uns {
    background: var(--white);
}

.ueber-uns-text {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
}

.ueber-uns-text p {
    margin-bottom: 1.2rem;
}

.highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--cream);
    border-radius: 4px;
}

.historie-fotos {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.historie-fotos img {
    max-width: 45%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    filter: sepia(0.1);
}

.highlight-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--blue);
}

.highlight-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--blue);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.highlight-card p {
    font-size: 0.95rem;
    color: var(--gray);
}

/* Wochenmaerkte */
.wochenmaerkte {
    background: var(--cream);
}

.wochenmaerkte-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    color: var(--gray);
    font-size: 1.05rem;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.market-card {
    background: var(--white);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    border-top: 4px solid var(--blue);
    transition: transform 0.3s, box-shadow 0.3s;
}

.market-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.market-card .day {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--blue);
    margin-bottom: 0.3rem;
}

.market-card .location {
    font-weight: 600;
    color: var(--red);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.market-card .time {
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--blue);
    margin-bottom: 0.5rem;
}

.market-card .address {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.market-card .note {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: var(--red);
    font-weight: 600;
}

/* Galerie */
.galerie {
    padding: 0;
}

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.galerie-item {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

/* Produkte */
.produkte {
    background: var(--blue);
    color: var(--white);
}

.produkte .section-title {
    color: var(--white);
}

.produkte .section-subtitle {
    color: rgba(255,255,255,0.6);
}

.produkte-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
}

.produkt-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.produkt-tags span {
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(255,255,255,0.3);
    font-size: 0.95rem;
    font-weight: 300;
}

/* Kontakt */
.kontakt {
    background: var(--white);
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.kontakt-info h3 {
    font-family: 'Playfair Display', serif;
    color: var(--blue);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.kontakt-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.kontakt-item .label {
    font-weight: 600;
    color: var(--blue);
    min-width: 80px;
}

.kontakt-item .value {
    color: var(--gray);
}

.kontakt-item a {
    color: var(--red);
    text-decoration: none;
}

.kontakt-item a:hover {
    text-decoration: underline;
}

.kontakt-order {
    background: var(--cream);
    padding: 2rem;
    border-left: 4px solid var(--red);
}

.kontakt-order h3 {
    font-family: 'Playfair Display', serif;
    color: var(--blue);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.kontakt-order p {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.kontakt-order .phone {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--blue);
}

/* Footer */
footer {
    background: #111;
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 2rem;
    font-size: 0.85rem;
}

footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Legal Pages */
.legal-page {
    margin-top: 70px;
    padding: 4rem 2rem;
    background: var(--white);
    min-height: calc(100vh - 70px - 80px);
}

.legal-page .container {
    max-width: 800px;
}

.legal-page h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--blue);
    margin-bottom: 2rem;
}

.legal-page h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--blue);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-page h3 {
    font-size: 1.1rem;
    color: var(--blue);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-page p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.legal-page ul {
    color: var(--gray);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-page li {
    margin-bottom: 0.3rem;
}

.legal-page a {
    color: var(--red);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--blue);
    color: var(--white);
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    z-index: 200;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-banner p {
    font-size: 0.9rem;
    flex: 1;
    margin: 0;
}

.cookie-banner p a {
    color: rgba(255,255,255,0.8);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
}

.cookie-buttons button {
    padding: 0.5rem 1.5rem;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: opacity 0.3s;
}

.cookie-buttons button:hover {
    opacity: 0.85;
}

.cookie-accept {
    background: var(--red);
    color: white;
}

.cookie-decline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.4) !important;
}

.cookie-banner.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    nav .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--blue);
        flex-direction: column;
        padding: 1rem 2rem 2rem;
        gap: 1rem;
    }

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

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content img {
        width: 200px;
    }

    .highlights {
        grid-template-columns: 1fr;
    }

    .market-grid {
        grid-template-columns: 1fr;
    }

    .kontakt-grid {
        grid-template-columns: 1fr;
    }

    .galerie-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .historie-fotos {
        flex-direction: column;
        align-items: center;
    }

    .historie-fotos img {
        max-width: 90%;
    }

    section {
        padding: 3rem 1.5rem;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
