/* ==========================================================================
   ALLPERSONA — Polished Design System
   Tokens are locked per brief. This stylesheet composes with them.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
}

:root {
  /* Locked color tokens */
  --color-logo-teal: #3a9bb8;
  --color-teal-deep: #2c7a92;
  --color-teal-soft: #e8f3f7;
  --color-teal-mist: #f1f8fb;
  --color-teal-haze: #d6e9f1;
  --color-teal-tint: #b9d9e5;
  --color-teal-shade: #1f4a5c;
  --color-teal-anchor: #16384a;

  /* Unified highlight gradient — used by Final CTA, Unternehmen-Banner, Footer.
     Same angle, same hue family. Surfaces vary by which stops they pick. */
  --grad-highlight: linear-gradient(160deg, var(--color-logo-teal) 0%, var(--color-teal-deep) 55%, var(--color-teal-shade) 100%);
  --grad-anchor:    linear-gradient(160deg, var(--color-teal-deep) 0%, var(--color-teal-shade) 55%, var(--color-teal-anchor) 100%);

  --color-accent: #e86830;
  --color-accent-hover: #d55a25;
  --color-accent-light: #fef0e7;
  --enum-num-color: var(--color-accent);

  --color-text: #1a1a2e;
  --color-text-body: #374151;
  --color-text-muted: #6b7280;

  --color-bg: #ffffff;
  --color-bg-alt: #f7fafc;
  --color-bg-warm: #fafaf8;

  /* Composed only — derived from locked tokens */
  --color-navy-95: #232338;
  --color-navy-85: #2e2e45;
  --color-hairline: rgba(26, 26, 46, 0.08);
  --color-hairline-strong: rgba(26, 26, 46, 0.14);
  --color-hairline-on-navy: rgba(255, 255, 255, 0.10);
  --color-hairline-on-navy-strong: rgba(255, 255, 255, 0.18);

  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --font-marginalia: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --section-gap: 120px;
  --container-max: 1240px;
  --container-pad: 32px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 2px rgba(26, 26, 46, 0.04), 0 1px 3px rgba(26, 26, 46, 0.03);
  --shadow-md: 0 4px 12px rgba(26, 26, 46, 0.06), 0 2px 4px rgba(26, 26, 46, 0.04);
  --shadow-lg: 0 24px 48px -16px rgba(26, 26, 46, 0.18), 0 8px 16px -8px rgba(26, 26, 46, 0.08);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Short edge fades between alternating section bands (not full-section gradients) */
  --section-fade-h: clamp(56px, 9vw, 88px);
}

@media (max-width: 900px) {
  :root {
    --section-gap: 88px;
    --container-pad: 20px;
    --section-fade-h: 48px;
  }
}
.section-scene {
  position: relative;
  isolation: isolate;
}

.section-scene > .container {
  position: relative;
  z-index: 1;
}

.section-scene::before,
.section-scene::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: var(--section-fade-h);
  pointer-events: none;
  z-index: 0;
}

.section-scene::before { top: 0; }
.section-scene::after { bottom: 0; }

.section-scene--white {
  background: var(--color-bg);
}
.section-scene--white.from-warm::before {
  background: linear-gradient(180deg, var(--color-bg-warm) 0%, var(--color-bg) 100%);
}
.section-scene--white.to-warm::after {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-warm) 100%);
}

.section-scene--warm {
  background: var(--color-bg-warm);
}
.section-scene--warm.from-white::before {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-warm) 100%);
}
.section-scene--warm.from-alt::before {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg-warm) 100%);
}

.section-scene--alt {
  background: var(--color-bg-alt);
}
.section-scene--alt.from-warm::before {
  background: linear-gradient(180deg, var(--color-bg-warm) 0%, var(--color-bg-alt) 100%);
}
.section-scene--alt.to-warm::after {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg-warm) 100%);
}

/* Hide fade pseudo-elements when a direction is not needed */
.section-scene--warm:not(.from-white):not(.from-alt)::before,
.section-scene--warm:not(.to-white):not(.to-alt)::after,
.section-scene--white:not(.from-warm)::before,
.section-scene--white:not(.to-warm)::after,
.section-scene--alt:not(.from-warm)::before,
.section-scene--alt:not(.to-warm)::after {
  content: none;
}

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

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

body {
  margin: 0;
  font-family: var(--font-family);
  font-feature-settings: "ss01", "cv11";
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-body);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-family);
  color: var(--color-text);
  margin: 0;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 { font-size: clamp(44px, 6.2vw, 84px); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(34px, 4.2vw, 56px); font-weight: 700; line-height: 1.06; letter-spacing: -0.028em; }
h3 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 700; line-height: 1.12; letter-spacing: -0.022em; }
h4 { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }

p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ==========================================================================
   Section header — eyebrow + headline + lead
   The eyebrow uses the /// brand mark as a tick.
   ========================================================================== */
.section-header { max-width: 760px; margin: 0 auto 64px; text-align: center; }

.section-label {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal-deep);
  font-feature-settings: "tnum";
  margin-bottom: 24px;
}

.section-header h2 { margin-bottom: 16px; }
.section-header h2 + .section-subtitle { margin-top: 8px; }

.section-subtitle {
  font-size: 19px;
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.section-header.is-left { text-align: left; margin-left: 0; margin-right: 0; }

.section-header-left {
  margin: 0 0 56px;
  max-width: 760px;
  text-align: left;
}

.section-header-left .section-subtitle,
.section-header.is-left .section-subtitle {
  margin-left: 0;
  margin-right: auto;
}

/* Global — Aufzählnummern */
.leistung-num,
.usp-num,
.wert-num,
.kontakt-block-num,
.bewerbung-step-num,
.leistungen-overview-num,
.process-number,
.flow-step-num,
.branche-index,
.detail-block-num,
.sitemap-num,
.error-link-num {
  color: var(--enum-num-color);
}

.detail-block-num {
  background: var(--color-accent-light);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s;
  white-space: nowrap;
  line-height: 1;
}

.btn-icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover .btn-icon { transform: translateX(3px); }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 8px 18px -8px rgba(232,104,48,0.55);
}
.btn-primary:hover { background: var(--color-accent-hover); box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 12px 24px -8px rgba(232,104,48,0.65); }

.btn-secondary {
  background: var(--color-teal-anchor);
  color: #fff;
}
.btn-secondary:hover { background: var(--color-teal-shade); }

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-hairline-strong);
}
.btn-ghost:hover { border-color: var(--color-teal-anchor); background: var(--color-bg-warm); }

.btn-accent {
  background: var(--color-accent);
  color: #fff;
}
.btn-accent:hover { background: var(--color-accent-hover); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: var(--color-hairline-on-navy-strong);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }

.btn-white {
  background: #fff;
  color: var(--color-text);
}
.btn-white:hover { background: var(--color-bg-warm); }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--color-hairline);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 32px;
}

.navbar-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.08em;
  flex-shrink: 0;
  font-size: 22px;
}

.navbar-logo--ps img {
  height: 32px;
  width: auto;
  display: block;
}

.footer .navbar-logo--ps img {
  height: 28px;
}

.navbar-logo svg {
  color: var(--color-text);
  height: 1.3em;
  width: calc(1.3em * 4 / 3);
  flex-shrink: 0;
}
.navbar-logo svg path:nth-child(1) { fill: var(--color-text); }
.navbar-logo svg path:nth-child(2) { fill: var(--color-logo-teal); }
.navbar-logo svg path:nth-child(3) { fill: var(--color-text); opacity: 0.55; }

.navbar-wordmark {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
  line-height: 1;
}
.navbar-wordmark .all { font-weight: 700; }
.navbar-wordmark .persona { font-weight: 300; color: var(--color-text-body); }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-links > li > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-body);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.navbar-links > li > a:hover { color: var(--color-text); background: var(--color-bg-warm); }
.navbar-links > li > a.active { color: var(--color-text); }

.navbar-cta {
  margin-left: 8px;
  padding: 11px 20px !important;
  background: var(--color-accent);
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 600;
}
.navbar-cta:hover { background: var(--color-accent-hover) !important; }

.dropdown-arrow { width: 14px; height: 14px; opacity: 0.5; }

.nav-item-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.nav-item-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-body);
  border-radius: 8px;
}
.dropdown-menu a:hover { background: var(--color-bg-warm); color: var(--color-text); }
.dropdown-icon { width: 18px; height: 18px; color: var(--color-logo-teal); flex-shrink: 0; }
.dropdown-divider { height: 1px; background: var(--color-hairline); margin: 6px 4px; }

.menu-toggle { display: none; background: none; border: none; padding: 8px; color: var(--color-text); cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; }

.mobile-nav { display: none; }

@media (max-width: 1024px) {
  .navbar-links { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: calc(100dvh - 76px);
    z-index: 99;
    flex-direction: column;
    gap: 4px;
    padding: 20px var(--container-pad) 120px;
    overflow-y: auto;
    background: rgba(255,255,255,0.98);
    border-top: 1px solid var(--color-hairline);
  }
  .mobile-nav > a,
  .mobile-dropdown-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 14px 12px;
    color: var(--color-text);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--color-hairline);
    font: inherit;
    font-size: 17px;
    font-weight: 600;
    text-align: left;
  }
  .mobile-nav .navbar-cta {
    justify-content: center;
    margin: 20px 0 0;
    border-bottom: 0;
  }
  .mobile-dropdown-toggle .dropdown-arrow { transition: transform 180ms ease; }
  .mobile-dropdown-toggle.is-open .dropdown-arrow { transform: rotate(180deg); }
  .mobile-dropdown-content {
    display: none;
    padding: 4px 0 12px 14px;
    border-bottom: 1px solid var(--color-hairline);
  }
  .mobile-dropdown-content.is-open { display: grid; }
  .mobile-dropdown-content a {
    padding: 10px 12px;
    color: var(--color-text-body);
    font-size: 15px;
  }
}

/* ==========================================================================
   HERO  — editorial split with anchor "stamp" panel
   Big monolithic display headline; brand /// hairlines as marginalia.
   ========================================================================== */
.hero {
  position: relative;
  background: var(--color-bg-warm);
  padding: 56px 0 96px;
  overflow: hidden;
  isolation: isolate;
}

/* paper-grain texture, very subtle */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(26,26,46,0.025) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
  z-index: 0;
}

/* big diagonal /// in negative space, navy-subtle */
.hero-decoration {
  position: absolute;
  right: -60px;
  bottom: -120px;
  width: 540px;
  height: 540px;
  z-index: 0;
  opacity: 0.035;
  pointer-events: none;
}
.hero-decoration svg { width: 100%; height: 100%; }
.hero-decoration svg path { fill: var(--color-teal-anchor) !important; }

/* straight edge to next section */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-hairline);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 1420px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(500px, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas:
    "content visual"
    "trust trust";
  column-gap: 56px;
  row-gap: 28px;
  align-items: end;
  padding-top: 40px;
}

.hero-content { grid-area: content; position: relative; z-index: 3; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal-deep);
  margin-bottom: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  background: #fff;
  border: 1px solid var(--color-hairline-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.005em;
  box-shadow: var(--shadow-sm);
  margin-top: 28px;
  margin-bottom: 32px;
}
.hero-badge strong { display: block; line-height: 1.25; }
.hero-badge small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-text-body);
}
a.hero-badge:hover,
a.hero-badge:focus-visible { border-color: var(--color-teal-anchor); }
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(232, 104, 48, 0.15);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232, 104, 48, 0.15); }
  50% { box-shadow: 0 0 0 7px rgba(232, 104, 48, 0.05); }
}

.hero h1 {
  margin-bottom: 28px;
}
.hero h1 span,
.hero h1 .hero-tagline {
  display: block;
  position: relative;
  margin-top: 0.12em;
  max-width: fit-content;
  background: linear-gradient(95deg, #2e9bb8 0%, #1f6f86 55%, #16384a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.55;
  color: var(--color-text-body);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.hero-trust {
  grid-area: trust;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--color-hairline);
  min-height: 73px;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-body);
}
.hero-trust-item svg { width: 16px; height: 16px; color: var(--color-logo-teal); }

/* Hero visual — anchored "stamp" panel */
.hero-visual {
  grid-area: visual;
  position: relative;
}
.hero-badge-overlay {
  position: absolute;
  top: 28px;
  left: 28px;
  margin: 0;
  z-index: 2;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.hero-award {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid var(--color-hairline);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
a.hero-award:hover,
a.hero-award:focus-visible {
  border-color: var(--color-hairline-strong);
  box-shadow: var(--shadow-md);
}
.hero-award-emblem {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--color-logo-teal);
}
.hero-award-emblem svg { width: 17px; height: 17px; }
.hero-award-text {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
}
.hero-award-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.005em;
}

.hero-media-panel {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  padding: 14px;
  box-shadow: var(--shadow-lg);
}
.hero-media-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-bg-warm);
}
.hero-media-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 45%;
}
.hero-media-photo img:not([src]),
.hero-media-photo img[src=""] { display: none; }

