/* ==========================================================================
   Sebastian Rieseberg – Stylesheet
   Aufbau: 1 Grundlagen · 2 Layout · 3 Kopf/Fuß · 4 Bausteine · 5 Blog
           6 Formulare · 7 Hilfsklassen · 8 Druck
   Es werden bewusst keine externen Schriften oder Bibliotheken geladen.
   ========================================================================== */

/* 1 — GRUNDLAGEN ========================================================== */

:root {
  /* Farben. Das Blau stammt aus dem Logo, ist aber so weit abgedunkelt,
     dass es auf Weiß den WCAG-AA-Kontrast von 4,5:1 sicher überschreitet. */
  --blau-logo:    #5b9bd1;   /* nur dekorativ, nie für Text */
  --blau:         #21598f;   /* Links, Buttons – 7,1:1 auf Weiß */
  --blau-dunkel:  #17456f;   /* Hover */
  --blau-tief:    #10314f;   /* Dunkle Flächen */
  --blau-blass:   #eef4fa;   /* Flächige Hinterlegung */
  --blau-rand:    #cfe0ef;

  --tinte:        #14202b;   /* Überschriften */
  --text:         #33414f;   /* Fließtext – 10,3:1 auf Weiß */
  --text-leise:   #5c6b7a;   /* Metadaten – 5,4:1 auf Weiß */
  --linie:        #e2e8ee;
  --linie-stark:  #c9d3dd;
  --flaeche:      #f6f8fa;
  --weiss:        #ffffff;

  --fokus:        #b45309;   /* Fokusring, deutlich abgesetzt vom Blau */

  /* Typografie – Systemschriften, damit nichts nachgeladen werden muss */
  --schrift: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
             "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --schrift-titel: var(--schrift);

  /* Maße */
  --breite:       1120px;
  --breite-text:  680px;
  --radius:       6px;
  --radius-gross: 10px;

  --abstand-xs:   .5rem;
  --abstand-s:    1rem;
  --abstand-m:    1.75rem;
  --abstand-l:    3rem;
  --abstand-xl:   5rem;

  --schatten: 0 1px 2px rgba(20, 32, 43, .05), 0 4px 16px rgba(20, 32, 43, .06);
}

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1.0625rem;         /* 17px */
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--schrift-titel);
  color: var(--tinte);
  line-height: 1.22;
  margin: 0 0 var(--abstand-s);
  font-weight: 700;
  letter-spacing: -.011em;
  text-wrap: balance;
}

h1 { font-size: clamp(1.85rem, 1.35rem + 2.1vw, 2.85rem); }
h2 { font-size: clamp(1.4rem, 1.15rem + 1.05vw, 1.9rem); margin-top: var(--abstand-m); }
h3 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.32rem); margin-top: var(--abstand-m); }
h4 { font-size: 1.05rem; margin-top: var(--abstand-s); }

p  { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--blau);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  transition: color .12s ease;
}
a:hover { color: var(--blau-dunkel); }

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

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

ul, ol { margin: 0 0 1.05em; padding-left: 1.3em; }
li { margin-bottom: .4em; }
li:last-child { margin-bottom: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--linie);
  margin: var(--abstand-m) 0;
}

blockquote {
  margin: var(--abstand-m) 0;
  padding: 0 0 0 1.25rem;
  border-left: 3px solid var(--blau-logo);
  color: var(--tinte);
  font-size: 1.08em;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em;
  background: var(--flaeche);
  padding: .12em .35em;
  border-radius: 3px;
}

table { border-collapse: collapse; width: 100%; font-size: .96rem; }
th, td { text-align: left; padding: .7rem .85rem; border-bottom: 1px solid var(--linie); }
th { background: var(--flaeche); color: var(--tinte); font-weight: 600; }
.table-scroll { overflow-x: auto; margin: var(--abstand-m) 0; }

/* 2 — LAYOUT ============================================================== */

.wrap {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2rem);
}

.wrap--schmal { max-width: 780px; }

section { padding-block: clamp(2.75rem, 6vw, var(--abstand-xl)); }
section.eng { padding-block: clamp(2rem, 4vw, 3rem); }

.flaeche { background: var(--flaeche); }
.blass   { background: var(--blau-blass); }

