/* Heduschka GmbH – Stylesheet
   Farben aus dem bestehenden Auftritt: Fassaden-Blau, Weiß, Gelb (Gewerbe-Logo) */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --blau: #24479a;
  --blau-hell: #3a5fb8;
  --nacht: #142552;
  --gelb: #f6c500;
  --gelb-dunkel: #dcae00;
  --tinte: #1a2238;
  --grau: #525b70;
  --flaeche: #eef2f8;
  --linie: #d5dcea;
  --weiss: #ffffff;
  --gruen: #1d7a3a;
  --breite: 1200px;
  --rand: clamp(20px, 4vw, 40px);
  --schrift: "Archivo", "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 19px;
  line-height: 1.6;
  color: var(--tinte);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blau); text-underline-offset: 3px; }
a:hover { color: var(--nacht); }

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

h1, h2, h3 {
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--nacht);
}
h1 { font-size: clamp(36px, 4.6vw, 58px); }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 23px; font-stretch: 105%; }

p { margin: 0 0 1em; max-width: 64ch; }

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--gelb); color: var(--tinte); padding: 12px 18px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  font: inherit; font-weight: 700; font-size: 18px; font-stretch: 105%;
  text-decoration: none; border-radius: 6px; border: 2px solid transparent;
  cursor: pointer; transition: background-color .15s, color .15s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-gelb { background: var(--gelb); color: var(--tinte); }
.btn-gelb:hover { background: var(--gelb-dunkel); color: var(--tinte); }
.btn-weiss { background: transparent; color: var(--weiss); border-color: rgba(255,255,255,.7); }
.btn-weiss:hover { background: var(--weiss); color: var(--nacht); }
.btn-blau { background: var(--blau); color: var(--weiss); }
.btn-blau:hover { background: var(--nacht); color: var(--weiss); }

/* ---------- Infoleiste ---------- */
.infoleiste { background: var(--nacht); color: #dfe6f5; font-size: 16px; }
.infoleiste .wrap {
  display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: center;
  min-height: 42px; padding-top: 6px; padding-bottom: 6px;
}
.infoleiste a { color: var(--weiss); text-decoration: none; font-weight: 600; }
.infoleiste a:hover { text-decoration: underline; color: var(--weiss); }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--weiss); }
.status::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: #8a93a8;
}
.status.offen::before { background: #3ddc6f; box-shadow: 0 0 0 3px rgba(61,220,111,.25); }
.infoleiste .rechts { margin-left: auto; display: flex; gap: 28px; flex-wrap: wrap; }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: var(--weiss); border-bottom: 1px solid var(--linie);
}
.kopf .wrap { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo img { width: 72px; height: auto; }
.logo span { display: flex; flex-direction: column; line-height: 1.15; color: var(--nacht); }
.logo strong { font-size: 22px; font-stretch: 115%; font-weight: 800; }
.logo small { font-size: 15px; color: var(--grau); }

.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a {
  display: block; padding: 10px 11px; white-space: nowrap; text-decoration: none;
  color: var(--tinte); font-weight: 600; font-size: 17px; border-radius: 6px;
}
.nav a:hover { background: var(--flaeche); color: var(--nacht); }
.nav .btn { margin-left: 10px; min-height: 48px; font-size: 17px; }

.menue-knopf { display: none; }

@media (max-width: 1240px) {
  .kopf .wrap { min-height: 72px; }
  .logo img { width: 56px; }
  .menue-knopf {
    display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
    min-height: 48px; padding: 0 16px; font: inherit; font-weight: 700; font-size: 17px;
    background: var(--flaeche); color: var(--nacht); border: 0; border-radius: 6px; cursor: pointer;
  }
  .menue-knopf svg { width: 22px; height: 22px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--weiss); border-bottom: 1px solid var(--linie);
    padding: 8px var(--rand) 20px;
  }
  .nav.offen { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 14px 8px; font-size: 19px; border-bottom: 1px solid var(--flaeche); border-radius: 0; }
  .nav .btn { margin: 14px 0 0; width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  min-height: 560px;
  background: var(--blau);
}
.hero-text {
  color: var(--weiss);
  padding: clamp(40px, 6vw, 80px) var(--rand) clamp(40px, 6vw, 72px);
  padding-left: max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand)));
  display: flex; flex-direction: column; justify-content: center;
}
.hero-text h1 { color: var(--weiss); }
.hero-text .unterzeile { font-size: 21px; color: #e3e9f7; margin-bottom: 32px; }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-bild { position: relative; overflow: hidden; }
.hero-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }

