/* Zahnärzte am Mühlenteich · Muster von Neonkontor
   Sandweiß, Salbei, Tanne, Pfirsich. Hedvig Letters Serif + Source Sans 3. */

@font-face {
  font-family: "Hedvig Letters Serif";
  src: url("assets/fonts/hedvig-letters-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --sand: oklch(0.966 0.014 85);
  --sand-tief: oklch(0.935 0.021 84);
  --papier: oklch(0.988 0.007 85);
  --salbei: oklch(0.845 0.04 152);
  --salbei-hell: oklch(0.925 0.026 150);
  --salbei-tief: oklch(0.56 0.055 158);
  --tanne: oklch(0.285 0.045 168);
  --tanne-leise: oklch(0.395 0.04 168);
  --pfirsich: oklch(0.845 0.078 58);
  --pfirsich-hell: oklch(0.93 0.04 62);
  --terra: oklch(0.47 0.115 42);
  --linie: oklch(0.285 0.045 168 / 0.16);
  --linie-warm: oklch(0.47 0.115 42 / 0.22);
  --rand-feld: oklch(0.56 0.035 165);

  --serif: "Hedvig Letters Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --rand: clamp(20px, 5vw, 64px);
  --breit: 1240px;
  --abstand: clamp(72px, 9.5vw, 136px);
  --weich: cubic-bezier(0.16, 1, 0.3, 1);
  --kopf-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--kopf-h) + 24px);
  scrollbar-color: var(--salbei-tief) var(--sand-tief);
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--tanne);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  accent-color: var(--tanne);
  caret-color: var(--terra);
}

::selection { background: var(--pfirsich); color: var(--tanne); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.2rem, 1.3rem + 3.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
}
h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.1vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.012em;
}
h3 { font-size: 1.45rem; line-height: 1.25; }

p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
address { font-style: normal; }
strong { font-weight: 650; }
abbr[title] { text-decoration: none; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in oklch, currentColor 45%, transparent);
  transition: text-decoration-color 0.2s;
}
a:hover { text-decoration-color: currentColor; }

:focus-visible {
  outline: 2.5px solid var(--terra);
  outline-offset: 3px;
  border-radius: 8px;
}

.nr { font-variant-numeric: tabular-nums; white-space: nowrap; }