.dunkel {
  background: var(--blau-tief);
  color: #dce6f0;
}
.dunkel h2, .dunkel h3, .dunkel h1 { color: #fff; }
.dunkel a { color: #a8cdec; }
.dunkel a:hover { color: #fff; }

.raster {
  display: grid;
  gap: clamp(1.25rem, 3vw, var(--abstand-m));
}
.raster--2 { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.raster--3 { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.raster--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.split {
  display: grid;
  gap: clamp(1.5rem, 4vw, var(--abstand-l));
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1.15fr .85fr; }
  .split--gleich { grid-template-columns: 1fr 1fr; }
  .split--umgekehrt > :first-child { order: 2; }
}

.textblock { max-width: var(--breite-text); }

/* 3 — KOPF UND FUSS ======================================================= */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blau);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
  color: #fff;
}

.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--linie);
}

.kopf__innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--abstand-s);
  min-height: 68px;
}

.marke { display: inline-flex; align-items: center; text-decoration: none; }
.marke img { width: 200px; height: auto; }
@media (max-width: 420px) { .marke img { width: 158px; } }

.nav-schalter {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: none;
  border: 1px solid var(--linie-stark);
  border-radius: var(--radius);
  padding: .55rem .8rem;
  font: inherit;
  font-size: .95rem;
  color: var(--tinte);
  cursor: pointer;
}
.nav-schalter__balken {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.nav-schalter__balken::before,
.nav-schalter__balken::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}
.nav-schalter__balken::before { top: -6px; }
.nav-schalter__balken::after  { top:  6px; }

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(.35rem, 1.4vw, 1.15rem);
}
.nav a {
  display: block;
  padding: .5rem .15rem;
  color: var(--text);
  text-decoration: none;
  font-size: .975rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--blau); }
.nav a[aria-current="page"] {
  color: var(--blau);
  border-bottom-color: var(--blau);
}
.nav .knopf-nav a,
a.knopf-nav {
  background: var(--blau);
  color: #fff;
  border-radius: var(--radius);
  padding: .55rem 1rem;
  border-bottom: 0;
}
.nav .knopf-nav a:hover, a.knopf-nav:hover { background: var(--blau-dunkel); color: #fff; }

@media (max-width: 900px) {
  .nav-schalter { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--linie);
    box-shadow: var(--schatten);
  }
  .nav.offen { display: block; }
  .nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: .5rem clamp(1.15rem, 4vw, 2rem) 1.25rem;
    gap: 0;
  }
  .nav a {
    padding: .85rem .25rem;
    border-bottom: 1px solid var(--linie);
  }
  .nav a[aria-current="page"] { border-bottom-color: var(--linie); }
  .nav .knopf-nav { margin-top: .85rem; }
  .nav .knopf-nav a { text-align: center; padding: .85rem 1rem; }
}
@media (min-width: 901px) {
  .nav-schalter { display: none; }
  .nav { display: block !important; }
}

