/* ==========================================================================
   Zahnarztpraxis Müden – Stylesheet (Onepager)
   --------------------------------------------------------------------------
   Aufbau
   1.  Schriften (lokal, SIL Open Font License)
   2.  Design-Variablen (Farben aus dem Logo)
   3.  Basis und Reset
   4.  Typografie und Bausteine
   5.  Kopfbereich und Navigation
   6.  Start: Foto, Logo-Animation, Claim
   7.  Über uns
   8.  Zahnmedizin
   9.  Was uns ausmacht
   10. Team und Pinnwand
   11. Karriere
   12. Kontakt
   13. Fußbereich
   14. Rechtstexte und Fehlerseite
   15. Bewegung reduzieren, hoher Kontrast, Druck
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Schriften
   Cormorant Garamond: Überschriften (wie der Schriftzug im Logo)
   Montserrat: Fließtext (wie „MÜDEN“ im Logo)
   Dancing Script: handschriftliche Akzente auf der Pinnwand
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Dancing Script";
  src: url("../fonts/dancing-script-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
/* Angeglichene Ersatzschriften, damit beim Nachladen nichts springt */
@font-face {
  font-family: "Montserrat Ersatz";
  src: local("Arial");
  size-adjust: 113.4%;
  ascent-override: 85.4%;
  descent-override: 22.1%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Cormorant Ersatz";
  src: local("Georgia");
  font-style: normal;
  size-adjust: 88.8%;
  ascent-override: 103.6%;
  descent-override: 32.6%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Cormorant Ersatz";
  src: local("Georgia Italic"), local("Georgia-Italic");
  font-style: italic;
  size-adjust: 79.4%;
  ascent-override: 115.9%;
  descent-override: 36.5%;
  line-gap-override: 0%;
}


/* --------------------------------------------------------------------------
   2. Design-Variablen
   Kontraste gegen --c-papier: Text ≥ 4,5 : 1, große Schrift und Bedienelemente ≥ 3 : 1
   -------------------------------------------------------------------------- */
:root {
  --c-papier: #faf9f5;
  --c-sand: #f3efe8;
  --c-sand-tief: #e9e2d7;
  --c-leinen: #efe7dc;        /* Hintergrund der Pinnwand */
  --c-notiz: #f3e9db;         /* beige Notizzettel */
  --c-weiss: #ffffff;
  --c-espresso: #3b342d;      /* Text · 11,6 : 1 */
  --c-text-leise: #5a524a;    /* Nebentext · 7,3 : 1 */
  --c-bronze: #847262;        /* Deko, große Schrift · 4,4 : 1 */
  --c-bronze-tief: #6e5a4a;   /* Akzent für Text und Links · 6,2 : 1 */
  --c-kupfer-hell: #af9d8c;
  --c-stein: #7d7c78;

  --f-serif: "Cormorant Garamond", "Cormorant Ersatz", Georgia, serif;
  --f-sans: "Montserrat", "Montserrat Ersatz", "Segoe UI", system-ui, sans-serif;
  --f-hand: "Dancing Script", "Segoe Script", "Brush Script MT", cursive;

  --fs-klein: 0.9375rem;
  --fs-text: clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem);
  --fs-h2: clamp(2.125rem, 1.6rem + 2vw, 3.25rem);
  --lh-text: 1.75;
  --sperrung: 0.22em;

  --s-1: 0.5rem;
  --s-2: 0.75rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2rem;
  --s-6: 3rem;
  --s-sektion: clamp(4rem, 2.6rem + 5.5vw, 8rem);
  --rand: clamp(1rem, 0.4rem + 2.8vw, 2.75rem);
  --breite: 76rem;

  --radius: 0.75rem;
  --schatten: 0 1px 2px rgb(59 52 45 / 0.06), 0 14px 34px -18px rgb(59 52 45 / 0.35);
  --schatten-papier: 0 1px 1px rgb(59 52 45 / 0.08), 0 10px 22px -10px rgb(59 52 45 / 0.38);
  --linie: 1px solid var(--c-sand-tief);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --kopf: 4.5rem;
}


/* --------------------------------------------------------------------------
   3. Basis und Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--kopf) + 0.5rem);
}

body {
  margin: 0;
  background: var(--c-papier);
  color: var(--c-espresso);
  font-family: var(--f-sans);
  font-size: var(--fs-text);
  line-height: var(--lh-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
svg { display: block; max-width: 100%; height: auto; }
picture { display: block; }
/* Fotos, die ihren Rahmen ausfüllen (Startbild, Wolken-Ausschnitte) */
.start__bild picture,
.wolke picture { height: 100%; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"],
ol[role="list"] { list-style: none; padding: 0; }
address { font-style: normal; }

[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--s-3);
  top: -100px;
  z-index: 100;
  padding: var(--s-2) var(--s-4);
  background: var(--c-espresso);
  color: var(--c-papier);
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: var(--s-3); }

:focus-visible {
  outline: 3px solid var(--c-bronze-tief);
  outline-offset: 3px;
  border-radius: 4px;
}

a { color: var(--c-bronze-tief); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--c-espresso); text-decoration-thickness: 2px; }

.tel { white-space: nowrap; }
/* E-Mail-Adressen dürfen nur am @ umbrechen (<wbr> im HTML) */
.mail > span { display: inline-block; white-space: nowrap; }


