/* Fonts */
@font-face { font-family: "Rubik"; font-weight: 300 900; font-display: swap; src: url("../fonts/rubik-latin.woff2") format("woff2"); }
@font-face { font-family: "Nexa"; font-weight: 700; font-display: swap; src: url("../fonts/NexaBold.woff2") format("woff2"); }
@font-face { font-family: "Nexa"; font-weight: 300; font-display: swap; src: url("../fonts/NexaLight.woff2") format("woff2"); }

/* Base */
:root {
  --brand: #700283; --brand-700: #9803b2; --deep: #200126; --tint: #f9d9fe; --tint-soft: #f8eefa; --pink: #e769fd;
  --cream: #fffbf1; --sand: #ede9df; --ink: #0e0e0e; --text: #3d3d3d; --muted: #595959; --line: #e3e3e3;
  --font: "Rubik", system-ui, sans-serif; --display: "Nexa", "Rubik", system-ui, sans-serif;
  --wrap: 1260px; --gutter: clamp(20px, 4vw, 40px); --section: clamp(72px, 10vw, 128px);
}
*, ::before, ::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--text); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; text-transform: none; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.6vw, 68px); }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: 20px; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--brand); }
ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 2000; padding: 12px 16px; border-radius: 8px; background: var(--deep); color: #fff; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.eyebrow { display: inline-block; margin-bottom: 16px; color: var(--brand); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.lead { font-size: 20px; line-height: 1.6; }
.i { flex: none; width: 22px; height: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding-inline: 24px;
  border: 1.5px solid transparent; border-radius: 999px; font: 500 16px/1 var(--font); text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out; }
.btn .i { width: 18px; height: 18px; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: #520160; }
.btn--ghost { border-color: currentColor; color: var(--brand); }
.btn--ghost:hover { background: var(--tint-soft); }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--tint); }
.btn--outline-light { border-color: rgb(255 255 255 / .55); color: #fff; }
.btn--outline-light:hover { background: rgb(255 255 255 / .1); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.stars { display: inline-flex; gap: 2px; color: #e8a400; }
.stars .i { width: 16px; height: 16px; }
.checklist { display: grid; gap: 8px; }
.checklist li { display: flex; gap: 12px; }
.checklist .i { width: 18px; height: 18px; margin-top: 4px; color: var(--brand); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 15px; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours thead th { padding-top: 0; color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.hours tbody th { color: var(--ink); font-weight: 500; }
.hours__closed { color: var(--muted); }
.hours-list { display: grid; gap: 12px; font-variant-numeric: tabular-nums; }
.hours-list dt { color: var(--ink); font-weight: 500; }
.emergency { display: flex; gap: 12px; padding: 16px; border-radius: 12px; background: var(--tint-soft); font-size: 15px; }
.emergency .i { margin-top: 2px; color: var(--brand); }
.emergency a { font-weight: 500; }
.faq { display: grid; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0;
  color: var(--ink); font-size: 17px; font-weight: 500; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--brand); }
.faq__icon { color: var(--brand); transition: rotate .2s ease-out; }
.faq__item[open] .faq__icon { rotate: 45deg; }
.faq__body { display: grid; gap: 12px; padding: 0 48px 24px 0; }
.contact-list { display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 12px; }
.contact-list .i { margin-top: 2px; color: var(--brand); }
.contact-list__label { display: block; color: var(--muted); font-size: 13px; }
.contact-list a { color: var(--ink); font-weight: 500; text-decoration: none; }
.contact-list a:hover { color: var(--brand); text-decoration: underline; }
.form { display: grid; gap: 16px; }
.form__field { display: grid; gap: 8px; }
.form label { color: var(--ink); font-size: 15px; font-weight: 500; }
.form input:not([type=checkbox]), .form textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid #cbcbcb;
  border-radius: 12px; background: #fff; color: var(--ink); font: inherit; }
.form input:focus, .form textarea:focus { border-color: var(--brand); outline: 3px solid var(--tint); outline-offset: 0; }
.form__hint { color: var(--muted); font-size: 15px; }
.form .form__consent { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; }
.form__consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); }
.form .btn { justify-self: start; }
.form__status { color: var(--brand); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { *, ::before, ::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Header */
/* Sticky wrapper (header.php) */
.site-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 999;
}
@media (max-width: 600px) {
  /* WP admin bar scrolls away below 600px */
  .site-header { top: 0; }
}
/* Anchor targets like #kontakt land below the sticky bar */
html { scroll-padding-top: 80px; }
@media (min-width: 1200px) {
  html { scroll-padding-top: 92px; }
}

#gp-header {
  --gp-brand: #700283;
  --gp-brand-hover: color-mix(in oklab, var(--gp-brand), #000 25%);
  --gp-brand-tint: #f7ecf9;
  --gp-text: #0e0e0e;
  --gp-muted: #595959;
  --gp-line: #e3e3e3;
  --gp-surface: #fff;
  --gp-font: "Rubik", system-ui, sans-serif;
  --gp-font-display: "Nexa", var(--gp-font);
  --gp-bar-h: 64px;
  font-family: var(--gp-font);
  -webkit-font-smoothing: antialiased;
}

#gp-header .gp-top {
  position: relative;
  background: rgb(255 255 255 / 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--gp-line);
}
#gp-header .gp-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 1440px;
  height: var(--gp-bar-h);
  margin-inline: auto;
  padding-inline: 12px;
}

/* Resets against the base element styles */
#gp-header a,
#gp-header button {
  color: inherit;
  text-decoration: none;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
#gp-header :focus-visible {
  outline: 2px solid var(--gp-brand);
  outline-offset: 2px;
}
#gp-header .gp-icon {
  flex: none;
  width: 20px;
  height: 20px;
}
#gp-header .gp-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Brand */
#gp-header .gp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-right: auto;
  border-radius: 6px;
}
#gp-header .gp-brand img {
  flex: none;
  width: 22px;
  height: 44px;
}
#gp-header .gp-brand-text {
  display: grid;
  min-width: 0;
  line-height: 1.15;
}
#gp-header .gp-brand-kicker {
  color: var(--gp-brand);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#gp-header .gp-brand-name {
  overflow: hidden;
  color: var(--gp-text);
  font-family: var(--gp-font-display);
  font-size: clamp(14px, 4.2vw, 16px);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Icon buttons: mobile call + menu toggle */
