* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #D4A574;
    --secondary-color: #8B4513;
    --accent-color: #F5E6D3;
    --text-dark: #2C1810;
    --text-light: #6B5B4F;
    --white: #FFFFFF;
    --cream: #FAF7F2;
    --gradient: linear-gradient(135deg, #D4A574 0%, #B8956A 100%);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--cream);
    overflow-x: hidden;
    background-image: url(https://brotladen-dresden.de//assets/img/BaeckereiGraf0049-682x1024.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
}

.header-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    margin-top: 120px;
    padding: 60px 0;
}

/* Gemeinsame Container-Klasse für beide Seiten */
.legal-container,
.impressum-container,
.datenschutz-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 60px;
    border: 1px solid var(--accent-color);
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.7;
}

/* Gemeinsame Abschnitts-Klassen für beide Seiten */
.legal-section,
.impressum-section,
.datenschutz-section {
    margin-bottom: 2rem;
}

.legal-section h3,
.impressum-section h3,
.datenschutz-section h3 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.contact-info {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.contact-info strong {
    color: var(--primary-color);
    font-weight: 600;
}

.legal-text {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
}

.legal-text p {
    margin-bottom: 1rem;
}

.legal-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-text ul li {
    margin-bottom: 0.5rem;
}

.legal-section:not(:first-child) {
    border-top: 1px solid var(--accent-color);
    padding-top: 1rem;
}

/* Spezielle Styles für Datenschutz */
.highlight-box {
    background: linear-gradient(135deg, var(--accent-color) 0%, rgba(212, 165, 116, 0.1) 100%);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.highlight-box h4 {
    color: var(--secondary-color);
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

.contact-section {
    background: var(--cream);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
    text-align: center;
}

.contact-section h4 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 100px;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Mobile menu overlay */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.1);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-menu.active::before {
        opacity: 1;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease;
        position: relative;
        background: transparent;
        border: none;
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-toggle:active {
        transform: scale(0.95);
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Better touch target for mobile */
    .nav-toggle span {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .legal-container,
    .impressum-container,
    .datenschutz-container {
        padding: 40px 30px;
        margin: 0 20px;
    }

    .page-title {
        font-size: 2rem;
    }

    .main-content {
        margin-top: 100px;
        padding: 30px 0;
    }
}

@media (max-width: 480px) {
    .legal-container,
    .impressum-container,
    .datenschutz-container {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .page-title {
        font-size: 1.8rem;
    }
} 