/* ==========================================================================
   Zahnärztliche Praxisgemeinschaft in der Borsigstraße – Stylesheet
   Mobile first. Farben als Tokens, Darkmode über prefers-color-scheme.
   Keine externen Ressourcen. Bildstil der Seite: weiche Verläufe in den
   Hintergrund (mask-image) und ein „Lächeln“ als Trenner zwischen Abschnitten.
   ========================================================================== */

@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-wght.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --grund: #f6fafa;
  --flaeche: #ffffff;
  --tint: #e6f3f3;
  --tint-stark: #d2eaea;
  --tinte: #14252e;
  --tinte-2: #435761;
  --linie: #d3e3e4;
  --petrol: #0b6b76;
  --petrol-dunkel: #08525b;
  --aqua: #3bafbf;
  --koralle: #f08a6c;
  --knopf: #0b6b76;
  --knopf-hover: #08525b;
  --knopf-text: #ffffff;
  --fokus: #e0572f;
  --logo-ende: #0b6b76;
  --st-offen: #178a50;
  --st-bald: #b57a0c;
  --st-zu: #c0473a;
  --fuss: #0a3d44;
  --fuss-text: #e4f3f4;
  --fuss-link: #bfeef2;
  --offen: #116b3d;
  --offen-grund: #e1f3e8;
  --bald: #7a5200;
  --bald-grund: #fdf0d5;
  --zu: #9b3426;
  --zu-grund: #fbe7e3;
  --schatten: 0 1px 2px rgb(20 37 46 / .06), 0 10px 28px -14px rgb(20 37 46 / .22);
  --radius: 1.25rem;
  --radius-k: .75rem;
  --breite: 72rem;
  --rand: 1rem;
  --abstand: clamp(3rem, 2rem + 4vw, 5.5rem);
  --schrift: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --schrift-titel: "Nunito", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --grund: #0e1a1f;
    --flaeche: #14242a;
    --tint: #152d35;
    --tint-stark: #1c3a43;
    --tinte: #e6eff0;
    --tinte-2: #a9bcc0;
    --linie: #29444c;
    --petrol: #6fd3de;
    --petrol-dunkel: #9be3ea;
    --aqua: #3bafbf;
    --koralle: #ff9f84;
    --knopf: #6fd3de;
    --knopf-hover: #9be3ea;
    --knopf-text: #0b1d22;
    --fokus: #ffb38a;
    --logo-ende: #6fd3de;
    --st-offen: #5fdc97;
    --st-bald: #f5c04e;
    --st-zu: #ff8a78;
    --fuss: #091418;
    --fuss-text: #d9e8ea;
    --fuss-link: #9be3ea;
    --offen: #86e2ae;
    --offen-grund: #12352a;
    --bald: #f6cd70;
    --bald-grund: #3a2e10;
    --zu: #ffa898;
    --zu-grund: #3b1d1a;
    --schatten: 0 1px 2px rgb(0 0 0 / .3), 0 12px 30px -16px rgb(0 0 0 / .6);
  }
}

/* -------------------------------------------------------------- Grundlagen */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font-family: var(--schrift);
  font-size: 1rem;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss03";
  overflow-wrap: break-word;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--schrift-titel);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 1.5rem + 2.4vw, 3.25rem); font-weight: 850; line-height: 1.07; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.35rem); }
p, ul, ol, dl, table { margin: 0 0 1.1em; }
p { text-wrap: pretty; }
a { color: var(--petrol); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--petrol-dunkel); text-decoration-thickness: .14em; }
strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--aqua); color: #0b1d22; }

.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;
}
.springen {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: .7rem 1.1rem;
  background: var(--knopf);
  color: var(--knopf-text);
  border-radius: var(--radius-k);
  font-weight: 650;
  text-decoration: none;
}
.springen:focus { top: 1rem; color: var(--knopf-text); }

