@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-condensed-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-700-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/barlow-condensed-800-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin.woff2") format("woff2");
}

:root {
  /* Farben aus dem Firmenlogo: Schwarz, Weiß und das Royalblau des Engels.
     Blau ist der einzige Akzent; Flächen in kühlem, leicht bläulichem Grau.
     Die "Nulllinie" (OKFF ±0,00) zieht sich als Leitmotiv durch die Seite. */
  --beton: #EEF0F5;
  --beton-tief: #DFE3EC;
  --flaeche: #FFFFFF;
  --anthrazit: #111214;
  --grau: #565B66;
  --laser: #263C96;
  --laser-tief: #18286B;
  --linie: #D3D7E0;
  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --breite: 1160px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--flaeche);
  color: var(--anthrazit);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid #4F6BE0; outline-offset: 3px; }

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
@media (max-width: 420px) { .wrap { padding: 0 16px; } }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
  text-wrap: balance;
  margin: 0;
}
h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h3 { font-size: 1.5rem; font-weight: 700; }

/* Nulllinie: Messmarke wie auf dem Bauplan */
.nulllinie {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--grau);
  margin-bottom: 18px;
}
.nulllinie::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: conic-gradient(var(--anthrazit) 0 25%, transparent 0 50%, var(--anthrazit) 0 75%, transparent 0);
  border: 1.5px solid var(--anthrazit); border-radius: 50%;
}
.nulllinie::after { content: ""; flex: 1; height: 1.5px; background: var(--laser); max-width: 120px; }

/* ---------- Kopfzeile ---------- */
header.kopf {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--flaeche) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linie);
}
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.marke { text-decoration: none; display: flex; align-items: center; }
.marke .logo { height: 84px; width: auto; }
@media (max-width: 420px) { .marke .logo { height: 54px; } }
.marke b { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: 0.02em; text-transform: uppercase; }
.marke b span { color: var(--laser); }
.marke small { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grau); margin-top: 4px; }
nav.haupt { display: flex; gap: 26px; align-items: center; }
nav.haupt a { text-decoration: none; font-weight: 500; font-size: 0.95rem; }
nav.haupt a:hover { color: var(--laser); }
.tel-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--anthrazit); color: var(--flaeche) !important;
  padding: 10px 16px; border-radius: 3px; text-decoration: none; font-weight: 600; white-space: nowrap;
}
.tel-btn:hover { background: var(--laser); }
@media (max-width: 860px) { nav.haupt .navlink { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 72px; border-bottom: 1px solid var(--linie); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; } .hero { padding-top: 40px; } }
.hero h1 { font-size: clamp(3rem, 7vw, 5.6rem); }
.hero h1 .laser { color: var(--laser); }
.hero p.lead { font-size: 1.15rem; color: var(--grau); max-width: 34em; margin: 22px 0 30px; }
.hero .aktionen { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 14px 22px; border-radius: 3px; text-decoration: none;
  font-weight: 600; border: 2px solid var(--anthrazit);
}
.btn.primaer { background: var(--laser); border-color: var(--laser); color: #fff; }
.btn.primaer:hover { background: var(--laser-tief); border-color: var(--laser-tief); }
.btn.sekundaer:hover { background: var(--anthrazit); color: var(--flaeche); }
.vertrauen { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 0.92rem; color: var(--grau); }
.vertrauen strong { color: var(--anthrazit); }
.sterne { color: var(--laser); letter-spacing: 2px; }

/* Bild-Platzhalter: echtes Bild unter bilder/… ablegen, dann erscheint es automatisch */
.bild {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(38,60,150,0.05) 14px 15px),
    var(--beton-tief);
  border: 1.5px dashed #A6AEC4;
  display: grid; place-items: center; text-align: center;
}
.bild .ph-text { padding: 20px; color: var(--grau); font-size: 0.9rem; line-height: 1.4; }
.bild .ph-text b { display: block; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--anthrazit); margin-bottom: 4px; }
.bild .ph-text code { font-size: 0.8rem; background: var(--flaeche); padding: 2px 6px; border-radius: 3px; }
.bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bild.hat-bild { border-style: solid; border-color: transparent; }

/* Slideshow */
.slideshow { position: relative; }
.slides { position: relative; aspect-ratio: 4 / 3; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; }
.slide.aktiv { opacity: 1; z-index: 1; }
.slide .bild { width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }
.slide-steuerung { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; gap: 12px; }
.punkte { display: flex; gap: 8px; }
.punkte button { width: 28px; height: 4px; border: 0; padding: 0; background: var(--linie); cursor: pointer; }
.punkte button[aria-current="true"] { background: var(--laser); }
.pfeile { display: flex; gap: 8px; }
.pfeile button {
  width: 40px; height: 40px; border: 1.5px solid var(--anthrazit); background: transparent; border-radius: 3px;
  font-size: 1.1rem; cursor: pointer; color: var(--anthrazit);
}
.pfeile button:hover { background: var(--anthrazit); color: var(--flaeche); }

