/* ==========================================================================
   Songül Derin – globales Stylesheet
   Aufbau: Variablen · Basis · Kopf und Menü · Hero · Bausteine · Seiten ·
           Fuß · Animationen · Sonderfälle
   ========================================================================== */

/* Die Schriften liegen auf dem eigenen Webspace, es gibt keine Anfragen an fremde Server.
   latin-ext enthält die türkischen Zeichen ş, ğ und İ und wird nur bei Bedarf geladen. */
@font-face {
  font-family: "Red Hat Display";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/red-hat-display-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Red Hat Display";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/red-hat-display-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Red Hat Text";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/red-hat-text-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Red Hat Text";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/red-hat-text-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;

  --rot: #b3122a;
  --rot-dunkel: #8e0d20;
  --text: #1e1f21;
  --text-leise: #4a4c50;
  --grau-hell: #f4f4f4;
  --grau: #efefef;
  --grau-band: #e4e4e4;
  --linie: #d9d9d9;
  --weiss: #fff;

  --schrift: "Red Hat Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Roboto, "Noto Sans", Arial, sans-serif;
  --schrift-titel: "Red Hat Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Roboto, "Noto Sans", Arial, sans-serif;

  --breite: 120rem;
  --rand: clamp(1rem, 4vw, 5rem);
  --abstand: clamp(3.5rem, 7vw, 6rem);
  --radius: 0.875rem;
  --schatten: 0 1px 2px rgb(0 0 0 / 6%), 0 8px 24px rgb(0 0 0 / 6%);
  --kopf-hoehe: 5.75rem;
}

/* --- Basis --------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--kopf-hoehe) + 1rem);
}

body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

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

img {
  height: auto;
}

h1,
h2,
h3 {
  margin: 0 0 0.6em;
  font-family: var(--schrift-titel);
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.625rem, 3.2vw, 2.25rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
}

p,
ul,
ol,
address {
  margin: 0 0 1em;
}

address {
  font-style: normal;
}

a {
  color: var(--rot);
  text-underline-offset: 0.18em;
}

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

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

main:focus {
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: var(--rand);
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 0.5rem 0.5rem;
  background: var(--text);
  color: var(--weiss);
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
  color: var(--weiss);
}

/* --- Kopf und Menü ---------------------------------------------------------- */

.seitenkopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--weiss);
  transition: box-shadow 0.25s ease;
}

.seitenkopf.gescrollt {
  box-shadow: 0 2px 14px rgb(0 0 0 / 10%);
}

.seitenkopf-innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1.5rem;
  min-height: var(--kopf-hoehe);
}

.logo {
  display: inline-block;
  padding-block: 0.5rem;
  color: var(--text);
  line-height: 1;
  text-decoration: none;
}

.logo:hover {
  color: var(--text);
}