.wrap { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.wrap--schmal { width: min(100% - 2 * var(--rand), 46rem); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* -------------------------------------------------------------- Knöpfe */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 3rem;
  padding: .7rem 1.35rem;
  border: 2px solid var(--knopf);
  border-radius: 999px;
  background: var(--knopf);
  color: var(--knopf-text);
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.knopf:hover { background: var(--knopf-hover); border-color: var(--knopf-hover); color: var(--knopf-text); }
.knopf:active { transform: translateY(1px); }
.knopf--zweit { background: transparent; color: var(--petrol); }
.knopf--zweit:hover { background: var(--tint); color: var(--petrol-dunkel); border-color: var(--petrol-dunkel); }
.knopf--klein { min-height: 2.5rem; padding: .45rem 1rem; font-size: .95rem; }
.knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.mehr {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 650;
  text-decoration: none;
}
.mehr .icon { transition: transform .2s; }
.mehr:hover .icon { transform: translateX(3px); }

/* -------------------------------------------------------------- Info-Leiste */
.leiste {
  background: var(--fuss);
  color: var(--fuss-text);
  font-size: .85rem;
  line-height: 1.3;
}
.leiste__innen {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 2.25rem;
}
.leiste p { margin: 0; }
.leiste a { color: var(--fuss-link); text-decoration: none; }
.leiste a:hover { color: #fff; text-decoration: underline; }
.leiste__ort, .leiste__tel { display: none; }
.statuszeile {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-width: 0;
  margin: 0;
}
.statuszeile__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Statusanzeige als Zahn: gefüllt = geöffnet, untere Hälfte gefüllt = schließt bald, Kontur = geschlossen */
.punkt {
  width: 1.05em; height: 1.05em;
  flex: none;
  overflow: visible;
  color: var(--aqua);
}
.punkt__fuellung { fill: currentColor; transition: opacity .3s; }
.punkt__kontur { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.punkt--offen { color: var(--st-offen); }
.punkt--bald { color: var(--st-bald); }
.punkt--bald .punkt__fuellung { -webkit-clip-path: inset(52% 0 0 0); clip-path: inset(52% 0 0 0); }
.punkt--zu { color: var(--st-zu); }
.punkt--zu .punkt__fuellung { opacity: 0; }
.leiste, .fuss { --st-offen: #5fdc97; --st-bald: #f5c04e; --st-zu: #ff8a78; }

/* -------------------------------------------------------------- Kopf */
.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--flaeche) 94%, transparent);
  border-bottom: 1px solid var(--linie);
}
.kopf__innen {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 4.25rem;
}
.marke {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-right: auto;
  color: var(--tinte);
  text-decoration: none;
  min-width: 0;
}
.marke:hover { color: var(--tinte); }
.marke__zeichen { width: 2.6rem; height: auto; flex: none; }
.zg1 { stop-color: var(--aqua); stop-opacity: .4; }
.zg2 { stop-color: var(--aqua); }
.zg3 { stop-color: var(--logo-ende); }
.zb { fill: var(--logo-ende); }
.marke__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.marke__name { font-family: var(--schrift-titel); font-weight: 800; font-size: .98rem; letter-spacing: -.01em; overflow-wrap: normal; }
.marke__zusatz { font-family: var(--schrift-titel); font-weight: 650; font-size: .82rem; color: var(--petrol); }
.kopf__tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem; height: 2.9rem;
  border-radius: 50%;
  background: var(--knopf);
  color: var(--knopf-text);
  flex: none;
}
.kopf__tel:hover { background: var(--knopf-hover); color: var(--knopf-text); }
.kopf__tel-nummer { display: none; }
.menue-knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  height: 2.9rem;
  padding: 0 .9rem;
  border: 2px solid var(--linie);
  border-radius: 999px;
  background: transparent;
  color: var(--tinte);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  flex: none;
}
.menue-knopf:hover { border-color: var(--petrol); color: var(--petrol); }
.menue-knopf .icon { width: 1.3rem; height: 1.3rem; }
@media (max-width: 29.99rem) {
  .kopf__innen { gap: .5rem; }
  .marke { gap: .45rem; }
  .marke__zeichen { width: 2.2rem; }
  .marke__name { font-size: .9rem; }
  .marke__zusatz { font-size: .78rem; }
  .menue-knopf { width: 2.9rem; padding: 0; }
  .menue-knopf [data-menue-text] {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
}

.nav { display: none; }
.nav:target, .nav.ist-offen {
  display: block;
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--flaeche);
  border-bottom: 1px solid var(--linie);
  box-shadow: var(--schatten);
  padding: .5rem var(--rand) 1.25rem;
  max-height: calc(100vh - 6.5rem);
  overflow-y: auto;
}
.nav__liste { list-style: none; margin: 0 auto; padding: 0; max-width: var(--breite); }
.nav__liste a {
  display: block;
  padding: .85rem .25rem;
  border-bottom: 1px solid var(--linie);
  color: var(--tinte);
  font-family: var(--schrift-titel);
  font-weight: 750;
  font-size: 1.15rem;
  text-decoration: none;
}
.nav__liste a:hover, .nav__liste a[aria-current], .nav__liste a.ist-aktiv { color: var(--petrol); }
.nav__schliessen { display: inline-block; margin-top: 1rem; font-weight: 650; }
.js .nav__schliessen { display: none; }