.hero-media-seals {
  grid-area: seals;
  display: flex;
  align-items: center;
  min-height: 73px;
  padding: 28px 14px 0;
  border-top: 1px solid var(--color-hairline);
}
.hero-media-seals-logos {
  display: grid;
  grid-template-columns: 0.7fr 0.8fr 0.95fr 1.1fr minmax(150px, 1.55fr);
  gap: 28px;
  align-items: center;
  width: 100%;
  opacity: 1;
}
.hero-media-seals-logos a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.hero-media-seals-logos img {
  height: 44px;
  width: auto;
  max-width: 100%;
  justify-self: center;
}
.hero-seal--izs {
  justify-content: flex-end;
  justify-self: end;
}
.hero-seal--izs img {
  height: 42px;
  width: auto;
  max-width: min(100%, 180px);
}

@media (max-width: 1120px) {
  .hero { padding: 40px 0 72px; }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "trust"
      "visual";
    row-gap: 28px;
  }
  .hero-visual { margin-top: 12px; }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 42px;
    line-height: 1.08;
    letter-spacing: 0;
  }
  .hero h1 span,
  .hero h1 .hero-tagline { white-space: normal; }
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hero-buttons .btn {
    width: min(100%, 260px);
    justify-content: center;
    padding-inline: 20px;
  }
  .hero-media-seals-logos {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
  }
  .hero-media-seals-logos img { height: 36px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 38px; }
}

/* ==========================================================================
   STATS — overlapping the hero diagonal cut
   Single editorial bar with hairlines, not a card grid.
   ========================================================================== */
.stats {
  position: relative;
  margin-top: -100px;
  z-index: 5;
  padding-bottom: var(--section-gap);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--grad-highlight);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-xl);
  padding: 8px;
  box-shadow:
    0 30px 60px -24px rgba(22,56,74,0.35),
    inset 0 1px 0 rgba(255,255,255,0.10);
  position: relative;
  overflow: hidden;
}



.stat-item {
  padding: 32px 28px;
  position: relative;
}
.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 50%;
  background: rgba(255,255,255,0.16);
  transform: translateY(-50%);
}

.stat-number {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
  font-feature-settings: "tnum";
}
.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 800px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item + .stat-item::before { display: none; }
  .stat-item { border-top: 1px solid rgba(255,255,255,0.12); }
  .stat-item:nth-child(-n+2) { border-top: none; }
}

/* ==========================================================================
   GRUPPE — three sister-firm cards with a featured first card
   ========================================================================== */
.gruppe {
  padding: var(--section-gap) 0;
  background: var(--color-bg);
  position: relative;
}

.gruppe-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) {
  .gruppe-grid { grid-template-columns: repeat(3, 1fr); }
}

.gruppe-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}

/* Featured (middle) card — anchor with Teal accent + lift */
.gruppe-card--featured {
  background: #ffffff;
  color: var(--color-text-body);
  border: 1.5px solid var(--color-logo-teal);
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  z-index: 2;
}

.gruppe-card-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-logo-teal);
  background: rgba(58,155,184,0.10);
  border: 1px solid rgba(58,155,184,0.25);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.gruppe-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-hairline-strong);
}

.gruppe-card-logo {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 8px;
  color: var(--color-text);
}
.gruppe-card--featured .gruppe-card-logo { color: var(--color-teal-deep); }
.gruppe-card-logo--asset {
  min-height: 34px;
  display: flex;
  align-items: center;
  letter-spacing: 0;
}
.gruppe-card-logo--asset img {
  display: block;
  height: 30px;
  width: auto;
  max-width: min(100%, 280px);
}
.gruppe-card-logo--main img { height: 28px; }

.gruppe-card-rechtsform {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.gruppe-card--featured .gruppe-card-rechtsform { color: var(--color-text); font-size: 28px; }

.gruppe-card-standort {
  /* text-only after feedback: no pin, no "Standorte in …" */
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
.gruppe-card--featured .gruppe-card-standort { color: var(--color-teal-deep); }
.gruppe-card-standort svg { width: 14px; height: 14px; }

.gruppe-card-leistungen {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex: 1;
}
.gruppe-card-leistungen li {
  font-size: 15px;
  color: var(--color-text-body);
  padding: 10px 0;
  border-top: 1px solid var(--color-hairline);
  display: flex;
  align-items: center;
  gap: 10px;
}
.gruppe-card-leistungen li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--color-logo-teal);
  border-radius: 50%;
  flex-shrink: 0;
}
.gruppe-card-leistungen li:last-child { border-bottom: 1px solid var(--color-hairline); }

.gruppe-card--featured .gruppe-card-leistungen li {
  color: var(--color-text-body);
  border-top-color: rgba(58,155,184,0.20);
}
.gruppe-card--featured .gruppe-card-leistungen li:last-child {
  border-bottom-color: rgba(58,155,184,0.20);
}

.gruppe-card .btn { align-self: flex-start; }

/* Sub-company strip — daughter brand, visually separate from group cards */
.gruppe-at-strip {
  margin-top: 28px;
  padding: 24px 32px;
  background: var(--color-bg-warm);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.gruppe-at-strip-brand {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.gruppe-at-strip-logo {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--color-text);
  flex-shrink: 0;
}
.gruppe-at-strip-logo--asset img {
  display: block;
  width: min(190px, 42vw);
  height: auto;
}
.gruppe-at-strip-text { display: flex; flex-direction: column; gap: 2px; }
.gruppe-at-strip-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
}
.gruppe-at-strip-meta {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}
.gruppe-at-strip-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.gruppe-at-strip-siegel img {
  width: 72px;
  height: auto;
  display: block;
}
@media (max-width: 720px) {
  .gruppe-at-strip { flex-direction: column; align-items: flex-start; padding: 20px; gap: 20px; }
  .gruppe-at-strip-actions { width: 100%; justify-content: space-between; }
}

/* Secondary action variant inside cards — visible on white */
.gruppe-card .btn-ghost {
  border-color: var(--color-teal-anchor);
  color: var(--color-text);
  background: #fff;
}
.gruppe-card .btn-ghost:hover {
  background: var(--color-teal-anchor);
  color: #fff;
  border-color: var(--color-teal-anchor);
}

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

/* ==========================================================================
   USPs — editorial 3×2 grid with hairline dividers (no card chrome)
   ========================================================================== */
.usps {
  padding: var(--section-gap) 0;
  overflow: hidden;
}

/* subtle diagonal pattern in margin */


.usps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-hairline);
  border-left: 1px solid var(--color-hairline);
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.usp-card {
  padding: 40px 36px;
  border-right: 1px solid var(--color-hairline);
  border-bottom: 1px solid var(--color-hairline);
  position: relative;
  transition: background 0.25s;
}
.usp-card:hover { background: var(--color-bg-warm); }

.usp-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--color-teal-soft);
  color: var(--color-teal-deep);
  margin-bottom: 22px;
}
.usp-icon svg { width: 22px; height: 22px; }

.usp-card h4 { color: var(--color-text); margin-bottom: 8px; }
.usp-card p { color: var(--color-text-muted); font-size: 15px; line-height: 1.55; }

.usps-trust-bar {
  margin-top: 64px;
  padding: 36px 0 8px;
  border-top: 1px solid var(--color-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.usps-trust-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.usps-trust-bar img {
  height: 64px;
  width: auto;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .usps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .usps-trust-bar { gap: 28px; }
  .usps-trust-bar img { height: 48px; }
}
@media (max-width: 600px) {
  .usps-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PROCESS — numbered steps connected by hairline w/ /// stamps
   ========================================================================== */
.process {
  padding: var(--section-gap) 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-hairline);
  border-bottom: 1px solid var(--color-hairline);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 52px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--color-hairline-strong) 0 6px, transparent 6px 12px);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  padding: 24px 28px 28px;
}
a.process-step {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}
a.process-step:hover {
  background: rgba(31, 111, 134, 0.06);
  transform: translateY(-2px);
}
a.process-step:hover h4 { color: var(--color-teal-deep); }

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-hairline-strong);
  font-size: 17px;
  font-weight: 700;
  font-feature-settings: "tnum";
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.process-step h4 { margin-bottom: 8px; color: var(--color-text); }
.process-step p { color: var(--color-text-muted); font-size: 15px; line-height: 1.55; }

@media (max-width: 800px) {
  .process-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .process-grid::before { display: none; }
  .process-step { padding: 20px 22px 24px; }
}

/* ==========================================================================
   JOBS preview
   ========================================================================== */
.jobs-preview {
  padding: var(--section-gap) 0;
  background: var(--color-bg-warm);
}

.jobs-preview-cta {
  padding: 72px 0 80px;
}

.jobs-preview-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 40px;
  background: #fff;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.jobs-preview-copy h2 {
  margin: 8px 0 10px;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.03em;
}

.jobs-preview-copy p {
  margin: 0;
  max-width: 52ch;
  color: var(--color-text-body);
  line-height: 1.6;
}

.jobs-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .jobs-preview-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
}

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

.job-card {
  background: #fff;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.job-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-hairline-strong);
}

.job-image-placeholder {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, transparent 49.5%, var(--color-hairline) 49.5%, var(--color-hairline) 50.5%, transparent 50.5%) 0 0 / 18px 18px,
    var(--color-bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  position: relative;
}
.job-image-placeholder::after {
  content: "job photo";
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
}
.job-image-placeholder:has(img)::after { display: none; }
.job-image-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  display: block;
}
.job-visual svg { width: 40px; height: 40px; opacity: 0.4; }

.job-card-content { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.job-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-accent-light);
  color: var(--color-accent-hover);
  margin-bottom: 4px;
}

.job-card h4 { color: var(--color-text); margin-bottom: 4px; }
.job-desc { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; flex: 1; }

.job-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-body);
  margin-top: 8px;
}
.job-location svg { width: 14px; height: 14px; color: var(--color-logo-teal); }

.job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--color-hairline); }
.job-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-bg-warm);
  color: var(--color-text-body);
  border: 1px solid var(--color-hairline);
}

.jobs-cta { text-align: center; margin-top: 48px; }

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

/* ==========================================================================
   TESTIMONIALS — with monospace attribution
   ========================================================================== */
.testimonials {
  padding: var(--section-gap) 0;
  background: var(--color-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--color-bg-warm);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}
.testimonial-card:nth-child(2n) { background: #fff; }

.testimonial-quote {
  font-family: 'Plus Jakarta Sans', serif;
  font-size: 64px;
  line-height: 1;
  color: var(--color-logo-teal);
  margin-bottom: -8px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.testimonial-text {
  font-size: 19px;
  line-height: 1.55;
  color: var(--color-text);
  margin-bottom: 28px;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--color-hairline);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-teal-anchor);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.testimonial-card:nth-child(2n) .testimonial-avatar { background: var(--color-logo-teal); }

.testimonial-name { font-weight: 600; color: var(--color-text); font-size: 15px; }
.testimonial-role { font-size: 12px; color: var(--color-text-muted); letter-spacing: 0.02em; }

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

/* ==========================================================================
   BRANCHEN — 4-up tile grid
   ========================================================================== */
.branchen {
  padding: var(--section-gap) 0;
  background: var(--color-bg-warm);
}

.branchen-home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.branchen .branche-card {
  background: #fff;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  text-align: left;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s var(--ease);
}
.branchen .branche-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-logo-teal);
  box-shadow: 0 18px 36px -24px rgba(22, 56, 74, 0.32);
}

.branche-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-teal-soft);
}
.branche-visual::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(to top, rgba(22, 56, 74, 0.24), transparent);
  pointer-events: none;
}
.branche-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.branchen .branche-card:hover .branche-visual img { transform: scale(1.035); }
.branche-index {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  font-family: var(--font-marginalia);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 16px rgba(22,56,74,0.12);
  backdrop-filter: blur(8px);
}
.branche-copy { padding: 22px 22px 24px; }

.branchen .branche-card h4 { margin-bottom: 4px; color: var(--color-text); }
.branchen .branche-card p { font-size: 14px; color: var(--color-text-muted); }

@media (max-width: 900px) { .branchen-home-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .branchen-home-grid { grid-template-columns: 1fr; gap: 14px; } }

/* ==========================================================================
   PM SECTION — split card
   ========================================================================== */
.pm-section { padding: var(--section-gap) 0; background: var(--color-bg); }

.pm-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--color-bg-warm);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  padding: 64px;
  position: relative;
  overflow: hidden;
}


.pm-content { position: relative; z-index: 1; }
.pm-content h3 { margin: 16px 0 16px; color: var(--color-text); }
.pm-content p { color: var(--color-text-body); margin-bottom: 28px; font-size: 17px; }