.logo-wort {
  display: inline-flex;
  align-items: flex-start;
  font-family: var(--schrift-titel);
  font-size: 2.375rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.logo-quadrat {
  width: 0.5em;
  height: 0.5em;
  margin: 0.08em 0 0 0.22em;
  background: var(--rot);
  transition: transform 0.3s ease;
}

.logo:hover .logo-quadrat {
  transform: rotate(90deg);
}

.logo-name {
  display: block;
  margin-top: 0.2rem;
  font-size: 1rem;
}

.menue-liste {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menue-liste a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 3rem;
  color: var(--text);
  font-size: 1.125rem;
  text-decoration: none;
}

.menue-liste a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 3px;
  background: var(--rot);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.menue-liste a:hover::after,
.menue-liste a[aria-current]::after {
  transform: scaleX(1);
}

.menue-liste a[aria-current] {
  font-weight: 700;
}

.menue-knopf {
  display: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0 0.875rem;
  border: 1px solid var(--linie);
  border-radius: 0.5rem;
  background: var(--weiss);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.menue-balken,
.menue-balken::before,
.menue-balken::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.menue-balken {
  position: relative;
}

.menue-balken::before,
.menue-balken::after {
  content: "";
  position: absolute;
  left: 0;
}

.menue-balken::before {
  top: -6px;
}

.menue-balken::after {
  top: 6px;
}

.menue-knopf[aria-expanded="true"] .menue-balken {
  background: transparent;
}

.menue-knopf[aria-expanded="true"] .menue-balken::before {
  background: var(--text);
  transform: translateY(6px) rotate(45deg);
}

.menue-knopf[aria-expanded="true"] .menue-balken::after {
  background: var(--text);
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 47.99rem) {
  :root {
    --kopf-hoehe: 4.75rem;
  }

  .logo-wort {
    font-size: 1.875rem;
  }

  .logo-name {
    font-size: 0.875rem;
  }

  .js .menue-knopf {
    display: inline-flex;
  }

  /* Ohne JavaScript bleibt das Menü als Liste unter dem Logo sichtbar. */
  .hauptmenue {
    flex-basis: 100%;
  }

  .js .hauptmenue {
    flex-basis: auto;
  }

  .menue-liste {
    flex-direction: column;
    gap: 0;
    padding-bottom: 0.5rem;
    border-top: 1px solid var(--linie);
  }

  .js .menue-liste {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding-inline: var(--rand);
    background: var(--weiss);
    box-shadow: 0 10px 18px rgb(0 0 0 / 12%);
  }

  .js .menue-liste:not(.offen) {
    display: none;
  }

  .menue-liste a::after {
    right: auto;
    width: 3rem;
  }
}

/* Bei wenig Höhe, etwa mit starkem Zoom oder im Querformat, nimmt der Kopf sonst zu viel Platz weg. */
@media (max-height: 34rem) {
  html {
    scroll-padding-top: 1rem;
  }

  .seitenkopf {
    position: static;
  }
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: var(--grau);
}

.hero-bild {
  position: absolute;
  inset: 0 0 0 auto;
  width: 52%;
}

.hero-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%);
  mask-image: linear-gradient(to right, transparent, #000 14%);
}

.hero-inhalt {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.hero-text {
  width: 46%;
  max-width: 52rem;
}

.hero-kicker {
  margin-bottom: 1.1rem;
  color: var(--rot);
  font-family: var(--schrift-titel);
  font-size: clamp(0.875rem, 1.15vw, 1.125rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 0.3em;
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  line-height: 1.12;
  hyphens: manual;
}

.hero h1 em {
  color: var(--rot);
  font-style: normal;
}

.hero-beruf {
  margin-bottom: 1.5rem;
  font-size: clamp(1.1875rem, 2vw, 1.625rem);
  line-height: 1.35;
}

.hero-text > p:not([class]) {
  max-width: 38rem;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
}

.knopf-reihe {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.6rem 2rem;
  border: 2px solid var(--rot);
  border-radius: 0.375rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.knopf:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgb(0 0 0 / 14%);
}

.knopf-primaer {
  background: var(--rot);
  color: var(--weiss);
}

.knopf-primaer:hover {
  border-color: var(--rot-dunkel);
  background: var(--rot-dunkel);
  color: var(--weiss);
}

.knopf-sekundaer {
  background: var(--weiss);
  color: var(--rot);
}

.knopf-sekundaer:hover {
  background: var(--rot);
  color: var(--weiss);
}

@media (max-width: 53.99rem) {
  .hero-bild {
    position: static;
    width: 100%;
    height: clamp(14rem, 55vw, 24rem);
  }

  .hero-bild img {
    object-position: center 60%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-inhalt {
    padding-block: 2.75rem;
  }

  .hero-text {
    width: 100%;
  }

  /* Hält die Überschrift auch auf sehr schmalen Geräten bei zwei Zeilen. */
  .hero h1 {
    font-size: clamp(2.125rem, 10.6vw, 4rem);
  }

  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero-bild {
    order: 2;
  }
}

.band {
  padding-block: 1.75rem;
  background: var(--grau-band);
  font-family: var(--schrift-titel);
  font-size: clamp(1.3125rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

.band p {
  margin-block: 0;
}

/* --- Bausteine -------------------------------------------------------------- */

.abschnitt {
  padding-block: var(--abstand);
}

.abschnitt-grau {
  background: var(--grau-hell);
}

.abschnitt-weiss {
  background: var(--weiss);
}

.abschnitt-kopf {
  max-width: 46rem;
  margin-bottom: 2.5rem;
}

.abschnitt-kopf p:last-child {
  margin-bottom: 0;
}

.seiten-titel {
  padding-block: clamp(2.75rem, 6vw, 4.5rem) 0;
}

.seiten-titel::after,
.titel-strich::after {
  content: "";
  display: block;
  width: 6rem;
  height: 5px;
  margin-top: 1.25rem;
  background: var(--rot);
}

.seiten-titel h1 {
  margin: 0;
}

.karten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 60rem) {
  .karten {
    grid-template-columns: repeat(3, 1fr);
  }
}

.karte {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--weiss);
  box-shadow: var(--schatten);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.karte:hover,
.karte:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgb(0 0 0 / 6%), 0 14px 32px rgb(0 0 0 / 10%);
}

.karte .icon {
  margin-bottom: 1rem;
  color: var(--rot);
}

.karte h3 {
  margin-bottom: 0.4em;
}

.karte h3 a {
  color: var(--text);
  text-decoration: none;
}

/* Die ganze Karte wird zur Klickfläche, im Quelltext bleibt es ein einzelner Link. */
.karte h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.karte h3 a:hover {
  color: var(--rot);
}

.karte p:last-child {
  margin-bottom: 0;
}

.karte-hinweis {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--rot);
  color: var(--weiss);
}

.karte-hinweis h3 a,
.karte-hinweis h3 a:hover {
  color: var(--weiss);
}

.karte-hinweis :focus-visible {
  outline-color: var(--weiss);
}

.zwei-spalten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: 2.5rem clamp(2rem, 6vw, 5rem);
}

.zwei-spalten > * {
  max-width: 46rem;
}

.haken-liste {
  margin: 0;
  padding: 0;
  list-style: none;
}

.haken-liste li {
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--linie);
}

.haken-liste li:first-child {
  padding-top: 0;
}

.haken-liste li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.haken-liste strong {
  display: block;
  font-family: var(--schrift-titel);
  font-size: 1.125rem;
}

.vorteile {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 2rem clamp(2rem, 4vw, 4rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.vorteile li {
  padding-top: 1.25rem;
  border-top: 3px solid var(--rot);
}

.vorteile p:last-child {
  margin-bottom: 0;
}

.einleitung {
  font-size: clamp(1.1875rem, 1.6vw, 1.375rem);
  line-height: 1.5;
}

.fakten {
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  border-radius: var(--radius);
  background: var(--grau-hell);
}

.fakten h2 {
  font-size: 1.375rem;
}

.fakten-hinweis {
  margin: 1rem 0 0;
  color: var(--text-leise);
}

.punkte {
  margin: 0;
  padding-left: 1.25rem;
}

.punkte li {
  padding-block: 0.3rem;
}

.punkte li::marker {
  color: var(--rot);
}

.kasten {
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  border-radius: var(--radius);
  background: var(--grau-hell);
}

.kasten > :last-child {
  margin-bottom: 0;
}

.vorteile-bloecke > div {
  padding-top: 1.25rem;
  border-top: 3px solid var(--rot);
}

.vorteile-bloecke p:last-child {
  margin-bottom: 0;
}

.stand {
  margin-top: 1.5rem;
  margin-bottom: 0;
  color: var(--text-leise);
  font-size: 0.9375rem;
}

.weiterlesen {
  max-width: 52rem;
  margin-top: 2.5rem;
}

.weiterlesen p {
  margin: 0;
}

.brotkrumen {
  padding-top: 1.25rem;
  font-size: 0.9375rem;
}

.brotkrumen ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brotkrumen li:not(:last-child)::after {
  content: "/";
  margin-inline: 0.5rem;
  color: var(--text-leise);
}

.brotkrumen li[aria-current] {
  color: var(--text-leise);
}

.brotkrumen + .seiten-titel {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.termine {
  width: 100%;
  max-width: 52rem;
  table-layout: fixed;
  border-collapse: collapse;
  background: var(--weiss);
}

.termine caption {
  padding-bottom: 0.75rem;
  font-weight: 700;
  text-align: left;
}

.termine th,
.termine td {
  padding: clamp(0.5rem, 2vw, 0.875rem) clamp(0.5rem, 2vw, 1rem);
  border: 1px solid var(--linie);
  text-align: left;
  vertical-align: top;
  hyphens: auto;
}

.termine th {
  background: var(--grau-band);
  font-family: var(--schrift-titel);
}

.hinweis-box-oben {
  margin-top: 0;
}

.fakten dl {
  margin: 0;
}

.fakten dl > div {
  padding-block: 0.8rem;
  border-top: 1px solid var(--linie);
}

.fakten dt {
  font-family: var(--schrift-titel);
  font-weight: 700;
}

.fakten dd {
  margin: 0;
}

.schritte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: schritt;
}

.schritte li {
  counter-increment: schritt;
}

.schritte li::before {
  content: counter(schritt);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  background: var(--rot);
  color: var(--weiss);
  font-family: var(--schrift-titel);
  font-size: 1.375rem;
  font-weight: 700;
}

.schritte p:last-child {
  margin-bottom: 0;
}

.tuerkisch {
  max-width: 60rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-left: 6px solid var(--rot);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--weiss);
  box-shadow: var(--schatten);
}

.tuerkisch p:last-child {
  margin-bottom: 0;
}

.faq {
  max-width: 52rem;
}

.faq details {
  border-bottom: 1px solid var(--linie);
}

.faq summary {
  position: relative;
  padding: 1.1rem 2.5rem 1.1rem 0;
  font-family: var(--schrift-titel);
  font-size: 1.125rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  top: 1.5rem;
  right: 0.5rem;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2.5px solid var(--rot);
  border-bottom: 2.5px solid var(--rot);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: translateY(0.25rem) rotate(-135deg);
}

.faq summary:hover {
  color: var(--rot);
}

.faq details p {
  padding-right: 2.5rem;
}

.aufruf {
  padding-block: clamp(3rem, 6vw, 4.5rem);
  background: var(--rot);
  color: var(--weiss);
}

.aufruf h2 {
  margin-bottom: 0.4em;
}

.aufruf p {
  max-width: 44rem;
}

.aufruf .knopf-reihe {
  margin-top: 1.5rem;
}

.aufruf .knopf {
  border-color: var(--weiss);
}

.aufruf .knopf-primaer {
  background: var(--weiss);
  color: var(--rot);
}

.aufruf .knopf-primaer:hover {
  border-color: var(--grau-band);
  background: var(--grau-band);
  color: var(--rot-dunkel);
}

.aufruf .knopf-sekundaer {
  background: transparent;
  color: var(--weiss);
}

.aufruf .knopf-sekundaer:hover {
  background: var(--rot-dunkel);
  color: var(--weiss);
}

.aufruf :focus-visible {
  outline-color: var(--weiss);
}

/* --- Seite: Leistungen ------------------------------------------------------ */

.seite-grau {
  background: var(--grau);
}

.leistung-liste {
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.leistung {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.5rem 1.75rem;
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  border-radius: var(--radius);
  background: var(--weiss);
  box-shadow: var(--schatten);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.leistung:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgb(0 0 0 / 6%), 0 14px 32px rgb(0 0 0 / 10%);
}

.leistung .icon {
  width: 5rem;
  height: 5rem;
  color: var(--rot);
  stroke-width: 1.8;
}

.leistung h2 {
  margin-bottom: 0.35em;
  font-size: clamp(1.375rem, 2.6vw, 1.75rem);
}

.leistung-kurz {
  font-size: 1.125rem;
}

.leistung p {
  max-width: 48rem;
}

.leistung p:last-child {
  margin-bottom: 0;
  color: var(--text-leise);
}

/* Auf breiten Bildschirmen steht die Erklärung neben dem Titel, damit rechts nichts leer bleibt. */
@media (min-width: 80rem) {
  .leistung > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    column-gap: clamp(2.5rem, 5vw, 5rem);
  }

  .leistung h2,
  .leistung-kurz {
    grid-column: 1;
  }

  .leistung-kurz {
    margin-bottom: 0;
  }

  .leistung p:last-child {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

.leistung-faq {
  margin-top: var(--abstand);
}

@media (max-width: 35rem) {
  .leistung {
    grid-template-columns: minmax(0, 1fr);
  }

  .leistung p {
    hyphens: auto;
  }

  .leistung .icon {
    width: 3.5rem;
    height: 3.5rem;
  }
}

.hinweis-box {
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  border: 2px solid var(--rot);
  border-radius: var(--radius);
  background: var(--weiss);
}

.hinweis-box h2 {
  font-size: 1.375rem;
}

.hinweis-box p:last-child {
  max-width: 60rem;
  margin-bottom: 0;
}

/* --- Seite: Kontakt --------------------------------------------------------- */

.kontakt-karten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kontakt-karte {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--weiss);
  box-shadow: var(--schatten);
}

.kontakt-karte .icon {
  margin-bottom: 0.875rem;
  color: var(--rot);
}

.kontakt-karte h2 {
  margin-bottom: 0.35em;
  font-size: 1.25rem;
}

.kontakt-karte p:last-child,
.kontakt-karte address:last-child {
  margin-bottom: 0;
}

.kontakt-karte .knopf {
  width: 100%;
  padding-inline: 0.75rem;
  overflow-wrap: anywhere;
}

/* --- Rechtstexte ------------------------------------------------------------ */

/* Ruhige Lesebreite von rund 75 Zeichen pro Zeile */
.rechtstext > * {
  max-width: 42rem;
}

.rechtstext h2 {
  margin-top: 2em;
  font-size: 1.375rem;
}

.rechtstext > :first-child {
  margin-top: 0;
}

.rechtstext a {
  overflow-wrap: anywhere;
}

.rechtstext-vorspann {
  font-weight: 600;
}

.rechtstext .ziffer {
  display: inline-block;
  min-width: 2.5rem;
  font-weight: 700;
}

.inhaltsverzeichnis {
  margin-bottom: 2.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  background: var(--grau-hell);
}

.inhaltsverzeichnis h2 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
}

.inhaltsverzeichnis ol {
  margin: 0;
  padding-left: 1.5rem;
}

.inhaltsverzeichnis li {
  padding-block: 0.15rem;
}

/* --- Fuß -------------------------------------------------------------------- */

.seitenfuss {
  border-top: 1px solid var(--linie);
  background: var(--weiss);
  font-size: 1rem;
}

.seitenfuss-spalten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 2rem clamp(2rem, 6vw, 5rem);
  padding-block: 3rem 2.25rem;
}

.seitenfuss-titel {
  margin-bottom: 0.5rem;
  font-family: var(--schrift-titel);
  font-weight: 700;
}

.seitenfuss-liste {
  margin: 0;
  padding: 0;
  list-style: none;
}

.seitenfuss-liste a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
}

