html {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background-color: #fff;
  font-family: "ABCDiatype", "Helvetica Neue", Helvetica, Arial, sans-serif; /* eigene Schrift zuerst */
  font-weight: 400;
  line-height: 1.25rem;
  color: #000;
}

/* Eigene Schrift einbinden */
@font-face {
  font-family: "ABCDiatype";
  src: url("font/ABCDiatypeVariableEdu-Regular.woff2") format("woff2"),
       url("font/ABCDiatypeVariableEdu-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

body {
  min-height: 100vh;
  margin: 0;
  font-size: 1.125rem; /* Standardgröße = ca. 18px */

  /* Linienraster im Hintergrund */
  background-image: url("linie-20px.svg");
  background-repeat: repeat;
  background-position: left 0.6rem;
  background-size: auto;
  padding-top: .125rem;
}

.hero-image {
  width: calc(100% - 40px); /* volle Breite minus 20px links + 20px rechts */
  height: auto;             /* "absolut" war ungültig – jetzt korrekt */
  display: block;
  margin: 0 20px;           /* links und rechts 20px Abstand */
  border: none;
  padding: 0;
}

/* Nur das erste Bild kriegt 20px Abstand nach oben */
.hero-image:first-of-type {
  margin-top: 18px;
}

/* Container für h2 + h3 */
.heading-row {
  display: flex;
  justify-content: space-between; /* h2 links, h3 rechts */
  align-items: baseline;
  padding-left: 20px;   /* links Abstand */
  padding-right: 20px;  /* rechts Abstand */
  margin: 20px 0 0 0;
}

/* h2 + h3 Styling */
.heading-row h2,
.heading-row h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  font-family: "ABCDiatype", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Silbentrennung + Wortumbruch */
  hyphens: auto;
  overflow-wrap: break-word;
}

/* Fließtext */
p {
  margin: 0;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  color: #000;
  text-decoration: none;
  font-family: "ABCDiatype", "Helvetica Neue", Helvetica, Arial, sans-serif;

  

  /* Silbentrennung + Wortumbruch */
  hyphens: auto;
  overflow-wrap: break-word;
}

 a {
  margin: 0;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 5px;
  box-sizing: border-box;
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  text-align: right;
  color: #000;
  text-decoration: none;
  font-family: "ABCDiatype", "Helvetica Neue", Helvetica, Arial, sans-serif;

  

  /* Silbentrennung + Wortumbruch */
  hyphens: auto;
  overflow-wrap: break-word;
}

/* Icon vor h2 */
.heading-row h2::before {
  position: absolute;
  content: url("Element\ 2.svg");
  left: 0;
  top: 18px;
  height: 1.25rem;
  width: 1.25rem;
  border-top: solid 1px #fff;
}

/* --- Mobile Fix: Schriftgröße nie kleiner als 18px --- */
@media (max-width: 768px) {
  body,
  h1, h2, h3, p, a {
    font-size: 18px !important; /* erzwingt 18px */
    line-height: 20px;          /* für sauberes Raster */
    hyphens: auto;              /* Silbentrennung auch mobil */
    overflow-wrap: break-word;
  }
}