/* PRUEFMARKE: site.css Stand 2026-09-07-ZA (Startseite: Zitat vor Oeffnungszeiten, kompakte Sprechzeiten) */
/* =========================================================
   PROJEKT-THEME KARDIOLOGIE KIRCHENFELD
   Farbquelle: brand.json (Branding Manual Ausgabe 08/2026).
   Die Werte hier sind die CSS-Vorgaben; config('colors') ueberschreibt sie
   per brand_style() im Seitenkopf (Rollennamen --brand, --accent, ...).
   Akzentfarbe: NOCH NICHT ENTSCHIEDEN - bis dahin laufen Akzentrollen
   neutral auf der Tonleiter (d50).
   ========================================================= */

/* ---------- Schrift: DM Sans, lokal gehostet (SIL OFL) ---------- */
@font-face { font-family: 'dm-sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/dm-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'dm-sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/dm-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'dm-sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/dm-sans-latin-700-normal.woff2') format('woff2'); }

:root {
    /* --- Grundflaechen & Text (Tonleiter aus brand.json) --- */
    --paper:        #FFFFFF;   /* Seiten-Hintergrund */
    --paper-2:      #F6F6F5;   /* t90, leicht abgesetzte Flaeche */
    --white:        #FFFFFF;
    --ink:          #211F1B;   /* Fast-Schwarz, Text */
    --ink-soft:     #6C675E;   /* d25, gedaempfter Text */
    --line:         #E9E7E5;   /* t80, Karten/Linien */

    /* --- Markenfarben (Rollennamen, via brand_style ueberschreibbar) --- */
    --brand:        #90897E;   /* Taupe, Leitfarbe */
    --brand-deep:   #48443F;   /* d50, dunkle Flaechen, Hover, Links */
    --brand-tint:   #E9E7E5;   /* t80, helle Flaechen, Tags */
    --accent:       #48443F;   /* NEUTRAL bis zum Akzent-Entscheid */
    --accent-soft:  #E9E7E5;

    /* --- Typografie: DM Sans 400/500/700, Fallback Arial --- */
    --font-display: "dm-sans", Arial, system-ui, sans-serif;
    --font-body:    "dm-sans", Arial, system-ui, sans-serif;

    /* --- Form & Abstand --- */
    --radius:        14px;
    --radius-sm:     10px;
    --wrap:          1140px;
    --measure:       44rem;
    --space-section: clamp(3.5rem, 5vw, 5rem);
    --step-fluid:    clamp(2.4rem, 1.4rem + 3.4vw, 4.1rem);

    /* --- Schatten auf Fast-Schwarz-Basis --- */
    --shadow-sm:  0 1px 2px rgba(33,31,27,.06), 0 4px 16px rgba(33,31,27,.05);
    --shadow-md:  0 10px 40px rgba(33,31,27,.12);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.06rem;
    line-height: 1.6;
    color: var(--ink);
    background: transparent;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Hierarchie gemaess Manual: Titel Bold 700, Zwischentitel Medium 500 */
h1 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 .5em; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.18; letter-spacing: -0.005em; color: var(--ink); margin: 0 0 .5em; }

p { margin: 0 0 1rem; }
a { color: var(--brand-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }
img { max-width: 100%; display: block; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.measure { max-width: var(--measure); }

.visually-hidden, .skip-link:not(:focus) {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 1rem; top: 1rem; z-index: 100;
    background: var(--ink); color: var(--white); padding: .6rem 1rem;
    border-radius: var(--radius-sm); text-decoration: none;
}

:focus-visible { outline: 3px solid var(--brand-deep); outline-offset: 2px; border-radius: 4px; }

/* ---------- Eyebrow ---------- */
.eyebrow {
    font-size: .8rem; font-weight: 500; letter-spacing: .12em;
    text-transform: uppercase; color: var(--ink-soft); margin: 0 0 .9rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-body); font-weight: 500; font-size: .98rem;
    padding: .8rem 1.5rem; border-radius: 999px; text-decoration: none;
    border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--brand-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #D3D0CB; }
.btn-ghost:hover { border-color: var(--brand); color: var(--ink); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { border-color: var(--white); color: var(--white); }

.link-arrow { font-weight: 500; text-decoration: none; }
.link-arrow::after { content: " \2192"; transition: margin .15s ease; }
.link-arrow:hover::after { margin-left: .25rem; }

/* ---------- Header: Taupe-Leiste, weisses Logo ---------- */
html { background: var(--brand); }
html.intro-seen { background: var(--paper); }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--brand); color: var(--white);
    height: 100px; display: flex; align-items: center; gap: 1.5rem;
    padding: 0 clamp(1.2rem, 4vw, 2.4rem);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--white); }
/* Hoehe mit Luft: 106px Breite ergibt 64.44px Logohoehe (Verhaeltnis 1:0.608).
   Der Container muss darueber liegen, sonst wird KIRCHENFELD unten angeschnitten. */
