/* ==========================================================================
   MediZentrum Seckbach – Startseite
   Farben: Anthrazit + Gelb (#FFCC33) aus dem bisherigen Auftritt,
           Aubergine als neue Akzentfarbe (Praxiskleidung auf den Fotos)
   ========================================================================== */

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

:root {
  --bg: #faf7f1;
  --sand: #f3ede2;
  --surface: #ffffff;
  --line: #e7dfd1;
  --ink: #2b2926;
  --ink-2: #57524b;
  --ink-3: #7a746b;
  --brand: #ffcc33;
  --brand-600: #f5bb0b;
  --brand-50: #fff6d9;
  --plum: #6a3552;
  --plum-700: #52263f;
  --plum-50: #f5edf1;
  --ok: #2f7a4f;
  --dark: #26231f;

  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(43, 41, 38, .05), 0 12px 32px -12px rgba(43, 41, 38, .16);
  --shadow-lg: 0 2px 4px rgba(43, 41, 38, .05), 0 30px 60px -24px rgba(43, 41, 38, .28);
  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 40px);
  --callbar-h: 0px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--callbar-h);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; }
abbr[title] { text-decoration: none; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: var(--ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--plum);
  white-space: nowrap;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--brand); flex: none; }
.eyebrow--light { color: var(--brand); }
.eyebrow--light::before { background: var(--brand); }

h2 { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.625rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--plum); text-decoration: none;
  border-bottom: 2px solid var(--brand); padding-bottom: 2px;
}
.link:hover { color: var(--plum-700); border-color: var(--brand-600); }
.link .icon { transition: transform .2s; }
.link:hover .icon { transform: translateX(3px); }
.link--light { color: #fff; }
.link--light:hover { color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px;
  font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: .9375rem; }
.btn--lg { --h: 58px; padding: 0 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--brand); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(214, 160, 0, .8); }
.btn--accent:hover { background: var(--brand-600); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(43, 41, 38, .22); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, .6); }

.icon-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer; font-size: 1.1rem;
}
.icon-btn:hover { border-color: var(--ink-3); }