#gp-header .gp-icon-btn {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--gp-text);
  cursor: pointer;
}
#gp-header .gp-icon-btn:hover,
#gp-header .gp-icon-btn:focus-visible {
  background: var(--gp-brand-tint);
  color: var(--gp-brand);
}
#gp-header .gp-toggle .gp-icon-close,
#gp-header.is-open .gp-toggle .gp-icon-open { display: none; }
#gp-header.is-open .gp-toggle .gp-icon-close { display: block; }

/* Menu: dropdown panel below 1200px, inline row above */
#gp-header .gp-menu { display: none; }
#gp-header.is-open .gp-menu {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  display: grid;
  gap: 20px;
  max-height: calc(100dvh - var(--gp-bar-h) - var(--wp-admin--admin-bar--height, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 16px 24px;
  background: var(--gp-surface);
  border-bottom: 1px solid var(--gp-line);
  box-shadow: 0 16px 32px -16px rgb(32 1 38 / 0.25);
  transition: opacity 0.18s ease-out, translate 0.18s ease-out;
}
@starting-style {
  #gp-header.is-open .gp-menu { opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  @starting-style {
    #gp-header.is-open .gp-menu { translate: 0 -8px; }
  }
}
#gp-header .gp-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#gp-header .gp-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding-inline: 12px;
  border-bottom: 1px solid var(--gp-line);
  color: var(--gp-text);
  font-size: 18px;
  font-weight: 500;
}
#gp-header .gp-nav a:hover { color: var(--gp-brand); }
#gp-header .gp-nav a[aria-current="page"] {
  color: var(--gp-brand);
  box-shadow: inset 3px 0 0 var(--gp-brand);
}

