:root {
    --primary-color: #3D7468;
    --secondary-color: #7ABAA9;
    --accent-color: #D8C340;
    --bg-light: #F6FCFB;
    --text-dark: #2c2c2c;
    --text-muted: #666;
    --border-color: #e0e0e0;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.71;
    color: var(--text-dark);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.35px;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

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

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.71;
}

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

a:hover {
    color: var(--secondary-color);
}

.nav-container {
    max-width: 1780px;
    margin: 0 auto;
    padding: 0 20px;
}

/* STICKY HEADER */
header {
    background-color: #fff;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    border-bottom: 1px solid transparent;
    transition: border-color 0.45s ease, box-shadow 0.45s ease;
}

.sticky-header.scrolled {
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-light);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    margin-left: 2rem;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-links .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

main {
    width: 100%;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(61, 116, 104, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hero-content {
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

/* SECTIONS */
section {
    padding: 180px 40px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* EINSTIEG SECTION */
.einstieg-section {
    background-color: var(--bg-light);
}

.disclaimer-text {
    background-color: rgba(122, 186, 169, 0.1);
    padding: 1.5rem;
    border-left: 4px solid var(--secondary-color);
    margin-top: 2rem;
}

/* VITALSTOFFE SECTION */
.vitalstoffe-section {
    background-color: #fff;
}

.section-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.section-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* PRODUKTE SECTION */
.produkte-section {
    background-color: var(--bg-light);
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.product-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.45s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: opacity 0.45s ease;
}

.product-card:hover .product-image {
    opacity: 0.9;
}

.product-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-content p {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

/* BEDEUTUNG SECTION */
.bedeutung-section {
    background-color: #fff;
}

.infographic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .infographic {
        grid-template-columns: 1fr;
    }
}

.info-item {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    transition: transform 0.45s ease;
}

.info-item:hover {
    transform: translateX(8px);
}

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

.info-item p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* GRUNDLAGEN SECTION */
.grundlagen-section {
    background-color: var(--bg-light);
}

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

.fact-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: var(--text-muted);
}

.fact-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.25rem;
}

/* TABELLE SECTION */
.tabelle-section {
    background-color: #fff;
}

.nutrients-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    box-shadow: var(--shadow-light);
    border-radius: 8px;
    overflow: hidden;
}

.nutrients-table thead {
    background-color: var(--primary-color);
    color: #fff;
}

.nutrients-table th {
    padding: 1.5rem;
    text-align: left;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nutrients-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.nutrients-table tbody tr:hover {
    background-color: var(--bg-light);
}

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

.table-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
}

.table-responsive {
    overflow-x: auto;
}

/* LEBENSSTIL SECTION */
.lebensstil-section {
    background-color: var(--bg-light);
}

.lifestyle-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.lifestyle-list li {
    padding: 1rem 0;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(61, 116, 104, 0.1);
}

.lifestyle-list li:last-child {
    border-bottom: none;
}

.lifestyle-list strong {
    color: var(--primary-color);
}

/* TRADITION SECTION */
.tradition-section {
    background-color: #fff;
}

.tradition-section ul {
    margin-top: 1rem;
    color: var(--text-muted);
}

.tradition-section ul li {
    margin-bottom: 0.75rem;
}

/* FAQ SECTION */
.faq-section {
    background-color: var(--bg-light);
}

.faq-card {
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.faq-card .card-header {
    background-color: #fff;
    border-bottom: none;
    padding: 0;
}

.faq-card .card-header .btn {
    color: var(--primary-color);
    font-weight: 600;
    text-align: left;
    padding: 1.5rem;
    text-decoration: none;
    display: block;
    width: 100%;
}

.faq-card .card-header .btn:hover {
    color: var(--secondary-color);
}

.faq-card .card-body {
    background-color: rgba(246, 252, 251, 0.5);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 1.5rem;
}

.faq-card .collapse.show {
    color: var(--text-muted);
}

/* HINWEIS SECTION */
.hinweis-section {
    background-color: #fff;
}

.hinweis-box {
    background-color: rgba(216, 195, 64, 0.1);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.hinweis-box h2 {
    color: var(--primary-color);
}

.hinweis-box ul {
    margin-top: 1rem;
}

.hinweis-box ul li {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.hinweis-box strong {
    color: var(--primary-color);
}

/* ABSCHLUSS SECTION */
.abschluss-section {
    background-color: var(--bg-light);
    text-align: center;
}

.abschluss-section ul {
    text-align: left;
    max-width: 500px;
    margin: 1.5rem auto;
    color: var(--text-muted);
}

.abschluss-section ul li {
    margin-bottom: 0.75rem;
}

/* KONTAKT SECTION */
.kontakt-section {
    background-color: #fff;
}

.contact-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    margin-bottom: 2rem;
}

.contact-info {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

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

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.contact-hours {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1rem;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
}

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

.contact-form label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(61, 116, 104, 0.15);
}

.form-disclaimer {
    background-color: rgba(122, 186, 169, 0.1);
    padding: 1rem;
    border-left: 4px solid var(--secondary-color);
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.btn-submit {
    background-color: var(--primary-color);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    transition: all 0.45s ease;
}

.btn-submit:hover {
    background-color: var(--secondary-color);
    transform: scale(1.06);
}

/* FOOTER */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 40px 30px;
}

footer h5 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

footer p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* MODALS */
.modal-content {
    border: none;
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
}

.modal-header {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
}

.modal-header .close {
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.modal-header .close:hover {
    opacity: 1;
}

.modal-body {
    color: var(--text-dark);
    line-height: 1.71;
}

.modal-body h6 {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

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

.modal-body p {
    color: var(--text-muted);
}

/* COOKIE CONSENT */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: #fff;
    padding: 1.5rem 2rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
    animation: slideUp 0.45s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

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

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

.cookie-text h6 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 0.95rem;
}

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

.cookie-buttons .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

#acceptCookies {
    background-color: var(--accent-color);
    color: var(--text-dark);
    border: none;
}

#acceptCookies:hover {
    background-color: #e6d66b;
}

.btn-outline-secondary {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    section {
        padding: 120px 30px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    section {
        padding: 100px 20px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    p {
        font-size: 0.95rem;
    }

    .hero-section {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .nav-links .nav-link {
        margin-left: 1rem;
    }

    .table-responsive {
        font-size: 0.85rem;
    }

    .nutrients-table th,
    .nutrients-table td {
        padding: 0.75rem;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 15px;
    }

    section {
        padding: 80px 15px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .hero-section {
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .nav-links .nav-link {
        margin-left: 1rem;
    }

    .product-image {
        height: 200px;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-buttons {
        justify-content: stretch;
    }

    .cookie-buttons .btn {
        flex: 1;
    }
}