.nur-vorlesen {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.rahmen {
  width: min(100% - 2 * var(--rand), var(--breit));
  margin-inline: auto;
}

.sprung {
  position: absolute;
  left: 12px; top: -80px;
  z-index: 100;
  background: var(--tanne);
  color: var(--sand);
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
}
.sprung:focus { top: 8px; }

/* ---------- Musterstreifen (gehört Neonkontor, nicht der Praxis) ---------- */

.muster {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  padding: 6px var(--rand);
  background: #0e1110;
  color: #f1eee9;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.8125rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.muster p { position: relative; padding-left: 19px; }
.muster p::before {
  content: "";
  position: absolute;
  left: 0; top: 0.32em;
  width: 9px; height: 9px;
  border-radius: 2px;
  background: #f2c230;
}
.muster strong { font-weight: 600; }
.muster a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  padding: 6px 0;
  color: #f1eee9;
  text-decoration-color: #f1eee980;
}
.muster a:hover { text-decoration-color: #f2c230; }
.muster :focus-visible { outline-color: #f2c230; border-radius: 2px; }

/* ---------- Kopf ---------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--sand);
  transition: box-shadow 0.4s;
}
.kopf.ist-unten { box-shadow: 0 1px 0 var(--linie), 0 10px 30px -18px oklch(0.285 0.045 168 / 0.35); }

.kopf-innen {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--kopf-h);
}

.marke {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.marke-zeichen { flex: none; width: 30px; height: auto; }
.z-sonne { fill: var(--pfirsich); }
.z-bogen { fill: var(--tanne); }
.marke-text { display: grid; line-height: 1.15; }
.marke-name { font-family: var(--serif); font-size: 1.3rem; letter-spacing: -0.01em; white-space: nowrap; }
.marke-zusatz { font-size: 0.84rem; color: var(--tanne-leise); white-space: nowrap; }

.nav { flex: none; margin-inline: auto; }
.nav ul { display: flex; gap: clamp(14px, 1.6vw, 26px); }
.nav a {
  display: block;
  white-space: nowrap;
  padding: 10px 2px;
  font-size: 1rem;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0 1px no-repeat;
  transition: background-size 0.35s var(--weich);
}
.nav a:hover { background-size: 100% 1px; }

.kopf-rechts { display: flex; align-items: center; gap: 18px; }
.kopf-telefon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  text-decoration: none;
  white-space: nowrap;
}
.kopf-telefon svg, .knopf svg, .muster svg { flex: none; }
.kopf-telefon-text { display: grid; line-height: 1.2; }
.kopf-telefon .nr { font-weight: 650; }
.kopf-heute {
  overflow: hidden;
  max-height: 1.4em;
  font-size: 0.82rem;
  color: var(--tanne-leise);
  transition: max-height 0.5s var(--weich), opacity 0.4s;
}
.js body:not(.nach-hero) .kopf-heute { max-height: 0; opacity: 0; }

.punkt {
  flex: none;
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--salbei-tief);
}
.punkt.ist-zu { background: transparent; box-shadow: inset 0 0 0 2px var(--terra); }

.menue-knopf {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border: 1.5px solid var(--linie);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.menue-strich {
  position: relative;
  width: 18px; height: 1.5px;
  background: currentColor;
  transition: background 0.2s;
}
.menue-strich::before, .menue-strich::after {
  content: "";
  position: absolute;
  left: 0; width: 18px; height: 1.5px;
  background: var(--tanne);
  transition: transform 0.3s var(--weich);
}
.menue-strich::before { top: -6px; }
.menue-strich::after { top: 6px; }
.menue-knopf[aria-expanded="true"] .menue-strich { background: transparent; }
.menue-knopf[aria-expanded="true"] .menue-strich::before { transform: translateY(6px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] .menue-strich::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Knöpfe ---------- */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--tanne);
  color: var(--sand);
  font: inherit;
  font-weight: 600;
  font-size: 1.06rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s var(--weich);
}
.knopf svg { transition: transform 0.35s var(--weich); }
.knopf:hover { background: oklch(0.36 0.055 165); }
.knopf:hover svg { transform: translateX(4px); }
.knopf:active { transform: scale(0.98); }
.knopf-klein { min-height: 46px; padding: 0 22px; font-size: 1rem; }
.knopf-breit { width: 100%; }
.knopf-hell {
  background: transparent;
  color: var(--tanne);
  box-shadow: inset 0 0 0 1.5px var(--tanne);
}
.knopf-hell:hover { background: var(--salbei-hell); }

.rund {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1.5px solid var(--tanne);
  border-radius: 50%;
  background: transparent;
  color: var(--tanne);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, opacity 0.25s;
}
.rund:hover:not(:disabled) { background: var(--tanne); color: var(--sand); }
.rund:disabled { opacity: 0.35; cursor: default; }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding-block: clamp(28px, 3vw, 40px) clamp(36px, 3.4vw, 48px);
}
.hero-text { position: relative; z-index: 1; max-width: 41rem; }
.hero-satz {
  margin-top: clamp(20px, 2vw, 28px);
  max-width: 33em;
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.28rem);
  line-height: 1.55;
  color: var(--tanne-leise);
}
.hero-wahl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: clamp(26px, 2.6vw, 36px);
}
.hero-telefon { padding: 10px 0; text-decoration: none; }
.hero-telefon .nr {
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in oklch, currentColor 45%, transparent);
}
.hero-telefon:hover .nr { text-decoration-color: currentColor; }
.hero-heute {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 1.02rem;
}