.pm-leistungen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.pm-leistung {
  background: #fff;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}
.pm-leistung-icon {
  width: 32px;
  height: 32px;
  background: var(--color-teal-soft);
  color: var(--color-teal-deep);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pm-leistung-icon svg { width: 16px; height: 16px; }

@media (max-width: 980px) {
  .pm-card { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
}

/* ==========================================================================
   UNTERNEHMEN-TEASER — dark
   ========================================================================== */
.unternehmen-teaser {
  padding: var(--section-gap) 0;
}

.unternehmen-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  background: var(--grad-highlight);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-xl);
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 30px 60px -24px rgba(22,56,74,0.35),
    inset 0 1px 0 rgba(255,255,255,0.10);
}


.unternehmen-content { position: relative; z-index: 1; }
.unternehmen-content .section-label { color: rgba(255,255,255,0.85); }
.unternehmen-content h2 { color: #fff; margin-bottom: 24px; }
.unternehmen-content p { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.78); margin-bottom: 32px; }

.unternehmen-features {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
}
.unternehmen-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
}
.unternehmen-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.unternehmen-feature-icon svg { width: 20px; height: 20px; }
.unternehmen-feature h4 { color: #fff; font-size: 16px; margin-bottom: 4px; }
.unternehmen-feature p { color: rgba(255,255,255,0.72); font-size: 13px; line-height: 1.5; margin: 0; }

@media (max-width: 980px) {
  .unternehmen-card { grid-template-columns: 1fr; gap: 40px; padding: 56px 32px; }
}
@media (max-width: 640px) {
  .unternehmen-teaser {
    padding: 0;
    background: var(--grad-highlight);
  }
  .unternehmen-teaser > .container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
  .unternehmen-card {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding: 56px 24px 64px;
    box-shadow: none;
  }
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta {
  padding: 120px 0;
  background: var(--grad-highlight);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.cta-decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.08;
  pointer-events: none;
  color: #ffffff;
}
.cta-decoration svg path { fill: currentColor !important; }

.final-cta h2 { color: #fff; margin-bottom: 16px; max-width: 720px; margin-left: auto; margin-right: auto; }
.final-cta p { color: rgba(255,255,255,0.82); font-size: 19px; max-width: 560px; margin: 0 auto 36px; }

.final-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.32); background: transparent; }
.final-cta .btn-ghost:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.55); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--grad-anchor);
  color: rgba(255,255,255,0.78);
  padding: 80px 0 40px;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--color-hairline-on-navy);
}
.footer-grid > * { min-width: 0; }
.footer-brand p { font-size: 14px; line-height: 1.6; margin-top: 16px; max-width: 320px; }
.footer-brand .footer-socials { margin-top: 22px; margin-left: 0; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 0;
  margin-left: auto;
  flex-shrink: 0;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.footer-socials a:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.46);
  transform: translateY(-2px);
}
.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-hairline-on-navy);
}
.footer-addresses address {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  font-style: normal;
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  text-align: center;
}
.footer-addresses strong { color: #fff; }
.footer-addresses a { color: rgba(255,255,255,0.78); }
.footer-addresses a:hover { color: #fff; }

.footer-seals { padding: 32px 0; border-bottom: 1px solid var(--color-hairline-on-navy); }
.footer-seals-logos { display: flex; gap: 32px; align-items: center; justify-content: flex-start; flex-wrap: wrap; }
.footer-seals-logos img { height: 72px; width: auto; }
.footer-seals-logos img[alt*="Gütesiegel"] { height: 68px; }
.footer-seals-logos a, .footer-seals-logos span { display: inline-flex; align-items: center; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  padding-top: 32px;
}

/* Light logo variant in footer */
.footer .navbar-logo svg path:nth-child(1) { fill: #ffffff; }
.footer .navbar-logo svg path:nth-child(2) { fill: var(--color-logo-teal); opacity: 1; }
.footer .navbar-logo svg path:nth-child(3) { fill: #ffffff; opacity: 1; }
.footer .navbar-wordmark { color: #ffffff; }
.footer .navbar-wordmark .all { color: #ffffff; }
.footer .navbar-wordmark .persona { color: rgba(255,255,255,0.85); }
.footer-legal { display: flex; gap: 12px 24px; flex-wrap: wrap; }
.footer-legal a:hover { color: #fff; }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-addresses { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}
@media (max-width: 560px) {
  .footer-brand .footer-socials { margin-top: 18px; }
}

/* ==========================================================================
   Mobile sticky bar + Datenschutz-Hinweis
   ========================================================================== */
.mobile-bar { display: none; }

/* Persistent secondary conversion path for business customers. */
.business-float-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 9px 16px 9px 10px;
  color: #fff;
  background: var(--grad-anchor);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  box-shadow: 0 18px 38px -14px rgba(22,56,74,0.48);
  opacity: 1;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms ease, opacity 180ms ease;
}
.business-float-cta:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 22px 46px -14px rgba(22,56,74,0.58);
}
.business-float-cta.is-hidden-for-footer,
.business-float-cta.is-hidden-for-footer:hover {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}
.business-float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
}
.business-float-icon svg { width: 22px; height: 22px; }
.business-float-copy { display: grid; gap: 1px; line-height: 1.15; }
.business-float-copy small {
  font-family: var(--font-marginalia);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.68);
}
.business-float-copy strong { font-size: 14px; font-weight: 700; white-space: nowrap; }
.business-float-arrow {
  width: 18px;
  height: 18px;
  transition: transform 220ms var(--ease);
}
.business-float-cta:hover .business-float-arrow { transform: translateX(3px); }
@media (max-width: 720px) {
  .mobile-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    background: #fff;
    border-top: 1px solid var(--color-hairline);
    padding: 12px 16px;
    z-index: 50;
    opacity: 1;
    transition: opacity 180ms ease, transform 220ms var(--ease);
  }
  .mobile-bar-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }
  .mobile-bar .btn {
    min-width: 0;
    justify-content: center;
    padding: 12px 10px;
    font-size: 14px;
  }
  .mobile-bar .btn-personal { background: var(--color-teal-anchor); color: #fff; }
  .mobile-bar .btn-jobs { display: none; }
  .mobile-bar.is-hidden-for-footer {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
  }
  .business-float-cta {
    display: none;
  }
}

/* ==========================================================================
   PAGE LAYOUTS — three distinct hero patterns
   --------------------------------------------------------------------------
   .hero-utility   — slim band for listing/browse pages (jobs, standorte)
                     title + lead inline, designed to sit above sticky filter/map
   .hero-detail    — focused header for content pages (jobs-detail, gmbh, b2b)
                     breadcrumb + small label + title + meta sidebar
   .hero-editorial — large narrative hero for story pages (index, ueber-uns)
                     keeps the original .page-hero treatment
   ========================================================================== */

/* UTILITY — slim, function-forward */
.hero-utility {
  background: var(--color-bg-warm);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--color-hairline);
  position: relative;
}
.hero-utility .breadcrumb { margin-bottom: 18px; }
.hero-utility-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
}
.hero-utility-title {
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-text);
  margin: 0 0 12px;
  text-wrap: balance;
}
.hero-utility-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--color-accent);
}
.hero-utility-lead {
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 60ch;
  margin: 0;
}
.hero-utility-lead strong { color: var(--color-text); font-weight: 600; }
.hero-utility-counter {
  display: inline-flex;
  align-items: last baseline;
  gap: 10px;
  padding-left: 28px;
  border-left: 1px solid var(--color-hairline-strong);
  white-space: nowrap;
}
.hero-utility-counter strong {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-feature-settings: "tnum";
  color: var(--color-text);
  line-height: 1;
}
.hero-utility-counter span {
  display: inline-block;
  text-align: left;
  font-family: var(--font-marginalia);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--color-text-muted);
}
@media (max-width: 720px) {
  .hero-utility-grid { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .hero-utility-counter { padding-left: 0; border-left: none; padding-top: 16px; border-top: 1px solid var(--color-hairline-strong); }
}

/* DETAIL — breadcrumb + label + title + meta */
.hero-detail {
  background: #fff;
  padding: 56px 0 0;
  border-bottom: 1px solid var(--color-hairline);
  position: relative;
}
.hero-detail .breadcrumb { margin-bottom: 28px; }
.hero-detail-label {
  font-family: var(--font-marginalia);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.hero-detail-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: end;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--color-hairline);
}
.hero-detail-title {
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--color-text);
  margin: 0 0 18px;
  text-wrap: balance;
}
.hero-detail-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-text-body);
  max-width: 56ch;
  margin: 0;
}
.hero-detail-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--color-bg-warm);
  border: 1px solid var(--color-hairline-strong);
  border-radius: 12px;
}
.hero-detail-meta dt {
  font-family: var(--font-marginalia);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin: 0 0 2px;
}
.hero-detail-meta dd {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}
@media (max-width: 900px) {
  .hero-detail-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* EDITORIAL — keep existing .page-hero treatment, alias only */
.hero-editorial { /* uses .page-hero structure as-is */ }

  position: relative;
  background: var(--color-bg-warm);
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--color-hairline);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: end;
}
.page-hero-title {
  font-size: clamp(48px, 6.5vw, 84px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--color-text);
  margin: 0 0 20px;
  text-wrap: balance;
}
.page-hero-subtitle {
  font-size: 19px;
  line-height: 1.55;
  color: var(--color-text-body);
  max-width: 56ch;
  margin: 0;
}
.page-hero-subtitle strong { color: var(--color-text); font-weight: 700; }

.page-hero-meta {
  border-top: 1px solid var(--color-hairline-strong);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.page-hero-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-marginalia);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.meta-label {
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.meta-value {
  color: var(--color-text);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.tnum { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }

@media (max-width: 800px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   JOB-FILTER bar (sticky)
   ========================================================================== */
.job-filter {
  position: sticky;
  top: 76px;
  z-index: 40;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-hairline);
  padding: 24px 0 20px;
  backdrop-filter: saturate(140%) blur(12px);
}
.filter-bar {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1fr 1.3fr auto;
  gap: 16px;
  align-items: end;
}
.filter-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.filter-field label {
  font-family: var(--font-marginalia);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}
.filter-input-wrap { position: relative; }
.filter-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--color-text-muted);
  pointer-events: none;
}
.filter-bar input,
.filter-bar select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--color-hairline-strong);
  border-radius: 10px;
  padding: 0 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.filter-bar select {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20' fill='%231a1a2e'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E") no-repeat right 14px center;
  padding-right: 38px;
}
.filter-input-wrap input { padding-left: 44px; }
.filter-search input { padding-left: 44px; }
.filter-bar input:focus,
.filter-bar select:focus {
  outline: none;
  border-color: var(--color-logo-teal);
  box-shadow: 0 0 0 3px rgba(58,155,184,0.15);
}
.filter-submit { height: 48px; }

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.filter-tags-label {
  font-family: var(--font-marginalia);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-right: 4px;
}
.chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--color-hairline-strong);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-body);
  cursor: pointer;
  transition: all 0.18s var(--ease);
  font-family: inherit;
}
.chip:hover {
  border-color: var(--color-teal-anchor);
  color: var(--color-text);
  background: var(--color-bg-warm);
}
.chip.is-active {
  background: var(--color-teal-anchor);
  border-color: var(--color-teal-anchor);
  color: #fff;
}

@media (max-width: 1000px) {
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .filter-search { grid-column: 1 / -1; }
  .filter-submit { grid-column: 1 / -1; }
}

/* ==========================================================================
   JOB LIST
   ========================================================================== */
.job-list-section { padding: 64px 0 96px; background: var(--color-bg); }

.job-list-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-hairline);
}
.job-list-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  letter-spacing: -0.01em;
}
.job-list-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
.sort-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-marginalia);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}
.sort-select select {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-text);
  border: none;
  background: transparent;
  padding: 4px 22px 4px 4px;
  cursor: pointer;
  appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20' fill='%231a1a2e'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E") no-repeat right center;
}
.view-toggle {
  display: inline-flex;
  border: 1px solid var(--color-hairline-strong);
  border-radius: 8px;
  overflow: hidden;
}
.view-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: #fff;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.view-toggle-btn svg { width: 14px; height: 14px; }
.view-toggle-btn + .view-toggle-btn { border-left: 1px solid var(--color-hairline-strong); }
.view-toggle-btn.is-active { background: var(--color-teal-anchor); color: #fff; }

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

.job-row {
  display: grid;
  grid-template-columns: 1fr 240px auto;
  gap: 28px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--color-hairline);
  border-bottom: none;
  background: #fff;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.job-row:first-child { border-radius: 12px 12px 0 0; }
.job-row:last-child { border-radius: 0 0 12px 12px; border-bottom: 1px solid var(--color-hairline); }
.job-row:hover {
  background: var(--color-bg-warm);
  border-color: var(--color-hairline-strong);
}
.job-row:hover + .job-row { border-top-color: var(--color-hairline-strong); }

.job-row-main { min-width: 0; }
.job-row-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.job-row-title a { color: inherit; }
.job-row-title a:hover { color: var(--color-teal-deep); }
.job-row-title .mwd {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.85em;
}
.job-row-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  background: var(--color-bg-warm);
  color: var(--color-text-body);
  border: 1px solid var(--color-hairline);
}
.tag-cat { background: var(--color-teal-soft); color: var(--color-teal-deep); border-color: rgba(58,155,184,0.2); }
.tag-soft { background: transparent; }
.tag-tz { background: #fef0e7; color: var(--color-accent); border-color: rgba(232,104,48,0.2); }
.tag-featured {
  background: var(--color-teal-anchor);
  color: #fff;
  border-color: var(--color-teal-anchor);
}

.job-row-loc {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-text-body);
  font-size: 14px;
  line-height: 1.4;
}
.job-row-loc .loc-icon {
  width: 16px;
  height: 16px;
  color: var(--color-logo-teal);
  flex-shrink: 0;
  margin-top: 2px;
}
.job-row-loc strong {
  display: block;
  color: var(--color-text);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.loc-firma {
  display: block;
  font-family: var(--font-marginalia);
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.job-row-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--color-hairline-strong);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  background: #fff;
  transition: all 0.18s var(--ease);
}
.job-row-cta svg { width: 14px; height: 14px; transition: transform 0.18s var(--ease); }
.job-row-cta:hover {
  background: var(--color-teal-anchor);
  color: #fff;
  border-color: var(--color-teal-anchor);
}
.job-row-cta:hover svg { transform: translateX(3px); }