/* --------------------------------------------------------------------------
   4. Typografie und Bausteine
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 2 * var(--rand), var(--breite));
  margin-inline: auto;
}

.sektion { position: relative; padding-block: var(--s-sektion); }
.sektion--sand { background: var(--c-sand); }

/* Kleine gesperrte Zeile über der Überschrift („ÜBER UNS“) */
.eyebrow {
  margin-bottom: var(--s-3);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: var(--sperrung);
  text-transform: uppercase;
  color: var(--c-bronze-tief);
}

.titel {
  margin-bottom: var(--s-4);
  font-family: var(--f-serif);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.005em;
  color: var(--c-espresso);
  text-wrap: balance;
  overflow-wrap: break-word;
}
/* kurze Bronze-Linie unter der Überschrift, wie im Entwurf */
.titel::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 1px;
  margin-top: var(--s-4);
  background: var(--c-bronze);
}
.titel--ohne-linie::after { content: none; }

.text-leise { color: var(--c-text-leise); }
.klein { font-size: var(--fs-klein); line-height: 1.65; }
p + p { margin-top: var(--s-3); }

/* Akzentsatz in Antiqua („Modern ausgestattet. Menschlich geblieben.“) */
.akzent {
  font-family: var(--f-serif);
  font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.125rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--c-bronze-tief);
}

/* Handschrift */
.hand {
  font-family: var(--f-hand);
  font-weight: 500;
  line-height: 1.15;
  color: var(--c-espresso);
}

/* Link mit Pfeil („MEHR ERFAHREN →“) */
.pfeil-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--c-bronze-tief);
  cursor: pointer;
}
.pfeil-link__text {
  padding-bottom: 0.2rem;
  border-bottom: 1px solid currentColor;
}
.pfeil-link .icon { width: 1.4rem; height: 1.4rem; transition: transform 200ms ease; }
.pfeil-link:hover { color: var(--c-espresso); }
.pfeil-link:hover .icon { transform: translateX(4px); }
.pfeil-link[aria-expanded="true"] .icon { transform: rotate(90deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn .icon { width: 1.25rem; height: 1.25rem; }
.btn--primaer { background: var(--c-bronze-tief); color: var(--c-weiss); }
.btn--primaer:hover { background: var(--c-espresso); color: var(--c-weiss); }
.btn--sekundaer { color: var(--c-espresso); border-color: var(--c-stein); }
.btn--sekundaer:hover { border-color: var(--c-espresso); background: var(--c-weiss); color: var(--c-espresso); }

/* Linien-Icons aus dem SVG-Sprite */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Icon im hellen Kreis (Kennzahlen, Leistungen) */
.icon-kreis {
  display: grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--c-sand);
  color: var(--c-bronze-tief);
}
.icon-kreis .icon { width: 1.45rem; height: 1.45rem; }

/* Fotos mit weichen, wolkigen Rändern (Maske als SVG, ohne Unterstützung: normales Foto) */
.wolke img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask: url("../img/wolke.svg") center / 100% 100% no-repeat;
  mask: url("../img/wolke.svg") center / 100% 100% no-repeat;
}


/* --------------------------------------------------------------------------
   5. Kopfbereich und Navigation
   Logo wie das Original: Zahn, darunter ZAHNARZTPRAXIS / MÜDEN / — AN DER ALLER —
   Mobil: Zahn links neben der Wortmarke, Menü zum Aufklappen.
   Ab 64em: Navigation in einer Zeile. Der Kopf ist fest oben und wird beim Scrollen
   flacher (der Zahn blendet sich aus), ohne dass der Inhalt springt.
   -------------------------------------------------------------------------- */
.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(250 249 245 / 0.96);
  border-bottom: var(--linie);
}
@supports (backdrop-filter: blur(1px)) {
  .kopf { background: rgb(250 249 245 / 0.88); backdrop-filter: blur(10px); }
}
.kopf__innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.6rem;
  min-height: var(--kopf);
}