.brand-logo { display: block; height: 65px; overflow: hidden; transition: height .32s cubic-bezier(.65,0,.2,1); }
.brand .kk-logo { width: 106px; height: auto; display: block; }
.brand .logo-wordmark { transition: opacity .24s ease; }
/* Beim Scrollen faltet die Wortmarke weg, das Signet bleibt */
.site-header.header-compact .brand-logo { height: 40px; }
.site-header.header-compact .brand .logo-wordmark { opacity: 0; }
.site-nav { margin-left: auto; }
.nav-list { display: flex; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.nav-list a { position: relative; color: var(--white); text-decoration: none; font-family: var(--font-body); font-weight: 500; font-size: 1.1rem; }
.nav-list a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 3px; width: 100%; background: var(--white); border-radius: 2px; transform: scaleX(0); transform-origin: left center; transition: transform .35s ease; }
.nav-list a:hover::after { transform: scaleX(1); }
.nav-list a[aria-current="page"]::after { transform: scaleX(1); animation: navUnderline .45s ease both; }
@keyframes navUnderline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .nav-list a::after { transition: none; } .nav-list a[aria-current="page"]::after { animation: none; } }

/* Hamburger, nur mobil */
.burger { display: none; margin-left: auto; width: 30px; height: 20px; position: relative; background: none; border: 0; padding: 0; cursor: pointer; }
.burger::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; }
.burger span { position: absolute; left: 0; right: 0; height: 2.5px; background: var(--white); border-radius: 2px; transition: transform .3s cubic-bezier(.65,0,.2,1), opacity .2s ease; }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 50%; margin-top: -1.25px; }
.burger span:nth-child(3) { bottom: 0; }
body.menu-open .burger span:nth-child(1) { top: 50%; margin-top: -1.25px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { bottom: 50%; margin-bottom: -1.25px; transform: rotate(-45deg); }

/* Mobiles Dropdown */
.mobile-menu { display: none; position: fixed; top: 100px; left: 0; right: 0; background: var(--brand);
    flex-direction: column; padding: .4rem 0 1rem; z-index: 45;
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: transform .28s cubic-bezier(.65,0,.2,1), opacity .28s ease;
    box-shadow: 0 14px 24px -16px rgba(33,31,27,.45); }
body.menu-open .mobile-menu { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { color: var(--white); text-decoration: none; padding: .95rem clamp(1.2rem,4vw,2.4rem); font-size: 1.18rem; font-weight: 500; }
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { background: rgba(255,255,255,.10); }

/* Mobiler Umschaltpunkt fuer den Kopf */
@media (max-width: 720px) {
    .site-header { height: 84px; padding: 0 clamp(1rem, 4vw, 1.5rem); }
    .brand-logo { height: 54px; }  /* 87px Breite = 52.9px Logohoehe, mit Luft */
    .brand .kk-logo { width: 87px; }
    .site-header.header-compact .brand-logo { height: 33px; }
    .nav-list { display: none; }
    .burger { display: block; }
    .mobile-menu { display: flex; top: 84px; }
}

/* ---------- Suche (Overlay, bereit; Oeffner-Knopf folgt bei Bedarf) ---------- */
body.search-open { overflow: hidden; }
.search-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; justify-content: center; align-items: flex-start; }
.search-overlay[hidden] { display: none; }
.search-backdrop { position: absolute; inset: 0; background: rgba(33,31,27,.55); backdrop-filter: blur(2px); }
.search-box { position: relative; width: min(640px, 92vw); margin-top: clamp(4rem, 12vh, 9rem); background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; animation: searchIn .26s cubic-bezier(.65,0,.2,1) both; }
@keyframes searchIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
.search-field { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.search-input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-family: var(--font-body); font-size: 1.15rem; color: var(--ink); padding: .25rem 0; }
.search-input::placeholder { color: var(--ink-soft); opacity: .8; }
.search-close { background: none; border: 0; font-size: 1.7rem; line-height: 1; color: var(--ink-soft); cursor: pointer; padding: 0 .2rem; }
.search-close:hover { color: var(--ink); }
.search-hint { margin: 0; padding: 1.1rem 1.2rem 1.3rem; color: var(--ink-soft); font-size: .96rem; }
.search-results { list-style: none; margin: 0; padding: 0; max-height: min(56vh, 460px); overflow-y: auto; }
.search-results li a { display: block; padding: .85rem 1.2rem; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); transition: background-color .15s ease; }
.search-results li:last-child a { border-bottom: 0; }
.search-results li a:hover, .search-results li a:focus { background: var(--brand-tint); }
.sr-title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; }
.sr-text { display: block; color: var(--ink-soft); font-size: .9rem; margin-top: .15rem; }
.search-none { padding: 1.1rem 1.2rem 1.3rem; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .search-box { animation: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: var(--space-section) 0; }
.hero-inner {
    display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 4vw, 3.2rem); align-items: center;
    padding-bottom: clamp(3rem, 5vw, 4.5rem);
}
.hero-inner > * { min-width: 0; }
.hero-title { font-size: var(--step-fluid); margin-bottom: .6rem; }
.hero-lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 40ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Hero-Slider ---------- */
.hero-slider { position: relative; width: 100%; max-width: 360px; margin-left: auto; min-width: 0; }
.hs-viewport { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); background: var(--white); }
.hs-track { display: flex; transition: transform .6s cubic-bezier(.65,0,.2,1); }
.hs-slide { min-width: 100%; }
.hs-card { display: flex; flex-direction: column; background: var(--white); text-decoration: none; color: inherit; }
.hs-frame { position: relative; width: 100%; padding-top: 100%; overflow: hidden; background: var(--paper-2); }
.hs-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-body { padding: 1.25rem 1.4rem 1.4rem; background: var(--white); }
.hs-body .eyebrow { margin-bottom: .4rem; }
.hs-body h3 { font-size: 1.3rem; font-weight: 500; line-height: 1.15; margin: 0 0 .3rem; }
.hs-body p { font-size: 1rem; color: var(--ink); margin: 0 0 .7rem; }
.hs-more { display: inline-flex; align-items: center; gap: .35rem; color: var(--brand-deep); font-weight: 500; }
.hs-more .ar { transition: transform .2s ease; }
.hs-card:hover .hs-more .ar { transform: translateX(3px); }
.hs-controls { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; justify-content: center; }
.hs-arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #D3D0CB; background: transparent; color: var(--brand-deep);
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.hs-arrow:hover { border-color: var(--brand); }
.hs-arrow svg { width: 15px; height: 15px; }
.hs-dots { display: flex; gap: .5rem; }
.hs-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: #D3D0CB; cursor: pointer; transition: background .25s ease, transform .25s ease; }
.hs-dot[aria-current="true"] { background: var(--brand-deep); transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) { .hs-track { transition: none; } }

