:root {
    --primary: #1976d2;
    --primary-dark: #0d47a1;
    --bg-light: #e3f2fd;
    --bg-lighter: #e8f4fd;
    --bg-white: #ffffff;
    --text-dark: #212121;
    --text-medium: #424242;
    --text-light: #757575;
    --shadow-light: rgba(0, 0, 0, 0.07);
    --shadow-medium: rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'IBM Plex Sans', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-white);
    letter-spacing: -0.2px;
}

h1 {
    font-size: 56px;
    font-weight: 600;
    letter-spacing: -0.8px;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

h2 {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.6px;
    line-height: 1.25;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

h3 {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.4px;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}

h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

h5 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
}

p {
    font-size: 17.5px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 740px;
    color: var(--text-medium);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-white);
    box-shadow: 0 6px 32px var(--shadow-light);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-container {
    max-width: 1500px;
    padding: 0 80px;
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 28px;
    }
}

.brand-logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--primary);
}

.navbar-nav .nav-link {
    font-size: 17px;
    font-weight: 500;
    color: var(--text-medium);
    margin-left: 2rem;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
}

.hero-block {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.4), rgba(13, 71, 161, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.hero-overlay h1 {
    color: var(--bg-white);
    text-align: center;
    font-size: 52px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.content-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 80px;
}

@media (max-width: 768px) {
    .content-container {
        padding: 0 28px;
    }
}

section {
    padding: 140px 0;
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }
}

.intro-section {
    background-color: var(--bg-white);
}

.intro-section p {
    font-size: 17.5px;
    line-height: 1.8;
    margin-bottom: 1.8rem;
}

.biochemie-section {
    background-color: var(--bg-lighter);
    padding: 140px 0;
}

.biochemie-section h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
}

.biochemie-section h3:first-of-type {
    margin-top: 0;
}

.section-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-image:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 32px var(--shadow-light);
}

.tabelle-section {
    background-color: var(--bg-white);
}

.nährstoff-tabelle {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px var(--shadow-light);
}

.nährstoff-tabelle thead {
    background-color: var(--primary);
    color: var(--bg-white);
}

.nährstoff-tabelle th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}

.nährstoff-tabelle td {
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-medium);
}

.nährstoff-tabelle tbody tr:nth-child(even) {
    background-color: var(--bg-lighter);
}

.nährstoff-tabelle tbody tr:hover {
    background-color: #f5f5f5;
}

.lebensmittel-section {
    background-color: var(--bg-lighter);
}

.food-list {
    list-style: none;
    padding-left: 0;
}

.food-list li {
    margin-bottom: 1.2rem;
    padding-left: 24px;
    position: relative;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-medium);
}

.food-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 20px;
}

.pflanzen-section {
    background-color: var(--bg-white);
}

.einflussfaktoren-section {
    background-color: var(--bg-lighter);
}

.vergleich-section {
    background-color: var(--bg-white);
}

.comparison-list {
    list-style: none;
    padding-left: 0;
}

.comparison-list li {
    margin-bottom: 1.2rem;
    padding-left: 24px;
    position: relative;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-medium);
}

.comparison-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 18px;
}

.faq-section {
    background-color: var(--bg-lighter);
}

.faq-card {
    border: none;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px var(--shadow-light);
    border-radius: 4px;
    overflow: hidden;
}

.faq-card .card-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
}

.faq-card .card-header button {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 18px;
    padding: 20px;
    display: block;
    width: 100%;
    text-align: left;
    text-decoration: none;
    transition: color 0.2s ease;
}

.faq-card .card-header button:hover {
    color: var(--primary);
}

.faq-card .collapse.show .card-header button {
    color: var(--primary);
}

.faq-card .card-body {
    padding: 20px;
    background-color: var(--bg-white);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-medium);
}

.hinweis-section {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 100px 0;
}

.hinweis-section h2,
.hinweis-section p {
    color: var(--bg-white);
}

.abschluss-section {
    background-color: var(--bg-white);
}