.hero-bild {
  --bogen-b: clamp(280px, min(34vw, (100svh - 332px) * 0.8), 500px);
  position: relative;
  isolation: isolate;
  justify-self: end;
  width: var(--bogen-b);
  aspect-ratio: 4 / 5;
  margin-right: 26px;
}
.hero-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px 999px 32px 32px;
}
.hero-schatten {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 999px 999px 32px 32px;
  background: var(--salbei);
  transform: translate(26px, 26px);
}
.hero-sonne {
  position: absolute;
  z-index: -2;
  left: -19%;
  top: 7%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pfirsich);
}

/* ---------- Wochenzeile ---------- */

.woche {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 56px;
  padding-block: 20px;
  border-block: 1px solid var(--linie);
}
.woche-liste {
  display: flex;
  gap: clamp(6px, 1.2vw, 18px);
  font-variant-numeric: tabular-nums;
}
.woche-liste li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  padding: 7px 16px 8px;
  border-radius: 18px;
  white-space: nowrap;
}
.woche-tag {
  flex-basis: 100%;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.3;
}
.woche-zeit { font-size: 0.98rem; color: var(--tanne-leise); }
.woche-zeit + .woche-zeit:not(.woche-leer)::before { content: "·"; margin-right: 8px; }
.woche-leer { display: none; }
.woche-liste li.ist-heute { background: var(--pfirsich-hell); }
.woche-liste li.ist-heute .woche-zeit { color: var(--tanne); }
.woche-liste li.ist-heute .woche-tag::after {
  content: "heute";
  margin-left: 8px;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--terra);
}
.woche-not {
  max-width: 25em;
  font-size: 0.96rem;
  line-height: 1.45;
  color: var(--tanne-leise);
}

/* ---------- Abschnitte allgemein ---------- */

.leistungen, .team, .besuch { padding-block: var(--abstand); }

.abschnitt-kopf {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px clamp(40px, 7vw, 88px);
  margin-bottom: clamp(36px, 4.5vw, 60px);
}
.abschnitt-kopf p { max-width: 31em; color: var(--tanne-leise); font-size: 1.14rem; }

/* ---------- Leistungen ---------- */

.leistung-liste {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(40px, 7vw, 88px);
  border-bottom: 1px solid var(--linie);
}
.leistung-liste li {
  padding-block: clamp(22px, 2.4vw, 32px) clamp(24px, 2.6vw, 36px);
  border-top: 1px solid var(--linie);
}
.leistung-liste p {
  margin-top: 10px;
  max-width: 34em;
  color: var(--tanne-leise);
}
.leistung-kosten {
  margin-top: clamp(32px, 4vw, 48px);
  padding: 22px clamp(22px, 3vw, 34px);
  max-width: 47em;
  border-radius: 28px;
  background: var(--salbei-hell);
}

/* ---------- Angst ---------- */

.angst {
  margin-inline: clamp(10px, 2.4vw, 36px);
  padding-block: clamp(52px, 7.5vw, 112px);
  border-radius: clamp(32px, 5vw, 72px);
  background: var(--pfirsich-hell);
}
.angst-innen {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(36px, 6.5vw, 96px);
  width: min(100% - 2 * clamp(14px, 4vw, 56px), 1160px);
  margin-inline: auto;
}
.angst-bild { position: sticky; top: calc(var(--kopf-h) + 36px); }
.angst-bild img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px 32px 32px;
}
.angst-satz {
  margin-top: clamp(18px, 2vw, 26px);
  max-width: 34em;
  font-size: 1.14rem;
}
.angst-liste { margin-top: clamp(28px, 3vw, 40px); border-bottom: 1px solid var(--linie-warm); }
.angst-liste > div {
  display: grid;
  grid-template-columns: minmax(0, 13.5rem) minmax(0, 1fr);
  gap: 4px 28px;
  padding-block: 18px 20px;
  border-top: 1px solid var(--linie-warm);
}
.angst-liste dt { font-family: var(--serif); font-size: 1.24rem; line-height: 1.3; }
.angst-liste dd { max-width: 30em; }
.angst-wahl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: clamp(28px, 3vw, 40px);
}
.angst-wahl p { font-size: 1rem; max-width: 16em; line-height: 1.4; }

