* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--grund);
}
a {
  color: var(--verweis);
}
.kopfbereich {
  background: var(--kopf-hintergrund);
  color: #fff;
}
.kopf {
  color: #fff;
}
.kopf-inhalt {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.marke {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
}
.marke img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.95rem;
}
nav a:hover,
nav a[aria-current=page] {
  color: #fff;
  text-decoration: underline;
}
.held {
  border-bottom: var(--held-rand);
  color: #fff;
}
.held-inhalt {
  max-width: 960px;
  margin: 0 auto;
  padding: 44px 24px 64px;
}
.held h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin: 0 0 14px;
  line-height: 1.15;
  text-wrap: balance;
  max-width: 20ch;
}
.held p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.84);
  max-width: 62ch;
  margin: 0;
}
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}
.karte {
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 22px;
}
.karte > h2:first-child,
.karte > h3:first-child {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.3;
}
h2 {
  font-size: 1.3rem;
  margin-top: 32px;
}
h3 {
  font-size: 1.05rem;
  margin-top: 24px;
}
.raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}
.raster {
  margin-bottom: 22px;
}
.raster .karte {
  margin-bottom: 0;
}
.hinweis {
  border-left: 4px solid var(--hinweis-streifen);
  background: var(--hinweis-hintergrund);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.karte.hinweis {
  padding: 22px 26px;
  border-radius: var(--radius);
}
.schwach {
  color: var(--text-schwach);
  font-size: 0.92rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.95rem;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 9px 12px;
  border-bottom: 1px solid var(--rand);
}
th {
  background: var(--tabellen-kopf);
  font-weight: 600;
}
.tabelle-rahmen {
  overflow-x: auto;
}
dl.kontakt dt {
  font-weight: 600;
  margin-top: 12px;
}
dl.kontakt dd {
  margin: 0;
}
.knopf {
  display: inline-block;
  padding: 11px 22px;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--akzent);
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
}
.knopf:hover {
  background: var(--akzent-dunkel);
}
.knopf--hell {
  color: var(--akzent-dunkel);
  background: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.knopf--hell:hover {
  background: #eef2f7;
}
.knopf--rand {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}
.knopf--rand:hover {
  background: rgba(255, 255, 255, 0.12);
}
.knopf-reihe {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.formular {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
.formular-paar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.formular label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 5px;
}
.formular input,
.formular select,
.formular textarea {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  font-size: 0.97rem;
  color: var(--text);
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: 8px;
}
.formular input:focus,
.formular select:focus,
.formular textarea:focus {
  outline: 2px solid var(--akzent);
  outline-offset: 1px;
  border-color: var(--akzent);
}
.formular textarea {
  min-height: 150px;
  resize: vertical;
}
.formular .pflicht {
  color: var(--text-schwach);
  font-weight: 400;
}
.formular .pflicht-stern {
  color: var(--verweis);
  font-weight: 700;
}
.formular-legende {
  margin: 0;
  color: var(--text-schwach);
  font-size: 0.88rem;
}
.formular input[aria-invalid=true],
.formular textarea[aria-invalid=true] {
  border-color: var(--fehler, #c0392b);
  outline: 2px solid var(--fehler, #c0392b);
  outline-offset: 1px;
}
.formular-bestaetigung {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.formular .formular-bestaetigung input {
  width: 18px;
  height: 18px;
  flex: none;
  margin: 3px 0 0;
  padding: 0;
  accent-color: var(--akzent);
}
.formular .formular-bestaetigung label {
  font-weight: 400;
  margin: 0;
  color: var(--text-schwach);
}
.formular button[disabled] {
  opacity: 0.65;
  cursor: progress;
}
.formular-falle {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.formular-meldung {
  margin-top: 18px;
  padding: 14px 18px;
  border-left: 4px solid var(--hinweis-streifen);
  background: var(--hinweis-hintergrund);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.formular-meldung:empty {
  display: none;
}
.formular-meldung:focus {
  outline: none;
}
.formular-meldung p {
  margin: 0;
}
.formular-meldung p + p {
  margin-top: 8px;
}
.formular-meldung--erfolg {
  border-left-color: var(--erfolg, #2e8b57);
  font-weight: 600;
}
.formular-meldung--fehler {
  border-left-color: var(--fehler, #c0392b);
}
ol.schritte {
  counter-reset: schritt;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 14px;
}
ol.schritte li {
  counter-increment: schritt;
  position: relative;
  padding-left: 44px;
}
ol.schritte li::before {
  content: counter(schritt);
  position: absolute;
  left: 0;
  top: -1px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: var(--akzent);
  border-radius: 50%;
}
ol.schritte strong {
  display: block;
}
footer {
  background: var(--fuss-hintergrund);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}
.fuss-inhalt {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}
footer a {
  color: rgba(255, 255, 255, 0.9);
}
.platzhalter {
  background: #fff4d6;
  border: 1px dashed #c08a00;
  border-radius: 6px;
  padding: 2px 6px;
  font-weight: 600;
}
:root[data-theme=dunkel] .platzhalter {
  background: #3a2f10;
  border-color: #a07a1a;
  color: #ffd98a;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=hell]) .platzhalter {
    background: #3a2f10;
    border-color: #a07a1a;
    color: #ffd98a;
  }
}
figure.bild {
  margin: 0 0 22px;
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  overflow: hidden;
}
figure.bild img {
  display: block;
  width: 100%;
  height: auto;
}
figure.bild figcaption {
  padding: 12px 18px;
  border-top: 1px solid var(--rand);
  color: var(--text-schwach);
  font-size: 0.92rem;
}
.bildreihe {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.bildreihe figure.bild {
  margin-bottom: 0;
}
figure.bild--hoch {
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  background: transparent;
  border: 0;
}
figure.bild--hoch figcaption {
  border-top: 0;
  padding: 10px 0 0;
  text-align: center;
}
