/* =========================================================================
   Praxis Dr. med. Darius Umlas – Stylesheet
   Design-System: Medizin-Blau/Petrol/Türkis, viel Weißraum, seriös & ruhig.
   Display: Hanken Grotesk · Body: Inter (beide lokal gehostet, DSGVO).
   Signatur: geschwungene "Lebenslinie" (aus dem Äskulapstab abgeleitet).
   ========================================================================= */

/* ---------- Fonts (lokal) ---------- */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/hanken-grotesk-600.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/hanken-grotesk-700.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../assets/fonts/hanken-grotesk-800.woff2") format("woff2");
}

/* ---------- Design-Tokens ---------- */
:root {
  /* Farben */
  --ink: #12314E;
  --ink-soft: #47607A;
  --petrol: #0E7C86;
  --petrol-dark: #0A5C64;
  --tuerkis: #1B9AAA;
  --tuerkis-soft: #E4F3F4;
  --mist: #F4FAFB;
  --paper: #FFFFFF;
  --line: #DBE9EB;
  --line-strong: #C4DBDE;
  --emergency: #C23B2C;
  --emergency-bg: #FCF2F0;
  --emergency-line: #F0CFC9;
  --open: #2E8B57;
  --closed: #9A6A34;

  /* Typografie */
  --font-display: "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Radien */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  /* Schatten */
  --shadow-sm: 0 2px 8px rgba(18, 49, 78, 0.06);
  --shadow: 0 10px 30px rgba(18, 49, 78, 0.08);
  --shadow-lg: 0 24px 60px rgba(18, 49, 78, 0.12);

  /* Layout */
  --container: 1160px;
  --gutter: clamp(1.1rem, 4vw, 2.2rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--petrol); text-decoration-color: color-mix(in srgb, var(--petrol) 35%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--petrol-dark); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; color: var(--ink); font-weight: 700; letter-spacing: -0.015em; }
:focus-visible { outline: 3px solid var(--tuerkis); outline-offset: 3px; border-radius: 4px; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 0.6rem; left: 0.6rem; z-index: 200;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius-sm);
  transform: translateY(-160%); transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); color: #fff; }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Eyebrow mit kleiner Kurve (Lebenslinie-Motiv) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--petrol);
  margin-bottom: 0.9rem;
}
.eyebrow__curve {
  width: 26px; height: 12px; flex: none;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='12' viewBox='0 0 26 12'%3E%3Cpath d='M1 6c4-6 8 6 12 0s8-6 12 0' fill='none' stroke='%231B9AAA' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--petrol); --btn-fg: #fff; --btn-bd: var(--petrol);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem;
  line-height: 1; text-decoration: none; cursor: pointer;
  padding: 0.85rem 1.4rem; border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn--primary { box-shadow: 0 8px 20px rgba(14, 124, 134, 0.28); }
