/* Gemeinschaftspraxis Dr. Griesbach & Dr. Becker – Haan
   Hell, zentriert, ruhig: grosses Logo mittig, nur die beiden Logo-Blautoene plus Weiss und neutrales Grau.
   Schlankes Stylesheet ohne Frameworks und ohne externe Schriften. */

:root {
  --bg: #ffffff;
  --bg2: #f4f6f9;        /* neutrales, sehr helles Grau */
  --ink: #1d2737;
  --muted: #5b6573;
  --line: #e2e6ec;
  --accent: #214a85;     /* Logo-Dunkelblau: Buttons, Links */
  --accent-d: #18396a;
  --logo-blue: #0077bb;  /* Logo-Hellblau: nur kleine Akzente */
  --tint: #edf1f6;       /* zurueckhaltendes Graublau statt Mint/Hellblau */
  --tint2: #dfe5ee;
  --warn-bg: #f4f6f9;
  --warn-line: #e2e6ec;
  --ok-bg: #e6f4ec;
  --ok-line: #98cdab;
  --err-bg: #fdecec;
  --err-line: #e5a1a1;
  --r-sm: 16px;
  --r: 26px;
  --r-lg: 40px;
  --shadow: 0 2px 4px rgba(20, 50, 80, .04), 0 14px 34px rgba(20, 50, 80, .10);
  --head: Georgia, "Iowan Old Style", Palatino, "Palatino Linotype", "Times New Roman", serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: 76px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .22em; text-decoration-thickness: 1px; text-decoration-color: rgba(33, 74, 133, .35); }