.fuss {
  background: var(--blau-tief);
  color: #c3d3e2;
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
  font-size: .95rem;
}
.fuss h2, .fuss h3 { color: #fff; font-size: 1rem; margin: 0 0 .8rem; letter-spacing: .01em; }
.fuss a { color: #bcd7ef; text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: .5rem; }
.fuss__raster {
  display: grid;
  gap: var(--abstand-m);
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.fuss__unten {
  margin-top: var(--abstand-m);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  justify-content: space-between;
  font-size: .88rem;
  color: #93a9bf;
}
.fuss__unten ul { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.fuss__unten li { margin: 0; }

/* 4 — BAUSTEINE =========================================================== */

/* Buttons */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--blau);
  color: #fff;
  border: 2px solid var(--blau);
  border-radius: var(--radius);
  padding: .78rem 1.5rem;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: background .14s ease, border-color .14s ease;
}
.knopf:hover { background: var(--blau-dunkel); border-color: var(--blau-dunkel); color: #fff; }

.knopf--rand {
  background: transparent;
  color: var(--blau);
  border-color: var(--linie-stark);
}
.knopf--rand:hover { background: var(--blau-blass); color: var(--blau-dunkel); border-color: var(--blau); }

.knopf--hell {
  background: #fff;
  color: var(--blau-tief);
  border-color: #fff;
}
.knopf--hell:hover { background: var(--blau-blass); color: var(--blau-tief); border-color: var(--blau-blass); }

.knopf-reihe {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: var(--abstand-m);
}

/* Auf schmalen Bildschirmen gleich breite Schaltflächen untereinander */
@media (max-width: 520px) {
  .knopf-reihe { flex-direction: column; align-items: stretch; }
  .knopf-reihe .knopf { width: 100%; }
}

/* Startseiten-Kopf */
.hero { padding-block: clamp(2.5rem, 5vw, 4.25rem) clamp(2.5rem, 5vw, 4rem); }
.hero__inhalt { max-width: 620px; }
.hero__augenbraue {
  display: inline-block;
  font-size: .87rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--blau);
  margin-bottom: .9rem;
}
@media (max-width: 520px) {
  .hero__augenbraue { font-size: .76rem; letter-spacing: .05em; margin-bottom: .55rem; }
  /* Auf dem Handy zählt jede Zeile: Die beiden Einstiege sollen ohne
     Scrollen erreichbar sein, auch wenn die Abfrage unten eingeblendet ist. */
  .hero { padding-block: 1.6rem 2rem; }
  .hero h1 { margin-bottom: .55rem; font-size: 1.72rem; line-height: 1.16; }
  .hero__unterzeile { font-size: 1.08rem; margin-bottom: .7rem; max-width: none; }
  .hero__lead { font-size: 1rem; line-height: 1.5; margin-bottom: 1.1rem; }
}
.hero h1 { margin-bottom: 1rem; }
/* Der Satz direkt unter der Überschrift: das Unterscheidungsmerkmal.
   Größer als der Fließtext, aber deutlich leiser als die H1. */
.hero__unterzeile {
  font-size: clamp(1.14rem, 1rem + .8vw, 1.42rem);
  line-height: 1.35;
  font-weight: 500;
  color: var(--blau-dunkel, var(--blau));
  max-width: 30ch;
  margin: -.15rem 0 .9rem;
  text-wrap: balance;
}
.hero__lead {
  font-size: clamp(1.06rem, 1rem + .45vw, 1.2rem);
  color: var(--text);
  max-width: 56ch;
}
.hero__bild {
  position: relative;
  align-self: end;
}
.hero__bild img {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}
@media (max-width: 859px) {
  .hero__bild { display: none; }
}

/* Belege / Zahlen */
.belege {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 2.25rem;
  margin-top: var(--abstand-m);
  padding-top: var(--abstand-s);
  border-top: 1px solid var(--linie);
  list-style: none;
  padding-left: 0;
  font-size: .95rem;
  color: var(--text-leise);
}
.belege li {
  margin: 0;
  padding-left: 1.5rem;
  position: relative;
}
.belege li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blau-logo);
}

/* Karten */
.karte {
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: var(--radius-gross);
  padding: clamp(1.35rem, 3vw, 1.85rem);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.karte h3 { margin-top: 0; }
.karte p:last-of-type { margin-bottom: 0; }
.karte__fuss { margin-top: auto; padding-top: 1.15rem; }
.karte__fuss a { font-weight: 600; text-decoration: none; }
.karte__fuss a:hover { text-decoration: underline; }
.karte__fuss a::after { content: " →"; }

.karte--akzent {
  border-color: var(--blau-rand);
  background: var(--blau-blass);
}

.karte__label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blau);
  margin-bottom: .55rem;
}

/* Zwei Zielgruppen-Einstiege */
.zielgruppe {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: var(--radius-gross);
  overflow: hidden;
  height: 100%;
}
.zielgruppe img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.zielgruppe__text { padding: clamp(1.35rem, 3vw, 1.9rem); display: flex; flex-direction: column; flex: 1; }
.zielgruppe ul { padding-left: 1.15em; }
.zielgruppe .knopf-reihe { margin-top: auto; padding-top: 1.25rem; }

/* Themenliste */
.themenblock { break-inside: avoid; }
.themenblock h3 {
  margin-top: 0;
  padding-bottom: .55rem;
  border-bottom: 2px solid var(--blau-logo);
  font-size: 1.08rem;
}
.themenblock ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  font-size: .97rem;
}
.themenblock li {
  padding: .38rem 0 .38rem 1.4rem;
  position: relative;
  border-bottom: 1px solid var(--linie);
}
.themenblock li:last-child { border-bottom: 0; }
.themenblock li::before {
  content: "";
  position: absolute;
  left: .2rem;
  top: .92em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blau-logo);
}

