:root {
    --primary-color: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #C8E6C9;
    --text-dark: #212121;
    --text-medium: #616161;
    --text-light: #9E9E9E;
    --bg-white: #FFFFFF;
    --bg-light: #F5F5F5;
    --bg-card: #FAFAFA;
    --border-color: #E0E0E0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

h1, h2, h3 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary-dark);
}

h3 {
    font-size: 1.5rem;
}

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

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

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

.navbar {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--text-medium) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

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

.navbar-toggler {
    border-color: var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%234CAF50' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero-section {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.85)), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    padding: 150px 0 100px;
    margin-top: 56px;
}

.hero-section h1 {
    color: var(--text-dark);
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--text-medium);
}

.section {
    padding: 80px 0;
}

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

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

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

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--bg-card);
    height: 100%;
}

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

.card-img-top {
    border-radius: 10px 10px 0 0;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--text-dark);
    font-weight: 600;
}

.content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.content-image-small {
    max-width: 350px;
    width: 100%;
}

.two-column {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.two-column .text-content {
    flex: 1;
    min-width: 300px;
}

.two-column .image-content {
    flex: 0 0 auto;
}

.two-column.reverse {
    flex-direction: row-reverse;
}

.table {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.table thead th {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    font-weight: 600;
    padding: 1rem;
}

.table tbody td {
    padding: 1rem;
    border-color: var(--border-color);
    color: var(--text-medium);
}

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

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

.list-styled li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-medium);
}

.list-styled li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.accordion .card {
    margin-bottom: 1rem;
    border-radius: 10px !important;
}

.accordion .card-header {
    background-color: var(--bg-white);
    border: none;
    padding: 0;
}

.accordion .btn-link {
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    padding: 1rem 1.5rem;
    display: block;
    width: 100%;
    text-align: left;
}

.accordion .btn-link:hover {
    color: var(--primary-color);
}

.accordion .card-body {
    color: var(--text-medium);
    padding-top: 0;
}

.glossar-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background-color: var(--bg-card);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.glossar-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.glossar-item p {
    margin-bottom: 0;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 5px;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

.contact-section {
    background-color: var(--bg-light);
}

.contact-info {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

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

.disclaimer-box {
    background-color: var(--primary-light);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 0 10px 10px 0;
    margin: 2rem 0;
}

.disclaimer-box h3 {
    color: var(--primary-dark);
    font-size: 1.2rem;
}

.disclaimer-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.cta-section {
    background-color: var(--primary-light);
    text-align: center;
    padding: 60px 0;
}

.cta-section h2 {
    color: var(--primary-dark);
}

footer {
    background-color: var(--text-dark);
    color: var(--bg-light);
    padding: 60px 0 20px;
}

footer h3 {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

footer p, footer a {
    color: var(--text-light);
    font-size: 0.95rem;
}

footer a:hover {
    color: var(--primary-color);
}

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

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

.footer-links a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: var(--bg-light);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    display: none;
}

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

.cookie-banner p {
    color: var(--bg-light);
    margin-bottom: 1rem;
}

.cookie-banner .btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.modal-content {
    border-radius: 10px;
    border: none;
}

.modal-header {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 10px 10px 0 0;
    border: none;
}

.modal-header .close {
    color: var(--bg-white);
    opacity: 1;
}

.modal-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-body h3 {
    color: var(--primary-dark);
    margin-top: 1.5rem;
}

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

.success-message {
    display: none;
    background-color: var(--primary-light);
    border: 1px solid var(--primary-color);
    color: var(--primary-dark);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 1rem;
}

.success-message.show {
    display: block;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--bg-white);
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section {
        padding: 60px 0;
    }

    .hero-section {
        padding: 120px 0 80px;
    }
}

@media (max-width: 767px) {
    .navbar-brand {
        font-size: 1.25rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .section {
        padding: 50px 0;
    }

    .hero-section {
        padding: 100px 0 60px;
    }

    .two-column {
        flex-direction: column;
    }

    .two-column.reverse {
        flex-direction: column;
    }

    .content-image-small {
        max-width: 100%;
    }

    footer {
        text-align: center;
    }

    .cookie-banner {
        padding: 1rem;
    }
}

@media (max-width: 575px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .card-img-top {
        height: 180px;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .cookie-banner .btn {
        width: auto;
    }
}