a:hover { text-decoration-color: currentColor; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid #e8960c; outline-offset: 3px; border-radius: 8px; }

h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 400; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-top: 2em; }
h3 { font-size: 1.25rem; margin-top: 1.5em; }
h1 small, h2 small, h3 small { font-family: var(--body); font-weight: 400; font-size: .55em; color: var(--muted); }
p, li { text-wrap: pretty; }
p { margin: 0 0 1.15em; }
ul { padding-left: 1.2em; margin: 0 0 1.15em; }
li { margin-bottom: .4em; }
li::marker { color: var(--accent); }
strong { font-weight: 650; }
.nb { white-space: nowrap; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .6em 1em; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Kopfbereich: grosses Logo mittig, Menue darunter ---------- */
.site-header { position: relative; z-index: 30; background: #fff; }
.head { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 24px 0 12px; }
.logo { display: block; }
.logo img { width: min(740px, 92vw); }

.topnav { display: none; }
.topnav ul { list-style: none; margin: 0; padding: 0; }
.topnav > ul { display: flex; flex-wrap: nowrap; justify-content: center; gap: 6px; background: #fff; border-radius: 999px; padding: 9px; box-shadow: var(--shadow); }
.topnav li { position: relative; margin: 0; }
.topnav a { display: block; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; padding: .78em 1.3em; border-radius: 999px; white-space: nowrap; }
.topnav a:hover { background: var(--tint); color: var(--accent); }
.topnav a[aria-current="page"], .topnav a[aria-current="page"]:hover { background: var(--accent); color: #fff; }
.topnav .has-sub > a::after { content: ""; display: inline-block; width: .4em; height: .4em; margin-left: .5em; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-.12em) rotate(45deg); }
.topnav .sub { display: none; position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%); min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 8px; z-index: 40; }
.topnav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.topnav .has-sub:hover > .sub, .topnav .has-sub:focus-within > .sub { display: block; }
.topnav .sub a { font-size: .95rem; border-radius: 16px; }
.topnav .sub .lvl2 { padding-left: 1.7em; font-size: .9rem; color: #44566a; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .6em;
  background: #fff; color: var(--ink); border: 1.5px solid var(--tint2); border-radius: 999px;
  padding: .6em 1.2em; font: inherit; font-weight: 600; cursor: pointer;
}
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; transition: transform .2s, top .2s;
}
.nav-toggle .bars::before { position: absolute; top: -6px; }
.nav-toggle .bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

/* Menue-Flaeche (Tablet/Handy) */
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: 0 30px 50px rgba(20, 50, 80, .14); max-height: calc(100vh - 90px); overflow-y: auto; }
.nav.is-open { display: block; }
.nav-grid { display: grid; gap: 6px 40px; padding: 14px 0 26px; }
.nav-h { font-family: var(--body); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-d); font-weight: 650; margin: 16px 0 6px; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a { display: block; padding: .5em .9em; margin-left: -.9em; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { background: var(--bg2); }
.nav a[aria-current="page"] { background: rgba(33, 74, 133, .12); color: var(--accent); font-weight: 650; }
.nav .sub { margin: 0 0 4px 1.2em; padding-left: .4em; }
.nav .sub a { font-size: .96rem; color: #44566a; padding: .35em .9em; }
.nav-cta { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 14px; }
@media (min-width: 760px) { .nav-grid { grid-template-columns: repeat(3, 1fr); padding: 26px 0 36px; } .nav-h { margin-top: 0; } .nav-cta { display: none; } }
/* Startseite: aktuelle Info hervorgehoben, Standard-Info schlicht */
.infos > .card.news.news { background: var(--accent); border-color: transparent; color: #fff; }
.infos > .card.news h3, .infos > .card.news strong { color: #fff; }
.infos > .card.news li::marker { color: #fff; }
.infos > .card.news .badge { display: inline-block; margin: 0 0 10px; padding: .25em .9em; border-radius: 999px; background: #fff; color: var(--accent); font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.infos > .card.std.std { background: #fff; border: 1px solid var(--line); }

/* Startseite: Einschub "Aktuell" mit auffaelligem Reiter */
.drawer-news .drawer-tab { background: #e0a100; color: #2b1f00; }
.drawer-news .drawer-call { margin-top: 8px; }
.infos > .card.news { scroll-margin-top: 90px; }

/* Hinweis "startet ab ..." */
.soon { display: flex; align-items: center; gap: 18px; width: min(640px, 100%); margin: 26px auto 0; padding: 20px 26px; border-radius: var(--r); background: #fff4d6; border: 2px solid #e0a100; color: #4a3400; text-align: left; box-shadow: var(--shadow); }
.soon svg { flex: none; width: 44px; height: 44px; color: #b07d00; }
.soon p { margin: 0; font-size: 1.02rem; }
.soon .soon-title { font-family: var(--head); font-size: clamp(1.3rem, 4vw, 1.7rem); font-weight: 700; color: #3a2900; margin-bottom: 4px; }

/* Handy: Menue klar gegliedert, Gruppen als weisse Karten auf grauem Grund */
@media (max-width: 759px) {
  .nav { background: var(--bg2); border-top: 1px solid var(--line); }
  .nav-grid { gap: 12px; padding: 14px 0 22px; }
  .nav-grid > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 4px 14px 6px; }
  .nav-h { color: var(--accent); font-size: .78rem; font-weight: 750; margin: 10px 0 4px; }
  .nav li + li, .nav .sub { border-top: 1px solid var(--line); }
  .nav .sub li { border-top: 1px solid var(--line); }
  .nav .sub li:first-child { border-top: 0; }
  .nav a { margin-left: 0; padding: .7em .6em; border-radius: 10px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .nav a::after { content: ""; flex: none; width: .45em; height: .45em; border: solid var(--accent); border-width: 2px 2px 0 0; transform: rotate(45deg); }
  .nav a[aria-current="page"] { background: var(--accent); color: #fff; }
  .nav a[aria-current="page"]::after { border-color: #fff; }
  .nav .sub { margin: 0 0 0 .8em; padding-left: 0; }
  .nav .sub a { font-size: .95rem; font-weight: 500; color: #33404f; }
}
/* Bei offenem Menue: Einschub und untere Leiste ausblenden */
body.nav-open .drawer { display: none; }

/* Handy/Tablet: Kopf bleibt beim Scrollen oben, wird kompakt */
@media (max-width: 1259px) {
  .site-header { position: sticky; top: 0; transition: box-shadow .2s; }
  .site-header.is-compact { box-shadow: 0 6px 20px rgba(20, 50, 80, .12); }
  /* Handy/Tablet: Kopf immer kompakt (Logo links, Menue rechts), damit nichts springt */
  .site-header.is-compact .head, body .site-header .head { flex-direction: row; justify-content: space-between; gap: 12px; padding: 8px 0; }
  .site-header.is-compact .logo img, body .site-header .logo img { width: min(240px, 58vw); }
  .site-header.is-compact .nav-toggle, body .site-header .nav-toggle { padding: .5em 1em; }
}
@media (min-width: 1260px) {
  .topnav { display: block; }
  .nav-toggle, .nav, .nav.is-open { display: none; }
  .head { gap: 18px; padding-bottom: 26px; }
}

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 0; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 650; padding: .8em 1.55em; border-radius: 999px;
  background: var(--accent); color: #fff; border: 2px solid var(--accent); cursor: pointer; font-size: 1rem; font-family: inherit; line-height: 1.3; transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--accent-d); border-color: var(--accent-d); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--accent-d); }
.btn.ghost:hover { background: var(--tint); color: var(--accent-d); }
.btn.small { padding: .55em 1.15em; font-size: .95rem; }
.eyebrow { display: inline-block; font-size: .86rem; font-weight: 650; color: var(--accent-d); background: var(--tint); padding: .38em 1.05em; border-radius: 999px; margin: 0 0 1.2em; }

/* ---------- Inhalt ---------- */
main { display: block; }
.page-head { text-align: center; padding: 44px 0 10px; }
.page-head h1 { margin: 0 auto; max-width: 22ch; }
.page-head .lead { margin: .9em auto 0; color: var(--muted); font-size: 1.15rem; max-width: 56ch; text-wrap: balance; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1.1em; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 .5em; opacity: .6; }

.content { padding: 14px 0 70px; }
.prose { max-width: 68ch; margin-inline: auto; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose.center, .center { text-align: center; }

/* Startseite */
.hero { text-align: center; padding: 34px 0 0; }
.hero h1 { max-width: 20ch; margin-inline: auto; }
.hero h1 { margin-bottom: .75em; }
.hero h1 .h1-sub { display: block; font-family: var(--body); font-size: 1.3rem; line-height: 1.55; color: var(--muted); max-width: 34em; margin: .6em auto 0; text-wrap: balance; }
.hero .lead { color: var(--muted); font-size: 1.2rem; line-height: 1.6; max-width: 36em; margin: 0 auto 1.6em; text-wrap: balance; }
.banner { display: grid; gap: 14px; grid-template-columns: 1fr; width: min(860px, 100%); margin: 6px auto 0; }
.banner figure { margin: 0; }
.banner img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 20%; border-radius: 34px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .banner { grid-template-columns: 1fr 1fr; } }
.quickbar { position: relative; z-index: 2; margin: -30px auto 0; width: min(980px, 94%); background: #fff; border-radius: 999px; box-shadow: var(--shadow); padding: 9px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.quickbar a { text-decoration: none; text-align: center; font-weight: 600; padding: .8em .5em; border-radius: 999px; color: var(--ink); font-size: .95rem; line-height: 1.3; display: flex; align-items: center; justify-content: center; }
.quickbar a:first-child { background: var(--accent); color: #fff; }
.quickbar a:hover { background: var(--tint); color: var(--accent-d); }
.quickbar a:first-child:hover { background: var(--accent-d); color: #fff; }
@media (min-width: 760px) { .quickbar { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 759px) { .quickbar { border-radius: 30px; } }
.sec { padding-top: 54px; }

.grid { display: grid; gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 26px 28px; }
.card h2, .card h3 { margin-top: 0; font-size: 1.3rem; }
.card > :last-child { margin-bottom: 0; }
.infos > .card:nth-child(odd) { background: var(--tint); border-color: transparent; }
.infos { margin-top: 30px; grid-template-columns: 1fr; text-align: left; }
@media (min-width: 860px) { .infos { grid-template-columns: repeat(2, 1fr); } }
.hours p { margin: 0 0 .7em; }
.hours strong { display: block; font-weight: 650; }
a.card { display: block; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.grid.two { grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid.two { grid-template-columns: 1fr 1fr; } }

.notice { background: var(--bg2); border: 0; border-left: 4px solid var(--accent); border-radius: var(--r-sm); padding: 16px 20px; margin: 0 0 1.4em; }
.notice > :last-child { margin-bottom: 0; }
.notice.info { background: var(--tint); border-color: transparent; }

.hours-table { border-collapse: separate; border-spacing: 0; width: 100%; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.hours-table th, .hours-table td { text-align: left; padding: .85em 1.3em; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table thead th { background: var(--tint); color: var(--accent-d); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 650; }
.hours-table tbody th { font-weight: 600; width: 50%; }

dl.facts { margin: 0 0 1.2em; }
dl.facts dt { font-weight: 650; color: var(--accent-d); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 1.1em; }
dl.facts dd { margin: .15em 0 0; }

/* Team: runde Portraets */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 16px; margin: 1.2em 0 0; padding: 0; list-style: none; text-align: center; }
.people li { margin: 0; }
.people img { width: min(100%, 180px); margin-inline: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 14%; border-radius: 50%; background: var(--tint); box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line); }
.people .name { margin: 1em 0 0; font-family: var(--head); font-size: 1.12rem; line-height: 1.3; }
.people .role { display: block; font-family: var(--body); color: var(--muted); font-size: .9rem; margin-top: .2em; }
.team-h { text-align: center; }

.doctors { display: grid; gap: 18px; margin: 0 0 1.8em; }
.doctor { display: flex; gap: 18px; align-items: center; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; transition: transform .2s, box-shadow .2s; }
.doctor:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.doctor img { width: 96px; height: 120px; object-fit: cover; object-position: center top; border-radius: 18px; flex: none; }
.doctor strong { display: block; font-family: var(--head); font-weight: 400; font-size: 1.25rem; line-height: 1.3; }
.doctor span { color: var(--muted); font-size: .95rem; }
.profile { display: grid; gap: 30px; align-items: start; justify-items: center; max-width: 900px; margin-inline: auto; }
.profile img { width: min(100%, 320px); aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 999px 999px 32px 32px; background: var(--tint); box-shadow: var(--shadow); }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 1.3em 0 0; padding: 0; list-style: none; }
.gallery li { margin: 0; }
.gallery a { display: block; border-radius: var(--r); overflow: hidden; background: var(--bg2); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.05); }

dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog.lightbox::backdrop { background: rgba(14, 24, 36, .9); }
dialog.lightbox .stage { display: grid; place-items: center; width: 100%; height: 100%; padding: 14px; }
dialog.lightbox img { max-width: 100%; max-height: calc(100vh - 90px); border-radius: 22px; width: auto; height: auto; }
dialog.lightbox p { color: #fff; text-align: center; margin: .6em 0 0; }
dialog.lightbox button { position: fixed; background: rgba(255, 255, 255, .95); border: 0; border-radius: 999px; width: 48px; height: 48px; font-size: 1.5rem; cursor: pointer; color: var(--ink); }
dialog.lightbox .close { top: 14px; right: 14px; }
dialog.lightbox .prev { left: 10px; top: 50%; }
dialog.lightbox .next { right: 10px; top: 50%; }

.check-list { list-style: none; padding: 0; }
.check-list li { padding: .85em 1.2em .85em 3em; border-radius: var(--r-sm); margin-bottom: 10px; position: relative; background: #fff; border: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; left: 1.1em; top: 1.3em; width: 1em; height: 1em; border: 2px solid var(--accent); border-radius: 50%; background: #fff; }
.leist-img { margin: 8px auto 18px; max-width: 520px; }
.leist-img img { border-radius: 36px; width: 100%; box-shadow: var(--shadow); }
.leist-img figcaption { text-align: center; color: var(--muted); font-size: .92rem; margin-top: .6em; }

/* ---------- Formulare ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; margin: 1.3em auto 2.6em; max-width: 640px; box-shadow: var(--shadow); }
.form .row { margin-bottom: 18px; }
.form label.lbl { display: block; font-weight: 600; margin-bottom: .35em; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form textarea {
  width: 100%; font: inherit; padding: .75em 1em; border: 1.5px solid #cfd6df; border-radius: 16px; background: var(--bg); color: var(--ink);
}
.form input:focus, .form textarea:focus { outline: 3px solid rgba(33, 74, 133, .25); outline-offset: 0; border-color: var(--accent); background: #fff; }
.form textarea { min-height: 130px; resize: vertical; }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; line-height: 1.55; }
.form .check input { margin-top: .3em; width: 1.25em; height: 1.25em; flex: none; accent-color: var(--accent); }
.form .hp { position: absolute; left: -5000px; height: 0; overflow: hidden; }
.form .status { margin: 16px 0 0; padding: 14px 18px; border-radius: 16px; display: none; }
.form .status.ok { display: block; background: var(--ok-bg); border: 1px solid var(--ok-line); }
.form .status.err { display: block; background: var(--err-bg); border: 1px solid var(--err-line); }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.form-h { text-align: center; }

/* ---------- Fuss ---------- */
.site-footer { background: var(--bg2); color: var(--ink); padding: 52px 0 30px; margin-top: 44px; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.site-footer a { color: var(--ink); text-decoration-color: #b9c2ce; }
.site-footer a:hover { color: var(--accent-d); }
.site-footer h2 { font-family: var(--body); color: var(--accent-d); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 650; margin: 0 0 .9em; }
.site-footer .cols { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.site-footer address { font-style: normal; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer .legal { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; font-size: .92rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer .legal a { color: var(--muted); }
.home .site-footer .f-hours { display: none; }

.mobilebar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-radius: 999px; box-shadow: 0 12px 34px rgba(20, 50, 80, .2); overflow: hidden; padding: 4px; }
.mobilebar a { display: block; text-align: center; padding: 8px 4px 7px; font-size: .76rem; font-weight: 650; text-decoration: none; color: var(--ink); line-height: 1.2; border-radius: 999px; }
.mobilebar a:first-child { background: var(--accent); color: #fff; }
.mobilebar svg { display: block; margin: 0 auto 2px; width: 21px; height: 21px; }
/* Schnellzugriff jetzt oben im Handy-Menue statt als feste Leiste unten */
.nav .nav-quick { position: static; margin: 14px 0 0; box-shadow: none; border: 1px solid var(--line); backdrop-filter: none; }
.nav .nav-quick a { display: block; margin: 0; padding: 8px 4px 7px; justify-content: center; color: var(--ink); font-weight: 650; }
.nav .nav-quick a:first-child { background: var(--accent); color: #fff; }
.nav .nav-quick a::after { content: none; }
/* Kleiner runder Anruf-Knopf unten rechts */
.callfab { position: fixed; right: 14px; bottom: 14px; z-index: 40; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(20, 50, 80, .18), 0 10px 26px rgba(20, 50, 80, .35); }
.callfab svg { width: 24px; height: 24px; }
body.nav-open .callfab { display: none; }
@media (max-width: 1099px) { body { padding-bottom: 0; } }

/* ---------- groessere Bildschirme ---------- */
@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .people { grid-template-columns: repeat(3, 1fr); gap: 38px 22px; }
  .doctors { grid-template-columns: repeat(3, 1fr); }
  .doctor { flex-direction: column; text-align: center; padding: 22px 22px 26px; }
  .doctor img { width: 100%; height: auto; aspect-ratio: 4 / 5; }
}
@media (min-width: 900px) {
  .profile { grid-template-columns: 320px 1fr; gap: 52px; justify-items: stretch; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .people { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1100px) {
  body { padding-bottom: 0; }
  .mobilebar, .callfab { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery img, .btn, .doctor, a.card { transition: none; }
}
@media print {
  .site-header .nav, .nav-toggle, .topnav, .mobilebar, .callfab, .btns, .form, .quickbar { display: none !important; }
  body { padding: 0; font-size: 11pt; background: #fff; }
  a { color: inherit; }
}

/* Einleitung Startseite: linksbuendig in schmaler, mittiger Spalte */
.intro { max-width: 74ch; font-size: 1.0625rem; }


/* Fliesstexte linksbuendig (besser lesbar als Blocksatz), ohne automatische Silbentrennung */
.prose p, .prose li, .card p, .intro p {
  text-align: left;
  hyphens: manual;
  -webkit-hyphens: manual;
  text-wrap: pretty;
}
.center p, .prose.center p, .page-head p, .form p, .people p, .hours p { text-align: inherit; hyphens: manual; }

/* Dezenter Strich unter dem Logo */
.logo { padding-bottom: 16px; border-bottom: 1px solid var(--line); }

/* Startseite: zwei hervorgehobene Kacheln unter den Fotos */
.actions2 { position: relative; z-index: 2; display: grid; gap: 14px; grid-template-columns: 1fr; width: min(900px, 94%); margin: -44px auto 0; text-align: left; }
.action { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: 28px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.action:hover { transform: translateY(-2px); color: var(--ink); box-shadow: 0 4px 8px rgba(20, 50, 80, .06), 0 18px 40px rgba(20, 50, 80, .14); }
.action .ico { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--accent); }
.action .ico svg { width: 26px; height: 26px; }
.action .txt { display: block; line-height: 1.35; }
.action strong { display: block; font-size: 1.15rem; font-weight: 650; }
.action small { display: block; font-size: .95rem; color: var(--muted); margin-top: .15em; }
.action .arr { margin-left: auto; font-size: 2rem; line-height: 1; color: var(--accent); padding-left: 8px; }
.action.primary { background: var(--accent); color: #fff; }
.action.primary:hover { color: #fff; background: var(--accent-d); }
.action.primary .ico { background: rgba(255, 255, 255, .16); color: #fff; }
.action.primary small { color: rgba(255, 255, 255, .82); }
.action.primary .arr { color: #fff; }
@media (min-width: 760px) { .actions2 { grid-template-columns: 1fr 1fr; } }
/* Startseite: Fotos fuellen den ersten Bildschirm, Text beginnt knapp darunter */
@media (min-width: 640px) {
  .banner { width: min(1240px, 100%); gap: 16px; }
  .banner img { aspect-ratio: auto; height: clamp(220px, calc(100vh - 525px), 600px); max-height: calc((min(1240px, 100vw - 40px) - 16px) / 2 / 1.6); object-position: center 22%; }
}
/* Kacheln: beide weiss, jede mittig unter ihrem Foto */
@media (min-width: 760px) {
  .actions2 { width: min(1240px, 100%); gap: 16px; }
  .action { width: min(100%, 470px); justify-self: center; }
}
/* Handy: Kacheln unter die Fotos statt darueber */
@media (max-width: 759px) { .actions2 { margin-top: 14px; width: 100%; } .action { padding: 16px 18px; } .action strong { font-size: 1.05rem; } }

/* Einzelne Kachel mittig (z. B. Terminbuchung) */
.actions2.single, .actions2.single.single { grid-template-columns: 1fr; width: min(470px, 100%); margin: 10px auto 30px; }
.actions2.single .action { width: 100%; }

/* Zentrierter, kompakter Hinweis */
.notice.center { text-align: center; border-left: 0; max-width: 620px; margin-inline: auto; padding: 18px 24px; }
p.center { text-align: center; }

/* Drei kompakte Karten nebeneinander (z. B. HIV-PrEP) */
.cards3 { display: grid; gap: 16px; grid-template-columns: 1fr; max-width: 1040px; margin: 10px auto 34px; }
.cards3 .card h2 { font-size: 1.35rem; margin: 0 0 .5em; }
.cards3 .card p { text-align: left; hyphens: manual; }
.cards3 .card:nth-child(2) { background: var(--tint); border-color: transparent; }
@media (min-width: 860px) { .cards3 { grid-template-columns: repeat(3, 1fr); } }
.cta-line { margin-bottom: 1.5em; line-height: 1.6; }
.btns-center { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
/* Oeffnungsstatus: klein und dezent mittig unter den Kacheln */
.openstatus-wrap { text-align: center; margin: 18px 0 0; }
.openstatus { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); text-decoration: none; padding: .42em 1.05em; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20, 50, 80, .04), 0 4px 14px rgba(20, 50, 80, .07); transition: box-shadow .2s, color .2s; }
.openstatus:hover { color: var(--ink); box-shadow: 0 2px 4px rgba(20, 50, 80, .05), 0 8px 20px rgba(20, 50, 80, .10); }
.openstatus .dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa3ad; flex: none; }
.openstatus.is-open .dot { background: #2e9e5b; box-shadow: 0 0 0 0 rgba(46, 158, 91, .5); animation: os-pulse 2.4s ease-out infinite; }
.openstatus.is-soon .dot { background: #e0a100; box-shadow: 0 0 0 0 rgba(224, 161, 0, .5); animation: os-pulse 2.4s ease-out infinite; }
.openstatus.is-closed .dot { background: #d0453a; }
@keyframes os-pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 158, 91, .45); } 70% { box-shadow: 0 0 0 7px rgba(46, 158, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 158, 91, 0); } }
@media (prefers-reduced-motion: reduce) { .openstatus .dot { animation: none !important; } }
/* Leistungsseiten im Karten-Stil */
.cards2 { display: grid; gap: 16px; grid-template-columns: 1fr; max-width: 1040px; margin: 10px auto 34px; }
@media (min-width: 760px) { .cards2 { grid-template-columns: 1fr 1fr; } }
.cards2 .card h2 { font-size: 1.35rem; margin: 0 0 .5em; }
.cards2 .card p { text-align: left; hyphens: manual; }
.cards2 .card:nth-child(4n+2), .cards2 .card:nth-child(4n+3) { background: var(--tint); border-color: transparent; }
.cards3 .card:nth-child(n) { background: #fff; border-color: var(--line); }
.cards3 .card:nth-child(even) { background: var(--tint); border-color: transparent; }
ul.mini { list-style: none; padding: 0; margin: 0 0 .4em; }
ul.mini li { position: relative; padding-left: 1.2em; margin-bottom: .45em; text-align: left; hyphens: manual; line-height: 1.5; }
ul.mini li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--logo-blue); }
.card p.more { margin: .8em 0 0; font-weight: 600; text-align: left; }
.card p.more a::after { content: " \203A"; }
.check-grid { list-style: none; padding: 0; margin: 10px auto 24px; max-width: 1040px; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .check-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .check-grid { grid-template-columns: 1fr 1fr 1fr; } }
.check-grid li { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px 12px 46px; position: relative; line-height: 1.4; }
.check-grid li::before { content: ""; position: absolute; left: 16px; top: 15px; width: 16px; height: 16px; border: 2px solid var(--accent); border-radius: 50%; }
.check-grid li strong { display: block; }
.check-grid li span { display: block; color: var(--muted); font-size: .92rem; }
.note-small { font-size: .9rem; color: var(--muted); }
/* Team: Aerzte im gemeinsamen Raster, verlinkt */
.people .is-doc a { display: block; text-decoration: none; color: var(--ink); }
.people .is-doc a:hover img { box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--accent); }
.people .is-doc .name::after { content: "Profil ansehen \203A"; display: block; font-family: var(--body); font-size: .85rem; font-weight: 600; color: var(--accent); margin-top: .35em; }
/* Team: geordnetes, zentriertes Raster (letzte Reihe mittig) */
.people { display: flex; flex-wrap: wrap; justify-content: center; gap: 34px 26px; max-width: 1100px; margin-inline: auto; }
.people li { width: 190px; }
@media (max-width: 639px) { .people { gap: 26px 14px; } .people li { width: calc(50% - 7px); } }
/* Kurze Einleitungssaetze nicht unnoetig umbrechen */
.page-head .lead { max-width: 44em; }

/* Unterzeile innerhalb der Ueberschrift auch auf Unterseiten (z. B. Unser Team) */
.page-head h1 .h1-sub { display: block; font-family: var(--body); font-size: 1.15rem; line-height: 1.6; color: var(--muted); margin: .7em auto 0; max-width: 44em; text-wrap: balance; }
.page-head h1:has(.h1-sub) { max-width: none; }

/* Praxis-Galerie: kleine, runde Kacheln in echten Farben, ohne Vergroessern */
.gallery { max-width: 1060px; margin: 6px auto 0; gap: 14px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(5, 1fr); } }
.gallery li { border-radius: 24px; overflow: hidden; background: var(--bg2); box-shadow: 0 2px 4px rgba(20, 50, 80, .05), 0 8px 20px rgba(20, 50, 80, .07); }
.gallery li img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
/* ===== Barrierefreiheit (WCAG 2.1 AA) – Version 2.0 ===== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* 1. Formularfelder klar erkennbar (Rand mind. 3:1) */
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form textarea { border: 1.5px solid #6f7a88; }
.form .check input { outline: 1.5px solid #6f7a88; outline-offset: 0; border-radius: 3px; }
.form [aria-invalid="true"] { border-color: #b3261e !important; box-shadow: 0 0 0 2px rgba(179, 38, 30, .2); }
.req-note { max-width: 640px; margin: 0 auto -.4em; font-size: .9rem; color: var(--muted); }
/* 2. Kraeftiger Tastatur-Fokus (4,8:1 auf Weiss) mit weissem Abstandsring */
:focus-visible { outline: 3px solid #b35c00; outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.form input:focus, .form textarea:focus { outline: 3px solid #b35c00; outline-offset: 1px; }
/* 3. Lange Woerter laufen auf sehr kleinen Bildschirmen nicht ueber den Rand */
.cards2 .card, .cards3 .card, .infos .card, .check-grid li { min-width: 0; }
.card h2, .card h3 { overflow-wrap: anywhere; }
@media (max-width: 400px) { .card { padding: 20px 18px; } .container { width: min(1160px, 100% - 28px); } }
/* 4. Links im Text deutlich unterstrichen */
a { text-decoration-color: rgba(33, 74, 133, .85); }
.btn, .action, .tile, .topnav a, .nav a, .mobilebar a, .openstatus, .logo, .people .is-doc a, .quickbar a { text-decoration: none; }
/* 5. Aufklappmenue: per Escape schliessbar */
.topnav .has-sub.is-closed > .sub { display: none !important; }
/* Zwei Kacheln nebeneinander, mittig (z. B. Terminbuchung) */
.actions2.pair { width: min(980px, 100%); margin: 10px auto 30px; }
@media (min-width: 760px) { .actions2.pair .action { width: 100%; } }

/* Doctolib-Button am rechten Rand (nur Desktop; auf dem Handy uebernimmt die untere Leiste) */
.doctolib-float { display: none; }
@media (min-width: 1100px) {
  .doctolib-float { display: flex; flex-direction: column; gap: 6px; position: fixed; right: 0; top: 260px; z-index: 35; width: 132px; padding: 10px 10px 8px; background: var(--accent); border-radius: 18px 0 0 18px; box-shadow: var(--shadow); text-align: center; }
  .doctolib-float a { display: block; background: #fff; color: var(--accent); text-decoration: none; font-weight: 650; font-size: .86rem; line-height: 1.25; padding: .55em .5em; border-radius: 12px; }
  .doctolib-float a:hover { background: var(--tint); color: var(--accent-d); }
  .doctolib-float .dl-brand { color: rgba(255, 255, 255, .85); font-size: .75rem; font-weight: 600; letter-spacing: .02em; margin-top: 2px; }
}
@media print { .doctolib-float { display: none !important; } }
/* Grafischer Doctolib-Knopf (ohne externes Logo, kein Datenaufruf bei Doctolib) */
.doctolib-badge { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 6px; padding: 14px 34px 12px; border-radius: 18px; background: #107aca; color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .15s, background .15s; }
.doctolib-badge:hover { background: #0b62a6; color: #fff; transform: translateY(-2px); }
.doctolib-badge .db-top { font-size: .85rem; font-weight: 600; opacity: .9; }
.doctolib-badge .db-word { font-family: var(--body); font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.doctolib-badge .db-logo { display: block; width: 150px; height: auto; margin-top: 4px; }

/* Doctolib-Kachel in Doctolib-Blau mit Logo */
.action.doctolib { background: #107aca; color: #fff; }
.action.doctolib:hover { background: #0b62a6; color: #fff; }
.action.doctolib .ico { background: rgba(255, 255, 255, .18); color: #fff; }
.action.doctolib .dl-logo { display: block; width: 118px; height: auto; margin: 2px 0 4px; }
.action.doctolib small { color: rgba(255, 255, 255, .88); }
.action.doctolib .arr { color: #fff; }
/* Terminbuchung: Moeglichkeiten untereinander */
.actions2.pair { grid-template-columns: 1fr !important; width: min(520px, 100%); gap: 14px; }
.actions2.pair .action { width: 100%; }

.actions2.pair { gap: 22px; margin-top: 22px; }
.action.doctolib strong { color: #fff; }
/* Startseite: Schnellzugriff-Kacheln kompakter */
.hero .action { padding: 12px 18px; gap: 12px; border-radius: 22px; }
.hero .action .ico { width: 40px; height: 40px; }
.hero .action .ico svg { width: 20px; height: 20px; }
.hero .action strong { font-size: 1rem; }
.hero .action small { font-size: .85rem; }
.hero .action .arr { font-size: 1.6rem; }
.hero .action.doctolib .dl-logo { width: 92px; margin: 1px 0 3px; }
@media (min-width: 760px) { .hero .actions2 { margin-top: -34px; } .hero .action { width: min(100%, 380px); justify-self: center; } }/* Praxis-Galerie als Mosaik: Ente gross in der Mitte */
.gallery.mosaic { grid-template-columns: repeat(2, 1fr); max-width: 980px; }
.gallery.mosaic .feature { grid-column: span 2; }
.gallery.mosaic .feature img { object-position: 68% 50%; }
@media (min-width: 760px) {
  .gallery.mosaic { grid-template-columns: repeat(4, 1fr); }
  .gallery.mosaic .feature { grid-column: 2 / 4; grid-row: 2 / 4; }
}/* Mosaik passt auf einen Bildschirm: Breite richtet sich nach der Fensterhoehe */
@media (min-width: 760px) {
  .gallery.mosaic { max-width: clamp(560px, calc((100vh - 410px) * 4 / 3), 980px); gap: 12px; }
  .gallery.mosaic li { border-radius: 20px; }
}/* Praxis: Karten Sprechzeiten/Anfahrt neben der Galerie */
.praxis-side { display: grid; gap: 14px; grid-template-columns: 1fr; max-width: 980px; margin: 22px auto 0; }
@media (min-width: 640px) { .praxis-side { grid-template-columns: 1fr 1fr; } }
.praxis-side .card { display: block; text-decoration: none; color: inherit; padding: 20px 22px; transition: transform .2s, box-shadow .2s; }
.praxis-side .card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.praxis-side .card h2 { font-size: 1.25rem; margin-bottom: .35em; }
.praxis-side .card p { margin: 0 0 .5em; font-size: .95rem; }
.praxis-side .more { font-weight: 600; font-size: .9rem; color: var(--accent); }
@media (min-width: 1100px) {
  .praxis-layout { display: flex; justify-content: center; align-items: center; gap: 26px; }
  .praxis-layout .gallery.mosaic { width: clamp(560px, calc((100vh - 410px) * 4 / 3), 860px); max-width: none; margin: 0; flex: none; }
  .praxis-side { grid-template-columns: 1fr; width: 260px; margin: 0; flex: none; }
}/* Praxis-Seitenlinks im Stil der weissen Startseiten-Kachel */
.praxis-side .action { width: 100%; padding: 12px 18px; gap: 12px; border-radius: 22px; }
.praxis-side .action .ico { width: 40px; height: 40px; }
.praxis-side .action .ico svg { width: 20px; height: 20px; }
.praxis-side .action strong { font-size: 1rem; }
.praxis-side .action small { font-size: .85rem; }
.praxis-side .action .arr { font-size: 1.6rem; }
@media (min-width: 1100px) { .praxis-side { width: 315px; } }/* Praxis: Kacheln doch mittig unter der Galerie (wie Startseite) */
@media (min-width: 1100px) {
  .praxis-layout { display: block; }
  .praxis-layout .gallery.mosaic { margin: 0 auto; }
}
@media (min-width: 640px) {
  .praxis-side, .praxis-side.praxis-side { grid-template-columns: repeat(2, minmax(0, 330px)); justify-content: center; width: auto; margin: 18px auto 0; gap: 16px; }
}@media (min-width: 760px) {
  .praxis-layout .gallery.mosaic { width: auto; max-width: clamp(560px, calc((100vh - 470px) * 4 / 3), 900px); margin: 0 auto; }
}@media (min-width: 760px) {
  .praxis-side.praxis-side { grid-template-columns: 1fr 1fr; max-width: clamp(560px, calc((100vh - 470px) * 4 / 3), 900px); width: auto; margin: 14px auto 0; gap: 12px; }
}/* Terminbuchung: Anamnesebogen-Download */
.prep-dl { width: min(520px, 100%); margin: 34px auto 30px; padding-top: 26px; border-top: 1px solid var(--line); text-align: center; }
.prep-dl .prep-note { color: var(--muted); font-size: .98rem; margin: 0 0 14px; text-wrap: balance; }
.prep-dl .action { text-align: left; padding: 14px 20px; }/* Einschub von rechts (Terminbuchung: Anamnesebogen) */
.drawer { position: fixed; right: 0; top: 50%; z-index: 40; display: flex; align-items: center; transform: translate(calc(100% - 46px), -50%); transition: transform .35s ease; }
.drawer.is-open { transform: translate(0, -50%); }
.drawer-tab { flex: none; width: 46px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 0; border: 0; border-radius: 18px 0 0 18px; background: var(--accent); color: #fff; font: inherit; font-weight: 650; font-size: .9rem; cursor: pointer; box-shadow: var(--shadow); }
.drawer-tab:hover { background: var(--accent-d); }
.drawer-tab svg { width: 22px; height: 22px; }
.drawer-tab span { writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .02em; }
.drawer-panel { width: min(290px, calc(100vw - 70px)); padding: 22px 22px 18px; background: #fff; border-radius: 22px 0 0 22px; box-shadow: var(--shadow); border: 1px solid var(--line); border-right: 0; visibility: hidden; transition: visibility 0s .35s; }
.drawer.is-open .drawer-panel { visibility: visible; transition: none; }
.drawer-panel .drawer-title { font-family: var(--head); font-size: 1.3rem; color: var(--ink); margin: 0 0 .4em; }
.drawer-panel p { margin: 0 0 1em; font-size: .95rem; text-align: left; }
.drawer-panel .btn { display: block; text-align: center; }
.drawer-panel .drawer-small { margin: .7em 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
@media (max-width: 759px) { .drawer { top: auto; bottom: 96px; transform: translate(calc(100% - 46px), 0); } .drawer.is-open { transform: translate(0, 0); } .drawer-tab { padding: 12px 0; } }
@media print { .drawer { display: none; } }
@media (prefers-reduced-motion: reduce) { .drawer { transition: none; } }@media (max-width: 759px) {
  .drawer { transform: translate(calc(100% - 36px), 0); bottom: 100px; }
  .drawer-tab { width: 36px; gap: 7px; padding: 10px 0; font-size: .78rem; border-radius: 14px 0 0 14px; }
  .drawer-tab svg { width: 18px; height: 18px; }
  /* Handy: Einschub-Inhalt kompakt */
  .drawer { bottom: 24px; }
  .drawer-panel { width: min(230px, calc(100vw - 56px)); padding: 12px 14px 12px; border-radius: 16px 0 0 16px; }
  .drawer-panel .drawer-title { font-size: 1rem; line-height: 1.25; margin: 0 0 .25em; }
  .drawer-panel p { font-size: .84rem; line-height: 1.4; margin: 0 0 .6em; }
  .drawer-panel .btn { padding: .45em .9em; font-size: .85rem; }
  .drawer-panel .drawer-small { font-size: .72rem; margin-top: .4em; }
  .drawer-news .drawer-call { display: none; }
}/* Footer im Stil der Seite: drei weisse, runde Karten */
.site-footer { padding: 44px 0 26px; margin-top: 56px; }
.site-footer .cols { gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.site-footer .f-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px 24px 20px; box-shadow: 0 2px 4px rgba(20, 50, 80, .04), 0 8px 20px rgba(20, 50, 80, .05); }
.site-footer h2 { font-family: var(--head); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 1.3rem; color: var(--ink); margin: 0 0 .75em; }
.site-footer a { text-decoration: none; color: var(--accent); font-weight: 600; }
.site-footer a:hover { color: var(--accent-d); text-decoration: underline; }
.site-footer .f-name { margin: 0 0 .8em; font-weight: 600; line-height: 1.45; }
.site-footer .f-contact, .site-footer .f-times, .site-footer .f-links { list-style: none; margin: 0; padding: 0; }
.site-footer .f-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: .45em; line-height: 1.45; }
.site-footer .f-contact svg { flex: none; width: 17px; height: 17px; margin-top: .2em; color: var(--accent); }
.site-footer .f-times li { display: flex; justify-content: space-between; gap: 12px; padding: .55em 0; border-bottom: 1px solid var(--line); line-height: 1.35; }
.site-footer .f-times li:last-child { border-bottom: 0; }
.site-footer .f-times strong { white-space: nowrap; font-weight: 650; color: var(--ink); }
.site-footer .f-links li { border-bottom: 1px solid var(--line); }
.site-footer .f-links li:last-child { border-bottom: 0; }
.site-footer .f-links a { display: flex; justify-content: space-between; align-items: center; padding: .55em 0; color: var(--ink); font-weight: 500; }
.site-footer .f-links a::after { content: "\203A"; font-size: 1.4rem; line-height: 1; color: var(--accent); }
.site-footer .f-links a:hover { color: var(--accent-d); text-decoration: none; }
.site-footer .legal { border-top: 0; margin-top: 22px; padding-top: 0; justify-content: center; text-align: center; font-size: .88rem; gap: 6px 22px; }
.site-footer .legal a { color: var(--muted); font-weight: 500; }
.site-footer .legal a:hover { color: var(--accent-d); }/* Rezepte & Ueberweisungen: kompakte Einleitung, Formulare nebeneinander */
.rz-lead { max-width: 640px; margin: -.4em auto 1em; }
.rz-notice { max-width: 680px; margin-bottom: 2em; }
.rz-notice p { line-height: 1.75; }
.form-pair { display: grid; gap: 26px; grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
.form-col { display: flex; flex-direction: column; min-width: 0; }
.form-col .form-h { margin: 0 0 .2em; }
.form-col .req-note { margin: 0 0 .6em; text-align: center; }
.form-col .form { margin: 0; max-width: none; flex: 1; display: flex; flex-direction: column; padding: 24px; }
.form-col .form .btn { align-self: flex-start; margin-top: auto; }
@media (min-width: 980px) { .form-pair { grid-template-columns: 1fr 1fr; max-width: 1120px; gap: 28px; } }/* Rezepte ruhiger: Fakten als Reihe, Formular-Spalte = eine Karte */
.rz-facts { list-style: none; padding: 0; margin: 0 auto 14px; max-width: 1120px; display: grid; grid-template-columns: 1fr; gap: 12px; }
.rz-facts li { background: var(--bg2); border-radius: 18px; padding: 14px 18px; text-align: left; line-height: 1.4; }
.rz-facts strong { display: block; color: var(--ink); font-size: 1rem; }
.rz-facts span { display: block; color: var(--muted); font-size: .92rem; margin-top: 2px; }
@media (min-width: 640px) { .rz-facts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .rz-facts { grid-template-columns: repeat(4, 1fr); } }
.rz-req { max-width: 1120px; margin: 0 auto 22px; font-size: .9rem; color: var(--muted); text-align: center; }
.form-pair { align-items: stretch; }
.form-col { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 24px 26px 26px; }
.form-col .form-h { text-align: left; font-size: 1.6rem; margin: 0 0 .6em; }
.form-col .form { border: 0; box-shadow: none; padding: 0; border-radius: 0; background: none; }
/* Praxis-Galerie mit nur drei Bildern: Ultraschall | Ente | Endoskopie */
.gallery.mosaic.trio { grid-template-columns: repeat(2, 1fr); }
.gallery.mosaic.trio .feature { grid-column: 1 / -1; grid-row: auto; order: -1; }
@media (min-width: 760px) {
  .gallery.mosaic.trio { grid-template-columns: repeat(3, 1fr); }
  .gallery.mosaic.trio .feature { grid-column: auto; order: 0; }
  .gallery.mosaic.trio .feature img { object-position: 60% 50%; }
}
/* Praxis: Sprechzeiten/Anfahrt in voller Kachelgroesse wie bei der Terminbuchung */
.praxis-side.praxis-side .action { padding: 20px 24px; gap: 16px; border-radius: 28px; }
.praxis-side.praxis-side .action .ico { width: 52px; height: 52px; }
.praxis-side.praxis-side .action .ico svg { width: 26px; height: 26px; }
.praxis-side.praxis-side .action strong { font-size: 1.15rem; }
.praxis-side.praxis-side .action small { font-size: .95rem; }
.praxis-side.praxis-side .action .arr { font-size: 2rem; }
@media (min-width: 760px) { .praxis-side.praxis-side { gap: 22px; margin-top: 26px; } }
@media (max-width: 759px) { .praxis-side.praxis-side { gap: 16px; } .praxis-side.praxis-side .action { padding: 16px 18px; } }/* Praxis: Kacheln untereinander, mittig (wie Terminbuchung) */
.praxis-side.praxis-side { grid-template-columns: 1fr !important; width: min(520px, 100%) !important; max-width: 520px; margin-left: auto; margin-right: auto; }/* Praxis: feiner Trennstrich zwischen Fotos und Kacheln (wie unter dem Logo) */
.praxis-side.praxis-side::before { content: ""; display: block; width: 140px; height: 1px; background: var(--line); justify-self: center; margin: 2px 0 6px; }
/* Rezepte & Ueberweisungen: etwas mehr Farbe */
.rz-facts.rz-facts { counter-reset: rz; }
.rz-facts.rz-facts li { position: relative; background: var(--tint); border-left: 4px solid var(--logo-blue); padding-left: 54px; counter-increment: rz; }
.rz-facts.rz-facts li::before { content: counter(rz); position: absolute; left: 14px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: .9rem; display: grid; place-items: center; }
.rz-facts.rz-facts li strong { color: var(--accent); }
.form-pair .form-col { border-top: 5px solid var(--accent); }
.form-pair .form-col + .form-col { border-top-color: var(--logo-blue); }
.form-pair .form-h { color: var(--accent); }
.form-pair input:focus, .form-pair textarea:focus, .form-pair select:focus { border-color: var(--logo-blue); box-shadow: 0 0 0 3px rgba(0, 119, 187, .15); outline: none; }/* Rezepte: etwas mehr Luft zwischen Hinweisen und Formularen, mit feinem Strich */
.rz-facts.rz-facts { margin-top: 10px; margin-bottom: 0; }
p.rz-req { margin: 26px auto 30px; padding-top: 22px; position: relative; }
p.rz-req::before { content: ""; position: absolute; top: 0; left: 50%; width: 140px; height: 1px; margin-left: -70px; background: var(--line); }/* Rezepte: Hinweise gebuendelt in einer hellen Leiste */
.rz-facts.rz-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 2px 10px rgba(20, 50, 80, .05); padding: 6px 0; overflow: hidden; }
.rz-facts.rz-facts li { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 14px 18px 14px 50px; }
.rz-facts.rz-facts li + li { border-left: 1px solid var(--line); }
.rz-facts.rz-facts li::before { left: 16px; top: 15px; width: 22px; height: 22px; font-size: .75rem; font-weight: 600; background: var(--tint); color: var(--logo-blue); }
.rz-facts.rz-facts li strong { font-weight: 600; font-size: .95rem; }
.rz-facts.rz-facts li span { font-size: .88rem; }
@media (max-width: 899px) { .rz-facts.rz-facts { grid-template-columns: 1fr 1fr; } .rz-facts.rz-facts li:nth-child(3) { border-left: 0; } .rz-facts.rz-facts li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 539px) { .rz-facts.rz-facts { grid-template-columns: 1fr; } .rz-facts.rz-facts li + li { border-left: 0; border-top: 1px solid var(--line); } }/* Rezepte: Einwilligung + Absenden in beiden Spalten unten auf gleicher Hoehe */
@media (min-width: 980px) {
  .form-col .form > :has(input[type="checkbox"]) { margin-top: auto; }
  .form-col .form .btn { margin-top: 18px; }
}