/* ============================================
   MAIN.CSS - Ergotherapie Oldenburg Website
   ============================================
   
   Organized according to project conventions:
   1. CSS Variables (:root)
   2. Reset & Base Styles
   3. Animations (@keyframes)
   4. Typography
   5. Layout Utilities
   6. Header & Navigation
   7. Buttons
   8. Cards
   9. Forms
   10. Footer
   11. Hero Section
   12. Page-Specific Sections (Services, Team, Contact, Legal)
   13. Wave Dividers
   14. Back-to-Top & Scroll Animations
   15. Utility Classes (consolidated)
   
   Last reorganized: 2026-01-31
   ============================================ */


/* ============================================
   1. CSS VARIABLES
   ============================================ */

/* Tokens are defined in tokens.css (single source of truth). */


/* ============================================
   2. RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

#therastic {
    scroll-margin-top: var(--scroll-margin-header, 120px);
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.7;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ============================================
   3. ANIMATIONS
   ============================================ */

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

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse-glow {
    0% { box-shadow: var(--shadow-pulse-start); }
    70% { box-shadow: var(--shadow-pulse-mid); }
    100% { box-shadow: var(--shadow-pulse-start); }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}


/* ============================================
   4. TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { 
    font-size: 3.5rem; 
    font-weight: 800; 
    letter-spacing: -0.02em; 
    color: var(--color-text);
}

h2 { 
    font-size: 2.5rem; 
    font-weight: 700; 
    color: var(--color-primary-dark); 
}

h3 { 
    font-size: 1.75rem; 
    font-weight: 700; 
}

h4 { 
    font-size: 1.25rem; 
    font-weight: 600; 
}

p { 
    margin-bottom: 1.2rem; 
}

a {
    text-decoration: none;
    color: var(--color-text);
    transition: color var(--transition-speed) ease;
}

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


/* ============================================
   5. LAYOUT UTILITIES
   ============================================ */

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

section {
    padding: 4rem 0;
    position: relative;
    background-color: var(--color-background);
}

.section-alt {
    background-color: var(--color-background-alt);
    position: relative;
}


/* ============================================
   6. HEADER & NAVIGATION
   ============================================ */

header {
    background-color: var(--color-background);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-nav);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 120px;
    padding: 1rem 0;
}

/* Logo: ein Bild (Kombi Grafik + Text, wie Briefpapier) */
.logo {
    display: block;
    position: relative;
    z-index: 1002;
    transition: transform 0.3s ease;
}

.logo-img {
    display: block;
    height: 100px;
    width: auto;
    max-width: 520px;
    object-fit: contain;
    object-position: left center;
}

.logo:hover {
    transform: scale(1.02);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    color: var(--color-text);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 50px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: -1;
}

.nav-link:hover {
    color: var(--color-white);
}

.nav-link:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link.active {
    color: var(--color-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

.nav-link.active:hover {
    color: var(--color-white);
}

.nav-link.active:hover::after {
    display: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1002;
    /* Button reset for accessibility */
    background: none;
    border: none;
    padding: 0;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--color-text);
    border-radius: 3px;
}

/* Mittlere Linie: weich schrumpfen statt hart ausblenden (kein „Plopp“) */
.hamburger .bar:nth-child(2) {
    transform-origin: center;
    transition: transform 0.2s var(--ease-out), opacity 0.2s var(--ease-out);
}


/* ============================================
   7. BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    font-family: var(--font-heading);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

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

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

.btn-secondary:hover {
    background-color: var(--color-primary-bg);
    color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}


/* ============================================
   8. CARDS
   ============================================ */

.card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 3.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(var(--color-black-rgb), 0.02);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card:hover::before {
    transform: scaleX(1);
}


/* ============================================
   9. FORMS
   ============================================ */

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

/* Compact form with inline labels (placeholders) */
.form--inline-labels .form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}