/* ---------- Quickbar ---------- */
.quickbar {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm); margin-top: 0;
}
.quick { background: var(--white); padding: 1.2rem 1.4rem; display: flex; flex-direction: column; gap: .15rem; }
.quick-label { font-size: .76rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.quick-main { font-size: 1.05rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.quick-sub { font-size: .9rem; color: var(--ink-soft); }
.status { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; font-size: 1.05rem; }
.status::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; }
.status-open { color: var(--ink); }
.status-open::before { background: var(--brand); box-shadow: 0 0 0 3px rgba(144,137,126,.22); }
.status-closed { color: var(--ink-soft); }
.status-closed::before { background: #B7B2AB; box-shadow: 0 0 0 3px rgba(183,178,171,.2); }

/* ---------- Sections ---------- */
.section { padding: var(--space-section) 0; }
.section-alt { background: transparent; }
.section-intro { padding: var(--space-section) 0; }
.section-head { max-width: 40rem; margin-bottom: 2.2rem; }
.section-head h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; }
.section-more { margin-top: 2rem; }

/* ---------- Hintergrund: durchgehend Weiss ---------- */
/* Gestaltungsentscheid 21.08.2026: kein Seiten-Mesh, keine wechselnden
   Sektionsflaechen. Der Grund bleibt konsequent weiss; Taupe lebt in
   Kopf, Fuss und gezielten Elementen (Karriere-Band, Farbtupfer). */
body { background: var(--paper); }
main#inhalt > section { background: transparent; position: relative; }
main#inhalt > section.section-plain { padding-top: clamp(1.4rem, 3vw, 2rem); }
.page-header-attached { padding-bottom: 0; }
.doctor-detail-info .wrap > .doctor-section-title:first-child { margin-top: 0; }

/* Kacheln zeitversetzt von unten einfaden */
@keyframes cardFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.doctor-grid .doctor-card { animation: cardFadeUp .55s ease backwards; }
@media (prefers-reduced-motion: reduce) {
    .doctor-grid .doctor-card { animation: none; }
}

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-title { font-size: 1.2rem; margin-bottom: .4rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.team-grid-full { gap: 1.8rem; }
.team-card { text-align: center; }
.team-photo {
    width: 92px; height: 92px; margin: 0 auto .9rem; border-radius: 50%; overflow: hidden;
    background: linear-gradient(135deg, var(--brand), var(--brand-deep));
    color: var(--white); display: grid; place-items: center;
    font-family: var(--font-display); font-size: 2.2rem; box-shadow: var(--shadow-sm);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-name { font-size: 1.15rem; margin-bottom: .15rem; }
.team-role { color: var(--brand-deep); font-weight: 500; font-size: .92rem; margin-bottom: .5rem; }
.team-bio { color: var(--ink-soft); font-size: .94rem; margin: 0 auto; max-width: 30ch; }

/* ---------- News ---------- */
.news-list { display: grid; gap: 1.6rem; }
.news-item { display: grid; grid-template-columns: 9rem 1fr; gap: 1.2rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; padding-bottom: 0; }
.news-date { color: var(--ink-soft); font-size: .9rem; font-weight: 500; padding-top: .2rem; }
.news-title { font-size: 1.25rem; margin-bottom: .3rem; }
.news-pinned .news-title { color: var(--brand-deep); }
.pin { color: var(--brand-deep); }

/* ---------- CTA band ---------- */
.cta-band { border-radius: 0; }
.cta-band h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 700; }
.cta-band p { color: var(--ink-soft); margin: 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Page header ---------- */
.page-header { padding: var(--space-section) 0; }
.page-header h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
/* Lead als eigenstaendiges Element: deutlich groesser als Fliesstext,
   mit spuerbarem Abstand zur H1 (redaktionelles Standfirst-Prinzip). */
.page-lead { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.65rem); line-height: 1.45; font-weight: 400; color: var(--ink-soft); max-width: 30em; margin-top: 1.4rem; }

/* ---------- Prose ---------- */
.prose { color: var(--ink); }
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5rem; }
.prose p { margin-bottom: 1.1rem; }
.prose a { font-weight: 500; }
.prose-sm { font-size: .96rem; }
.prose-sm p:last-child { margin-bottom: 0; }

/* Elemente aus dem Seiteneditor */
.gd-liste { margin: .8em 0 1.1em; padding-left: 1.2em; }
.gd-liste li { margin: .35em 0; }
.gd-akk { background: var(--paper-2); border-radius: var(--radius-sm); margin: .6em 0; overflow: hidden; }
.gd-akk > summary { list-style: none; cursor: pointer; padding: .85em 1.15em; font-weight: 500; display: flex; align-items: center; gap: .6em; }
.gd-akk > summary::-webkit-details-marker { display: none; }
.gd-akk > summary::before { content: "\203A"; font-weight: 700; color: var(--ink-soft); transition: transform .2s ease; }
.gd-akk[open] > summary::before { transform: rotate(90deg); }
.gd-akk > summary:hover { background: var(--brand-tint); }
.gd-akk-inhalt { padding: 0 1.15em 1.1em; }
.gd-akk-inhalt > :first-child { margin-top: 0; }
.gd-akk-inhalt > :last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.contact-card h2 { font-size: 1.4rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.contact-card .status { font-size: .85rem; }
.contact-address { font-style: normal; margin-bottom: 1.2rem; line-height: 1.6; }
.contact-line { display: flex; gap: .8rem; margin: .4rem 0; }
.contact-label { min-width: 5rem; color: var(--ink-soft); font-size: .92rem; }
/* Hinweisflaeche flach getoent, ohne Seitenlinie (Gestaltungsregel) */
.contact-emergency { margin-top: 1.2rem; padding: .9rem 1.1rem; background: var(--paper-2); border-radius: var(--radius-sm); font-size: .94rem; color: var(--ink); }
.hours { width: 100%; border-collapse: collapse; }
.hours th { text-align: left; font-weight: 500; padding: .55rem 1.2rem .55rem 0; color: var(--ink); vertical-align: top; }
.hours td { text-align: right; padding: .55rem 0; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hours tr { border-bottom: 1px solid var(--line); }
.hours tr:last-child { border-bottom: 0; }
.hours-label { display: block; font-size: .8rem; }

.empty { color: var(--ink-soft); font-style: italic; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand); color: var(--white); padding: 3.5rem 0 1.8rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.22); }
.footer-logo { color: var(--white); margin-bottom: .9rem; }
.footer-logo .kk-logo { height: 76px; width: auto; display: block; }
.footer-tagline { font-size: .94rem; max-width: 32ch; }
.footer-head { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.85); margin: 0 0 .9rem; font-family: var(--font-body); font-weight: 500; }
.footer-address { font-style: normal; line-height: 1.8; }
.footer-address a, .footer-links a { color: var(--white); text-decoration: none; }
.footer-address a:hover, .footer-links a:hover { text-decoration: underline; }
.footer-links { list-style: none; margin: 0; padding: 0; line-height: 2; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 1.4rem; font-size: .88rem; color: rgba(255,255,255,.9); }
.footer-base a { color: var(--white); }

