/* Ergänzungen für die statische Fassung. Das eigentliche Aussehen kommt
   unverändert aus seite-1.css bis seite-3.css der bisherigen Seite. */

[hidden] { display: none !important; }

/* Seitenmenü */
.menue-rollen { overflow: hidden scroll; scrollbar-width: none; }
.menue-rollen::-webkit-scrollbar { display: none; }
.menue-tabelle { min-width: 100%; display: table; }
body.menue-offen { overflow: hidden; }

/* Kontaktbild: auf breiten Bildschirmen links bündig mit Kopfzeile und Inhalt
   (im Original reichte es bis an den Fensterrand). Die rechte Kante bleibt gleich. */
@media (min-width: 1280px) {
  .kontakt-bild {
    --einzug: max(16px, calc((100% - 1280px) / 2));
    left: var(--einzug);
    width: calc(56% - var(--einzug));
    border-top-left-radius: 0.3125rem;
    border-bottom-left-radius: 0.3125rem;
  }
}
@media (min-width: 1400px) {
  .kontakt-bild { --einzug: max(16px, calc((100% - 1290px) / 2)); }
}

/* Kontaktformular */
.nicht-ausfuellen { position: absolute; left: -999rem; width: 1px; height: 1px; overflow: hidden; }
.formular-meldung { margin: 0; padding: 0.85rem 1rem; border-left: 4px solid; border-radius: 0.3125rem; font-weight: 500; }
.formular-meldung:empty { display: none; }
.formular-meldung.ist-ok { background: #e3f3ea; border-color: #17603a; color: #17603a; }
.formular-meldung.ist-fehler { background: #fbe9e6; border-color: #a4281c; color: #a4281c; }
.js-formular button[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Detailfenster (Service und Über uns) ---------- */

/* Service-Karten: ganze Karte klickbar */
#Service article { cursor: pointer; }
.info-oeffnen {
  display: block;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-secondary), sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(51 154 240);
  cursor: pointer;
}
.info-oeffnen::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.info-oeffnen:focus-visible { outline: none; }
#Service article:has(.info-oeffnen:focus-visible) { outline: 3px solid rgb(51 154 240); outline-offset: 3px; }
#Service article:hover .info-oeffnen { color: rgb(12 74 110); }

/* Über-uns-Kacheln */
.info-kachel {
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s;
}
.info-kachel:hover { background-color: rgb(224 240 248); }
.info-kachel:focus-visible { outline: 3px solid rgb(51 154 240); outline-offset: 3px; }
.info-plus { margin-left: auto; flex: none; color: rgb(51 154 240); line-height: 0; }

/* Fenster */
.info-fenster {
  width: min(46rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0;
  border-radius: 0.3125rem;
  background: #fff;
  color: rgb(7 89 133);
  box-shadow: 0 20px 60px rgb(12 74 110 / 0.3);
  overflow: auto;
  overscroll-behavior: contain;
}
.info-fenster::backdrop { background: rgb(0 0 0 / 0.5); }
.info-fenster[open] { animation: info-auf 0.25s ease-out; }
@keyframes info-auf { from { opacity: 0; transform: translateY(1rem); } }
@media (prefers-reduced-motion: reduce) { .info-fenster[open] { animation: none; } }

.info-fenster-innen { padding: 1.75rem 1.5rem; line-height: 1.75; }
@media (min-width: 768px) { .info-fenster-innen { padding: 2.5rem 3rem; } }

.info-kopf { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem; }
.info-symbol { flex: none; color: rgb(51 154 240); line-height: 0; }
.info-symbol svg { width: 2.75rem; height: 2.75rem; }
.info-kopf h2 {
  flex: 1;
  margin: 0;
  font-family: var(--font-secondary), sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
  color: rgb(12 74 110);
}
.info-zu {
  flex: none;
  align-self: flex-start;
  padding: 0.25rem;
  border: 0;
  background: none;
  color: rgb(12 74 110);
  cursor: pointer;
  line-height: 0;
}
.info-zu:hover { color: rgb(51 154 240); }
.info-zu:focus-visible, .info-cta:focus-visible, .info-tel:focus-visible { outline: 3px solid rgb(51 154 240); outline-offset: 3px; }

.info-einleitung { margin: 0 0 2rem; font-size: 1.0625rem; }

.info-zwischen {
  position: relative;
  margin: 0 0 1.25rem;
  padding-bottom: 14px;
  font-family: var(--font-secondary), sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgb(12 74 110);
}
.info-zwischen::after { content: ""; position: absolute; left: 0; bottom: 0; width: 50px; height: 2px; background: currentColor; }

.info-liste { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 0.7rem; }
.info-liste li { display: grid; grid-template-columns: 18px 1fr; gap: 0.85rem; line-height: 1.6; }
.info-liste svg { margin-top: 0.2rem; color: rgb(51 154 240); }

.info-marken { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.info-marken li {
  padding: 0.3rem 0.85rem;
  border: 1px solid rgb(51 154 240);
  border-radius: 0.3125rem;
  font-family: var(--font-secondary), sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: rgb(12 74 110);
}

.info-fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(186 230 253);
}
.info-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0 1.75rem;
  border: 0;
  border-radius: 0.3125rem;
  background: rgb(51 154 240);
  color: #fff;
  font-family: var(--font-secondary), sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s;
}
.info-cta:hover { background: rgb(28 126 214); color: #fff; }
.info-tel { color: rgb(7 89 133); text-decoration: none; }
.info-tel:hover { color: rgb(51 154 240); }

/* Laufband: mehr Namen, gleiche Geschwindigkeit wie bisher */
.animate-infinite-scroll { animation-duration: 69s; }