@media (min-width: 64rem) {
  .menue-knopf, .nav__schliessen { display: none; }
  .nav, .nav:target, .nav.ist-offen {
    display: block;
    position: static;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }
  .nav__liste { display: flex; gap: .25rem; }
  .nav__liste a {
    border: 0;
    padding: .5rem .75rem;
    border-radius: 999px;
    font-size: 1rem;
  }
  .nav__liste a:hover { background: var(--tint); }
  .nav__liste a[aria-current], .nav__liste a.ist-aktiv { background: var(--tint); }
  .kopf__tel { width: auto; padding: 0 1.1rem; gap: .5rem; border-radius: 999px; font-weight: 650; text-decoration: none; }
  .kopf__tel-nummer { display: inline; }
}

/* -------------------------------------------------------------- Startbild */
.held { position: relative; overflow: hidden; background: var(--grund); }
.held__bild img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 45% 40%;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 98%);
}
.held__innen { position: relative; padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); margin-top: -2.5rem; }
.held__text { max-width: 36rem; }
.held h1 span { display: block; color: var(--petrol); }
.held__einleitung { font-size: 1.08rem; color: var(--tinte-2); max-width: 34rem; }

.gruss {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 2.6rem;
  margin: 0 0 .6rem;
}
.gruss__wort {
  display: inline-block;
  font-family: var(--schrift-titel);
  font-weight: 800;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem);
  line-height: 1.3;
  color: var(--koralle);
  transition: opacity .35s ease, transform .35s ease;
}
.gruss__wort.ist-weg { opacity: 0; transform: translateY(.35em); }
.gruss__sprache {
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--tinte-2);
}
.gruss__pause {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  padding: 0;
  border: 1px solid var(--linie);
  border-radius: 50%;
  background: var(--flaeche);
  color: var(--tinte-2);
  cursor: pointer;
}
.gruss__pause:hover { color: var(--petrol); border-color: var(--petrol); }
.gruss__pause .icon { width: .9rem; height: .9rem; }

.sprachen { margin-top: 1.75rem; }
.sprachen__titel { font-weight: 650; margin-bottom: .5rem; font-size: .95rem; }
.sprachen__liste { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.sprachen__liste a {
  display: inline-flex;
  align-items: baseline;
  gap: .4em;
  padding: .35rem .8rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
  background: var(--flaeche);
  color: var(--tinte);
  font-size: .9rem;
  text-decoration: none;
}
.sprachen__liste a:hover { border-color: var(--petrol); color: var(--petrol); }
.sprachen__liste span { color: var(--tinte-2); font-size: .8rem; }
.sprachen__liste b { font-weight: 600; }

@media (min-width: 56rem) {
  .held { min-height: 36rem; display: flex; align-items: center; }
  .held__bild {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 52%;
  }
  .held__bild picture, .seitenkopf__bild picture { height: 100%; }
  .held__bild img {
    height: 100%;
    aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40%);
    mask-image: linear-gradient(to right, transparent 0, #000 40%);
  }
  .held__innen { margin-top: 0; padding-block: 4.5rem; width: min(100% - 2 * var(--rand), var(--breite)); }
  .held__text { max-width: 47%; }
}

/* -------------------------------------------------------------- Seitenkopf (Unterseiten) */
.seitenkopf { background: var(--tint); padding: clamp(2rem, 1.5rem + 2.5vw, 3.75rem) 0 1.5rem; }
.seitenkopf h1 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); margin-bottom: .4em; }
.seitenkopf__einleitung { font-size: 1.08rem; color: var(--tinte-2); max-width: 40rem; margin-bottom: 0; }
.seitenkopf__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem; height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: var(--flaeche);
  color: var(--petrol);
}
.seitenkopf__icon .icon { width: 2rem; height: 2rem; }
.seitenkopf--bild { position: relative; overflow: hidden; padding-bottom: 2rem; }
.seitenkopf__bild img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 50%, transparent 98%);
}
.seitenkopf--bild .wrap { position: relative; margin-top: -2rem; }
@media (min-width: 56rem) {
  .seitenkopf--bild { min-height: 24rem; display: flex; align-items: center; padding: 3.5rem 0; }
  .seitenkopf__bild { position: absolute; top: 0; right: 0; bottom: 0; width: 55%; }
  .seitenkopf__bild img {
    height: 100%;
    aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 45%);
    mask-image: linear-gradient(to right, transparent 0, #000 45%);
  }
  .seitenkopf--bild .wrap { margin-top: 0; }
  .seitenkopf--bild .seitenkopf__text { max-width: 44%; }
}