#gp-header .gp-contact {
  display: grid;
  gap: 4px;
}
#gp-header .gp-contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding-inline: 12px;
  border-radius: 8px;
  color: var(--gp-muted);
}
#gp-header .gp-contact a:hover {
  background: var(--gp-brand-tint);
  color: var(--gp-brand);
}
#gp-header .gp-contact .gp-icon { color: var(--gp-brand); }

#gp-header .gp-cta,
#gp-header .gp-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding-inline: 22px;
  border-radius: 999px;
  background: var(--gp-brand);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.15s ease-out;
}
#gp-header .gp-cta:hover,
#gp-header .gp-cta:focus-visible,
#gp-header .gp-fab:hover,
#gp-header .gp-fab:focus-visible {
  background: var(--gp-brand-hover);
  color: #fff;
}
#gp-header .gp-cta .gp-icon,
#gp-header .gp-fab .gp-icon {
  width: 18px;
  height: 18px;
}

/* Floating booking button on small screens; outside .gp-top because backdrop-filter would anchor position:fixed */
#gp-header .gp-fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 8px 24px -6px rgb(32 1 38 / 0.45);
}
#gp-header.is-open .gp-fab { display: none; }

@media (min-width: 1200px) {
  #gp-header { --gp-bar-h: 76px; }
  #gp-header .gp-bar {
    gap: 24px;
    padding-inline: 24px;
  }
  #gp-header .gp-brand-name { font-size: 18px; }
  #gp-header .gp-call,
  #gp-header .gp-toggle,
  #gp-header .gp-fab { display: none; }

  #gp-header .gp-menu {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  #gp-header .gp-nav ul {
    display: flex;
    gap: 4px;
  }
  #gp-header .gp-nav a {
    min-height: 44px;
    padding-inline: 10px;
    border: 0;
    border-radius: 6px;
    font-size: 16px;
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: transparent;
    text-underline-offset: 8px;
    transition: color 0.15s ease-out, text-decoration-color 0.15s ease-out;
  }
  #gp-header .gp-nav a[aria-current="page"] {
    box-shadow: none;
    text-decoration-color: currentColor;
  }
  #gp-header .gp-contact {
    display: flex;
    gap: 0;
    padding-left: 16px;
    border-left: 1px solid var(--gp-line);
  }
  #gp-header .gp-contact a {
    gap: 8px;
    padding-inline: 10px;
    color: var(--gp-text);
    font-weight: 500;
  }
  /* Icon-only on desktop; the label stays as accessible name */
  #gp-header .gp-contact-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
@media (min-width: 1360px) {
  #gp-header .gp-contact-label.gp-label-wide {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }
}

/* Footer */
#gp-footer {
  --gp-f-bg: #200126;
  --gp-f-text: rgb(255 255 255 / 0.78);
  --gp-f-strong: #fff;
  --gp-f-accent: #ed93fd;
  --gp-f-hover: #f3b7fe;
  --gp-f-brand: #700283;
  --gp-f-line: rgb(255 255 255 / 0.14);
  --gp-f-font: "Rubik", system-ui, sans-serif;
  --gp-f-font-display: "Nexa", var(--gp-f-font);
  background: var(--gp-f-bg);
  color: var(--gp-f-text);
  font-family: var(--gp-f-font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Resets against the base element styles */
#gp-footer h2,
#gp-footer p,
#gp-footer ul,
#gp-footer dl,
#gp-footer dd,
#gp-footer address {
  margin: 0;
  padding: 0;
  font-style: normal;
}
#gp-footer ul { list-style: none; }
#gp-footer a {
  color: var(--gp-f-strong);
  font: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
#gp-footer a:hover {
  color: var(--gp-f-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}
#gp-footer :focus-visible {
  outline: 2px solid var(--gp-f-hover);
  outline-offset: 2px;
  border-radius: 4px;
}
#gp-footer .gp-f-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
#gp-footer .gp-f-icon {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--gp-f-accent);
}

