/* Prophylaxe-Landingpage „Die Zahnärzte" — Berlin-Moabit
   Umsetzung des Designentwurfs der Grafikerin (docs/neues_design/).
   Keine externen Ressourcen: alle Schriften liegen lokal. */

/* ---------- Schriften ---------- */

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-v15-latin-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-v15-latin-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-v15-latin-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Signika";
  src: url("../fonts/signika-v8-latin-300.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Signika";
  src: url("../fonts/signika-v8-latin-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Signika";
  src: url("../fonts/signika-v8-latin-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Farben und Maße ----------

   Aus dem Entwurf gemessen, nicht geschätzt. Der Entwurf ist auf 828 px
   Breite gezeichnet; daraus stammen Balkenhöhe, Logogröße und Schriftgrade.

   ACHTUNG, bewusst so gebaut: Der Entwurf setzt weiße Schrift auf das
   Praxisgrün und grüne Überschriften in #acca57 auf Weiß. Beides liegt bei
   1,85 : 1 und erfüllt WCAG AA nicht — auch nicht die gelockerte Schwelle von
   3 : 1 für große Schrift. Auf ausdrücklichen Wunsch ist die Vorlage hier
   wörtlich umgesetzt. Wer das ändern will, tauscht --gruen-schrift gegen
   #5f7a22 (4,89 : 1) und setzt auf grünen Flächen --gruen-dunkel statt Weiß. */

:root {
  --gruen: #acca57;          /* Praxisgrün: Balken, Badges, Akzente */
  --gruen-schrift: #acca57;  /* Überschriften, wie gezeichnet (siehe oben) */
  --gruen-link: #5f7a22;     /* Links: hier bleibt es beim lesbaren Ton */
  --dunkel: #404349;         /* Zwischenüberschriften und Hervorhebungen */
  --gruen-dunkel: #1b4a2f;   /* Knöpfe, Schrift auf Praxisgrün */
  --gruen-panel: #dce8b9;    /* Panel hinter den Sprungmarken */
  --gruen-rahmen: #b8d85d;   /* kräftiger Rahmen der Sprechzeiten-Box */
  --flaeche-hell: #f6f9ed;   /* helle Abschnittsfläche */
  --blau-dunkel: #004d74;    /* Termin-Panel und Fußzeile, unverändert */
  --text: #676a6f;
  --flaeche: #ffffff;
  --rand: #e2e5e8;
  --spalte: 1088px;
  --abstand: clamp(2.5rem, 6vw, 4.5rem);
  --radius: 6px;
}

/* ---------- Grundlagen ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  /* Die Vorlage setzt bei 828 px Zeichenbreite rund 11,5 px Fließtext —
     gemessen über den Zeilenabstand von 17 px. 11,5 / 828, nachgemessen auf 1,26 vw.
     Damit trifft die Seite die Vorlage bei deren Breite genau und wächst
     auf größeren Schirmen mit. */
  font-size: 15px;
}
@media (min-width: 48em) {
  /* Ab Tabletbreite proportional zur Vorlage. Die Obergrenze hält große
     Schirme bei der bisherigen Lesegröße, statt den Text aufzublasen. */
  html { font-size: clamp(10px, 1.31vw, 16px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--flaeche);
  color: var(--text);
  font-family: "Open Sans", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

img, picture, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3 {
  font-family: Signika, "Open Sans", system-ui, sans-serif;
  font-weight: 300;
  color: var(--gruen-schrift);
  line-height: 1.2;
  text-wrap: balance;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(22px, 4.3vw, 42px); }
h2 { font-size: clamp(19px, 3.6vw, 35px); margin-top: 0; }
h3 { font-size: 1.2rem; font-weight: 600; color: var(--dunkel); }

p { margin: 0 0 1.1em; max-width: 42em; }
ul, ol { max-width: 42em; }

a { color: var(--gruen-link); }
a:hover { color: var(--gruen-dunkel); }

:focus-visible {
  outline: 3px solid var(--gruen-dunkel);
  outline-offset: 2px;
  border-radius: 2px;
}

.inhalt {
  /* Die Vorlage hat bei 828 px Zeichenbreite rund 60 px Rand — also gut 7 %.
     Feste 1 rem waren deutlich zu schmal und ließen die Seite breit wirken. */
  width: min(100% - 2 * clamp(1rem, 7vw, 3.5rem), var(--spalte));
  margin-inline: auto;
}

.sprungmarke {
  position: absolute;
  left: -9999px;
  background: var(--gruen-dunkel);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 60;
}
.sprungmarke:focus { left: 1rem; top: 1rem; color: #fff; }

/* ---------- Schaltflächen ---------- */

.btn {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.3;
  border: 2px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn--primaer { background: var(--gruen-dunkel); color: #fff; }
.btn--primaer:hover { background: #123620; color: #fff; }
.btn--zweit {
  background: var(--flaeche);
  color: var(--gruen-dunkel);
  border-color: var(--gruen-dunkel);
}
.btn--zweit:hover { background: var(--gruen-dunkel); color: #fff; }
.btn--gross { padding: 0.95rem 1.8rem; font-size: 1.05rem; }

/* ---------- Kopfleiste ----------
   Maße aus dem Entwurf (828 px Zeichenbreite): Balken 66 px hoch, Logokachel
   72 px breit, ragt 32 px unter den Balken, „Prophylaxe" in 57 px. */

.kopf { background: var(--gruen-dunkel); }
.kopf__reihe {
  display: flex;
  align-items: center;
  gap: 0 1.3rem;
  min-height: 78px;
}
.kopf__logo {
  width: 96px;
  height: auto;
  flex: none;
  margin-bottom: -34px;
  position: relative;
  z-index: 2;
  border-radius: 3px;
}
.kopf__titel {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 0.8rem;
  font-family: Signika, sans-serif;
  font-weight: 300;
  font-size: clamp(22px, 7vw, 62px);
  color: #ffffff;
  line-height: 1;
}
.kopf__titel span {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  color: #ffffff;
}
.kopf__aktionen {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.kopf__nummer, .kopf__termin {
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 3px;
  padding: 0.55rem 1.2rem;
  line-height: 1.3;
}
.kopf__nummer { border: 2px solid #ffffff; color: #ffffff; }
.kopf__nummer:hover { background: #ffffff; color: var(--gruen-dunkel); }
.kopf__termin { background: var(--gruen); color: var(--gruen-dunkel); border: 2px solid var(--gruen); }
.kopf__termin:hover { background: #bcd778; border-color: #bcd778; color: var(--gruen-dunkel); }
@media (max-width: 44em) {
  .kopf__aktionen { display: none; }
  .kopf__logo { width: 68px; margin-bottom: -26px; }
  .kopf__reihe { min-height: 60px; }
}

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

/* Das Hero-Bild läuft über die volle Seitenbreite; die Sprechzeiten-Box legt
   sich von rechts über seine untere Kante. */
.hero__links { min-width: 0; }
.hero__bildblock { display: block; }
.hero__bild {
  width: 100%;
  aspect-ratio: 3.85 / 1;
  object-fit: cover;
  object-position: 60% center;
}

.hero__text { padding: 0; }
.hero__links { padding-top: var(--abstand); }
.hero__raster {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 48em) {
  /* Zeile 1: nur das Bild in der linken Spalte. Zeile 2: Text links,
     Seitenspalte rechts — von dort zieht sie die Sprechzeiten-Box über die
     untere rechte Ecke des Bildes, genau wie in der Vorlage. */
  .hero__raster {
    grid-template-columns: minmax(0, 2.6fr) minmax(170px, 1fr);
    column-gap: 2.5rem;
  }
}
.hero__vorspann { font-size: 1.06rem; max-width: 40em; }
.hero__aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  max-width: none;
}

/* Kicker-Badge über den Überschriften */

.kicker {
  display: inline-block;
  background: var(--gruen);
  color: #ffffff;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 3px;
  margin-bottom: 0.9rem;
}

/* Sprechzeiten-Box und Sprungmarken */

/* In der Vorlage liegt die Sprechzeiten-Box über der unteren rechten Ecke des
   Hero-Bildes. Die Seitenspalte wird dafür nach oben gezogen. */
.seitenspalte { display: grid; gap: 1.2rem; align-content: start; }
@media (min-width: 48em) {
    /* 45 px über die Bildkante hinauf, gemessen an der Vorlage */
  .seitenspalte { margin-top: -2.8rem; position: relative; z-index: 3; }
}

.sprechzeiten {
  background: var(--flaeche);
  border: 6px solid var(--gruen-rahmen);
  border-radius: 2px;
  padding: 0.9rem 1.1rem;
}
.sprechzeiten__titel {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gruen-dunkel);
  margin: 0 0 0.5rem;
}
.sprechzeiten table { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.sprechzeiten th {
  text-align: left;
  font-weight: 400;
  padding: 0.1rem 0.6rem 0.1rem 0;
  white-space: nowrap;
}
.sprechzeiten td { text-align: right; padding: 0.1rem 0; }

.wegweiser {
  background: var(--gruen-panel);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.wegweiser__titel {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gruen-dunkel);
  margin: 0 0 0.7rem;
}
.wegweiser ul {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}
.wegweiser a {
  display: block;
  background: var(--gruen);
  color: #ffffff;
  text-decoration: none;
  font-family: Signika, sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  white-space: nowrap;
}
.wegweiser a:hover { background: var(--gruen-dunkel); color: #fff; }
.wegweiser__logo { width: 76px; margin: 1rem auto 0; border-radius: 4px; }

/* Bild mit aufsitzender Logomarke (Warum-Block der Vorlage) */

.warum__oben, .warum__unten {
  display: grid;
  gap: 1.5rem 3.3rem;
  grid-template-columns: 1fr;
}
.warum__unten .bild--gerahmt { margin-top: 1.4rem; margin-bottom: 0; }
@media (min-width: 44em) {
  .warum__oben  { grid-template-columns: minmax(0, 2.46fr) minmax(140px, 1fr); }
  .warum__unten { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr); }
  .warum__unten .hinweis { margin-top: 0; }
}
/* align-self: start ist wesentlich — sonst streckt das Raster die Figur auf
   die Zeilenhöhe, und die absolut gesetzte Marke landet weit unter dem Bild. */
/* Nur die Logomarke über dem rechten Block — ohne Balken. Der grüne Balken
   des Entwurfs ist kein Teil des Logos, sondern der Unterstrich unter der
   Abschnittsüberschrift. */
.markenband {
  text-align: center;
  margin-bottom: 1.4rem;
}
@media (min-width: 48em) {
  /* Der Balken soll über der ersten Zwischenüberschrift stehen, nicht auf
     ihrer Höhe — gemessen lagen beide exakt gleichauf. Damit er die
     Abschnittsüberschrift nicht überdeckt, endet diese an der Spaltenkante. */
  .markenband { margin-top: 0; }
  #leistungen > .inhalt > h2 { max-width: 60%; }
}
.markenband img {
  position: relative;
  z-index: 2;
  width: 76px;
  margin: 0 auto;
  border: 4px solid #ffffff;
  border-radius: 3px;
}
.bildmarke { position: relative; margin: 0; align-self: start; }
/* Nur das Motiv füllt die Breite — die Logomarke daneben hat ihre eigene
   Größe. (.bildmarke img wäre spezifischer als .bildmarke__logo.) */
.bildmarke picture img { width: 100%; border-radius: 2px; }
.bildmarke__logo {
  position: absolute;
  left: 50%;
  bottom: -1.2rem;
  transform: translateX(-50%);
  width: 72px;
  border: 4px solid #ffffff;
  border-radius: 3px;
}

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

.abschnitt { padding: var(--abstand) 0; }
.abschnitt--flaeche { background: var(--flaeche-hell); }

/* Voller grüner Balken, z. B. über dem FAQ */

.balken {
  background: var(--gruen);
  padding: 1.6rem 0 0.8rem;
}
.balken h2 { color: #ffffff; margin: 0; }

/* ---------- Inhaltsbausteine ---------- */

.icon {
  width: 44px;
  height: 44px;
  flex: none;
  fill: none;
  stroke: var(--gruen-dunkel);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zweispalt {
  display: grid;
  gap: 1.5rem 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 48em) {
  .zweispalt { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
}
.zweispalt h3:first-child { margin-top: 0; }
.zweispalt h3 { margin-top: 1.6em; }

.bild--gerahmt {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 1.8rem;
}

/* Hinweiskasten: grüne Kopfleiste mit Info-Symbol, weißer Körper */

.hinweis {
  border: 2px solid var(--gruen);
  border-radius: var(--radius);
  margin: 2rem 0;
  overflow: hidden;
  max-width: 34em;
  background: var(--flaeche);
  display: flex;
  flex-direction: column;
}
.hinweis__kopf {
  background: var(--gruen);
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  margin: 0;
  max-width: none;
}
.hinweis__kopf svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.8;
}
.hinweis__koerper { background: var(--flaeche); padding: 1.1rem 1.1rem 0.2rem; flex: 1; }
.hinweis__koerper p:last-child { margin-bottom: 1rem; }

/* Ablauf in fünf Schritten */

.ablauf {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  max-width: none;
  display: grid;
  gap: 1.6rem;
}
.ablauf__schritt {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--gruen);
}
.ablauf__schritt:last-child { border-bottom: 0; padding-bottom: 0; }
.ablauf__schritt strong {
  display: block;
  font-family: Signika, sans-serif;
  color: var(--dunkel);
  margin-bottom: 0.25em;
}
.ablauf__schritt p { margin: 0; }

/* Kartenraster „Für wen" */

.karten {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  max-width: none;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 34em) { .karten { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 48em) { .karten { grid-template-columns: repeat(3, 1fr); } }
.karte {
  background: var(--flaeche);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.karte strong {
  display: block;
  font-family: Signika, sans-serif;
  color: var(--dunkel);
  margin-bottom: 0.3em;
}
.karte p { margin: 0; font-size: 1rem; }

/* Preisangabe */

.unterstrich {
  width: min(100%, 21em);
  height: 1.9rem;
  background: var(--gruen-panel);
  margin: 0 0 1.8em;
}
/* Im Leistungsabschnitt im kräftigen Praxisgrün — der Entwurf zeigt den
   Unterstrich dort als vollen Balken, im Kostenabschnitt als helle Fläche. */
.unterstrich--kraeftig { background: var(--gruen); }
/* Der Kostenabschnitt läuft in der Vorlage über die volle Spaltenbreite */
#kosten p { max-width: none; }

.aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  max-width: none;
  margin-top: 2rem;
}

/* Wie oft: Text links, gerahmtes Bild mit Unterschrift rechts */

.intervall__raster {
  display: grid;
  gap: 1.5rem 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 48em) {
  .intervall__raster { grid-template-columns: minmax(0, 2.4fr) minmax(150px, 1fr); }
}
.intervall__unten {
  display: grid;
  gap: 1.5rem 3rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}
@media (min-width: 48em) {
  .intervall__unten { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); }
  .intervall__unten .hinweis { margin-top: 0; }
}
.gerahmt { margin: 0; align-self: start; }
@media (min-width: 48em) {
  /* In der Vorlage ragt das Bild oben aus der grünen Fläche heraus */
  .gerahmt { margin-top: calc(-1 * var(--abstand) - 9rem); position: relative; z-index: 2; }
}
.gerahmt img { width: 100%; border: 6px solid var(--gruen); display: block; }
.gerahmt figcaption {
  background: var(--gruen-panel);
  color: var(--gruen-dunkel);
  font-style: italic;
  font-weight: 600;
  text-align: center;
  padding: 0.5rem 0.6rem;
  font-size: 0.92rem;
}

/* Block „bei den Profis" */

.profis {
  border-top: 2px solid var(--gruen);
  padding-top: 1.6rem;
  margin-top: 2.5rem;
}
.nummernfeld {
  display: inline-block;
  border: 2px solid var(--gruen);
  color: var(--gruen-dunkel);
  text-decoration: none;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border-radius: 3px;
}
.nummernfeld:hover { background: var(--gruen); color: #ffffff; }
.profis h3 { margin-bottom: 0.6em; }

/* ---------- Galeriekacheln über die volle Breite ---------- */

.logoband {
  background: var(--gruen);
  text-align: center;
  height: 2.6rem;
}
.logoband img {
  width: 76px;
  margin: 0 auto;
  border: 4px solid #ffffff;
  border-radius: 3px;
  position: relative;
  top: 0.5rem;
  z-index: 2;
}

.kacheln {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  width: min(100% - 2 * clamp(1rem, 7vw, 3.5rem), var(--spalte));
  max-width: none;
  margin-top: 1.4rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 48em) {
  .kacheln { grid-template-columns: repeat(4, 1fr); }
}
.kacheln img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Anfahrt ---------- */

.anfahrt {
  display: grid;
  gap: 1rem 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 48em) {
  .anfahrt { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
}
.anfahrt__logo { width: 76px; margin-bottom: 0.8rem; border-radius: 3px; }
.anfahrt__adresse { font-style: normal; line-height: 1.7; margin-bottom: 1.5rem; }
.anfahrt__adresse strong {
  font-family: Signika, sans-serif;
  color: var(--gruen-dunkel);
  font-size: 1.15rem;
}

.zeiten { border-collapse: collapse; margin-bottom: 1.2rem; font-size: 1rem; }
.zeiten caption {
  text-align: left;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gruen-dunkel);
  padding-bottom: 0.4rem;
}
.zeiten th, .zeiten td {
  text-align: left;
  vertical-align: top;
  padding: 0.3rem 1.2rem 0.3rem 0;
  font-weight: 400;
}
.zeiten th { color: var(--gruen-dunkel); font-weight: 600; }

/* ---------- FAQ ---------- */

.faq { max-width: 46em; }
.faq { max-width: 50em; }
.faq details { border-bottom: 1px solid rgba(27, 74, 47, 0.45); }
.faq details:first-child { border-top: 1px solid rgba(27, 74, 47, 0.45); }
.faq summary {
  cursor: pointer;
  padding: 1.1rem 2.5rem 1.1rem 0;
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { display: inline; margin: 0; font-size: 1rem; font-weight: 600; color: var(--gruen-dunkel); }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.4rem;
  top: 1.5rem;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gruen-dunkel);
  border-bottom: 2px solid var(--gruen-dunkel);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.8rem; }
.faq details p { margin: 0 0 1.2rem; }
.faq summary:hover h3 { color: #ffffff; }
.faq details p { color: var(--gruen-dunkel); max-width: 46em; }

/* ---------- Abschluss und Fußzeile ---------- */

.terminkasten {
  background: var(--gruen-panel);
  /* --text auf diesem Grün liegt bei 4,21 : 1 und fällt durch AA;
     --dunkel erreicht 7,1 : 1. */
  color: var(--dunkel);
  padding: 2rem;
  border-radius: 2px;
}
.terminkasten--schmal { padding: 1.1rem 1.2rem; margin-top: 1.2rem; }
.terminkasten--schmal .aktionen { margin: 0; }
.terminkasten .termin__zeile { opacity: 1; color: var(--dunkel); }
.termin__zeile { font-size: 0.95rem; opacity: 0.9; margin-top: 1.5rem; }

.fuss {
  background: var(--gruen-dunkel);
  color: #eaf1f5;
  padding: var(--abstand) 0 2rem;
  margin-top: 0;
}
.fuss a { color: #ffffff; }
.fuss a:hover { color: var(--gruen); }
.fuss p { max-width: none; }
.fuss__raster {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.fuss__logo { margin-bottom: 1rem; border-radius: 4px; }
.fuss__ueberschrift {
  font-family: Signika, sans-serif;
  font-weight: 600;
  color: var(--gruen);
  margin-bottom: 0.4em;
}
.fuss__adresse { line-height: 1.6; }

/* ---------- Mobile Telefonleiste ---------- */

.telefonleiste {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  display: flex;
  gap: 0.6rem;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 2px solid var(--gruen);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
}
.telefonleiste[hidden] { display: none; }
.telefonleiste .btn { flex: 1; text-align: center; }
@media (min-width: 48em) {
  .telefonleiste { display: none; }
}

/* Die Leiste liegt fest über dem unteren Seitenrand und nimmt dem Dokument
   dort rund 73 px weg. Ohne diesen Platzhalter verschwindet die letzte Zeile
   der Fußzeile darunter — und der Datenschutz-Link ist auf dem Handy nicht
   mehr anklickbar, weil die Leiste den Klick abfängt. */
@media (max-width: 47.99em) {
  .fuss { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
}

/* Der grüne Balken sitzt bündig am Abschnittsanfang */
.abschnitt--balken { padding-top: 0; background: var(--gruen); }
