/* =========================================================
   42-N AG – Website Relaunch 2026
   Reines HTML/CSS – keine Frameworks, keine externen Ressourcen
   Schrift: DIN Pro (einzige Schriftfamilie der Website)
   Akzentfarbe: Leuchtgelb (RAL 1026)
   ========================================================= */


/* ---------- DIN Pro ---------- */
@font-face { font-family: "DIN Pro"; font-weight: 300; font-style: normal; font-display: swap;
  src: local("DIN Pro Light"), local("DINPro-Light"), url("../fonts/DINPro-Light.woff2") format("woff2"); }
@font-face { font-family: "DIN Pro"; font-weight: 400; font-style: normal; font-display: swap;
  src: local("DIN Pro"), local("DIN Pro Regular"), local("DINPro-Regular"), url("../fonts/DINPro-Regular.woff2") format("woff2"); }
@font-face { font-family: "DIN Pro"; font-weight: 500; font-style: normal; font-display: swap;
  src: local("DIN Pro Medium"), local("DINPro-Medium"), url("../fonts/DINPro-Medium.woff2") format("woff2"); }
@font-face { font-family: "DIN Pro"; font-weight: 700; font-style: normal; font-display: swap;
  src: local("DIN Pro Bold"), local("DINPro-Bold"), url("../fonts/DINPro-Bold.woff2") format("woff2"); }
@font-face { font-family: "DIN Pro"; font-weight: 900; font-style: normal; font-display: swap;
  src: local("DIN Pro Black"), local("DINPro-Black"), url("../fonts/DINPro-Black.woff2") format("woff2"); }

:root {
  --navy-900: #0b1530;
  --navy-800: #111e42;
  --navy-700: #1a2a5a;
  --navy-600: #2b3a8c;
  --ink: #0e1626;
  --text: #2a3142;
  --muted: #6b7385;
  --line: #d9dde5;
  --line-dark: rgba(255,255,255,.14);
  --bg: #ffffff;
  --bg-alt: #f4f5f8;
  --signal: #ffff00;          /* RAL 1026 Leuchtgelb (sRGB-Annäherung) */
  --signal-dark: #e6e600;
  --signal-soft: rgba(255,255,0,.22);
  /* Leuchtgelb hat auf Weiß kaum Kontrast: Auf hellen Flächen wird Gelb nur
     als Fläche eingesetzt, Linien/Texte nutzen --ink. */

  /* Hausschrift: ausschließlich DIN Pro (lizenzierte Webfont-Dateien in assets/fonts/) */
  --font: "DIN Pro", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 500; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 500; }
h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; }
ul { padding-left: 1.2em; }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--signal); color: var(--ink); padding: 10px 16px; z-index: 999; }
.skip:focus { left: 16px; top: 16px; }

/* ---------- Kicker / Labels ---------- */
.kicker {
  font-family: var(--font); font-weight: 500;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 10px; height: 10px; background: var(--signal); box-shadow: 0 0 0 1px var(--ink); }
.on-dark .kicker::before { box-shadow: none; }
.on-dark .kicker { color: rgba(255,255,255,.7); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header > .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.logo-mark {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  background: #fff; color: var(--navy-900);
  font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em;
  position: relative;
}
.logo-mark::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 12px; height: 12px; background: var(--signal); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 1.25rem; letter-spacing: .02em; }
.logo-text span { font-family: var(--font); font-weight: 500; font-size: .64rem; letter-spacing: .18em; color: rgba(255,255,255,.55); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 8px; height: 100%; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; height: 100%; }
.nav-item { position: static; display: flex; align-items: stretch; }
.nav-item.has-drop { position: relative; }
.nav-item.mega { position: static; }
.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 0 18px;
  font-size: .88rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  color: #fff;
  background: none; border: 0; cursor: pointer; font-family: inherit;
  position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px;
  background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-item:hover > .nav-link::after,
.nav-item:focus-within > .nav-link::after,
.nav-link[aria-current="page"]::after,
.nav-item.is-active > .nav-link::after { transform: scaleX(1); }
.caret { width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  font-family: inherit; font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  border: 2px solid var(--ink); background: var(--signal); color: var(--ink);
  border-radius: var(--radius); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--ink); color: var(--signal); border-color: var(--ink); }
.on-dark .btn:not(.btn-ghost), .site-header .btn { border-color: var(--signal); }
.on-dark .btn:not(.btn-ghost):hover, .site-header .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.on-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.on-dark .btn-ghost:hover { background: #fff; color: var(--ink); }
.nav-cta { margin-left: 16px; padding: 11px 18px; }

/* Dropdowns */
.drop {
  position: absolute; top: 100%; left: 0;
  min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--signal);
  box-shadow: 0 24px 48px -24px rgba(11,21,48,.35);
  padding: 14px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  list-style: none; margin: 0;
}
.drop a { display: block; padding: 9px 24px; font-size: .98rem; color: var(--text); border-left: 2px solid transparent; }
.drop a:hover { color: var(--ink); background: var(--bg-alt); border-left-color: var(--ink); }

.mega-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 3px solid var(--signal); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(11,21,48,.4);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 32px 0 36px; }
.mega-col { padding: 0 28px; border-left: 1px solid var(--line); }
.mega-col:first-child { border-left: 0; padding-left: 0; }
.mega-col h4 { margin: 0 0 14px; font-size: 1.05rem; font-weight: 600; }
.mega-col h4 a { display: inline-flex; align-items: center; gap: 10px; }
.mega-col h4 a:hover { color: var(--navy-600); }
.mega-col h4 a:hover .num { background: var(--ink); color: var(--signal); }
.mega-col .num { font-family: var(--font); font-weight: 500; font-size: .72rem; color: var(--ink); background: var(--signal); padding: 1px 5px; }
.mega-col ul { list-style: none; padding: 0; margin: 0; }
.mega-col li a { display: block; padding: 6px 0 6px 14px; font-size: .93rem; color: var(--muted); position: relative; }
.mega-col li a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 1px; background: var(--muted); }
.mega-col li a:hover { color: var(--ink); }
.mega-col li a:hover::before { background: var(--ink); width: 9px; }