/* Logo */
.marke {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: auto;
  padding-block: 0.55rem;
  color: var(--c-espresso);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.marke:hover { color: var(--c-espresso); }
.marke__zeichen { width: auto; height: 2.3rem; }
.marke__text { display: grid; justify-items: center; gap: 0.3rem; }
/* letter-spacing hängt auch hinter dem letzten Buchstaben an, der negative Rand gleicht das beim Zentrieren aus */
.marke__praxis {
  font-family: var(--f-serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-right: -0.08em;
  text-transform: uppercase;
}
.marke__ort {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  margin-right: -0.34em;
  text-transform: uppercase;
  color: var(--c-bronze-tief);
}
.marke__zusatz {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-text-leise);
}
.marke__zusatz::before,
.marke__zusatz::after {
  content: "";
  width: 1rem;
  height: 1px;
  background: var(--c-stein);
}

/* Telefon und Menü (mobil) */
.kopf__anruf,
.menue-schalter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex: none;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.8rem;
  border: 1.5px solid var(--c-stein);
  border-radius: 999px;
  background: transparent;
  color: var(--c-espresso);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.kopf__anruf { padding: 0; }
.kopf__anruf .icon,
.menue-schalter .icon { width: 1.3rem; height: 1.3rem; }
.menue-schalter .icon-zu { display: none; }
.menue-schalter[aria-expanded="true"] .icon-auf { display: none; }
.menue-schalter[aria-expanded="true"] .icon-zu { display: block; }
/* Ohne JavaScript ist die Navigation immer sichtbar (mobil dann nicht mitlaufend, sonst verdeckt sie zu viel) */
html:not(.js) .menue-schalter { display: none; }
@media (max-width: 63.99em) {
  html:not(.js) .kopf { position: relative; }
}

/* Mobil: Navigation als Zeile unter Logo, Telefon und Menü-Schalter */
.navi { order: 10; flex-basis: 100%; }
.js .navi { display: none; }
.js .navi.ist-offen { display: block; }
.navi__liste {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  margin: 0;
  padding: 0 0 var(--s-2);
  list-style: none;
}
.js .navi__liste { flex-direction: column; padding-bottom: var(--s-3); }
.navi__link {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--c-espresso);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.js .navi__link { min-height: 3rem; border-bottom: var(--linie); font-size: 0.9375rem; }
.navi__link:hover,
.navi__link[aria-current] { color: var(--c-bronze-tief); }

/* Schmale Handys: Menü-Schalter nur als Symbol (Beschriftung bleibt für Screenreader) */
@media (max-width: 29.99em) {
  .menue-schalter { padding: 0; }
  .menue-schalter span {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }
}
@media (max-width: 22.49em) {
  .kopf__innen { column-gap: 0.5rem; }
  .marke { gap: 0.45rem; }
  .marke__zeichen { height: 1.8rem; }
  .marke__praxis { font-size: 0.8rem; letter-spacing: 0.06em; margin-right: -0.06em; }
}

@media (min-width: 64em) {
  :root { --kopf: 6.25rem; --kopf-kompakt: 4.25rem; }
  html { scroll-padding-top: calc(var(--kopf-kompakt) + 0.75rem); }
  body { padding-top: var(--kopf); }
  .kopf { position: fixed; left: 0; right: 0; }
  .kopf__innen {
    flex-wrap: nowrap;
    gap: var(--s-5);
    height: var(--kopf);
    min-height: 0;
    transition: height 250ms var(--ease);
  }
  .kopf.ist-kompakt .kopf__innen { height: var(--kopf-kompakt); }
  .marke { flex-direction: column; gap: 0.3rem; padding-block: 0; }
  .marke__zeichen { height: 2.2rem; transition: height 250ms var(--ease), opacity 200ms ease; }
  .kopf.ist-kompakt .marke__zeichen { height: 0; opacity: 0; }
  .marke__praxis { font-size: 1.05rem; }
  .marke__ort { font-size: 0.75rem; }
  .marke__zusatz { font-size: 0.5625rem; }
  .marke__zusatz::before,
  .marke__zusatz::after { width: 1.3rem; }
  .kopf__anruf,
  .menue-schalter { display: none; }
  .navi,
  .js .navi { display: block; order: 0; flex-basis: auto; }
  .navi__liste,
  .js .navi__liste { flex-direction: row; flex-wrap: nowrap; gap: clamp(1.25rem, 0.1rem + 1.9vw, 2.6rem); padding: 0; }
  .navi__link,
  .js .navi__link {
    position: relative;
    min-height: 2.75rem;
    border-bottom: 0;
    font-size: 0.75rem;
  }
  .navi__link::after {
    content: "";
    position: absolute;
    left: 0; right: 0.16em; bottom: 0.45rem;
    height: 1px;
    background: var(--c-bronze);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms var(--ease);
  }
  .navi__link:hover::after,
  .navi__link[aria-current]::after { transform: scaleX(1); }
}


/* --------------------------------------------------------------------------
   6. Start: Foto der Anmeldung, Logo-Animation, Claim
   Mobil: Foto oben, läuft nach unten ins Papier aus, Text darunter.
   Ab 56em: Foto rechts in seinem eigenen Seitenverhältnis (nichts wird vergrößert
   oder abgeschnitten), läuft wolkig nach links und unten aus. Text liegt links davor.
   -------------------------------------------------------------------------- */
.start { position: relative; isolation: isolate; }
.start__bild {
  aspect-ratio: 965 / 954;
  max-height: 72vh;
  width: 100%;
}
.start__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  -webkit-mask-image: linear-gradient(#000 60%, transparent 97%);
  mask-image: linear-gradient(#000 60%, transparent 97%);
}
.start__text {
  position: relative;
  margin-top: -3.5rem;
  padding-bottom: var(--s-3);
  text-align: center;
}
.start__inhalt { display: grid; justify-items: center; }
.start__logo {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
}
.zahn { width: clamp(6.5rem, 4rem + 9vw, 9.5rem); margin-bottom: 0.4rem; }

/* Wortmarke wie im Logo: ZAHNARZTPRAXIS / MÜDEN / — AN DER ALLER — */
.wortmarke { display: grid; justify-items: center; gap: 0.35rem; }
.wortmarke__praxis {
  font-family: var(--f-serif);
  font-size: clamp(1.75rem, 1.2rem + 2.3vw, 2.9rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.07em;
  margin-right: -0.07em;
  text-transform: uppercase;
}
.wortmarke__ort {
  font-family: var(--f-sans);
  font-size: clamp(1.125rem, 0.9rem + 0.9vw, 1.6rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.32em;
  margin-right: -0.32em;
  text-transform: uppercase;
  color: var(--c-bronze-tief);
}
.wortmarke__zusatz {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--f-sans);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-text-leise);
}
.wortmarke__zusatz::before,
.wortmarke__zusatz::after {
  content: "";
  width: clamp(2rem, 1rem + 4vw, 4.5rem);
  height: 1px;
  background: var(--c-stein);
}
.start__claim {
  display: block;
  margin-top: clamp(1.75rem, 1rem + 2.5vw, 3rem);
  font-family: var(--f-serif);
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--c-espresso);
  text-wrap: balance;
}
.start__claim::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 1px;
  margin: var(--s-4) auto 0;
  background: var(--c-bronze);
}
.start__aktionen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-2) var(--s-4);
  margin-top: var(--s-4);
}
.start__anruf {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  font-weight: 600;
  text-decoration: none;
}
.start__anruf .icon { width: 1.25rem; height: 1.25rem; }

