:root {
    --primary-bg: #f5f1eb;
    --text-primary: #2a2a2a;
    --accent-plum: #5c4d63;
    --accent-blue: #a8d8ea;
    --text-light: #666666;
    --border-light: #e0dcd7;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

html, body, main {
    height: 100%;
}

main {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 60px);
}

section {
    flex-grow: 1;
}

header.header {
    background-color: var(--primary-bg);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-plum) !important;
    letter-spacing: 0.5px;
}

.nav-link {
    color: var(--text-primary) !important;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    margin-left: 1rem;
}

.nav-link:hover {
    color: var(--accent-plum) !important;
}

.hero {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay {
    background: rgba(255, 255, 255, 0.85);
    width: 100%;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    color: var(--accent-plum);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero .lead {
    font-size: 1.25rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .hero {
        min-height: 250px;
    }

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

    .hero .lead {
        font-size: 1rem;
    }
}

section {
    padding: 3rem 0;
}

section h2 {
    font-size: 2.5rem;
    color: var(--accent-plum);
    margin-bottom: 2rem;
    font-weight: 600;
}

section h3 {
    font-size: 1.75rem;
    color: var(--accent-plum);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

section h4 {
    font-size: 1.25rem;
    color: var(--accent-plum);
    margin-bottom: 1rem;
    font-weight: 600;
}

section p {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

.category-card,
.theme-card,
.note-card,
.product-card {
    background-color: white;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.category-card:hover,
.theme-card:hover,
.note-card:hover,
.product-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.category-card h3,
.theme-card h3 {
    color: var(--accent-plum);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.product-card h4 {
    color: var(--accent-plum);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.price {
    font-size: 1.5rem;
    color: var(--accent-plum);
    font-weight: 700;
    margin-bottom: 1rem;
}

.btn-custom,
.btn-cta {
    background-color: transparent;
    border: 2px solid var(--accent-plum);
    color: var(--accent-plum);
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.btn-custom:hover,
.btn-cta:hover {
    background-color: var(--accent-plum);
    color: white;
    transform: scale(1.02);
    text-decoration: none;
}

.btn-custom {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
}

.btn-cta {
    padding: 0.75rem 2rem;
    margin-top: 1.5rem;
}

.note-card {
    background-color: rgba(168, 216, 234, 0.15);
    border: 1px solid var(--accent-blue);
}

.note-card h5 {
    color: var(--accent-plum);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.neutral-list li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: var(--text-primary);
}

.neutral-list li:before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--accent-plum);
    font-weight: 700;
}

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

.guidelines-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-primary);
}

.guidelines-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-plum);
    font-weight: 700;
}

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

.comparison-rules li {
    padding: 1rem;
    margin-bottom: 0.75rem;
    background-color: rgba(168, 216, 234, 0.1);
    border-left: 4px solid var(--accent-plum);
    border-radius: 2px;
    color: var(--text-primary);
}

.comparison-rules strong {
    color: var(--accent-plum);
}

.faq-item {
    background-color: white;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.faq-item h5 {
    color: var(--accent-plum);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

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

.contact-info {
    background-color: white;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 1.5rem;
}

.contact-info h5 {
    color: var(--accent-plum);
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

.form-control {
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 0.75rem;
    font-size: 1rem;
    color: var(--text-primary);
}

.form-control:focus {
    border-color: var(--accent-plum);
    box-shadow: 0 0 0 0.2rem rgba(92, 77, 99, 0.25);
}

.form-check-input {
    border-color: var(--border-light);
}

.form-check-input:checked {
    background-color: var(--accent-plum);
    border-color: var(--accent-plum);
}

.form-check-label a {
    color: var(--accent-plum);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.thank-you-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    text-align: center;
}

.thank-you-page h1 {
    color: var(--accent-plum);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.thank-you-page .lead {
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.legal-content {
    padding: 2rem 0;
}

.legal-content h1 {
    color: var(--accent-plum);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.legal-content h3 {
    color: var(--accent-plum);
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.legal-content h4 {
    color: var(--accent-plum);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.legal-content p {
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.legal-content li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--text-primary);
}

.legal-content li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-plum);
    font-weight: 700;
}

.footer {
    background-color: white;
    border-top: 1px solid var(--border-light);
    padding: 2.5rem 0 1.5rem;
    margin-top: auto;
}

.footer h6 {
    color: var(--accent-plum);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

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

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

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.footer hr {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 1.5rem 0;
}

.footer-bottom {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    border-top: 2px solid var(--accent-plum);
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

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

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

.cookie-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

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

.btn-accept,
.btn-reject {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-accept {
    background-color: var(--accent-plum);
    color: white;
}

.btn-accept:hover {
    background-color: var(--accent-plum);
    opacity: 0.9;
}

.btn-reject {
    background-color: transparent;
    border: 1px solid var(--accent-plum);
    color: var(--accent-plum);
}

.btn-reject:hover {
    background-color: var(--primary-bg);
}

.cta-section {
    text-align: center;
    padding: 3rem 0;
    background-color: rgba(168, 216, 234, 0.1);
}

.about-content,
.katalog-intro {
    padding: 2rem 0;
}

.about-cta {
    text-align: center;
    padding: 2rem 0;
}

.about-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.redaktionsnotiz {
    background-color: rgba(168, 216, 234, 0.1);
    border-left: 4px solid var(--accent-blue);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 2px;
}

.redaktionsnotiz h3 {
    color: var(--accent-plum);
    margin-top: 0;
}

.vergleich-beschreibungen {
    background-color: white;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 2rem;
    margin-top: 2rem;
}

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

    section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    section h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .product-card img {
        height: 200px;
    }

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

    .cookie-buttons {
        flex-direction: column;
    }

    .btn-accept,
    .btn-reject {
        width: 100%;
    }

    .footer {
        text-align: center;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    section h2 {
        font-size: 1.4rem;
    }

    .category-card,
    .theme-card,
    .note-card,
    .product-card {
        padding: 1rem;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .footer h6 {
        font-size: 0.95rem;
    }
}