/* ---------- Team ---------- */

.team-zwei {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(32px, 4vw, 56px);
}
.team-zwei article {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding-right: clamp(24px, 5vw, 72px);
}
.team-zwei article + article {
  padding-left: clamp(24px, 5vw, 72px);
  padding-right: 0;
  border-left: 1px solid var(--linie);
}
.team-zwei h3 { font-size: clamp(1.55rem, 1.3rem + 0.8vw, 2rem); }
.team-rolle { margin-top: 6px; color: var(--terra); font-weight: 600; }
.team-rolle + p { margin-top: 18px; max-width: 32em; color: var(--tanne-leise); }
.team-tage {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--linie);
  font-size: 0.98rem;
}
.team-rest {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  margin-top: clamp(40px, 5vw, 64px);
}
.team-rest > p:first-child { padding-right: clamp(24px, 5vw, 72px); max-width: 34em; color: var(--tanne-leise); }
.team-stelle {
  margin-left: clamp(24px, 5vw, 72px);
  padding: 22px clamp(22px, 3vw, 30px);
  border-radius: 28px;
  background: var(--salbei-hell);
}

/* ---------- Praxis, Bildfolge ---------- */

.praxis {
  padding-block: var(--abstand) calc(var(--abstand) * 0.72);
  background: var(--salbei-hell);
  overflow: hidden;
}
.praxis-kopf {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.praxis-kopf p { margin-top: 16px; max-width: 34em; font-size: 1.1rem; }
.praxis-knoepfe { display: flex; gap: 12px; flex: none; }

.bildfolge {
  --bild-h: clamp(300px, 36vw, 500px);
  --seite: max(var(--rand), (100vw - var(--breit)) / 2);
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--seite);
  padding: 4px var(--seite) 22px;
  scrollbar-width: thin;
  scrollbar-color: var(--salbei-tief) transparent;
}
.bildfolge:focus-visible { outline-offset: -4px; border-radius: 16px; }
.bildfolge figure { flex: none; scroll-snap-align: start; }
.bildfolge img {
  height: var(--bild-h);
  width: auto;
  max-width: none;
  object-fit: cover;
  border-radius: 28px;
}
.bildfolge .hoch { width: calc(var(--bild-h) * 0.75); }
.bildfolge .hoch img { width: 100%; }
.bildfolge .quer { width: calc(var(--bild-h) * 1.44); }
.bildfolge .quer img { width: 100%; }
.bildfolge .bogen img { border-radius: 999px 999px 28px 28px; }
.bildfolge figcaption {
  margin-top: 14px;
  padding-right: 8px;
  font-size: 0.98rem;
  line-height: 1.45;
}

/* ---------- Erster Besuch ---------- */

.besuch {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  align-items: start;
  gap: clamp(40px, 7.5vw, 104px);
}
.besuch-links { position: sticky; top: calc(var(--kopf-h) + 36px); }
.besuch-links > p { margin-top: 18px; max-width: 28em; color: var(--tanne-leise); font-size: 1.1rem; }
.mitbringen { margin-top: clamp(28px, 3vw, 40px); padding-top: 22px; border-top: 1px solid var(--linie); }
.mitbringen h3 { font-size: 1.24rem; }
.mitbringen ul { margin-top: 12px; display: grid; gap: 7px; }
.mitbringen li { position: relative; padding-left: 24px; }
.mitbringen li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.5em;
  width: 9px; height: 11px;
  border-radius: 5px 5px 1.5px 1.5px;
  background: var(--pfirsich);
}

.schritte { counter-reset: schritt; }
.schritte li {
  counter-increment: schritt;
  position: relative;
  padding: 6px 0 clamp(30px, 3.4vw, 46px) 86px;
}
.schritte li:last-child { padding-bottom: 0; }
.schritte li::before {
  content: counter(schritt);
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--salbei-hell);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1;
}
.schritte li::after {
  content: "";
  position: absolute;
  left: 27.5px; top: 66px; bottom: 10px;
  width: 1px;
  background: var(--linie);
}
.schritte li:last-child::after { display: none; }
.schritte p { margin-top: 8px; max-width: 33em; color: var(--tanne-leise); }

