/* kinder- und jugendärzte am werk, Rheinfelden
   Farben am Logo gemessen: die fünf Bausteine und das Violett des Schriftzugs.
   Handlungsfarben sind daraus abgedunkelt, bis weisse Schrift 4.5:1 erreicht. */

:root {
  /* Marke, unverändert aus dem Logo */
  --violett:   #83528D;
  --rosa:      #E4646F;
  --orange:    #EF8346;
  --gruen:     #349247;
  --blau:      #077AC1;

  /* abgedunkelte Fassungen für Text und Flächen mit weisser Schrift */
  --violett-tief: #5C3865;
  --violett-dunkel: #6E4278;
  --cta:       #B0521C;
  --cta-tief:  #8F4114;
  --notfall:   #B02836;
  --notfall-hell: #FDF1F2;
  --offen:     #226B33;

  --grund:     #FBF8F6;
  --flaeche:   #FFFFFF;
  --gedaempft: #F4EFF3;
  --linie:     #E4DCE3;
  --linie-satt:#CFC1CD;

  --schrift:   #241F28;
  --schrift-leise: #5C5460;

  --radius:    14px;
  --radius-klein: 8px;
  --schatten:  0 1px 2px rgba(36,31,40,.05), 0 8px 24px -12px rgba(36,31,40,.18);
  --schatten-hoch: 0 2px 4px rgba(36,31,40,.06), 0 18px 40px -18px rgba(36,31,40,.28);

  --breite:    1160px;
  --schmal:    720px;
  --kopfhoehe: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Sprungziele dürfen nicht unter der klebenden Kopfzeile landen */
  scroll-padding-top: calc(var(--kopfhoehe) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--schrift);
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(1rem, .97rem + .16vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 1.35rem + 2.2vw, 3rem); }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.3vw, 2.1rem); }
h3 { font-size: clamp(1.12rem, 1.02rem + .45vw, 1.35rem); }
h4 { font-size: 1.02rem; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--violett-tief); }
a:hover { color: var(--cta-tief); }

:focus-visible {
  outline: 3px solid var(--violett);
  outline-offset: 2px;
  border-radius: 3px;
}

.wrap {
  width: min(100% - 2rem, var(--breite));
  margin-inline: auto;
}
.wrap--schmal { width: min(100% - 2rem, var(--schmal)); }
@media (min-width: 48rem) {
  .wrap { width: min(100% - 3rem, var(--breite)); }
  .wrap--schmal { width: min(100% - 3rem, var(--schmal)); }
}

