/* Familienkarten: Standard-Layout der App-Familie (Marcus-Website/_reference/brand/APP-FAMILIE-TEASER.md),
   wie auf der MarcusMend-Website. Logo sichtbar so breit wie die Badge-Reihe (max. 2 x 180 + 12 = 372 px). */
#familie .fam-card{padding:28px}
#familie .fam-context{margin:0 0 10px}
#familie .fam-logo{margin:0}
#familie .fam-logo img{display:block;width:min(100%,372px);height:auto}
#familie .fam-text{margin:24px 0 20px}
#familie .fam-links{margin-top:auto;display:flex;flex-wrap:wrap;gap:6px 20px}
#familie .fam-info{display:inline-flex;align-items:center;gap:6px;text-decoration:none}
#familie .fam-info:hover{text-decoration:underline;text-underline-offset:4px}
#familie .fam-info svg{flex:none}
#familie .fam-access{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:min(100%,372px);margin-top:14px}
#familie .fam-access>div{display:flex;flex-direction:column;justify-content:space-between;gap:6px;min-width:0}
#familie .fam-label{font-size:12px;font-weight:600;color:var(--color-fg-muted,#6b6459)}
#familie .fam-access img{display:block;width:100%;max-width:180px;height:auto}
/* Seitenkopf: finales Marcus'Mood-Logo als eine Grafik (Marcus-Website/_reference/brand), Breite wie die
   fruehere zusammengesetzte Wortmarke (Icon + Abstand + Schriftzug). */
.site-logo .site-logo-img{display:block;width:216px;max-width:100%;height:auto}
@media(max-width:640px){.site-logo .site-logo-img{width:188px}}
/* Footer wie auf der Mind-Website: Rechtslinks links im Reiter-Stil, PDF-Links blass rechts,
   Kontakt/Impressum/Datenschutz öffnen sich darunter (Skript im Build, build.js injectLegal) */
.mood-footer-bar{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;column-gap:32px;border-bottom:1px solid var(--color-border,#d9d3c3)}
.mood-footer-links{display:flex;overflow-x:auto;scrollbar-width:none}
.mood-footer-links::-webkit-scrollbar{display:none}
.mood-footer-legal{display:inline-flex;align-items:center;gap:6px;flex:none;white-space:nowrap;margin-bottom:-1px;padding:12px 18px;border-bottom:2px solid transparent;color:var(--color-brand-interactive,#1d5fd0);font-weight:600;text-decoration:none;transition:color .2s,border-color .2s}
.mood-footer-legal:first-child{padding-left:0}
.mood-footer-legal:hover{border-bottom-color:var(--color-border,#d9d3c3)}
.mood-footer-legal svg{transition:transform .2s}
.mood-footer-legal[aria-expanded="true"]{color:var(--color-teal,#1f6b5c);border-bottom-color:var(--color-teal,#1f6b5c)}
.mood-footer-legal[aria-expanded="true"] svg{transform:rotate(180deg)}
.mood-footer-pdfs{display:flex;flex-wrap:wrap;gap:4px 20px;padding-block:12px;font-size:.8125rem}
.mood-legal-panels{padding-top:24px;text-align:left}
.mood-legal-panel+.mood-legal-panel{margin-top:48px}
.mood-legal-panel h2{font-size:1.75rem;font-weight:800;margin-bottom:6px}
.mood-legal-panel .container-site{padding-inline:0}
@media(max-width:640px){.mood-footer-legal{padding-inline:12px}.mood-footer-pdfs{width:100%}}
/* Innenabstände der Einzelseiten im Footer neutralisieren (Text bündig mit der Linkleiste) */
.mood-legal-panel > div, .mood-legal-panel > section{padding-inline:0!important;padding-top:12px!important;padding-bottom:0!important}
.mood-legal-panel .container-site{margin-block:0!important;max-width:760px}
.mood-legal-panel .container-site{margin-left:0!important;margin-right:auto!important}
/* Website-Impressum und -Datenschutz: Fließtext mit Zwischenüberschriften statt Boxen */
.mood-legal-panel{max-width:760px}
.mood-legal-panel h3{font-size:1.05rem;font-weight:700;margin:22px 0 6px;color:var(--color-fg,#1c1917)}
.mood-legal-panel p{margin:0 0 10px;line-height:1.7}
.mood-legal-panel .legal-meta{font-size:.8rem;opacity:.75;margin-bottom:14px}
.mood-legal-panel a{color:var(--color-brand-interactive,#1d5fd0);text-decoration:underline;text-underline-offset:.2em}
/* Footer-Links näher an der oberen Trennlinie, keine Linie darunter (Nutzerwunsch) */
.mood-footer{padding-top:0!important}
.mood-footer-bar{border-bottom:0}
.mood-footer-legal{margin-bottom:0;padding-top:10px}
/* FAQ-Einträge mit derselben Rundung wie die übrigen Karten (vorher 6 px, Karten 12–16 px) */
#faq .faq-item{border-radius:16px}
/* PDF-Links im selben Blau wie die Rechtslinks, nicht mehr abgeblendet (Nutzerwunsch) */
.mood-footer-pdfs a.footer-link{color:var(--color-brand-interactive,#1d5fd0);text-decoration:none}
.mood-footer-pdfs a.footer-link:hover{text-decoration:underline}
/* Mobilmenue: volle Breite statt eingerueckter Kasten im Nav-Innenabstand (Text buendig mit dem Logo),
   keine doppelte Linie zwischen FAQ und dem Rechtsblock */
#mobile-menu{margin-inline:-1.5rem}
#mobile-menu>a.mobile-menu-link:last-of-type{border-bottom:0}
/* Schmale Bildschirme: Reiter "Für dich / Für die Therapie" unter die Zwischenueberschrift statt rechts
   daneben (verbreiterte die Seite bei 320 px um 40 px) */
@media(max-width:480px){.section-divider{flex-wrap:wrap}.section-divider>.shrink-0{width:100%}}
/* Sprung zu einem Anwendungsfall (z. B. Hero-Button "Für Fachkräfte"): Überschrift nicht unter der festen Kopfzeile */
.uc-section{scroll-margin-top:4.5rem}
/* Hauptnavigation: Button zum Handbuch (handbuch.html) */
.nav-handbuch{display:inline-flex;align-items:center;gap:.35rem;padding:.3rem .75rem;border:1px solid var(--interactive-border);border-radius:var(--radius-sm);font-size:.875rem;font-weight:600;color:var(--interactive);transition:background .2s,border-color .2s}
.nav-handbuch:hover{background:var(--interactive-surface);border-color:var(--interactive)}