/* ---------- Nach-oben-Knopf ---------- */
.gd-to-top { position: fixed; right: clamp(1rem,3vw,2rem); bottom: clamp(1rem,3vw,2rem); width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s, transform .3s; z-index: 60; }
.gd-to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.gd-to-top:hover { transform: translateY(-2px); }
.gd-to-top .gd-ico-arrow { transform: rotate(-90deg); width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .hero-inner { grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 2.5rem; }
    .hero-slider { max-width: 360px; margin-inline: auto; width: 100%; }
    .quickbar { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .news-item { grid-template-columns: 1fr; gap: .3rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

/* ---------- Aerztinnen und Aerzte ---------- */
.doctor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
    gap: 1.8rem 1.6rem;
}
.doctor-card {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease;
}
.doctor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.doctor-photo {
    aspect-ratio: 1 / 1;
    background: var(--paper-2);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.doctor-photo img, .doctor-photo .doctor-placeholder {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .5s ease;
}
.doctor-card:hover .doctor-photo img,
.doctor-card:hover .doctor-photo .doctor-placeholder { transform: scale(1.04); }
.doctor-body { padding: 1.15rem 1.25rem 1.4rem; }
.doctor-name {
    font-family: var(--font-display);
    font-size: 1.3rem; line-height: 1.2; font-weight: 500;
    color: var(--ink); margin: 0 0 .25rem;
    transition: color .2s ease;
}
.doctor-card:hover .doctor-name { color: var(--brand-deep); }
.doctor-role { color: var(--ink-soft); font-size: .92rem; line-height: 1.45; margin: 0; }
.doctor-view {
    display: inline-flex; align-items: center; gap: .35rem;
    margin-top: .9rem; color: var(--brand-deep); font-size: .85rem; font-weight: 500;
    letter-spacing: .01em;
}
.doctor-view .arrow { transition: transform .25s ease; }
.doctor-card:hover .doctor-view .arrow { transform: translateX(.25rem); }

/* Detailseite */
.doctor-detail { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.back-link { display: inline-block; color: var(--brand-deep); text-decoration: none; font-weight: 500; margin-bottom: 1.4rem; }
.back-link:hover { text-decoration: underline; }
.doctor-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.6rem 2rem;
    align-items: start;
    margin-bottom: 2.4rem;
}
@media (min-width: 720px) {
    .doctor-head { grid-template-columns: 1fr 320px; }
}
.doctor-detail-name { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); margin: 0 0 .3rem; font-weight: 700; }
.doctor-detail-role { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }
.doctor-detail-photo {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--paper-2);
}
.doctor-detail-photo img,
.doctor-detail-photo .doctor-placeholder { width: 100%; height: 100%; object-fit: cover; display: block; }
.doctor-section-title { font-size: 1.25rem; margin: 2rem 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }

/* Werdegang als zweispaltiges Raster */
.cv { display: grid; gap: .1rem; margin: 0; }
.cv-row {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 1rem;
    padding: .55rem 0;
    border-bottom: 1px solid var(--line);
}
.cv-year { font-weight: 500; color: var(--brand-deep); margin: 0; }
.cv-text { margin: 0; color: var(--ink); }
@media (max-width: 460px) {
    .cv-row { grid-template-columns: 4.5rem 1fr; gap: .7rem; }
}

.lang-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem .8rem; }
.lang-list li {
    background: var(--brand-tint);
    color: var(--ink);
    border-radius: 999px;
    padding: .3rem .9rem;
    font-size: .92rem;
}

