/* Contact Section Styles */
.contact-section {
    position: relative;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 100px 0;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.contact-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-label {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(208, 197, 126, 0.1);
    border-radius: 30px;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.privacy-consent {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 20px;
    text-align: center;
}

.contact-title span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 8px;
    background-color: rgba(208, 197, 126, 0.2);
    z-index: -1;
    border-radius: 10px;
}

.contact-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
}

/* Contact Info Styles */
.contact-info-2 {
    background-color: rgba(40, 40, 48, 0.8);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    height: 100%;
}

.contact-logo {
    margin-bottom: 30px;
}

.contact-logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: -1px;
}

.contact-logo a span {
    color: var(--accent-color);
}

.contact-info-header {
    margin-bottom: 30px;
}

.contact-info-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-info-header p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-method-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(208, 197, 126, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.contact-method-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-method-content p, 
.contact-method-content a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.contact-method-content a:hover {
    color: var(--accent-color);
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.contact-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-social a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Contact Form Styles */
.contact-form-container {
    background-color: rgba(40, 40, 48, 0.8);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.progress-container-2 {
    display: flex;
    align-items: center;
    margin: 30px 0;
}

.progress-steps-2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.progress-steps-2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%);
    z-index: 0;
}

.progress-fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    background-color: var(--accent-color);
    transform: translateY(-50%);
    z-index: 1;
    width: 0;
    transition: width 0.5s ease;
}

.progress-step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.progress-step.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