@media (min-width: 56em) {
  .start {
    display: flex;
    align-items: center;
    min-height: clamp(34rem, calc(100vh - var(--kopf)), 46rem);
  }
  /* Foto ragt unten etwas in den nächsten Abschnitt, dort läuft es aus (der Tresen bleibt ganz sichtbar) */
  .start__bild {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: calc(100% + 4rem);
    max-width: 70%;
    max-height: none;
    z-index: -1;
  }
  /* Wolkige Form (SVG) und zusätzlich ein breiter, weicher Verlauf nach links */
  .start__bild img {
    -webkit-mask-image: url("../img/wolke-start.svg"), linear-gradient(to right, transparent, #000 48%);
    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-composite: source-in;
    mask-image: url("../img/wolke-start.svg"), linear-gradient(to right, transparent, #000 48%);
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    mask-composite: intersect;
  }
  /* weiche, unscharfe Zweige vorne links – wie die Pflanze im Entwurf */
  .start::before {
    content: "";
    position: absolute;
    left: -3rem;
    bottom: -2rem;
    width: 15rem;
    height: 34rem;
    background: url("../img/deko/eukalyptus.svg") left bottom / contain no-repeat;
    filter: blur(5px);
    opacity: 0.45;
    pointer-events: none;
  }
  .start__text {
    margin-top: 0;
    padding-block: var(--s-6);
    text-align: left;
  }
  /* Logo-Block und Claim beginnen an derselben linken Kante (wie im Entwurf) */
  .start__inhalt { justify-items: start; max-width: 36rem; }
  .start__claim::after { margin-left: 0; }
  .start__aktionen { justify-content: flex-start; }
}



/* --------------------------------------------------------------------------
   7. Über uns
   -------------------------------------------------------------------------- */
.ueber__raster {
  display: grid;
  gap: var(--s-5);
}
.ueber__rechts { display: grid; gap: var(--s-5); align-content: start; }

.kennzahlen {
  display: grid;
  gap: var(--s-4);
  margin-top: clamp(3rem, 2rem + 3vw, 5rem);
}
.kennzahl {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  text-align: center;
}
.kennzahl .icon-kreis { margin-bottom: 0.6rem; }
.kennzahl__wert {
  font-family: var(--f-serif);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
}
.kennzahl__text { font-size: var(--fs-klein); color: var(--c-text-leise); }

@media (min-width: 48em) {
  .kennzahlen { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .kennzahl + .kennzahl { border-left: var(--linie); }
}
@media (min-width: 56em) {
  .ueber__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(3rem, 1rem + 5vw, 7rem); }
  .ueber__rechts { padding-top: 2.6rem; }
}


/* --------------------------------------------------------------------------
   8. Zahnmedizin
   -------------------------------------------------------------------------- */
.zahnmedizin {
  background: linear-gradient(180deg, var(--c-sand) 0%, #f1ebe2 100%);
}
.zahnmedizin__raster {
  display: grid;
  gap: var(--s-5);
  align-items: center;
}
.zahnmedizin__text .pfeil-link { margin-top: var(--s-4); }
/* Die Wolkenmaske lässt rundum etwa ein Achtel frei, deshalb ist der Bildrahmen größer als die Spalte */
.zahnmedizin__bild {
  aspect-ratio: 1 / 0.88;
  margin-inline: calc(-1 * var(--rand));
}

.leistungen {
  display: grid;
  gap: var(--s-4);
}
.leistung {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.leistung .icon-kreis { background: var(--c-papier); }
.leistung__titel {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}
.leistung__zeile {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--c-text-leise);
}

/* Ausklappbare Erklärungen („Mehr erfahren“) */
.behandlungen {
  display: grid;
  gap: var(--s-4);
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
.behandlung {
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.72);
  box-shadow: var(--schatten);
}
.behandlung h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-family: var(--f-serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}
.behandlung h3 .icon { width: 1.4rem; height: 1.4rem; color: var(--c-bronze-tief); }
.behandlung p { font-size: var(--fs-klein); line-height: 1.7; color: var(--c-text-leise); }
.behandlungen.ist-neu { animation: einblenden 400ms var(--ease) both; }
@keyframes einblenden { from { opacity: 0; transform: translateY(-8px); } }

@media (min-width: 40em) and (max-width: 63.99em) {
  .leistungen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 48em) {
  .behandlungen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64em) {
  .zahnmedizin__raster { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) minmax(0, 0.95fr); gap: clamp(1.5rem, 0.5rem + 2vw, 3rem); }
  .zahnmedizin__bild { margin-inline: -3.5rem; }
  .behandlungen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* --------------------------------------------------------------------------
   9. Was uns ausmacht
   -------------------------------------------------------------------------- */
.werte {
  overflow: clip;
  background: linear-gradient(100deg, var(--c-papier) 30%, #f2ece3 100%);
}
.werte__raster {
  position: relative;
  display: grid;
  gap: var(--s-5);
}
.werte__mitte { display: grid; gap: var(--s-4); align-content: start; }
.zitat {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  border-radius: 0.25rem;
  background: rgb(233 226 215 / 0.65);
}
.zitat .icon { width: 2.6rem; height: 2.6rem; color: var(--c-bronze); stroke-width: 1.2; }
.zitat p {
  font-family: var(--f-serif);
  font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.75rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
  color: var(--c-text-leise);
}
.werte__zweig {
  display: none;
}

@media (min-width: 56em) {
  .werte__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2.5rem, 1rem + 4vw, 5rem); }
  .werte__mitte { padding-top: 2.6rem; }
}
@media (min-width: 72em) {
  .werte__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr) 11rem; }
  .werte__zweig {
    display: block;
    align-self: center;
    width: 11rem;
    margin-block: -3rem;
    opacity: 0.9;
  }
}