.learning-list {
    list-style: none;
    padding-left: 0;
}

.learning-list li {
    margin-bottom: 1rem;
    font-size: 17px;
}

.learning-list a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.learning-list a:hover {
    text-decoration: underline;
}

.uebersicht-section {
    background-color: var(--bg-lighter);
}

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

.nutrient-item {
    background-color: var(--bg-white);
    padding: 24px;
    border-radius: 4px;
    box-shadow: 0 1px 3px var(--shadow-light);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.nutrient-item:hover {
    box-shadow: 0 8px 16px var(--shadow-light);
    transform: translateY(-4px);
}

.nutrient-item h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.nutrient-item p {
    font-size: 16px;
    margin-bottom: 0.8rem;
}

.kontakt-section {
    background-color: var(--bg-white);
}

.contact-form {
    max-width: 600px;
    background-color: var(--bg-lighter);
    padding: 32px;
    border-radius: 4px;
    box-shadow: 0 1px 3px var(--shadow-light);
    margin-bottom: 3rem;
}

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

.contact-form label {
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-form .form-control {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(25, 118, 210, 0.25);
}

.form-disclaimer {
    background-color: var(--bg-white);
    padding: 16px;
    border-left: 4px solid var(--primary);
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.form-disclaimer p {
    font-size: 15px;
    margin-bottom: 0;
    color: var(--text-medium);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--bg-white);
    font-weight: 500;
    padding: 12px 32px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--bg-white);
}

.btn-primary:active {
    background-color: var(--primary-dark);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn-secondary {
    background-color: #e0e0e0;
    border-color: #e0e0e0;
    color: var(--text-dark);
    font-weight: 500;
    padding: 12px 32px;
}

.btn-secondary:hover {
    background-color: #bdbdbd;
    border-color: #bdbdbd;
}

.btn-outline-secondary {
    border: 1px solid #e0e0e0;
    color: var(--text-dark);
    background-color: transparent;
}

.btn-outline-secondary:hover {
    background-color: #f5f5f5;
    border-color: #bdbdbd;
}

.btn-link {
    color: var(--primary);
    text-decoration: none;
    padding: 0;
}

.btn-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.thank-you-message {
    max-width: 600px;
    background-color: #c8e6c9;
    border-left: 4px solid #2e7d32;
    padding: 24px;
    border-radius: 4px;
}

.thank-you-message h3 {
    color: #1b5e20;
    margin-bottom: 1rem;
}

.thank-you-message p {
    color: #2e7d32;
    margin-bottom: 1.5rem;
}

.contact-info {
    background-color: var(--bg-lighter);
    padding: 32px;
    border-radius: 4px;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-medium);
}

.footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 60px 0 20px;
    margin-top: 100px;
}

.footer-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 80px;
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 28px;
    }
}

.footer-content {
    text-align: center;
}

.footer-content p {
    color: var(--bg-white);
    font-size: 16px;
    margin-bottom: 1rem;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--bg-lighter);
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 24px;
    z-index: 999;
    box-shadow: 0 -4px 12px var(--shadow-medium);
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 28px;
    }
}

.cookie-content p {
    font-size: 15px;
    color: var(--bg-white);
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.modal-content {
    border-radius: 4px;
}

.modal-header {
    background-color: var(--bg-lighter);
    border-bottom: 1px solid #e0e0e0;
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
}

.modal-body {
    padding: 24px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-medium);
    max-height: 500px;
    overflow-y: auto;
}

.modal-body h3 {
    font-size: 20px;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    font-size: 16px;
    margin-bottom: 1rem;
    max-width: none;
}

.modal-body ul {
    padding-left: 24px;
    margin-bottom: 1rem;
}

.modal-body li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
        letter-spacing: -0.4px;
    }

    h2 {
        font-size: 32px;
        letter-spacing: -0.3px;
    }

    h3 {
        font-size: 24px;
    }

    .hero-overlay h1 {
        font-size: 28px;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .nutrients-overview {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        gap: 12px;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-buttons button {
        width: 100%;
    }
}