.nur-vorlesen {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.springen {
  position: absolute;
  left: .5rem; top: -4rem;
  z-index: 200;
  background: var(--violett-tief);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: var(--radius-klein);
  text-decoration: none;
  transition: top .15s ease;
}
.springen:focus { top: .5rem; color: #fff; }

/* ---------------------------------------------------------------- Bausteine */
/* Das Signet des Logos als wiederkehrendes Gliederungszeichen. */
.bausteine {
  display: flex;
  gap: 3px;
  height: 6px;
  width: 74px;
  margin-bottom: 1.1rem;
}
.bausteine span { display: block; border-radius: 1px; }
.bausteine span:nth-child(1) { flex: 0 0 18px; background: var(--violett); }
.bausteine span:nth-child(2) { flex: 0 0 10px; background: var(--rosa); }
.bausteine span:nth-child(3) { flex: 0 0 10px; background: var(--orange); }
.bausteine span:nth-child(4) { flex: 0 0 10px; background: var(--gruen); }
.bausteine span:nth-child(5) { flex: 1 1 auto; background: var(--blau); }
.bausteine--mittig { margin-inline: auto; }

/* ------------------------------------------------------------------ Kopf */
.kopf {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--linie);
}
.kopf__leiste {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: var(--kopfhoehe);
  padding-block: .5rem;
}
.marke {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;            /* sonst schiebt die Marke die Knöpfe hinaus */
  margin-right: auto;
  text-decoration: none;
}
/* Kein ".marke img { display: block }": das hat eine Klasse UND ein Element
   und schlaegt damit ".marke__voll { display: none }" aus der Media-Abfrage
   unten - die Umschaltung waere wirkungslos, ohne dass irgendetwas anschlaegt.
   Die Sichtbarkeit steht deshalb nur auf den beiden Klassen selbst. */
.marke img { height: auto; }
.marke__voll { display: block; width: clamp(150px, 30vw, 228px); min-width: 150px; }
.marke__signet { display: none; width: 40px; }

/* Unterhalb dieser Breite ist fuer den ganzen Schriftzug kein Platz: die
   Marke wuerde zwischen den Knoepfen zusammengequetscht, ohne dass
   irgendetwas ueberlaeuft - ein Fehler, den keine Ueberlaufpruefung findet.
   Dann nur das Signet zeigen. Das min-width oben verhindert, dass der
   Schriftzug in dem Bereich darueber schmaler wird als lesbar. */
@media (max-width: 35.99rem) {
  .marke__voll { display: none; }
  .marke__signet { display: block; }
  .kopf__leiste { gap: .35rem; }
}

.kopf__aktionen {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex: 0 0 auto;
}

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .62rem 1.05rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.knopf svg { width: 1.1em; height: 1.1em; flex: 0 0 auto; fill: currentColor; }
.knopf--haupt { background: var(--cta); color: #fff; }
.knopf--haupt:hover { background: var(--cta-tief); color: #fff; }
.knopf--marke { background: var(--violett-tief); color: #fff; }
.knopf--marke:hover { background: #4A2C52; color: #fff; }
.knopf--rand {
  background: var(--flaeche);
  color: var(--violett-tief);
  border-color: var(--linie-satt);
}
.knopf--rand:hover { border-color: var(--violett); color: var(--violett-tief); }
.knopf--notfall {
  background: var(--flaeche);
  color: var(--notfall);
  border-color: currentColor;
}
.knopf--notfall:hover { background: var(--notfall); color: #fff; border-color: var(--notfall); }
.knopf--gross { padding: .85rem 1.5rem; font-size: 1.05rem; }
.knopf--voll { width: 100%; }

.knopf__kurz { display: none; }
@media (max-width: 34.99rem) {
  .knopf--kuerzbar .knopf__lang { display: none; }
  .knopf--kuerzbar .knopf__kurz { display: inline; }
  .knopf { padding: .55rem .8rem; }
}
@media (max-width: 26rem) {
  .kopf__aktionen .knopf { padding: .5rem .65rem; font-size: .9rem; gap: .35rem; }
}

.menueknopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex: 0 0 44px;
  padding: 0;
  border: 2px solid var(--linie-satt);
  border-radius: 12px;
  background: var(--flaeche);
  color: var(--violett-tief);
  cursor: pointer;
}
.menueknopf svg { width: 22px; height: 22px; fill: currentColor; }
.menueknopf .schliessen { display: none; }
.menueknopf[aria-expanded="true"] .oeffnen { display: none; }
.menueknopf[aria-expanded="true"] .schliessen { display: block; }
@media (min-width: 62rem) { .menueknopf { display: none; } }

/* ---------------------------------------------------------------- Navigation */
.nav { border-top: 1px solid var(--linie); }
.nav__liste {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem 1.35rem;
  margin: 0;
  padding: .55rem 0;
  list-style: none;
}
.nav a {
  display: block;
  padding: .35rem 0;
  color: var(--schrift);
  font-weight: 600;
  font-size: .97rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--violett-tief); border-bottom-color: var(--violett); }
.nav a[aria-current="page"] { color: var(--violett-tief); border-bottom-color: var(--violett); }

@media (max-width: 61.99rem) {
  .nav {
    display: none;
    border-top: 1px solid var(--linie);
    max-height: calc(100dvh - var(--kopfhoehe));
    overflow-y: auto;
  }
  .nav.ist-offen { display: block; }
  .nav__liste { flex-direction: column; gap: 0; padding-block: .5rem 1rem; }
  .nav a { padding: .7rem .25rem; border-bottom: 1px solid var(--linie); }
  .nav a[aria-current="page"] { border-bottom-color: var(--violett); }
}

/* ------------------------------------------------------------------ Kopfbild */
.held { position: relative; background: var(--gedaempft); }
.held__bild {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 48 / 13;
  min-height: 190px;
  max-height: 46vh;
  overflow: hidden;
}
.held__bild img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}
.held--start .held__bild { aspect-ratio: 16 / 10; max-height: 62vh; }
@media (min-width: 48rem) {
  .held--start .held__bild { aspect-ratio: 48 / 15; }
}

.held__text {
  position: relative;
  z-index: 1;
  padding-block: 1.7rem 1.9rem;
}
.held__text p.lead { max-width: 58ch; font-size: 1.1rem; color: var(--schrift-leise); }
.held h1 { margin-bottom: .35rem; }
.held__ober {
  display: block;
  margin-bottom: .55rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--violett-tief);
}

/* ------------------------------------------------------------- Statuszeile */
.status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.1rem;
  margin-top: 1.2rem;
}
.statuspunkt {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .85rem .4rem .7rem;
  border-radius: 999px;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  font-size: .95rem;
  font-weight: 600;
}
.statuspunkt::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--linie-satt);
  flex: 0 0 9px;
}
.statuspunkt[data-zustand="offen"] { color: var(--offen); border-color: #BFE0C6; background: #F2FAF3; }
.statuspunkt[data-zustand="offen"]::before { background: var(--offen); }
.statuspunkt[data-zustand="zu"] { color: var(--schrift-leise); }
.statuspunkt[data-zustand="notfall"] { color: var(--notfall); border-color: #F0C9CD; background: var(--notfall-hell); }
.statuspunkt[data-zustand="notfall"]::before { background: var(--notfall); }

/* ---------------------------------------------------------------- Abschnitte */
.block { padding-block: clamp(2.4rem, 1.6rem + 3.2vw, 4.2rem); }
.block--eng { padding-block: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); }
.block--flaeche { background: var(--flaeche); border-block: 1px solid var(--linie); }
.block--gedaempft { background: var(--gedaempft); }
.block__kopf { max-width: 62ch; margin-bottom: 1.8rem; }
.block__kopf p { color: var(--schrift-leise); font-size: 1.05rem; }

/* ------------------------------------------------------------------- Raster */
.raster {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
}
.raster--weit { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.raster--zwei { grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); }
.raster > * { min-width: 0; }

.karte {
  display: flex;
  flex-direction: column;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 1.3rem 1.35rem;
  box-shadow: var(--schatten);
}
.karte h3 { margin-bottom: .4rem; }
.karte p { color: var(--schrift-leise); }
.karte__mehr { margin-top: auto; padding-top: .9rem; font-weight: 700; }
a.karte { text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s ease; }
a.karte:hover { border-color: var(--violett); transform: translateY(-2px); }
a.karte:hover h3 { color: var(--violett-tief); }

/* Schnellfinder direkt unter dem Kopfbild */
.finder { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.finder__karte {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1.15rem 1.2rem;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-left: 4px solid var(--violett);
  border-radius: var(--radius-klein);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--schatten);
}
.finder__karte:nth-child(2) { border-left-color: var(--rosa); }
.finder__karte:nth-child(3) { border-left-color: var(--orange); }
.finder__karte:nth-child(4) { border-left-color: var(--blau); }
.finder__karte:hover { border-color: var(--linie-satt); border-left-color: var(--violett-tief); }
.finder__titel { font-weight: 700; }
.finder__wert { font-size: 1.25rem; font-weight: 800; color: var(--violett-tief); line-height: 1.25; }
.finder__zusatz { font-size: .92rem; color: var(--schrift-leise); }

/* -------------------------------------------------------------------- Zeiten */
.zeiten { width: 100%; border-collapse: collapse; }
.zeiten th, .zeiten td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--linie); }
.zeiten th { font-weight: 600; width: 40%; }
.zeiten td { font-variant-numeric: tabular-nums; }
.zeiten tr[data-heute] th, .zeiten tr[data-heute] td { background: #F7F1F8; font-weight: 700; }
.zeiten .zu { color: var(--schrift-leise); }

/* -------------------------------------------------------------------- Personen */
.person {
  display: flex;
  flex-direction: column;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--schatten);
}
a.person:hover { border-color: var(--violett); }
a.person:hover .person__name { color: var(--violett-tief); }
.person__bild {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--gedaempft);
  overflow: hidden;
}
.person__bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person__text { padding: .95rem 1.05rem 1.15rem; display: flex; flex-direction: column; gap: .2rem; }
.person__rolle { font-size: .84rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--violett-tief); }
.person__name { font-size: 1.12rem; font-weight: 700; line-height: 1.25; }
.person__zeiten { font-size: .93rem; color: var(--schrift-leise); margin-top: .3rem; }
.person__zeiten span { display: block; }
.person__mehr { margin-top: .6rem; font-weight: 700; font-size: .95rem; color: var(--violett-tief); }