#gp-footer .gp-f-inner {
  max-width: 1440px;
  margin-inline: auto;
  padding: 56px 20px 0;
}
#gp-footer .gp-f-grid {
  display: grid;
  gap: 40px;
}

/* Brand column */
#gp-footer .gp-f-brand {
  display: grid;
  gap: 20px;
  justify-items: start;
  /* The column row stretches this grid to the tallest sibling; without this the extra height spreads into the rows */
  align-content: start;
}
#gp-footer .gp-f-logo {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
#gp-footer .gp-f-logo:hover { text-decoration: none; }
#gp-footer .gp-f-logo img {
  flex: none;
  width: 26px;
  height: 52px;
  /* Purple logo on aubergine has no contrast; render it white */
  filter: brightness(0) invert(1);
}
#gp-footer .gp-f-logo-text {
  display: grid;
  line-height: 1.2;
}
/* Same metrics as .gp-f-title so the kicker shares the column titles' baseline */
#gp-footer .gp-f-kicker {
  color: var(--gp-f-accent);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
#gp-footer .gp-f-name {
  color: var(--gp-f-strong);
  font-family: var(--gp-f-font-display);
  font-size: 20px;
  font-weight: 700;
}
#gp-footer .gp-f-tagline { max-width: 30ch; }
#gp-footer .gp-f-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding-inline: 22px;
  border-radius: 999px;
  background: var(--gp-f-strong);
  color: var(--gp-f-brand);
  font-weight: 500;
  transition: background-color 0.15s ease-out;
}
#gp-footer .gp-f-cta:hover {
  background: var(--gp-f-hover);
  color: var(--gp-f-brand);
  text-decoration: none;
}
#gp-footer .gp-f-cta .gp-f-icon {
  margin: 0;
  color: inherit;
}

/* Columns */
#gp-footer .gp-f-title {
  margin-bottom: 16px;
  color: var(--gp-f-accent);
  font-family: var(--gp-f-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
#gp-footer .gp-f-subtitle {
  margin: 20px 0 8px;
  color: var(--gp-f-strong);
  font-weight: 500;
}
#gp-footer .gp-f-contact {
  display: grid;
  gap: 12px;
}
#gp-footer .gp-f-contact li {
  display: flex;
  gap: 12px;
}
#gp-footer .gp-f-label {
  display: block;
  font-size: 13px;
}

#gp-footer .gp-f-hours {
  display: grid;
  gap: 8px;
}
#gp-footer .gp-f-hours dt { color: var(--gp-f-strong); }
#gp-footer .gp-f-note { margin-top: 16px; }
#gp-footer .gp-f-emergency {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--gp-f-line);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.05);
}
#gp-footer .gp-f-emergency a { font-weight: 500; }

#gp-footer .gp-f-links {
  display: grid;
  gap: 4px;
}
#gp-footer .gp-f-links a {
  display: inline-block;
  padding-block: 6px;
}

/* Bottom bar */
#gp-footer .gp-f-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-block: 20px;
  border-top: 1px solid var(--gp-f-line);
  font-size: 14px;
}
#gp-footer .gp-f-legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
#gp-footer .gp-f-legal a {
  display: inline-block;
  padding-block: 10px;
}

@media (max-width: 1199.98px) {
  /* Clears the header's floating "Termin buchen" button (48px + 16px offset), shown below 1200px */
  #gp-footer .gp-f-bottom { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 640px) {
  #gp-footer .gp-f-inner { padding-inline: 24px; }
  #gp-footer .gp-f-grid { grid-template-columns: 1fr 1fr; gap: 48px 40px; }
}
@media (min-width: 1200px) {
  #gp-footer .gp-f-inner { padding-top: 72px; }
  #gp-footer .gp-f-grid { grid-template-columns: 1.3fr 1fr 1.2fr 0.9fr; }
}
@media (prefers-reduced-motion: reduce) {
  #gp-footer .gp-f-cta { transition: none; }
}