/* Fassadenband: das blaue Schild der Werkstatt als wiederkehrendes Element */
.band {
  background: var(--nacht); color: var(--weiss);
  border-top: 6px solid var(--gelb);
}
.band .wrap {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
.band .fakt { padding: 26px 24px 26px 0; display: flex; gap: 16px; align-items: flex-start; }
.band .fakt + .fakt { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); }
.band svg { width: 30px; height: 30px; flex: none; color: var(--gelb); margin-top: 2px; }
.band strong { display: block; font-size: 20px; font-stretch: 108%; }
.band span { color: #cfd8ee; font-size: 17px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-bild { order: -1; aspect-ratio: 16 / 9; }
  .band .wrap { grid-template-columns: minmax(0, 1fr); }
  .band .fakt { padding: 18px 0; }
  .band .fakt + .fakt { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(64px, 8vw, 104px) 0; }
.abschnitt.grau { background: var(--flaeche); }
.kopfzeile { margin-bottom: 44px; max-width: 760px; }
.kopfzeile p { color: var(--grau); font-size: 20px; }

/* Zwei Eingänge */
.eingaenge { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.eingang {
  display: flex; flex-direction: column;
  padding: clamp(28px, 4vw, 44px); border-radius: 10px;
  background: var(--weiss); border: 2px solid var(--linie);
}
.eingang.gewerbe { background: var(--nacht); border-color: var(--nacht); color: #dfe6f5; }
.eingang.gewerbe h3 { color: var(--weiss); }
.eingang-kopf { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.eingang-kopf img { width: 64px; }
.eingang-kopf h3 { margin: 0; font-size: 28px; }
.eingang ul { list-style: none; padding: 0; margin: 0 0 28px; }
.eingang li { padding: 9px 0 9px 30px; position: relative; border-bottom: 1px solid var(--linie); }
.eingang.gewerbe li { border-color: rgba(255,255,255,.14); }
.eingang li::before {
  content: ""; position: absolute; left: 4px; top: 19px;
  width: 12px; height: 7px; border-left: 3px solid var(--blau); border-bottom: 3px solid var(--blau);
  transform: rotate(-45deg);
}
.eingang.gewerbe li::before { border-color: var(--gelb); }
.eingang .btn { margin-top: auto; align-self: flex-start; }

@media (max-width: 860px) { .eingaenge { grid-template-columns: minmax(0, 1fr); } }

/* Leistungen */
.leistungen {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px;
  border-top: 2px solid var(--nacht);
}
.leistungen li {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px 20px 24px 0; border-bottom: 1px solid var(--linie);
}
@media (max-width: 760px) { .leistungen { grid-template-columns: minmax(0, 1fr); } }
.leistungen svg { width: 34px; height: 34px; flex: none; color: var(--blau); }
.leistungen strong { display: block; font-size: 20px; font-stretch: 106%; color: var(--nacht); line-height: 1.3; margin-bottom: 4px; }
.leistungen span { color: var(--grau); font-size: 17px; line-height: 1.45; }

/* Schutzbelüftung */
.schutz { background: var(--nacht); color: #dfe6f5; }
.schutz h2, .schutz h3 { color: var(--weiss); }
.schutz .kopfzeile p { color: #cfd8ee; }
.schutz-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.schema { background: #0d1a3d; border-radius: 10px; padding: 18px; }
.schema svg { width: 100%; height: auto; display: block; }
.fluss { stroke-dasharray: 10 12; animation: fliessen 1.6s linear infinite; }
@keyframes fliessen { to { stroke-dashoffset: -44; } }
@media (prefers-reduced-motion: reduce) { .fluss { animation: none; } html { scroll-behavior: auto; } }

.schutz-punkte { list-style: none; padding: 0; margin: 0 0 28px; }
.schutz-punkte li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.schutz-punkte strong { color: var(--weiss); display: block; font-size: 19px; }
.einsatz { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; }
.einsatz li {
  padding: 8px 16px; border-radius: 999px; font-size: 16px; font-weight: 600;
  background: rgba(246,197,0,.12); color: #ffe27a; border: 1px solid rgba(246,197,0,.35);
}
@media (max-width: 900px) { .schutz-raster { grid-template-columns: minmax(0, 1fr); } }

/* Termin */
.wege { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.weg {
  display: flex; flex-direction: column; gap: 6px;
  padding: clamp(24px, 3vw, 36px); border-radius: 10px;
  background: var(--weiss); border: 2px solid var(--linie);
  text-decoration: none; color: var(--grau); font-size: 17px;
}
a.weg:hover { border-color: var(--blau); color: var(--grau); }
.weg svg { width: 36px; height: 36px; color: var(--blau); margin-bottom: 8px; }
.weg strong { font-size: 23px; font-stretch: 106%; color: var(--nacht); }
.weg .gross { font-size: 22px; font-weight: 800; color: var(--blau); overflow-wrap: anywhere; }
.rueckruf { gap: 14px; }
.feld { display: flex; flex-direction: column; gap: 6px; }
.feld label { font-weight: 600; font-size: 17px; color: var(--tinte); }
input[type="text"], input[type="tel"] {
  font: inherit; font-size: 18px; color: var(--tinte);
  min-height: 52px; padding: 10px 14px; width: 100%;
  border: 2px solid #b7c2d8; border-radius: 6px; background: var(--weiss);
}
input:focus { border-color: var(--blau); outline: 3px solid rgba(36,71,154,.2); outline-offset: 0; }
.zustimmung { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--grau); }
.zustimmung input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--blau); }
.rueckruf .btn { align-self: flex-start; }
.honig { position: absolute; left: -9999px; }
@media (max-width: 960px) { .wege { grid-template-columns: minmax(0, 1fr); } }

/* Über uns */
.wir { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.wir img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; }
.seit { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.seit b { font-size: clamp(60px, 8vw, 96px); font-weight: 900; font-stretch: 120%; color: var(--blau); line-height: 1; }
.seit span { font-size: 20px; color: var(--grau); line-height: 1.3; }
.kontakte { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.kontakte li { padding: 18px 20px; background: var(--flaeche); border-radius: 8px; font-size: 17px; line-height: 1.5; }
.kontakte strong { display: block; color: var(--nacht); font-size: 18px; }
@media (max-width: 860px) { .wir { grid-template-columns: minmax(0, 1fr); } .wir img { width: 100%; max-width: min(420px, 100%); } }

/* Jobs + Ratgeber */
.zweier { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.job {
  background: var(--gelb); color: var(--tinte); border-radius: 10px;
  padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column;
}
.job h2 { color: var(--tinte); font-size: clamp(28px, 3vw, 36px); }
.job .btn { margin-top: auto; align-self: flex-start; }
.ratgeber { border-top: 2px solid var(--nacht); }
.ratgeber h2 { font-size: clamp(28px, 3vw, 36px); margin-top: 24px; }
.ratgeber ul { list-style: none; padding: 0; margin: 0 0 20px; }
.ratgeber li { border-bottom: 1px solid var(--linie); }
.ratgeber li a { display: block; padding: 16px 0; text-decoration: none; color: var(--tinte); font-weight: 600; }
.ratgeber li a:hover { color: var(--blau); }
.ratgeber li small { display: block; font-weight: 400; color: var(--grau); font-size: 16px; }
@media (max-width: 860px) { .zweier { grid-template-columns: minmax(0, 1fr); } }

/* Fuß */
.fuss { background: var(--nacht); color: #cfd8ee; padding: 64px 0 32px; font-size: 17px; }
.fuss a { color: var(--weiss); }
.fuss h3 { color: var(--weiss); font-size: 19px; margin-bottom: 12px; }
.fuss-raster { display: grid; grid-template-columns: 2fr 1.4fr 1.4fr 1fr; gap: 32px; }
.fuss table { border-collapse: collapse; }
.fuss td { padding: 2px 16px 2px 0; vertical-align: top; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { padding: 3px 0; }
.fuss-unten {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 15px;
}
@media (max-width: 900px) { .fuss-raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fuss-raster { grid-template-columns: minmax(0, 1fr); } }

/* Feste Anrufleiste auf dem Handy */
.anrufleiste { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: 76px; }
  .anrufleiste {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--weiss); border-top: 1px solid var(--linie);
  }
  .anrufleiste .btn { min-height: 52px; padding: 0 12px; }
  .infoleiste .rechts { margin-left: 0; }
}

/* Hinweisseite nach dem Absenden */
.meldung { max-width: 680px; margin: 0 auto; padding: 96px var(--rand); text-align: left; }

.nowrap { white-space: nowrap; }
.kontakte li a { overflow-wrap: anywhere; }
@media (max-width: 440px) {
  .kopf .wrap { gap: 12px; }
  .logo img { width: 46px; }
  .logo strong { font-size: 19px; }
  .logo small { font-size: 13px; }
  .menue-knopf { padding: 0 12px; }
}

/* Rechtstexte */
.rechtstext { padding: clamp(48px, 7vw, 88px) 0; }
.rechtstext .wrap { max-width: 860px; }
.rechtstext h1 { font-size: clamp(34px, 4vw, 48px); }
.rechtstext h2 { font-size: 26px; margin-top: 1.8em; }
.rechtstext h3 { font-size: 20px; margin-top: 1.4em; }
.rechtstext ul { padding-left: 1.2em; max-width: 64ch; }
.rechtstext li { margin-bottom: .4em; }
.rechtstext .stand { color: var(--grau); font-size: 16px; margin-top: 3em; }
.rechtstext { overflow-wrap: break-word; hyphens: auto; }

/* Hero auf breiten Bildschirmen am Inhaltsraster ausrichten */
@media (min-width: 1280px) {
  .hero { grid-template-columns: calc((100% - var(--breite)) / 2 + 600px) minmax(0, 1fr); }
  .hero-text { padding-right: 56px; }
}
@media (min-width: 1800px) {
  .hero { min-height: 640px; }
}
.hero-text h1 { font-size: clamp(36px, 4.4vw, 56px); }
@media (min-width: 901px) {
  .hero-bild img { position: absolute; inset: 0; }
}
.ansprech { padding: 16px 20px; border-radius: 8px; background: rgba(255,255,255,.06); color: #dfe6f5; font-size: 17px; }
.ansprech strong { color: var(--weiss); }
.ansprech a, .ansprech-klein a { color: var(--weiss); font-weight: 700; overflow-wrap: anywhere; }
.ansprech-klein { font-size: 17px; color: #cfd8ee; margin: -8px 0 20px; }

/* ---------- Unterseiten ---------- */
.seitenkopf { background: var(--blau); color: #e3e9f7; border-bottom: 6px solid var(--gelb); }
.seitenkopf .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 64px); }
.seitenkopf.mit-bild .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.seitenkopf h1 { color: var(--weiss); font-size: clamp(32px, 4.2vw, 52px); margin-bottom: .35em; overflow-wrap: break-word; hyphens: auto; }
.seitenkopf-intro { font-size: 21px; color: #e3e9f7; margin: 0; }
.seitenkopf-intro a { color: var(--weiss); }
.seitenkopf-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.krumen { font-size: 16px; margin-bottom: 18px; color: #cfd8ee; }
.krumen a { color: var(--weiss); }
@media (max-width: 860px) { .seitenkopf.mit-bild .wrap { grid-template-columns: minmax(0, 1fr); } .seitenkopf-bild { max-width: 520px; } }

.abschnitt-seite { padding: clamp(48px, 6vw, 80px) 0; }
.abschnitt-seite.grau { background: var(--flaeche); }
.abschnitt-seite.grau h2 { margin-bottom: 28px; }
.seite-raster { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.seitenleiste { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 960px) { .seite-raster { grid-template-columns: minmax(0, 1fr); } .seitenleiste { position: static; } }

.inhalt { overflow-wrap: break-word; }
.inhalt h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 1.6em; }
.inhalt h2:first-child, .inhalt > :first-child { margin-top: 0; }
.inhalt h3 { font-size: 22px; margin-top: 1.4em; }
.inhalt ul { list-style: none; padding: 0; margin: 0 0 1.4em; max-width: 64ch; }
.inhalt ul li { position: relative; padding: 7px 0 7px 32px; border-bottom: 1px solid var(--linie); }
.inhalt ul li::before {
  content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px;
  border-left: 3px solid var(--blau); border-bottom: 3px solid var(--blau); transform: rotate(-45deg);
}
.inhalt ol { padding-left: 1.3em; max-width: 64ch; }
.inhalt ol li { margin-bottom: .5em; }
.inhalt figure { margin: 28px 0; }
.inhalt figure img, .beitragsbild img { border-radius: 10px; width: 100%; }
.inhalt img { border-radius: 8px; }
.inhalt table { border-collapse: collapse; margin-bottom: 1.4em; }
.inhalt td, .inhalt th { padding: 6px 16px 6px 0; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; }
.beitragsbild { margin: 0 0 32px; }
.beitragsbild img { aspect-ratio: 16 / 9; object-fit: cover; }
.zurueck { margin-top: 40px; font-weight: 600; }

.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 0 0 1.6em; }
.kachel { background: var(--flaeche); border-radius: 10px; padding: 22px; }
.kachel img { border-radius: 6px; margin-bottom: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.kachel h3 { font-size: 19px; margin: 0 0 8px; }
.kachel h3 a { color: var(--nacht); }
.kachel p { font-size: 17px; margin: 0; color: var(--grau); }
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 0 0 1.6em; }
.galerie img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }

.seitenbox { background: var(--flaeche); border-radius: 10px; padding: 24px; font-size: 17px; }
.seitenbox h2 { font-size: 21px; margin-bottom: 12px; }
.seitenbox p { margin-bottom: 12px; }
.seitenbox .btn { width: 100%; }
.seitenbox.dunkel { background: var(--nacht); color: #dfe6f5; }
.seitenbox.dunkel h2, .seitenbox.dunkel strong { color: var(--weiss); }
.seitenbox.dunkel a:not(.btn) { color: var(--weiss); overflow-wrap: anywhere; }
.seitenbox .klein { font-size: 16px; margin: 0; }
.unternav ul { list-style: none; margin: 0; padding: 0; }
.unternav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--linie); text-decoration: none; color: var(--tinte); font-weight: 600; }
.unternav a:hover, .unternav a[aria-current] { color: var(--blau); }
.unternav a[aria-current]::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gelb); margin-right: 10px; vertical-align: middle; }
.nav a[aria-current] { background: var(--flaeche); color: var(--blau); }

.anfahrt { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 56px; }
@media (max-width: 760px) { .anfahrt { grid-template-columns: minmax(0, 1fr); } }

.jobliste { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.jobliste li { padding: 0; border: 0; }
.jobliste li::before { display: none; }
.jobkarte { display: block; padding: 22px 24px; border: 2px solid var(--linie); border-radius: 10px; text-decoration: none; }
.jobkarte:hover { border-color: var(--blau); }
.jobkarte strong { display: block; font-size: 22px; color: var(--nacht); font-stretch: 106%; }
.jobkarte span { color: var(--grau); font-size: 17px; }
.jobteaser { list-style: none; padding: 0; margin: 0 0 24px; }
.jobteaser a { display: block; padding: 10px 0; border-bottom: 1px solid rgba(26,34,56,.2); color: var(--tinte); font-weight: 700; text-decoration: none; }
.jobteaser a:hover { text-decoration: underline; }

.filter { list-style: none; padding: 0; margin: 0 0 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.filter a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--linie); text-decoration: none; color: var(--tinte); font-weight: 600; font-size: 16px; }
.filter a:hover { border-color: var(--blau); }
.filter a[aria-current] { background: var(--blau); border-color: var(--blau); color: var(--weiss); }
.karten { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.karte { display: flex; flex-direction: column; height: 100%; background: var(--weiss); border: 2px solid var(--linie); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--tinte); }
.karte:hover { border-color: var(--blau); }
.karte img, .karte-ohne-bild { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--flaeche); }
.karte-text { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.karte-text small { color: var(--grau); font-size: 15px; }
.karte-text strong { font-size: 19px; line-height: 1.35; color: var(--nacht); }
@media (min-width: 761px) {
  .inhalt ul:has(> li:nth-child(8)) { columns: 2; column-gap: 32px; max-width: none; }
  .inhalt ul:has(> li:nth-child(8)) li { break-inside: avoid; }
}
.karte .karte-ohne-bild { display: grid; place-items: center; background: var(--blau); border-bottom: 4px solid var(--gelb); }
.karte .karte-ohne-bild img { width: 76px; height: auto; aspect-ratio: auto; background: none; opacity: .95; }
.inhalt .kontakte { columns: auto; max-width: none; }
.inhalt .kontakte li { padding: 18px 20px; border-bottom: 0; }
.inhalt .kontakte li::before { display: none; }
.inhalt .jobliste li::before { display: none; }
.inhalt .jobliste li { padding: 0; border: 0; }
.inhalt figure img { width: auto; max-width: 100%; max-height: 520px; }
.fuss-unten .credits { flex-basis: 100%; color: #a9b5d3; font-size: 14px; }
.fuss-unten .credits a { color: #cfd8ee; }

/* Rückruf mit Bausteinen */
@media (min-width: 961px) {
  .wege { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-rows: auto 1fr; }
  .wege .rueckruf { grid-column: 2; grid-row: 1 / span 2; }
  .wege > a.weg:first-child { grid-column: 1; grid-row: 1; }
  .wege > a.weg:nth-child(2) { grid-column: 1; grid-row: 2; align-self: start; }
}
.rueckruf-hinweis { margin-top: -6px; }
.gruppe { border: 0; padding: 0; margin: 0; }
.gruppe legend { font-weight: 700; color: var(--tinte); font-size: 17px; margin-bottom: 10px; padding: 0; }
.gruppe .hinweis { font-weight: 400; color: var(--grau); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 2px solid #b7c2d8; border-radius: 999px; cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--tinte); background: var(--weiss);
  user-select: none;
}
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip:has(input:checked) { background: var(--blau); border-color: var(--blau); color: var(--weiss); }
.chip:has(input:focus-visible) { outline: 3px solid var(--gelb); outline-offset: 2px; }
.chip.gross { min-height: 52px; padding: 0 18px; font-size: 17px; }
.chip:hover { border-color: var(--blau); }
.felder-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .felder-zwei { grid-template-columns: minmax(0, 1fr); } }
.js .gruppe[data-bereich][hidden] { display: none; }

/* Rückruf kompakter */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rueckruf { gap: 12px; }
.rueckruf .gruppe legend:not(.sr) { font-size: 16px; margin-bottom: 8px; }
.chip { min-height: 40px; padding: 0 13px; font-size: 15px; }
.chip.gross { min-height: 46px; padding: 0 16px; font-size: 16px; }
.bereich { gap: 8px; }
.bereich .chip { flex: 1 1 auto; justify-content: center; }
.rueckruf .feld label { font-size: 16px; }
.rueckruf input[type="text"], .rueckruf input[type="tel"] { min-height: 46px; font-size: 17px; }
.rueckruf .zustimmung { font-size: 15px; }