.job-row-featured {
  background: linear-gradient(180deg, #fff 0%, var(--color-teal-mist) 100%);
  border-color: rgba(58,155,184,0.35);
}
.job-row-featured .job-row-title { color: var(--color-text); }

@media (max-width: 900px) {
  .job-row {
    grid-template-columns: 1fr auto;
    gap: 14px 20px;
  }
  .job-row-main { grid-column: 1 / -1; }
  .job-row-loc { grid-column: 1; }
  .job-row-cta { grid-column: 2; grid-row: 3; }
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
}
.page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--color-hairline);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-body);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.page-btn svg { width: 16px; height: 16px; }
.page-btn:hover:not(:disabled) {
  border-color: var(--color-teal-anchor);
  color: var(--color-text);
}
.page-btn.is-active {
  background: var(--color-teal-anchor);
  color: #fff;
  border-color: var(--color-teal-anchor);
}
.page-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.page-ellipsis { color: var(--color-text-muted); padding: 0 4px; }

/* ==========================================================================
   INITIATIV-CTA — calm warm card
   ========================================================================== */
.initiativ-cta { padding: 64px 0 120px; background: var(--color-bg); }

.initiativ-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  background: var(--color-bg-warm);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.initiativ-title {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin: 8px 0 20px;
}
.initiativ-body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-body);
  max-width: 56ch;
  margin: 0 0 32px;
}
.initiativ-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.initiativ-side {
  border-left: 1px solid var(--color-hairline-strong);
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ascii-stamp {
  font-family: var(--font-marginalia);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--color-teal-deep);
}
.initiativ-quote {
  font-size: 17px;
  line-height: 1.55;
  color: var(--color-text);
  font-weight: 500;
  margin: 0;
  text-wrap: pretty;
}
.initiativ-attrib {
  font-family: var(--font-marginalia);
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-top: auto;
}

@media (max-width: 800px) {
  .initiativ-card { grid-template-columns: 1fr; padding: 36px; gap: 32px; }
  .initiativ-side { border-left: none; padding-left: 0; padding-top: 32px; border-top: 1px solid var(--color-hairline-strong); }
}

/* ==========================================================================
   JOB-DETAIL PAGE
   ========================================================================== */
.job-detail-header {
  background: var(--color-bg-warm);
  padding: 32px 0 56px;
  border-bottom: 1px solid var(--color-hairline);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-marginalia);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  font-weight: 500;
}
.breadcrumb a { color: var(--color-text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--color-text); }
.breadcrumb svg { color: var(--color-hairline-strong); }
.breadcrumb span { color: var(--color-text); font-weight: 600; }

.job-detail-header-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: start;
}
.job-detail-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-marginalia);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-weight: 500;
}
.job-detail-id { color: var(--color-teal-deep); font-weight: 600; }
.job-detail-dot { opacity: 0.5; }
.job-detail-title {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--color-text);
  margin: 0 0 24px;
  text-wrap: balance;
}
.job-detail-title .mwd {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.6em;
  letter-spacing: -0.01em;
  display: inline-block;
  margin-left: 4px;
}
.job-detail-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.job-detail-key-facts {
  border-left: 1px solid var(--color-hairline-strong);
  padding-left: 32px;
}
.job-detail-key-facts dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.job-detail-key-facts dt {
  font-family: var(--font-marginalia);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}
.job-detail-key-facts dd {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.005em;
}

@media (max-width: 900px) {
  .job-detail-header-grid { grid-template-columns: 1fr; gap: 32px; }
  .job-detail-key-facts { border-left: none; padding-left: 0; border-top: 1px solid var(--color-hairline-strong); padding-top: 24px; }
  .job-detail-key-facts dl { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Detail body */
.job-detail-body { padding: 80px 0 96px; background: var(--color-bg); }
.job-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}
.job-detail-content { max-width: 720px; }
.job-detail-lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--color-text);
  margin: 0 0 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-hairline);
  text-wrap: pretty;
}
.job-detail-lead strong { font-weight: 700; }

.detail-block { margin-bottom: 56px; }
.detail-block-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}
.detail-block-num {
  font-family: var(--font-marginalia);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
}
.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.detail-list li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-top: 1px solid var(--color-hairline);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text-body);
}
.detail-list li:last-child { border-bottom: 1px solid var(--color-hairline); }
.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 16px;
  height: 1px;
  background: var(--color-logo-teal);
}
.detail-list-checks li::before {
  content: "✓";
  width: auto;
  height: auto;
  background: none;
  top: 14px;
  color: var(--color-logo-teal);
  font-weight: 700;
  font-size: 16px;
}
.detail-list strong { color: var(--color-text); font-weight: 700; }

.detail-block-highlight {
  background: var(--color-teal-mist);
  border: 1px solid rgba(58,155,184,0.2);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
}
.detail-block-highlight .detail-block-title { margin-top: 0; }
.detail-block-highlight .detail-list li { border-top-color: rgba(58,155,184,0.15); }
.detail-block-highlight .detail-list li:last-child { border-bottom-color: rgba(58,155,184,0.15); }

/* Niederlassung block */
.detail-block-niederlassung {
  background: var(--color-bg-warm);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
}
.detail-niederlassung-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
  margin: 12px 0 24px;
  letter-spacing: -0.02em;
}
.detail-niederlassung-grid {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 32px;
  align-items: start;
}
.detail-niederlassung-addr {
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text);
  font-weight: 500;
  margin: 0 0 14px;
}
.detail-niederlassung-contact {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 16px;
}
.detail-niederlassung-contact a { color: var(--color-teal-deep); font-weight: 500; }
.detail-niederlassung-contact a:hover { color: var(--color-text); }
.detail-niederlassung-hours {
  font-size: 13px;
  color: var(--color-text-body);
  margin: 0;
  line-height: 1.5;
}
.meta-label-line {
  display: block;
  font-family: var(--font-marginalia);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
  font-weight: 500;
}
.detail-niederlassung-map {
  background: var(--grad-anchor);
  color: #fff;
  border-radius: 12px;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.detail-niederlassung-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 11px, rgba(255,255,255,0.05) 11px 12px);
}
.map-pin svg { width: 32px; height: 32px; position: relative; z-index: 1; }
.map-label {
  font-family: var(--font-marginalia);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

@media (max-width: 800px) {
  .detail-niederlassung-grid { grid-template-columns: 1fr; }
}

/* Share row */
.detail-share { padding-top: 24px; border-top: 1px solid var(--color-hairline); }
.detail-share-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--color-hairline-strong);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-body);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s var(--ease);
}
.share-btn svg { width: 16px; height: 16px; }
.share-btn:hover {
  background: var(--color-teal-anchor);
  color: #fff;
  border-color: var(--color-teal-anchor);
}

/* Apply card (sticky sidebar) */
.job-detail-apply { position: sticky; top: 96px; }
.apply-card {
  background: #fff;
  border: 1px solid var(--color-hairline-strong);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.apply-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--color-accent);
}
.apply-card-header { margin-bottom: 24px; }
.apply-card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin: 8px 0 6px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.apply-card-sub {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}
.apply-card-cta { width: 100%; justify-content: center; }

.apply-card-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  font-family: var(--font-marginalia);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  font-weight: 500;
}
.apply-card-divider::before,
.apply-card-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-hairline);
}

.apply-card-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-highlight);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.contact-info { display: flex; flex-direction: column; }
.contact-info strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.contact-role {
  font-family: var(--font-marginalia);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-top: 2px;
  font-weight: 500;
}

.apply-card-actions {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--color-hairline);
  border: 1px solid var(--color-hairline);
  border-radius: 10px;
  overflow: hidden;
}
.apply-action {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  color: var(--color-text);
  transition: background 0.18s;
}
.apply-action:hover { background: var(--color-bg-warm); }
.apply-action svg { width: 18px; height: 18px; color: var(--color-teal-deep); flex-shrink: 0; }
.apply-action div { display: flex; flex-direction: column; min-width: 0; }
.apply-action-label {
  font-family: var(--font-marginalia);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  font-weight: 500;
}
.apply-action strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.005em;
}

.apply-card-promise {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-hairline);
  font-size: 13px;
  color: var(--color-text-body);
}
.apply-card-promise svg { color: var(--color-teal-deep); flex-shrink: 0; }
.apply-card-promise strong { color: var(--color-text); font-weight: 700; }

@media (max-width: 1100px) {
  .job-detail-grid { grid-template-columns: 1fr; }
  .job-detail-apply { position: static; }
}

/* Apply flow — fast horizontal track */
.apply-flow {
  padding: var(--section-gap) 0;
  background: var(--color-bg-warm);
  position: relative;
  overflow: hidden;
}

.apply-flow-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.apply-flow-head .section-label {
  display: inline-block;
  margin-bottom: 18px;
}
.apply-flow-title {
  font-size: clamp(40px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--color-text);
  margin: 0 0 18px;
}
.apply-flow-eta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--color-hairline-strong);
  border-radius: 999px;
  font-size: 14px;
  color: var(--color-text-muted);
  font-feature-settings: "tnum";
}
.apply-flow-eta svg { color: var(--color-accent); flex-shrink: 0; }
.apply-flow-eta strong { color: var(--color-text); font-weight: 600; }

/* Track */
.flow-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}

/* Step card */
.flow-step {
  flex: 1 1 0;
  min-width: 0;
  max-width: 220px;
  background: #fff;
  border: 1px solid var(--color-hairline-strong);
  border-radius: 14px;
  padding: 28px 22px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.flow-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -18px rgba(13, 51, 64, 0.25);
}

.flow-step-time {
  font-family: var(--font-marginalia);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.flow-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-warm);
  border: 1px solid var(--color-hairline-strong);
  font-size: 15px;
  font-weight: 700;
  font-feature-settings: "tnum";
  margin-bottom: 16px;
}

.flow-step-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 6px;
}

.flow-step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin: 0;
}
.flow-step p strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Final step — accent finish */
.flow-step-final {
  background: var(--color-teal-anchor);
  border-color: var(--color-teal-anchor);
}
.flow-step-final .flow-step-time { color: rgba(255, 255, 255, 0.55); }
.flow-step-final .flow-step-num {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.flow-step-final .flow-step-title { color: #fff; }
.flow-step-final p { color: rgba(255, 255, 255, 0.72); }
.flow-step-final p strong { color: #fff; }

/* Arrow connectors */
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--color-hairline-strong);
  align-self: center;
  margin: 0 -4px;
}

/* Bottom assurance line */
.apply-flow-foot {
  margin-top: 48px;
  text-align: center;
  font-size: 14px;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center;
}
.apply-flow-foot-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-teal-anchor);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* Mobile — stack vertically */
@media (max-width: 960px) {
  .flow-track {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .flow-step {
    max-width: none;
  }
  .flow-arrow {
    transform: rotate(90deg);
    margin: 4px auto;
  }
}

/* Related jobs */
.related-jobs { padding: 80px 0 120px; background: var(--color-bg); }
.related-jobs-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-hairline);
}
.related-jobs-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  letter-spacing: -0.02em;
}
.related-jobs-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-teal-deep);
  transition: gap 0.2s;
}
.related-jobs-all:hover { gap: 10px; color: var(--color-text); }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.fade-in, .stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.is-visible, .stagger.is-visible > * { opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .fade-in, .stagger > * { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   STANDORTE — page hero extensions, map, list, HQ highlight, deploy bar
   ========================================================================== */

.page-hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--color-accent);
}
.page-hero-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.page-hero-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-body);
  margin: 0;
}
.page-hero-stats {
  list-style: none;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--color-hairline-strong);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.page-hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.page-hero-stats strong {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  font-feature-settings: "tnum";
  line-height: 1;
}
.page-hero-stats span {
  font-family: var(--font-marginalia);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

/* MAP + LIST EXPLORER */
.locations-explorer {
  padding: var(--section-gap) 0;
  background: var(--color-bg);
}
.locations-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* MAP */
.locations-map-wrap {
  position: sticky;
  top: 100px;
  background: var(--color-bg-warm);
  border: 1px solid var(--color-hairline-strong);
  border-radius: 16px;
  overflow: hidden;
}
.locations-map-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-hairline);
  background: #fff;
}
.locations-map-eyebrow {
  font-family: var(--font-marginalia);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-text);
}
.locations-map-hint {
  font-size: 12px;
  color: var(--color-text-muted);
}
.locations-map {
  padding: 12px;
}
.locations-map svg {
  display: block;
  width: 100%;
  height: auto;
}
/* osm.de tiles (German labels) are more colorful than the previous CARTO
   Positron style — desaturate towards the site's muted look. */