/* Ablaufschritte */
.schritte { list-style: none; padding-left: 0; counter-reset: schritt; }
.schritte li {
  counter-increment: schritt;
  position: relative;
  padding-left: 3.1rem;
  margin-bottom: 1.35rem;
}
.schritte li::before {
  content: counter(schritt);
  position: absolute;
  left: 0;
  top: -.1rem;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: var(--blau-blass);
  color: var(--blau);
  border: 1px solid var(--blau-rand);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .98rem;
}
.schritte strong { color: var(--tinte); display: block; margin-bottom: .15rem; }

/* Zitat / Referenz */
.stimme {
  background: #fff;
  border: 1px solid var(--linie);
  border-left: 3px solid var(--blau-logo);
  border-radius: var(--radius);
  padding: 1.4rem 1.55rem;
  height: 100%;
}
.stimme p { font-size: 1.02rem; color: var(--tinte); }
.stimme footer {
  margin-top: .85rem;
  font-size: .9rem;
  color: var(--text-leise);
}

/* Abschluss-Aufruf */
.aufruf {
  background: var(--blau-tief);
  color: #dce6f0;
  border-radius: var(--radius-gross);
  padding: clamp(1.85rem, 4vw, 3rem);
}
.aufruf h2 { color: #fff; margin-top: 0; }
.aufruf p { max-width: 60ch; }

/* Häufige Fragen */
.faq details {
  border-bottom: 1px solid var(--linie);
  padding: .35rem 0;
}
.faq summary {
  cursor: pointer;
  padding: .9rem 2rem .9rem 0;
  font-weight: 600;
  color: var(--tinte);
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: .35rem;
  top: .78rem;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blau);
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 1.1rem; max-width: 68ch; }

/* Brotkrumen */
.krumen {
  font-size: .87rem;
  color: var(--text-leise);
  padding-top: 1.15rem;
}
.krumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.krumen li { margin: 0; }
.krumen li + li::before { content: "›"; margin-right: .4rem; color: var(--linie-stark); }
.krumen a { color: var(--text-leise); }
.krumen [aria-current] { color: var(--tinte); }

/* Seitenkopf der Unterseiten */
.seitenkopf { padding-block: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.25rem); }
.seitenkopf h1 { margin-bottom: .75rem; }
.seitenkopf p { font-size: 1.1rem; max-width: 62ch; color: var(--text); margin-bottom: 0; }

/* 5 — BLOG ================================================================ */

.beitragsliste { display: grid; gap: var(--abstand-m); }

.beitrag-karte {
  display: grid;
  gap: 1.15rem;
  padding-bottom: var(--abstand-m);
  border-bottom: 1px solid var(--linie);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .beitrag-karte { grid-template-columns: 260px 1fr; align-items: start; }
}
.beitrag-karte:last-child { border-bottom: 0; padding-bottom: 0; }
.beitrag-karte__bild img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--flaeche);
}
.beitrag-karte h2, .beitrag-karte h3 {
  margin: .1rem 0 .5rem;
  font-size: clamp(1.18rem, 1.05rem + .5vw, 1.42rem);
}
.beitrag-karte h2 a, .beitrag-karte h3 a { color: var(--tinte); text-decoration: none; }
.beitrag-karte h2 a:hover, .beitrag-karte h3 a:hover { color: var(--blau); text-decoration: underline; }
.beitrag-karte p { margin-bottom: .8rem; }