/* --------------------------------------------------------------------------
   10. Team und Pinnwand
   -------------------------------------------------------------------------- */
.team__raster {
  display: grid;
  gap: var(--s-5);
  align-items: center;
}
.team__text .pfeil-link { margin-top: var(--s-4); }
.team__bild {
  aspect-ratio: 1 / 0.86;
  margin-inline: calc(-1 * var(--rand));
}
@media (min-width: 56em) {
  .team__raster { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .team__bild { margin-inline: -2.5rem calc(-1 * var(--rand)); }   /* rechts genau bis zum Fensterrand */
}

/* Die Pinnwand: Leinenpapier mit feiner Struktur */
.pinnwand {
  position: relative;
  margin-top: clamp(3rem, 2rem + 4vw, 6rem);
  padding: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(1rem, 0.2rem + 3.5vw, 4rem) clamp(2.5rem, 1.5rem + 4vw, 5rem);
  border-radius: 0.375rem;
  background: url("../img/deko/papier.svg"), var(--c-leinen);
  box-shadow: inset 0 0 0 1px rgb(110 90 74 / 0.08), var(--schatten);
  overflow: clip;
  isolation: isolate;
}
/* Zweige am Rand */
.pinnwand::before,
.pinnwand::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.pinnwand::before {
  right: -2.5rem;
  top: 28%;
  width: 9rem;
  height: 22rem;
  background: url("../img/deko/eukalyptus.svg") center / contain no-repeat;
  opacity: 0.85;
  transform: rotate(-8deg);
}
.pinnwand::after {
  left: -1rem;
  bottom: -1rem;
  width: 10rem;
  height: 14rem;
  background: url("../img/deko/schleierkraut.svg") left bottom / contain no-repeat;
  opacity: 0.9;
}

.pinnwand__abschnitt + .pinnwand__abschnitt { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }

/* Überschriften auf der Pinnwand in Handschrift */
.pinnwand__titel {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: clamp(1.75rem, 1rem + 2vw, 3rem);
  font-family: var(--f-hand);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--c-espresso);
  transform: rotate(-2deg);
  transform-origin: left center;
}
.pinnwand__titel .herz { width: 1.9rem; height: 1.9rem; }

.herz {
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  vertical-align: -0.1em;
  fill: none;
  stroke: var(--c-bronze-tief);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Neigung der Zettel und Fotos */
.neig-1 { --neig: -2.2deg; }
.neig-2 { --neig: 1.6deg; }
.neig-3 { --neig: -1deg; }
.neig-4 { --neig: 2.4deg; }
.neig-5 { --neig: 0.6deg; }
.neig-6 { --neig: -3deg; }

/* Polaroid */
.polaroid,
.notiz {
  position: relative;
  transform: rotate(var(--neig, 0deg));
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.polaroid {
  padding: 0.75rem 0.75rem 0;
  background: var(--c-weiss);
  box-shadow: var(--schatten-papier);
}
.polaroid img { width: 100%; height: auto; }
.polaroid figcaption {
  padding: 0.7rem 0.2rem 0.95rem;
}
.polaroid__zeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: var(--f-hand);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--c-espresso);
}
.polaroid__text {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--c-text-leise);
}

/* Pinnnadel (Standard) */
.polaroid::before,
.notiz::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -0.5rem;
  left: 50%;
  width: 1.15rem;
  height: 1.15rem;
  margin-left: -0.575rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #c9a483 0 18%, #8a6648 45%, #5b412e 100%);
  box-shadow: 0 2px 3px rgb(40 28 20 / 0.35);
}
/* Klebestreifen statt Nadel */
.klebe::before {
  top: -0.8rem;
  width: 5.5rem;
  height: 1.6rem;
  margin-left: -2.75rem;
  border-radius: 1px;
  background: rgb(232 222 204 / 0.82);
  box-shadow: 0 1px 2px rgb(40 28 20 / 0.12);
  transform: rotate(-4deg);
}
/* Büroklammer */
.klammer::before { content: none; }
.klammer__bild {
  position: absolute;
  z-index: 2;
  top: -1.4rem;
  left: 1.5rem;
  width: 1.5rem;
  height: 3.6rem;
  fill: none;
  stroke: #8d8a85;
  stroke-width: 1.6;
  stroke-linecap: round;
}