.locations-map--leaflet .leaflet-tile-pane {
  filter: grayscale(0.55) saturate(0.75) brightness(1.04) contrast(0.96);
}
.locations-map--leaflet {
  padding: 0;
  height: 560px;
  width: 100%;
  background: var(--color-bg-warm);
}
.locations-map--gated {
  position: relative;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(rgba(250,250,248,0.92), rgba(250,250,248,0.92)),
    repeating-linear-gradient(135deg, rgba(22,56,74,0.08) 0 1px, transparent 1px 18px);
}
.locations-map--gated.is-loaded {
  display: block;
  padding: 0;
  background: var(--color-bg-warm);
}
.map-consent {
  width: min(100%, 440px);
  padding: 28px;
  text-align: left;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--color-hairline-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.map-consent[hidden] { display: none; }
.map-consent-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  font-family: var(--font-marginalia);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.map-consent h2 {
  margin: 0 0 10px;
  color: var(--color-text);
  font-size: 24px;
  line-height: 1.08;
}
.map-consent p {
  margin: 0;
  color: var(--color-text-body);
  font-size: 14px;
  line-height: 1.6;
}
.map-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.map-consent-actions .btn {
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  font-size: 14px;
}
@media (max-width: 900px) {
  .locations-map--leaflet { height: 420px; }
}
@media (max-width: 520px) {
  .locations-map--gated { padding: 18px; }
  .map-consent {
    padding: 22px;
  }
  .map-consent h2 { font-size: 21px; }
  .map-consent-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Custom Leaflet pin (DivIcon) — brand-styled dot with halo */
.ap-pin-wrap { background: transparent; border: 0; }
.ap-pin {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--ring, rgba(31,111,134,0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 200ms var(--ease);
}
.ap-pin:hover { transform: scale(1.15); }
.ap-pin-dot {
  width: 60%;
  height: 60%;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(13,51,64,0.25);
}
.ap-pin--hq .ap-pin-dot { width: 65%; height: 65%; }

/* Leaflet popup — match brand */
.leaflet-popup-content-wrapper {
  border-radius: 10px;
  box-shadow: 0 8px 24px -8px rgba(13,51,64,0.20);
}
.leaflet-popup-content { margin: 14px 16px; font-family: var(--font-family); }
.leaflet-popup-tip { box-shadow: 0 4px 8px -4px rgba(13,51,64,0.15); }

.ap-popup { display: flex; flex-direction: column; gap: 4px; min-width: 180px; }
.ap-popup-flag {
  align-self: flex-start;
  background: var(--color-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 2px 6px;
  border-radius: 3px;
  margin-bottom: 4px;
}
.ap-popup-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.ap-popup-addr {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.45;
}
.ap-popup-link {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-teal-anchor);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  align-self: flex-start;
  padding-bottom: 1px;
}
.ap-popup-link:hover { color: var(--color-logo-teal); }

/* Leaflet attribution + zoom controls — quieter look */
.leaflet-control-attribution {
  font-size: 10px !important;
  background: rgba(255,255,255,0.85) !important;
  padding: 2px 6px !important;
}
.leaflet-control-zoom a {
  background: #fff !important;
  color: var(--color-text) !important;
  border: 1px solid var(--color-hairline) !important;
}
.leaflet-control-zoom a:hover { background: var(--color-bg-warm) !important; }
.locations-map-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-top: 1px solid var(--color-hairline);
  background: #fff;
  font-size: 12px;
}
.legend { display: flex; gap: 18px; }
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
}
.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-teal-anchor);
}
.legend-dot-hq {
  background: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(214, 105, 50, 0.18);
}
.locations-map-credit {
  font-family: var(--font-marginalia);
  color: var(--color-text-muted);
  font-size: 11px;
}

/* PINS */
.map-pin {
  cursor: pointer;
}
.map-pin .map-pin-halo {
  fill: rgba(13, 51, 64, 0.08);
  transition: fill 200ms ease, r 200ms ease;
}
.map-pin .map-pin-dot {
  fill: var(--color-text);
  transition: fill 200ms ease, r 200ms ease;
}
.map-pin .map-pin-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  fill: var(--color-text);
  pointer-events: none;
}
.map-pin:hover .map-pin-halo,
.map-pin.is-active .map-pin-halo {
  fill: rgba(214, 105, 50, 0.2);
}
.map-pin:hover .map-pin-dot,
.map-pin.is-active .map-pin-dot {
  fill: var(--color-accent);
}
.map-pin-hq .map-pin-dot {
  fill: var(--color-accent);
}
.map-pin-hq .map-pin-halo {
  fill: rgba(214, 105, 50, 0.16);
}
.map-pin-hq .map-pin-label {
  font-weight: 700;
}

/* LIST */
.locations-list-wrap {}
.locations-list-head { margin-bottom: 28px; }
.locations-list-head .section-label { display: inline-block; margin-bottom: 12px; }
.locations-list-title {
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--color-text);
  margin: 0;
}
.locations-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-hairline-strong);
}

.loc-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 20px;
  border-bottom: 1px solid var(--color-hairline);
  cursor: pointer;
  transition: background 160ms ease, box-shadow 160ms ease;
}
.loc-item:hover {
  background: var(--color-bg-warm);
}
.loc-item.is-active {
  background: var(--color-bg-warm);
  box-shadow: inset 3px 0 0 var(--color-logo-teal);
  border-bottom-color: var(--color-text);
}

/* Legacy flag class (left from previous design) — keep hidden, no layout impact */
.loc-item-flag, .loc-item-flag-mini { display: none; }

.loc-item-main { min-width: 0; }

.loc-item-city {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--color-text);
  margin: 0 0 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
}
.loc-item-region {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 14px;
}
.loc-item-tag {
  display: inline-block;
  font-family: var(--font-marginalia, "Plus Jakarta Sans", sans-serif);
  font-size: 10px;
  font-weight: 700;
  background: rgba(0, 62, 96, 0.07);
  color: var(--color-teal-anchor);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  align-self: center;
  white-space: nowrap;
}
.loc-item-tag--neutral {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-text-muted);
}
.loc-item-addr {
  font-size: 14px;
  color: var(--color-text-body);
  margin: 0 0 8px;
}
.loc-item-meta {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}
.loc-item-meta + .loc-item-meta { margin-top: 2px; }
.loc-item-meta a {
  color: var(--color-text-body);
  white-space: nowrap;
}
.loc-item-meta a:hover { color: var(--color-accent); }
.loc-item-dot {
  color: var(--color-hairline-strong);
  margin: 0 6px;
}
.loc-item-hours { color: var(--color-text-muted); }
.loc-item-line-label {
  display: inline-block;
  min-width: 110px;
  font-family: var(--font-marginalia, "Plus Jakarta Sans", sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-right: 6px;
}
@media (max-width: 540px) {
  .loc-item-line-label { display: block; min-width: 0; margin-bottom: 1px; }
}

.loc-item-jobs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--color-hairline-strong);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-body);
  white-space: nowrap;
  transition: border-color 160ms ease, color 160ms ease;
}
.loc-item-jobs strong {
  color: var(--color-text);
  font-weight: 700;
  font-feature-settings: "tnum";
}
.loc-item-jobs:hover {
  border-color: var(--color-teal-anchor);
  color: var(--color-text);
}
.loc-item-jobs:hover strong { color: var(--color-accent); }

@media (max-width: 1100px) {
  .locations-grid { grid-template-columns: 1fr; gap: 40px; }
  .locations-map-wrap { position: static; }
}
@media (max-width: 720px) {
  .loc-item { grid-template-columns: 1fr; gap: 12px; }
  .loc-item-jobs { justify-self: start; }
}

/* HQ HIGHLIGHT */
.hq-highlight {
  padding: var(--section-gap) 0;
  background: var(--color-bg-warm);
  border-top: 1px solid var(--color-hairline);
  border-bottom: 1px solid var(--color-hairline);
}
.hq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hq-image {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--color-teal-anchor);
  border-radius: 16px;
  overflow: hidden;
}
.hq-image-placeholder {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-30deg, rgba(255,255,255,0.04) 0 6px, transparent 6px 18px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hq-image-label {
  font-family: var(--font-marginalia);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}
.hq-image-photo {
  position: absolute;
  inset: 0;
  display: block;
}
.hq-image-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.hq-image--photo-card {
  aspect-ratio: 16 / 10;
  background: var(--color-teal-anchor);
}
.hq-image--photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 36, 48, 0.06), rgba(7, 36, 48, 0.28));
  pointer-events: none;
}
.hq-corner-stamp {
  position: absolute;
  z-index: 2;
  font-family: var(--font-marginalia);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
}
.hq-corner-stamp.top-left { top: 18px; left: 18px; background: var(--color-accent); border-color: transparent; color: #fff; }
.hq-corner-stamp.bottom-right { bottom: 18px; right: 18px; }

.hq-text {}
.hq-text .section-label { display: inline-block; margin-bottom: 18px; }
.hq-title {
  font-size: clamp(40px, 4.4vw, 60px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--color-text);
  margin: 0 0 22px;
}
.hq-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--color-accent);
}
.hq-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-body);
  margin: 0 0 32px;
}
.hq-facts {
  margin: 0 0 32px;
  padding: 24px 0;
  border-top: 1px solid var(--color-hairline-strong);
  border-bottom: 1px solid var(--color-hairline-strong);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
}
.hq-facts > div {}
.hq-facts dt {
  font-family: var(--font-marginalia);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin: 0 0 4px;
}
.hq-facts dd {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}
.hq-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hq-grid { grid-template-columns: 1fr; gap: 40px; }
  .hq-image { aspect-ratio: 4 / 3; }
}

/* HQ-Image — Brand-Typo-Variant (kein Foto, drift-frei bis HV-Foto vom Kunden kommt) */
.hq-image--typo {
  background: var(--grad-anchor);
  background-image:
    repeating-linear-gradient(-30deg, rgba(255,255,255,0.05) 0 6px, transparent 6px 22px),
    var(--grad-anchor);
}
.hq-image-typo {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(28px, 5%, 56px);
  color: #fff;
  gap: 14px;
}
.hq-image-typo-eyebrow {
  font-family: var(--font-marginalia, 'Inter', sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.hq-image-typo-word {
  font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
  word-break: break-word;
}
.hq-image-typo-meta {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 12px;
  width: 100%;
  max-width: 280px;
}

/* TOCHTER-VISUAL — Hero-Banner unterhalb hero-detail auf Sub-Brand-Pages */
.tochter-visual {
  padding: 0 0 8px;
  background: var(--color-bg);
}
.tochter-visual-frame {
  position: relative;
  aspect-ratio: 21 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-teal-anchor);
  box-shadow: 0 1px 0 var(--color-hairline);
}
.tochter-visual-frame picture,
.tochter-visual-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tochter-visual-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 56, 74, 0.42) 0%, rgba(22, 56, 74, 0.10) 45%, transparent 70%);
  pointer-events: none;
}
.tochter-visual-stamp {
  position: absolute;
  bottom: 18px;
  left: 24px;
  z-index: 2;
  font-family: var(--font-marginalia, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.92);
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(4px);
}
@media (max-width: 720px) {
  .tochter-visual-frame { aspect-ratio: 4 / 3; border-radius: 12px; }
  .tochter-visual-stamp { bottom: 12px; left: 14px; font-size: 10px; padding: 5px 8px; }
}

/* DEPLOY BAR */
.deploy-bar {
  padding: var(--section-gap) 0;
  background: var(--color-teal-anchor);
  color: #fff;
}
.deploy-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.deploy-text .section-label {
  color: rgba(255, 255, 255, 0.5);
  display: inline-block;
  margin-bottom: 16px;
}
.deploy-title {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 18px;
}
.deploy-text p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 28px;
  max-width: 560px;
}
.deploy-text p strong { color: #fff; font-weight: 600; }
.deploy-coverage {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 28px 28px 24px;
}
.deploy-coverage--map {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tirol-map {
  margin: 0;
  width: 100%;
  max-width: 420px;
}
.tirol-map img,
.tirol-map svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 220px;
}

/* Single Standort + Weiche (keine Standortliste) */
.standort-single {
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  padding: 24px 24px 20px;
  background: #fff;
  margin-bottom: 20px;
}
.standort-single .loc-item-city {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.standort-single .loc-item-addr,
.standort-single .loc-item-meta {
  margin: 0 0 8px;
}
.standort-single .loc-item-jobs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-weight: 650;
  color: var(--color-teal-deep);
  text-decoration: none;
}
.standort-single .loc-item-jobs:hover { color: var(--color-accent); }
.standort-weiche {
  border-top: 1px solid var(--color-hairline);
  padding-top: 18px;
}
.standort-weiche-label {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 650;
}
.standort-weiche-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.coverage-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.coverage-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}
.coverage-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

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

/* ==========================================================================
   KONTAKT — form + sidebar
   ========================================================================== */
.kontakt-section {
  padding: 80px 0 var(--section-gap);
  background: var(--color-bg);
}
.kontakt-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}

.kontakt-block-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-hairline);
}
.kontakt-block-num {
  font-family: var(--font-marginalia);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  padding-top: 6px;
}
.kontakt-block-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 4px;
  line-height: 1.15;
}
.kontakt-block-intro {
  font-size: 15px;
  color: var(--color-text-muted);
  margin: 0;
}

/* Form */
.kontakt-form { display: flex; flex-direction: column; gap: 22px; }
.kontakt-honeypot { display: none; }
.kontakt-row { display: grid; gap: 22px; }
.kontakt-row-2 { grid-template-columns: 1fr 1fr; }