.beitrag-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .85rem;
  font-size: .87rem;
  color: var(--text-leise);
  margin-bottom: .3rem;
}
.marke-kategorie {
  display: inline-block;
  background: var(--blau-blass);
  color: var(--blau);
  border: 1px solid var(--blau-rand);
  border-radius: 100px;
  padding: .15rem .7rem;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
}
a.marke-kategorie:hover { background: var(--blau); color: #fff; border-color: var(--blau); }

.weiterlesen { font-weight: 600; text-decoration: none; }
.weiterlesen:hover { text-decoration: underline; }
.weiterlesen::after { content: " →"; }

/* Artikelseite */
.artikel { max-width: var(--breite-text); }
.artikel__kopf { margin-bottom: var(--abstand-m); }
.artikel__bild {
  margin: 0 0 var(--abstand-m);
}
.artikel__bild img {
  width: 100%;
  border-radius: var(--radius-gross);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.artikel__bild figcaption {
  font-size: .84rem;
  color: var(--text-leise);
  margin-top: .5rem;
}

.artikel__text > h2 {
  margin-top: 2.4rem;
  padding-top: .2rem;
}
.artikel__text > h3 { margin-top: 1.9rem; }
.artikel__text img { border-radius: var(--radius); margin: var(--abstand-m) 0; }
.artikel__text ul, .artikel__text ol { padding-left: 1.35em; }
.artikel__text li { margin-bottom: .55em; }

.inhalt-nav {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 1.1rem 1.35rem;
  margin-bottom: var(--abstand-m);
  font-size: .95rem;
}
.inhalt-nav strong { display: block; margin-bottom: .5rem; color: var(--tinte); font-size: .9rem; }
.inhalt-nav ul { margin: 0; padding-left: 0; list-style: none; }
.inhalt-nav li { margin-bottom: .35em; padding-left: 1.1em; position: relative; }
.inhalt-nav li::before {
  content: "›";
  position: absolute;
  left: .1em;
  color: var(--linie-stark);
}
.inhalt-nav a { text-decoration: none; }
.inhalt-nav a:hover { text-decoration: underline; }

.artikel__fuss {
  margin-top: var(--abstand-l);
  padding-top: var(--abstand-m);
  border-top: 1px solid var(--linie);
}

.autorbox {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
  background: var(--flaeche);
  border-radius: var(--radius-gross);
  padding: clamp(1.35rem, 3vw, 1.75rem);
}
@media (min-width: 600px) {
  .autorbox { grid-template-columns: 92px 1fr; align-items: start; }
}
.autorbox img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: var(--blau-blass);
}
.autorbox h2, .autorbox h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
/* Die Qualifikationen unterscheiden eine Fachquelle von einem Blog. */
.autorbox__quali {
  font-size: .82rem !important;
  color: var(--text-leise);
  margin-bottom: .5rem !important;
}
.autorbox p { font-size: .95rem; margin-bottom: .6rem; }

.nachbarn {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: var(--abstand-m);
}
.nachbarn a {
  display: block;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  text-decoration: none;
  color: var(--tinte);
}
.nachbarn a:hover { border-color: var(--blau); background: var(--blau-blass); }
.nachbarn span {
  display: block;
  font-size: .8rem;
  color: var(--text-leise);
  margin-bottom: .25rem;
}
.nachbarn .rechts { text-align: right; }

/* Blätterung */
.blaettern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: var(--abstand-l);
  padding-top: var(--abstand-s);
  border-top: 1px solid var(--linie);
  font-size: .95rem;
}
.blaettern__mitte { color: var(--text-leise); }

.kategoriefilter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: var(--abstand-m);
  padding-bottom: var(--abstand-s);
  border-bottom: 1px solid var(--linie);
}

/* 6 — FORMULARE =========================================================== */

.formular { max-width: 620px; }
.feld { margin-bottom: 1.2rem; }
.feld label {
  display: block;
  font-weight: 600;
  font-size: .95rem;
  color: var(--tinte);
  margin-bottom: .35rem;
}
.feld .hinweis {
  display: block;
  font-weight: 400;
  font-size: .87rem;
  color: var(--text-leise);
  margin-top: .1rem;
}
.feld input[type="text"],
.feld input[type="email"],
.feld input[type="tel"],
.feld input[type="password"],
.feld input[type="date"],
.feld select,
.feld textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--tinte);
  background: #fff;
  border: 1px solid var(--linie-stark);
  border-radius: var(--radius);
  padding: .7rem .85rem;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.feld textarea { min-height: 170px; resize: vertical; line-height: 1.6; }
.feld input:focus, .feld select:focus, .feld textarea:focus {
  border-color: var(--blau);
  box-shadow: 0 0 0 3px rgba(33, 89, 143, .13);
  outline: none;
}
.feld input[aria-invalid="true"], .feld textarea[aria-invalid="true"] {
  border-color: #b3261e;
}

.feld--kontroll {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .7rem;
  align-items: start;
}
.feld--kontroll input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: .18rem;
  accent-color: var(--blau);
}
.feld--kontroll label { font-weight: 400; font-size: .95rem; margin: 0; }