/* Notizzettel */
.notiz {
  padding: clamp(1.4rem, 1.1rem + 1vw, 1.9rem) clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background: #fffdf9;
  box-shadow: var(--schatten-papier);
}
.notiz--beige { background: var(--c-notiz); }
.notiz h4 {
  margin-bottom: 0.7rem;
  font-family: var(--f-serif);
  font-size: clamp(1.45rem, 1.3rem + 0.5vw, 1.7rem);
  font-weight: 600;
  line-height: 1.15;
}
.notiz p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--c-text-leise);
}
.notiz__herz { position: absolute; right: 1rem; bottom: 0.9rem; }
.notiz--mit-herz { padding-bottom: 2.6rem; }
.notiz__bild {
  float: right;
  width: 5.5rem;
  margin: -0.5rem -0.4rem 0.4rem 0.6rem;
}
.notiz__icon {
  float: right;
  width: 2.2rem;
  height: 2.2rem;
  margin: -0.2rem 0 0.4rem 0.6rem;
  color: var(--c-espresso);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .polaroid:hover,
  .notiz:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 0 2px 3px rgb(59 52 45 / 0.08), 0 22px 36px -16px rgb(59 52 45 / 0.42);
    z-index: 3;
  }
}

/* Einleitungszettel und Behandler */
.pinnwand__einstieg {
  display: grid;
  gap: var(--s-5);
  align-items: center;
}
.pinnwand__einstieg .notiz { max-width: 40rem; }
.notiz--gross h3 {
  margin-bottom: var(--s-3);
  font-family: var(--f-serif);
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
}
.notiz--gross p { font-size: var(--fs-klein); }
.notiz--gross .pfeil-link { margin-top: var(--s-2); letter-spacing: 0.06em; text-transform: none; font-size: 0.9375rem; }
.hand-notiz {
  font-family: var(--f-hand);
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem);
  line-height: 1.15;
  color: var(--c-bronze-tief);
  transform: rotate(-4deg);
  text-align: center;
  text-wrap: balance;
}

.behandler {
  display: grid;
  gap: clamp(2.5rem, 2rem + 2vw, 3.5rem) clamp(1.5rem, 1rem + 2vw, 3rem);
  max-width: 64rem;
  margin-inline: auto;
}
.behandler .polaroid { max-width: 22rem; margin-inline: auto; }
.behandler__rolle {
  margin-top: 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-bronze-tief);
}

/* Geschichten: Spalten wie auf einer echten Pinnwand (Reihenfolge = Lesereihenfolge je Spalte) */
.geschichten {
  columns: 3 17rem;
  column-gap: clamp(1.75rem, 1rem + 2.5vw, 3.25rem);
}
.geschichten > li {
  break-inside: avoid;
  padding-top: 0.9rem;
  margin-bottom: clamp(1.75rem, 1.2rem + 1.5vw, 2.75rem);
}
.geschichten .polaroid,
.geschichten .notiz { margin-inline: auto; max-width: 24rem; }

.pinnwand__schluss {
  display: grid;
  gap: var(--s-3);
  justify-items: center;
  margin-top: var(--s-4);
  text-align: center;
}

