:root {
    --primary-color: #3F51B5;
    --primary-dark: #303F9F;
    --primary-light: #C5CAE9;
    --text-dark: #212121;
    --text-medium: #424242;
    --text-light: #757575;
    --bg-light: #FAFAFA;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

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.75rem 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='%233F51B5' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

main {
    margin-top: 70px;
}

section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background-color: var(--bg-white);
}

section:nth-child(odd) {
    background-color: var(--bg-light);
}

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

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

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

.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(63,81,181,0.85) 0%, rgba(48,63,159,0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--bg-white);
}

.hero-content h1 {
    color: var(--bg-white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(63,81,181,0.3);
}

.btn-outline-custom {
    background-color: transparent;
    border: 2px solid var(--bg-white);
    color: var(--bg-white);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

.card-custom {
    background-color: var(--bg-white);
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

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

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

.card-custom .card-body {
    padding: 1.5rem;
}

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

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

.table-custom th {
    font-weight: 600;
    padding: 1rem;
    border: none;
}

.table-custom td {
    padding: 1rem;
    vertical-align: middle;
}

.table-custom tbody tr:nth-child(even) {
    background-color: var(--bg-light);
}

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

.list-styled li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

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

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

.content-image-left {
    float: left;
    margin-right: 2rem;
    margin-bottom: 1rem;
    max-width: 350px;
}

.content-image-right {
    float: right;
    margin-left: 2rem;
    margin-bottom: 1rem;
    max-width: 350px;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

.accordion-custom .card {
    border: none;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

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

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

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

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

.glossar-item {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.glossar-item h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.cta-section {
    background-color: var(--primary-color);
    color: var(--bg-white);
    text-align: center;
    padding: 4rem 0;
}

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

.cta-section p {
    color: rgba(255,255,255,0.9);
}

.contact-form {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.form-control-custom {
    border: 2px solid var(--border-color);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(63,81,181,0.15);
}

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

.disclaimer-box h3 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.disclaimer-box p {
    color: var(--text-medium);
    margin-bottom: 0;
    font-size: 0.95rem;
}

footer {
    background-color: #1a1a2e;
    color: rgba(255,255,255,0.8);
    padding: 3rem 0 1rem;
}

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

footer p {
    color: rgba(255,255,255,0.7);
}

footer a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    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(--bg-white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    padding: 1.5rem;
    z-index: 9999;
    display: none;
}

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

.cookie-banner h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.cookie-banner p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cookie-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.cookie-btn-accept {
    background-color: var(--primary-color);
    border: none;
    color: var(--bg-white);
}

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

.cookie-btn-decline {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-medium);
}

.cookie-btn-decline:hover {
    border-color: var(--text-medium);
}

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

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

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

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

.success-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 10000;
    text-align: center;
    display: none;
}

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

.success-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
}

.success-popup-overlay.show {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--bg-white);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--bg-white);
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .content-image-left,
    .content-image-right {
        float: none;
        margin: 0 auto 1.5rem;
        display: block;
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}