/* ---------- Abschnitte ---------- */
section.abschnitt { padding: 88px 0; }
section.abschnitt.grau { background: var(--beton); }
.kopfzeile { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.kopfzeile p { color: var(--grau); margin: 0; max-width: 34em; }
@media (max-width: 800px) { .kopfzeile { grid-template-columns: 1fr; gap: 16px; } section.abschnitt { padding: 64px 0; } }

/* Leistungen als Aufklapp-Liste */
.leistungen { border-top: 2px solid var(--anthrazit); }
.leistung { border-bottom: 1px solid var(--linie); }
.leistung summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center;
  padding: 22px 4px;
}
.leistung summary::-webkit-details-marker { display: none; }
.leistung .nr { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--grau); font-variant-numeric: tabular-nums; }
.leistung .titel { display: flex; flex-direction: column; gap: 2px; }
.leistung .titel h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.leistung .titel span { color: var(--grau); font-size: 0.98rem; }
.leistung .plus {
  width: 40px; height: 40px; border: 1.5px solid var(--anthrazit); border-radius: 50%;
  display: grid; place-items: center; font-size: 1.4rem; line-height: 1; transition: transform 0.25s ease, background 0.2s;
}
.leistung[open] .plus { transform: rotate(45deg); background: var(--laser); border-color: var(--laser); color: #fff; }
.leistung summary:hover .titel h3 { color: var(--laser); }
.leistung .inhalt { display: grid; grid-template-columns: 64px 1.3fr 1fr; gap: 16px 32px; padding: 0 4px 30px; }
.leistung .inhalt .text { grid-column: 2; }
.leistung .inhalt .text p { margin: 0 0 12px; max-width: 36em; }
.leistung .inhalt ul { margin: 0; padding-left: 18px; }
.leistung .inhalt li { margin-bottom: 4px; }
.leistung .inhalt .bild { grid-column: 3; aspect-ratio: 3 / 2; }
@media (max-width: 800px) {
  .leistung summary { grid-template-columns: 40px 1fr auto; }
  .leistung .inhalt { grid-template-columns: 1fr; }
  .leistung .inhalt .text, .leistung .inhalt .bild { grid-column: 1; }
}

/* Über uns */
.ueber { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.ueber .bild { aspect-ratio: 4 / 5; }
.ueber p { max-width: 34em; }
.ueber .zitat {
  margin: 28px 0 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--laser);
  font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; line-height: 1.15; text-transform: uppercase;
}
.werte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.werte div { border-top: 2px solid var(--anthrazit); padding-top: 10px; }
.werte b { display: block; font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; }
.werte span { font-size: 0.92rem; color: var(--grau); }
@media (max-width: 900px) {
  .ueber { grid-template-columns: 1fr; gap: 32px; }
  .ueber .bild { aspect-ratio: 4 / 5; }
  .ueber .bild img { object-position: center top; }
}
@media (max-width: 480px) { .werte { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; }
.frage { border-bottom: 1px solid var(--linie); }
.frage summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 20px 0; font-weight: 600; font-size: 1.08rem;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: "+"; font-size: 1.5rem; color: var(--laser); flex: none; transition: transform 0.2s; }
.frage[open] summary::after { transform: rotate(45deg); }
.frage p { margin: 0 0 22px; color: var(--grau); max-width: 42em; }
.frage p a { color: var(--laser); font-weight: 600; }

/* Kontakt */
.kontakt { background: #0D1430; color: var(--flaeche); }
.kontakt .nulllinie { color: #B4BDD6; }
.kontakt .nulllinie::before { background: conic-gradient(var(--flaeche) 0 25%, transparent 0 50%, var(--flaeche) 0 75%, transparent 0); border-color: var(--flaeche); }
.kontakt h2 { color: var(--flaeche); }
.kontakt .einleitung { color: #B4BDD6; max-width: 34em; margin: 18px 0 44px; }
.kontakt-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: #2B3350; border: 2px solid #2B3350; }
.kontakt-raster > div { background: #0D1430; padding: 28px; }
.kontakt-raster .label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #B4BDD6; margin-bottom: 10px; }
.kontakt-raster a.gross {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); text-decoration: none; line-height: 1.1;
  word-break: break-word;
}
.kontakt-raster a.gross:hover { color: #8FA3F0; }
.kontakt-raster a.mail { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
.kontakt-raster small { display: block; color: #B4BDD6; margin-top: 8px; font-size: 0.9rem; }
.zeiten { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.zeiten td { padding: 4px 0; }
.zeiten td:last-child { text-align: right; }
.anschrift { margin-top: 32px; color: #B4BDD6; font-size: 0.95rem; }
@media (max-width: 860px) { .kontakt-raster { grid-template-columns: 1fr; } }

/* Footer */
footer.fuss { background: #000000; color: #A3A9B8; font-size: 0.9rem; padding: 20px 0; }
footer.fuss .wrap { 
  display: flex;
  flex-wrap: wrap; 
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}
.copyright { color: #A3A9B8; }
footer.fuss .footer-nav { display: flex; gap: 22px; }
footer.fuss a { text-decoration: none; color: var(--flaeche); }
footer.fuss a:hover { color: #8FA3F0; }
.footer-bewerberscout a {
  display: flex; 
  align-items: center; 
  gap: 8px; 
  text-decoration: none; 
  color: var(--flaeche); 
  transition: opacity 0.2s;
  white-space: nowrap;
}
.footer-bewerberscout a:hover { opacity: 0.8; }
.footer-bewerberscout img { 
  height: auto;
  width: auto;
  max-height: 25px;
  border-radius: 3px;
}
.footer-bewerberscout span { 
  font-size: 0.9rem;
}
@media (max-width: 768px) {
  footer.fuss .wrap { 
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  footer.fuss .footer-nav {
    width: 100%;
  }
  .footer-bewerberscout a {
    flex-direction: column;
    align-items: flex-start;
  }
}