@media (min-width: 1081px) {
  .nav-item:hover > .drop, .nav-item:focus-within > .drop,
  .nav-item:hover > .mega-panel, .nav-item:focus-within > .mega-panel { opacity: 1; visibility: visible; transform: none; }
  .nav-item:hover .caret, .nav-item:focus-within .caret { transform: rotate(225deg) translateY(-1px); }
  .nav-item.has-drop:last-of-type .drop { left: auto; right: 0; }
}

.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: transform .25s, opacity .25s; }

/* ---------- Hero / Teaser ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: #fff;
  padding: clamp(80px, 12vw, 150px) 0 clamp(70px, 10vw, 120px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; right: -10%; top: -20%; width: 60%; height: 140%;
  background: radial-gradient(circle at center, rgba(43,58,140,.55), transparent 65%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--signal); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.78); max-width: 52ch; margin: 24px 0 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-graphic { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: min(40%, 460px); z-index: 1; opacity: .9; }
.hero-meta {
  position: relative; z-index: 2;
  margin-top: clamp(56px, 8vw, 96px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}
.hero-meta div { padding: 20px 20px 0 0; }
.hero-meta strong { display: block; font-size: 1.6rem; font-weight: 500; color: #fff; }
.hero-meta span { font-family: var(--font); font-weight: 500; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* Page header (Unterseiten) */
.page-head {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: #fff;
  padding: clamp(60px, 9vw, 110px) 0 clamp(48px, 7vw, 80px);
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.page-head .wrap { position: relative; }
.page-head h1 { color: #fff; margin-bottom: 14px; }
.page-head p { color: rgba(255,255,255,.75); max-width: 60ch; font-size: 1.1rem; margin: 0; }
.breadcrumb { font-family: var(--font); font-weight: 500; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--signal); }
.breadcrumb span { margin: 0 8px; color: var(--signal); }
.page-index { position: absolute; right: var(--gutter); bottom: -0.18em; font-size: clamp(6rem, 16vw, 13rem); font-weight: 700; line-height: 1; color: rgba(255,255,255,.04); pointer-events: none; }

.subnav { background: var(--bg-alt); border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 50; }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 16px 18px; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a.is-current { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy-800); color: rgba(255,255,255,.8); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.section-head p { color: var(--muted); margin: 0; }

/* Kompetenz-Teaser (Startseite) */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pillar {
  position: relative; display: flex; flex-direction: column;
  padding: 44px 36px 40px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background .25s;
}
.pillar::before { content: ""; position: absolute; left: -1px; top: -1px; width: calc(100% + 2px); height: 6px; background: var(--signal); box-shadow: inset 0 -1px 0 var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.pillar:hover::before, .pillar:focus-visible::before { transform: scaleX(1); }
.pillar:hover { background: var(--bg-alt); }
.pillar .icon { width: 72px; height: 72px; color: var(--navy-700); margin-bottom: 28px; }
.pillar .num { font-family: var(--font); font-weight: 500; font-size: .75rem; color: var(--muted); letter-spacing: .12em; margin-bottom: 10px; }
.pillar h3 { margin-bottom: 14px; }
.pillar p { color: var(--text); flex: 1; }
.more { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-top: 18px; }
.more .arrow { display: inline-block; width: 26px; height: 2px; background: var(--ink); position: relative; transition: width .25s; }
.more .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 8px; height: 8px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }
.more .arrow { color: var(--ink); }
.field .more .arrow, .on-dark .more .arrow { background: var(--signal); color: var(--signal); }
.pillar:hover .more .arrow, a.more:hover .arrow { width: 38px; }

/* Kompetenzfelder-Kacheln */
.fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.field { background: var(--navy-800); padding: 32px 28px; display: flex; flex-direction: column; transition: background .25s; }
.field:hover { background: var(--navy-700); }
.field .num { font-family: var(--font); font-weight: 500; font-size: .75rem; color: var(--signal); margin-bottom: 40px; }
.field h3 { color: #fff; font-size: 1.05rem; }
.field ul { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; }
.field li { font-size: .92rem; padding: 5px 0; color: rgba(255,255,255,.7); border-bottom: 1px solid var(--line-dark); }
.field .more { color: #fff; }

/* Leistungsblöcke (Unterseiten) */
.service {
  display: grid; grid-template-columns: 180px 1fr; gap: clamp(24px, 4vw, 64px);
  padding: clamp(48px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
}
.service:first-child { border-top: 0; padding-top: 0; }
.service-aside { position: relative; }
.service-icon {
  width: 120px; height: 120px; display: grid; place-items: center;
  background: var(--navy-800); color: var(--signal); position: relative;
}
.service-icon::after { content: ""; position: absolute; right: -6px; bottom: -6px; width: 14px; height: 14px; background: var(--signal); }
.service-icon svg { width: 68px; height: 68px; }
.service-num { font-family: var(--font); font-weight: 500; font-size: .75rem; letter-spacing: .12em; color: var(--muted); margin-top: 22px; }
.service h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); text-transform: uppercase; letter-spacing: .04em; font-weight: 500; margin-bottom: 22px; }
.service .intro { font-size: 1.15rem; color: var(--ink); }
.service-body { max-width: 760px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 22px; padding: 0; list-style: none; }
.tags li { font-family: var(--font); font-weight: 500; font-size: .76rem; letter-spacing: .06em; padding: 7px 12px; border: 1px solid var(--line); background: var(--bg-alt); color: var(--ink); }
.checklist { list-style: none; padding: 0; margin: 8px 0 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.checklist li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 15px; width: 18px; height: 18px; background: var(--signal); box-shadow: inset 0 0 0 1px var(--ink); }
.checklist li::after { content: ""; position: absolute; left: 5px; top: 19px; width: 8px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.callout { border-left: 4px solid var(--ink); background: var(--signal-soft); padding: 18px 22px; margin: 6px 0 22px; color: var(--ink); }

/* CTA band */
.cta-band { background: var(--signal); color: var(--ink); padding: clamp(48px, 7vw, 80px) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { margin: 0; max-width: 24ch; }
.cta-band .btn { background: var(--ink); color: #fff; border-color: var(--ink); }
.cta-band .btn:hover { background: var(--navy-700); border-color: var(--navy-700); }

/* Referenzen */
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.logo-cell { background: #fff; aspect-ratio: 16/7; display: grid; place-items: center; font-family: var(--font); font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #a5abb8; transition: color .2s, background .2s; }
.logo-cell:hover { background: var(--bg-alt); color: var(--ink); }
.notice { text-align: center; max-width: 640px; margin: 72px auto 40px; }
.notice svg { width: 44px; height: 44px; color: var(--navy-600); margin: 0 auto 18px; }

/* Formulare */
.form-card { background: #fff; border: 1px solid var(--line); border-top: 8px solid var(--signal); padding: clamp(28px, 5vw, 56px); max-width: 880px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.form-grid .full { grid-column: 1 / -1; }
.field-wrap label { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.field-wrap label .req { color: var(--navy-600); }
.field-wrap input, .field-wrap textarea, .field-wrap select {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1px solid var(--line); background: var(--bg-alt); border-radius: var(--radius);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field-wrap textarea { min-height: 150px; resize: vertical; }
.field-wrap input:focus, .field-wrap textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(255,255,0,.75); }
.field-wrap input:user-invalid, .field-wrap textarea:user-invalid { border-color: #c0392b; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { margin-top: 5px; accent-color: var(--navy-700); width: 18px; height: 18px; flex: none; }
.consent a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ink); text-underline-offset: 3px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 28px; }
.form-hint { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--muted); }
.form-hint svg { width: 20px; height: 20px; color: var(--navy-600); flex: none; }
.form-success { display: none; border-left: 4px solid var(--ink); background: var(--signal-soft); padding: 18px 22px; margin-top: 24px; color: var(--ink); }
.form-success.show { display: block; }

/* Wir / Werte */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { background: #fff; padding: 36px 32px; }
.value .num { font-family: var(--font); font-weight: 500; font-size: .75rem; color: var(--ink); background: var(--signal); padding: 2px 7px; letter-spacing: .12em; }
.value h3 { text-transform: none; letter-spacing: 0; font-size: 1.25rem; margin: 12px 0 14px; }
.value h3 em, .mark { font-style: normal; color: var(--ink); background: linear-gradient(transparent 58%, var(--signal) 58%); }
.value p { margin-bottom: .8em; }
.value:last-child:nth-child(odd) { grid-column: 1 / -1; }

.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.person { border: 1px solid var(--line); background: #fff; display: grid; grid-template-columns: 200px 1fr; }
.person-img { background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); display: grid; place-items: center; color: rgba(255,255,255,.35); font-family: var(--font); font-weight: 500; font-size: .75rem; letter-spacing: .14em; min-height: 260px; position: relative; }
.person-img svg { width: 72px; height: 72px; color: rgba(255,255,255,.25); }
.person-img::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--signal); }
.person-body { padding: 28px; }
.person-title { font-family: var(--font); font-weight: 500; font-size: .72rem; letter-spacing: .1em; color: var(--muted); }
.person h3 { text-transform: none; letter-spacing: 0; font-size: 1.4rem; margin: 6px 0 16px; }
.person h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 16px 0 6px; font-weight: 600; }
.person ul { list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.person li { padding: 3px 0 3px 16px; position: relative; }
.person li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 2px; background: var(--ink); }

.timeline-text p { font-size: 1.08rem; }

.memberships { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.member { display: grid; grid-template-columns: 240px 1fr; gap: 40px; background: #fff; padding: 36px; align-items: start; }
.member-logo { aspect-ratio: 16/8; border: 1px dashed var(--line); display: grid; place-items: center; text-align: center; padding: 10px; }
.member-logo strong { display: block; font-size: 1.6rem; color: var(--navy-800); letter-spacing: .04em; }
.member-logo span { font-family: var(--font); font-weight: 500; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.member h3 { text-transform: none; letter-spacing: 0; font-size: 1.2rem; }

.jobs-box { background: var(--navy-800); color: rgba(255,255,255,.8); padding: clamp(32px, 5vw, 56px); position: relative; }
.jobs-box h3 { color: #fff; text-transform: none; letter-spacing: 0; font-size: 1.4rem; }
.jobs-box::before { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: var(--signal); }

/* Akademie */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.card { border: 1px solid var(--line); padding: 40px 36px; background: #fff; position: relative; }
.card .icon { width: 76px; height: 76px; padding: 14px; background: var(--navy-800); color: var(--signal); margin-bottom: 24px; }
.card h3 { text-transform: none; letter-spacing: 0; font-size: 1.4rem; }
.placeholder-note { font-family: var(--font); font-weight: 500; font-size: .78rem; color: var(--ink); background: var(--signal-soft); border: 1px dashed var(--ink); padding: 10px 14px; display: inline-block; margin-top: 8px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 80px); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.contact-list span { font-family: var(--font); font-weight: 500; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact-list a:hover { color: var(--navy-600); }
.contact-grid .form-card { max-width: none; margin: 0; }

/* Rechtstexte */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.site-footer .logo { color: #fff; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a:hover { color: var(--signal); }
.footer-claim { margin-top: 22px; max-width: 32ch; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-family: var(--font); font-weight: 500; font-size: .75rem; letter-spacing: .06em; }
.footer-bottom nav { display: flex; gap: 24px; }

.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; background: var(--signal); color: var(--ink); border: 2px solid var(--ink); display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; }

/* Reveal-Animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--navy-900); flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 12px var(--gutter) 40px; overflow-y: auto; height: auto;
    transform: translateX(100%); transition: transform .3s ease;
  }
  body.nav-open .nav { transform: none; }
  body.nav-open { overflow: hidden; }
  body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-list { flex-direction: column; height: auto; }
  .nav-item { flex-direction: column; border-bottom: 1px solid var(--line-dark); }
  .drop, .mega-panel { background: transparent; }
  .drop a, .mega-col li a { color: rgba(255,255,255,.72); }
  .drop a:hover { background: rgba(255,255,255,.06); color: #fff; border-left-color: var(--signal); }
  .mega-col h4, .mega-col h4 a { color: #fff; }
  .mega-col li a::before { background: rgba(255,255,255,.4); }
  .mega-col li a:hover { color: #fff; }
  .nav-link { padding: 18px 0; justify-content: space-between; width: 100%; font-size: .95rem; }
  .nav-link::after { display: none; }
  .drop, .mega-panel { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: 0 0 14px; }
  .nav-item.open > .drop, .nav-item.open > .mega-panel { display: block; }
  .nav-item.open .caret { transform: rotate(225deg) translateY(-1px); }
  .drop a { padding: 8px 14px; }
  .mega-panel .wrap { padding: 0; }
  .mega-grid { grid-template-columns: 1fr; padding: 0; gap: 18px; }
  .mega-col, .mega-col:first-child { border: 0; padding: 0 0 0 14px; }
  .nav-cta { margin: 24px 0 0; justify-content: center; }
  .hero-graphic { display: none; }
  .fields { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .pillars, .values, .people, .cards, .split, .contact-grid, .section-head { grid-template-columns: 1fr; }
  .section-head { gap: 16px; }
  .service { grid-template-columns: 1fr; gap: 24px; }
  .service-icon { width: 96px; height: 96px; }
  .service-icon svg { width: 54px; height: 54px; }
  .checklist { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .member { grid-template-columns: 1fr; gap: 20px; padding: 28px 22px; }
  .member-logo { max-width: 240px; }
  .person { grid-template-columns: 1fr; }
  .person-img { min-height: 200px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .fields, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .pillar { padding: 36px 24px; }
  .logo-text span { display: none; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
}

@media print {
  .site-header, .site-footer, .to-top, .subnav, .cta-band { display: none; }
  .hero, .page-head { background: none; color: #000; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Ergänzungen Relaunch (Inhalte aktuelle Website) ---------- */
.quote { margin: 0; padding: clamp(28px, 4vw, 44px); background: var(--navy-800); color: rgba(255,255,255,.85); position: relative; }
.quote::before { content: "\201C"; position: absolute; left: clamp(20px, 3vw, 36px); top: -18px; font-size: 5rem; line-height: 1; color: var(--signal); font-family: var(--font); font-weight: 900; }
.quote p { font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.55; color: #fff; margin-bottom: 18px; }
.quote cite { font-style: normal; font-family: var(--font); font-weight: 500; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.quote cite strong { color: var(--signal); font-weight: 500; }
.quote-wrap { padding: clamp(48px, 7vw, 80px) 0 0; }

.sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 10px; }
.sub-grid h4, .service-body h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 26px 0 4px; font-weight: 600; }
.service-body h3 { margin-top: 34px; }
.service-body .checklist { margin-top: 4px; }

.keywords { background: var(--navy-900); border-top: 1px solid var(--line-dark); overflow: hidden; padding: 26px 0; }
.keywords-track { display: flex; gap: 48px; width: max-content; animation: kw 40s linear infinite; }
.keywords span { font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 500; color: rgba(255,255,255,.18); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.keywords span::after { content: ""; width: 12px; height: 12px; background: var(--signal); }
.keywords span:nth-child(3n+1) { color: #fff; }
@keyframes kw { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .keywords-track { animation: none; } }

.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); margin-bottom: 64px; }
.intro-grid h2 { margin-bottom: 18px; }
.intro-grid p { color: var(--text); }

.answer { text-align: center; padding: clamp(64px, 9vw, 110px) 0; }
.answer h2 { font-size: clamp(2.2rem, 6vw, 4.6rem); margin: 0; letter-spacing: -.02em; }

.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.client { background: #fff; min-height: 96px; display: grid; place-items: center; text-align: center; padding: 16px; font-weight: 600; font-size: .98rem; color: var(--navy-800); letter-spacing: .02em; transition: background .2s; }
.client small { display: block; font-family: var(--font); font-weight: 500; font-weight: 400; font-size: .66rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.client:hover { background: var(--signal); }

.cert { display: grid; grid-template-columns: 96px 1fr auto; gap: 28px; align-items: center; border: 1px solid var(--line); padding: 28px; background: #fff; margin-top: 48px; }
.cert-badge { width: 96px; height: 96px; background: var(--navy-800); color: var(--signal); display: grid; place-items: center; }
.cert-badge svg { width: 56px; height: 56px; }
.cert h3 { text-transform: none; letter-spacing: 0; font-size: 1.25rem; margin-bottom: 6px; }
.cert p { margin: 0; color: var(--muted); }

.press { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.press li a { display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.press li a:hover { background: var(--bg-alt); padding-left: 14px; padding-right: 14px; }
.press time { font-family: var(--font); font-weight: 500; font-size: .78rem; letter-spacing: .08em; color: var(--muted); }
.press strong { font-weight: 500; color: var(--ink); font-size: 1.08rem; }
.press .ext { font-family: var(--font); font-weight: 500; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--signal); padding: 4px 8px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 40px; }
.stats div { padding: 24px 24px 0 0; }
.stats strong { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 500; color: var(--ink); line-height: 1.1; }
.stats strong span { background: linear-gradient(transparent 62%, var(--signal) 62%); }
.stats small { font-family: var(--font); font-weight: 500; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 820px) {
  .sub-grid, .intro-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .cert { grid-template-columns: 1fr; }
  .press li a { grid-template-columns: 1fr; gap: 6px; }
  .press .ext { justify-self: start; }
}
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }
.sub-grid .checklist { grid-template-columns: 1fr; }

/* ---------- Logo, Fotos, Kundenlogos ---------- */
.logo-img { display: block; height: 32px; width: auto; }
.logo-claim { font-family: var(--font); font-weight: 500; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); padding-left: 14px; margin-left: 2px; border-left: 2px solid var(--signal); line-height: 1.2; }
@media (max-width: 560px) { .logo-claim { display: none; } }

.client { min-height: 120px; padding: 22px 26px; }
.client img { max-width: 100%; max-height: 54px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .25s, opacity .25s; }
.client:hover { background: #fff; }
.client:hover img { filter: none; opacity: 1; }
.client-grid { grid-template-columns: repeat(4, 1fr); }

.person-img { padding: 0; background: var(--navy-900); overflow: hidden; }
.person-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; filter: grayscale(1) contrast(1.05); }
.person { grid-template-columns: 220px 1fr; }
.person-img { min-height: 320px; }

.member-logo.has-img { border-style: solid; background: #fff; padding: 14px; }
.member-logo.has-img img { max-width: 100%; max-height: 92px; object-fit: contain; }

/* ---------- News ---------- */
.news-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.news-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.news-filter button { font-family: inherit; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; padding: 10px 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; border-radius: var(--radius); }
.news-filter button:hover { border-color: var(--ink); }
.news-filter button.is-on { background: var(--ink); color: var(--signal); border-color: var(--ink); }
.news-stand { font-family: var(--font); font-weight: 500; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.news-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.news-item a { display: grid; grid-template-columns: 290px 1fr 30px; gap: 24px; align-items: center; padding: 20px 8px; border-bottom: 1px solid var(--line); transition: background .2s; }
.news-item a:hover { background: var(--bg-alt); }
.news-item a:hover .news-go { background: var(--signal); }
.news-item strong { font-weight: 500; color: var(--ink); font-size: 1.04rem; line-height: 1.45; }
.news-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.news-meta time, .news-kind { font-family: var(--font); font-weight: 500; font-size: .74rem; letter-spacing: .06em; color: var(--muted); }
.news-kind { text-transform: uppercase; font-size: .66rem; letter-spacing: .1em; }
.badge { font-family: var(--font); font-weight: 500; font-size: .7rem; font-weight: 700; letter-spacing: .08em; padding: 3px 8px; min-width: 42px; text-align: center; }
.badge-bsi { background: var(--navy-800); color: #fff; }
.badge-warn { background: var(--signal); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.badge-eco { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.news-go { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--ink); color: var(--ink); font-size: .9rem; transition: background .2s; }
.news-item.is-hidden { display: none; }
.news-list--compact .news-item a { grid-template-columns: 290px 1fr 30px; }
.news-sources { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; margin-top: 56px; padding: 32px; background: var(--bg-alt); border-left: 4px solid var(--ink); }
.news-sources h3 { font-size: .85rem; }
.news-sources p { color: var(--muted); font-size: .92rem; margin: 0; }
.news-sources ul { list-style: none; padding: 0; margin: 0; }
.news-sources li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.news-sources a:hover { text-decoration: underline; }
@media (max-width: 820px) {
  .news-item a, .news-list--compact .news-item a { grid-template-columns: 1fr 30px; gap: 10px 16px; }
  .news-meta { grid-column: 1 / -1; }
  .news-sources { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .person { grid-template-columns: 1fr; }
  .person-img { min-height: 0; aspect-ratio: 4/5; }
}
.nav-cta { white-space: nowrap; }
@media (min-width: 1081px) and (max-width: 1320px) { .nav-link { padding: 0 12px; } .nav-link::after { left: 12px; right: 12px; } .logo-claim { display: none; } .nav-cta { margin-left: 8px; } }
html { scroll-padding-top: calc(var(--header-h) + 72px); }

/* =========================================================
   LAYOUT v4 – Grafischer Aufbau
   Anleihen: Seitenleiste & Diagonale (Kempen Krause),
   Farbbox über Vollbild-Foto & Akzentband (Bähr Ingenieure)
   ========================================================= */
:root { --rail: 56px; }

/* Typografie: kräftige DIN-Versalien */
h1, h2, .display { font-family: var(--font); text-transform: uppercase; letter-spacing: .005em; }
h1 { font-weight: 900; line-height: .98; }
h2 { font-weight: 700; line-height: 1.05; }
.display { font-weight: 900; font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1; margin: 0 0 .4em; color: var(--ink); }
.on-dark .display, .section-dark .display { color: #fff; }
h3 { font-weight: 700; }
.lead-dark { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink); font-weight: 500; line-height: 1.55; }
.kicker { font-weight: 500; font-size: .8rem; letter-spacing: .22em; }
.kicker::before { width: 12px; height: 12px; }

/* Seitenleiste links (wie im Struktogramm) */
.rail { display: none; }
@media (min-width: 1081px) {
  body { padding-left: var(--rail); }
  .rail { display: flex; position: fixed; left: 0; top: 0; bottom: 0; width: var(--rail); z-index: 120; background: var(--navy-900);
          border-right: 1px solid rgba(255,255,255,.08); flex-direction: column; align-items: center; justify-content: space-between; padding: 30px 0 28px; }
  .rail-mark { width: 14px; height: 14px; background: var(--signal); }
  .rail-label { writing-mode: vertical-rl; transform: rotate(180deg); font-size: .72rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.55); white-space: nowrap; }
  .to-top { right: 20px; }
}

/* Buttons */
.btn { font-weight: 700; letter-spacing: .14em; }
.btn-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ink:hover { background: var(--navy-700); color: var(--signal); border-color: var(--navy-700); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--signal); }

/* Navigation */
.nav-link { font-weight: 500; font-size: .86rem; letter-spacing: .16em; }

/* Hero mit Vollbild-Foto, Diagonale und gelber Box */
.hero-photo { position: relative; min-height: min(calc(100vh - var(--header-h)), 900px); display: flex; align-items: center;
  padding: clamp(90px, 12vw, 150px) 0 clamp(150px, 16vw, 200px);
  background-color: var(--navy-900); background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: var(--navy-900); clip-path: polygon(100% 38%, 100% 100%, 58% 100%); opacity: .88; mask-image: none; -webkit-mask-image: none; background-image: none; }
.hero-photo::after { content: ""; position: absolute; right: 0; bottom: 0; width: 42%; height: 62%; background: none; border-top: 2px solid var(--signal);
  clip-path: polygon(100% 0, 100% 100%, 0 100%); transform-origin: bottom right; display: none; }
.hero-photo .wrap { position: relative; z-index: 2; }
.hero-photo h1 { font-size: clamp(2.6rem, 6.4vw, 5.8rem); max-width: 13ch; color: #fff; margin: 0; }
.hero-photo h1 em { color: var(--signal); }
.hero-box { background: var(--signal); color: var(--ink); max-width: 540px; padding: clamp(24px, 3vw, 36px); margin-top: clamp(28px, 4vw, 48px); }
.hero-box p { font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 500; line-height: 1.5; margin: 0 0 22px; color: var(--ink); }
.hero-meta-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; border-top: 1px solid rgba(255,255,255,.14); background: rgba(11,21,48,.55); }
.hero-meta-bar .hero-meta { margin: 0; border: 0; padding-bottom: 22px; }
.hero-meta strong { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 1.15rem; }
.hero-meta span { font-weight: 400; }

/* Seitenköpfe mit Foto + gelber Textbox (überlappend) */
.page-head { padding: clamp(80px, 11vw, 140px) 0 clamp(90px, 11vw, 130px); }
.page-head.has-photo { background-color: var(--navy-900); background-size: cover; background-position: center; background-repeat: no-repeat; }
.page-head.has-photo::before { background-image: none; mask-image: none; -webkit-mask-image: none; background: var(--navy-900); clip-path: polygon(100% 30%, 100% 100%, 64% 100%); opacity: .85; }
.page-head h1 { font-size: clamp(2.5rem, 6vw, 5.4rem); }
.page-index { color: rgba(255,255,255,.06); font-weight: 900; z-index: 1; }
.head-box-wrap { position: relative; z-index: 5; margin-top: -56px; }
.head-box { background: var(--signal); max-width: 680px; padding: 26px 32px; }
.head-box p { margin: 0; font-size: clamp(1.02rem, 1.4vw, 1.2rem); font-weight: 500; color: var(--ink); line-height: 1.5; }
.subnav { margin-top: 40px; top: var(--header-h); }

/* Kennzahlen (Zähler) */
.stats-band { background: var(--navy-800); position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: var(--signal); clip-path: polygon(0 0, 7% 0, 0 100%); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(40px, 5vw, 64px) 28px; border-left: 1px solid rgba(255,255,255,.1); position: relative; }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-size: clamp(3rem, 6.5vw, 5.4rem); font-weight: 900; line-height: 1; color: var(--signal); letter-spacing: -.01em; }
.stat span { display: block; margin-top: 12px; font-size: .82rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* Kompetenz-Kacheln mit Foto */
.section-tight { padding-bottom: 0; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); }
.tile { position: relative; overflow: hidden; min-height: clamp(380px, 38vw, 560px); display: flex; flex-direction: column; justify-content: space-between; padding: 28px; color: #fff; isolation: isolate; }
.tile-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform .6s ease; filter: saturate(.85); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,21,48,.35) 0%, rgba(11,21,48,.55) 40%, rgba(11,21,48,.95) 100%); transition: background .3s; }
.tile:hover .tile-bg { transform: scale(1.06); }
.tile:hover::after { background: linear-gradient(180deg, rgba(11,21,48,.5) 0%, rgba(11,21,48,.8) 40%, rgba(11,21,48,.97) 100%); }
.tile-num { font-size: 4.2rem; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.7); }
.tile:hover .tile-num { -webkit-text-stroke-color: var(--signal); }
.tile h3 { color: #fff; font-size: clamp(1.15rem, 1.6vw, 1.45rem); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.tile ul { list-style: none; padding: 0; margin: 0 0 18px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s ease, opacity .3s; }
.tile:hover ul, .tile:focus-visible ul { max-height: 260px; opacity: 1; }
.tile li { font-size: .92rem; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.85); }
.tile .more { color: #fff; margin: 0; }
.tile-body { position: relative; }
.tile-body::before { content: ""; display: block; width: 48px; height: 6px; background: var(--signal); margin-bottom: 18px; transition: width .3s; }
.tile:hover .tile-body::before { width: 100%; }

/* "Neues." – News-Karten */
.news-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.news-head .display { font-size: clamp(3rem, 8vw, 6.5rem); margin: 0; }
.news-head p { color: var(--muted); margin: 0 0 14px; }
.news-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news-card { background: #fff; border: 1px solid var(--line); padding: 26px 24px; display: flex; flex-direction: column; gap: 18px; min-height: 250px; position: relative; transition: transform .25s, box-shadow .25s, border-color .25s; }
.news-card::before { content: ""; position: absolute; left: -1px; top: -1px; right: -1px; height: 6px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(11,21,48,.45); border-color: var(--ink); }
.news-card:hover::before { transform: scaleX(1); }
.news-card strong { font-size: 1.1rem; font-weight: 500; line-height: 1.4; color: var(--ink); flex: 1; }
.news-card-foot { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; display: flex; justify-content: space-between; }

/* Akzentband "Unternehmensspirit" */
.spirit { display: grid; grid-template-columns: 1fr 1fr; background: var(--signal); }
.spirit-text { padding: clamp(48px, 7vw, 100px) clamp(24px, 6vw, 88px); align-self: center; }
.spirit-text .display { color: var(--ink); }
.spirit-text p { color: var(--ink); font-size: 1.1rem; max-width: 48ch; margin-bottom: 28px; }
.spirit-img { min-height: 460px; background-size: cover; background-position: center; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }

/* Abschluss & CTA */
.answer h2 { font-size: clamp(2.8rem, 8vw, 7rem); }
.cta-band h2 { text-transform: uppercase; font-weight: 900; font-size: clamp(1.6rem, 3.2vw, 2.6rem); }
.cta-band { position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 22%; background: var(--ink); clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%); opacity: .08; }

/* Leistungsblöcke: kräftigere Überschriften */
.service h2 { font-weight: 900; }
.service-num { font-size: 2.4rem; font-weight: 900; color: var(--line); letter-spacing: 0; margin-top: 16px; }
.section-head h2 { font-weight: 900; }
.pillar h3 { font-size: 1.25rem; letter-spacing: .1em; }
.value h3 { text-transform: uppercase; letter-spacing: .02em; }
.person h3 { font-weight: 700; }

@media (max-width: 1080px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .news-cards { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid rgba(255,255,255,.1); }
  .tile ul { max-height: 260px; opacity: 1; }
}
@media (max-width: 820px) {
  .spirit { grid-template-columns: 1fr; }
  .spirit-img { min-height: 300px; clip-path: none; }
  .hero-photo::before, .page-head.has-photo::before { clip-path: polygon(100% 60%, 100% 100%, 40% 100%); }
  .hero-meta-bar { position: static; }
  .hero-photo { flex-direction: column; align-items: stretch; padding-bottom: 0; }
  .hero-photo .wrap { padding-bottom: 56px; }
}
@media (max-width: 560px) {
  .tiles, .news-cards { grid-template-columns: 1fr; }
  .tile { min-height: 340px; }
  .head-box { padding: 20px; }
}

/* =========================================================
   RESPONSIVE – Feinschliff Smartphone & Tablet
   ========================================================= */
h1, h2, h3, .display { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
img { height: auto; }

/* Responsive Bilder (srcset) statt CSS-Hintergründen */
.hero-photo, .page-head.has-photo { isolation: isolate; }
.bg-img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: center; z-index: -2; }
.bg-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11,21,48,.94) 0%, rgba(11,21,48,.72) 45%, rgba(11,21,48,.28) 100%); }
.hero-photo::before, .page-head.has-photo::before { z-index: 0; }
.page-head .wrap { z-index: 2; }
.tile-bg { width: 100%; height: 100% !important; object-fit: cover; }
.spirit-img { position: relative; overflow: hidden; }
.spirit-img .bg-img { z-index: 0; }

/* Überschriften: Trennung nur wo nötig */
h1 { hyphens: manual; -webkit-hyphens: manual; }
.cta-band h2, .display { hyphens: manual; -webkit-hyphens: manual; }
.value h3, .service h2, .member h3 { hyphens: auto; -webkit-hyphens: auto; }

/* Touch-Geräte */
html { -webkit-tap-highlight-color: rgba(255,255,0,.25); }
@media (hover: none) {
  .tile ul { max-height: 260px; opacity: 1; }
  .tile-body::before { width: 100%; }
  .client img { filter: none; opacity: 1; }
  .news-card:hover, .pillar:hover { transform: none; }
}
@media (min-width: 1081px) {
  .nav-item.open > .drop, .nav-item.open > .mega-panel { opacity: 1; visibility: visible; transform: none; }
}

/* Safe-Area (Notch) */
.site-header > .wrap { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.to-top { bottom: max(20px, env(safe-area-inset-bottom)); }

/* Unterseiten-Navigation: Scroll-Hinweis auf kleinen Displays */
@media (max-width: 820px) {
  .subnav ul { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); scroll-snap-type: x proximity; }
  .subnav li { scroll-snap-align: start; }
  .subnav a { padding: 14px 14px; font-size: .76rem; }
  .subnav { margin-top: 28px; }
}

/* Tablet (821–1080 px) */
@media (min-width: 821px) and (max-width: 1080px) {
  .hero-photo h1 { font-size: clamp(3rem, 7vw, 4.6rem); }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service { grid-template-columns: 140px 1fr; }
}

/* Tablet hoch (561–820 px) */
@media (min-width: 561px) and (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { display: grid; grid-template-columns: 72px 1fr; column-gap: 28px; }
  .pillar .icon { grid-row: span 4; margin: 0; }
  .hero-photo h1 { font-size: clamp(2.6rem, 8.4vw, 4rem); }
  .service { grid-template-columns: 110px 1fr; gap: 28px; }
  .service-icon { width: 88px; height: 88px; }
  .people { grid-template-columns: 1fr; }
  .person { grid-template-columns: 220px 1fr; }
  .person-img { aspect-ratio: auto; min-height: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Smartphone (bis 560 px) */
@media (max-width: 560px) {
  :root { --header-h: 68px; --gutter: 18px; }
  .logo-img { height: 26px; }
  .hero-photo { min-height: 0; padding-top: 64px; }
  .hero-photo h1 { font-size: clamp(1.9rem, 9.6vw, 2.6rem); line-height: 1; }
  .hero-box { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 24px var(--gutter); }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .hero-meta strong { font-size: 1rem; }
  .page-head { padding: 56px 0 84px; }
  .page-head h1 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .page-index { display: none; }
  .head-box-wrap { margin-top: -44px; }
  .display { font-size: clamp(1.75rem, 8.4vw, 2.3rem); }
  .news-head .display { font-size: 3rem; }
  .answer h2 { font-size: clamp(2.2rem, 11vw, 3rem); }
  .section { padding: 56px 0; }
  .section-tight { padding-bottom: 0; }
  .stats-band::before { clip-path: polygon(0 0, 5% 0, 0 100%); }
  .stat { padding: 28px 18px; }
  .stat strong { font-size: 2.8rem; }
  .stat span { font-size: .7rem; letter-spacing: .12em; }
  .tile { min-height: 300px; padding: 22px; }
  .tile-num { font-size: 3rem; }
  .spirit-text { padding: 48px var(--gutter); }
  .spirit-img { min-height: 240px; }
  .service-icon { width: 76px; height: 76px; }
  .service-icon svg { width: 44px; height: 44px; }
  .service-num { font-size: 1.6rem; }
  .service h2 { font-size: 1.3rem; }
  .checklist li { padding: 11px 0 11px 30px; }
  .quote p { font-size: 1.05rem; }
  .callout { padding: 14px 16px; }
  .client { min-height: 92px; padding: 16px; }
  .client img { max-height: 40px; }
  .cert { padding: 22px; gap: 18px; }
  .form-card { padding: 24px 18px; border-left: 0; border-right: 0; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { justify-content: center; }
  .field-wrap input, .field-wrap textarea, .field-wrap select { font-size: 16px; } /* verhindert iOS-Zoom */
  .news-item a { padding: 16px 4px; }
  .news-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; padding-bottom: 4px; }
  .news-filter::-webkit-scrollbar { display: none; }
  .news-filter button { white-space: nowrap; }
  .news-sources { padding: 22px 18px; }
  .member { padding: 24px 18px; }
  .footer-grid { gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .btn { padding: 13px 18px; }
}

/* Smartphone quer */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-photo { min-height: 0; padding-top: 48px; }
  .nav { padding-bottom: 24px; }
}
.hero-photo h1 { max-width: 16ch; overflow-wrap: normal; }
@media (max-width: 380px) { .hero-photo h1 { font-size: 8.8vw; } }
.stats small { display: block; line-height: 1.4; margin-top: 6px; }
.stats strong span { font-variant-numeric: tabular-nums; }

/* Liveticker */
.ticker-title { display: inline-flex; align-items: center; gap: .32em; }
.live-dot { width: .32em; height: .32em; border-radius: 50%; background: #e3000f; position: relative; flex: none; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #e3000f; animation: livepulse 1.6s ease-out infinite; }
@keyframes livepulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .live-dot::after { animation: none; } }

/* Fachverbände: verlinkt */
a.member-logo { transition: border-color .2s, box-shadow .2s; }
a.member-logo:hover { border-color: var(--ink); box-shadow: 0 12px 28px -18px rgba(11,21,48,.5); }
.member h3 a:hover { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.member-link { display: inline-block; margin-top: 4px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--signal); padding: 6px 10px; }
.member-link:hover { background: var(--ink); color: var(--signal); }
.member-logo.has-img img[src$=".svg"] { width: 100%; max-height: 110px; }

/* ohne Nummerierung: Leistungsblöcke */
.service-aside { align-self: start; }
.tile { justify-content: flex-end; }
.tile .more .arrow { background: var(--signal); color: var(--signal); }

/* Rechtstexte */
.legal-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--bg-alt); border-left: 4px solid var(--signal); padding: 26px 24px; font-size: .95rem; }
.legal-card p { margin-bottom: .9em; }
.legal-card a { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal-toc ol { margin: 0; padding-left: 1.3em; font-size: .9rem; line-height: 1.5; }
.legal-toc li { padding: 3px 0; }
.legal-toc a { text-decoration: none; color: var(--text); }
.legal-toc a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--signal); }
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 700; margin: 2.2em 0 .7em; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal h2:first-child, .legal .legal-lead + h2 { margin-top: 0; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { padding: 3px 0; }
.legal a { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal-lead { font-size: 1.1rem; color: var(--ink); background: var(--signal-soft); border-left: 4px solid var(--ink); padding: 18px 22px; margin-bottom: 2.4em; }
.legal-meta { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-card { position: static; }
}

/* Formularversand */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; border-left: 4px solid #c0392b; background: #fdecea; padding: 16px 20px; margin-top: 20px; color: #7a1d14; }
.form-error.show { display: block; }
.form-card { position: relative; }
button[disabled] { opacity: .65; cursor: wait; }