.kontakt-field { display: flex; flex-direction: column; gap: 8px; }
.kontakt-field label {
  font-family: var(--font-marginalia);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  font-weight: 600;
}
.req { color: var(--color-accent); }

.kontakt-field input,
.kontakt-field select,
.kontakt-field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-family);
  font-size: 15px;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-hairline-strong);
  border-radius: 10px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  appearance: none;
}
.kontakt-field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.55;
}
.kontakt-field select {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20' fill='%230D3340'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
.kontakt-field input:focus,
.kontakt-field select:focus,
.kontakt-field textarea:focus {
  outline: none;
  border-color: var(--color-teal-anchor);
  box-shadow: 0 0 0 3px rgba(13, 51, 64, 0.08);
}
.kontakt-field input::placeholder,
.kontakt-field textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}

/* Checkbox */
.kontakt-checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-body);
  cursor: pointer;
  padding: 16px 18px;
  background: var(--color-bg-warm);
  border: 1px solid var(--color-hairline);
  border-radius: 10px;
}
.kontakt-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-text);
  flex-shrink: 0;
  cursor: pointer;
}
.kontakt-checkbox a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-hairline-strong);
  text-underline-offset: 3px;
}
.kontakt-checkbox a:hover {
  text-decoration-color: var(--color-accent);
  color: var(--color-accent);
}

.kontakt-submit {
  align-self: flex-start;
  margin-top: 4px;
}
.kontakt-form-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 8px 0 0;
  line-height: 1.5;
}
.kontakt-form-note-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-bg-warm);
  border: 1px solid var(--color-hairline-strong);
  font-family: 'Times New Roman', serif;
  font-style: italic;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text);
  flex-shrink: 0;
}

/* Sidebar */
.kontakt-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 100px;
}
.kontakt-card {
  padding: 32px;
  border-radius: 14px;
}
.kontakt-card-direct {
  background: var(--color-bg-warm);
  border: 1px solid var(--color-hairline-strong);
}
.kontakt-card-direct .kontakt-block-head {
  margin-bottom: 22px;
  padding-bottom: 16px;
}
.kontakt-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.kontakt-channels li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-hairline);
}
.kontakt-channels li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.kontakt-channel-label {
  font-family: var(--font-marginalia);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  font-weight: 600;
}
.kontakt-channel-value {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--color-text);
}
a.kontakt-channel-value:hover { color: var(--color-accent); }
.kontakt-channel-meta {
  font-size: 13px;
  color: var(--color-text-muted);
}

.kontakt-card-locations {
  background: var(--grad-anchor);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.kontakt-card-eyebrow {
  display: inline-block;
  font-family: var(--font-marginalia);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
}
.kontakt-card-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.15;
}
.kontakt-card-locations p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 20px;
}
.kontakt-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.kontakt-card-link:hover { color: #fff; }

@media (max-width: 1000px) {
  .kontakt-grid { grid-template-columns: 1fr; gap: 40px; }
  .kontakt-side { position: static; }
}
@media (max-width: 600px) {
  .kontakt-row-2 { grid-template-columns: 1fr; }
  .kontakt-card { padding: 24px; }
}

/* Field hint (used under file inputs etc.) */
.kontakt-field-hint {
  display: block;
  margin-top: 6px;
  font-family: var(--font-marginalia);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

/* Multi-checkbox group (newsletter topics, filters, etc.) */
.kontakt-multi {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.kontakt-multi-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--color-hairline-strong);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}
.kontakt-multi-item:hover {
  border-color: var(--color-teal-anchor);
}
.kontakt-multi-item input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--color-accent);
  cursor: pointer;
}
.kontakt-multi-item:has(input:checked) {
  background: var(--color-teal-anchor);
  border-color: var(--color-teal-anchor);
  color: #fff;
}

/* ==========================================================================
   BEWERBUNG — progress stepper
   ========================================================================== */
.bewerbung-steps {
  background: #fff;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-hairline);
}
.bewerbung-stepper {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--color-hairline-strong);
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-bg-warm);
}
.bewerbung-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-right: 1px solid var(--color-hairline);
  position: relative;
}
.bewerbung-step:last-child { border-right: none; }
.bewerbung-step-num {
  font-family: var(--font-marginalia);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-hairline-strong);
}
.bewerbung-step-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.005em;
}
.bewerbung-step.is-active {
  background: var(--color-teal-anchor);
}
.bewerbung-step.is-active .bewerbung-step-num {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.bewerbung-step.is-active .bewerbung-step-label {
  color: #fff;
}
@media (max-width: 800px) {
  .bewerbung-stepper { grid-template-columns: 1fr; }
  .bewerbung-step {
    border-right: none;
    border-bottom: 1px solid var(--color-hairline);
  }
  .bewerbung-step:last-child { border-bottom: none; }
}

/* ==========================================================================
   ERROR PAGES (404, 500)
   ========================================================================== */
.error-page {
  background: #fff;
  padding: 96px 0 120px;
  position: relative;
}
.error-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.error-glyph {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid var(--color-hairline);
  padding-right: 64px;
  min-height: 360px;
}
.error-code {
  font-family: var(--font-family);
  font-size: clamp(120px, 18vw, 240px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--color-teal-anchor);
  font-feature-settings: "tnum";
}
.error-mark {
  font-family: var(--font-family);
  font-size: clamp(60px, 8vw, 120px);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-top: 16px;
  letter-spacing: -0.05em;
}
.error-body {
  padding-top: 16px;
}
.error-title {
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--color-text);
  margin: 24px 0 24px;
  text-wrap: balance;
}
.error-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-text-body);
  margin: 0 0 40px;
  max-width: 56ch;
}
.error-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-hairline);
}
.error-links li { border-bottom: 1px solid var(--color-hairline); }
.error-links a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  color: var(--color-text);
  transition: padding 0.18s var(--ease), color 0.18s var(--ease);
}
.error-links a:hover {
  padding-left: 8px;
  color: var(--color-accent);
}
.error-link-num {
  font-family: var(--font-marginalia);
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-warm);
  border: 1px solid var(--color-hairline-strong);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.error-links a:hover .error-link-num {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.error-links a div { display: flex; flex-direction: column; gap: 2px; }
.error-links a strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.error-links a span {
  font-size: 13px;
  color: var(--color-text-muted);
}
@media (max-width: 900px) {
  .error-grid { grid-template-columns: 1fr; gap: 32px; }
  .error-glyph {
    border-right: none;
    border-bottom: 1px solid var(--color-hairline);
    padding-right: 0;
    padding-bottom: 32px;
    min-height: auto;
    flex-direction: row;
    align-items: baseline;
    gap: 16px;
  }
}

/* ==========================================================================
   SITEMAP
   ========================================================================== */
.sitemap-section {
  padding: 80px 0 120px;
  background: #fff;
}
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 48px;
}
.sitemap-col {
  border-top: 1px solid var(--color-hairline-strong);
  padding-top: 24px;
}
.sitemap-num {
  font-family: var(--font-marginalia);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 10px;
}
.sitemap-h {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 20px;
}
.sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.sitemap-list li { border-bottom: 1px solid var(--color-hairline); }
.sitemap-list li:last-child { border-bottom: none; }
.sitemap-list a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-body);
  transition: padding 0.18s, color 0.18s;
}
.sitemap-list a:hover {
  padding-left: 8px;
  color: var(--color-accent);
}
@media (max-width: 900px) {
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
}
@media (max-width: 600px) {
  .sitemap-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   LEGAL PAGES (datenschutz, impressum, agb)
   ========================================================================== */
.legal-section {
  padding: 64px 0 120px;
  background: #fff;
}
.legal-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 100px;
  border-top: 1px solid var(--color-hairline-strong);
  padding-top: 18px;
}
.legal-toc a.is-active {
  color: var(--color-text);
  font-weight: 600;
  border-bottom-color: transparent;
}
.legal-toc a.is-active::before {
  color: var(--color-accent);
}
.legal-toc-label {
  font-family: var(--font-marginalia);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}
.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}
.legal-toc li {
  counter-increment: toc;
}
.legal-toc a {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  column-gap: 0.65rem;
  align-items: baseline;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.35;
  color: var(--color-text-body);
  border-bottom: 1px solid var(--color-hairline);
  transition: color 0.18s, padding 0.18s;
  white-space: nowrap;
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-marginalia);
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 600;
  line-height: 1.35;
}
.legal-toc a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}
.legal-content {
  max-width: 72ch;
}
.legal-content h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 56px 0 16px;
  scroll-margin-top: 100px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 32px 0 8px;
}
.legal-content p,
.legal-content li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-body);
}
.legal-content p { margin: 0 0 16px; }
.legal-content ul,
.legal-content ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.legal-content li { margin-bottom: 6px; }
.legal-content a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-hairline-strong);
  text-underline-offset: 3px;
}
.legal-content a:hover {
  color: var(--color-accent);
  text-decoration-color: var(--color-accent);
}
.legal-content strong { color: var(--color-text); font-weight: 600; }
.legal-lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--color-text-body);
  margin: 0 0 36px;
  max-width: 62ch;
}
.legal-content hr {
  border: none;
  border-top: 1px solid var(--color-hairline);
  margin: 48px 0;
}
.legal-meta {
  font-family: var(--font-marginalia);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-hairline-strong);
  padding-top: 16px;
  margin-top: 64px;
}
.legal-action-status {
  display: inline-block;
  margin-left: 12px;
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
  .legal-action-status {
    display: block;
    margin: 10px 0 0;
  }
}

/* ==========================================================================
   DATENSCHUTZ-HINWEIS
   ========================================================================== */
.privacy-notice {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(16px, 4vw, 32px);
  padding-bottom: max(clamp(16px, 4vw, 32px), env(safe-area-inset-bottom, 0px));
  font-family: var(--font-family);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}
.privacy-notice[hidden] { display: none; }
.privacy-notice.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  background: rgba(250,250,248,0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.privacy-notice-panel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  width: min(100%, 780px);
  padding: clamp(28px, 4vw, 44px);
  background: rgba(255,255,255,0.98);
  border: 1px solid var(--color-hairline-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 90px -46px rgba(22,56,74,0.62), 0 12px 36px -24px rgba(26,26,46,0.28);
  transform: translateY(10px) scale(0.985);
  transition: transform 180ms var(--ease);
}
.privacy-notice .privacy-notice-panel:focus,
.privacy-notice .privacy-notice-panel:focus-visible { outline: 0; }
.privacy-notice.is-visible .privacy-notice-panel {
  transform: translateY(0) scale(1);
}
.privacy-notice-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-top: 4px;
  color: var(--color-teal-anchor);
  background: var(--color-teal-mist);
  border: 1px solid var(--color-teal-haze);
  border-radius: var(--radius-md);
}
.privacy-notice-mark svg { width: 28px; height: 28px; }
.privacy-notice-body {
  min-width: 0;
  padding-right: 22px;
}
.privacy-notice-eyebrow {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-marginalia);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
}
.privacy-notice-title {
  max-width: 620px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin: 0 0 14px;
}
.privacy-notice-text {
  max-width: 620px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-body);
  margin: 0;
}
.privacy-notice-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.privacy-notice-actions .btn {
  min-height: 46px;
  padding: 11px 18px;
  font-size: 15px;
}
.privacy-notice-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  color: var(--color-text-body);
  font-size: 15px;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--color-hairline-strong);
}
.privacy-notice-link:hover {
  color: var(--color-accent);
  text-decoration-color: currentColor;
}
@media (max-width: 720px) {
  .privacy-notice {
    padding: 16px 12px max(88px, calc(16px + env(safe-area-inset-bottom, 0px)));
  }
  .privacy-notice-panel {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 20px 22px;
    max-height: calc(100vh - 112px);
    overflow: auto;
  }
  .privacy-notice-mark {
    width: 44px;
    height: 44px;
    margin-top: 0;
  }
  .privacy-notice-mark svg { width: 23px; height: 23px; }
  .privacy-notice-body { padding-right: 0; }
  .privacy-notice-eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
  }
  .privacy-notice-title {
    font-size: 26px;
    margin-bottom: 12px;
  }
  .privacy-notice-text {
    font-size: 15px;
    line-height: 1.58;
  }
  .privacy-notice-actions {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 10px;
    margin-top: 22px;
  }
  .privacy-notice-actions .btn { justify-content: center; }
  .privacy-notice-link {
    justify-content: center;
  }
}

/* ==========================================================================
   FOR-UNTERNEHMEN — page-intro · leistungen · izs · final cta
   ========================================================================== */

/* PAGE-INTRO — two-column lead block */
.page-intro {
  padding: 96px 0 56px;
  background: var(--color-bg);
}
.page-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.page-intro-grid > * { min-width: 0; }
.page-intro-side .section-label { display: inline-block; margin-bottom: 18px; }
.page-intro-h {
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--color-text);
  margin: 0;
}
.page-intro-body p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-body);
  margin: 0 0 18px;
}
.page-intro-body p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .page-intro-grid { grid-template-columns: 1fr; gap: 28px; }
}

.location-panorama {
  margin: 0;
  width: 100%;
  line-height: 0;
}

.location-panorama picture,
.location-panorama img {
  display: block;
  width: 100%;
  height: auto;
}