.brotkrumen { font-size: .88rem; margin-bottom: 1rem; color: var(--tinte-2); }
.brotkrumen ol { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; padding: 0; margin: 0; }
.brotkrumen li + li::before { content: "›"; margin-right: .3rem; color: var(--tinte-2); }
.brotkrumen a { color: var(--tinte-2); }
.brotkrumen a:hover { color: var(--petrol); }

/* -------------------------------------------------------------- Abschnitte und Trenner */
.abschnitt { padding-block: var(--abstand); }
.abschnitt--tint { background: var(--tint); }
.abschnitt--flaeche { background: var(--flaeche); }
.abschnitt__kopf { max-width: 44rem; margin-bottom: 2rem; }
.abschnitt__kopf p { color: var(--tinte-2); font-size: 1.05rem; }
.dachzeile {
  display: inline-block;
  margin-bottom: .5rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--petrol);
}

.trenner { position: relative; display: block; height: clamp(1.75rem, 1rem + 3vw, 3.5rem); background: var(--von); }
.trenner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--nach);
  -webkit-mask: url("../img/laecheln.svg") 0 0 / 100% 100% no-repeat;
  mask: url("../img/laecheln.svg") 0 0 / 100% 100% no-repeat;
}
.trenner--grund-tint { --von: var(--grund); --nach: var(--tint); }
.trenner--tint-grund { --von: var(--tint); --nach: var(--grund); }
.trenner--grund-flaeche { --von: var(--grund); --nach: var(--flaeche); }
.trenner--flaeche-grund { --von: var(--flaeche); --nach: var(--grund); }
.trenner--tint-flaeche { --von: var(--tint); --nach: var(--flaeche); }
.trenner--flaeche-tint { --von: var(--flaeche); --nach: var(--tint); }
.trenner--grund-fuss { --von: var(--grund); --nach: var(--fuss); }
.trenner--tint-fuss { --von: var(--tint); --nach: var(--fuss); }
.trenner--flaeche-fuss { --von: var(--flaeche); --nach: var(--fuss); }

