/* Dachdeckerei Krause · Grundstil
   Aufbau: Variablen, Grundlagen, Bausteine, Abschnitte, Umbrüche.
   Alle Verweise sind relativ, damit die Seite im Vorschau-Unterordner
   genauso läuft wie später in der Domainwurzel. */

@import url("fonts/schriften.css");

:root {
  --blau: #1e3a8a;
  --blau-dunkel: #162c68;
  --blau-hell: #2c4fb0;
  --tinte: #0c0f1a;
  --grau: #64698a;      /* auf Weiß 5,3:1 */
  --grau-hell: #eceef4;
  --linie: rgba(12, 15, 26, 0.09);
  --linie-hell: rgba(255, 255, 255, 0.18);
  --weiss: #fff;
  /* Im Entwurf steht Weiß mit 50 % auf blauem Grund, das sind nur 3,8:1.
     Mit 70 % sind es 5,95:1, optisch ist der Unterschied gering. */
  --auf-blau-leise: rgba(255, 255, 255, 0.7);

  --breite: 1400px;
  --rand: 24px;
  --kopf-hoehe: 86px;

  --schrift: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

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

/* picture ist von Haus aus inline. Ohne block stimmen alle Hoehen nicht,
   die sich auf den Rahmen beziehen (Galerie, Stellenkacheln, Kopfbilder). */
picture {
  display: block;
}

a {
  color: var(--blau);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

p {
  margin: 0 0 1em;
}

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

.auf-blau :focus-visible,
.dunkel :focus-visible {
  outline-color: var(--weiss);
}

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

.sprungmarke {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translate(-50%, -200%);
  z-index: 100;
  background: var(--blau);
  color: var(--weiss);
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 600;
}

.sprungmarke:focus {
  transform: translate(-50%, 0);
}

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

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

.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blau);
  margin: 0 0 10px;
}

.dunkel .kicker,
.auf-blau .kicker {
  color: #e5e5e5;
}

.abschnitt {
  padding: 88px 0;
}

.abschnitt--ohne-oben {
  padding-top: 0;
}

.abschnitt__kopf {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.abschnitt__kopf--links {
  text-align: left;
  margin-left: 0;
  max-width: 580px;
}

.abschnitt__kopf h2,
.abschnitt h2 {
  font-size: clamp(26px, 3.2vw, 35px);
  line-height: 1.1;
}

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  min-width: 213px;
  padding: 12px 26px;
  border: 1px solid var(--blau);
  background: transparent;
  color: var(--blau);
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

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

.knopf--voll {
  background: var(--blau);
  color: var(--weiss);
}

.knopf--voll:hover {
  background: var(--blau-dunkel);
}

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

.knopf--hell:hover {
  background: var(--weiss);
  color: var(--blau);
}

.haken {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.55;
}

.haken li {
  padding-left: 26px;
  position: relative;
}

.haken li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
}

/* ---------- Kopf ---------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--weiss);
  border-bottom: 1px solid var(--linie);
}

.kopf__innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--kopf-hoehe);
  padding: 10px 0;
}

.kopf__logo {
  display: block;
  flex-shrink: 0;
}

.kopf__logo img {
  width: 172px;
  height: auto;
}

.kopf__menue {
  display: flex;
  align-items: center;
  gap: 40px;
}

.kopf__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.kopf__nav a {
  position: relative;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--grau);
  text-decoration: none;
  padding: 12px 2px;
}

.kopf__nav a:hover {
  color: var(--blau);
}

.kopf__nav a[aria-current="page"] {
  color: var(--blau);
  font-weight: 600;
}

.kopf__nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: var(--blau);
}

.kopf__rechts {
  display: flex;
  align-items: center;
  gap: 18px;
}

.kopf__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--blau);
}

.kopf__cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--blau);
  text-decoration: none;
  white-space: nowrap;
  padding: 12px 0;
}

.kopf__cta:hover {
  text-decoration: underline;
}

.kopf__schalter {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--linie);
  background: var(--weiss);
  color: var(--blau);
  cursor: pointer;
}

.kopf__schalter-zu {
  display: none;
}

.kopf--offen .kopf__schalter-auf {
  display: none;
}

.kopf--offen .kopf__schalter-zu {
  display: block;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 964fr) minmax(0, 936fr);
  background: var(--blau);
  color: var(--weiss);
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px var(--rand) 96px max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand)));
  min-height: 570px;
}

.hero__text h1 {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 34px;
  max-width: 14ch;
}

.hero__knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
}

.hero__bild {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 48px;
  min-height: 570px;
  background: var(--blau);
  overflow: hidden;
}

.hero__bild picture {
  position: absolute;
  inset: 0;
}

.hero__bild img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.zahlen {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 29px 60px;
  margin: 0;
  max-width: 380px;
}

.zahlen div {
  margin: 0;
}

.zahlen dt {
  font-size: 35px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.zahlen dd {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 400;
}

/* Kleinerer Kopf der Unterseiten */