.seitenfuss-liste a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
}

.seitenfuss-leiste {
  border-top: 1px solid var(--linie);
  padding-block: 1.1rem;
  font-size: 0.9375rem;
  text-align: center;
}

.seitenfuss-leiste p {
  margin: 0;
}

/* --- Animationen ------------------------------------------------------------ */

@media (prefers-reduced-motion: no-preference) {
  .hero-text > * {
    animation: einblenden 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  }

  .hero-text > :nth-child(2) { animation-delay: 0.08s; }
  .hero-text > :nth-child(3) { animation-delay: 0.16s; }
  .hero-text > :nth-child(4) { animation-delay: 0.24s; }
  .hero-text > :nth-child(5) { animation-delay: 0.32s; }
  .hero-text > :nth-child(6) { animation-delay: 0.4s; }

  .hero-bild img {
    animation: bild-einblenden 1.2s ease-out both;
  }

  .logo-quadrat {
    animation: quadrat-einblenden 0.6s 0.2s cubic-bezier(0.3, 1.4, 0.5, 1) both;
  }

  .js .reveal {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
  }

  .js .reveal.sichtbar,
  .js .reveal:target {
    opacity: 1;
    transform: none;
  }

  .js .karten > .reveal:nth-child(2),
  .js .schritte > .reveal:nth-child(2),
  .js .kontakt-karten > .reveal:nth-child(2) { transition-delay: 0.08s; }

  .js .karten > .reveal:nth-child(3),
  .js .schritte > .reveal:nth-child(3),
  .js .kontakt-karten > .reveal:nth-child(3) { transition-delay: 0.16s; }

  .js .karten > .reveal:nth-child(4) { transition-delay: 0.08s; }
  .js .karten > .reveal:nth-child(5) { transition-delay: 0.16s; }
  .js .karten > .reveal:nth-child(6) { transition-delay: 0.24s; }

  /* Karten behalten nach dem Einblenden ihre eigene, kurze Hover-Bewegung. */
  .js .karte.reveal.sichtbar,
  .js .leistung.reveal.sichtbar {
    transition: opacity 0.6s ease, transform 0.25s ease, box-shadow 0.25s ease;
  }

  .js .karte.reveal.sichtbar:hover,
  .js .karte.reveal.sichtbar:focus-within {
    transform: translateY(-4px);
  }

  .js .leistung.reveal.sichtbar:hover {
    transform: translateY(-3px);
  }
}

@keyframes einblenden {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
}

@keyframes bild-einblenden {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
}

@keyframes quadrat-einblenden {
  from {
    opacity: 0;
    transform: scale(0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .knopf:hover,
  .karte:hover,
  .karte:focus-within,
  .leistung:hover {
    transform: none;
  }
}

/* --- Sonderfälle ------------------------------------------------------------ */

@media (forced-colors: active) {
  .logo-quadrat,
  .schritte li::before {
    background: CanvasText;
    color: Canvas;
    forced-color-adjust: none;
  }

  .karte,
  .leistung,
  .kontakt-karte {
    border: 1px solid CanvasText;
  }

  .menue-liste a::after {
    background: CanvasText;
  }
}

@media print {
  .seitenkopf {
    position: static;
  }

  .menue-knopf,
  .skip-link,
  .hero-bild,
  .aufruf {
    display: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-text {
    width: 100%;
  }

  .karte,
  .leistung,
  .kontakt-karte {
    box-shadow: none;
    border: 1px solid #999;
  }
}