/* ---------- Kontakt ---------- */

.kontakt {
  padding-block: var(--abstand);
  border-radius: clamp(32px, 5vw, 72px) clamp(32px, 5vw, 72px) 0 0;
  background: var(--sand-tief);
}
.kontakt-raster {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
  gap: clamp(40px, 6vw, 88px);
}
.kontakt-heute { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 1.1rem; }

.zeiten {
  width: calc(100% + 32px);
  margin: clamp(22px, 2.6vw, 34px) -16px 0;
  border-collapse: separate;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
  text-align: left;
}
.zeiten th, .zeiten td { padding: 13px 16px; border-bottom: 1px solid var(--linie); }
.zeiten thead th { padding-block: 8px; font-size: 0.94rem; font-weight: 600; color: var(--tanne-leise); }
.zeiten tbody th { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.zeiten .leer { color: var(--tanne-leise); }
.zeiten tr.ist-heute th, .zeiten tr.ist-heute td { background: var(--pfirsich-hell); border-bottom-color: transparent; }
.zeiten tr.ist-heute th { border-radius: 16px 0 0 16px; }
.zeiten tr.ist-heute td:last-child { border-radius: 0 16px 16px 0; }
.zeiten tr.ist-heute .leer { color: var(--tanne); }
.zeiten tr.ist-heute th::after {
  content: "heute";
  margin-left: 10px;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--terra);
}
.zeiten-hinweis { margin-top: 18px; max-width: 36em; font-size: 0.99rem; color: var(--tanne-leise); }

.anfahrt {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px clamp(24px, 3.5vw, 48px);
  margin-top: clamp(36px, 4.5vw, 56px);
  padding-top: clamp(28px, 3.2vw, 40px);
  border-top: 1px solid var(--linie);
}
.anfahrt address { line-height: 1.6; }
.anfahrt address strong { font-family: var(--serif); font-weight: 400; font-size: 1.24rem; white-space: nowrap; }
.adresse-tel { display: inline-block; margin-top: 10px; font-weight: 650; }
.anfahrt-liste { display: grid; gap: 12px; font-size: 1rem; }

.lage { margin-top: clamp(28px, 3.5vw, 44px); }
.lage svg { width: 100%; height: auto; }
.lage figcaption { margin-top: 8px; font-size: 0.9rem; color: var(--tanne-leise); }
.k-grund { fill: var(--papier); }
.k-baum { fill: var(--salbei-hell); }
.k-teich { fill: var(--salbei); }
.k-strasse-rand, .k-weg-rand { fill: none; stroke: oklch(0.285 0.045 168 / 0.22); stroke-linecap: round; }
.k-strasse-rand { stroke-width: 21; }
.k-weg-rand { stroke-width: 15; }
.k-strasse, .k-weg { fill: none; stroke: var(--sand); stroke-linecap: round; }
.k-strasse { stroke-width: 18; }
.k-weg { stroke-width: 12; }
.k-fussweg { fill: none; stroke: var(--terra); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.k-haus { fill: var(--tanne); }
.k-nadel { fill: var(--terra); }
.k-nadel-auge { fill: var(--papier); }
.k-park { fill: var(--papier); stroke: var(--tanne); stroke-width: 1.5; }
.k-halt { fill: var(--tanne); }
.k-zeichen { font-family: var(--sans); font-weight: 700; font-size: 19px; fill: var(--tanne); }
.k-zeichen-hell { fill: var(--sand); font-size: 17px; }
.k-name { font-family: var(--serif); font-size: 21px; fill: var(--tanne); }
.k-klein { font-family: var(--sans); font-size: 14.5px; fill: var(--tanne); }

.termin {
  position: sticky;
  top: calc(var(--kopf-h) + 24px);
  padding: clamp(26px, 3.6vw, 48px);
  border-radius: clamp(28px, 3vw, 40px);
  background: var(--papier);
  box-shadow: 0 24px 60px -36px oklch(0.285 0.045 168 / 0.4);
}
.termin h2 { font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.3rem); }
.termin > p { margin-top: 12px; color: var(--tanne-leise); }

