/* ============================================================
   Praxis Bötzow – Stylesheet der öffentlichen Website
   Schriften werden lokal ausgeliefert (keine externen Dienste).
   ============================================================ */

/* --- Schriften ------------------------------------------------ */
@font-face {
    font-family: 'Newsreader';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/newsreader-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                   U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Newsreader';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/newsreader-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
                   U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                   U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Karla';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/karla-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                   U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Karla';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/karla-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
                   U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                   U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Gestaltungsraster ---------------------------------------- */
:root {
    --forest: #224237;
    --forest-dk: #173027;
    --forest-lt: #35594b;
    --sage: #7d9b8b;
    --sage-lt: #cfdcd3;
    --clay: #b0562f;
    --clay-lt: #f0e0d6;
    --ink: #1c211e;
    --body: #45504a;
    --muted: #6d7a72;
    --paper: #fbf8f3;
    --paper-2: #f3eee5;
    --white: #fff;
    --line: #e3ddd1;
    --line-soft: #efe9de;

    --serif: 'Newsreader', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
    --sans: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

    --wrap: 72rem;
    --radius: 4px;
    --radius-lg: 8px;
    --shadow: 0 1px 2px rgba(28, 33, 30, .04), 0 8px 24px -12px rgba(28, 33, 30, .12);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--body);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    font-feature-settings: 'kern' 1;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
    font-family: var(--serif);
    color: var(--ink);
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: -0.012em;
    margin: 0 0 .6em;
    text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.35rem + 2.6vw, 3.35rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, 1.08rem + .45vw, 1.4rem); }
h4 { font-size: 1.08rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 1.1em; }
a { color: var(--forest); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--clay); }
strong, b { font-weight: 700; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
img { max-width: 100%; height: auto; }
small { font-size: .82em; }

:focus-visible {
    outline: 2px solid var(--clay);
    outline-offset: 2px;
    border-radius: 2px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 48em) { .wrap { padding: 0 2rem; } }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    background: var(--forest); color: #fff; padding: .75rem 1.25rem;
}
.skip-link:focus { left: 0; }

.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.22em; }
.icon-lg { width: 1.9rem; height: 1.9rem; }

/* --- Überzeile ------------------------------------------------ */
.kicker {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--clay);
    margin-bottom: .9rem;
}
.kicker::after {
    content: '';
    display: block;
    width: 2.4rem;
    height: 2px;
    background: currentColor;
    margin-top: .55rem;
    opacity: .55;
}
.kicker-plain::after { display: none; }

/* ============================================================
   Kopfbereich
   ============================================================ */
.topbar {
    background: var(--forest-dk);
    color: var(--sage-lt);
    font-size: .84rem;
}
.topbar-inner {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: .4rem 1.5rem; min-height: 2.5rem; padding-top: .35rem; padding-bottom: .35rem;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-item { display: inline-flex; align-items: center; gap: .4rem; }
.topbar-sep { margin-left: auto; }
.topbar-alert { color: #f3cbb8; }
@media (max-width: 40em) { .topbar-hide-s { display: none; } }

.site-header {
    position: sticky; top: 0; z-index: 40;
    background: rgba(251, 248, 243, .94);
    backdrop-filter: saturate(150%) blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex; align-items: center; gap: 1rem;
    min-height: 4.5rem; padding-top: .65rem; padding-bottom: .65rem;
}
.brand { display: block; text-decoration: none; margin-right: auto; }
.brand-mark { display: flex; align-items: center; gap: .7rem; }
.brand-logo { width: 2.2rem; height: 2.2rem; flex: none; }
.brand-name {
    display: block; font-family: var(--serif); font-size: 1.42rem;
    font-weight: 600; color: var(--ink); line-height: 1.1; letter-spacing: -.015em;
}
.brand-sub {
    display: block; font-size: .74rem; letter-spacing: .085em;
    text-transform: uppercase; color: var(--muted); margin-top: .18rem;
}

.main-nav ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
    display: block; padding: .5rem .75rem; border-radius: var(--radius);
    color: var(--body); text-decoration: none; font-size: .96rem; font-weight: 500;
}
.main-nav a:hover { background: var(--paper-2); color: var(--forest); }
.main-nav a[aria-current="page"] { color: var(--forest); font-weight: 700; box-shadow: inset 0 -2px 0 var(--clay); }

.nav-toggle {
    display: none; width: 2.75rem; height: 2.75rem; padding: 0;
    background: none; border: 1px solid var(--line); border-radius: var(--radius);
    cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: .28rem;
}
.nav-toggle-bar { display: block; width: 1.15rem; height: 1.5px; background: var(--ink); }

/* Der Termin-Knopf im Kopf erscheint erst ab Desktop-Breite; darunter steht er
   im aufklappbaren Menü. Die Auswahl ist bewusst spezifischer als .btn, damit
   dessen "display: inline-flex" sie nicht überschreibt. */
.site-header .header-cta { display: none; }
@media (min-width: 64em) {
    .site-header .header-cta { display: inline-flex; }
    .main-nav .nav-cta { display: none; }
}

@media (max-width: 63.99em) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        background: var(--paper); border-bottom: 1px solid var(--line);
        display: none; box-shadow: var(--shadow);
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; }
    .main-nav a { padding: .8rem .25rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
    .main-nav a[aria-current="page"] { box-shadow: none; }
    .main-nav .nav-cta { margin-top: 1rem; }
    .main-nav .nav-cta a { text-align: center; }
}

