:root {
            --primary-color: #2c5aa0;
            --secondary-color: #f8f9fa;
            --accent-color: #28a745;
            --text-dark: #333;
            --border-radius: 8px;
        }

        /* Barrierefreiheit und Seniorenfreundlichkeit */
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-size: 18px;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: #ffffff;
        }

        h1, h2, h3, h4, h5, h6 {
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }
        .hero-section h1 {
            color:white;
        }
       bg-primary h1, 
.bg-primary h2, 
.bg-primary h3, 
.bg-primary h4, 
.bg-primary h5, 
.bg-primary h6 {
    color: white;
}

/* Logo-Styling */
.navbar-logo {
    max-height: 50px;
    width: auto;
}

@media (max-width: 576px) {
    .navbar-logo {
        max-height: 40px;
    }
}

        h1 { font-size: 2.5rem; }
        h2 { font-size: 2rem; }
        h3 { font-size: 1.5rem; }

        /* Hoher Kontrast für bessere Lesbarkeit */
        .btn {
            font-size: 1.1rem;
            font-weight: 600;
            padding: 15px 30px;
            border-radius: var(--border-radius);
            border: none;
            min-height: 50px;
            transition: all 0.3s ease;
        }

        .btn-primary {
            background-color: var(--primary-color);
            border: 2px solid var(--primary-color);
            color: white;
        }

        .btn-primary:hover {
            background-color: #1e3f73;
            border-color: #1e3f73;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
        }

        .btn-success {
            background-color: var(--accent-color);
            border: 2px solid var(--accent-color);
            font-size: 1.2rem;
            padding: 18px 35px;
        }

        .btn-success:hover {
            background-color: #1e7e34;
            border-color: #1e7e34;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
        }

        /* Hero Section */
        .hero-section {
            background: linear-gradient(135deg, var(--primary-color) 0%, #1e3f73 100%);
            color: white;
            padding: 80px 0;
            position: relative;
            overflow: hidden;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            opacity: 0.1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        /* Kurs-Karten */
        .course-card {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border: 2px solid #e9ecef;
            height: 100%;
        }

        .course-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            border-color: var(--primary-color);
        }

        .course-header {
            background: var(--primary-color);
            color: white;
            padding: 20px;
            border-radius: var(--border-radius) var(--border-radius) 0 0;
            text-align: center;
        }

        .course-level {
            font-size: 2rem;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .course-body {
            padding: 25px;
        }

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

        .feature-list li {
            padding: 8px 0;
            border-bottom: 1px solid #f8f9fa;
            font-size: 1rem;
        }

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

        .feature-list i {
            color: var(--accent-color);
            margin-right: 10px;
            width: 20px;
        }

        /* Anmeldeformular */
        .registration-form {
            background: var(--secondary-color);
            padding: 40px;
            border-radius: var(--border-radius);
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            border: 2px solid #dee2e6;
        }

        .form-label {
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 8px;
            font-size: 1rem;
        }

        .form-control, .form-select {
            font-size: 1rem;
            padding: 15px;
            border: 2px solid #dee2e6;
            border-radius: var(--border-radius);
            min-height: 50px;
            transition: border-color 0.3s ease;
        }

        .form-control:focus, .form-select:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
        }

        .required {
            color: #dc3545;
            font-weight: bold;
        }

        /* Trust Elements */
        .trust-section {
            background: var(--secondary-color);
            padding: 60px 0;
        }

        .trust-item {
            text-align: center;
            padding: 20px;
        }

        .trust-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 15px;
        }

        /* FAQ Accordion */
        .accordion-button {
            font-size: 1.1rem;
            font-weight: 600;
            padding: 20px;
            background-color: white;
            border: 2px solid #dee2e6;
        }

        .accordion-button:not(.collapsed) {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }

        .accordion-body {
            font-size: 1rem;
            padding: 25px;
            background-color: #f8f9fa;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .hero-section {
                padding: 50px 0;
            }
            
            h1 {
                font-size: 2rem;
            }
            
            .btn {
                width: 100%;
                margin-bottom: 10px;
            }
            
            .registration-form {
                padding: 25px;
            }
        }

        /* Skip Links für Screenreader */
        .skip-link {
            position: absolute;
            top: -40px;
            left: 6px;
            background: var(--primary-color);
            color: white;
            padding: 8px;
            text-decoration: none;
            z-index: 100;
        }

        .skip-link:focus {
            top: 6px;
        }

        /* Fokus-Indikatoren */
        *:focus {
            outline: 3px solid var(--primary-color);
            outline-offset: 2px;
        }

        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1050;
            max-width: 350px;
        }

        .loading-spinner {
            display: none;
        }



        /* Additional styles for better accessibility */
        .high-contrast {
            filter: contrast(150%);
        }
        
        .large-text {
            font-size: 1.2em;
        }
        
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }
        
        /* Focus indicators for keyboard navigation */
        .course-card:focus {
            outline: 3px solid var(--primary-color);
            outline-offset: 2px;
        }
        
        /* Print styles */
        @media print {
            .hero-section,
            .trust-section,
            nav,
            footer {
                display: none !important;
            }
            
            .course-card {
                break-inside: avoid;
                box-shadow: none;
                border: 2px solid #000;
            }
            
            .registration-form {
                border: 2px solid #000;
                box-shadow: none;
            }
        }



        /* Cookie Consent Styling */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    padding: 20px;
}

.cookie-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    color: #333;
}

.cookie-header {
    padding: 20px 25px;
    background-color: #005c9c;
    color: white;
    border-bottom: 1px solid #ddd;
}

