:root {
    --color-primary: #3C7668;
    --color-secondary: #79B9A8;
    --color-accent: #D7C04A;
    --color-base: #F9FCFB;
    --color-dark: #1a1a1a;
    --color-text: #2d3436;
    --color-border: #e0e0e0;
    --font-sans: 'Segoe UI', 'Proxima Nova', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-base);
    line-height: 1.74;
    font-size: 17px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text);
}

em, .quote-text {
    color: var(--color-secondary);
    font-style: italic;
}

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

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(249, 252, 251, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(249, 252, 251, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

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

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

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

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

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

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

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

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

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

/* Sections */
.section {
    padding: 160px 0;
}

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

.intro-text {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    text-align: center;
}

/* Willkommen Section */
.willkommen-section {
    background-color: white;
}

.willkommen-section .lead {
    font-size: 1.25rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

/* Inhaltsstoffe Section */
.inhaltsstoffe-section {
    background-color: var(--color-base);
}

.section-image {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    height: 400px;
    box-shadow: 0 12px 32px rgba(60, 118, 104, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inhaltsstoffe-section .section-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(60, 118, 104, 0.25);
}

/* Produkte Section */
.produkte-section {
    background-color: white;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 40px rgba(60, 118, 104, 0.2);
}

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

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-card h3 {
    padding: 1.5rem 1.5rem 0;
    margin-bottom: 1rem;
}

.product-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text);
    flex-grow: 1;
}

/* Balance Section */
.balance-section {
    background-color: var(--color-base);
}

.balance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.balance-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.balance-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

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

/* Erkenntnisse Section */
.erkenntnisse-section {
    background-color: white;
}

.insights-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.insight-item {
    background: linear-gradient(135deg, rgba(60, 118, 104, 0.05) 0%, rgba(121, 185, 168, 0.05) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(121, 185, 168, 0.2);
    transition: all 0.3s ease;
}

.insight-item:hover {
    border-color: var(--color-secondary);
    box-shadow: 0 8px 24px rgba(60, 118, 104, 0.1);
}

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

/* Quellen Tabelle Section */
.quellentabelle-section {
    background-color: var(--color-base);
}

.table {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.table thead {
    background-color: var(--color-primary);
    color: white;
}

.table thead th {
    border: none;
    padding: 1.5rem;
    font-weight: 600;
}

.table tbody td {
    padding: 1.25rem 1.5rem;
    border-color: var(--color-border);
}

.table tbody tr:hover {
    background-color: rgba(121, 185, 168, 0.05);
}

/* Umstände Section */
.umstaende-section {
    background-color: white;
}

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

.circumstances-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
}

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

.circumstances-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
    font-size: 1.25rem;
}

/* Kontext Section */
.kontext-section {
    background-color: var(--color-base);
}

.kontext-section .section-image {
    height: 450px;
}

/* FAQ Section */
.faq-section {
    background-color: white;
}

.accordion .card {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.accordion .card-header {
    background-color: transparent;
    border: none;
    padding: 0;
}

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

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

.accordion .card-header .btn.collapsed::after {
    transform: rotate(0deg);
}

.accordion .card-header .btn::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    line-height: 1;
}

.accordion .card-body {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text);
}

/* Ansatz Section */
.ansatz-section {
    background-color: var(--color-base);
}

.approach-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.approach-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--color-primary);
    transition: all 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

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

/* Ende Section */
.ende-section {
    background-color: white;
    text-align: center;
}

.ende-section p {
    font-size: 1.1rem;
    color: var(--color-text);
    max-width: 800px;
    margin: 0 auto;
}

/* Kontakt Section */
.kontakt-section {
    background-color: var(--color-base);
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-info p {
    margin-bottom: 1rem;
}

.form-disclaimer {
    background-color: rgba(215, 192, 74, 0.1);
    padding: 1rem;
    border-left: 4px solid var(--color-accent);
    border-radius: 4px;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

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

.contact-form .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(60, 118, 104, 0.1);
}

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--color-secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(60, 118, 104, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--color-text);
    color: white;
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    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 h5 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
}

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-base);
    border-top: 2px solid var(--color-accent);
    padding: 1.5rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: none;
}

.cookie-banner.active {
    display: block;
    animation: slideUp 0.3s ease-out;
}

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

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
}

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

.cookie-buttons .btn {
    white-space: nowrap;
}

.cookie-link {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Modals */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 12px 12px 0 0;
    padding: 1.5rem;
}

.modal-header h5 {
    color: white;
    margin: 0;
}

.modal-body {
    padding: 2rem;
    color: var(--color-text);
}

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

.modal-footer {
    border-top: 1px solid var(--color-border);
    padding: 1.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section {
        padding: 80px 0;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

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

    .section-image {
        height: 300px;
    }

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

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

    .table {
        font-size: 0.9rem;
    }

    .table thead th {
        padding: 1rem;
    }

    .table tbody td {
        padding: 0.75rem 1rem;
    }
}

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

    .section {
        padding: 60px 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-section {
        margin-top: 60px;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .product-card {
        margin-bottom: 1.5rem;
    }
}