/* Captcha inline layout */
.form-group--captcha {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.form-group--captcha .form-label {
    margin-bottom: 0;
    white-space: nowrap;
}

.form-group--captcha .form-error {
    width: 100%;
    margin-top: 0.25rem;
}

.form-control {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
    background-color: var(--color-form-bg);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: var(--shadow-focus);
}

.form-control:focus + .form-label {
    color: var(--color-primary);
}

/* Form validation and feedback */
.form-control--error {
    border-color: var(--color-danger);
    background-color: var(--color-danger-bg);
}

.form-control--error:focus {
    border-color: var(--color-danger);
    box-shadow: var(--shadow-focus-danger);
}

.form-control--captcha {
    max-width: 120px;
}

.form-error {
    display: block;
    color: var(--color-danger);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.form-error-box {
    background-color: var(--color-danger-bg);
    border: 1px solid var(--color-danger);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-top: 1.5rem;
    color: var(--color-danger);
}

.form-error-box p {
    margin: 0;
}

.form-success {
    background-color: var(--color-primary-bg-light);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-top: 1.5rem;
    color: var(--color-success-text);
}

.form-success p {
    margin: 0;
}

.form-privacy-note {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.form-privacy-note a {
    color: var(--color-primary);
    text-decoration: underline;
}

.form-privacy-note a:hover {
    color: var(--color-primary-dark);
}

/* Honeypot field - visually hidden but accessible to bots */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ============================================
   10. FOOTER
   ============================================ */

footer {
    background-color: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: 5rem 0 2rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
    background-size: 200% 100%;
    animation: gradientShift 5s linear infinite;
}

footer h4 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

footer h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

footer a {
    color: var(--color-footer-link);
    transition: all 0.3s ease;
    display: inline-block;
}

footer a:hover {
    color: var(--color-primary-light);
    transform: translateX(5px);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(var(--color-white-rgb), 0.1);
    font-size: 0.9rem;
    color: var(--color-text-subtle);
}

.footer-dve {
    margin-top: 1.25rem;
}

.footer-dve img {
    display: block;
    height: 168px;
    width: auto;
    object-fit: contain;
}

.footer-logo-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: none;
    transform: none;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(var(--color-white-rgb), 0.2);
    font-family: var(--font-heading);
}

.footer-logo-link:hover {
    color: inherit;
    transform: none;
}

.footer-logo-subline {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-footer-link);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-logo-main {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.15;
}

.footer-logo-owners {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--color-footer-link);
}


/* ============================================
   11. HERO SECTION
   ============================================ */

.hero {
    background: var(--color-primary-bg);
    padding: 10rem 0 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    display: none;
    content: none;
}

.hero::after {
    display: none;
    content: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease-out;
}

.hero h2 {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--color-text-hero);
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    color: var(--color-text-hero);
    font-weight: 400;
    animation: fadeIn 1s ease-out 0.2s backwards;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.4s backwards;
}

/* Equal-width buttons (e.g. 404 page): grid = same width in row, one column on small screens */
.hero-btns--equal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}
.hero-btns--equal .btn {
    width: 100%;
    justify-content: center;
}

/* 404 page: intro text width, buttons use full container */
.404-actions__text {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Modifiers */
.hero--compact {
    padding: 4rem 0;
}

.hero--with-bg {
    min-height: 60vh;
    background-size: cover;
    background-position: center;
}

/* Breadcrumb navigation – dezentes Styling, über H1 platziert */
.breadcrumb {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.breadcrumb a {
    color: var(--color-text-muted);
    text-decoration: none;
}

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

.breadcrumb p {
    margin: 0;
    font-size: inherit;
}


/* ============================================
   12. PAGE-SPECIFIC SECTIONS
   ============================================ */

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2.5rem;
}

.service-icon {
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    background: var(--color-primary-bg);
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transition: all 0.5s ease;
}

.card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
}

/* --- Team Grid --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.team-member img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    background-color: var(--color-border);
    box-shadow: var(--shadow-image-soft);
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.02);
}

/* --- Contact Page --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

/* Zwei Zeilen: Zeile 1 = Intro links + Content-Card rechts, Zeile 2 = Fließtext links + H3/Text rechts (H3s gleiche Höhe) */
/* Zweizeiliges Layout: Zeile 1 = Intro links + Content-Card rechts, Zeile 2 = Haupttext links + Sidebar-Text rechts (Überschriften gleiche Höhe); row-gap reduziert. */
.contact-wrapper--two-row {
    grid-template-rows: auto auto;
    row-gap: 2rem;
}

