/* Ergänzungen für eine gut lesbare, mobile Darstellung. */
:root {
  --page-gutter: clamp(1rem, 4vw, 2.5rem);
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

img {
  height: auto;
}

.container {
  width: min(100%, 1280px);
  padding-inline: var(--page-gutter);
}

header > .relative {
  padding-block: clamp(5rem, 15vw, 15rem) !important;
  padding-inline: var(--page-gutter) !important;
}

header h1,
header h1 span {
  max-width: 19ch;
  font-size: clamp(2.25rem, 6vw, 4.5rem) !important;
  line-height: 1.08 !important;
}

main h1, h2, h3, h4, h5 {
  overflow-wrap: anywhere;
}

h2.text-4xl {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  padding-inline: var(--page-gutter);
}

.text-justify {
  text-align: left;
}

/* Die Referenz-Karten waren nach rechts versetzt und führten mobil zu Leerraum. */
.group\/rwB6987E17_8A78_4D8A_BF2C_16EAAFA0E46C {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Einige automatisch erzeugte Karten hatten große linke Abstände. */
.ml-32,
.ml-72 {
  margin-left: 0 !important;
}

/* Kontakt klar hervorheben und E-Mail-Adresse auf kleinen Geräten umbrechen. */
.rwB30741F9_F84A_4195_B673_B836BEC72AF5 [style*="width: 50%"] {
  width: min(100% - (2 * var(--page-gutter)), 48rem) !important;
  margin: 0 auto;
  padding: 1.5rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.rwB30741F9_F84A_4195_B673_B836BEC72AF5 a {
  overflow-wrap: anywhere;
}

footer nav {
  flex-wrap: wrap;
  gap: .75rem 1.25rem !important;
}

footer > .relative {
  padding-top: clamp(3.5rem, 9vw, 8rem) !important;
}

@media (max-width: 767px) {
  .container {
    padding-inline: var(--page-gutter);
  }

  header h1,
  header h1 span {
    font-size: clamp(2rem, 9vw, 3rem) !important;
  }

  h2.text-4xl {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
    padding-inline: .25rem;
  }

  .md\:grid-cols-2,
  .md\:grid-cols-3,
  .lg\:grid-cols-4 {
    grid-template-columns: 1fr !important;
  }

  .rwB6C1272F_220D_47A1_9325_FCB5AEF2E439 > .relative,
  .rw32567110_BCB0_45F4_A301_31BD31961D99 > .relative {
    padding-inline: 0 !important;
  }

  .slide {
    padding-block: 1rem !important;
  }

  .rwB30741F9_F84A_4195_B673_B836BEC72AF5 [style*="font-size: 30px"] {
    font-size: 1.75rem !important;
  }

  .rwB30741F9_F84A_4195_B673_B836BEC72AF5 [style*="font-size: 20px"] {
    font-size: 1rem !important;
    margin-inline: 0 !important;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .container {
    padding-inline: clamp(1.5rem, 4vw, 2.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