.spalten { display: grid; gap: 2rem; }
@media (min-width: 56rem) {
  .spalten { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
  .spalten--breit-schmal { grid-template-columns: 1.4fr 1fr; }
}
.fliesstext { max-width: 44rem; }
.fliesstext h2 { margin-top: 2.2rem; }
.fliesstext h3 { margin-top: 1.8rem; }
.fliesstext > :first-child { margin-top: 0; }
.fliesstext ul, .fliesstext ol { padding-left: 1.3rem; }
.fliesstext li { margin-bottom: .4rem; }
.fliesstext li::marker { color: var(--petrol); }
.einleitung { font-size: 1.12rem; color: var(--tinte-2); }

/* -------------------------------------------------------------- Karten */
.karten { display: grid; gap: 1rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 36rem) { .karten { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .karten { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.karte {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  height: 100%;
  padding: 1.4rem 1.4rem 1.25rem;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--flaeche);
  color: var(--tinte);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
a.karte:hover { border-color: var(--aqua); box-shadow: var(--schatten); transform: translateY(-2px); color: var(--tinte); }
.karte h3 { margin: .4rem 0 .2rem; }
.karte p { margin: 0; color: var(--tinte-2); font-size: .97rem; }
.karte .mehr { margin-top: auto; padding-top: .8rem; color: var(--petrol); }
.karte__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border-radius: .9rem;
  background: var(--tint);
  color: var(--petrol);
}
.karte__icon .icon { width: 1.6rem; height: 1.6rem; }

.merkmale { display: grid; gap: .75rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 36rem) { .merkmale { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .merkmale--drei { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 56rem) { .spalten .merkmale { grid-template-columns: 1fr; } }
.merkmale li {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-k);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  line-height: 1.35;
}
.merkmale .icon { width: 1.5rem; height: 1.5rem; color: var(--petrol); }

.zahlen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 56rem) { .zahlen { grid-template-columns: repeat(4, 1fr); } .spalten .zahlen { grid-template-columns: repeat(2, 1fr); } }
.zahlen li {
  padding: 1.25rem 1rem;
  border-radius: var(--radius);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  text-align: center;
}
.zahlen strong {
  display: block;
  font-family: var(--schrift-titel);
  font-weight: 900;
  font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem);
  line-height: 1.1;
  color: var(--petrol);
}
.zahlen span { color: var(--tinte-2); font-size: .95rem; }

.hinweis {
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: var(--tint);
  border-left: 4px solid var(--aqua);
}
.hinweis > :last-child { margin-bottom: 0; }
.kasten {
  padding: clamp(1.4rem, 1rem + 2vw, 2.25rem);
  border-radius: var(--radius);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  box-shadow: var(--schatten);
}
.kasten > :last-child { margin-bottom: 0; }
.kasten--aktion { background: var(--tint); border-color: var(--tint-stark); box-shadow: none; }
.kasten h2 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); }
.kasten .statuszeile { margin: 1rem 0 .5rem; font-size: .92rem; }
.seitenleiste { display: grid; gap: 1.25rem; align-content: start; }
@media (min-width: 56rem) { .seitenleiste { position: sticky; top: 6.5rem; } }
.linkliste { list-style: none; padding: 0; margin: 0; }
.linkliste li { border-top: 1px solid var(--linie); }
.linkliste li:first-child { border-top: 0; }
.linkliste a { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; text-decoration: none; font-weight: 550; }
.linkliste .icon { width: 1.2rem; height: 1.2rem; }

/* -------------------------------------------------------------- Öffnungszeiten */
.zeiten__raster { display: grid; gap: 1.25rem; }
@media (min-width: 56rem) { .zeiten__raster { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.status-liste { display: grid; gap: .75rem; margin-bottom: 1.25rem; }
@media (min-width: 36rem) { .status-liste { grid-template-columns: 1fr 1fr; } }
.status {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-k);
  background: var(--flaeche);
  border: 1px solid var(--linie);
}
.status .punkt { width: 1.3rem; height: 1.3rem; margin-top: .1rem; }
.status__titel { display: block; font-weight: 700; }
.status__text { display: block; color: var(--tinte-2); font-size: .95rem; }
.status--offen { background: var(--offen-grund); border-color: transparent; }
.status--offen .status__text { color: var(--offen); font-weight: 600; }
.status--bald { background: var(--bald-grund); border-color: transparent; }
.status--bald .status__text { color: var(--bald); font-weight: 600; }
.status--zu { background: var(--zu-grund); border-color: transparent; }
.status--zu .status__text { color: var(--zu); font-weight: 600; }

.zeitkarte {
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: var(--flaeche);
  border: 1px solid var(--linie);
}
.zeitkarte h3 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .6rem; }
.zeitkarte h3 .icon { color: var(--petrol); }
.zeiten-tabelle { width: 100%; border-collapse: collapse; margin: 0; }
.zeiten-tabelle th, .zeiten-tabelle td { padding: .55rem .5rem; text-align: left; vertical-align: top; border-top: 1px solid var(--linie); }
.zeiten-tabelle tr:first-child th, .zeiten-tabelle tr:first-child td { border-top: 0; }
.zeiten-tabelle th { font-weight: 500; }
.zeiten-tabelle td { text-align: right; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.zeiten-tabelle td.zeiten-tabelle__zu { font-weight: 500; color: var(--tinte-2); white-space: normal; }
.zeiten-tabelle tr.ist-heute th, .zeiten-tabelle tr.ist-heute td { background: var(--tint); }
.zeiten-tabelle tr.ist-heute th { border-radius: .5rem 0 0 .5rem; font-weight: 700; }
.zeiten-tabelle tr.ist-heute td { border-radius: 0 .5rem .5rem 0; }
.heute-marke {
  display: inline-block;
  margin-left: .4rem;
  padding: .05rem .45rem;
  border-radius: 999px;
  background: var(--petrol);
  color: var(--flaeche);
  font-size: .72rem;
  font-weight: 700;
  vertical-align: .1em;
}

.planer { margin-top: 1.5rem; }
.planer h3 { margin-bottom: .75rem; }
.planer__tage:focus-visible { outline-offset: 2px; }
.planer__tage {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(10rem, 1fr);
  gap: .6rem;
  overflow-x: auto;
  padding: 0 0 .6rem;
  margin: 0;
  list-style: none;
  scroll-snap-type: x mandatory;
}
.planer__tag {
  scroll-snap-align: start;
  padding: .8rem .75rem;
  -webkit-hyphens: auto;
  hyphens: auto;
  border-radius: var(--radius-k);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  font-size: .88rem;
  line-height: 1.4;
}
.planer__tag--heute { border-color: var(--petrol); box-shadow: inset 0 0 0 1px var(--petrol); }
.planer__tag--feiertag { background: var(--bald-grund); border-color: transparent; }
.planer__datum { display: block; font-family: var(--schrift-titel); font-weight: 800; font-size: 1rem; margin-bottom: .3rem; }
.planer__feiertag { display: block; color: var(--bald); font-weight: 650; margin-bottom: .2rem; }
.planer__zeile { display: block; color: var(--tinte-2); margin-top: .25rem; }
.planer__zeile b { display: block; color: var(--tinte); font-weight: 650; font-size: .82rem; }
.planer__zeit { white-space: nowrap; }
.datumspruefung {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: .6rem 1rem;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-k);
  background: var(--flaeche);
  border: 1px solid var(--linie);
}
.datumspruefung label { display: block; font-weight: 650; font-size: .92rem; margin-bottom: .3rem; }
.datumspruefung input {
  min-height: 2.75rem;
  padding: .45rem .75rem;
  border: 1px solid var(--linie);
  border-radius: .6rem;
  background: var(--flaeche);
  color: var(--tinte);
  font: inherit;
}
.datumspruefung__ergebnis { flex: 1 1 16rem; margin: 0; font-weight: 600; }
@media (min-width: 56rem) {
  .planer__tage { grid-auto-flow: row; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; }
}