/* Team-Kacheln: gleiche Optik wie Aerzte, aber bewusst nicht klickbar */
.doctor-card-static { cursor: default; }
.doctor-card-static:hover { transform: none; box-shadow: var(--shadow-sm); }
.doctor-card-static:hover .doctor-photo img,
.doctor-card-static:hover .doctor-photo .doctor-placeholder { transform: none; }
.doctor-card-static:hover .doctor-name { color: var(--ink); }

/* ---------- Intro-Animation (Opt-in via config('intro')) ----------
   Standard: unsichtbar. Nur wenn das Inline-Skript im Kopf VOR dem ersten
   Paint html.intro-pending setzt (erste Ansicht der Sitzung, echte
   Besucher), erscheint der Vorhang. Ohne JavaScript, fuer Bots und bei
   reduzierter Bewegung existiert das Intro nicht - der Inhalt ist immer
   von Anfang an gemalt (LCP-sicher). */
#introOverlay, #introWrap { display: none; }
html.intro-pending { background: var(--brand); }
html.intro-pending #introOverlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--brand); z-index: 900; }
html.intro-pending #introWrap { display: flex; position: fixed; inset: 0; align-items: center; justify-content: center; z-index: 950; pointer-events: none; }
#introWrap .kk-logo { width: min(360px, 68vw); height: auto; display: block; color: var(--white); opacity: 0; }
/* Harte, deckungsgleiche Uebergabe: das Header-Logo springt ohne Fade auf
   sichtbar, sobald das Intro endet - nur Navigation und Burger blenden weich. */
.nav-list, .burger { transition: opacity .45s ease; }
html.intro-pending .brand .kk-logo,
html.intro-pending .nav-list,
html.intro-pending .burger { opacity: 0; }


/* ---------- Bausteine Stand AE (Mastertexte) ---------- */
/* Sprungmarken landen nicht unter der klebenden Kopfleiste */
h2[id] { scroll-margin-top: 120px; }

/* Schnellzugang-Kacheln (klickbare Karten) */
.schnell-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: .4rem; }
.schnell-card:hover { color: inherit; }
.schnell-frage { color: var(--ink-soft); font-size: .98rem; margin: 0 0 .2rem; }
.schnell-card .link-arrow { color: var(--brand-deep); margin-top: auto; }
.schnell-card .card-title { margin-bottom: .2rem; }

/* Diagnostik-Liste zweispaltig */
.diagnostik-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: .4rem 2rem; }
.diagnostik-liste li { padding: .55rem 0 .55rem 1.4rem; border-bottom: 1px solid var(--line); position: relative; color: var(--ink); }
.diagnostik-liste li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .45rem; height: .45rem; border-radius: 50%; background: var(--brand); }

/* Karriere-Band: Taupe-Vollflaeche, weisse Schrift (Du-Form-Teaser) */
main#inhalt > section.karriere-band { background: var(--brand); color: var(--white); }
.karriere-band .eyebrow { color: rgba(255,255,255,.85); }
.karriere-band h2 { color: var(--white); }
.karriere-band p { color: rgba(255,255,255,.92); }