.kopfzeile {
  background: var(--blau);
  color: var(--weiss);
  position: relative;
  overflow: hidden;
}

.kopfzeile__bild {
  position: absolute;
  inset: 0;
  left: 44%;
}

.kopfzeile__bild picture,
.kopfzeile__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}

.kopfzeile__innen {
  position: relative;
  padding: 74px 0 78px;
  max-width: 700px;
}

.kopfzeile h1 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.06;
  margin: 0 0 18px;
}

.kopfzeile p {
  color: var(--auf-blau-leise);
  max-width: 52ch;
  margin: 0;
}

/* ---------- Leistungsliste ---------- */

.leistungsliste {
  display: grid;
  max-width: 1248px;
  margin: 0 auto;
}

.leistungsliste a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 0;
  min-height: 80px;
  padding: 18px 0;
  border-bottom: 1px solid var(--linie);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.18s ease;
}

.leistungsliste a:hover {
  background: var(--grau-hell);
}

.leistungsliste .nr {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--blau);
  align-self: center;
}

.leistungsliste h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--tinte);
}

.leistungsliste p {
  margin: 0;
  font-size: 12px;
  color: var(--grau);
}

.leistungsliste .pfeil {
  font-size: 16px;
  color: var(--blau);
  text-align: right;
}

.leistungsliste a:hover .pfeil {
  transform: translateX(3px);
}

/* ---------- Blaues Band (Über uns) ---------- */

.band {
  background: var(--blau);
  color: var(--weiss);
  padding: 36px 0;
}

.band__innen {
  display: grid;
  grid-template-columns: minmax(0, 624fr) minmax(0, 594fr);
  gap: 72px;
  align-items: center;
}

.band__bild img {
  width: 100%;
  height: auto;
}

.band h2 {
  font-size: clamp(26px, 3.2vw, 35px);
  margin: 0 0 19px;
}

.band p {
  font-size: 14.5px;
  line-height: 1.72;
  margin: 0 0 28px;
}

.band .haken {
  margin: 0 0 32px;
}

/* ---------- Stellenkacheln ---------- */

.stellen {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 59px;
}

.stelle {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 32px 32px;
  color: var(--weiss);
  overflow: hidden;
  border: 1px solid rgba(30, 58, 138, 0.1);
}

.stelle__bild {
  position: absolute;
  inset: 0;
}

.stelle__bild picture,
.stelle__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stelle__bild::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 138, 0.85);
}

/* Bild und Marke bringen ihre eigene Lage mit, alles andere muss nur
   ueber dem blauen Schleier liegen. */
.stelle > *:not(.stelle__bild):not(.stelle__marke) {
  position: relative;
}

.stelle__marke {
  position: absolute;
  left: 0;
  top: 32px;
  background: var(--weiss);
  color: var(--blau);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 28px;
}

.stelle h3 {
  font-size: 18px;
  margin: 0 0 16px;
}

.stelle .haken {
  justify-items: start;
  text-align: left;
  margin: 0 0 24px;
}

.stelle__mehr {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--weiss);
  text-decoration: none;
  align-self: flex-end;
  padding: 8px 0;
}

.stelle__mehr:hover {
  text-decoration: underline;
}

/* ---------- Galerie ---------- */

.galerie {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, 202px);
  gap: 20px 17px;
}