.progress-step.completed {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.progress-step.completed::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-column {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group label .required {
    color: #ff6b6b;
    margin-left: 5px;
}

.form-input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(208, 197, 126, 0.2);
}

.form-input.invalid {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

.error-message {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.error-message::before {
    content: '\f071';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

.form-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.contact-option {
    position: relative;
}

.contact-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.contact-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.contact-option label:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.contact-option input:checked + label {
    background-color: rgba(208, 197, 126, 0.1);
    border-color: var(--accent-color);
}

.option-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.contact-option input:checked + label .option-icon {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.option-text {
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-option label .check-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-option input:checked + label .check-indicator {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.contact-option input:checked + label .check-indicator::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--primary-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Premium Button Style */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    box-shadow: 0 8px 20px rgba(208, 197, 126, 0.2);
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    z-index: -1;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(208, 197, 126, 0.3);
}

.btn-premium:hover::before {
    left: 100%;
    top: 100%;
}

.btn-premium:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(208, 197, 126, 0.2);
}

.btn-premium:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-premium .progress-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15);
    width: 0%;
    transition: width 1s linear;
    z-index: 0;
}

.btn-premium .btn-text {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-premium .btn-icon {
    opacity: 0;
    width: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.btn-premium.loading .btn-icon {
    opacity: 1;
    width: 1em;
    animation: spin 1s infinite linear;
}

.btn-premium.success .btn-icon {
    opacity: 1;
    width: 1em;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 27px;
    border-radius: 50px;
    background-color: transparent;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    border: 1px solid var(--accent-color);
    opacity: 0;
    transition: all 0.3s ease;
    transform: scale(1.1);
}

.btn-secondary:hover {
    border-color: transparent;
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.btn-secondary:hover::after {
    opacity: 1;
    transform: scale(1);
}

.btn-secondary i {
    transition: transform 0.3s ease;
}

.btn-secondary:hover i {
    transform: translateX(-3px);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Contact Map */
.contact-map-container {
    margin-top: 60px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-color: rgba(40, 40, 48, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
}

.map-title {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-title i {
    color: var(--accent-color);
}

.map-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.map-toggle:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    transition: height 0.5s ease;
}

.contact-map.expanded {
    height: 500px;
}

/* CTA Section */
.map-cta-section {
    margin-top: 20px;
    padding: 30px;
    background-color: rgba(208, 197, 126, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-text {
    flex: 1;
    min-width: 300px;
}

.cta-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* FAQ Section */
.contact-faq {
    margin-top: 80px;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.faq-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-container {
    background-color: rgba(40, 40, 48, 0.8);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h4 {
    font-size: 1rem;
    font-weight: 600;
    flex: 1;
    margin: 0;
}

.faq-toggle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Notification */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
}

.notification {
    background-color: #282830;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-left: 4px solid var(--accent-color);
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification.active {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    border-color: #4CAF50;
}

.notification-error {
    border-color: #F44336;
}

.notification-warning {
    border-color: #FFC107;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-success .notification-icon {
    color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.15);
}

.notification-error .notification-icon {
    color: #F44336;
    background-color: rgba(244, 67, 54, 0.15);
}

.notification-warning .notification-icon {
    color: #FFC107;
    background-color: rgba(255, 193, 7, 0.15);
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 5px;
}

.notification-message {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.notification-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin-left: auto;
    flex-shrink: 0;
}

.notification-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

/* Button pulse animation */
.btn-pulse {
    position: relative;
}

.btn-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    background-color: var(--accent-color);
    z-index: -1;
    animation: pulse 2s infinite;
    opacity: 0.6;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Verbesserte Basis-Styles für die Datenschutz-Checkbox */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 12px;
    position: relative;
    padding: 5px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkbox-group input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: left;
}

.checkbox-group .checkbox-custom {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Checked Status */
.checkbox-group input[type="checkbox"]:checked + label .checkbox-custom {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-group input[type="checkbox"]:checked + label .checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    font-size: 0.75rem;
}

/* Focus Status für bessere Barrierefreiheit */
.checkbox-group input[type="checkbox"]:focus + label .checkbox-custom {
    box-shadow: 0 0 0 3px rgba(208, 197, 126, 0.25);
}

/* Error Status */
.checkbox-group.error {
    background-color: rgba(244, 67, 54, 0.05);
    padding: 10px;
    border-radius: 8px;
}

.checkbox-group.error .checkbox-custom {
    border-color: #ff6b6b;
}

.checkbox-group .error-message {
    position: absolute;
    left: 0;
    bottom: -20px;
    color: #ff6b6b;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkbox-group .error-message::before {
    content: '\f071';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
}

/* Verbesserter Link-Stil */
.checkbox-group a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    padding-bottom: 1px;
}

.checkbox-group a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.checkbox-group a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Info-Tooltip für Datenschutz */
.privacy-tooltip {
    display: inline-block;
    position: relative;
    margin-left: 5px;
    cursor: help;
}

.privacy-tooltip i {
    color: var(--text-secondary);
    font-size: 0.85rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.privacy-tooltip:hover i {
    opacity: 1;
}

.tooltip-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    width: 250px;
    font-size: 0.8rem;
    line-height: 1.5;
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    margin-bottom: 10px;
}

.privacy-tooltip:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
}

.tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: var(--secondary-color) transparent transparent transparent;
}

/* Responsive Styles für die Checkbox-Gruppe */
@media (max-width: 991px) {
    .checkbox-group {
        margin-bottom: 30px;  /* Mehr Platz für den Fehlertext auf Tablets */
    }
    
    .checkbox-group label {
        font-size: 0.85rem;  /* Etwas kleinere Schrift auf Tablets */
    }
    
    .tooltip-content {
        width: 220px;  /* Etwas schmaler auf Tablets */
    }
}

@media (max-width: 767px) {
    .checkbox-group {
        gap: 10px;
        margin-bottom: 35px;  /* Noch mehr Platz für Fehlermeldung auf Mobilgeräten */
        padding: 8px 0;
    }
    
    .checkbox-group .checkbox-custom {
        width: 24px;  /* Etwas größere Checkbox für bessere Touch-Bedienung */
        height: 24px;
        margin-top: 0;  /* Ausrichtung anpassen */
    }
    
    .checkbox-group input[type="checkbox"]:checked + label .checkbox-custom::after {
        font-size: 0.8rem;  /* Größeres Häkchen */
    }
    
    .privacy-tooltip {
        display: block;  /* Als Block anzeigen für mobil */
        margin-left: 0;
        margin-top: 5px;
    }
    
    .privacy-tooltip i {
        font-size: 0.9rem;  /* Größeres Icon für bessere Touch-Bedienung */
    }
    
    /* Tooltip Position anpassen für Mobilgeräte */
    .tooltip-content {
        width: calc(100vw - 40px);
        max-width: 300px;
        left: 0;
        transform: none;
        margin-bottom: 5px;
    }
    
    .tooltip-content::after {
        left: 15px;  /* Pfeil neu positionieren */
    }
    
    /* Für Touch-Geräte: Tooltip bei Tippen anzeigen statt Hover */
    .privacy-tooltip.active .tooltip-content {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 480px) {
    .checkbox-group {
        flex-direction: column;  /* Für sehr kleine Geräte: Checkbox über Text */
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 40px;
    }
    
    .checkbox-group label {
        flex-direction: row;  /* Checkbox links vom Text behalten */
        width: 100%;
        font-size: 0.8rem;  /* Noch kleinere Schrift */
    }
    
    .checkbox-group .checkbox-custom {
        width: 22px;
        height: 22px;
        margin-right: 12px;
    }
    
    .checkbox-group .error-message {
        position: relative;  /* Fehlermeldung normal im Fluss anzeigen */
        bottom: auto;
        margin-top: 5px;
        margin-left: 34px;  /* Einrücken unter den Text */
    }
    
    /* Angepasster Tooltip für sehr kleine Geräte */
    .privacy-tooltip {
        position: static;  /* Im normalen Fluss */
        display: inline;
    }
    
    .tooltip-content {
        left: 50%;
        transform: translateX(-50%);
        width: calc(100vw - 30px);  /* Fast volle Breite */
        bottom: auto;
        top: 100%;
        margin-top: 5px;
    }
    
    .tooltip-content::after {
        bottom: 100%;
        top: auto;
        border-color: transparent transparent var(--secondary-color) transparent;
    }
}

/* Bestätigungsmodal Styles */
.confirmation-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.confirmation-modal-container.active {
    opacity: 1;
    visibility: visible;
}

.confirmation-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.confirmation-modal-container.active .confirmation-modal-overlay {
    opacity: 1;
}

.confirmation-modal {
    background-color: var(--secondary-color);
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.confirmation-modal-container.active .confirmation-modal {
    opacity: 1;
    transform: scale(1);
    animation: fadeZoomIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.confirmation-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.confirmation-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.confirmation-modal-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.confirmation-modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    background-color: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.confirmation-modal-title-group {
    flex: 1;
}

.confirmation-modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.confirmation-modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.confirmation-modal-content {
    padding: 20px;
}

.confirmation-modal-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.confirmation-modal-highlight {
    background-color: rgba(208, 197, 126, 0.1);
    border-left: 3px solid var(--accent-color);
    padding: 15px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
}

.confirmation-modal-highlight p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin: 0;
}

.confirmation-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

@keyframes fadeZoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

body.modal-open {
    overflow: hidden;
}

/* Responsive Styles */
@media (min-width: 992px) {
    .contact-content {
        flex-direction: row;
    }
    
    .contact-info-column {
        width: 40%;
    }
    
    .contact-form-column {
        width: 60%;
    }
    
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-info-column,
    .contact-form-column {
        width: 100%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 767px) {
    .contact-section {
        padding: 70px 0;
    }
    
    .contact-title {
        font-size: 1.8rem;
    }
    
    .contact-description {
        font-size: 1rem;
    }
    
    .contact-info,
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .form-options {
        grid-template-columns: 1fr;
    }
    
    .form-footer {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-premium,
    .btn-secondary {
        width: 100%;
    }
    
    .map-cta-section {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    
    .cta-text,
    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .map-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .faq-title {
        font-size: 1.5rem;
    }
    
    .faq-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .progress-step {
        width: 25px;
        height: 25px;
        font-size: 0.75rem;
    }
}