/* Handtherapie: links H2+Intro + „Unser Ansatz“ + „Ihr erster Termin“ als eine Spalte (eng gestapelt), rechts Krankheitsbilder-Karte. Nur handtherapie.html. */
.contact-wrapper--handtherapie {
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.contact-wrapper--handtherapie__left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-wrapper--handtherapie__left > *:first-child > p {
    margin-bottom: 0;
}
.contact-wrapper--handtherapie__left > *:last-child > h3:first-of-type {
    margin-top: 0;
}

.contact-wrapper--handtherapie > *:last-child {
    align-self: start;
}

.contact-section .contact-wrapper {
    grid-template-columns: 1fr 1.35fr;
}

/* --- Index Intro: modernisierte Split-Section (nur mit Modifier) --- */
.contact-wrapper--intro {
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(2rem, 4vw, 4rem);
    padding: clamp(1.5rem, 3.5vw, 3rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--color-background-alt), var(--color-white));
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-card);
}

.contact-wrapper--intro > * {
    min-width: 0;
}

.contact-wrapper--intro .intro-image {
    height: auto;
    max-height: 520px;
    aspect-ratio: 4 / 3;
    border-radius: calc(var(--radius-lg) - 8px);
    box-shadow: var(--shadow-image-soft);
}

.contact-wrapper--intro .teaser-box {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info-box {
    background-color: var(--color-white);
    padding: 2rem 2.25rem;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border-light);
}

.contact-info-box__title {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-border-light);
}

.contact-details {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-detail-row {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 1rem 1.5rem;
    align-items: start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border-light);
}

.contact-detail-row:last-child {
    border-bottom: none;
}

.contact-detail-label {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.contact-detail-value {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-dark);
    min-width: 0;
}

.contact-detail-value a {
    color: var(--color-primary);
    font-weight: 500;
}

.contact-detail-value a:hover {
    text-decoration: underline;
}

.contact-detail-legal {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.contact-detail-note {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-top: 0.35em;
}

/* Kontakt-Seite: Therastic-Anmeldung (Formular temporär deaktiviert) */
.kontakt-komplett {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #34495e;
    width: 100%;
}

.kontakt-komplett .kontakt-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.kontakt-komplett .kontakt-links {
    flex: 1 1 calc(50% - 20px);
    min-width: 280px;
}

.kontakt-komplett .kontakt-rechts {
    flex: 1 1 calc(50% - 20px);
    min-width: 280px;
}

.kontakt-komplett .kontakt-links h1 {
    color: #2c3e50;
    font-size: 2em;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1em;
}

.kontakt-komplett .kontakt-links p {
    margin: 0 0 1em 0;
    line-height: 1.65;
}

.kontakt-komplett .kontakt-links .datenschutz-hinweis {
    font-weight: bold;
    font-style: italic;
    margin: 1.25em 0 1.5em 0;
    color: #34495e;
}

.kontakt-komplett .kontakt-details {
    margin-top: 1.5em;
}

.kontakt-komplett .kontakt-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1em;
}

.kontakt-komplett .kontakt-detail-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    color: #6c757d;
}

.kontakt-komplett .kontakt-detail-content {
    line-height: 1.5;
}

.kontakt-komplett .kontakt-detail-content a {
    color: #2e7d32;
    text-decoration: none;
}

.kontakt-komplett .kontakt-detail-content a:hover {
    text-decoration: underline;
}

.kontakt-komplett .kontakt-section {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 44px 32px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    min-height: 320px;
}

.kontakt-komplett .kontakt-section h2 {
    color: #2c3e50;
    font-size: 1.55em;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1em;
    line-height: 1.3;
}

.kontakt-komplett .kontakt-section .lead {
    font-size: 1.05em;
    color: #34495e;
    margin-bottom: 1.75em;
    line-height: 1.65;
}