.marke-stopp, .marke-frei {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  align-self: flex-start;
  margin-top: .45rem;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 700;
}
.marke-stopp { background: #FCF0E8; color: var(--cta-tief); }
.marke-frei  { background: #F0F8F2; color: var(--offen); }

.personen-klein {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr));
}
.personen-klein .person__text { padding: .7rem .8rem .9rem; }
.personen-klein .person__name { font-size: .99rem; }
/* Die Vorschau auf der Startseite zeigt keine Arbeitszeiten und darf
   deshalb breiter gerastert werden - mit Zeiten bricht der Text sonst
   in Einwortzeilen um. */
.personen-klein--vorschau {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr));
}

/* -------------------------------------------------------------------- Kästen */
.kasten {
  padding: 1.15rem 1.3rem;
  border-radius: var(--radius);
  background: var(--gedaempft);
  border: 1px solid var(--linie);
}
.kasten--hinweis { background: #F7F1F8; border-color: #E3D2E7; }
.kasten--warnung { background: var(--notfall-hell); border-color: #F0C9CD; }
.kasten--warnung strong { color: var(--notfall); }
.kasten h3 { margin-bottom: .4rem; }
.kasten p:last-child { margin-bottom: 0; }

/* Aufnahmestopp-Hinweis */
.stopp-hinweis {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.35rem;
  border-radius: var(--radius);
  background: #FDF6F0;
  border: 1px solid #F1DBC8;
}
.stopp-hinweis svg { flex: 0 0 24px; width: 24px; height: 24px; fill: var(--cta); margin-top: .15rem; }

/* -------------------------------------------------------------------- Notfall */
.notfall-gruppe + .notfall-gruppe { margin-top: 1.6rem; }
.notfall-gruppe h3 { margin-bottom: .7rem; }
.notfall-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.notfall-eintrag {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem 1rem;
  padding: .85rem 1.1rem;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius-klein);
}
.notfall-eintrag__name { font-weight: 700; flex: 1 1 12rem; }
.notfall-eintrag__nummer {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--notfall);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.notfall-eintrag__nummer:hover { text-decoration: underline; color: var(--notfall); }
.notfall-eintrag__zusatz { flex: 1 1 100%; font-size: .93rem; color: var(--schrift-leise); }

/* -------------------------------------------------------------------- Inhalte */
.text { max-width: 68ch; }
.text h2 { margin-top: 2.2rem; }
.text h2:first-child { margin-top: 0; }
.text h3 { margin-top: 1.6rem; }
.text ul, .text ol { margin: 0 0 1em; padding-left: 1.35rem; }
.text li { margin-bottom: .35rem; }
.text li::marker { color: var(--violett); }

.daten { margin: 0 0 1.2rem; }
.daten dt { font-weight: 700; margin-top: 1rem; }
.daten dt:first-child { margin-top: 0; }
.daten dd { margin: .15rem 0 0; color: var(--schrift-leise); }

.dateien { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.datei {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .8rem 1rem;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius-klein);
  text-decoration: none;
  color: inherit;
}
.datei:hover { border-color: var(--violett); }
.datei svg { flex: 0 0 20px; width: 20px; height: 20px; fill: var(--violett-tief); margin-top: .2rem; }
.datei__name { font-weight: 700; }
.datei__zusatz { display: block; font-size: .92rem; color: var(--schrift-leise); font-weight: 400; }

.vorsorge { display: grid; gap: .7rem; }
.vorsorge details {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius-klein);
}
.vorsorge summary {
  padding: .85rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.vorsorge summary::-webkit-details-marker { display: none; }
.vorsorge summary::after {
  content: "";
  flex: 0 0 10px;
  width: 10px; height: 10px;
  border-right: 2px solid var(--violett);
  border-bottom: 2px solid var(--violett);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .15s ease;
}
.vorsorge details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.vorsorge details > div { padding: 0 1.1rem 1rem; }
.vorsorge ul { margin: 0; padding-left: 1.2rem; }

/* -------------------------------------------------------------------- Galerie */
.galerie {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
}
.galerie figure { margin: 0; }
.galerie button {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--linie);
  border-radius: var(--radius-klein);
  overflow: hidden;
  background: var(--gedaempft);
  cursor: zoom-in;
}
.galerie button:hover { border-color: var(--violett); }
.galerie__rahmen { display: block; width: 100%; aspect-ratio: 3 / 2; }
.galerie__rahmen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.galerie figcaption { padding: .5rem .15rem 0; font-size: .93rem; color: var(--schrift-leise); }