/* ============================================================
   Schaltflächen
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .78rem 1.4rem; border: 1px solid transparent; border-radius: var(--radius);
    font: inherit; font-size: .97rem; font-weight: 600; line-height: 1.2;
    text-decoration: none; cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-dk); color: #fff; }
.btn-accent { background: var(--clay); color: #fff; }
.btn-accent:hover { background: #964826; color: #fff; }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-ghost:hover { border-color: var(--forest); color: var(--forest); }
.btn-light { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; }
.btn-light:hover { background: #fff; color: var(--forest); }
.btn-sm { padding: .5rem .9rem; font-size: .88rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ============================================================
   Startseite: Kopf
   ============================================================ */
.hero {
    background:
        radial-gradient(120% 90% at 88% 0%, #f6f1e7 0%, rgba(246,241,231,0) 62%),
        var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 3.25rem 0 3.5rem;
    position: relative; overflow: hidden;
}
.hero-leaf {
    position: absolute; right: -6rem; bottom: -8rem; width: 34rem; height: 34rem;
    color: var(--sage); opacity: .13; pointer-events: none;
}
.hero-inner { position: relative; display: grid; gap: 2.75rem; }
@media (min-width: 62em) {
    .hero { padding: 4.5rem 0 4.75rem; }
    .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(20rem, .85fr); gap: 4rem; align-items: start; }
}
.hero h1 { margin-bottom: .5em; }
.hero-text { font-size: 1.14rem; max-width: 34em; color: var(--body); }
.hero-actions { margin-top: 1.9rem; }
.hero-trust {
    margin: 2.1rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--line);
    list-style: none; display: grid; gap: .55rem .5rem; font-size: .94rem;
}
@media (min-width: 34em) { .hero-trust { grid-template-columns: 1fr 1fr; } }
.hero-trust li { display: flex; align-items: flex-start; gap: .55rem; }
.hero-trust .icon { color: var(--sage); margin-top: .18em; }

