/* === SANARA — Verbesserungen (2026-10) ===
   Ergänzt main.css: Barrierefreiheit, Bewegung, Hero ohne Fremdbild, Platzhalter-Hinweise, FAQ, Kundenstimmen/Team. */

/* --- Barrierefreiheit --- */
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 2000; background: var(--color-gold); color: var(--color-navy-dark); padding: 12px 20px; border-radius: var(--radius-md); font-weight: var(--fw-semibold); text-decoration: none; transition: top var(--transition); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--color-gold-dark); outline-offset: 3px; }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .cta-banner :focus-visible, .page-hero :focus-visible { outline-color: var(--color-gold-light); }
main:focus { outline: none; }

/* Gold als Textfarbe auf hellem Grund war zu blass: dunkleres Gold für Links und kleine Schrift (Kontrast >= 4,5:1) */
.leistung-card .card-link, .team-card__role { color: #043a7b; }

/* --- Scroll-Einblendung: nur wenn JavaScript läuft, nie bei reduzierter Bewegung --- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 1; transform: none; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .hero-bg { transition: none; transform: none !important; }
    .btn, .card, .wert-item, .testimonial-card, .team-card { transition: none; }
}

/* --- Hero: ohne Fremdbild; eigenes Bild über Anpassen > Sanara > Startseite --- */
.hero-bg { background-image: none; background: radial-gradient(120% 90% at 85% 10%, var(--color-navy-light) 0%, var(--color-navy) 45%, var(--color-navy-dark) 100%); }
.hero-bg--image { background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-title em { font-style: normal; }
.hero-description { max-width: 620px; }

/* --- Sichtbare Platzhalter statt "PLACEHOLDER" --- */
.is-missing { font-style: italic; }
.kontakt-info-item .is-missing, .standort-card .is-missing { color: #5b6270; font-weight: var(--fw-regular); }

/* --- Kontrast: Standort-Überschrift (Archiv nutzt h2, Stil galt nur für h3) und Fußzeile --- */
.standort-card__header h2 { color: var(--color-white); margin-bottom: 4px; }
.standort-card__header p { color: rgba(255, 255, 255, 0.85); }
.footer-bottom p, .footer-bottom { color: rgba(255, 255, 255, 0.78); }
.open-note { background: var(--color-cream); border: 2px dashed var(--color-border); border-radius: var(--radius-lg); padding: 20px 24px; color: var(--color-text-light); font-size: var(--text-sm); }
.draft-note { background: #fff7e0; border: 1px solid var(--color-gold); border-left-width: 6px; border-radius: var(--radius-md); padding: 16px 20px; color: #5a3d00; margin-bottom: 32px; font-size: var(--text-sm); }

/* --- Hinweis zur Leistungsabgrenzung / Hinweisbox --- */
.hint-box { background: var(--color-green-light); border-left: 6px solid var(--color-green); border-radius: var(--radius-md); padding: 20px 24px; color: var(--color-navy-dark); margin-top: 32px; font-size: var(--text-sm); }

/* --- Fließtext (Rechtsseiten, FAQ, Leistungsdetails) --- */
.prose { color: var(--color-text); line-height: 1.8; }
.prose h2 { font-size: var(--text-2xl); margin: 40px 0 12px; }
.prose h3 { font-size: var(--text-xl); margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin-bottom: 16px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose a { color: var(--color-navy-light); text-decoration: underline; text-underline-offset: 3px; }

/* --- FAQ (Details-Blöcke) --- */
.faq-list details, .prose .wp-block-details { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 0; margin-bottom: 14px; box-shadow: var(--shadow-sm); overflow: hidden; }
.prose .wp-block-details summary, .faq-list summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-family: var(--font-heading); font-size: var(--text-lg); font-weight: var(--fw-semibold); color: var(--color-navy); position: relative; }
.prose .wp-block-details summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.prose .wp-block-details summary::after, .faq-list summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-family: var(--font-body); font-size: 1.6rem; line-height: 1; color: var(--color-gold-dark); }
.prose .wp-block-details[open] summary::after, .faq-list details[open] summary::after { content: '–'; }
.prose .wp-block-details > :not(summary), .faq-list details > :not(summary) { padding: 0 24px 20px; margin: 0; color: var(--color-text-light); }
.prose .wp-block-details > p:last-child { padding-bottom: 22px; }

/* --- Zahlen (nur sichtbar, wenn im Customizer gepflegt) --- */
.stats-grid:empty { display: none; }

/* --- Team: Foto-Platzhalter ohne Fremdbild --- */
.team-card__photo--placeholder { display: flex; align-items: center; justify-content: center; background: var(--color-green-light); color: var(--color-green); }
.team-card__photo--placeholder .dashicons { font-size: 64px; width: 64px; height: 64px; }
.about-image--placeholder { min-height: 360px; border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--color-green-light), var(--color-cream-dark)); display: flex; align-items: center; justify-content: center; text-align: center; padding: 32px; color: var(--color-navy); }
.about-image--placeholder span { display: block; font-size: var(--text-sm); color: var(--color-text-light); margin-top: 8px; }
.about-image--placeholder .dashicons { font-size: 56px; width: 56px; height: 56px; color: var(--color-green); }
.about-image--placeholder::before { display: none; }

/* --- Überschriften-Ebenen (h2/h3 statt h4) mit unverändertem Aussehen --- */
.footer-col .footer-heading { color: var(--color-white); font-family: var(--font-body); font-size: var(--text-sm); font-weight: var(--fw-semibold); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; line-height: 1.4; }
.wert-item .wert-item__title { font-size: var(--text-base); color: var(--color-navy); margin-bottom: 8px; }
.kontakt-info .kontakt-info__title { font-size: var(--text-2xl); margin-bottom: 24px; }
.kontakt-info .kontakt-info-item h3 { font-size: var(--text-sm); color: var(--color-text-light); font-family: var(--font-body); font-weight: var(--fw-medium); margin-bottom: 4px; }
.team-card__bio p + p { margin-top: 8px; }
figure.testimonial-card { margin: 0; }
.testimonial-card blockquote { margin: 0 0 24px; }

/* --- Kontaktformular (Contact Form 7) --- */
.wpcf7 .hidden-fields-container { border: 0; padding: 0; margin: 0; min-width: 0; height: 0; overflow: hidden; }
.wpcf7-form p, .wpcf7-form > label { margin-bottom: 18px; }
.wpcf7-form > label { display: block; }
.wpcf7-form select { appearance: auto; }
.wpcf7-acceptance label { display: flex; gap: 12px; align-items: flex-start; font-weight: var(--fw-regular); line-height: 1.5; }
.wpcf7-acceptance input[type="checkbox"] { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; accent-color: var(--color-navy); }
.wpcf7-acceptance a { color: var(--color-navy-light); text-decoration: underline; }
.wpcf7-not-valid-tip { color: #b42318; font-size: var(--text-sm); margin-top: 4px; display: block; }
.wpcf7 form .wpcf7-response-output { border-radius: var(--radius-md); padding: 14px 18px; margin: 20px 0 0; font-size: var(--text-sm); }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--color-green); background: var(--color-green-light); }
.wpcf7-spinner { display: none; }

/* --- Nur für Screenreader sichtbar --- */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal; }

/* --- Leistungsdetail --- */
.leistung-nutzen { list-style: none; padding: 0; display: grid; gap: 10px; margin: 20px 0 0; }
.leistung-nutzen li { display: flex; gap: 12px; align-items: flex-start; }
.leistung-nutzen li::before { content: '✓'; color: var(--color-green); font-weight: var(--fw-bold); }