.btn--primary:hover { --btn-bg: var(--petrol-dark); --btn-bd: var(--petrol-dark); box-shadow: 0 12px 26px rgba(14, 124, 134, 0.34); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--petrol); }
.btn--outline:hover { --btn-bg: var(--petrol); --btn-fg: #fff; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: transparent; padding-inline: 0.6rem; }
.btn--ghost:hover { --btn-fg: var(--petrol); transform: none; }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,0.5); }
.btn--outline-light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--lg { padding: 1.05rem 1.8rem; font-size: 1.05rem; }
.btn--sm { padding: 0.6rem 1.05rem; font-size: 0.9rem; }
.btn .icon { width: 1.15em; height: 1.15em; stroke-width: 0; fill: currentColor; }
.btn--outline .icon, .btn--ghost .icon { fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 1.2rem; min-height: 74px; padding-block: 0.7rem; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand__mark { width: 34px; height: 48px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; }
.brand__role { font-size: 0.76rem; color: var(--ink-soft); letter-spacing: 0.01em; }

.nav { margin-left: auto; }
.nav__menu { list-style: none; display: flex; align-items: center; gap: 0.3rem; padding: 0; }
.nav__menu a:not(.btn) {
  display: inline-block; padding: 0.55rem 0.85rem; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 600; font-size: 0.96rem;
  color: var(--ink); text-decoration: none; transition: background 0.16s var(--ease), color 0.16s var(--ease);
}
.nav__menu a:not(.btn):hover, .nav__menu a.is-active:not(.btn) { background: var(--tuerkis-soft); color: var(--petrol-dark); }
.nav__cta-mobile { display: none; }
.nav__toggle { display: none; }

.header__actions { display: flex; align-items: center; gap: 0.6rem; }
.btn--phone { white-space: nowrap; }
.header__actions .btn--phone { font-weight: 700; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--section-y); background: linear-gradient(180deg, var(--mist), var(--paper) 82%); overflow: hidden; }
.hero::before {
  /* dezente Fächer-Strahlen (Karlsruhe) */
  content: ""; position: absolute; top: -30%; right: -10%; width: 60vw; height: 120%;
  background: conic-gradient(from 200deg at 80% 20%, rgba(27,154,170,0.10), transparent 55%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
/* Overflow-Schutz: Grid-Spalten dürfen nicht durch Bild-/Text-Mindestbreiten über den Viewport wachsen */
.hero__grid > *, .praxis__grid > *, .termin__grid > *, .sprech__grid > * { min-width: 0; }
.hero__title { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); font-weight: 800; margin-bottom: 1.1rem; }
.hero__lead { font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem); color: var(--ink-soft); max-width: 34ch; margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.8rem; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; }
.rating { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.rating__stars { display: inline-flex; gap: 2px; }
.rating__stars .star { width: 20px; height: 20px; fill: #F5A623; }
.rating__stars .star--half { clip-path: inset(0 50% 0 0); position: relative; }
.rating__text { font-size: 0.96rem; color: var(--ink-soft); }
.rating__text strong { color: var(--ink); font-family: var(--font-display); }
.rating:hover .rating__text { color: var(--petrol); }
.hero__tags { font-size: 0.9rem; color: var(--ink-soft); }

.hero__media { position: relative; }
.hero__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 4 / 3; }
.hero__badge {
  position: absolute; left: -0.6rem; bottom: -0.9rem; display: flex; align-items: center; gap: 0.6rem;
  background: var(--paper); padding: 0.7rem 1rem; border-radius: var(--radius); box-shadow: var(--shadow);
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; line-height: 1.25; color: var(--ink);
  border: 1px solid var(--line);
}
.hero__badge img { width: 24px; height: 34px; }

/* ---------- Sektions-Grundlayout ---------- */
.section { padding-block: var(--section-y); }
.section--leistungen { background: var(--paper); }
.section--ablauf { background: var(--mist); }
.section--praxis { background: var(--paper); }
.section--sprechzeiten { background: var(--mist); }
.section--termin { background: linear-gradient(180deg, var(--paper), var(--tuerkis-soft) 140%); }
.section--notfall { padding-block: clamp(1.5rem, 4vw, 2.5rem); background: var(--paper); }

.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__title { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem); }
.section__intro { margin-top: 0.9rem; font-size: 1.1rem; color: var(--ink-soft); }
.section__note { margin-top: 1.8rem; color: var(--ink-soft); }

/* ---------- Leistungen / Cards ---------- */
.cards { list-style: none; padding: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
  border-radius: 14px; background: var(--tuerkis-soft); color: var(--petrol); margin-bottom: 1.1rem;
}
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card__title { font-size: 1.16rem; margin-bottom: 0.5rem; font-weight: 700; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Ablauf / Lebenslinie (Signatur) ---------- */
.ablauf { position: relative; max-width: 760px; }
.ablauf__line { position: absolute; top: 0; left: 8px; width: 44px; height: 100%; z-index: 0; }
.ablauf__line path { stroke-dasharray: var(--len, 1400); stroke-dashoffset: var(--len, 1400); transition: stroke-dashoffset 1.6s var(--ease); }
.ablauf__line.is-drawn path { stroke-dashoffset: 0; }
.ablauf__steps { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(1.6rem, 4vw, 2.4rem); position: relative; z-index: 1; }
.step { display: grid; grid-template-columns: 60px 1fr; gap: 1.2rem; align-items: start; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px;
  border-radius: 50%; background: var(--paper); border: 2px solid var(--tuerkis);
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--petrol);
  box-shadow: 0 6px 16px rgba(14,124,134,0.12);
}
.step__title { font-size: 1.22rem; margin-bottom: 0.35rem; }
.step__body p { color: var(--ink-soft); }