/* -------------------------------------------------------------- Team */
.filter {
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: var(--tint);
}
.filter__titel { font-family: var(--schrift-titel); font-weight: 800; font-size: 1.2rem; margin-bottom: .75rem; }
.filter__knoepfe { display: flex; flex-wrap: wrap; gap: .45rem; }
.filter__knoepfe button {
  min-height: 2.5rem;
  padding: .4rem .95rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
  background: var(--flaeche);
  color: var(--tinte);
  font: inherit;
  font-size: .95rem;
  cursor: pointer;
}
.filter__knoepfe button:hover { border-color: var(--petrol); color: var(--petrol); }
.filter__knoepfe button[aria-pressed="true"] { background: var(--knopf); border-color: var(--knopf); color: var(--knopf-text); }
.filter__ergebnis { margin: .9rem 0 0; font-weight: 600; min-height: 1.65em; }

.team-gruppe + .team-gruppe { margin-top: 3rem; }
.team-gruppe h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; }
.team-gruppe__anzahl { font-family: var(--schrift); font-size: .9rem; font-weight: 600; color: var(--tinte-2); }
.team-raster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 40rem) { .team-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .team-raster { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }
.person {
  border-radius: var(--radius);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  overflow: hidden;
}
.person img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--tint); }
.person__text { padding: .8rem .95rem 1rem; -webkit-hyphens: auto; hyphens: auto; }
.person__name { font-size: 1.05rem; margin: 0 0 .15rem; }
.person__rolle { margin: 0; font-weight: 600; font-size: .92rem; line-height: 1.35; }
.person__zusatz { margin: .15rem 0 0; font-size: .85rem; color: var(--tinte-2); line-height: 1.35; }
.person__sprachen { display: flex; align-items: flex-start; gap: .35rem; margin: .5rem 0 0; font-size: .83rem; color: var(--tinte-2); line-height: 1.4; }
.person__sprachen .icon { width: 1rem; height: 1rem; margin-top: .1rem; color: var(--petrol); }
@media (max-width: 23.99rem) {
  .person__text { padding: .65rem .7rem .8rem; }
}
.portraits { display: flex; flex-wrap: wrap; gap: .75rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.portraits img { width: 6.75rem; height: 6.75rem; border-radius: 50%; object-fit: cover; border: 4px solid var(--flaeche); box-shadow: var(--schatten); }
@media (min-width: 40rem) { .portraits { gap: .9rem; } .portraits img { width: 10.5rem; height: 10.5rem; } }

/* -------------------------------------------------------------- Zahnputzuhr */
.putzuhr { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56rem) { .putzuhr { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.putzuhr__buehne {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  box-shadow: var(--schatten);
}
.kiefer { width: min(100%, 16rem); height: auto; }
.putzuhr__anzeige { display: grid; justify-items: center; gap: .7rem; width: 100%; text-align: center; }
.kiefer__bereich {
  fill: none;
  stroke: var(--tint-stark);
  stroke-width: 20;
  stroke-dasharray: 9.4 2.4;
  transition: stroke .3s;
}
.kiefer__bereich.ist-aktiv { stroke: var(--aqua); }
.kiefer__bereich.ist-fertig { stroke: var(--petrol); }
.kiefer__beschriftung { fill: var(--tinte-2); font: 600 9px var(--schrift); text-anchor: middle; }
.kiefer__mitte { fill: var(--tinte-2); font: 700 8px var(--schrift); text-anchor: middle; letter-spacing: .08em; }
.putzuhr__zeit {
  margin: 0;
  font-family: var(--schrift-titel);
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.putzuhr__bereich { margin: 0; min-height: 1.65em; font-weight: 650; color: var(--petrol); text-align: center; }
.putzuhr__balken { width: min(100%, 16rem); height: .5rem; border-radius: 999px; background: var(--tint); overflow: hidden; }
.putzuhr__balken span { display: block; height: 100%; width: calc(var(--fortschritt, 0) * 100%); background: linear-gradient(90deg, var(--aqua), var(--petrol)); border-radius: inherit; }
.putzuhr__knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.putzuhr__anleitung { counter-reset: schritt; list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .5rem; }
.putzuhr__anleitung li {
  counter-increment: schritt;
  display: flex;
  gap: .75rem;
  align-items: baseline;
  padding: .65rem .9rem;
  border-radius: var(--radius-k);
  background: var(--flaeche);
  border: 1px solid var(--linie);
}
.putzuhr__anleitung li::before {
  content: counter(schritt);
  display: inline-grid;
  place-items: center;
  width: 1.6rem; height: 1.6rem;
  flex: none;
  border-radius: 50%;
  background: var(--tint);
  color: var(--petrol);
  font-weight: 800;
  font-size: .85rem;
}
.putzuhr__anleitung li.ist-aktiv { border-color: var(--aqua); box-shadow: inset 0 0 0 1px var(--aqua); }
.putzuhr__anleitung li.ist-fertig::before { content: "✓"; background: var(--petrol); color: var(--flaeche); }

/* -------------------------------------------------------------- Listen, Downloads, Stellen */
.checkliste { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.checkliste li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .25rem .9rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-k);
  background: var(--flaeche);
  border: 1px solid var(--linie);
}
.checkliste .icon { grid-row: span 2; width: 1.5rem; height: 1.5rem; color: var(--petrol); margin-top: .1rem; }
.checkliste strong { font-weight: 700; }
.checkliste p { margin: 0; color: var(--tinte-2); }
.downloads { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.downloads a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-k);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  color: var(--tinte);
  text-decoration: none;
}
.downloads a:hover { border-color: var(--aqua); box-shadow: var(--schatten); color: var(--tinte); }
.downloads .icon { width: 1.6rem; height: 1.6rem; color: var(--petrol); }
.downloads span { display: block; }
.downloads small { display: block; color: var(--tinte-2); font-size: .85rem; }
.downloads__pfeil { margin-left: auto; }

.stelle + .stelle { margin-top: 2rem; }
.stelle h2 { font-size: clamp(1.35rem, 1.15rem + 1vw, 1.8rem); }
.stelle__spalten { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 56rem) { .stelle__spalten { grid-template-columns: repeat(3, 1fr); } }
.stelle__spalten h3 { font-size: 1.08rem; }
.stelle__spalten ul { padding-left: 1.2rem; margin: 0; }
.stelle__spalten li { margin-bottom: .35rem; }
.stelle__spalten li::marker { color: var(--petrol); }
.zitat {
  font-family: var(--schrift-titel);
  font-weight: 800;
  font-size: clamp(1.2rem, 1.05rem + .8vw, 1.55rem);
  line-height: 1.3;
  color: var(--petrol);
}

.kontaktliste { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .65rem; }
.kontaktliste li { display: flex; gap: .75rem; align-items: flex-start; }
.kontaktliste .icon { width: 1.35rem; height: 1.35rem; color: var(--petrol); margin-top: .15rem; }
.kontaktliste address { font-style: normal; }

/* -------------------------------------------------------------- Rechtstexte */
.recht { max-width: 46rem; }
.recht h2 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem); margin-top: 2.2rem; }
.recht h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.recht address { font-style: normal; margin-bottom: 1.1em; }
.recht ul { padding-left: 1.3rem; }
.recht__markiert {
  padding: .9rem 1.1rem;
  border-radius: var(--radius-k);
  background: var(--bald-grund);
  color: var(--tinte);
}