.kontakt-komplett .kontakt-button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background-color: #e57840;
    color: #ffffff !important;
    padding: 18px 28px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none !important;
    text-align: center;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: 0 3px 10px rgba(229, 120, 64, 0.35);
}

.kontakt-komplett .kontakt-button:hover {
    background-color: #d36935;
    box-shadow: 0 4px 14px rgba(229, 120, 64, 0.45);
}

.kontakt-komplett .privacy-note {
    margin-top: 1.75em;
    font-size: 0.92em;
    color: #6c757d;
    line-height: 1.6;
}

.kontakt-komplett .privacy-note a {
    color: #2c3e50;
    font-weight: 600;
    text-decoration: none;
}

.kontakt-komplett .privacy-note a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .kontakt-komplett .kontakt-wrapper {
        flex-direction: column;
        gap: 36px;
    }

    .kontakt-komplett .kontakt-links,
    .kontakt-komplett .kontakt-rechts {
        flex: 1 1 100%;
    }

    .kontakt-komplett .kontakt-section {
        min-height: unset;
    }
}

@media (max-width: 768px) {
    .kontakt-komplett .kontakt-links h1 {
        font-size: 1.7em;
    }

    .kontakt-komplett .kontakt-section {
        padding: 32px 24px;
    }

    .kontakt-komplett .kontakt-section h2 {
        font-size: 1.4em;
    }
}

/* Legacy: keep for any other use of info-item */
.info-item {
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item h5 {
    color: var(--color-primary-dark);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

/* --- Legal Pages --- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 4rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.legal-content h2 {
    margin-top: 2.5rem;
    font-size: 1.75rem;
    color: var(--color-primary-dark);
    border-bottom: 2px solid var(--color-border-light);
    padding-bottom: 0.5rem;
}

.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.legal-content li {
    margin-bottom: 0.35rem;
}

/* Datenschutz-Seite: Überschriften wie auf Legal-Seiten üblich (Textfarbe, dezente Größen) */
.page-datenschutz .hero h1 {
    color: var(--color-text-hero);
    font-size: 1.75rem;
    font-weight: 700;
}

.page-datenschutz .legal-content h2:first-of-type {
    margin-top: 0;
}

.page-datenschutz .legal-content h2,
.page-datenschutz .legal-content h3 {
    color: var(--color-text);
    font-size: 1.25rem;
    font-weight: 700;
}

.page-datenschutz .legal-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    border: none;
    padding-bottom: 0;
}

/* Impressum-Seite: gleiche Überschriften-Styles wie Datenschutz (legal-content) */
.page-impressum .hero h1 {
    color: var(--color-text-hero);
    font-size: 1.75rem;
    font-weight: 700;
}

.page-impressum .legal-content h2:first-of-type {
    margin-top: 0;
}

.page-impressum .legal-content h2,
.page-impressum .legal-content h3 {
    color: var(--color-text);
    font-size: 1.25rem;
    font-weight: 700;
}

.page-impressum .legal-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    border: none;
    padding-bottom: 0;
}

/* PDF-Link-Box (preise.html): kein iframe, Link öffnet PDF in neuem Tab – funktioniert zuverlässig auf allen Geräten */
.pdf-link-box {
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 2rem;
    border-radius: var(--radius-md);
    background-color: var(--color-background-alt);
    border: 1px solid var(--color-border-light);
    text-align: center;
}

.pdf-link-box .btn {
    display: inline-block;
    margin-bottom: 1rem;
}

.pdf-link-box .btn-group {
    display: inline-flex;
    justify-content: center;
}

.pdf-link-box .btn-group .btn {
    margin-bottom: 0;
}

.pdf-link-box-note {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Kontakt: Download-Bereich „Dokumente zum Mitbringen“ – Abstand nach oben per .divider + .mt-2 */
.contact-downloads-section {
    margin-bottom: 2rem;
}

.contact-downloads-section h2 {
    margin-bottom: 0.75rem;
}

.contact-downloads-section > p {
    margin-bottom: 1rem;
}

.contact-datenschutz-hinweis {
    background-color: var(--color-background-alt);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.contact-datenschutz-hinweis p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text);
}