/* ---------- Status „Jetzt geöffnet“ ---------- */
.status { display: inline-flex; align-items: center; gap: 9px; font-size: .9375rem; font-weight: 600; color: var(--ok); }
.status:empty { display: none; }
.status::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent);
}
.status.is-closed { color: var(--ink-2); }
.status--pill { padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, currentColor 9%, transparent); font-size: .875rem; }
.status--light { color: #9fe0b8; }
.status--light.is-closed { color: rgba(255, 255, 255, .8); }

/* ---------- Sterne ---------- */
.stars { display: inline-flex; gap: 2px; color: #f2b400; }
.stars svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.stars .is-part { fill: url(#g-part); }

/* ==========================================================================
   Kopfzeile
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(43, 41, 38, .35); }
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 10px 14px; border-radius: 999px;
  font-size: .9688rem; font-weight: 600; color: var(--ink-2); text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav a:hover, .nav a.is-active { color: var(--ink); background: var(--sand); }
.header__menu { display: none; margin-left: auto; }

/* ---------- Mobiles Menü ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(38, 35, 31, .45); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px);
  background: var(--bg); display: flex; flex-direction: column;
  padding: 16px 20px calc(20px + env(safe-area-inset-bottom));
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.drawer__head img { height: 42px; width: auto; }
.drawer__nav { display: flex; flex-direction: column; margin: 20px 0; }
.drawer__nav a {
  padding: 15px 4px; border-bottom: 1px solid var(--line);
  font-size: 1.1875rem; font-weight: 600; text-decoration: none;
}
.drawer__foot { margin-top: auto; display: grid; gap: 12px; }
.drawer__foot .status { margin-bottom: 4px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: clamp(28px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto auto; width: 55%; height: 100%;
  background: radial-gradient(60% 60% at 70% 30%, rgba(255, 204, 51, .16), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  grid-template-areas:
    ".       media"
    "eyebrow media"
    "title   media"
    "lead    media"
    "actions media"
    "meta    media"
    ".       media";
  grid-template-rows: 1fr auto auto auto auto auto 1fr;
  column-gap: clamp(32px, 5vw, 72px);
}
.hero__eyebrow { grid-area: eyebrow; margin-bottom: 18px; }
.eyebrow__short { display: none; }
.hero__title {
  grid-area: title;
  font-size: clamp(2.25rem, 1.2rem + 4.2vw, 4.25rem);
  line-height: 1.04; letter-spacing: -.035em; font-weight: 800;
}
.hero__title em {
  font-style: normal; color: var(--plum);
  background: linear-gradient(transparent 68%, rgba(255, 204, 51, .75) 68%, rgba(255, 204, 51, .75) 92%, transparent 92%);
  padding: 0 .04em;
}
.hero__lead { grid-area: lead; margin-top: 22px; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); max-width: 34em; }
.hero__actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }

.rating { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.rating__score { font-weight: 800; font-size: 1.125rem; }
.rating__label { font-size: .9375rem; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.rating:hover .rating__label { border-color: var(--ink-2); }

.hero__media { grid-area: media; position: relative; margin: 0; align-self: center; }
.hero__media img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 40% 40%;
  border-radius: 28px; box-shadow: var(--shadow-lg);
}
.hero__note {
  position: absolute; left: -28px; bottom: 28px; max-width: 290px;
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow);
  font-size: .9375rem; line-height: 1.45; color: var(--ink-2);
}
.hero__note strong { color: var(--ink); }
.hero__note-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--brand); color: var(--ink); flex: none; }

/* ==========================================================================
   Kurzinfo-Leiste
   ========================================================================== */
.facts { border-block: 1px solid var(--line); background: var(--surface); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact .icon { font-size: 1.35rem; color: var(--plum); margin-top: 2px; }
.fact p { display: flex; flex-direction: column; line-height: 1.35; }
.fact strong { font-size: 1rem; }
.fact strong a { text-decoration: none; }
.fact span { font-size: .875rem; color: var(--ink-3); margin-top: 3px; }

/* ==========================================================================
   Abschnitte
   ========================================================================== */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--sand { background: var(--sand); }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head h2 { margin-top: 14px; }
.section__head > p:last-child:not(.eyebrow) { margin-top: 18px; font-size: 1.125rem; color: var(--ink-2); }
.section__head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow);
}
.card__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.card__head h3 { font-size: 1.375rem; margin-right: auto; }
.card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--plum-50); color: var(--plum); font-size: 1.2rem; }

/* ---------- Praxisinformation ---------- */
.info { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: start; }
.hours__table { margin: 0; }
.hours__table > div {
  display: grid; grid-template-columns: 8.5em 1fr; gap: 12px;
  padding: 15px 14px; border-radius: 12px; align-items: baseline;
}
.hours__table > div + div { border-top: 1px solid var(--line); }
.hours__table dt { font-weight: 700; }
.hours__table dd { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 18px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hours__table dd span + span::before { content: "·"; margin-right: 18px; color: var(--ink-3); }
.hours__table .is-today { background: var(--brand-50); border-color: transparent; }
.hours__table .is-today + div { border-color: transparent; }
.hours__table .is-today dt::after {
  content: "Heute"; margin-left: 10px; padding: 2px 8px; border-radius: 999px;
  background: var(--brand); font-size: .75rem; font-weight: 700; vertical-align: 2px;
}
.hours__table .is-today dd { color: var(--ink); }

.contact-list { list-style: none; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { color: var(--plum); margin-top: 3px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-list small { display: block; font-size: .8125rem; color: var(--ink-3); }
.contact-list .strong { font-size: 1.25rem; font-weight: 800; }
.emergency { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.emergency a {
  display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px;
  background: #fbeeee; color: #8d2323; text-decoration: none; line-height: 1.25;
}
.emergency a:hover { background: #f7e1e1; }
.emergency small { display: block; font-size: .75rem; color: #8d2323; opacity: .9; }
.emergency strong { font-size: 1.125rem; }

/* ---------- Leistungen ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 28px 30px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.service__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.service__icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: var(--plum-50); color: var(--plum); font-size: 1.35rem; transition: background-color .25s, color .25s;
}
.service:hover .service__icon { background: var(--brand); color: var(--ink); }
.service__no { font-size: .875rem; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.service h3 { margin-bottom: 16px; hyphens: manual; }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; color: var(--ink-2); line-height: 1.45; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .1em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a3552' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.cta-strip {
  margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  padding: 26px 30px; border-radius: var(--radius); background: var(--dark); color: #fff;
}
.cta-strip p { font-size: 1.125rem; font-weight: 600; max-width: 34em; }
.cta-strip__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-strip .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.cta-strip .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

/* ---------- Über uns ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.about__media { position: relative; padding-bottom: 18%; }
.about__img { border-radius: 24px; object-fit: cover; }
.about__img--main { width: 88%; aspect-ratio: 4 / 3.3; object-position: 60% 30%; box-shadow: var(--shadow); }
.about__img--small {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3;
  border: 8px solid var(--bg); border-radius: 26px; box-shadow: var(--shadow-lg);
}
.about__text h2 { margin: 14px 0 22px; }
.about__text p + p { margin-top: 14px; }
.about__text p { color: var(--ink-2); }
.about__lead { font-size: 1.1875rem; color: var(--ink) !important; font-weight: 500; }
.qep {
  display: flex; gap: 14px; margin-top: 28px; padding: 18px 20px; border-radius: 16px;
  background: var(--plum-50); border-left: 4px solid var(--plum);
}
.qep .icon { color: var(--plum); font-size: 1.5rem; margin-top: 2px; }
.qep p { margin: 0 !important; color: var(--ink) !important; font-size: 1rem; }

/* ---------- Praxisinhaber ---------- */
.doctors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.doctor > div { min-width: 0; }
.doctor {
  display: flex; align-items: center; gap: 24px; padding: 18px; padding-right: 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.doctor img { width: 150px; aspect-ratio: 284 / 311; object-fit: cover; border-radius: 14px; flex: none; background: var(--sand); }
.doctor h3 { font-size: clamp(1.1875rem, 1rem + .6vw, 1.5rem); }
.doctor p { margin-top: 8px; color: var(--plum); font-weight: 600; }

.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.gallery__item { margin: 0; position: relative; overflow: hidden; border-radius: 18px; background: var(--line); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item--wide { grid-row: span 2; }
.gallery__item--wide:last-child { grid-column: 3; grid-row: 1 / span 2; }
.gallery__item:nth-child(2) { grid-column: 2; grid-row: 1; }
.gallery__item:nth-child(3) { grid-column: 2; grid-row: 2; }
.gallery__item--wide img { aspect-ratio: auto; }
.gallery figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: .875rem; color: var(--ink-2); line-height: 1.35;
}
.gallery figcaption strong { display: block; color: var(--ink); font-size: 1rem; }

/* ---------- Bewertungen ---------- */
.score {
  display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
}
.score__g { width: 34px; height: 34px; }
.score__num { font-size: 1.625rem; font-weight: 800; line-height: 1; }
.score__num span { font-size: .9375rem; font-weight: 600; color: var(--ink-3); }
.score__sub { font-size: .875rem; color: var(--ink-2); margin-top: 4px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.review {
  margin: 0; display: flex; flex-direction: column; gap: 18px;
  padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  position: relative;
}
.review::before {
  content: "“"; position: absolute; right: 24px; top: 6px; font-size: 5.5rem; line-height: 1;
  font-weight: 800; color: var(--brand); opacity: .55;
}
.review blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.review figcaption strong { display: block; font-size: 1rem; }
.review figcaption small { color: var(--ink-3); font-size: .8125rem; }
.avatar {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--plum); color: #fff; font-weight: 700; flex: none;
}
.reviews__more { margin-top: 28px; }

/* ---------- Kontakt ---------- */
.contact { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: 640px; height: 640px; left: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(106, 53, 82, .55), transparent);
  pointer-events: none;
}
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact__info h2 { margin: 14px 0 18px; }
.contact__lead { color: rgba(255, 255, 255, .78); font-size: 1.125rem; max-width: 30em; }
.bigphone {
  display: inline-flex; align-items: center; gap: 16px; margin: 32px 0 28px; text-decoration: none; color: #fff;
}
.bigphone__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--brand); color: var(--ink); font-size: 1.5rem; }
.bigphone small { display: block; font-size: .875rem; color: rgba(255, 255, 255, .65); font-weight: 600; }
.bigphone span:last-child { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.bigphone:hover span:last-child { color: var(--brand); }
.contact__list { list-style: none; display: grid; gap: 14px; margin-bottom: 24px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255, 255, 255, .85); }
.contact__list .icon { color: var(--brand); margin-top: 3px; }
.contact__emergency {
  margin-top: 32px; padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .14);
  display: grid; gap: 6px; font-size: .9688rem; color: rgba(255, 255, 255, .8);
}
.contact__emergency strong { color: #fff; }
.contact__emergency a { color: var(--brand); font-weight: 700; text-decoration: none; }

.form-card { background: var(--surface); color: var(--ink); border-radius: 24px; padding: clamp(24px, 3.5vw, 40px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
.form-card h3 { font-size: 1.5rem; }
.form-card__intro { color: var(--ink-2); margin: 8px 0 24px; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field legend { font-size: .9375rem; font-weight: 600; }
.field label span, .consent > span > span { color: var(--plum); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--plum); background: #fff; box-shadow: 0 0 0 4px var(--plum-50); }
.field.is-invalid input { border-color: #b3261e; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 8px; padding: 0; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span {
  display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: .9375rem; font-weight: 600; color: var(--ink-2); background: var(--bg); transition: all .2s;
}
.chips input:checked + span { background: var(--plum); border-color: var(--plum); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--plum); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--plum); flex: none; }
.consent a { color: var(--plum); font-weight: 600; }
.consent.is-invalid { color: #b3261e; }
.form__hint { font-size: .8125rem; color: var(--ink-3); }
.form__hint a { color: inherit; font-weight: 700; }
.form__status { font-size: .9375rem; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-ok { padding: 14px 16px; border-radius: 12px; background: #e9f5ee; color: var(--ok); }
.form__status.is-error { color: #b3261e; }

/* ---------- Fußzeile ---------- */
.footer { background: #1d1b18; color: rgba(255, 255, 255, .72); padding: 64px 0 28px; font-size: .9688rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand img { height: 58px; width: auto; }
.footer__brand p { margin-top: 16px; max-width: 22em; }
.footer__title { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; font-weight: 700; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--brand); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .875rem;
}
.footer__bottom p:last-child { display: flex; gap: 22px; }

/* ---------- Kontaktleiste unten (bis 1023 px) ---------- */
.callbar { display: none; }

/* ---------- Unterseiten: Impressum & Datenschutz ---------- */
.page-head { padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-top: 14px; font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); letter-spacing: -.03em; font-weight: 800; }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; font-size: .875rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
.legal-page { padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 104px); }
.legal-content {
  max-width: 820px; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  color: var(--ink-2); overflow-wrap: break-word;
}
.legal-content h2 { font-size: 1.375rem; color: var(--ink); margin: 36px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.0625rem; color: var(--ink); margin: 22px 0 6px; letter-spacing: 0; }
.legal-content p, .legal-content address, .legal-content ul { margin: 0 0 14px; }
.legal-content address { font-style: normal; }
.legal-content ul { padding-left: 22px; }
.legal-content li + li { margin-top: 4px; }
.legal-content a { color: var(--plum); }
.legal-back { margin-top: 32px; }
.legal-back .icon { transform: rotate(180deg); }
.legal-back .link:hover .icon { transform: rotate(180deg) translateX(3px); }
.footer a[aria-current="page"] { color: var(--brand); }

/* ---------- Einblend-Animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav a { padding: 10px 10px; }
  .header__inner { gap: 16px; }
}

/* Tablet + Handy: Menü-Button, Kontaktleiste unten */
@media (max-width: 1023px) {
  :root { --header-h: 68px; --callbar-h: calc(72px + env(safe-area-inset-bottom)); }
  .nav, .header__call { display: none; }
  .header__menu { display: inline-grid; }
  .brand img { height: 44px; }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "eyebrow" "title" "media" "lead" "actions" "meta";
    grid-template-rows: none;
  }
  .hero::before { width: 100%; height: 60%; }
  .hero__media { margin-top: 28px; }
  .hero__media img { aspect-ratio: 16 / 10; border-radius: 22px; }
  .hero__note { left: 16px; bottom: -22px; }
  .hero__lead { margin-top: 44px; }

  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }

  .info { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .doctor img { width: 120px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 640px; }
  .reviews { grid-template-columns: 1fr; max-width: 720px; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(43, 41, 38, .35);
  }
  .callbar__btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; border-radius: 14px; font-weight: 700; font-size: 1.0625rem; text-decoration: none;
    border: 1.5px solid rgba(43, 41, 38, .18); color: var(--ink); background: var(--surface);
    -webkit-tap-highlight-color: transparent;
  }
  .callbar__btn .icon { font-size: 1.1rem; }
  .callbar__btn--call { background: var(--brand); border-color: var(--brand); }
  .callbar__btn:active { transform: translateY(1px); }
}

/* Handy */
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .brand img { height: 40px; }
  .header__inner { height: var(--header-h); }
  :root { --header-h: 62px; }

  .hero { padding: 18px 0 44px; }
  .hero__eyebrow { margin-bottom: 10px; }
  .eyebrow__long { display: none; }
  .eyebrow__short { display: inline; }
  .hero__title { font-size: clamp(2rem, 1.2rem + 4vw, 2.5rem); line-height: 1.08; }
  .hero__media { margin-top: 18px; }
  .hero__media img { aspect-ratio: 3 / 2; border-radius: 18px; object-position: 30% 45%; }
  .hero__note { position: static; max-width: none; margin-top: 12px; box-shadow: none; border: 1px solid var(--line); padding: 12px 14px; }
  .hero__lead { margin-top: 22px; font-size: 1.0625rem; }
  .hero__actions { display: none; }
  .hero__meta { margin-top: 18px; gap: 12px 20px; }

  .facts__grid { grid-template-columns: 1fr; }
  .fact { padding: 18px 4px; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }

  .section__head--split { align-items: flex-start; }
  .hours__table > div { grid-template-columns: 1fr; gap: 2px; padding: 12px 10px; }
  .hours__table dd span + span::before { display: none; }
  .hours__table dd { gap: 0 14px; }
  .emergency { grid-template-columns: 1fr; }

  .services { grid-template-columns: 1fr; gap: 14px; }
  .service { padding: 22px; }
  .service__top { margin-bottom: 16px; }
  .cta-strip { padding: 22px; }
  .cta-strip__actions, .cta-strip .btn { width: 100%; }

  .about__img--main { width: 92%; }
  .about__img--small { border-width: 6px; width: 56%; }

  .doctors { grid-template-columns: 1fr; gap: 14px; }
  .doctor { gap: 18px; padding: 14px; }
  .doctor img { width: 112px; }

  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery__item--wide, .gallery__item--wide:last-child { grid-column: 1 / -1; grid-row: auto; }
  .gallery__item:nth-child(2), .gallery__item:nth-child(3) { grid-column: auto; grid-row: auto; }
  .gallery__item--wide img { aspect-ratio: 3 / 2; }
  .gallery figcaption { left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; }

  .review { padding: 24px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { border-radius: 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding-top: 48px; }

  .legal-content { padding: 22px 18px; }
  .page-head h1 { font-size: 1.875rem; hyphens: manual; }
}

@media (max-width: 360px) {
  .hero__title { font-size: 1.875rem; }
  .callbar__btn { font-size: 1rem; gap: 8px; }
  .doctor img { width: 96px; }
}