.galerie__kachel {
  position: relative;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

.galerie__kachel picture,
.galerie__kachel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.galerie__kachel:hover img {
  transform: scale(1.04);
}

.galerie__kachel--hoch {
  grid-row: span 2;
}

/* ---------- Dunkler Aufruf ---------- */

.aufruf {
  background: var(--blau);
  color: var(--weiss);
  padding: 52px 0;
}

.aufruf__innen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.aufruf .kicker {
  font-size: 7.5px;
  letter-spacing: 0.16em;
  color: var(--auf-blau-leise);
}

.aufruf h2 {
  font-size: clamp(26px, 3.2vw, 35px);
  margin: 0 0 14px;
}

.aufruf p {
  color: var(--auf-blau-leise);
  font-size: 15px;
  margin: 0;
}

.aufruf__telefon {
  display: block;
  font-size: clamp(26px, 3.2vw, 35px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--weiss);
  text-decoration: none;
  margin-bottom: 19px;
}

.aufruf__telefon:hover {
  text-decoration: underline;
}

.aufruf__zeile {
  color: var(--auf-blau-leise);
  font-size: 14px;
  margin: 0;
}

.aufruf__zeile a {
  color: inherit;
}

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

.fuss {
  padding: 56px 0 32px;
  border-top: 1px solid var(--linie);
  color: var(--grau);
  font-size: 13px;
}

.fuss__innen {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.fuss__logo img {
  width: 186px;
  height: auto;
  margin-bottom: 26px;
}

.fuss h2 {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grau);
  margin: 0 0 18px;
}

.fuss ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.fuss a {
  color: var(--grau);
  text-decoration: none;
}

.fuss a:hover {
  color: var(--blau);
  text-decoration: underline;
}

.fuss__unten {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--linie);
  font-size: 12px;
}

.fuss__unten ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* ---------- Umbrüche ---------- */

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__text {
    padding: 64px var(--rand);
    min-height: 0;
  }

  .hero__bild {
    min-height: 320px;
    padding: 32px var(--rand);
  }

  .band__innen {
    gap: 40px;
  }

  .kopfzeile__bild {
    left: 30%;
  }
}

@media (max-width: 900px) {
  .abschnitt {
    padding: 64px 0;
  }

  .kopf__schalter {
    display: inline-flex;
  }

  .kopf__menue {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--weiss);
    border-bottom: 1px solid var(--linie);
    padding: 8px var(--rand) 24px;
  }

  .kopf--offen .kopf__menue {
    display: flex;
  }

  .kopf__nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .kopf__nav a {
    font-size: 15px;
    padding: 14px 0;
    border-bottom: 1px solid var(--linie);
  }

  .kopf__nav a[aria-current="page"]::after {
    display: none;
  }

  .kopf__rechts {
    padding-top: 16px;
  }

  .band__innen,
  .stellen,
  .aufruf__innen,
  .fuss__innen {
    grid-template-columns: 1fr;
  }

  .galerie {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, 200px);
  }

  .galerie__kachel--hoch {
    grid-row: span 1;
  }

  .kopfzeile__bild {
    left: 0;
  }

  .kopfzeile__bild img {
    opacity: 0.15;
  }
}

@media (max-width: 560px) {
  :root {
    --rand: 18px;
  }

  .leistungsliste a {
    grid-template-columns: 32px minmax(0, 1fr) 24px;
  }

  .galerie {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .galerie__kachel {
    height: 220px;
  }

  .hero__knoepfe .knopf {
    min-width: 0;
    width: 100%;
  }
}

/* ---------- Großansicht der Galerie ---------- */

body.lupe-offen {
  overflow: hidden;
}

.lupe[hidden] {
  display: none;
}

.lupe {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9, 12, 26, 0.93);
}