.downloads-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.downloads-list .pdf-link-box {
    margin-top: 0;
    margin-bottom: 0;
    flex: 1 1 280px;
    min-width: 0;
}

/* --- Stellenangebot: Verfasser (Team als Absender der Bewerbung, im Container) --- */
.stellenangebot-verfasser {
    margin-top: 2.5rem;
    margin-bottom: 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border-light);
}

.stellenangebot-verfasser-label {
    font-weight: 600;
    color: var(--color-primary-dark);
}

.stellenangebot-verfasser-namen {
    font-size: 1rem;
    color: var(--color-text);
}

/* --- Stellenangebot: Staff-Carousel (fliegende Mitarbeiter-Fotos, nur diese Seite, kein Lightbox) --- */
.staff-carousel-section {
    padding: 2.5rem 0 3rem;
    background: var(--color-background-alt);
}

/* Carousel ganz unten im Stellenangebot-Text (in legal-content) */
.staff-carousel-section--in-content {
    margin-top: 2.5rem;
    padding: 2rem 0 2.5rem;
    border-radius: var(--radius-md);
}

.staff-carousel-heading {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin: 0 0 1.5rem;
}

.staff-carousel {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.staff-carousel__track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: staff-carousel-scroll 80s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
}

.staff-carousel__item {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
}

.staff-carousel__img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: var(--shadow-card);
    border: 3px solid var(--color-primary-light);
}

@media (prefers-reduced-motion: reduce) {
    .staff-carousel__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        will-change: auto;
    }
}

@keyframes staff-carousel-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* ============================================
   13. WAVE DIVIDERS
   ============================================ */

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-divider .shape-fill {
    fill: var(--color-background);
}

.wave-divider--bg .shape-fill {
    fill: var(--color-background);
}

.wave-divider--alt .shape-fill {
    fill: var(--color-background-alt);
}

.wave-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}


/* ============================================
   14. BACK-TO-TOP & SCROLL ANIMATIONS
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-primary);
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Button reset for accessibility */
    border: none;
    font-family: inherit;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: var(--shadow-fab);
    z-index: 999;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background-color: var(--color-primary-dark);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: none;
}

/* ============================================
   15. UTILITY CLASSES
   ============================================ */

/* --- Margin Utilities --- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-05 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* --- Padding Utilities --- */
.pt-2 { padding-top: 2rem; }

/* --- Text Utilities --- */
.text-center { text-align: center; }
.text-bold { font-weight: bold; }

.text-muted { color: var(--color-grey-400); }
.text-muted-sm { font-size: 0.9em; opacity: 0.8; }

.text-primary { color: var(--color-primary); }
.text-primary-bold { font-weight: bold; color: var(--color-primary); }

.lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
}

/* --- Layout Utilities --- */
.content-narrow {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


.contact-wrapper--centered { align-items: center; }

.section--wave-top {
    position: relative;
    padding-top: 8rem;
}

.section--wave-bottom {
    position: relative;
    padding-bottom: 6rem;
}

/* Verhindert horizontalen Overflow (z. B. Carousel mittig) */
.section--wave-top.section--wave-bottom {
    overflow-x: hidden;
}

.section--pt-sm { padding-top: 2rem; }

/* --- Animation Delays --- */
.animate-delay-1 { animation-delay: 0.2s; }
.animate-delay-2 { animation-delay: 0.4s; }

/* --- Links --- */
.text-link-underline {
    color: inherit;
    text-decoration: underline;
}

.text-link-primary { color: var(--color-primary); }
.text-link-primary:hover { color: var(--color-primary-dark); }

.card-link {
    color: var(--color-primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.card-link:hover { color: var(--color-primary-dark); }

/* --- Divider --- */
.divider {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid var(--color-divider);
}

/* --- Content Statement (hervorgehobener Satz) --- */
.content-statement {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--color-primary-bg), var(--color-white));
    border-radius: 12px;
    box-shadow: var(--shadow-teaser);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary-dark);
}

/* --- Button Modifiers --- */
.btn--full { width: 100%; }

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

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}


/* ============================================
   16. CONTENT COMPONENTS
   ============================================ */

