/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: 27 94% 32%; /* #0F8A2B - German flag green */
    --secondary-color: 45 100% 50%; /* #FFD700 - Golden yellow */
    --accent-color: 0 100% 50%; /* #FF0000 - German flag red */
    --dark-color: 220 13% 18%; /* #2A2D3A */
    --light-color: 210 11% 98%; /* #F5F7FA */
    --gray-100: 210 17% 95%; /* #F1F3F6 */
    --gray-200: 210 11% 86%; /* #D8DDE6 */
    --gray-300: 210 9% 71%; /* #B0B8C4 */
    --gray-400: 210 8% 51%; /* #7A8496 */
    --gray-500: 210 10% 40%; /* #616B7D */
    --gray-600: 210 12% 29%; /* #464F60 */
    --gray-700: 210 13% 24%; /* #3A4553 */
    --gray-800: 220 13% 18%; /* #2A2D3A */
    --gray-900: 220 27% 12%; /* #1A1E2E */
    --white: 0 0% 100%; /* #FFFFFF */
    --success: 142 71% 45%; /* #22C55E */
    --warning: 38 92% 50%; /* #F59E0B */
    --error: 0 84% 60%; /* #EF4444 */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --border-radius: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --transition: all 0.3s ease;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --line-height-tight: 1.25;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: var(--line-height-normal);
    color: hsl(var(--gray-800));
    background-color: hsl(var(--white));
    font-size: var(--font-size-base);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: var(--line-height-tight);
    color: hsl(var(--dark-color));
    margin-bottom: 0.5rem;
}

h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: 1rem;
}

h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: 0.75rem;
}

h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: 0.5rem;
}

h4 {
    font-size: var(--font-size-xl);
}

h5 {
    font-size: var(--font-size-lg);
}

h6 {
    font-size: var(--font-size-base);
}

p {
    margin-bottom: 1rem;
    line-height: var(--line-height-relaxed);
}

a {
    color: hsl(var(--primary-color));
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: hsl(var(--primary-color) / 0.8);
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-base);
    font-weight: 600;
    line-height: 1;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background-color: hsl(var(--primary-color));
    color: hsl(var(--white));
    border-color: hsl(var(--primary-color));
}

.btn-primary:hover {
    background-color: hsl(var(--primary-color) / 0.9);
    color: hsl(var(--white));
}

.btn-secondary {
    background-color: hsl(var(--secondary-color));
    color: hsl(var(--dark-color));
    border-color: hsl(var(--secondary-color));
}

.btn-secondary:hover {
    background-color: hsl(var(--secondary-color) / 0.9);
    color: hsl(var(--dark-color));
}

.btn-outline {
    background-color: transparent;
    color: hsl(var(--primary-color));
    border-color: hsl(var(--primary-color));
}

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

.btn-full {
    width: 100%;
}

/* Header & Navigation */
.header {
    background-color: hsl(var(--white));
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo img {
    height: 60px;
    width: auto;
}

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

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link.active {
    color: hsl(var(--primary-color));
}

.nav-link:hover {
    color: hsl(var(--primary-color));
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: hsl(var(--primary-color));
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: hsl(var(--dark-color));
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Menu */
.nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: hsl(var(--white));
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    gap: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, hsl(var(--primary-color) / 0.8), hsl(var(--secondary-color) / 0.6));
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    color: hsl(var(--white));
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.hero-content h1 {
    font-size: var(--font-size-5xl);
    margin-bottom: 1rem;
    color: hsl(var(--white));
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: var(--font-size-xl);
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section:nth-child(even) {
    background-color: hsl(var(--gray-100));
}

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

.section-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: block;
}

.section-header h2 {
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: var(--font-size-lg);
    color: hsl(var(--gray-600));
    max-width: 600px;
    margin: 0 auto;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, hsl(var(--primary-color)), hsl(var(--secondary-color) / 0.8));
    padding: 4rem 0;
    text-align: center;
    color: hsl(var(--white));
}

.page-header h1 {
    color: hsl(var(--white));
    margin-bottom: 1rem;
}

.page-header p {
    font-size: var(--font-size-xl);
    opacity: 0.9;
}

/* Grid Layouts */
.services-grid,
.team-grid,
.testimonials-grid,
.recipes-grid,
.tips-grid,
.values-grid,
.wait-content,
.faq-grid,
.hours-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .services-grid,
    .team-grid,
    .testimonials-grid,
    .values-grid,
    .tips-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .recipes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wait-content,
    .faq-grid,
    .hours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .recipes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .wait-content,
    .faq-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Cards */