/* Notfallbox: ruhige, klar abgesetzte Flaeche ohne Alarmfarbe */
.notfallbox { background: var(--brand-tint); border-radius: var(--radius); padding: 1.4rem 1.6rem; }
.notfallbox h2 { font-size: 1.15rem; margin-bottom: .5rem; }
.notfallbox p { margin: 0 0 .6rem; color: var(--ink); font-size: .98rem; }
.notfallbox p:last-child { margin-bottom: 0; }
.notfallbox a { color: var(--ink); font-weight: 500; }

/* Kurzportraet auf der Arzt-Detailseite */
.doctor-portrait { margin-top: 1rem; max-width: 40rem; }
.doctor-portrait p { color: var(--ink); }





/* ---------- Versuche Stand AH ----------
   1) Eyebrows ausgeblendet (Strukturetiketten; Texte bleiben im Markup
      und in den Inhalten erhalten - eine Zeile loeschen macht sie wieder
      sichtbar).
   2) Einheitlich dunkle Schriftfarbe: --ink-soft laeuft auf Fast-Schwarz,
      Hierarchie kommt aus Schnitt und Groesse statt aus Grau. */
.eyebrow { display: none; }
:root { --ink-soft: #211F1B; }


/* ---------- Akzent «Gletscher» ----------
   Entschieden 21.08.2026 (formale Bestaetigung der Praxis ausstehend).
   Quelle der Wahrheit: brand.json/config.php - brand_style() liefert
   --accent (#2F657E Funktionston) und --accent-soft (#E4F0F4 Flaeche);
   die Werte hier sind nur der CSS-Rueckfall. */
:root { --accent: #2F657E; --accent-soft: #E4F0F4; --akzent-flaeche: var(--accent-soft); --akzent-ton: var(--accent); --akzent-flaeche-hover: #D6E7ED; }

/* Personen */
.doctor-photo { background: var(--akzent-flaeche); }
.doctor-detail-photo { background: var(--akzent-flaeche); }
.doctor-view { color: var(--akzent-ton); }
.doctor-card:hover .doctor-name { color: var(--akzent-ton); }

/* Slider: Bildflaeche hinter PNG/WebP */
.hs-frame { background: var(--akzent-flaeche); }

/* Buttons: Funktionston traegt die Hauptaktion, Gletscherflaeche die Nebenaktion */
.btn-primary { background: var(--akzent-ton); }
.btn-primary:hover { background: #275566; }
.btn-ghost { background: var(--akzent-flaeche); border-color: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--akzent-flaeche-hover); border-color: transparent; color: var(--ink); }

/* Startseite: Schnellzugang-Kacheln */
.schnell-card { background: var(--akzent-flaeche); border-color: transparent; }
.schnell-card p, .schnell-card .schnell-frage, .schnell-card .card-title { color: var(--ink); }
.schnell-card .link-arrow { color: var(--akzent-ton); }

/* Notfall-/Hinweiskachel */
.notfallbox { background: var(--akzent-flaeche); }

/* Akkordeon-Kopf (u.a. Seite Praxis) */
.gd-akk { background: transparent; }
.gd-akk > summary { background: var(--akzent-flaeche); border-radius: var(--radius-sm); }
.gd-akk[open] > summary { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.gd-akk > summary:hover { background: var(--akzent-flaeche-hover); }
.gd-akk-inhalt { padding-top: .8em; }
.gd-akk > summary::before { color: var(--akzent-ton); }

/* Verweise im Fliesstext */
.prose a, .link-arrow { color: var(--akzent-ton); }
a { color: var(--akzent-ton); }
a:hover { color: var(--ink); }


/* ---------- Sanfte Einblendung beim Scrollen ----------
   Inhalte erscheinen haeppchenweise von unten, ruhig und kurz (0.55s).
   Nur mit JavaScript aktiv (html.js), nie bei reduzierter Bewegung;
   ohne JavaScript ist alles sofort sichtbar. */
html.js .reveal-init { opacity: 0; transform: translateY(16px); }
html.js .reveal-in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; transition-delay: var(--reveal-delay, 0s); }
@media (prefers-reduced-motion: reduce) {
    html.js .reveal-init, html.js .reveal-in { opacity: 1; transform: none; transition: none; }
}

/* ---------- Wechsellayout (layout: wechsel) ----------
   Erzaehlende Seiten in Haeppchen: Inhaltsbloecke wechseln zwischen
   linker und rechter Spalte, der Informationsfluss waechst organisch.
   Bewusst NICHT fuer medizinische Nachschlageseiten (Beschwerden,
   Untersuchungen): dort braucht das Symptom-Scannen eine ruhige,
   konstante Leseachse. */
.wechsel { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 6vw, 5rem); }
.wechsel-block { grid-column: 1; max-width: 34rem; padding: 1.2rem 0; }
.wechsel-block.rechts { grid-column: 2; justify-self: end; }
.wechsel-block > h2:first-child { margin-top: 0; }
@media (max-width: 860px) {
    .wechsel { display: block; }
    .wechsel-block { max-width: none; padding: .8rem 0; }
}


/* ---------- Automatische Silbentrennung, nur Fliesstext ----------
   Wichtig fuer die schmaleren Spalten des Wechsellayouts: Absaetze und
   Listen trennen automatisch (deutsche Trennregeln via lang="de").
   Titel, Navigation, Knoepfe und Etiketten bleiben ungetrennt.
   hyphenate-limit-chars verhindert unschoene Kurztrennungen. */
p, li, dd, address {
    hyphens: auto;
    -webkit-hyphens: auto;
    hyphenate-limit-chars: 6 3 3;
}
h1, h2, h3, .btn, .nav-list a, .mobile-menu a, .quick-label, .quick-main,
.footer-head, .footer-links a, .hero-aktuell a, .link-arrow, .doctor-view {
    hyphens: none;
    -webkit-hyphens: none;
}


/* ---------- Gletscher-Linie unter Zwischentiteln ----------
   Rhythmus-Element in der hellen Gletscherflaeche: weil die Flaeche
   leise ist, traegt die Laenge die Wirkung (96 x 8 px statt kurz und
   dunkel). Leicht nach links versetzt (-5px), mit Luft zum Titel
   darueber und zum Text darunter. Gilt fuer Zwischentitel im Fliesstext
   und Abschnittskoepfe; Karten, Notfallbox und Akkordeons bleiben ohne. */
.prose h2::after,
.section-head h2::after {
    content: "";
    display: block;
    width: 96px;
    height: 8px;
    background: var(--accent-soft);
    margin: .6rem 0 0 -5px;
}
.prose h2 { margin-bottom: .9rem; }
.section-head h2 { margin-bottom: .9rem; }
.notfallbox h2::after, .contact-card h2::after, .gd-akk h2::after { content: none; }


/* ---------- Startseite als Wechsel-Treppe (Stand AP) ----------
   Kein Slider, keine Statuszeile mehr: die ganze Startseite folgt der
   Haeppchen-Treppe. Bloecke sind breiter als auf den Textseiten, damit
   Kachelraster (2 Spalten) Platz haben. */
.home-wechsel-section { padding-top: clamp(2.5rem, 5vw, 4rem); }
.wechsel-home { gap: 0 clamp(2rem, 5vw, 4.5rem); }
.wechsel-home .wechsel-block { max-width: 36rem; padding: 1.6rem 0 2.2rem; }
.wechsel-home .card-grid { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 1rem; }
.wechsel-home .doctor-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem 1rem; }
.wechsel-home .hero-title { font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.4rem); }
.wechsel-home .section-head { margin-bottom: 1.4rem; }
.diagnostik-einspaltig { grid-template-columns: 1fr; }