/* -------------------------------------------------------------- 404 */
.fehlerseite { text-align: center; padding-block: var(--abstand); }
.fehlerseite .wrap { max-width: 40rem; }
.zahnluecke { width: min(100%, 22rem); margin: 0 auto 2rem; }
.zahnluecke__zahn { fill: var(--flaeche); stroke: var(--aqua); stroke-width: 3; }
.zahnluecke__fleisch { fill: var(--koralle); opacity: .35; }
.zahnluecke__luecke { fill: none; stroke: var(--petrol); stroke-width: 2.5; stroke-dasharray: 5 5; }
.fehlerseite .knoepfe { justify-content: center; }

/* -------------------------------------------------------------- Fuß */
.fuss { --logo-ende: var(--fuss-link); background: var(--fuss); color: var(--fuss-text); padding: 3rem 0 1.5rem; font-size: .95rem; }
.fuss__marke svg { width: 2.6rem; height: auto; flex: none; }
.fuss a { color: var(--fuss-link); }
.fuss a:hover { color: #fff; }
.fuss h2 { font-size: 1.1rem; color: #fff; margin-bottom: .8rem; }
.fuss__raster { display: grid; gap: 2rem; }
@media (min-width: 40rem) { .fuss__raster { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .fuss__raster { grid-template-columns: 1.3fr 1.1fr 1fr 1fr; } }
.fuss__marke { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; font-family: var(--schrift-titel); font-weight: 800; color: #fff; line-height: 1.2; }
.fuss__marke img { width: 2.6rem; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: .35rem; }
.fuss address { font-style: normal; margin-bottom: .8rem; }
.fuss .kontaktliste .icon { color: var(--fuss-link); }
.fuss__zeiten { width: 100%; border-collapse: collapse; margin-bottom: .8rem; }
.fuss__zeiten th, .fuss__zeiten td { padding: .2rem 0; text-align: left; font-weight: 400; vertical-align: top; }
.fuss__zeiten td { text-align: right; white-space: nowrap; padding-left: .75rem; }
.fuss__zeiten caption { text-align: left; font-weight: 700; color: #fff; padding-top: .4rem; }
.fuss .statuszeile { margin-top: .6rem; }
.sozial { display: flex; gap: .6rem; margin-top: 1rem; }
.sozial a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: rgb(255 255 255 / .1);
  color: #fff;
}
.sozial a:hover { background: rgb(255 255 255 / .2); }
.fuss__unten {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / .15);
  font-size: .88rem;
}
.fuss__unten ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }

/* -------------------------------------------------------------- größere Bildschirme */
@media (min-width: 48rem) {
  :root { --rand: 1.5rem; }
  body { font-size: 1.0625rem; }
  .leiste__innen { justify-content: space-between; }
  .leiste__ort, .leiste__tel { display: block; }
  .marke__zeichen { width: 3rem; }
  .marke__name { font-size: 1.12rem; }
  .marke__zusatz { font-size: .9rem; }
}

/* -------------------------------------------------------------- Bewegung reduzieren */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  a.karte:hover { transform: none; }
}

/* -------------------------------------------------------------- Druck */
@media print {
  .leiste, .kopf, .fuss, .trenner, .knoepfe, .gruss, .sprachen, .planer, .putzuhr__buehne, .filter { display: none !important; }
  body { background: #fff; color: #000; }
}
