/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Preistempel Markenfarben - orientiert an typischen Baumarkt-Flyern */
    --primary-color: #d32f2f;
    --primary-dark: #b71c1c;
    --secondary-color: #ff9800;
    --accent-yellow: #ffeb3b;
    --accent-green: #4caf50;
    --success-color: #4caf50;
    --danger-color: #f44336;
    --warning-color: #ff9800;
    --text-dark: #212121;
    --text-light: #757575;
    --background-light: #fafafa;
    --background-white: #ffffff;
    --background-sale: #fff3e0;
    --border-color: #e0e0e0;
    --price-tag-bg: #ffeb3b;
    --price-tag-border: #fbc02d;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-price: 0 3px 8px rgba(251, 192, 45, 0.3);
    --border-radius: 0.375rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1.25rem;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
}

/* Baumarkt-typische Schriftarten */
h1, h2, h3, .logo, .hero-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

.price-tag, .discount, .offer-badge {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.header {
    background: var(--background-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.tagline {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 0.25rem;
}

.mobile-menu-toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    background: #fff;
    color: var(--primary-dark);
    padding: 0.375rem 0.75rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0.3px;
    position: relative;
    display: inline-block;
}

.highlight::before { display: none; }

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
    border: 3px solid var(--warning-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: #e65100;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
}

.hero-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.hero-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Offers Section */
.offers {
    background: var(--background-sale);
    position: relative;
}

.offers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, var(--accent-yellow) 2px, transparent 2px),
        radial-gradient(circle at 60% 70%, var(--secondary-color) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, var(--primary-color) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px, 70px 70px;
    opacity: 0.05;
    pointer-events: none;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.offer-card {
    background: var(--background-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.offer-card.featured {
    border: 2px solid var(--secondary-color);
}

.offer-badge {
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    background: var(--danger-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-lg);
    transform: rotate(-3deg);
    z-index: 10;
}

.offer-badge::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 0;
    border-left: 5px solid var(--primary-dark);
    border-bottom: 5px solid transparent;
}

.offer-badge::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 0;
    border-right: 5px solid var(--primary-dark);
    border-bottom: 5px solid transparent;
}

.offer-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.offer-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.offer-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.offer-price {
    font-weight: 600;
    margin-top: 1rem;
}

.discount {
    background: var(--price-tag-bg);
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 900;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--price-tag-border);
    box-shadow: var(--shadow-price);
    display: inline-block;
    transform: rotate(-1deg);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.discount::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -8px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid var(--price-tag-bg);
}

.discount::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -6px;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--text-dark);
    border-radius: 50%;
}

/* Flyer Download */
.flyer-download {
    margin-top: 3rem;
}

.download-card {
    background: var(--background-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.download-icon {
    font-size: 3rem;
    color: var(--danger-color);
    min-width: 4rem;
}

.download-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.download-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.btn-download {
    background: var(--danger-color);
    color: white;
}

.btn-download:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-lead {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-item i {
    color: var(--success-color);
    font-size: 1.125rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    background: var(--background-light);
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.image-placeholder i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.image-placeholder p {
    color: var(--text-light);
    font-weight: 500;
}

/* Contact Section */
.contact {
    background: var(--background-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--background-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.map-placeholder {
    background: var(--background-white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    text-align: center;
    border: 2px dashed var(--border-color);
}

.map-content i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.map-content p {
    color: var(--text-light);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 2rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.footer-brand h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.footer-brand p {
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
}

.footer-bottom p {
    font-size: 0.875rem;
    opacity: 0.6;
}

/* Mobile Menu Styles */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2rem;
    }
    .section-header h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background-white);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        transform: translateY(-100vh);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-content .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .download-card {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8rem;
    }
@media (max-width: 480px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }
}
    
    .offer-card,
    .contact-card,
    .download-card {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Performance Optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

/* GPU Acceleration for Animations */
.offer-card,
.contact-card,
.btn,
.hero-card {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.offer-card,
.contact-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-menu a:focus,
.footer-links a:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Legal Pages Styles */
.legal-page {
    padding-top: 5rem;
    min-height: 100vh;
    background: var(--background-light);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--background-white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.legal-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-section h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-section h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.legal-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Company and Address Info */
.company-info, .address-info, .business-location {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    border-left: 4px solid var(--primary-color);
}

.opening-hours {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.registration-info, .tax-info {
    background: var(--background-light);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

/* Contact Box */
.contact-box {
    background: var(--background-sale);
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 1rem 0;
}

/* Data Lists */
.data-list, .purpose-list {
    list-style: none;
    padding: 0;
}

.data-list li, .purpose-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.data-list li:last-child, .purpose-list li:last-child {
    border-bottom: none;
}

.data-list i, .purpose-list i {
    color: var(--success-color);
    font-size: 1rem;
}

/* Legal Basis */
.legal-basis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.legal-item {
    background: var(--background-light);
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, var(--accent-yellow), #fff9c4);
    border: 2px solid var(--price-tag-border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: var(--shadow-price);
}

.highlight-box p {
    margin: 0;
    font-weight: 600;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.right-item {
    background: var(--background-white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.right-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.right-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.right-item h4 {
    margin-bottom: 0.5rem;
}

.right-item p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

/* Complaint Info */
.complaint-info {
    background: var(--background-light);
    border-left: 4px solid var(--warning-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

/* Security Measures */
.security-measures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--background-light);
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--success-color);
}

.security-item i {
    color: var(--success-color);
    font-size: 1.25rem;
}

/* Update Info */
.update-info {
    background: var(--background-light);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    text-align: center;
    border: 2px dashed var(--border-color);
}

/* Back to Home Button */
.back-to-home {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

/* Address Styling */
address {
    font-style: normal;
    line-height: 1.6;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .legal-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
    
    .rights-grid {
        grid-template-columns: 1fr;
    }
    
    .security-measures {
        grid-template-columns: 1fr;
    }
    
    .legal-basis {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 1.5rem 1rem;
    }
    
    .legal-content h1 {
        font-size: 1.75rem;
    }
    
    .legal-section h2 {
        font-size: 1.125rem;
    }
    
    .company-info, .address-info, .business-location {
        padding: 1rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .hero,
    .footer {
        display: none;
    }
    
    .offers,
    .about,
    .contact {
        page-break-inside: avoid;
    }
    
    .legal-page {
        padding-top: 0;
    }
    
    .legal-content {
        box-shadow: none;
        padding: 1rem;
    }
}