/* Sprechzeiten-Karte */
.hours-card {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden;
}
.hours-card-head {
    background: var(--forest); color: #fff; padding: 1.1rem 1.4rem;
    display: flex; align-items: center; gap: .6rem;
}
.hours-card-head h2 { color: #fff; font-size: 1.15rem; margin: 0; }
.hours-status {
    padding: .85rem 1.4rem; font-size: .95rem; font-weight: 600;
    display: flex; align-items: center; gap: .5rem; border-bottom: 1px solid var(--line-soft);
}
.hours-status .dot { width: .55rem; height: .55rem; border-radius: 50%; flex: none; }
.is-open { background: #eef4ee; color: #2c5638; }
.is-open .dot { background: #4a8a58; }
.is-closed { background: var(--paper-2); color: var(--body); }
.is-closed .dot { background: var(--muted); }

.hours-list { margin: 0; padding: .5rem 1.4rem 1rem; }
.hours-list > div {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
    padding: .5rem 0; border-bottom: 1px dotted var(--line);
}
.hours-list > div:last-child { border-bottom: 0; }
.hours-list dt { font-weight: 600; color: var(--ink); }
.hours-list dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.hours-list .today dt, .hours-list .today dd { color: var(--clay); }
.hours-closed { color: var(--muted); }
.hours-card-foot {
    padding: 1rem 1.4rem 1.25rem; border-top: 1px solid var(--line-soft);
    background: var(--paper); font-size: .9rem;
}
.hours-card-foot p { margin: 0 0 .6rem; }
.hours-card-foot p:last-child { margin-bottom: 0; }

/* ============================================================
   Hinweise (Schließzeiten, Aktuelles)
   ============================================================ */
.notice-band { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 1.25rem 0; }
.notice-band-grid { display: grid; gap: 1rem; }
@media (min-width: 52em) { .notice-band-grid.is-multi { grid-template-columns: 1fr 1fr; } }

.notice {
    display: flex; gap: .85rem; padding: 1rem 1.15rem;
    background: var(--white); border: 1px solid var(--line);
    border-left: 3px solid var(--sage); border-radius: var(--radius);
}
.notice .icon { color: var(--sage); margin-top: .15rem; }
.notice h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 0 0 .25rem; letter-spacing: 0; }
.notice p { margin: 0; font-size: .94rem; }
.notice p + p { margin-top: .35rem; }
.notice-schliessung { border-left-color: var(--clay); background: #fdf6f1; }
.notice-schliessung .icon { color: var(--clay); }
.notice-wichtig { border-left-color: #b8862f; background: #fdf8ec; }
.notice-wichtig .icon { color: #b8862f; }

/* Vertretungspraxis während der Schließzeiten */
.substitute {
    margin-top: 1rem; background: var(--white);
    border: 1px solid var(--line); border-left: 3px solid var(--forest);
    border-radius: var(--radius); overflow: hidden;
}
.substitute-head {
    display: flex; align-items: center; gap: .85rem;
    padding: 1rem 1.15rem; background: var(--forest); color: #fff;
}
.substitute-head .icon { color: var(--sage-lt); }
.substitute-kicker {
    margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .11em;
    text-transform: uppercase; color: var(--sage-lt);
}
.substitute-name { margin: .15rem 0 0; font-family: var(--serif); font-size: 1.28rem; color: #fff; }
.substitute-body { display: grid; gap: 1.25rem; padding: 1.15rem; }
@media (min-width: 40em) { .substitute-body { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.substitute-body p { margin: 0 0 .6rem; font-size: .95rem; }
.substitute-note { color: var(--muted); }
.substitute-locations { list-style: none; margin: 0 0 .9rem; padding: 0; font-size: .95rem; }
.substitute-locations li { display: flex; gap: .6rem; padding: .5rem 0; border-bottom: 1px dotted var(--line); }
.substitute-locations li:last-child { border-bottom: 0; }
.substitute-locations .icon { color: var(--sage); margin-top: .22rem; }
.substitute-hours-title {
    font-size: .74rem !important; font-weight: 700; letter-spacing: .11em;
    text-transform: uppercase; color: var(--muted); margin-bottom: .5rem !important;
}
.substitute-hours { margin: 0; font-size: .95rem; }
.substitute-hours > div {
    display: flex; justify-content: space-between; gap: 1rem;
    padding: .32rem 0; border-bottom: 1px dotted var(--line);
}
.substitute-hours > div:last-child { border-bottom: 0; }
.substitute-hours dt { font-weight: 600; color: var(--ink); }
.substitute-hours dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }

/* ============================================================
   Abschnitte
   ============================================================ */
.section { padding: 4rem 0; }
.section-tight { padding: 2.75rem 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--forest); color: var(--sage-lt); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .kicker { color: #d9b39c; }
.section-dark a { color: #fff; }

.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head p { font-size: 1.08rem; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.centered .kicker::after { margin-left: auto; margin-right: auto; }

/* ============================================================
   Leistungen
   ============================================================ */
.card-grid { display: grid; gap: 1.25rem; }
@media (min-width: 40em) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.service-card {
    display: flex; flex-direction: column;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 1.6rem 1.6rem 1.5rem; text-decoration: none; color: inherit;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.service-card:hover {
    border-color: var(--sage); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit;
}
.service-card .icon-lg { color: var(--forest); margin-bottom: 1rem; }
.service-card h3 { margin-bottom: .45rem; }
.service-card p { font-size: .97rem; margin-bottom: 1.1rem; }
.service-card .more {
    margin-top: auto; display: inline-flex; align-items: center; gap: .4rem;
    font-weight: 600; font-size: .93rem; color: var(--forest);
}
.service-card:hover .more { color: var(--clay); }
.service-card .more .icon { width: 1em; height: 1em; transition: transform .15s ease; }
.service-card:hover .more .icon { transform: translateX(3px); }

.badge {
    display: inline-block; padding: .18rem .55rem; border-radius: 2px;
    font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.badge-kasse { background: #e8efe9; color: #2f5a3d; }
.badge-dmp { background: #e9eef5; color: #2f4a6b; }
.badge-igel { background: var(--clay-lt); color: #8c4426; }
.card-badges { display: flex; gap: .4rem; margin-bottom: .85rem; }

/* ============================================================
   Seitenkopf und Textseiten
   ============================================================ */
.page-head {
    background: var(--forest); color: var(--sage-lt);
    padding: 2.75rem 0 3rem; position: relative; overflow: hidden;
}
.page-head::after {
    content: ''; position: absolute; inset: auto 0 0 0; height: 3px;
    background: linear-gradient(90deg, var(--clay) 0 22%, transparent 22%);
}
.page-head h1 { color: #fff; margin-bottom: 0; }
.page-head .kicker { color: #d9b39c; }
.page-head-intro { font-size: 1.12rem; max-width: 42em; margin: 1.1rem 0 0; color: #cfdcd3; }
.page-head-inner { max-width: 52rem; }

.breadcrumb { font-size: .85rem; padding: .85rem 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.breadcrumb li::after { content: '›'; margin-left: .4rem; color: var(--muted); }
.breadcrumb li:last-child::after { content: none; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--forest); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); }

/* Fließtext */
.prose { max-width: 40rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.34rem, 1.16rem + .6vw, 1.58rem); }
.prose h3 { margin-top: 2rem; font-size: clamp(1.12rem, 1.05rem + .3vw, 1.26rem); }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.15rem; }
.prose li { margin-bottom: .5em; padding-left: .2rem; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 1.5rem; }
.prose ul > li::before {
    content: ''; position: absolute; left: .15rem; top: .72em;
    width: .42rem; height: .42rem; border-radius: 50%; background: var(--sage);
}
.prose ol { list-style: decimal; }
.prose blockquote {
    margin: 2rem 0; padding: .3rem 0 .3rem 1.4rem;
    border-left: 3px solid var(--clay); font-family: var(--serif); font-size: 1.2rem; color: var(--ink);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); }
.prose th { background: var(--paper-2); font-weight: 700; }
.prose img { border-radius: var(--radius); }
.prose a { font-weight: 500; }

.prose-wide { max-width: 44rem; }
.text-layout { padding: 3.5rem 0 4rem; }

.content-layout { display: grid; gap: 3rem; padding: 3.5rem 0 4rem; }
@media (min-width: 62em) {
    .content-layout { grid-template-columns: minmax(0, 1fr) 19rem; gap: 4.5rem; align-items: start; }
    .content-aside { position: sticky; top: 6rem; }
}

.aside-box {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 1.4rem; margin-bottom: 1.25rem;
}
.aside-box h2, .aside-box h3 {
    font-family: var(--sans); font-size: .8rem; font-weight: 700;
    letter-spacing: .11em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem;
}
.aside-box p { font-size: .94rem; }
.aside-box p:last-child { margin-bottom: 0; }
.aside-nav { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.aside-nav li + li { border-top: 1px solid var(--line-soft); }
.aside-nav a { display: block; padding: .55rem 0; text-decoration: none; color: var(--body); }
.aside-nav a:hover { color: var(--clay); }
.aside-nav [aria-current] { color: var(--forest); font-weight: 700; }

/* Hinweiskasten im Text */
.callout {
    display: flex; gap: .9rem; margin: 2rem 0; padding: 1.2rem 1.35rem;
    background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.callout .icon { color: var(--forest); margin-top: .15rem; }
.callout p { margin: 0; font-size: .96rem; }
.callout p + p { margin-top: .5rem; }
.callout-accent { background: #fdf6f1; border-color: #e8cdbd; }
.callout-accent .icon { color: var(--clay); }

/* ============================================================
   Sprechzeiten-Tabelle
   ============================================================ */
.schedule {
    width: 100%; border-collapse: collapse; background: var(--white);
    border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.schedule caption { text-align: left; padding-bottom: .9rem; color: var(--muted); font-size: .92rem; }
.schedule th, .schedule td {
    padding: .8rem .9rem; text-align: left; border-bottom: 1px solid var(--line-soft);
    vertical-align: top; font-size: .95rem;
}
.schedule thead th {
    background: var(--forest); color: #fff; font-family: var(--sans); font-weight: 600;
    font-size: .85rem; letter-spacing: .04em; border-bottom: 0;
}
.schedule tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
.schedule tbody tr:last-child th, .schedule tbody tr:last-child td { border-bottom: 0; }
.schedule tbody tr.today { background: #fdf6f1; }
.schedule tbody tr.today th { color: var(--clay); }
.schedule .slot { display: block; font-variant-numeric: tabular-nums; }
.schedule .slot + .slot { margin-top: .25rem; }
.schedule .none { color: var(--muted); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.legend { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 1.5rem 0 0; padding: 0; list-style: none; font-size: .92rem; }
.legend li { display: flex; align-items: flex-start; gap: .5rem; max-width: 22rem; }
.legend .icon { color: var(--sage); margin-top: .2rem; }

/* ============================================================
   Praxis / Person
   ============================================================ */
.person-grid { display: grid; gap: 2.5rem; }
@media (min-width: 56em) { .person-grid { grid-template-columns: 17rem minmax(0, 1fr); gap: 3.5rem; } }
.person-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.person-card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* Tritt an die Stelle des Porträts, solange keines hinterlegt ist. */
.person-quote {
    margin: 0; padding: 2rem 1.75rem;
    background: linear-gradient(150deg, var(--forest) 0%, var(--forest-lt) 100%);
    color: #fff;
}
.person-quote p {
    margin: 0; font-family: var(--serif); font-size: 1.32rem; line-height: 1.4;
    letter-spacing: -.01em; text-wrap: balance;
}
.person-quote p::before { content: '„'; }
.person-quote p::after { content: '“'; }
.person-quote footer {
    margin-top: 1rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.22);
    font-size: .78rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
    color: var(--sage-lt);
}
.person-body { padding: 1.15rem 1.3rem 1.35rem; }
.person-body .name { font-family: var(--serif); font-size: 1.32rem; color: var(--ink); margin: 0 0 .2rem; }
.person-body .role { font-size: .93rem; color: var(--muted); margin: 0; }
.person-qualis { list-style: none; margin: 1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line-soft); font-size: .92rem; }
.person-qualis li { display: flex; gap: .5rem; margin-bottom: .4rem; }
.person-qualis .icon { color: var(--sage); width: 1.05em; height: 1.05em; margin-top: .25em; }

.figure-plain { margin: 2.5rem 0 0; }
.figure-plain img { display: block; width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.figure-plain figcaption { margin-top: .7rem; font-size: .88rem; color: var(--muted); }

/* ============================================================
   Kontakt
   ============================================================ */
.contact-grid { display: grid; gap: 3rem; padding: 3.5rem 0 4rem; }
@media (min-width: 62em) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4.5rem; } }

.contact-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.contact-list li { display: flex; gap: .85rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { padding-top: 0; }
.contact-list .icon { color: var(--sage); margin-top: .22rem; }
.contact-list .label { display: block; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: .1rem; }
.contact-list .value { font-size: 1.02rem; color: var(--ink); }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.map-link {
    display: block; padding: 1.15rem 1.3rem; background: var(--white);
    border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
    color: var(--body); font-size: .94rem;
}
.map-link:hover { border-color: var(--forest); color: var(--body); }
.map-link strong { display: flex; align-items: center; gap: .45rem; color: var(--forest); margin-bottom: .3rem; }

/* Formular */
.form-card {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 1.75rem 1.6rem 1.9rem;
}
@media (min-width: 40em) { .form-card { padding: 2.25rem 2.1rem 2.4rem; } }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.field .req { color: var(--clay); }
.field-help { font-size: .85rem; color: var(--muted); margin: .35rem 0 0; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
    width: 100%; padding: .7rem .8rem; font: inherit; font-size: 1rem;
    color: var(--ink); background: var(--paper); border: 1px solid #cfc8b9;
    border-radius: var(--radius);
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 1.05rem) 1.15rem, calc(100% - .75rem) 1.15rem; background-size: .35rem .35rem, .35rem .35rem; background-repeat: no-repeat; padding-right: 2.4rem; }
input:focus, select:focus, textarea:focus { border-color: var(--forest); background: var(--white); }
textarea { resize: vertical; min-height: 9rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 34em) { .field-row { grid-template-columns: 1fr 1fr; } }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: .86rem; color: var(--muted); margin: 1.25rem 0 1.5rem; }

.flash { padding: .95rem 1.15rem; border-radius: var(--radius); border: 1px solid; margin: 1.75rem 0 0; font-size: .96rem; }
.flash-success { background: #eef4ee; border-color: #bcd5c0; color: #2c5638; }
.flash-error { background: #fbeee9; border-color: #e5c1b0; color: #8a3a21; }

/* ============================================================
   Notfall
   ============================================================ */
.emergency-grid { display: grid; gap: 1.25rem; }
@media (min-width: 46em) { .emergency-grid { grid-template-columns: 1fr 1fr; } }
.emergency-card {
    background: var(--white); border: 1px solid var(--line);
    border-left: 3px solid var(--clay); border-radius: var(--radius); padding: 1.4rem 1.5rem;
}
.emergency-card .number {
    display: block; font-family: var(--serif); font-size: 2.5rem; line-height: 1.05;
    color: var(--clay); margin-bottom: .3rem; letter-spacing: -.02em;
}
.emergency-card .number a { color: inherit; text-decoration: none; }
.emergency-card h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-bottom: .35rem; letter-spacing: 0; }
.emergency-card p { margin: 0; font-size: .94rem; }

/* ============================================================
   Aufruf zum Handeln
   ============================================================ */
.cta-band { padding: 3.5rem 0; }
.cta-inner { display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 56em) { .cta-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; } }
.cta-inner h2 { margin-bottom: .4rem; }
.cta-inner p { margin: 0; max-width: 40em; }

/* ============================================================
   Fußbereich
   ============================================================ */
.site-footer { background: var(--forest-dk); color: #b9cbc0; font-size: .95rem; margin-top: auto; }
.site-footer a { color: #e4ece7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 2.5rem; padding: 3.25rem 0 2.75rem; }
@media (min-width: 46em) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 68em) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-title {
    font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: #8fa89b; margin: 0 0 1rem;
}
.site-footer address { font-style: normal; line-height: 1.75; }
.footer-brand { font-family: var(--serif); font-size: 1.45rem; color: #fff; margin: 0 0 .2rem; }
.footer-brand-sub { font-size: .88rem; color: #8fa89b; margin: 0 0 1.1rem; }
.footer-nav { list-style: none; margin: 0; padding: 0; line-height: 2; }
.footer-hours { margin: 0; }
.footer-hours > div { display: flex; justify-content: space-between; gap: 1rem; padding: .18rem 0; }
.footer-hours dt { font-weight: 600; color: #dbe6e0; }
.footer-hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.25rem 0; font-size: .87rem; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { margin-left: auto; display: flex; gap: 1.25rem; }

/* ============================================================
   Fehlerseite
   ============================================================ */
.error-page { text-align: center; padding: 5rem 1.25rem 6rem; max-width: 34rem; margin: 0 auto; }
.error-code { font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--sage); margin: 0 0 .5rem; }

/* ============================================================
   Layout-Gerüst
   ============================================================ */
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }

@media print {
    .topbar, .site-header, .site-footer, .cta-band, .btn, .breadcrumb { display: none !important; }
    body { background: #fff; color: #000; font-size: 11pt; }
    .page-head { background: none; color: #000; padding: 0 0 1rem; }
    .page-head h1, .page-head .kicker, .page-head-intro { color: #000; }
    a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: .85em; color: #555; }
}