/* Karriere als ruhige Gletscher-Kachel statt Vollflaechen-Band */
.karriere-kachel { background: var(--accent-soft); border-radius: var(--radius); padding: 1.8rem 1.8rem 1.6rem; }
.karriere-kachel h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); margin-bottom: .5rem; }
.karriere-kachel h2::after { content: none; }
.karriere-kachel p { color: var(--ink); }

@media (max-width: 860px) {
    .wechsel-home .wechsel-block { max-width: none; }
    .wechsel-home .doctor-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}


/* ---------- Gesichter-Band (Startseite) ----------
   Runde Portraits von Aerzteschaft und Praxisteam im Wechsel, auf der
   Gletscherflaeche, in ruhiger Dauerbewegung von rechts nach links.
   Das einzige Bildelement der Startseite: Man sieht, mit wem man es zu
   tun hat. Rein dekorativ (aria-hidden); bei reduzierter Bewegung steht
   das Band still. */
.gesichter {
    overflow: hidden;
    margin: 1.8rem 0 2rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.gesichter-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: gesichterLauf 45s linear infinite;
}
.gesicht {
    flex: 0 0 auto;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--accent-soft);
}
.gesicht img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes gesichterLauf {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .gesichter-track { animation: none; }
}


/* ---------- Runde Personen-Darstellung ----------
   Konsistent mit dem Gesichter-Band: rundes Portrait auf der
   Gletscherflaeche, darunter Name und Funktion. Ersetzt die frueheren
   Personen-Kacheln auf Team-Uebersichten und Startseite. */
.personen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 2.4rem 1.4rem;
    /* linksbuendig auf konsequenter Achse, wie im ganzen Auftritt
       (Signaletik-Grundsatz des Manuals) */
    text-align: left;
}
.person { display: block; text-decoration: none; color: inherit; }
.person-bild {
    display: block;
    width: min(160px, 72%);
    aspect-ratio: 1 / 1;
    margin: 0 0 1rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--accent-soft);
}
.person-bild img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
a.person:hover .person-bild img { transform: scale(1.05); }
.person-name { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; line-height: 1.25; margin-bottom: .2rem; transition: color .2s ease; }
a.person:hover .person-name { color: var(--accent); }
.person-role { display: block; font-size: .9rem; line-height: 1.45; color: var(--ink); hyphens: none; -webkit-hyphens: none; }
.person .doctor-view { margin-top: .55rem; display: inline-flex; }
.personen-grid-kompakt { grid-template-columns: repeat(3, 1fr); gap: 1.8rem 1rem; }
.personen-grid-kompakt .person-bild { width: min(130px, 82%); }
.personen-grid-kompakt .person-name { font-size: .98rem; }