.cookie-title {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    color:#fff;
}

.cookie-body {
    padding: 20px 25px;
}

.cookie-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cookie-options {
    margin-bottom: 20px;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    margin-bottom: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.cookie-option:hover {
    border-color: #005c9c;
    background-color: #f0f7ff;
}

.cookie-option input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    margin-top: 5px;
}

.cookie-label {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 100%;
}

.option-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.option-description {
    font-size: 16px;
    color: #555;
}

.cookie-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    padding: 20px 25px;
    border-top: 1px solid #ddd;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    transition: all 0.3s ease;
}

.cookie-btn-select {
    background-color: #f0f0f0;
    color: #333;
    border: 2px solid #999;
}

.cookie-btn-select:hover {
    background-color: #e0e0e0;
}

.cookie-btn-accept {
    background-color: #28a745;
    color: white;
    border: 2px solid #28a745;
}

.cookie-btn-accept:hover {
    background-color: #218838;
    border-color: #218838;
}

.cookie-footer-info {
    padding: 0 25px 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-link, .cookie-settings-link {
    color: #005c9c;
    text-decoration: underline;
    font-size: 16px;
}

.cookie-link:hover, .cookie-settings-link:hover {
    text-decoration: none;
}

.cookie-settings-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #005c9c;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    font-size: 24px;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.cookie-settings-button:hover {
    background-color: #004a7c;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .cookie-footer {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-title {
        font-size: 22px;
    }
    
    .cookie-description,
    .option-title {
        font-size: 16px;
    }
    
    .option-description {
        font-size: 14px;
    }
}

/* High contrast mode for accessibility */
@media (prefers-contrast: high) {
    .cookie-container {
        background-color: #fff;
        color: #000;
    }
    
    .cookie-header {
        background-color: #000;
        color: #fff;
    }
    
    .cookie-btn-accept {
        background-color: #000;
        color: #fff;
        border: 2px solid #fff;
    }
    
    .cookie-btn-select {
        background-color: #fff;
        color: #000;
        border: 2px solid #000;
    }
}



/* Notification styling */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background-color: #28a745;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transition: transform 0.4s ease;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
}



/* Cookie-Benachrichtigungsstil */
.cookie-notification-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9500;
    max-width: 400px;
    transition: all 0.5s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

.cookie-notification-container.show {
    opacity: 1;
    visibility: visible;
}

.cookie-notification {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border-left: 5px solid #28a745;
    padding: 0;
}

.cookie-notification-content {
    display: flex;
    align-items: center;
    padding: 15px;
}

.cookie-notification-icon {
    margin-right: 15px;
    font-size: 24px;
    color: #28a745;
}

.cookie-notification-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.4;
    color: #333;
}

.cookie-notification-message {
    font-weight: 500;
}

.cookie-notification-close {
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    margin-left: 10px;
    transition: color 0.2s;
}

.cookie-notification-close:hover {
    color: #333;
}

/* Notification styling for larger messages */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background-color: #28a745;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transition: transform 0.4s ease;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
}


/* Cookie-Hinweis (minimale Version) */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9998;
    display: none;
    border-top: 3px solid #005c9c;
    padding: 0;
}

.cookie-notice-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.cookie-notice-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 20px;
}

.cookie-notice-text {
    font-size: 16px;
    color: #333;
    margin: 0;
    flex: 1;
}

.cookie-notice-text p {
    margin: 0;
    line-height: 1.5;
}

.cookie-notice-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cookie-accept:hover {
    background-color: #218838;
}

.btn-cookie-settings {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cookie-settings:hover {
    background-color: #e0e0e0;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .cookie-notice-content {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
    }

    .cookie-notice-text {
        margin-bottom: 15px;
        text-align: center;
    }

    .cookie-notice-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cookie-notice-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-cookie-accept,
    .btn-cookie-settings {
        width: 100%;
        padding: 12px;
        text-align: center;
    }
}


/* Zusätzliche Anpassungen für das Cookie-Consent-Banner */
@media (max-width: 576px) {
    .cookie-container {
        max-width: 100%;
        margin: 0 10px;
        border-radius: 8px;
    }
    
    .cookie-option {
        padding: 12px;
    }
    
    .cookie-option input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }
    
    .option-title {
        font-size: 16px;
    }
    
    .option-description {
        font-size: 14px;
    }
}

@media (max-height: 700px) {
    .cookie-consent-banner {
        overflow-y: auto;
        max-height: 95vh;
    }
    
    .cookie-body {
        max-height: 50vh;
        overflow-y: auto;
    }
}

.cookie-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-close-btn:hover {
    opacity: 0.8;
}



/* Kontakt-Button Styling */
.contact-button {
    position: fixed;
    bottom: 90px; /* Über dem Cookie-Button */
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    font-size: 24px;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.contact-button:hover {
    background-color: #1e3f73;
    transform: scale(1.05);
}

/* Cookie-Button Position anpassen */
.cookie-settings-button {
    bottom: 20px;
}

/* Kontakt-Typ-Karten */
.contact-type-card {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-type-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-type-card.selected {
    border-color: var(--primary-color);
    background-color: rgba(44, 90, 160, 0.1);
}

.contact-type-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-type-card span {
    font-weight: 600;
    font-size: 1rem;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .contact-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 80px;
    }
    
    .cookie-settings-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}


/* Notification Styles */
.notification {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    font-weight: 500;
    display: none;
    max-width: 90%;
    text-align: center;
}

.notification-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 5px solid #28a745;
}

.notification-error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 5px solid #dc3545;
}