/* --- Content Card (Sidebar Boxes) --- */
.content-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

.content-card-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 2rem;
}

/* --- Two equal columns under content card (same height, same width) --- */
.content-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
    margin-top: 2rem;
}

.content-two-col .content-card {
    min-height: 0;
}

/* --- Info Card (Highlighted Box with Border) --- */
.info-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    margin-bottom: 2rem;
}

.info-card--highlight {
    background: linear-gradient(135deg, var(--color-primary-bg), var(--color-white));
}

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

/* --- CTA Box --- */
.cta-box {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--color-white);
    box-shadow: var(--shadow-cta);
}

.cta-box h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-box p {
    color: rgba(var(--color-white-rgb), 0.9);
    max-width: 600px;
    margin: 0 auto 2rem auto;
    font-size: 1.2rem;
}

/* --- CTA Section (Full-Width Alternative) --- */
.cta-section {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
}

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(var(--color-white-rgb), 0.9);
    margin-bottom: 2rem;
}

.cta-section .cta-privacy {
    margin-top: 1.25rem;
    margin-bottom: 0;
    font-size: 0.875rem;
    opacity: 0.9;
}

.cta-section .cta-privacy a {
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cta-section .cta-privacy a:hover {
    opacity: 0.9;
}

.cta-booking-card {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem 1rem 1.25rem;
    text-decoration: none;
    color: var(--color-text);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transition: transform var(--transition-normal) var(--ease-spring), box-shadow var(--transition-normal) var(--ease-default);
}

.cta-booking-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.cta-booking-card__logo {
    height: 80px;
    width: auto;
    flex-shrink: 0;
    transition: transform var(--transition-fast) var(--ease-bounce);
}

.cta-booking-card:hover .cta-booking-card__logo {
    transform: translateY(-4px) rotate(-5deg);
}

.cta-booking-card__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    flex: 1;
}

.cta-booking-card__action {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    line-height: var(--line-height-tight);
    white-space: nowrap;
}

.cta-booking-card__sub {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    line-height: var(--line-height-normal);
    white-space: nowrap;
}

.cta-booking-card__sub strong {
    color: var(--color-text-dark);
    font-weight: var(--font-weight-semibold);
}

.cta-booking-card__arrow {
    color: var(--color-primary);
    flex-shrink: 0;
    opacity: 0.7;
    transition: transform var(--transition-fast) var(--ease-out), opacity var(--transition-fast) var(--ease-default);
}

.cta-booking-card:hover .cta-booking-card__arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* Variante für helle Seitenhintergründe (z.B. Kontaktseite) */
.cta-booking-card--on-light {
    background: var(--color-primary);
    box-shadow: var(--shadow-cta);
    width: 100%;
}

.cta-booking-card--on-light:hover {
    box-shadow: 0 20px 50px rgba(var(--color-primary-rgb), 0.35);
}

.cta-booking-card--on-light .cta-booking-card__action {
    color: var(--color-white);
}

.cta-booking-card--on-light .cta-booking-card__sub {
    color: rgba(var(--color-white-rgb), 0.8);
}

.cta-booking-card--on-light .cta-booking-card__sub strong {
    color: var(--color-white);
}

.cta-booking-card--on-light .cta-booking-card__arrow {
    color: var(--color-white);
    opacity: 0.8;
}

.cta-booking-card--on-light:hover .cta-booking-card__arrow {
    opacity: 1;
}

@media (max-width: 480px) {
    .cta-booking-card {
        padding: 0.875rem 1.25rem 0.875rem 1rem;
        gap: 1rem;
        max-width: calc(100vw - 2 * var(--space-container));
    }

    .cta-booking-card__action,
    .cta-booking-card__sub {
        white-space: normal;
    }

    .cta-booking-card__logo {
        height: 64px;
    }

    .cta-booking-card__action {
        font-size: var(--font-size-lg);
    }
}

/* --- Teaser Box --- */
.teaser-box {
    background: linear-gradient(135deg, var(--color-primary-bg), var(--color-white));
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    box-shadow: var(--shadow-teaser);
}