.lupe__flaeche {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.lupe__figur {
  max-width: min(1200px, 100%);
  max-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lupe__bild {
  max-width: 100%;
  max-height: calc(100vh - 150px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.lupe__text {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.lupe__zaehler {
  color: rgba(255, 255, 255, 0.62);
}

.lupe__knopf {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: var(--weiss);
  cursor: pointer;
}

.lupe__knopf:hover,
.lupe__knopf:focus-visible {
  background: var(--blau);
  border-color: var(--blau);
}

.lupe__zu {
  top: 20px;
  right: 20px;
}

.lupe__zurueck {
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.lupe__vor {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

/* ---------- Heller Seitenkopf (Unterseiten) ---------- */

.seitenkopf {
  display: grid;
  grid-template-columns: minmax(0, 569fr) minmax(0, 1056fr);
  gap: 24px;
  align-items: center;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 56px var(--rand) 0;
}

.seitenkopf h1 {
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 32px;
}

.seitenkopf p.einleitung {
  color: var(--grau);
  font-size: 15px;
  max-width: 52ch;
  margin: -16px 0 32px;
}

.seitenkopf .kicker {
  font-size: 10px;
  letter-spacing: 0.16em;
}

.seitenkopf__knoepfe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.seitenkopf__bild {
  position: relative;
  min-height: 310px;
  background: var(--blau);
  overflow: hidden;
}

.seitenkopf__bild picture,
.seitenkopf__bild img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.textlink {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--grau);
  text-decoration: none;
}

.textlink:hover {
  color: var(--blau);
  text-decoration: underline;
}

/* ---------- Geschichte (Bild links, Text rechts) ---------- */

.geschichte {
  display: grid;
  grid-template-columns: minmax(0, 688fr) minmax(0, 637fr);
  gap: 72px;
}

.geschichte h2 {
  margin: 0 0 24px;
}

.geschichte p {
  color: var(--grau);
  font-size: 14px;
  line-height: 1.65;
}

.statreihe {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 63px;
  margin-top: 40px;
}

.statreihe div {
  min-width: 110px;
}

.statreihe dt {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--blau);
}

.statreihe dd {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--grau);
}

/* ---------- Werte ---------- */

.werte {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 81px;
}

.werte article {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
}

.werte .nr {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(30, 58, 138, 0.75);
}

.werte h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 14px;
}

.werte p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--grau);
}

/* ---------- Team ---------- */

.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 82px 24px;
}

.team figure {
  margin: 0;
  position: relative;
}

.team figure picture,
.team figure img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center 20%;
}

.team figcaption {
  position: absolute;
  left: 0;
  bottom: -44px;
  background: var(--weiss);
  border-left: 5px solid var(--blau);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 20px 44px 18px 30px;
}

.team .name {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--blau);
  line-height: 1.2;
}

.team .rolle {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #444748;
}

.team__zitat {
  grid-column: span 2;
  align-self: center;
  padding-left: 40px;
}

.team__zitat blockquote {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
  color: var(--grau);
}

.team__zitat blockquote::before {
  content: "”";
  display: block;
  font-size: 100px;
  line-height: 0.7;
  color: var(--blau);
  margin-bottom: 16px;
}

@media (max-width: 1100px) {
  .seitenkopf {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }

  .geschichte,
  .werte {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team__zitat {
    grid-column: span 2;
    padding-left: 0;
  }
}

@media (max-width: 700px) {
  .team {
    grid-template-columns: 1fr;
  }

  .team__zitat {
    grid-column: span 1;
  }
}

/* ---------- Vorteile (Karriere) ---------- */

.vorteile {
  background: var(--blau);
  padding: 48px 0;
}

.vorteile__raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
}

.vorteil {
  background: var(--weiss);
  border: 1px solid var(--linie);
  padding: 19px;
  min-height: 220px;
}

.vorteil .nr {
  display: block;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--blau);
  line-height: 1.2;
  margin-bottom: 28px;
}

.vorteil h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
}

.vorteil p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--grau);
}

/* ---------- Stellenanzeige ---------- */

.anzeige + .anzeige {
  margin-top: 88px;
}

.anzeige__kopf {
  display: grid;
  grid-template-columns: 269px minmax(0, 1fr);
  gap: 62px;
  align-items: center;
  margin-bottom: 48px;
}

.anzeige__marke {
  background: var(--blau);
  color: var(--weiss);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 12px;
}

.anzeige__kopf h2 {
  font-size: 22px;
  margin: 0 0 8px;
}

.anzeige__meta {
  margin: 0;
  font-size: 12px;
  color: rgba(100, 105, 138, 0.9);
}

.anzeige__spalten {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 464px));
  gap: 48px;
}

.anzeige h3 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blau);
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(30, 58, 138, 0.2);
  margin: 0 0 20px;
}

.pfeilliste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(12, 15, 26, 0.85);
}

.pfeilliste li {
  position: relative;
  padding-left: 20px;
}

.pfeilliste li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: rgba(30, 58, 138, 0.6);
  font-weight: 600;
}

.bewerbung {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding: 15px 23px;
  background: #f4f6fb;
  border: 1px solid rgba(30, 58, 138, 0.15);
}

.bewerbung h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--tinte);
  border: 0;
  padding: 0;
  margin: 0 0 6px;
}