.formular { display: grid; gap: 20px; margin-top: 26px; }
.feld { display: grid; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.feld > label, .feld legend { padding: 0; font-weight: 600; font-size: 1rem; }
.feld.haken > label { font-weight: 400; }
.feld legend { margin-bottom: 9px; }
.feld input[type="text"], .feld input[type="tel"] {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1.5px solid var(--rand-feld);
  border-radius: 16px;
  background: var(--sand);
  color: var(--tanne);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.feld input[type="text"]:hover, .feld input[type="tel"]:hover { border-color: var(--tanne); }
.feld input[type="text"]:focus-visible, .feld input[type="tel"]:focus-visible {
  outline: none;
  border-color: var(--tanne);
  background: var(--papier);
  box-shadow: 0 0 0 4px var(--pfirsich);
}
.feld input[aria-invalid="true"] { border-color: var(--terra); }
.fehler { font-size: 0.96rem; color: var(--terra); font-weight: 600; }

.wahl { display: flex; flex-wrap: wrap; gap: 8px; }
.wahl legend { float: left; width: 100%; }
.wahl label { position: relative; cursor: pointer; }
.wahl input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.wahl span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--rand-feld);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.wahl label:hover span { box-shadow: inset 0 0 0 1.5px var(--tanne); }
.wahl input:checked + span { background: var(--tanne); color: var(--sand); box-shadow: none; }
.wahl input:focus-visible + span { outline: 2.5px solid var(--terra); outline-offset: 3px; }

.haken { gap: 4px; }
.haken label {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 8px 0;
  cursor: pointer;
}
.haken input {
  appearance: none;
  -webkit-appearance: none;
  width: 26px; height: 26px;
  margin: 1px 0 0;
  border: 1.5px solid var(--rand-feld);
  border-radius: 9px;
  background: var(--sand) center / 16px no-repeat;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.haken input:hover { border-color: var(--tanne); }
.haken input:checked {
  border-color: var(--tanne);
  background-color: var(--tanne);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.500 8.400 6.600 11.300 12.500 4.900' fill='none' stroke='%23f6f1e7' stroke-width='1.800' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.formular-hinweis {
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--salbei-hell);
  font-size: 0.98rem;
  line-height: 1.45;
}
.formular-meldung:empty { display: none; }
.formular-meldung {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--pfirsich-hell);
  line-height: 1.45;
}
.termin-oder { margin-top: 22px; }
.termin-oder .nr { font-weight: 650; color: var(--tanne); }

/* ---------- Fuß ---------- */

.fuss {
  padding-block: clamp(52px, 6vw, 84px) 36px;
  background: var(--tanne);
  color: oklch(0.94 0.016 85);
  font-size: 1rem;
}
.fuss ::selection { background: var(--pfirsich); color: var(--tanne); }
.fuss :focus-visible { outline-color: var(--pfirsich); }
.fuss-raster {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.15fr 0.9fr;
  gap: 36px clamp(24px, 4vw, 64px);
}
.fuss .z-bogen { fill: var(--salbei); }
.fuss-marke .marke-zeichen { margin-bottom: 14px; }
.fuss-name { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.fuss h2 {
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--salbei);
}
.fuss ul { display: grid; gap: 2px; }
.fuss li a { display: inline-block; padding: 4px 0; }
.fuss-unten {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px 48px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid oklch(0.94 0.016 85 / 0.22);
  font-size: 0.94rem;
  color: oklch(0.87 0.025 150);
}
.fuss-unten p { max-width: 46em; }
.fuss-unten a { flex: none; padding: 4px 0; color: oklch(0.94 0.016 85); }

/* ---------- Leiste am Handy ---------- */

.leiste { display: none; }