/* Homepage */
body { background: var(--cream); --section: clamp(64px, 8vw, 96px); }
.section--follow { padding-top: 0; }
.band { background: #fff; }
.b-head { display: grid; gap: 16px; max-width: 720px; margin-bottom: 48px; }
.b-head--center { justify-items: center; margin-inline: auto; text-align: center; }
.b-head--tight { margin-bottom: 24px; }
.b-head--flush { margin-bottom: 0; }
.b-head .eyebrow { margin: 0; }
.b-head h2, .b-card h3, .b-doctor h3, .b-service h3 { color: var(--deep); }

/* Hero */
.b-hero { padding-block: 48px 64px; }
.b-hero__grid { display: grid; gap: 48px; align-items: center; }
.b-hero h1 { color: var(--deep); }
.b-hero h1 em { color: var(--brand); font-style: normal; }
.b-hero__names { margin-top: 16px; color: var(--ink); font: 700 20px/1.3 var(--display); }
.b-hero .lead { max-width: 40ch; margin-top: 12px; }
.b-hero .btn-row { margin-top: 32px; }
.b-hero__media { position: relative; }
/* Dome instead of a full arch: the landscape duo photo keeps both faces inside the curve */
.b-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 50% 50% 24px 24px / 30% 30% 24px 24px; }
.b-seal { position: absolute; left: 16px; bottom: -24px; display: grid; place-content: center; width: 112px; height: 112px; border-radius: 50%;
  background: var(--brand); color: #fff; text-align: center; line-height: 1.15; rotate: -8deg; box-shadow: 0 16px 32px -16px rgb(112 2 131 / .6); }
.b-seal strong { font: 700 32px/1 var(--display); }
.b-seal span { font-size: 13px; }

/* Tasks */
.b-tasks ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.b-task { display: grid; align-content: start; gap: 12px; height: 100%; padding: 16px; border: 1px solid transparent; border-radius: 24px;
  background: #fff; color: var(--ink); font-weight: 500; line-height: 1.35; text-decoration: none; transition: border-color .15s ease-out; }
.b-task:hover { border-color: var(--brand); }
.b-task__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--tint); color: var(--brand); }
.b-task > .i:last-child { display: none; color: var(--brand); }

/* Hours and acute care */
.b-reach { display: grid; gap: 16px; }
.b-card { display: grid; align-content: start; gap: 16px; padding: 24px; border-radius: 24px; background: #fff; }
.b-card h3 { display: flex; align-items: center; gap: 12px; }
.b-card h3 .i { color: var(--brand); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--brand); font-weight: 500; }
.b-today { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--tint); color: var(--deep); font-size: 13px; font-weight: 500; }
.b-card .btn { justify-self: start; }
.b-card--acute { background: var(--deep); color: rgb(255 255 255 / .85); }
.b-card--acute h3 { color: #fff; }
.b-card--acute h3 .i { color: var(--pink); }
.b-card--acute strong { display: block; color: #fff; font-weight: 500; }
.b-card--acute .emergency { background: rgb(255 255 255 / .08); color: rgb(255 255 255 / .85); }
.b-card--acute .emergency .i { color: var(--pink); }
.b-card--acute a { color: #fff; }
.b-card--acute :focus-visible { outline-color: var(--tint); }

/* About + doctors */
.b-about { display: grid; gap: 48px; }
.b-about__text p { max-width: 60ch; }
.b-doctors { display: grid; gap: 48px 24px; }
.b-doctor { display: grid; align-content: start; gap: 12px; }
.b-doctor img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 999px 999px 24px 24px; }
.b-doctor h3 { margin-top: 12px; font-size: 24px; }
.b-doctor__role { color: var(--brand); font-weight: 500; }
.b-doctor__personal { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px;
  background: var(--tint); color: var(--deep); font-size: 13px; }
.b-doctor__personal .i { width: 16px; height: 16px; }

/* Services */
.b-services { display: grid; gap: 48px; }
.b-services__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 24px 24px; }
.b-services__list { border-top: 1px solid rgb(32 1 38 / .12); }
.b-service { border-bottom: 1px solid rgb(32 1 38 / .12); }
.b-service summary { display: flex; align-items: center; gap: 16px; padding: 24px 0; cursor: pointer; list-style: none; }
.b-service summary::-webkit-details-marker { display: none; }
.b-service__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--brand); }
.b-service h3 { flex: 1; font-size: 24px; }
.b-service summary > .i { color: var(--brand); transition: rotate .2s ease-out; }
.b-service[open] summary > .i { rotate: 45deg; }
.b-service summary:hover h3 { color: var(--brand); }
.b-service .checklist { padding: 0 0 24px 64px; }
.b-more { display: grid; gap: 16px; margin-top: 48px; }
.b-more .chips li { border-color: rgb(32 1 38 / .12); }