/* ---------- Notfall ---------- */
.notfall {
  display: flex; gap: 1.2rem; align-items: flex-start;
  background: var(--emergency-bg); border: 1px solid var(--emergency-line);
  border-left: 5px solid var(--emergency); border-radius: var(--radius); padding: 1.4rem 1.6rem;
}
.notfall__icon { color: var(--emergency); flex: none; }
.notfall__icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notfall__title { font-size: 1.2rem; color: var(--emergency); margin-bottom: 0.3rem; }
.notfall__body p { color: var(--ink); font-size: 1rem; }
.notfall__body a { color: var(--emergency); font-weight: 700; }

/* ---------- Praxis / Team ---------- */
.praxis__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.praxis__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 3 / 4; max-height: 560px; }
.praxis__content > p { color: var(--ink-soft); margin-top: 1rem; }
.feature-list { list-style: none; padding: 0; margin-top: 1.6rem; display: grid; gap: 0.8rem; }
.feature-list li { display: flex; align-items: center; gap: 0.7rem; font-weight: 500; color: var(--ink); }
.feature-list .icon { color: var(--petrol); background: var(--tuerkis-soft); border-radius: 50%; padding: 4px; width: 1.7em; height: 1.7em; }

/* ---------- Sprechzeiten & Anfahrt ---------- */
.sprech__grid { display: grid; gap: 1.6rem; grid-template-columns: minmax(0, 1fr); }
.hours, .anfahrt { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); }
.hours__status { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-display); font-weight: 700; padding: 0.4rem 0.9rem; border-radius: var(--radius-pill); background: var(--mist); margin-bottom: 1.2rem; font-size: 0.95rem; }
.hours__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-soft); }
.hours__status.is-open { background: color-mix(in srgb, var(--open) 12%, white); color: var(--open); }
.hours__status.is-open .hours__dot { background: var(--open); box-shadow: 0 0 0 4px color-mix(in srgb, var(--open) 20%, transparent); }
.hours__status.is-closed { background: color-mix(in srgb, var(--closed) 12%, white); color: var(--closed); }
.hours__status.is-closed .hours__dot { background: var(--closed); }
.hours__table { width: 100%; border-collapse: collapse; }
.hours__table th, .hours__table td { text-align: left; padding: 0.62rem 0.2rem; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.hours__table th { font-weight: 600; color: var(--ink); font-family: var(--font-body); }
.hours__table td { color: var(--ink-soft); text-align: right; font-variant-numeric: tabular-nums; }
.hours__table tr[data-day].is-today th, .hours__table tr[data-day].is-today td { color: var(--petrol-dark); font-weight: 700; }
.hours__table tr[data-day].is-today th { position: relative; }
.hours__closed { color: var(--closed) !important; }
.hours__hint { margin: 1.1rem 0 1.4rem; font-size: 0.92rem; color: var(--ink-soft); }

.anfahrt__address { font-style: normal; line-height: 1.7; margin-bottom: 1.1rem; }
.anfahrt__address strong { font-family: var(--font-display); font-size: 1.05rem; }
.anfahrt__fax { color: var(--ink-soft); font-size: 0.94rem; }
.anfahrt__info { list-style: none; padding: 0; display: grid; gap: 0.7rem; margin-bottom: 1.4rem; }
.anfahrt__info li { display: flex; align-items: center; gap: 0.7rem; color: var(--ink-soft); font-size: 0.96rem; }
.anfahrt__info .icon { color: var(--petrol); flex: none; }

.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.map__consent { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0.5rem; padding: 1.5rem; background: var(--mist); }
.map__pin { width: 34px; height: 34px; fill: none; stroke: var(--petrol); stroke-width: 1.8; }
.map__title { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.map__text { font-size: 0.88rem; color: var(--ink-soft); max-width: 42ch; margin-bottom: 0.6rem; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Terminanfrage / Formular ---------- */
.termin__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.termin__intro > p { color: var(--ink-soft); margin-top: 1rem; }
.termin__phone { display: inline-flex; align-items: center; gap: 0.8rem; margin-top: 1.6rem; padding: 0.9rem 1.3rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); }
.termin__phone:hover { color: var(--ink); border-color: var(--line-strong); }
.termin__phone .icon { color: var(--petrol); fill: currentColor; stroke: none; width: 1.6em; height: 1.6em; }
.termin__phone-label { display: block; font-size: 0.82rem; color: var(--ink-soft); }
.termin__phone strong { font-family: var(--font-display); font-size: 1.15rem; }
.termin__privacy-note { margin-top: 1.4rem; font-size: 0.9rem; color: var(--ink-soft); background: var(--mist); border-radius: var(--radius-sm); padding: 0.9rem 1.1rem; }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.form__row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.form__field { display: block; margin-bottom: 1rem; }
.form__field--anrede { max-width: 100%; }
.form__label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.4rem; color: var(--ink); }
.form__req { color: var(--emergency); }
.form__optional { font-weight: 400; color: var(--ink-soft); font-size: 0.85rem; }
.form__control {
  width: 100%; font: inherit; color: var(--ink); background: var(--mist);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 0.75rem 0.9rem;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease), background 0.16s var(--ease);
}
.form__control::placeholder { color: color-mix(in srgb, var(--ink-soft) 70%, transparent); }
.form__control:focus { outline: none; border-color: var(--tuerkis); background: var(--paper); box-shadow: 0 0 0 4px var(--tuerkis-soft); }
.form__control:user-invalid { border-color: var(--emergency); }
textarea.form__control { resize: vertical; min-height: 110px; }
.form__hint { font-size: 0.88rem; color: var(--ink-soft); margin: -0.4rem 0 1rem; }
.form__hint.is-error { color: var(--emergency); font-weight: 500; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1.3rem; }
.form__consent input { margin-top: 0.25rem; width: 1.15rem; height: 1.15rem; accent-color: var(--petrol); flex: none; }
.form__submit { width: 100%; }
.form__status { margin-top: 1rem; font-weight: 500; text-align: center; min-height: 1.2em; }
.form__status.is-success { color: var(--open); }
.form__status.is-error { color: var(--emergency); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: color-mix(in srgb, #fff 82%, transparent); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-bottom: 2.5rem; }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__role { color: color-mix(in srgb, #fff 68%, transparent); }
.footer__note { margin-top: 1rem; max-width: 34ch; font-size: 0.95rem; color: color-mix(in srgb, #fff 70%, transparent); }
.footer__heading { font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.08em; color: color-mix(in srgb, #fff 60%, transparent); margin-bottom: 0.9rem; font-family: var(--font-display); }
.footer__col address { font-style: normal; line-height: 1.8; }
.footer__col a { color: #fff; }
.footer__hours { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.footer__hours li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.94rem; }
.footer__hours span:first-child { color: color-mix(in srgb, #fff 70%, transparent); }
.footer__emergency { list-style: none; padding: 0; display: grid; gap: 0.4rem; margin-bottom: 1.2rem; }
.footer__emergency a { font-weight: 700; }
.footer__bar { border-top: 1px solid rgba(255,255,255,0.12); }
.footer__bar-inner { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; justify-content: space-between; align-items: center; padding-block: 1.3rem; font-size: 0.88rem; }
.footer__legal { display: flex; gap: 1.2rem; }
.footer__legal a { color: color-mix(in srgb, #fff 78%, transparent); text-decoration: none; }
.footer__legal a:hover { color: #fff; text-decoration: underline; }

/* ---------- Cookie-Hinweis ---------- */
.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 150; max-width: 560px; margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; justify-content: space-between;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem;
  box-shadow: var(--shadow-lg);
}
.cookie[hidden] { display: none; }
.cookie__text { font-size: 0.88rem; color: var(--ink-soft); flex: 1 1 260px; margin: 0; }

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */
.subpage-header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--line); }
.subpage-header .header__inner { justify-content: space-between; }
.subpage-header .header__actions { margin-left: auto; }
.legal { padding-block: clamp(2.4rem, 6vw, 4rem); background: linear-gradient(180deg, var(--mist), var(--paper) 40%); }
.legal__content { max-width: 780px; }
.legal__content > p, .legal__content ul, .legal__content ol { color: var(--ink-soft); margin-bottom: 1rem; }
.legal__content h2 { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem); margin-top: 2.4rem; margin-bottom: 0.7rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.legal__content h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 1.6rem; }
.legal__content h3 { font-size: 1.08rem; margin-top: 1.6rem; margin-bottom: 0.4rem; color: var(--ink); }
.legal__content ul, .legal__content ol { padding-left: 1.3rem; }
.legal__content li { margin-bottom: 0.4rem; }
.legal__content a { word-break: break-word; }
.legal__lead { font-size: 1.12rem; color: var(--ink-soft); margin-bottom: 1.5rem !important; }
.legal__meta { font-size: 0.9rem; color: var(--ink-soft); margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.legal__data { list-style: none; padding: 0 !important; margin-bottom: 1rem; }
.legal__data li { display: grid; grid-template-columns: 150px 1fr; gap: 0.4rem 1rem; margin-bottom: 0.55rem; }
.legal__data .k { font-weight: 600; color: var(--ink); }
@media (max-width: 520px) { .legal__data li { grid-template-columns: 1fr; gap: 0.1rem; margin-bottom: 0.8rem; } }
.placeholder { background: #FFF6E6; border: 1px dashed #E0B155; padding: 0.05em 0.4em; border-radius: 5px; color: #82581A; font-style: normal; font-size: 0.94em; white-space: nowrap; }

/* ---------- Scroll-Reveal (nur mit JS aktiv → ohne JS sichtbar) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 620px) {
  .sprech__grid { grid-template-columns: 1fr 1fr; }
  .hours { align-self: start; }
}
@media (min-width: 760px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
  .praxis__grid { grid-template-columns: 0.85fr 1.15fr; }
  .termin__grid { grid-template-columns: 0.9fr 1.1fr; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 980px) {
  .step { grid-template-columns: 72px 1fr; }
  .ablauf__line { left: 12px; }
}

/* Mobile-Navigation */
@media (max-width: 900px) {
  .header__termin { display: none; }
  .nav { margin-left: auto; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
    background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; position: relative; z-index: 120;
  }
  .nav__toggle-bars, .nav__toggle-bars::before, .nav__toggle-bars::after {
    content: ""; display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
  }
  .nav__toggle-bars::before { transform: translateY(-7px); }
  .nav__toggle-bars::after { transform: translateY(5px); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars { background: transparent; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars::after { transform: rotate(-45deg); }

  .nav__menu {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px); flex-direction: column; align-items: stretch; gap: 0.2rem;
    background: var(--paper); box-shadow: var(--shadow-lg); padding: 6rem 1.5rem 2rem; z-index: 110;
    transform: translateX(100%); transition: transform 0.3s var(--ease); overflow-y: auto;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__menu a:not(.btn) { padding: 0.85rem 1rem; font-size: 1.05rem; }
  .nav__cta-mobile { display: block; margin-top: 0.8rem; }
  .nav__cta-mobile .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
  .nav__backdrop { position: fixed; inset: 0; background: rgba(18,49,78,0.4); z-index: 90; opacity: 0; transition: opacity 0.3s var(--ease); }
  .nav__backdrop.is-open { opacity: 1; }
}
@media (max-width: 460px) {
  .header__actions .btn--phone span { display: none; }
  .header__actions .btn--phone { padding: 0.7rem; }
  .form__row { grid-template-columns: 1fr; }
  .hero__badge { position: static; margin-top: 1rem; display: inline-flex; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .ablauf__line path { stroke-dashoffset: 0; }
}