.teaser-box h4 {
    margin-bottom: 0.5rem;
    color: var(--color-primary-dark);
}

.teaser-box p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.teaser-box a {
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: underline;
    color: var(--color-primary);
}

/* Buttons in Teaser-Box wie Hero-Buttons (z. B. Team-Seite „Zum Stellenangebot“) */
.teaser-box a.btn {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
}
.teaser-box a.btn-primary {
    color: var(--color-white);
}
.teaser-box a.btn-primary:hover {
    color: var(--color-white);
}

/* --- Index: Services Teaser Panel --- */
.index-services-teaser {
    padding: clamp(1.75rem, 3.5vw, 3.25rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--color-white), var(--color-background-alt));
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-card);
}

.index-services-teaser p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-grey-700);
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
}

.index-services-teaser p + p {
    margin-top: 1rem;
}


/* ============================================
   17. LISTS
   ============================================ */

/* --- Intro List --- */
.intro-list {
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
    list-style: disc;
}

.intro-list a { color: var(--color-text); text-decoration: none; }
.intro-list a:hover { color: var(--color-primary); }

/* --- Intro Heading --- */
.intro-heading {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

/* --- Content List --- */
.content-list {
    margin-bottom: 2rem;
    list-style-type: disc;
    padding-left: 1.5rem;
}

.content-list--sm { margin-bottom: 1.5rem; }

/* --- Feature List (Bordered Items) --- */
.feature-list {
    list-style-type: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-divider);
}

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

/* --- Summary List (Spaced Items) --- */
.summary-list {
    list-style: none;
    padding: 0;
}

.summary-list li { margin-bottom: 1.5rem; }
.summary-list li:last-child { margin-bottom: 0; }

/* --- Check Grid --- */
.check-grid {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.check-item {
    display: flex;
    align-items: center;
}

.check-item::before {
    content: '✓';
    color: var(--color-primary);
    margin-right: 10px;
    font-weight: bold;
}

/* --- Danger List (Warning Items) --- */
.danger-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.danger-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-divider-dark);
}

.danger-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* --- Definition List --- */
.definition-list {
    margin-bottom: 2rem;
    list-style-type: none;
    padding: 0;
}

.definition-list li {
    margin-bottom: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--color-primary-bg), var(--color-white));
    border-radius: 8px;
}

.definition-list li:last-child { margin-bottom: 0; }

/* --- Resource List --- */
.resource-list {
    list-style: none;
    padding: 0;
}

.resource-list li {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-divider);
}

.resource-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.resource-title {
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.resource-title:hover { color: var(--color-primary-dark); }


/* --- FAQ Section (details/summary accordion) --- */
.faq-section {
    padding: 5rem 0;
}

.faq-list {
    margin-top: 2rem;
}

.faq-item {
    border-bottom: 1px solid var(--color-divider);
    padding: 1.25rem 0;
}

.faq-item:first-child {
    padding-top: 0;
}

.faq-question {
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-text);
    list-style: none;
    padding-right: 2rem;
    position: relative;
    line-height: 1.4;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-question:hover {
    color: var(--color-primary-dark);
}

.faq-answer {
    padding-top: 1rem;
    padding-right: 2rem;
}

.faq-answer p {
    margin-bottom: 0;
    color: var(--color-text);
}

/* Neurofeedback: Abstand zwischen Anwendungsgebiete-Karte und "Besonders wirksam" (gleiche Höhe wie "Warum wir anbieten") */
.neurofeedback-block-spaced {
    margin-top: 2rem;
}


/* ============================================
   18. TABLES
   ============================================ */

/* --- Balance Guide --- */
.balance-guide {
    margin: 3rem 0;
}

.balance-guide-header {
    text-align: center;
    padding: 0 1rem 2rem 1rem;
}

.balance-guide-header h2 {
    margin-bottom: 0.5rem;
}

.balance-columns-container {
    display: flex;
    flex-direction: column;
}

.balance-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.balance-column:not(:first-of-type) {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px dashed var(--color-grey-300);
}

.grid-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    padding: 1.25rem 1rem;
    font-weight: bold;
    border-radius: 12px;
    color: var(--color-white);
    text-align: center;
}