dialog.lupe {
  width: min(96vw, 1200px);
  max-width: 96vw;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--flaeche);
  box-shadow: var(--schatten-hoch);
}
dialog.lupe::backdrop { background: rgba(30,22,34,.78); }
dialog.lupe img { display: block; width: 100%; height: auto; }
dialog.lupe .lupe__fuss {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 1rem;
}
dialog.lupe p { margin: 0; font-weight: 600; }
dialog.lupe button {
  flex: 0 0 auto;
  border: 2px solid var(--linie-satt);
  background: var(--flaeche);
  border-radius: 999px;
  padding: .45rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* ---------------------------------------------------------------- Buchen-Block */
.buchen {
  display: grid;
  gap: 1.4rem;
  align-items: center;
  padding: clamp(1.4rem, 1rem + 1.6vw, 2.4rem);
  border-radius: var(--radius);
  background: var(--violett-tief);
  color: #fff;
}
@media (min-width: 52rem) {
  .buchen { grid-template-columns: 1.5fr 1fr; }
}
.buchen h2 { color: #fff; margin-bottom: .4rem; }
.buchen p { color: #EEE3F0; margin-bottom: 0; }
.buchen__knoepfe { display: flex; flex-wrap: wrap; gap: .7rem; }
.buchen .knopf--rand { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.buchen .knopf--rand:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #fff; }
.buchen__klein { font-size: .92rem; color: #DCCBE0; margin-top: .8rem; }

/* -------------------------------------------------------------------- Fuss */
.fuss {
  background: #2E2633;
  color: #DCD5DE;
  padding-block: 2.6rem 1.6rem;
  margin-top: 0;
}
.fuss a { color: #fff; }
.fuss h2, .fuss h3 { color: #fff; font-size: 1rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: .8rem; }
.fuss__raster {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: .4rem; }
.fuss__marke { margin: 0 0 2rem; }
.fuss__marke img { display: block; width: 210px; height: auto; }
.fuss__unten {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: .92rem;
}
.fuss__unten p { margin: 0; }

/* --------------------------------------------------------------- Brotkrumen */
.krumen { padding-block: .8rem 0; font-size: .92rem; }
.krumen ol { display: flex; flex-wrap: wrap; gap: .3rem .5rem; list-style: none; margin: 0; padding: 0; }
.krumen li::after { content: "›"; margin-left: .5rem; color: var(--linie-satt); }
.krumen li:last-child::after { content: ""; }
.krumen a { color: var(--schrift-leise); display: inline-block; padding: .3rem 0; }
.kasten__titel { font-size: 1.05rem; margin-bottom: .4rem; }

/* ------------------------------------------------------------------ Entwurf */
.entwurfsband {
  background: var(--violett-tief);
  color: #fff;
  font-size: .88rem;
  text-align: center;
  padding: .4rem 1rem;
}
.entwurfsband strong { font-weight: 800; }

/* ------------------------------------------------------------------ Diverses */
.kontaktdaten { font-style: normal; }
.kontaktdaten a { font-weight: 700; }
.tel-gross {
  display: inline-block;
  font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem);
  font-weight: 800;
  color: var(--violett-tief);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.tel-gross:hover { text-decoration: underline; }

.plan { border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; background: var(--flaeche); }
.plan img { display: block; width: 100%; height: auto; }
.plan figcaption { padding: .7rem 1rem; font-size: .93rem; color: var(--schrift-leise); }

.widget-rahmen {
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--flaeche);
  overflow: hidden;
}
.widget-rahmen iframe { display: block; width: 100%; height: 520px; border: 0; }

.leistungsliste { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.leistungsliste li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .7rem .9rem;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius-klein);
}
.leistungsliste li::before {
  content: "";
  flex: 0 0 10px;
  width: 10px; height: 10px;
  margin-top: .45rem;
  border-radius: 2px;
  background: var(--violett);
}
.leistungsliste li:nth-child(5n+2)::before { background: var(--rosa); }
.leistungsliste li:nth-child(5n+3)::before { background: var(--orange); }
.leistungsliste li:nth-child(5n+4)::before { background: var(--gruen); }
.leistungsliste li:nth-child(5n+5)::before { background: var(--blau); }

.lebenslauf { display: grid; gap: 1.6rem; }
.lebenslauf__gruppe h3 { margin-bottom: .6rem; }
.lebenslauf dl { margin: 0; display: grid; gap: .5rem; }
.lebenslauf dt {
  font-weight: 700;
  font-size: .93rem;
  color: var(--violett-tief);
  font-variant-numeric: tabular-nums;
}
.lebenslauf dd { margin: 0 0 .6rem; }
@media (min-width: 40rem) {
  .lebenslauf dl { grid-template-columns: 11rem 1fr; gap: .15rem 1.2rem; }
  .lebenslauf dt { grid-column: 1; }
  .lebenslauf dd { grid-column: 2; margin-bottom: .55rem; }
}