.bewerbung p {
  margin: 0;
  font-size: 13px;
  color: var(--grau);
}

.bewerbung .knopf {
  min-width: 160px;
  min-height: 48px;
}

@media (max-width: 900px) {
  .vorteile__raster {
    grid-template-columns: 1fr;
  }

  .anzeige__kopf {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .anzeige__marke {
    justify-self: start;
    padding: 8px 24px;
  }

  .anzeige__spalten {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- Leistungsseiten ---------- */

.umfang {
  display: grid;
  grid-template-columns: minmax(0, 684fr) minmax(0, 636fr);
  gap: 72px;
  align-items: start;
}

.umfang h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin: 0 0 20px;
}

.umfang > div > p {
  color: var(--grau);
  font-size: 14px;
  line-height: 1.65;
  max-width: 52ch;
  margin: 0 0 32px;
}

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

.trennliste li {
  position: relative;
  padding: 0 0 20px 24px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--linie);
  font-size: 13px;
  font-weight: 500;
}

.trennliste li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--blau);
  font-weight: 600;
}

.umfang__bild img {
  width: 100%;
  height: 432px;
  object-fit: cover;
}

/* ---------- Häufige Fragen ---------- */

.faq {
  max-width: 900px;
  margin: 0 auto;
}

.faq h2 {
  margin: 0 0 40px;
}

.faq dl {
  margin: 0;
}

.faq dt {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.faq dd {
  margin: 0 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--linie);
  font-size: 13px;
  line-height: 1.55;
  color: var(--grau);
}

.faq dd:last-child {
  border-bottom: 0;
}

@media (max-width: 1100px) {
  .umfang {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .umfang__bild img {
    height: 320px;
  }
}

/* ---------- Kontaktkacheln ---------- */

.kontaktkacheln {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  padding: 32px 0;
}

.kontaktkacheln h2 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blau);
  margin: 0 0 10px;
}

.kontaktkacheln p {
  margin: 0;
  font-size: 15px;
}

.kontaktkacheln a {
  text-decoration: none;
  color: var(--tinte);
}

.kontaktkacheln a:hover {
  color: var(--blau);
  text-decoration: underline;
}

/* ---------- Kontaktbereich ---------- */

.kontakt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 72px;
  align-items: start;
}

.zeiten {
  margin: 0;
  font-size: 14px;
}

.zeiten div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--linie);
}

.zeiten dt {
  color: var(--grau);
}

.zeiten dd {
  margin: 0;
  font-weight: 500;
}

/* ---------- Formular ---------- */

.formular__legende {
  font-size: 12px;
  color: var(--grau);
  margin: 0 0 20px;
}

.formular__feld {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
}

.formular label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.formular__pflicht {
  color: var(--blau);
}

.formular input,
.formular textarea {
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid rgba(12, 15, 26, 0.18);
  background: var(--weiss);
  color: var(--tinte);
  width: 100%;
}

.formular input:focus-visible,
.formular textarea:focus-visible {
  outline: 3px solid var(--blau);
  outline-offset: 1px;
  border-color: var(--blau);
}

.formular textarea {
  resize: vertical;
  min-height: 140px;
}

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

.formular__senden {
  width: 100%;
  margin-top: 6px;
}

.formular__hinweis {
  font-size: 12px;
  line-height: 1.55;
  color: var(--grau);
  margin: 16px 0 0;
}

@media (max-width: 900px) {
  .kontaktkacheln,
  .kontakt {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- Textseiten (Impressum, Datenschutz, Danke, 404) ---------- */

.textseite {
  max-width: 780px;
  margin: 0 auto;
}

.textseite h1 {
  font-size: clamp(30px, 3.6vw, 44px);
  margin: 0 0 32px;
}

.textseite h2 {
  font-size: 20px;
  margin: 40px 0 12px;
}

.textseite h3 {
  font-size: 16px;
  margin: 28px 0 8px;
}

.textseite h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--grau);
  margin: 20px 0 6px;
}

.textseite dl {
  margin: 0 0 24px;
}

.textseite dt {
  font-weight: 600;
  font-size: 15px;
}

.textseite dd {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--grau);
}

.textseite p,
.textseite li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--grau);
}

.textseite strong {
  color: var(--tinte);
}

.textseite .platzhalter {
  border-left: 4px solid var(--blau);
  background: #f4f6fb;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 14px;
}