/* Detailseite: grosses rundes Portrait, Funktionszeile gross */
.person-bild-gross { width: min(280px, 78%); margin: 1.8rem 0 0; }
.person-titel { margin-top: .6rem; }

/* Werdegang ohne Linien: jede ungerade Zeile auf der Gletscherflaeche */
.cv-zebra { gap: .3rem; }
.cv-zebra .cv-row { border-bottom: 0; padding: .7rem 1rem; }
.cv-zebra .cv-row:nth-child(odd) { background: var(--accent-soft); }
.lang-list li { background: var(--accent-soft); color: var(--ink); }


/* ---------- Dreier-Personenraster in der Treppe ----------
   Team-Ansichten als Wechsel-Bloecke: Text auf der einen Seite, Portraits
   als 3er-Raster (zwei bis drei Reihen) auf der anderen. */
.personen-grid-drei { grid-template-columns: repeat(3, 1fr); gap: 2rem 1rem; }
.personen-grid-drei .person-bild { width: min(140px, 86%); }
.personen-grid-drei .person-name { font-size: 1rem; }
.personen-grid-drei .person-role { font-size: .82rem; }
.personen-grid-drei .doctor-view { font-size: .8rem; }
.wechsel-block.breit { max-width: 40rem; }
@media (max-width: 860px) {
    .personen-grid-drei { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}


/* ---------- Volle-Breite-Bloecke in der Treppe ----------
   Bewusste Ausnahme vom Links-rechts-Wechsel: Portrait-Raster erstrecken
   sich ueber die ganze Containerbreite (Team-Ansichten). */
.wechsel-block.voll { grid-column: 1 / -1; max-width: none; justify-self: stretch; }
.personen-grid-gross { grid-template-columns: repeat(3, 1fr); gap: 2.6rem 1.6rem; }
.personen-grid-gross .person-bild { width: min(200px, 64%); }
.personen-grid-gross .person-name { font-size: 1.15rem; }
.personen-grid-gross .person-role { font-size: .9rem; }
.personen-grid-gross .doctor-view { font-size: .85rem; }
@media (max-width: 860px) {
    .personen-grid-gross { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 2rem 1rem; }
    .personen-grid-gross .person-bild { width: min(150px, 82%); }
}


/* ---------- Zwei-Klick-Karte (Kontaktseite) ----------
   Datenschutz: Die Google-Karte laedt erst nach Klick. Vorher zeigt die
   Flaeche Adresse und Ladeknopf auf der Gletscherflaeche. */
.karte { position: relative; aspect-ratio: 21 / 9; border-radius: var(--radius); overflow: hidden; background: var(--accent-soft); }
.karte-hinweis { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; text-align: center; padding: 1rem; }
.karte-hinweis p { margin: 0; color: var(--ink); }
.karte-datenschutz { font-size: .82rem; color: var(--ink); opacity: .75; }
.karte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 720px) { .karte { aspect-ratio: 4 / 3; } }

/* ---------------------------------------------------------
   Zitat auf der Startseite (Kundenfeedback 09/2026).
   Linksbuendig, ruhige Leseachse, bewusst keine Zentrierung.
   --------------------------------------------------------- */
.zitat { margin: 0; padding-left: 1.4rem; border-left: 3px solid var(--brand); }
.zitat p { font-family: var(--font-display); font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.35; font-weight: 500; color: var(--ink); margin: 0 0 .8rem; }
.zitat cite { font-style: normal; font-size: .95rem; color: var(--ink-soft); }

/* Begruessungszeile auf der Startseite: einziges sichtbares Eyebrow
   (Kundenwunsch 09/2026); alle uebrigen bleiben ausgeblendet. */
.eyebrow.hero-begruessung { display: block; color: var(--brand-deep); }

/* ---------------------------------------------------------
   Formular-Filter: erscheint automatisch auf Seiten mit
   vielen PDF-Links (site.js), z. B. auf der Formulare-Seite.
   --------------------------------------------------------- */
.formular-filter { margin: 0 0 1.8rem; }
.formular-filter input { width: 100%; max-width: 26rem; padding: .75rem 1.2rem; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; background: var(--paper); color: var(--ink); }
.formular-filter input:focus { outline: none; border-color: var(--brand-deep); }
.formular-filter-leer { color: var(--ink-soft); margin: .8rem 0 0; }
.wechsel.filter-aktiv { display: block; }
.wechsel.filter-aktiv .wechsel-block { margin-bottom: 1.8rem; }

/* Kompakte Oeffnungszeiten auf der Startseite: Status auf eigener Zeile,
   je Tagesgruppe eine Zeile (Wunsch Praxis 09/2026). */
.hours-status { margin: 0 0 .9rem; }
.hours-kompakt { list-style: none; margin: 0; padding: 0; }
.hours-kompakt li { padding: .35rem 0; }
.hours-kompakt strong { font-weight: 500; display: block; }
.hours-kompakt span { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
