/* ——— SITE FOOTER ———
   Übernommen aus dem Footer-Prototyp (Variante B / Light).
   Eigenes Farbsystem (#F8F7F5 / #111821 / #39637c), aber gleiche Schrift
   (Manrope) wie der Rest der Seite. Type-Scale vereinheitlicht (11/12/14/16px
   statt der vielen Einzelgrößen aus dem Prototyp), Abstände gestrafft,
   Logo größer/prominenter. Die doppelten Rahmenlinien aus dem Prototyp
   (dekoratives Overlay + grid divide-x) wurden auf eine einzige, dünne
   Trennlinie reduziert. */
.site-footer {
  font-family: Manrope, system-ui, sans-serif;
  background: var(--canvas);
  color: #111821;
  border-top: 1px solid #E8E8E3;
}
/* Как .benefits/.benefits-inner: цветная полоса на всю ширину экрана,
   содержимое внутри — в том же центрированном контейнере 1440px,
   что и хедер/hero/остальные секции. Раньше .footer-grid растягивался
   на весь вьюпорт без ограничения — отсюда несовпадение с логотипом
   в хедере на широких экранах. */
.footer-inner { max-width: 1440px; margin: 0 auto; }
.site-footer__topline { position: relative; height: 2px; background: var(--accent); }
.site-footer__topline span { display: none; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 1fr;
}
.footer-col {
  padding: 32px 32px;
  border-left: 1px solid #E8E8E3;
}
.footer-col--brand { padding-left: 56px; border-left: 0; display: flex; flex-direction: column; }
.footer-col--direct { padding-right: 56px; display: flex; flex-direction: column; }

.footer-label {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #9A9A95; margin-bottom: 24px;
}

/* — Logo: reales Markenlogo statt gezeichnetem Platzhalter — */
.footer-logo { display: block; }
.footer-logo img { display: block; height: 58px; width: auto; }

.footer-tagline { margin-top: 24px; font-size: clamp(22px, 2vw, 30px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; }
.footer-tagline span { display: block; }
.footer-tagline .ft-thin { font-weight: 300; opacity: .65; }
.footer-tagline .ft-bold { font-weight: 800; }
.footer-tagline .ft-accent { color: var(--accent); }

/* — Hauptsitz / Kontakt / Karte — */
.footer-address { display: block; font-style: normal; font-size: 14px; line-height: 1.6; color: #3A3A38; }
.footer-address strong { display: block; font-weight: 700; color: #111821; }
.footer-address span { display: block; }
.footer-address__street { margin-top: 10px; }

.footer-contact { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.footer-contact__row {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: #111821; text-decoration: none;
}
.footer-contact__row:hover { color: var(--accent); }
.footer-contact__row--email { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.footer-contact__icon { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.footer-contact__icon svg { width: 100%; height: 100%; }

.footer-map {
  margin-top: 24px;
  position: relative;
  display: block;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 2.4 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #F1EFEA;
  border: 1px solid #E8E8E3;
  transition: border-color .15s ease;
}
.footer-map:hover { border-color: var(--accent); }
.footer-map__frame {
  display: block;
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(.15) contrast(1.02);
}

/* — Navigation — */
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a {
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #3A3A38; text-decoration: none;
}
.footer-nav a:hover { color: var(--accent); }
.footer-nav a.is-active { color: var(--accent); font-weight: 700; }

.footer-disposition { margin-top: 20px; padding: 14px; background: #fff; border: 1px solid #E8E8E3; border-radius: 12px; }
.footer-disposition__label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.footer-disposition p { font-size: 14px; line-height: 1.5; color: #6B6B68; }

/* — Rechtliches: bei den Kontaktdaten (Hauptsitz-Spalte) — */
.footer-legal { margin-top: 18px; padding-top: 16px; border-top: 1px solid #E8E8E3; display: flex; flex-wrap: wrap; gap: 10px 16px; }
.footer-legal a { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #9A9A95; text-decoration: none; }
.footer-legal a:hover { color: var(--accent); }

/* — Direkt: CTA + offene Stellen (direkt aufgelistet statt Zähler) — */
.footer-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  border: 1px solid #111821; background: #111821; color: #fff;
  border-radius: 999px;
  padding: 15px 22px; text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  transition: background-color .15s ease;
}
.footer-cta:hover { background: #0F1F2D; }
.footer-cta__hint { margin-top: 10px; font-size: 13px; letter-spacing: .02em; color: #9A9A95; }

/* Gleiche Kantenregel wie Hero/Vorteile: rund zur offenen Seite hin
   (links), eckig zur Seite, die den Container-/Bildschirmrand berührt
   (rechts) — statt komplett eckig wie zuvor. */
.footer-jobs { margin-top: 18px; padding: 14px; background: #fff; border: 1px solid #E8E8E3; border-radius: 12px 0 0 12px; }
.footer-jobs__label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.footer-jobs__item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 0; font-size: 14px; font-weight: 600; color: #111821; text-decoration: none;
  border-top: 1px solid #E8E8E3;
}
.footer-jobs__item:first-of-type { border-top: 0; padding-top: 0; }
.footer-jobs__item em { font-style: normal; font-weight: 500; color: #6B6B68; }
.footer-jobs__item span:last-child { color: var(--accent); flex-shrink: 0; transition: transform .15s ease; }
.footer-jobs__item:hover span:last-child { transform: translateX(3px); }

/* — Bottom bar: volle Breite (wie site-footer-Hintergrund), Inhalt im
   selben 1440px-Container wie der Rest der Seite. */
.footer-bottom {
  border-top: 1px solid #E8E8E3;
  background: rgba(255,255,255,.4);
}
.footer-bottom-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #9A9A95; }
.footer-bottom__made span { color: var(--accent); font-weight: 700; }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1 / -1; border-left: 0; padding-left: 56px; }
  .footer-col--hq { border-left: 0; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col { padding: 28px 20px; border-left: 0; border-top: 1px solid #E8E8E3; }
  .footer-col--brand { padding: 28px 20px; border-top: 0; }
  .footer-col--direct { padding-right: 20px; }
  .footer-bottom-inner { padding: 14px 20px; }
}