.grid-header svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.header-bewegung { background-color: var(--color-balance-bewegung); }
.header-medien { background-color: var(--color-balance-medien); }
.header-schlaf { background-color: var(--color-balance-schlaf); }

.grid-cell {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-grid-cell);
    border: 1px solid var(--color-border-light);
}

.cell-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-text-strong);
    display: block;
    margin-bottom: 1rem;
}

.recommendation {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.recommendation-bewegung { color: var(--color-balance-bewegung-text); }
.recommendation-medien { color: var(--color-balance-medien-text); }
.recommendation-schlaf { color: var(--color-balance-schlaf-text); }

.details {
    font-size: 0.9rem;
    color: var(--color-grey-700);
}

@media (min-width: 992px) {
    .balance-columns-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        align-items: start;
    }

    .balance-column:not(:first-of-type) {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }
}


/* ============================================
   19. IMAGES
   ============================================ */

.intro-image {
    width: 100%;
    height: 400px;
    max-height: 50vh;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

/* --- Section Title & Subtitle --- */
.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
    color: var(--color-grey-700);
}


/* ============================================
   20. CONTACT PAGE COMPONENTS
   ============================================ */

/* So finden Sie uns – volle Containerbreite, 2 Sektionen */
.find-us-full {
    margin-top: 5rem;
    padding-top: 0;
}

.find-us-full__title {
    font-size: 1.75rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-border-light);
    padding-bottom: 0.5rem;
}

.find-us-full__address {
    margin-bottom: 1.5rem;
}

.find-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.find-us-section {
    background: var(--color-background-alt);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.find-us-section h3 {
    font-size: 1.15rem;
    color: var(--color-primary-dark);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.find-us-section p {
    margin-bottom: 0.75rem;
}

.find-us-section ul ul {
    margin-top: 0.35rem;
    margin-bottom: 0.75rem;
    padding-left: 1.25rem;
    list-style: disc;
}

.find-us-section .content-list > li {
    margin-bottom: 0.5rem;
}

/* --- Info Text --- */
.info-text-sm {
    font-size: 0.9em;
    color: var(--color-grey-700);
}

.info-note {
    font-size: 0.9em;
    margin-top: 0.5rem;
}


/* ============================================
   21. LONG-COVID PAGE COMPONENTS
   ============================================ */

.quick-info-box {
    background: linear-gradient(135deg, var(--color-accent-bg), var(--color-white));
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

.quick-info-box h2 {
    color: var(--color-accent-dark);
    margin-top: 0;
    font-size: 1.5rem;
}

.quick-info-box ul {
    list-style-type: none;
    padding: 0;
    margin: 1rem 0;
}

.quick-info-box li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(var(--color-black-rgb), 0.05);
    font-weight: 600;
}

.quick-info-box li:last-child { border-bottom: none; }

.quick-contact-btn {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
}


/* ============================================
   22. SERVICE OVERVIEW SECTIONS (Stacked Layout)
   ============================================ */

.service-section {
    padding: 3rem 0;
}

/* Ungerade = Grau, Gerade = Weiß (getauscht gegenüber ursprünglich) */
.service-section:nth-child(odd) {
    background: var(--color-grey-50);
}

.service-section:nth-child(even) {
    background: var(--color-background);
}

.service-section-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.service-section-content h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.service-section-content h2 .service-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.service-section-content p {
    margin-bottom: 1rem;
    color: var(--color-text);
    line-height: 1.7;
}

.service-section-sidebar {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.service-section:nth-child(odd) .service-section-sidebar {
    background: var(--color-grey-100);
}

.service-section:nth-child(even) .service-section-sidebar {
    background: var(--color-white);
}

.service-section-sidebar h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.service-section-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.service-section-sidebar li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.5;
}

.service-section-sidebar li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.service-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* Responsive: Service Sections */
@media (max-width: 768px) {
    .service-section-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-section-content h2 {
        font-size: 1.5rem;
    }
}

.quick-contact-btn:hover {
    background-color: var(--color-accent-dark);
    color: var(--color-white);
}