.leistungen-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 220px);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-bottom: 56px;
}

.leistungen-header-copy {
  min-width: 0;
}

.leistungen-header-copy .section-label {
  display: inline-block;
  margin-bottom: 12px;
}

.leistungen-header-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--color-text);
}

.leistungen-header-copy .section-subtitle {
  margin: 0;
  max-width: 52ch;
}

.leistungen-header-siegel {
  display: block;
  justify-self: end;
  width: min(100%, 200px);
  flex-shrink: 0;
}

.leistungen-header-siegel img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .leistungen-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .leistungen-header-siegel {
    justify-self: start;
    width: 132px;
  }
}

/* LEISTUNGEN — numbered horizontal rows */
.leistungen-section {
  padding: 56px 0 var(--section-gap);
  background: var(--color-bg);
}
.leistungen-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-hairline-strong);
}
.leistung-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-hairline);
  transition: padding 200ms ease, background 200ms ease;
}
.leistung-item:hover {
  padding-left: 16px;
  padding-right: 16px;
  background: var(--color-bg-warm);
}
.leistung-num {
  font-family: var(--font-marginalia);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding-top: 6px;
}
.leistung-body { min-width: 0; }
.leistung-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 8px;
  line-height: 1.15;
}
.leistung-body p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-body);
  max-width: 64ch;
  margin: 0;
}
.leistung-body p strong { color: var(--color-text); font-weight: 600; }
.leistung-link {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-marginalia);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  padding: 10px 16px;
  border: 1px solid var(--color-hairline-strong);
  border-radius: 999px;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
  white-space: nowrap;
}
.leistung-link:hover {
  color: #fff;
  background: var(--color-teal-anchor);
  border-color: var(--color-teal-anchor);
}
@media (max-width: 760px) {
  .leistung-item { grid-template-columns: auto 1fr; gap: 16px 20px; }
  .leistung-link { grid-column: 1 / -1; justify-self: start; align-self: start; margin-top: 4px; }
}

/* LEISTUNGEN — overview cards (Warum Allpersona) */
.leistungen-overview {
  padding: var(--section-gap) 0;
  background: var(--color-bg-warm);
  border-block: 1px solid var(--color-hairline);
}
.leistungen-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.leistungen-overview-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
  padding: 24px 22px;
  background: var(--color-bg);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.leistungen-overview-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-hairline-strong);
  box-shadow: var(--shadow-md);
}
.leistungen-overview-num {
  font-family: var(--font-marginalia);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.leistungen-overview-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  line-height: 1.2;
}
.leistungen-overview-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
}
.leistungen-overview-foot {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
@media (max-width: 900px) {
  .leistungen-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .leistungen-overview-grid { grid-template-columns: 1fr; }
}

/* USPs section wrapper (when used outside homepage) */
.usps-grid-section {
  padding: 56px 0 var(--section-gap);
  background: var(--color-bg-warm);
  border-top: 1px solid var(--color-hairline);
}
.usps-grid-section .usps-grid {
  background: #fff;
  border: 1px solid var(--color-hairline-strong);
  border-radius: 14px;
  overflow: hidden;
}
.usps-grid--business {
  grid-template-columns: repeat(6, 1fr);
}
.usps-grid--business .usp-card { grid-column: span 2; }
@media (max-width: 900px) {
  .usps-grid--business { grid-template-columns: repeat(2, 1fr); }
  .usps-grid--business .usp-card,
  .usps-grid--business .usp-card:nth-last-child(-n + 2),
  .usps-grid--business .usp-card:last-child { grid-column: span 1; }
}
@media (max-width: 600px) {
  .usps-grid--business { grid-template-columns: 1fr; }
  .usps-grid--business .usp-card,
  .usps-grid--business .usp-card:nth-last-child(-n + 2),
  .usps-grid--business .usp-card:last-child { grid-column: auto; }
}

/* USP num style — used on b2b + tochter pages */
.usp-num {
  display: inline-block;
  font-family: var(--font-marginalia);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

/* IZS — Partnership block */
.izs-section {
  padding: var(--section-gap) 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-hairline);
}
.izs-grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 56px;
  align-items: center;
}
.izs-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 38px 32px 28px;
  background: var(--color-bg-warm);
  border: 1px solid var(--color-hairline-strong);
  border-radius: 16px;
}
.izs-mark img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
}
.izs-stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: var(--color-teal-anchor);
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 50%;
}
.izs-stamp-meta {
  font-family: var(--font-marginalia);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}
.izs-text .section-label { display: inline-block; margin-bottom: 14px; }
.izs-h {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-text);
  margin: 0 0 14px;
  max-width: 28ch;
}
.izs-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-body);
  margin: 0 0 24px;
  max-width: 64ch;
}
@media (max-width: 760px) {
  .izs-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ZERTIFIKATE — shared proof page */
.certificates-section {
  padding: var(--section-gap) 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-hairline);
}
.certificates-intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}
.certificates-intro h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--color-text);
}
.certificates-intro p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-body);
  margin: 0;
  max-width: 66ch;
}
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.certificate-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.certificate-card--wide {
  grid-column: span 2;
}
.certificate-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  margin-bottom: 22px;
  padding: 18px;
  background: var(--color-bg-warm);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
}
.certificate-media img {
  max-width: 100%;
  max-height: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.certificate-card--wide .certificate-media img { max-height: 180px; }
.certificate-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-marginalia);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal-anchor);
}
.certificate-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
  color: var(--color-text);
}
.certificate-card p {
  margin: 0 0 22px;
  color: var(--color-text-body);
  line-height: 1.6;
}
.certificate-card .btn {
  align-self: flex-start;
  margin-top: auto;
}
@media (max-width: 980px) {
  .certificates-intro,
  .certificates-grid { grid-template-columns: 1fr; }
  .certificate-card--wide { grid-column: auto; }
}

/* FINAL CTA SECTION (alternative naming used on b2b page) */
.final-cta-section {
  padding: var(--section-gap) 0;
  background: var(--color-bg-warm);
}
.final-cta-card {
  background: var(--grad-anchor);
  color: #fff;
  border-radius: 20px;
  padding: 80px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(58,155,184,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta-eyebrow {
  display: inline-block;
  font-family: var(--font-marginalia);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
  position: relative;
}
.final-cta-title {
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 36px;
  text-wrap: balance;
  position: relative;
}
.final-cta-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--color-accent);
}
.final-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  transition: background 200ms ease, border-color 200ms ease;
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 700px) {
  .final-cta-card { padding: 56px 28px; }
}

/* ==========================================================================
   AUSZEICHNUNG — single certificate band
   ========================================================================== */
.auszeichnung-section {
  padding: 64px 0 72px;
}

.auszeichnung-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.auszeichnung-band {
  display: grid;
  grid-template-columns: minmax(120px, 200px) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--color-hairline-strong);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px -32px rgba(22, 56, 74, 0.22);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

a.auszeichnung-band:hover {
  border-color: var(--color-teal-tint);
  box-shadow: 0 24px 48px -28px rgba(22, 56, 74, 0.28);
  transform: translateY(-1px);
}

a.auszeichnung-band:focus-visible {
  outline: 2px solid var(--color-teal-deep);
  outline-offset: 3px;
}

.auszeichnung-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--color-bg-warm);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
}

.auszeichnung-seal img {
  width: 100%;
  max-width: 140px;
  height: auto;
  object-fit: contain;
}

.auszeichnung-seal--round img {
  max-width: 156px;
}

.auszeichnung-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
  line-height: 1.12;
}

.auszeichnung-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 58ch;
}

.auszeichnung-copy .section-label {
  margin-bottom: 14px;
}

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

@media (max-width: 720px) {
  .auszeichnung-band {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 20px;
  }
  .auszeichnung-seal { max-width: 180px; margin: 0 auto; }
  .auszeichnung-copy p { margin: 0 auto; }
}

/* ==========================================================================
   ALLPERSONA-GMBH — Branchen deck (inline detail panel)
   ========================================================================== */
.branchen-section {
  padding: calc(var(--section-gap) * 0.45) 0 var(--section-gap);
}

.branchen-deck {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.branchen-deck-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.branchen-deck-hint {
  margin: 20px auto 0;
  max-width: 1180px;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
}

.branchen-deck-hint-touch { display: none; }

.branchen-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  outline: none;
  color: inherit;
  font: inherit;
}

.branchen-card-surface {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(22, 56, 74, 0.1);
  background: #fff;
  box-shadow: 0 10px 24px -18px rgba(22, 56, 74, 0.28);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}

.branchen-card:hover .branchen-card-surface,
.branchen-card:focus-visible .branchen-card-surface {
  transform: translateY(-3px);
  border-color: rgba(58, 155, 184, 0.32);
  box-shadow: 0 16px 32px -16px rgba(22, 56, 74, 0.3);
}

.branchen-card.is-active .branchen-card-surface {
  transform: translateY(-4px);
  border-color: rgba(58, 155, 184, 0.55);
  box-shadow: 0 0 0 2px rgba(58, 155, 184, 0.18), 0 18px 36px -14px rgba(22, 56, 74, 0.34);
}

.branchen-card--cta.is-active .branchen-card-surface {
  border-color: rgba(232, 104, 48, 0.55);
  box-shadow: 0 0 0 2px rgba(232, 104, 48, 0.16), 0 18px 36px -14px rgba(232, 104, 48, 0.28);
}

.branchen-card-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--color-teal-soft);
}

.branchen-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--img-focus, 50% 16%);
  transform-origin: var(--img-focus, 50% 16%);
  transition: transform 0.55s var(--ease);
}

.branchen-card:hover .branchen-card-media img,
.branchen-card.is-active .branchen-card-media img {
  transform: scale(1.04);
}

.branchen-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 56, 74, 0.04) 30%, rgba(22, 56, 74, 0.78) 100%);
  pointer-events: none;
  z-index: 1;
}