.service-card,
.team-member,
.recipe-card,
.tip-card,
.value-card,
.wait-item {
    background-color: hsl(var(--white));
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover,
.team-member:hover,
.recipe-card:hover,
.tip-card:hover,
.value-card:hover,
.wait-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.service-card img,
.team-member img,
.tip-card img,
.value-card img,
.wait-item img {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.team-member .member-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background-color: hsl(var(--gray-200));
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member .member-avatar img {
    width: 80px;
    height: 80px;
    margin: 0;
}

.member-role {
    color: hsl(var(--primary-color));
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Recipe Cards */
.recipe-card {
    text-align: left;
}

.recipe-image {
    width: 100%;
    height: 200px;
    background-color: hsl(var(--gray-200));
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recipe-image img {
    width: 80px;
    height: 80px;
    margin: 0;
}

.recipe-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: var(--font-size-sm);
    color: hsl(var(--gray-600));
}

.recipe-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.recipe-time img {
    width: 16px;
    height: 16px;
}

.recipe-difficulty {
    background-color: hsl(var(--secondary-color));
    color: hsl(var(--dark-color));
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.recipe-ingredients h4 {
    margin-bottom: 0.5rem;
    color: hsl(var(--primary-color));
}

.recipe-ingredients ul {
    list-style: none;
    padding: 0;
}

.recipe-ingredients li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1rem;
}

.recipe-ingredients li::before {
    content: '•';
    color: hsl(var(--primary-color));
    position: absolute;
    left: 0;
}

/* About Page Specific */
.about-content {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 2fr 1fr;
        align-items: start;
    }
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background-color: hsl(var(--white));
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.stat img {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
}

.stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: hsl(var(--primary-color));
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: hsl(var(--gray-600));
}

/* Team Detailed */
.team-detailed-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}

.team-member-detailed {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    background-color: hsl(var(--white));
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

@media (min-width: 768px) {
    .team-member-detailed {
        grid-template-columns: auto 1fr;
        align-items: start;
    }
}

.member-avatar-large {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    background-color: hsl(var(--gray-200));
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-avatar-large img {
    width: 100px;
    height: 100px;
}

/* Company Goals */
.goals-content {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.goal-item {
    display: grid;
    gap: 1rem;
    grid-template-columns: auto 1fr;
    align-items: start;
    background-color: hsl(var(--white));
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.goal-icon {
    width: 64px;
    height: 64px;
    background-color: hsl(var(--primary-color) / 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.goal-icon img {
    width: 32px;
    height: 32px;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: hsl(var(--primary-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    background-color: hsl(var(--white));
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    background-color: hsl(var(--primary-color));
    border-radius: 50%;
    border: 3px solid hsl(var(--white));
}

.timeline-year {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: hsl(var(--primary-color));
    margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonial {
    background-color: hsl(var(--white));
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: hsl(var(--primary-color) / 0.3);
    font-family: serif;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author strong {
    color: hsl(var(--primary-color));
}

.testimonial-author span {
    color: hsl(var(--gray-600));
    font-size: var(--font-size-sm);
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, hsl(var(--primary-color)), hsl(var(--secondary-color) / 0.8));
    color: hsl(var(--white));
}

.newsletter-content {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .newsletter-content {
        grid-template-columns: 1fr auto;
        text-align: left;
    }
}

.newsletter h2 {
    color: hsl(var(--white));
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

@media (min-width: 468px) {
    .newsletter-form {
        flex-direction: row;
    }
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px hsl(var(--white) / 0.3);
}

/* Contact Page */
.contact-content {
    display: grid;
    gap: 4rem;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

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

.contact-detail {
    display: grid;
    gap: 1rem;
    grid-template-columns: auto 1fr;
    align-items: start;
}

.contact-detail img {
    width: 24px;
    height: 24px;
    margin-top: 0.25rem;
}

.contact-detail h3 {
    margin-bottom: 0.25rem;
    color: hsl(var(--primary-color));
}

.contact-detail small {
    color: hsl(var(--gray-600));
    font-size: var(--font-size-sm);
}

.social-links-large {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: hsl(var(--gray-100));
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background-color: hsl(var(--primary-color));
    color: hsl(var(--white));
    text-decoration: none;
}

.social-link img {
    width: 20px;
    height: 20px;
}

/* Forms */
.form-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: hsl(var(--dark-color));
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid hsl(var(--gray-300));
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsl(var(--primary-color));
    box-shadow: 0 0 0 3px hsl(var(--primary-color) / 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: normal;
    line-height: var(--line-height-relaxed);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid hsl(var(--gray-300));
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: hsl(var(--primary-color));
    border-color: hsl(var(--primary-color));
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: hsl(var(--white));
    font-size: 12px;
    font-weight: bold;
}

/* FAQ */
.faq-item {
    background-color: hsl(var(--white));
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.faq-item h3 {
    color: hsl(var(--primary-color));
    margin-bottom: 1rem;
}

/* Opening Hours */
.hours-item {
    background-color: hsl(var(--white));
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.hours-item h3 {
    color: hsl(var(--primary-color));
    margin-bottom: 1rem;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid hsl(var(--gray-200));
}

.hour-row:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
}

.time {
    color: hsl(var(--gray-600));
}

/* Recipe Filters */
.category-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid hsl(var(--gray-300));
    background-color: hsl(var(--white));
    color: hsl(var(--gray-700));
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: hsl(var(--primary-color));
    color: hsl(var(--white));
    border-color: hsl(var(--primary-color));
}

/* Thanks Page */
.thanks-section {
    background: linear-gradient(135deg, hsl(var(--primary-color)), hsl(var(--secondary-color) / 0.8));
    color: hsl(var(--white));
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thanks-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.thanks-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background-color: hsl(var(--white) / 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks-icon img {
    width: 80px;
    height: 80px;
}

.thanks-content h1 {
    color: hsl(var(--white));
    margin-bottom: 1rem;
}

.thanks-message {
    font-size: var(--font-size-lg);
    margin-bottom: 3rem;
    opacity: 0.95;
}

.thanks-details {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .thanks-details {
        grid-template-columns: repeat(3, 1fr);
    }
}

.detail-item {
    background-color: hsl(var(--white) / 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
}

.detail-item img {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.detail-item h3 {
    color: hsl(var(--white));
    margin-bottom: 0.5rem;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-links-inline {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-links-inline a {
    width: 40px;
    height: 40px;
    background-color: hsl(var(--white) / 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links-inline a:hover {
    background-color: hsl(var(--white) / 0.3);
}

.social-links-inline img {
    width: 20px;
    height: 20px;
}

/* Legal Content */
.legal-document {
    max-width: 800px;
    margin: 0 auto;
    background-color: hsl(var(--white));
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: hsl(var(--primary-color));
    border-bottom: 2px solid hsl(var(--primary-color));
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.legal-section h3 {
    color: hsl(var(--gray-700));
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.contact-details {
    background-color: hsl(var(--gray-100));
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

.legal-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--gray-200));
    color: hsl(var(--gray-600));
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background-color: hsl(var(--white));
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid hsl(var(--gray-200));
}

.cookie-table th {
    background-color: hsl(var(--primary-color));
    color: hsl(var(--white));
    font-weight: 600;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-settings-button {
    text-align: center;
    margin: 2rem 0;
}

.browser-links {
    list-style: none;
    margin-left: 0;
}

.browser-links li {
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background-color: hsl(var(--gray-100));
    border-radius: var(--border-radius);
}

/* Cookie Consent */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: hsl(var(--white));
    border-top: 1px solid hsl(var(--gray-200));
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    padding: 1rem;
}

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

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

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 1rem;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background-color: hsl(var(--white));
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal h3 {
    color: hsl(var(--primary-color));
    margin-bottom: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: hsl(var(--gray-100));
    border-radius: var(--border-radius);
}

.cookie-category label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.cookie-category input[type="checkbox"] {
    margin-top: 0.25rem;
}

.cookie-category span {
    font-size: var(--font-size-sm);
    color: hsl(var(--gray-600));
    line-height: var(--line-height-relaxed);
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background-color: hsl(var(--dark-color));
    color: hsl(var(--white));
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section h3,
.footer-section h4 {
    color: hsl(var(--white));
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: hsl(var(--gray-300));
    transition: var(--transition);
}

.footer-section a:hover {
    color: hsl(var(--white));
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: hsl(var(--gray-700));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: hsl(var(--primary-color));
}

.social-links img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.contact-info {
    display: grid;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-item img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--gray-700));
    color: hsl(var(--gray-400));
}

/* Responsive Design */
@media (max-width: 767px) {
    .hero-content h1 {
        font-size: var(--font-size-3xl);
    }
    
    .hero-content p {
        font-size: var(--font-size-lg);
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .legal-document {
        padding: 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

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

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Focus States for Accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid hsl(var(--primary-color));
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
    }
}