/* ---------- Bewegung ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .hero-foto { animation: foto-auf 1.3s var(--weich) both; }
  .hero-schatten { animation: schatten-raus 1.5s 0.15s var(--weich) both; }
  .hero-sonne { animation: sonne-auf 2.2s 0.2s var(--weich) both; }

  .js [data-zeigen] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.9s ease-out, transform 1.1s var(--weich);
  }
  .js [data-zeigen].ist-da { opacity: 1; transform: none; }
}

@keyframes foto-auf {
  from { opacity: 0; clip-path: inset(14% 0 0 0 round 999px 999px 32px 32px); }
  to { opacity: 1; clip-path: inset(0 0 0 0 round 999px 999px 32px 32px); }
}
@keyframes schatten-raus {
  from { transform: translate(0, 0); opacity: 0; }
  to { transform: translate(26px, 26px); opacity: 1; }
}
@keyframes sonne-auf {
  from { transform: translate(34%, 62%) scale(0.86); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.js [data-nur-js] { visibility: visible; }
html:not(.js) [data-nur-js] { display: none; }

/* ---------- Breiten ---------- */

@media (max-width: 1260px) {
  .menue-knopf { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    padding: 6px var(--rand) 26px;
    background: var(--sand);
    box-shadow: 0 1px 0 var(--linie), 0 24px 40px -24px oklch(0.285 0.045 168 / 0.4);
  }
  .js .nav { display: none; }
  .js .nav.ist-offen { display: block; }
  .nav ul { display: grid; gap: 0; }
  .nav li + li { border-top: 1px solid var(--linie); }
  .nav a {
    padding: 13px 0;
    font-family: var(--serif);
    font-size: 1.35rem;
    background: none;
  }
  html:not(.js) .kopf { position: static; }
  html:not(.js) .kopf-innen { flex-wrap: wrap; padding-top: 10px; }
  html:not(.js) .menue-knopf { display: none; }
  html:not(.js) .nav { position: static; width: 100%; padding: 0 0 12px; box-shadow: none; }
  html:not(.js) .nav ul { display: flex; flex-wrap: wrap; gap: 0 20px; }
  html:not(.js) .nav li + li { border: 0; }
  html:not(.js) .nav a { font-family: var(--sans); font-size: 1rem; padding: 8px 0; }
  .marke { margin-right: auto; }
  .kopf-rechts { order: 2; }
  .menue-knopf { order: 3; }
}

@media (max-width: 1000px) {
  .woche { flex-direction: column; align-items: stretch; }
  .woche-liste { justify-content: space-between; }
  .woche-not { max-width: none; }

  .abschnitt-kopf { grid-template-columns: 1fr; align-items: start; }
  .kontakt-raster { grid-template-columns: 1fr; }
  .termin { position: static; }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .angst-innen { grid-template-columns: 1fr; }
  .angst-bild { position: static; width: min(62%, 300px); }
  .besuch { grid-template-columns: 1fr; }
  .besuch-links { position: static; }
  .team-zwei, .team-rest { grid-template-columns: 1fr; }
  .team-zwei article { padding-right: 0; }
  .team-zwei article + article {
    margin-top: 36px;
    padding: 36px 0 0;
    border-left: 0;
    border-top: 1px solid var(--linie);
  }
  .team-rest > p:first-child { padding-right: 0; }
  .team-stelle { margin: 28px 0 0; }
}

