/**
 * ============================================================
 * FAMILIEN-BAN.DE – Stylesheet (v3 – originalgetreu)
 * ============================================================
 *
 *  1. Reset & Grundlagen
 *  2. Barrierefreiheit
 *  3. Typografie
 *  4. Layout
 *  5. Header & Navigation
 *  6. Breadcrumb
 *  7. Zitate
 *  8. Startseite (Home)
 *  9. Kurse
 * 10. Kurs-Detail
 * 11. Beratung
 * 12. Beratung-Detail
 * 13. Über mich
 * 14. Kontakt
 * 15. Newsletter
 * 16. Allgemeine Seiten
 * 17. Footer
 * 18. Responsive
 * ============================================================
 */


/* 1. RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; color: #333; background: #f0f0f0; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: #0069a5; text-decoration: underline; }
a:hover { color: #004d7a; }
hr { border: none; border-top: 1px solid #ddd; margin: 0; }
address { font-style: normal; }


/* 2. BARRIEREFREIHEIT */
.skip-link { position: absolute; top: -100%; left: 0; background: #0069a5; color: #fff; padding: 0.5rem 1rem; z-index: 1000; text-decoration: none; }
.skip-link:focus { top: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid #0069a5; outline-offset: 2px; }


/* 3. TYPOGRAFIE */
h1, h2, h3 { color: #0069a5; font-weight: 400; line-height: 1.25; margin-bottom: 0.4em; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.1rem; }
p { margin-bottom: 0.9em; }
strong { font-weight: 600; }
.small-note { font-size: 0.75rem; color: #999; word-break: break-all; }


/* 4. LAYOUT */
.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.page-section,
.section { padding: 30px 0 40px; }
.content-box { background: #fff; padding: 35px 40px; box-shadow: 0 0 8px rgba(0,0,0,0.06); }
.section-divider { margin: 30px 0; }


/* 5. HEADER & NAVIGATION */
.site-header { background: #fff; border-bottom: 3px solid #0069a5; }
.header-inner { max-width: 960px; margin: 0 auto; padding: 15px 20px 10px; display: flex; align-items: flex-end; justify-content: space-between; }
.logo img { height: 70px; width: auto; }
.logo { text-decoration: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: #333; }
.nav-list { list-style: none; display: flex; gap: 0; align-items: flex-end; margin-bottom: 2px; }
.nav-list > li { position: relative; }
.nav-list > li > a { display: block; padding: 6px 16px; color: #333; font-size: 0.95rem; text-decoration: none; transition: background 0.2s, color 0.2s; }
.nav-list > li.active > a, .nav-list > li > a:hover { background: #0069a5; color: #fff; text-decoration: none; }

.sub-nav { list-style: none; display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid #ccc; min-width: 290px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); z-index: 200; }
.nav-list > li:hover .sub-nav, .nav-list > li:focus-within .sub-nav { display: block; }
.sub-nav li a { display: block; padding: 7px 16px; color: #333; font-size: 0.9rem; text-decoration: none; border-bottom: 1px solid #eee; }
.sub-nav li a:hover { background: #f0f5fa; }
.sub-nav li:last-child a { border-bottom: none; }


/* 6. BREADCRUMB */
.breadcrumb { padding: 0.6rem 0; font-size: 0.85rem; color: #999; margin-bottom: 0.8rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li:not(:last-child)::after { content: '»'; margin: 0 0.4em; color: #bbb; }
.breadcrumb a { color: #0069a5; }
.breadcrumb li[aria-current="page"] { color: #666; }


/* 7. ZITATE */
.zitat { display: flex; gap: 1.2rem; align-items: flex-start; margin-bottom: 1.8rem; }
.zitat-bubble { width: 70px; opacity: 0.25; flex-shrink: 0; }
.zitat blockquote { margin: 0; }
.zitat blockquote p { font-size: 1.15rem; font-weight: 500; color: #333; line-height: 1.45; margin-bottom: 0.2em; }
.zitat figcaption { font-size: 0.88rem; color: #666; margin-top: 0.15em; }
.zitate-section { margin-top: 2rem; }
.zitate-header { margin-bottom: 1.5rem; }


/* ============================================================
   8. STARTSEITE
   ============================================================ */

/* Willkommen: Porträt links, Text rechts */
.home-welcome { display: flex; gap: 25px; align-items: flex-start; }
.home-welcome-portrait img { width: 180px; border-radius: 3px; }
.home-welcome-text h1 { font-size: 2.6rem; margin-bottom: 0.15em; }
.subheadline { color: #5a8a00; font-size: 1.05rem; margin-bottom: 0.8em; text-decoration: none; }
.subheadline a { color: #5a8a00; }
.signatur { margin-top: 0.3em; }

/* Praxis: Text links schmal, Bilder rechts groß + klein links unten */
.home-praxis { display: grid; grid-template-columns: 38% 1fr; gap: 20px; align-items: start; }
.home-praxis-bilder { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.praxis-bild-gross { grid-column: 1 / -1; }
.praxis-bild-klein { max-width: 100%; }

/* Postkarte */
.home-postkarte { }
.home-postkarte figure { margin-bottom: 15px; }
.postkarte-bild { max-width: 550px; }
.postkarte-bestellen { display: flex; gap: 15px; align-items: flex-start; }
.neu-badge {
    display: inline-flex; align-items: center; justify-content: center;
    background: #cc0000; color: #fff; font-weight: 700; font-size: 0.85rem;
    width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0;
    line-height: 1;
}
.postkarte-bestellen h2 { margin-bottom: 0.2em; }

/* Beruflich */
.home-beruflich { display: flex; gap: 15px; align-items: flex-start; }
.inline-icon { width: 40px; height: auto; flex-shrink: 0; margin-top: 3px; }


/* ============================================================
   9. KURSE
   ============================================================ */
.page-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 0.5em; }
.page-header-icon img { width: 100px; }
.three-columns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 25px; margin: 20px 0; }
.column h2 { font-size: 1.25rem; margin-bottom: 0.3em; }


/* ============================================================
   10. KURS-DETAIL
   ============================================================ */
.kurs-content { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 15px 0; }
.seminar-titel { color: #0069a5; }
.bildnachweis { font-size: 0.78rem; color: #999; margin-top: 0.8rem; }
.postkarte-bereich { margin-top: 20px; padding-top: 20px; border-top: 1px solid #ddd; }
.termine { margin-top: 25px; }
.termine h2 { font-size: 2rem; }


/* ============================================================
   11. BERATUNG
   ============================================================ */
.beratung-content { display: grid; grid-template-columns: 1fr auto; gap: 25px; align-items: start; }
.beratung-image img { max-width: 220px; }


/* ============================================================
   12. BERATUNG-DETAIL
   ============================================================ */
.detail-content { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 15px 0; }
.details-extra { margin-top: 20px; padding-top: 20px; border-top: 1px solid #ddd; }
.info-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 15px; }
.info-col h3 { color: #0069a5; }


/* ============================================================
   13. ÜBER MICH
   ============================================================ */
.ueber-mich-content { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.portrait { width: 100%; max-width: 280px; border-radius: 3px; }
.name-handschrift { font-family: 'Segoe Script', 'Comic Sans MS', cursive; font-size: 1.3rem; color: #333; margin: 0.7em 0 0.4em; }
.institutionen-headline { color: #0069a5; font-style: italic; margin-bottom: 1.2em; }
.institution { margin-bottom: 1.5rem; }
.institution-logo { max-height: 70px; width: auto; margin-bottom: 0.6rem; }


/* ============================================================
   14. KONTAKT
   ============================================================ */
.kontakt-newsletter { margin-bottom: 2rem; }
.newsletter-form-info { background: #f8f8f8; padding: 1.2rem; border-radius: 3px; margin-top: 0.8rem; }
.newsletter-datenschutz { font-size: 0.85rem; color: #666; margin-top: 0.8rem; }
.kontakt-direkt { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; }
.kontakt-icon { width: 45px; margin-bottom: 0.4rem; }
.kontakt-anfahrt { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.form-placeholder { background: #eee; padding: 2.5rem; text-align: center; border-radius: 3px; color: #999; }


/* ============================================================
   15. NEWSLETTER
   ============================================================ */
.newsletter-teaser { padding: 1.2rem 0; border-bottom: 1px solid #eee; }
.newsletter-teaser h2 { font-size: 1.25rem; }
.post-date { display: block; font-size: 0.85rem; color: #999; margin-bottom: 0.4em; }
.read-more { display: inline-block; margin-top: 0.4em; font-weight: 600; }
.newsletter-article .article-content { margin: 1.2rem 0; }
.newsletter-cta { background: #f0f5fa; padding: 1.2rem; border-radius: 3px; margin-top: 1.5rem; }


/* ============================================================
   16. ALLGEMEINE SEITEN (Default, Error)
   ============================================================ */
.section-default .content-box { min-height: 300px; }


/* ============================================================
   17. FOOTER
   ============================================================ */
.site-footer { background: #f5f5f5; border-top: 1px solid #ddd; padding: 30px 0 20px; margin-top: 0; }
.footer-inner { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 25px; margin-bottom: 20px; }
.footer-logo { max-width: 180px; margin-bottom: 12px; }
.footer-grid nav h3, .footer-col h3 { font-size: 1rem; color: #0069a5; margin-bottom: 0.6em; text-decoration: none; }
.footer-col ul, .footer-grid nav ul { list-style: none; }
.footer-col li, .footer-grid nav li { margin-bottom: 0.25em; }
.footer-col a, .footer-grid nav a { color: #0069a5; font-size: 0.9rem; text-decoration: none; }
.footer-col a:hover, .footer-grid nav a:hover { text-decoration: underline; }
.footer-brand address { font-size: 0.9rem; color: #666; line-height: 1.5; }
.footer-bottom { border-top: 1px solid #ddd; padding-top: 12px; font-size: 0.85rem; color: #999; }
.footer-bottom a { color: #999; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }


/* ============================================================
   18. RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-list { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 2px solid #0069a5; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
    .nav-list.open { display: flex; }
    .sub-nav { position: static; box-shadow: none; border: none; min-width: auto; }
    .sub-nav li a { padding-left: 2rem; }
    .content-box { padding: 20px; }
    .home-welcome { flex-direction: column; }
    .home-welcome-text h1 { font-size: 1.8rem; }
    .home-praxis, .three-columns, .kurs-content, .beratung-content,
    .detail-content, .ueber-mich-content, .kontakt-direkt,
    .kontakt-anfahrt, .info-columns, .footer-grid { grid-template-columns: 1fr; }
    .home-praxis-bilder { grid-template-columns: 1fr; }
    .praxis-bild-gross { grid-column: auto; }
    .page-header { flex-direction: column; }
    .beratung-image img { max-width: 100%; }
}