.branchen-card--chemie .branchen-card-media { background: linear-gradient(145deg, #dce9f4, #2e6f8f); }
.branchen-card--elektro .branchen-card-media { background: linear-gradient(145deg, #e8edf5, #3d5a80); }
.branchen-card--hilfe .branchen-card-media { background: linear-gradient(145deg, #f3efe8, #8a7358); }
.branchen-card--land .branchen-card-media { background: linear-gradient(145deg, #e4f0e2, #4a7a3d); }
.branchen-card--food .branchen-card-media { background: linear-gradient(145deg, #fdeee0, #b85c28); }
.branchen-card--service .branchen-card-media { background: linear-gradient(145deg, #e7edf1, #3f5d6d); }
.branchen-card--handwerk .branchen-card-media,
.branchen-card--metall .branchen-card-media { background: linear-gradient(145deg, #ebe6df, #5c4f42); }
.branchen-card--handel .branchen-card-media { background: linear-gradient(145deg, #eef2f6, #4f6578); }
.branchen-card--produktion .branchen-card-media { background: linear-gradient(145deg, #e8eef2, #3f5f74); }
.branchen-card--logistik .branchen-card-media { background: linear-gradient(145deg, #e6edf0, #2f5f78); }
.branchen-card--cta .branchen-card-media { background: linear-gradient(145deg, #f9c9a4 0%, #e86830 52%, #c44f18 100%); }

.branchen-card-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 16px 14px 18px;
}

.branchen-card-footer h3 {
  margin: 0;
  font-size: clamp(13px, 0.95vw, 16px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  color: #fff;
}

.branchen-detail-slot {
  position: relative;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  transition: max-height 0.55s var(--ease), opacity 0.35s ease, margin 0.35s var(--ease);
}

.branchen-detail-slot.is-open {
  max-height: 520px;
  opacity: 1;
  margin: 2px 0 6px;
}

.branchen-detail {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-hairline-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 44px -24px rgba(22, 56, 74, 0.24);
  padding: 28px;
}

.branchen-detail-pointer {
  position: absolute;
  top: -9px;
  left: var(--pointer-x, 50%);
  width: 18px;
  height: 18px;
  background: #fff;
  border-left: 1px solid var(--color-hairline-strong);
  border-top: 1px solid var(--color-hairline-strong);
  transform: translateX(-50%) rotate(45deg);
  transition: left 0.5s var(--ease);
  z-index: 2;
}

.branchen-detail-body {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 28px;
  align-items: center;
}

.branchen-detail-media {
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  background: var(--color-teal-soft);
  --img-focus: 50% 18%;
}

.branchen-detail-media[hidden] {
  display: none;
}

.branchen-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--img-focus, 50% 18%);
}

.branchen-detail--chemie .branchen-detail-media { background: linear-gradient(145deg, #dce9f4, #2e6f8f); }
.branchen-detail--elektro .branchen-detail-media { background: linear-gradient(145deg, #e8edf5, #3d5a80); }
.branchen-detail--hilfe .branchen-detail-media { background: linear-gradient(145deg, #f3efe8, #8a7358); }
.branchen-detail--land .branchen-detail-media { background: linear-gradient(145deg, #e4f0e2, #4a7a3d); }
.branchen-detail--food .branchen-detail-media { background: linear-gradient(145deg, #fdeee0, #b85c28); }
.branchen-detail--service .branchen-detail-media { background: linear-gradient(145deg, #e7edf1, #3f5d6d); }
.branchen-detail--handwerk .branchen-detail-media,
.branchen-detail--metall .branchen-detail-media { background: linear-gradient(145deg, #ebe6df, #5c4f42); }
.branchen-detail--handel .branchen-detail-media { background: linear-gradient(145deg, #eef2f6, #4f6578); }
.branchen-detail--produktion .branchen-detail-media { background: linear-gradient(145deg, #e8eef2, #3f5f74); }
.branchen-detail--logistik .branchen-detail-media { background: linear-gradient(145deg, #e6edf0, #2f5f78); }
.branchen-detail--cta .branchen-detail-media { background: linear-gradient(145deg, #f9c9a4 0%, #e86830 52%, #c44f18 100%); }

.branchen-detail-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-marginalia);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal-deep);
}

.branchen-detail--cta .branchen-detail-eyebrow { color: var(--color-accent); }

.branchen-detail-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-text);
}

.branchen-detail-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-body);
  max-width: 62ch;
}

.branchen-detail-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.branchen-role {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-teal-deep);
  background: var(--color-teal-soft);
  border: 1px solid rgba(58, 155, 184, 0.22);
}

.branchen-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.branchen-fallback-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--color-text-body);
}

@media (max-width: 1100px) {
  .branchen-deck-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .branchen-deck-hint-desktop { display: none; }
  .branchen-deck-hint-touch { display: inline; }

  .branchen-deck-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .branchen-detail {
    padding: 20px;
  }

  .branchen-detail-body {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .branchen-detail-media {
    max-height: 180px;
    aspect-ratio: 16 / 9;
  }

  .branchen-detail-desc {
    font-size: 15px;
  }

  .branchen-fallback-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .branchen-deck-row {
    grid-template-columns: 1fr;
  }

  .branchen-card-surface {
    aspect-ratio: 16 / 11;
  }

  .branchen-card-media img {
    object-position: var(--img-focus, 50% 12%);
  }

  .branchen-detail-slot.is-open {
    max-height: 720px;
  }

  .branchen-fallback-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .branchen-card-surface,
  .branchen-card-media img,
  .branchen-detail-slot,
  .branchen-detail-pointer {
    transition: none;
  }

  .branchen-card:hover .branchen-card-surface,
  .branchen-card.is-active .branchen-card-surface {
    transform: none;
  }
}


/* ==========================================================================
   UEBER-UNS — Editorial hero, story, werte, gruppe-grid-uberuns
   ========================================================================== */

/* Editorial hero — large narrative split */
.hero-editorial-page {
  position: relative;
  background: var(--color-bg-warm);
  padding: 56px 0 96px;
  border-bottom: 1px solid var(--color-hairline);
  overflow: hidden;
}
.hero-editorial-page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(0,0,0,0.018) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.6;
}
.hero-editorial-page > .container { position: relative; z-index: 1; }

.hero-editorial-page .breadcrumb { margin-bottom: 56px; }

.hero-editorial-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 88px;
  align-items: end;
}

.hero-editorial-text .section-label { margin-bottom: 28px; }

.hero-editorial-title {
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: var(--color-text);
  margin: 0;
  text-wrap: balance;
}
.hero-editorial-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--color-logo-teal);
}

.hero-editorial-side {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-bottom: 12px;
}

.hero-editorial-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-body);
  margin: 0;
  max-width: 38ch;
  border-left: 2px solid var(--color-logo-teal);
  padding-left: 20px;
}

.hero-editorial-stamps {
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--color-hairline-strong);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.hero-editorial-stamps li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stamp-eyebrow {
  font-family: var(--font-marginalia);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.stamp-value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  .hero-editorial-grid { grid-template-columns: 1fr; gap: 48px; align-items: start; }
}

/* Breadcrumb on warm */
.breadcrumb-on-warm a { color: var(--color-text-muted); }
.breadcrumb-on-warm .breadcrumb-sep { color: var(--color-hairline-strong); margin: 0 4px; }


/* ==========================================================================
   STORY — narrative two-column with marginal mark
   ========================================================================== */
.story-section {
  padding: var(--section-gap) 0;
  background: var(--color-bg);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 88px;
  align-items: start;
  position: relative;
}
.story-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.story-h {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin: 0;
  text-wrap: balance;
}
.story-mark {
  font-family: 'Times New Roman', serif;
  font-size: 120px;
  font-weight: 400;
  line-height: 0.8;
  color: var(--color-logo-teal);
  opacity: 0.18;
  letter-spacing: -0.04em;
  margin-top: auto;
}
.story-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 62ch;
}
.story-body .story-lead {
  font-size: 22px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: pretty;
}
.story-body p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-body);
  margin: 0;
}
.story-body strong {
  color: var(--color-text);
  font-weight: 600;
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .story-side { position: static; }
  .story-mark { display: none; }
}


/* ==========================================================================
   STATS BAR — light variant
   ========================================================================== */
.stats-section {
  padding: 0 0 var(--section-gap);
  background: var(--color-bg);
}
.stats-bar-light {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--grad-anchor);
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
}
.stats-bar-light .stat-block {
  padding: 40px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stats-bar-light .stat-block:last-child { border-right: none; }
.stats-bar-light .stat-num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.stats-bar-light .stat-plus { color: var(--color-accent); font-weight: 700; }
.stats-bar-light .stat-unit {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  margin-left: 6px;
  letter-spacing: 0;
}
.stats-bar-light .stat-label {
  font-family: var(--font-marginalia);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
@media (max-width: 900px) {
  .stats-bar-light { grid-template-columns: 1fr 1fr; }
  .stats-bar-light .stat-block:nth-child(2) { border-right: none; }
  .stats-bar-light .stat-block:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
}
@media (max-width: 500px) {
  .stats-bar-light { grid-template-columns: 1fr; }
  .stats-bar-light .stat-block { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stats-bar-light .stat-block:last-child { border-bottom: none; }
}


/* ==========================================================================
   IMAGEFILM — self-hosted video band
   ========================================================================== */
.imagefilm-section {
  padding: 0 0 var(--section-gap);
  background: var(--color-bg);
}

.imagefilm-shell {
  border: 1px solid var(--color-hairline-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #0f1720;
  box-shadow: 0 24px 48px -28px rgba(22, 56, 74, 0.28);
}

.imagefilm-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #0f1720;
}

/* ==========================================================================
   WERTE — 4-card hairline grid
   ========================================================================== */
.werte-section {
  padding: var(--section-gap) 0;
  background: var(--color-bg-warm);
  border-top: 1px solid var(--color-hairline);
}
.werte-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--color-hairline-strong);
  border-radius: 14px;
  overflow: hidden;
}
.wert-card {
  padding: 40px 32px 36px;
  border-right: 1px solid var(--color-hairline);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: background 200ms ease;
}
.wert-card:last-child { border-right: none; }
.wert-card:hover { background: var(--color-bg-warm); }
.wert-num {
  font-family: var(--font-marginalia);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.wert-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0;
  line-height: 1.15;
}
.wert-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text-body);
  margin: 0;
}
@media (max-width: 900px) {
  .werte-grid { grid-template-columns: 1fr 1fr; }
  .wert-card { border-right: 1px solid var(--color-hairline); border-bottom: 1px solid var(--color-hairline); }
  .wert-card:nth-child(2n) { border-right: none; }
  .wert-card:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 500px) {
  .werte-grid { grid-template-columns: 1fr; }
  .wert-card { border-right: none !important; border-bottom: 1px solid var(--color-hairline) !important; }
  .wert-card:last-child { border-bottom: none !important; }
}


/* ==========================================================================
   GRUPPE — auf Über-Uns: featured-first 1+2 layout
   ========================================================================== */
.gruppe-on-uberuns {
  padding: var(--section-gap) 0;
  background: var(--color-bg);
}
.gruppe-grid-uberuns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.gesellschaft-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px 32px 32px;
  background: #fff;
  border: 1px solid var(--color-hairline-strong);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color 200ms ease, transform 200ms ease;
  position: relative;
}
.gesellschaft-card:hover {
  border-color: var(--color-teal-anchor);
  transform: translateY(-2px);
}
.gesellschaft-card-primary {
  background: var(--grad-anchor);
  color: #fff;
  border-color: transparent;
}
.gesellschaft-card-primary:hover {
  border-color: transparent;
  background: var(--grad-anchor);
  filter: brightness(1.05);
}
.gesellschaft-eyebrow {
  font-family: var(--font-marginalia);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-logo-teal);
}
.gesellschaft-card-primary .gesellschaft-eyebrow { color: var(--color-accent); }
.gesellschaft-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.15;
  color: var(--color-text);
}
.gesellschaft-card-primary .gesellschaft-title {
  color: #fff;
  font-size: 28px;
}
.gesellschaft-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text-body);
  margin: 0;
  flex: 1;
}
.gesellschaft-card-primary p { color: rgba(255,255,255,0.78); }
.gesellschaft-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-marginalia);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-logo-teal);
  margin-top: 8px;
}
.gesellschaft-card-primary .gesellschaft-link { color: var(--color-accent); }
.gesellschaft-link svg { transition: transform 200ms ease; }
.gesellschaft-card:hover .gesellschaft-link svg { transform: translateX(3px); }

@media (max-width: 1100px) {
  .gruppe-grid-uberuns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .gruppe-grid-uberuns { grid-template-columns: 1fr; }
}


/* ==========================================================================
   FINAL CTA — variant for ueber-uns (light bg already; just ensure btn-ghost-light)
   ========================================================================== */
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 200ms ease, border-color 200ms ease;
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}


/* Active filter chip on jobs.html when ?ort=… is set */
.filter-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 10px 16px;
  background: var(--color-teal-haze, rgba(58,155,184,0.10));
  border: 1px solid rgba(58,155,184,0.30);
  border-radius: 999px;
  font-size: 13px;
  color: var(--color-text);
}
.chip.is-active {
  background: var(--color-teal-anchor) !important;
  color: #fff !important;
  border-color: var(--color-teal-anchor) !important;
}
.filter-active-chip-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.filter-active-chip-value {
  font-weight: 700;
  color: var(--color-teal-anchor);
}
.filter-active-chip-clear {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 12px;
  transition: background 200ms, color 200ms;
}
.filter-active-chip-clear:hover {
  background: rgba(58,155,184,0.18);
  color: var(--color-text);
}

.jobs-empty-state {
  padding: 40px 24px;
  text-align: center;
  background: var(--color-bg-warm);
  border: 1px dashed var(--color-hairline-strong);
  border-radius: 12px;
  margin-bottom: 24px;
  color: var(--color-text-muted);
}
.jobs-empty-state p { margin: 4px 0; }
.jobs-empty-state a {
  color: var(--color-teal-anchor);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* ==========================================================================
   POLISH LAYER — final pass
   Focus-visible, navbar elevation, skip-link, microinteractions
   ========================================================================== */

/* Anchor offset so in-page jumps don't hide under sticky navbar */
html { scroll-padding-top: 96px; }

/* Partial-include wrappers must not break position:sticky on the navbar */
[data-include] { display: contents; }

/* Skip-link for keyboard users */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 12px 18px;
  background: var(--color-teal-anchor);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  z-index: 1000;
  transition: top 200ms var(--ease);
}
.skip-link:focus {
  top: 12px;
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Universal focus-visible — keyboard-only, never on click */
*:focus { outline: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-logo-teal);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible,
.navbar-cta:focus-visible {
  outline-offset: 3px;
}

/* Navbar elevation when scrolled — gentle shadow + slightly more opaque */
.navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(26,26,46,0.04), 0 8px 24px -12px rgba(26,26,46,0.10);
  border-bottom-color: transparent;
}

/* Lock body scroll when mobile nav open */
body.menu-open { overflow: hidden; }

/* Cards: consistent lift on hover wherever a card has the data attribute or class */
.gruppe-card,
.usp-card,
.job-card,
.gesellschaft-card,
.testimonial-card,
.unternehmen-card-mini,
.standort-card,
.leistungen-overview-card {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

/* Selection */
::selection { background: var(--color-teal-haze); color: var(--color-teal-anchor); }

/* ==========================================================================
   GLOBAL MOTION — smooth navigation, prefetch, view transitions
   ========================================================================== */
@view-transition {
  navigation: auto;
}

html {
  scroll-behavior: smooth;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.32s;
  animation-timing-function: var(--ease);
}

::view-transition-old(root) {
  animation-name: vt-fade-out;
}

::view-transition-new(root) {
  animation-name: vt-fade-in;
}

@keyframes vt-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes vt-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.route-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 2px;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--color-logo-teal) 0%, var(--color-accent) 100%);
  transition: transform 0.22s var(--ease), opacity 0.28s var(--ease);
}

.route-progress.is-active {
  transform: scaleX(0.42);
}

.route-progress.is-complete {
  transform: scaleX(1);
  opacity: 0;
}

html:not(.is-motion-ready) body {
  opacity: 0;
}

html.is-motion-ready body {
  animation: page-enter 0.38s var(--ease) both;
}

html.is-exiting body {
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease);
}

@keyframes page-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Reduced motion respect for the polish layer too */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .skip-link { transition: none; }
  html:not(.is-motion-ready) body,
  html.is-motion-ready body,
  html.is-exiting body {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
  .route-progress { display: none; }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}