@media (max-width: 700px) {
  :root { --kopf-h: 64px; }
  body { font-size: 1.0625rem; }
  .abschnitt-kopf p, .angst-satz, .praxis-kopf p, .besuch-links > p { font-size: 1.0625rem; }

  .muster-lang { display: none; }
  .muster strong { display: block; }
  .kopf-rechts { display: none; }
  .marke-zeichen { width: 26px; }
  .marke-name { font-size: 1.16rem; }
  .marke-zusatz { font-size: 0.8rem; }
  .menue-knopf { min-height: 44px; padding: 0 14px; }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 26px 40px;
  }
  .hero-wahl { flex-direction: column; align-items: stretch; gap: 6px; }
  .hero-wahl .knopf { width: 100%; }
  .hero-telefon { text-align: center; }
  .hero-heute { justify-content: center; margin-top: 10px; }
  .hero-bild {
    justify-self: start;
    width: calc(100% - 14px);
    margin-right: 0;
  }
  .hero-schatten { transform: translate(14px, 14px); }
  .hero-sonne { left: auto; right: -5%; top: -6%; width: 40%; }

  .woche-liste { gap: 2px; margin-inline: -6px; }
  .woche-liste li { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; padding: 8px 9px 9px; border-radius: 16px; flex: 1 1 0; }
  .woche-tag { flex-basis: auto; font-size: 1.12rem; }
  .woche-zeit { font-size: 0.92rem; line-height: 1.4; }
  .woche-zeit + .woche-zeit:not(.woche-leer)::before { content: none; }
  .woche-leer { display: block; }
  .woche-liste li.ist-heute .woche-tag::after { content: none; }
  .woche-liste li.ist-heute { box-shadow: inset 0 0 0 1.5px var(--pfirsich); }

  .leistung-liste { grid-template-columns: 1fr; }

  .angst-liste > div { grid-template-columns: 1fr; }
  .angst-wahl .knopf { width: 100%; }
  .angst-wahl p { max-width: none; }

  .praxis-knoepfe { display: none; }
  .bildfolge { --bild-h: 330px; }
  .bildfolge .quer { width: calc(var(--bild-h) * 1.06); }

  .schritte li { padding-left: 66px; }
  .schritte li::before { width: 46px; height: 46px; font-size: 1.25rem; }
  .schritte li::after { left: 22.5px; top: 54px; }

  .zeiten th, .zeiten td { padding-inline: 12px; }
  .zeiten { width: calc(100% + 24px); margin-inline: -12px; }
  .zeiten tbody th { font-size: 1.1rem; }
  .zeiten tr.ist-heute th::after { content: none; }
  .anfahrt { grid-template-columns: 1fr; }
  .k-klein { font-size: 23px; }
  .k-name { font-size: 27px; }
  .k-zeichen { font-size: 22px; }
  .k-zeichen-hell { font-size: 19px; }

  .fuss { padding-bottom: 150px; }
  .fuss-raster { grid-template-columns: 1fr; gap: 28px; }
  .fuss-unten { flex-direction: column; }

  .leiste {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    padding: 9px 14px calc(12px + env(safe-area-inset-bottom, 0px));
    border-radius: 24px 24px 0 0;
    background: var(--papier);
    box-shadow: 0 -1px 0 var(--linie), 0 -14px 36px -12px oklch(0.285 0.045 168 / 0.32);
    transition: transform 0.6s var(--weich), visibility 0.6s;
  }
  .js body:not(.nach-hero) .leiste { transform: translateY(110%); visibility: hidden; }
  .leiste-heute {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.92rem;
    line-height: 1.3;
  }
  .leiste-knoepfe { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
  .leiste .knopf { min-height: 50px; padding: 0 20px; font-size: 1.02rem; }
}

@media (max-width: 380px) {
  .marke-zusatz { display: none; }
  .marke-name { font-size: 1.06rem; }
  .kopf-innen { gap: 10px; }
  .woche-zeit { font-size: 0.86rem; }
  .zeiten { width: calc(100% + 16px); margin-inline: -8px; font-size: 0.94rem; }
  .zeiten th, .zeiten td { padding-inline: 8px; }
  .zeiten tbody th { font-size: 1rem; }
}

@media (max-width: 350px) {
  .menue-knopf { padding: 0 13px; }
  .menue-wort {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .woche-liste li { padding-inline: 6px; }
  .leiste .knopf { padding: 0 14px; }
}

@media (min-width: 701px) and (max-width: 920px) {
  .hero-bild { --bogen-b: clamp(260px, 40vw, 360px); }
  .hero-sonne { left: auto; right: -9%; top: -8%; width: 42%; }
}

@media print {
  .muster, .kopf, .leiste, .praxis-knoepfe { display: none; }
}
