/* Deutsche Kulinarik Portal - Main Stylesheet */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #FFF8DC;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: #654321;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1em;
    color: #555;
}

a {
    color: #8B4513;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #A0522D;
    text-decoration: underline;
}

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

.section {
    padding: 4rem 0;
}

/* Header */
.header {
    background-color: #FFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8B4513;
}

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

.nav-menu a {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: #F5DEB3;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #FFF8DC 0%, #F5DEB3 100%);
    padding: 6rem 0;
    display: flex;
    align-items: center;
    min-height: 70vh;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    color: #654321;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-image svg {
    width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #8B4513;
    color: white;
}

.btn-primary:hover {
    background-color: #A0522D;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.btn-secondary {
    background-color: #D2B48C;
    color: #654321;
}

.btn-secondary:hover {
    background-color: #DEB887;
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    color: #8B4513;
    border: 2px solid #8B4513;
}

.btn-outline:hover {
    background-color: #8B4513;
    color: white;
    text-decoration: none;
}

/* Company Info Section */
.company-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.info-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

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

.stat {
    text-align: center;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #8B4513;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* Services Section */
.services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
    background-color: #FFF8DC;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin-bottom: 1.5rem;
}

/* Recipes Section */
.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.recipe-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.recipe-card:hover {
    transform: translateY(-5px);
}

.recipe-image {
    width: 100%;
    height: 180px;
}

.recipe-content {
    padding: 1.5rem;
}

.recipe-content h3 {
    margin-bottom: 1rem;
}

/* Reviews Section */
.reviews {
    background-color: white;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background-color: #FFF8DC;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #8B4513;
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.reviewer {
    margin-top: 1.5rem;
    font-style: italic;
}

.reviewer strong {
    color: #8B4513;
}

/* Blog Sections */
.blog-preview {
    background-color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-main {
    grid-template-columns: 1fr;
    gap: 3rem;
}

.blog-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card.featured {
    grid-column: 1 / -1;
}

.blog-image {
    width: 100%;
    height: 200px;
}

.blog-card.featured .blog-image {
    height: 250px;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.blog-date {
    color: #8B4513;
}

.blog-category {
    background-color: #F5DEB3;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: #654321;
}

.blog-center {
    text-align: center;
    margin-top: 3rem;
}

.read-more {
    color: #8B4513;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.read-more:hover {
    color: #A0522D;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
}

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

.newsletter h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact-grid {
    margin-top: 3rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
}

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

.contact-item svg {
    color: #8B4513;
    flex-shrink: 0;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #8B4513;
    color: white;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #A0522D;
    text-decoration: none;
}

/* Footer */
.footer {
    background-color: #654321;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #F5DEB3;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover,
.footer-section ul li a.active {
    color: #F5DEB3;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #F5DEB3 0%, #DEB887 100%);
    padding: 4rem 0 2rem;
    text-align: center;
}

.page-header h1 {
    color: #654321;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.125rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Article Styles */
.article-header {
    background-color: white;
    padding: 2rem 0;
    border-bottom: 1px solid #E5E5E5;
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #8B4513;
}

.article-meta {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.article-date {
    color: #8B4513;
}

.article-category {
    background-color: #F5DEB3;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: #654321;
}

.article-content {
    background-color: white;
    padding: 3rem 0;
}

.article-image {
    margin-bottom: 3rem;
    text-align: center;
}

.featured-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
}

.article-body h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.article-body h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-body h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body ul, .article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body blockquote {
    background-color: #FFF8DC;
    border-left: 4px solid #8B4513;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.article-body blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    font-style: normal;
}

.recipe-box {
    background-color: #F5DEB3;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.recipe-box h4 {
    color: #654321;
    margin-bottom: 1rem;
}

.recipe-box ul {
    margin-bottom: 1rem;
}

.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #E5E5E5;
}

.nav-previous, .nav-next {
    padding: 1.5rem;
    background-color: #FFF8DC;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.nav-previous:hover, .nav-next:hover {
    background-color: #F5DEB3;
}

.nav-previous a, .nav-next a {
    display: block;
    text-decoration: none;
    color: #654321;
}

.nav-previous span, .nav-next span {
    font-size: 0.9rem;
    color: #666;
}

.nav-previous strong, .nav-next strong {
    display: block;
    margin-top: 0.5rem;
    color: #8B4513;
}

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

.related-articles {
    background-color: #FFF8DC;
}

/* Legal Pages */
.legal-content {
    background-color: white;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
}

.legal-text h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #654321;
}

.legal-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #8B4513;
}

.legal-text h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #A0522D;
}

.contact-box {
    background-color: #FFF8DC;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid #8B4513;
}

.cookie-category-box {
    background-color: #F9F9F9;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border: 1px solid #E5E5E5;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.cookie-table th,
.cookie-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #E5E5E5;
}

.cookie-table th {
    background-color: #F5DEB3;
    color: #654321;
    font-weight: bold;
}

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

/* Thank You Page */
.thank-you-section {
    background: linear-gradient(135deg, #FFF8DC 0%, #F5DEB3 100%);
    padding: 6rem 0;
    text-align: center;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
}

.success-icon {
    margin-bottom: 2rem;
}

.success-svg {
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.lead {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: #666;
}

.confirmation-details {
    background-color: white;
    padding: 3rem;
    border-radius: 12px;
    margin: 3rem 0;
    text-align: left;
}

.steps {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    background-color: #8B4513;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: #654321;
}

.newsletter-benefits {
    background-color: white;
    padding: 3rem;
    border-radius: 12px;
    margin: 3rem 0;
    text-align: left;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.benefits-list svg {
    color: #32CD32;
    flex-shrink: 0;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 3rem 0;
}

.contact-info {
    background-color: #F5DEB3;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.related-content {
    background-color: white;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.content-card {
    background-color: #FFF8DC;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
}

.content-icon {
    margin-bottom: 1.5rem;
}

/* Cookie Banner and Modal */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #654321;
    color: white;
    padding: 2rem;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    color: #F5DEB3;
    margin-bottom: 1rem;
}

.cookie-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

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

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

.cookie-modal-content {
    background-color: white;
    padding: 3rem;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    color: #654321;
    margin-bottom: 2rem;
}

.cookie-category {
    margin-bottom: 2rem;
}

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

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

.cookie-category span {
    font-size: 0.9rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero {
        padding: 4rem 0;
        min-height: auto;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .company-info {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .services-grid,
    .recipes-grid,
    .reviews-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-navigation {
        grid-template-columns: 1fr;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .steps {
        gap: 1.5rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .confirmation-details,
    .newsletter-benefits {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 2rem 0;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .page-header {
        padding: 3rem 0 1rem;
    }
    
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-modal-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .thank-you-section {
        padding: 4rem 0;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .social-links,
    .newsletter,
    .action-buttons {
        display: none;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .section {
        padding: 1rem 0;
    }
}