.pflicht { color: #b3261e; }

.honigtopf {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

.meldung {
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: var(--abstand-s);
  border: 1px solid;
  font-size: .97rem;
}
.meldung--ok    { background: #edf7f0; border-color: #b7dfc4; color: #14532d; }
.meldung--fehler{ background: #fdf0ef; border-color: #f0c3bf; color: #7f1d1d; }
.meldung--info  { background: var(--blau-blass); border-color: var(--blau-rand); color: var(--blau-dunkel); }
.meldung p:last-child { margin-bottom: 0; }
.meldung ul { margin: .5rem 0 0; }

.kontaktdaten { list-style: none; padding: 0; margin: 0; }
.kontaktdaten li { margin-bottom: 1rem; }
.kontaktdaten strong { display: block; color: var(--tinte); font-size: .87rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .1rem; }
.kontaktdaten a { text-decoration: none; font-size: 1.05rem; }
.kontaktdaten a:hover { text-decoration: underline; }

/* Einwilligungsabfrage --------------------------------------------------- */

.einwilligung {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: #fff;
  border-top: 3px solid var(--blau);
  box-shadow: 0 -4px 24px rgba(20, 32, 43, .13);
}
.einwilligung__innen {
  max-width: var(--breite);
  margin-inline: auto;
  padding: .85rem clamp(1.15rem, 4vw, 2rem);
  display: grid;
  gap: .75rem clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .einwilligung__innen { grid-template-columns: 1fr auto; }
}
.einwilligung h2 {
  font-size: .97rem;
  margin: 0 0 .2rem;
  line-height: 1.3;
}
.einwilligung p {
  font-size: .88rem;
  line-height: 1.5;
  margin: 0;
  max-width: 68ch;
}
.einwilligung p:last-child { margin-bottom: 0; }
.einwilligung__klein { font-size: .85rem; color: var(--text-leise); }

.einwilligung__knoepfe {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
}
/* Beide Schaltflächen gleich groß – keine versteckte Ablehnung */
.einwilligung__knoepfe .knopf {
  flex: 1 1 auto;
  min-width: 140px;
  justify-content: center;
  /* mindestens 44 px hoch – Fingerbreite, nicht Mauszeigerbreite */
  min-height: 44px;
  padding-block: .55rem;
  padding-inline: 1.2rem;
}
@media (max-width: 520px) {
  .einwilligung__innen { padding-block: .75rem; }
  /* Auch auf dem Handy nebeneinander: gestapelt kostete der Balken die
     halbe Bildschirmhöhe und verdeckte die Einstiege auf der Startseite. */
  .einwilligung__knoepfe { gap: .5rem; }
  .einwilligung__knoepfe .knopf {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: .6rem;
    white-space: nowrap;
  }
  .einwilligung p { font-size: .9rem; }
}

/* Damit die Abfrage den Fußbereich nicht verdeckt */
body:has(.einwilligung) .fuss { padding-bottom: 9rem; }
@media (min-width: 860px) {
  body:has(.einwilligung) .fuss { padding-bottom: 8rem; }
}

/* 7 — HILFSKLASSEN ======================================================== */

.nur-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mittig { text-align: center; }
.mittig .textblock { margin-inline: auto; }
.leise { color: var(--text-leise); font-size: .93rem; }
.gross { font-size: 1.1rem; }
.kein-rand { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.mt-m { margin-top: var(--abstand-m); }
.mt-l { margin-top: var(--abstand-l); }

.augenbraue {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blau);
  margin-bottom: .6rem;
}

.rundbild { border-radius: var(--radius-gross); }
.bild-rahmen {
  border-radius: var(--radius-gross);
  overflow: hidden;
  box-shadow: var(--schatten);
}
.bild-rahmen img { width: 100%; }

/* 8 — DRUCK =============================================================== */

@media print {
  .kopf, .fuss, .knopf-reihe, .nachbarn, .blaettern, .aufruf, .skip-link { display: none !important; }
  body { font-size: 11pt; color: #000; }
  a { color: #000; text-decoration: underline; }
  .artikel__text a::after { content: " (" attr(href) ")"; font-size: .85em; }
}

/* --- Kennzeichnung KI-erzeugter Bilder ----------------------------------- */

/* Der Vermerk steckt zwar auch im Bild, ist dort auf einem Handy aber nur
   wenige Pixel hoch. Diese Zeile bleibt in jeder Größe lesbar und wird von
   Vorleseprogrammen mitgelesen. */
.bild-ki { margin: 0; }
.bild-ki figcaption {
  font-size: .78rem;
  line-height: 1.45;
  color: var(--text-leise);
  margin-top: .45rem;
  display: flex;
  align-items: baseline;
  gap: .4rem;
}
.bild-ki figcaption::before {
  content: "KI";
  flex: none;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--blau);
  background: var(--blau-blass);
  border-radius: 3px;
  padding: .12rem .3rem;
}