@media (min-width: 48em) {
  .pinnwand__einstieg { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .behandler { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pinnwand__schluss { grid-template-columns: 1fr 1fr; align-items: end; }
}


/* --------------------------------------------------------------------------
   11. Karriere
   -------------------------------------------------------------------------- */
.karriere__raster {
  display: grid;
  gap: var(--s-6) clamp(3rem, 1rem + 5vw, 6rem);
}
.karriere__text .titel { margin-bottom: var(--s-4); }
.karriere__hinweis {
  margin-top: var(--s-5);
  padding: var(--s-4) var(--s-4) var(--s-4) var(--s-5);
  border-left: 2px solid var(--c-bronze);
  background: rgb(255 255 255 / 0.6);
}
.karriere__hinweis h3 {
  margin-bottom: 0.4rem;
  font-family: var(--f-serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}
.karriere__hinweis .btn { margin-top: var(--s-4); }
.vorteile {
  display: grid;
  gap: var(--s-4) var(--s-5);
  align-content: start;
}
.vorteil {
  display: flex;
  gap: var(--s-3);
}
.vorteil .icon-kreis { background: var(--c-papier); }
.vorteil h4 { font-size: 1rem; font-weight: 600; line-height: 1.35; padding-top: 0.2rem; }
.vorteil p { font-size: var(--fs-klein); line-height: 1.6; color: var(--c-text-leise); }
@media (min-width: 40em) {
  .vorteile { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64em) {
  .karriere__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }
  .vorteile { padding-top: 2.6rem; }
}


/* --------------------------------------------------------------------------
   12. Kontakt
   -------------------------------------------------------------------------- */
.kontakt { background: #f6f2ec; border-top: var(--linie); }
.kontakt__raster {
  display: grid;
  gap: var(--s-6) var(--s-5);
}
.kontakt__wege { display: grid; gap: 0.35rem; margin-top: var(--s-4); }
.kontakt__wege a { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; text-decoration: none; color: var(--c-espresso); }
.kontakt__wege a:hover { color: var(--c-bronze-tief); }
.kontakt__wege .icon { width: 1.25rem; height: 1.25rem; color: var(--c-bronze-tief); }
.kontakt__adresse { margin-top: var(--s-4); color: var(--c-text-leise); }
.kontakt__karte { margin-top: var(--s-3); }

.zeiten__titel {
  margin-bottom: var(--s-4);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: var(--sperrung);
  text-transform: uppercase;
  color: var(--c-bronze-tief);
}
.zeiten { display: grid; gap: var(--s-4); }
.zeiten__zeile {
  padding: 0.6rem 0.75rem;
  margin-inline: -0.75rem;
  border-radius: 0.5rem;
}
.zeiten dt { font-weight: 600; }
.zeiten dd { color: var(--c-text-leise); font-variant-numeric: tabular-nums; }
.zeiten__zeile.ist-heute { background: var(--c-weiss); box-shadow: inset 3px 0 0 var(--c-bronze); }
.heute-markierung {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-bronze-tief);
}

/* Live-Status: geöffnet (grün), Mittagspause (bernstein), geschlossen (rot).
   Ohne JavaScript bleibt nur die Liste der Zeiten, im Startbereich stehen dann die Sprechzeiten. */
.live {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: var(--s-3);
  padding: 0.8rem 1rem;
  border: 1px solid var(--c-sand-tief);
  border-radius: 0.75rem;
  background: var(--c-weiss);
  color: var(--c-espresso);
  line-height: 1.4;
}
.live__punkt {
  position: relative;
  width: 0.8rem;
  height: 0.8rem;
  flex: none;
  border-radius: 50%;
  background: var(--c-stein);
}
.live__titel { display: block; font-weight: 700; }
.live__detail { display: block; font-size: var(--fs-klein); color: var(--c-text-leise); }
.live[data-zustand="offen"] { background: #e8f2ea; border-color: #c4dccb; }
.live[data-zustand="offen"] .live__punkt { background: #2e7d4f; }
.live[data-zustand="offen"] .live__titel { color: #1f5e38; }
.live[data-zustand="pause"] { background: #f8efdc; border-color: #e6d3a8; }
.live[data-zustand="pause"] .live__punkt { background: #b4791f; }
.live[data-zustand="pause"] .live__titel { color: #774c0b; }
.live[data-zustand="zu"] { background: #f7e9e6; border-color: #e6c8c1; }
.live[data-zustand="zu"] .live__punkt { background: #b2463a; }
.live[data-zustand="zu"] .live__titel { color: #8a2f25; }
html:not(.js) .live:not(.live--klein),
html:not(.js) .leiste { display: none; }

/* Kleine Variante im Startbereich (Link zum Kontakt) */
.live--klein {
  display: inline-flex;
  gap: 0.6rem;
  margin: 0;
  padding: 0.5rem 1rem 0.5rem 0.85rem;
  border-radius: 1.25rem;
  font-size: 0.9375rem;
  text-decoration: none;
  text-align: left;
}
.live--klein:hover { color: var(--c-espresso); border-color: var(--c-stein); }
.live--klein .live__punkt { width: 0.65rem; height: 0.65rem; }
.live--klein .live__titel,
.live--klein .live__detail { display: inline; font-size: inherit; }
.live--klein .live__titel::after { content: " ·"; font-weight: 400; color: var(--c-text-leise); }

@media (prefers-reduced-motion: no-preference) {
  .live[data-zustand="offen"] .live__punkt::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #2e7d4f;
    animation: puls 2.4s ease-out infinite;
  }
}
@keyframes puls {
  from { transform: scale(1); opacity: 0.55; }
  to { transform: scale(2.6); opacity: 0; }
}

/* Tagesleiste: Zeitblöcke von heute zwischen 7 und 19 Uhr, Strich bei „jetzt“ */
.leiste { display: block; margin: 1.6rem 0 var(--s-4); }
.leiste__spur {
  position: relative;
  display: block;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--c-sand-tief);
}
.leiste__block {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: var(--c-kupfer-hell);
}
.leiste__block.ist-jetzt { background: var(--c-bronze-tief); }
.leiste__jetzt {
  position: absolute;
  top: -0.35rem;
  bottom: -0.35rem;
  width: 2px;
  margin-left: -1px;
  border-radius: 1px;
  background: var(--c-espresso);
}
.leiste__jetzt::before {
  content: "jetzt";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-bottom: 0.15rem;
  transform: translateX(-50%);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--c-espresso);
}
.leiste__skala {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-size: 0.6875rem;
  color: var(--c-text-leise);
  font-variant-numeric: tabular-nums;
}

@media (min-width: 56em) {
  .kontakt__raster { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); }
  .zeiten-block { padding-top: 0.4rem; }
}


/* --------------------------------------------------------------------------
   13. Fußbereich
   -------------------------------------------------------------------------- */
.fuss {
  padding-block: var(--s-5);
  border-top: var(--linie);
  background: #f6f2ec;
  font-size: 0.8125rem;
}
.fuss__innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3) var(--s-5);
}
.fuss__marke,
.fuss__claim,
.fuss__links a {
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.fuss__marke { color: var(--c-bronze-tief); }
.fuss__claim { color: var(--c-text-leise); font-weight: 500; }
.fuss__links { display: flex; flex-wrap: wrap; gap: 0 var(--s-4); margin: 0; padding: 0; list-style: none; }
.fuss__links a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--c-text-leise); text-decoration: none; font-weight: 500; }
.fuss__links a:hover { color: var(--c-espresso); text-decoration: underline; }
@media (max-width: 47.99em) {
  .fuss__innen { flex-direction: column; text-align: center; }
}


/* --------------------------------------------------------------------------
   14. Rechtstexte und Fehlerseite
   -------------------------------------------------------------------------- */
.seitenkopf { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) var(--s-5); }
.seitenkopf h1 {
  font-family: var(--f-serif);
  font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem);
  font-weight: 500;
  line-height: 1.08;
  overflow-wrap: break-word;
  hyphens: manual;
}
.seitenkopf .lead { margin-top: var(--s-4); max-width: 44rem; font-size: 1.1875rem; color: var(--c-text-leise); }

.rechtstext {
  max-width: 48rem;
  padding-bottom: var(--s-sektion);
}
.rechtstext h2 {
  margin: var(--s-6) 0 var(--s-3);
  font-family: var(--f-serif);
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  font-weight: 600;
  line-height: 1.15;
}
.rechtstext h3 { margin: var(--s-5) 0 var(--s-2); font-size: 1.0625rem; font-weight: 600; }
.rechtstext p,
.rechtstext ul,
.rechtstext address,
.rechtstext dl { margin-top: var(--s-3); }
.rechtstext ul { padding-left: 1.25rem; }
.rechtstext li + li { margin-top: 0.4rem; }
.rechtstext dl { display: grid; gap: 0.25rem 1.5rem; }
.rechtstext dt { font-weight: 600; }
.rechtstext dd + dt { margin-top: 0.6rem; }
.rechtstext .hinweis {
  margin-top: var(--s-4);
  padding: var(--s-4);
  border-left: 2px solid var(--c-bronze);
  background: var(--c-sand);
}
.rechtstext .hinweis h3 { margin-top: 0; }
.verzeichnis {
  padding: var(--s-4) var(--s-5);
  border-radius: var(--radius);
  background: var(--c-sand);
}
.verzeichnis h2 { margin-top: 0; font-size: 1.5rem; }
.verzeichnis ol { padding-left: 1.25rem; }
.stand { margin-top: var(--s-6); font-size: var(--fs-klein); color: var(--c-text-leise); }
@media (min-width: 40em) {
  .rechtstext dl { grid-template-columns: 13rem minmax(0, 1fr); }
  .rechtstext dd + dt { margin-top: 0; }
}

/* Fehlerseite 404 */
.fehler {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 12rem);
  padding-block: var(--s-6);
  text-align: center;
}
.fehler__inhalt { max-width: 36rem; display: grid; justify-items: center; gap: var(--s-3); }
.fehler__zahn { width: 7rem; }
.fehler h1 {
  font-family: var(--f-serif);
  font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
}
.fehler__hand { font-family: var(--f-hand); font-size: 1.75rem; color: var(--c-bronze-tief); transform: rotate(-3deg); }
.fehler .btn { margin-top: var(--s-3); }


/* --------------------------------------------------------------------------
   Logo-Animation im Startbereich (aus v1 übernommen)
   Die Welle fließt ins Bild, die Zahnhälften zeichnen sich, ein Glanz streicht
   einmal darüber. Danach Stillstand. Ohne Animation ist alles sofort sichtbar.
   -------------------------------------------------------------------------- */
.zahn .zeichnen { stroke-dasharray: 1 2; stroke-dashoffset: 0; }
.zahn .glanz { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .zahn .zeichnen {
    stroke-dashoffset: 1;
    animation: zahn-zeichnen var(--dauer-z, 2s) var(--ease) var(--start-z, 0s) forwards;
  }
  .zahn .zeichnen--welle  { --dauer-z: 1.6s; --start-z: 0.2s; }
  .zahn .zeichnen--links  { --dauer-z: 2.1s; --start-z: 0.55s; }
  .zahn .zeichnen--rechts { --dauer-z: 1.8s; --start-z: 0.85s; }
  .zahn .glanz { animation: zahn-glanz 1.5s cubic-bezier(0.45, 0, 0.2, 1) 2.75s both; }
  .zahn.glanz-nochmal .glanz { animation: zahn-glanz-2 1.3s cubic-bezier(0.45, 0, 0.2, 1) 0s both; }
}
@keyframes zahn-zeichnen { to { stroke-dashoffset: 0; } }
@keyframes zahn-glanz {
  0%   { transform: translateX(-180px); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateX(640px); opacity: 0; }
}
@keyframes zahn-glanz-2 {
  0%   { transform: translateX(-180px); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateX(640px); opacity: 0; }
}


/* --------------------------------------------------------------------------
   15. Bewegung reduzieren, hoher Kontrast, Druck
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media (forced-colors: active) {
  .polaroid,
  .notiz,
  .behandlung { border: 1px solid CanvasText; }
  .wolke img,
  .start__bild img { -webkit-mask: none; mask: none; }
}

@media print {
  .kopf,
  .skip-link,
  .pinnwand::before,
  .pinnwand::after,
  .start::before { display: none !important; }
  body { background: #fff; }
  .js .navi { display: none; }
  .polaroid,
  .notiz { transform: none; box-shadow: none; border: 1px solid #ccc; }
}