/* Reviews */
.b-quote { background: var(--tint); }
.b-quote__inner { display: grid; justify-items: center; gap: 24px; max-width: 880px; margin-inline: auto; text-align: center; }
.b-quote__inner > .i { width: 48px; height: 48px; color: var(--brand); }
.b-quote__inner blockquote p { color: var(--deep); font-family: var(--display); font-size: clamp(28px, 4vw, 44px); line-height: 1.15; }
.b-reviews { display: grid; grid-auto-flow: column; grid-auto-columns: 85%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-top: 48px; padding-bottom: 16px; scrollbar-color: var(--brand) transparent; }
.review { display: grid; align-content: start; gap: 12px; padding: 24px; border-radius: 24px; background: #fff; scroll-snap-align: start; }
.review figcaption { color: var(--muted); font-size: 15px; }

/* Team + gallery */
.b-team-photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 5%; border-radius: 24px; }
.b-team { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 24px; margin-top: 48px; }
.b-member { display: grid; justify-items: center; gap: 12px; width: 128px; text-align: center; font-size: 15px; line-height: 1.35; }
.b-member img { width: 112px; height: 112px; object-fit: cover; object-position: top; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 8px 24px -16px rgb(32 1 38 / .4); }
.b-member strong { display: block; color: var(--ink); font-weight: 500; }
.b-member span { color: var(--muted); }
.b-mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.b-mosaic img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; }

/* FAQ + contact */
.b-faq { max-width: 800px; margin-inline: auto; }
.b-faq .faq, .b-faq .faq__item { border-color: rgb(32 1 38 / .12); }
.b-faq__more { margin-top: 32px; text-align: center; }
.b-contact { display: grid; gap: 48px; padding: 24px; border-radius: 32px; background: #fff; }
.b-contact__info { display: grid; align-content: start; gap: 24px; }

@media (min-width: 720px) {
  .b-doctors { grid-template-columns: repeat(2, 1fr); }
  .b-doctors > :nth-child(2) { margin-top: 64px; }
  .b-reach { grid-template-columns: repeat(2, 1fr); }
  .b-card--acute { grid-column: 1 / -1; }
  .b-mosaic { grid-template-columns: repeat(4, 1fr); }
  .b-mosaic > :first-child { grid-column: span 2; grid-row: span 2; }
  .b-reviews { display: block; columns: 2; column-gap: 24px; overflow: visible; padding: 0; }
  .review { break-inside: avoid; margin-bottom: 24px; }
  .b-card, .b-contact { padding: 32px; }
}
@media (min-width: 1024px) {
  .b-hero { padding-block: 64px 96px; }
  .b-hero__grid { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .b-seal { left: -24px; width: 128px; height: 128px; }
  .b-tasks ul { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .b-task { grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 24px; }
  .b-task > .i:last-child { display: block; transition: translate .15s ease-out; }
  .b-task:hover > .i:last-child { translate: 4px 0; }
  .b-reach { grid-template-columns: 1.25fr 1fr 1fr; }
  .b-card--acute { grid-column: auto; }
  .b-about { grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
  .b-about__text { position: sticky; top: 96px; }
  .b-services { grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
  .b-services__media { position: sticky; top: 96px; }
  .b-reviews { columns: 3; }
  .b-contact { grid-template-columns: 1fr 1.2fr; gap: 64px; padding: 48px; }
}
