/* Hero Tabs / Registrierkarten */
/*#hero-tabs {
    /*background-color: #fff; /* Hellerer Hintergrund für diesen Bereich
} */
.tabs-container {
    display: flex;
    flex-wrap: wrap; /* Erlaubt Umbruch bei vielen Karten */
    gap: 20px; /* Abstand zwischen den Karten */
    justify-content: center; /* Zentriert die Karten, wenn sie nicht die volle Breite einnehmen */
}

.tab-card {
    background-color: var(--highlight-background-color);;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    flex-basis: calc(33.333% - 20px); /* 3 Karten pro Reihe, abzüglich Gap */
    min-width: 280px; /* Mindestbreite, bevor es zu schmal wird */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column; /* Stellt sicher, dass der Button unten ist */
}

.tab-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.tab-card-image {
    width: 100%;
    max-height: 180px; /* Höhe der Bilder begrenzen */
    object-fit: cover; /* Stellt sicher, dass Bilder gut aussehen */
    border-radius: 6px;
    margin-bottom: 15px;
}

.tab-card-title {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.tab-card-text {
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1; /* Sorgt dafür, dass der Textbereich wächst und Buttons unten bleiben */
}

.tab-card-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: var(--light-text-color) !important;
    border-radius: 4px;
    text-decoration: none !important;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Drückt den Link nach unten, wenn flex-direction column ist */
}

.tab-card-link:hover {
    background-color: var(--hover-darken-primary);
}

/* Therapeut Preview Section */
#therapeut-preview {
    background-color: var(--section-bg-light); /* Setzt den vollflächigen Hintergrund */
}

.therapeut-preview-content {
    display: flex;
    gap: 30px;
    align-items: center;
}
.therapeut-image-container {
    flex-basis: 40%; /* Bild nimmt 40% der Breite ein */
    max-width: 350px;
}
.therapeut-image-container img {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.therapeut-text-container {
    flex-basis: 60%;
}
.therapeut-text-container .cta-button {
    margin-top: 20px;
}


/* Contact CTA Section */
#contact-cta-section {
    background-color: var(--primary-color); /* Akzentuierter Hintergrund */
    color: var(--light-text-color);
    margin-top: 40px;
}
#contact-cta-section .section-title,
#contact-cta-section h2 { /* Überschrift soll hell sein */
    color: var(--light-text-color);
}
.cta-button-prominent {
    padding: 15px 30px;
    font-size: 1.1em;
    margin-top: 10px;
    border-radius: 30px;
}

/* Video Section */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 800px; /* Maximale Breite des Videos */
    margin: 0 auto; /* Zentriert das Video, wenn es schmaler als der Container ist */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: flex;
    flex-direction: column; /* Stapelt die Elemente */
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Verhindert, dass Elemente überlappen */
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-placeholder:hover .video-thumbnail {
    transform: scale(1.05); /* Leichter Zoom-Effekt beim Hovern */
}

.play-button-overlay {
    position: relative;
    z-index: 2;
    color: white;
    background-color: rgba(0,0,0,0.5);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.play-button-overlay i.fa-play {
    font-size: 2em;
    margin-left: 5px; /* Optische Korrektur für das Play-Icon */
}

.video-placeholder:hover .play-button-overlay {
    background-color: var(--accent-color); /* Farbe ändert sich beim Hovern */
}

.privacy-notice {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.7);
    color: #e0e0e0;
    font-size: 0.8em;
    padding: 10px;
    text-align: center;
    z-index: 2;
}

.privacy-notice a {
    color: #fff;
    text-decoration: underline;
}

/* Mobile Styles / Responsive Design */
@media (max-width: 992px) { /* Tablet und darunter */
    .therapeut-preview-content {
        flex-direction: column;
        text-align: center;
    }
    .therapeut-image-container {
        margin-bottom: 20px;
        max-width: 300px; /* Bild etwas kleiner auf Tablets */
    }
    .tabs-container {
        justify-content: center;
    }
    .tab-card {
        flex-basis: calc(50% - 15px); /* 2 Karten pro Reihe */
    }
}


@media (max-width: 768px) { /* Mobile Geräte */
    .tabs-container {
        flex-direction: column; /* Karten untereinander */
        align-items: center;
    }
    .tab-card {
        flex-basis: 100%; /* Eine Karte pro Reihe */
        max-width: 400px; /* Maximale Breite für einzelne Karten */
    }
}