/* IF Holding — Corporate Industrial (Edition 03) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #ffffff;
  --bg-2: #f5f5f4;
  --bg-3: #ebebe9;
  --bg-dark: #001b2e;
  --bg-dark-2: #00253f;

  --fg: #1a1a1a;
  --fg-2: #4a4a4a;
  --fg-3: #767676;
  --fg-4: #b5b5b5;

  --line: #e5e5e3;
  --line-strong: #c8c8c6;
  --rule: #1a1a1a;

  --accent: #0e7eb8;          /* Brand blue (logo gradient mid) */
  --accent-2: #08609a;
  --accent-ink: #ffffff;
  --warn: #c8102e;            /* Industrial red, sparingly */

  --font: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --maxw: 1440px;
  --pad: clamp(20px, 4vw, 56px);
}

[data-mode="dark"] {
  --bg: #0a0e12;
  --bg-2: #11161c;
  --bg-3: #1a2128;
  --bg-dark: #050a0f;
  --bg-dark-2: #0a1219;
  --fg: #ffffff;
  --fg-2: #c8ccd0;
  --fg-3: #8a9099;
  --fg-4: #5a6068;
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.22);
  --rule: rgba(255,255,255,.85);
  --accent: #4a9fc9;
  --accent-2: #6ab4d7;
  --accent-ink: #050a0f;
}
[data-palette="forest"] { --accent: #1f5230; --accent-2: #143a20; }
[data-mode="dark"][data-palette="forest"] { --accent: #6cb878; --accent-2: #90ce99; }
[data-palette="brass"] { --accent: #7a5a1e; --accent-2: #5a4014; }
[data-mode="dark"][data-palette="brass"] { --accent: #c9a96e; --accent-2: #d8bd86; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern', 'liga';
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ============ UTILITY BAR ============ */
.utilbar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--fg-2);
}
.utilbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  gap: 24px;
}
@media (max-width: 900px) {
  .utilbar .left a:nth-child(2) span,
  .utilbar .left > span { display: none; }
  .utilbar .right a[data-i="util.karriere"],
  .utilbar .right a[data-i="util.presse"] { display: none; }
}
.utilbar .left { display: flex; gap: 24px; align-items: center; }
.utilbar .left a { color: var(--fg-2); display: inline-flex; align-items: center; gap: 8px; transition: color .15s; }
.utilbar .left a:hover { color: var(--accent); }
.utilbar .left a svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.utilbar .right { display: flex; gap: 0; align-items: center; }
.utilbar .right a { padding: 0 12px; color: var(--fg-2); transition: color .15s; border-left: 1px solid var(--line); }
.utilbar .right a:first-child { border-left: none; }
.utilbar .right a:hover { color: var(--accent); }
.lang-pick { display: inline-flex; gap: 2px; padding-left: 12px; border-left: 1px solid var(--line); }
.lang-btn {
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-3);
  transition: color .15s;
}
.lang-btn.active { color: var(--accent); }
.lang-btn:hover { color: var(--fg); }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.site-header .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
  height: 80px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.brand-name {
  font-weight: 700; font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
}
.brand-sub {
  font-size: 12px;
  color: var(--fg-3);
  margin-top: 2px;
}
@media (max-width: 1180px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 17px; }
}
@media (max-width: 1050px) {
  .nav-link[data-i="util.presse"] { display: none; }
}

.nav { display: flex; gap: 0; align-items: center; justify-self: center; }
@media (max-width: 1100px) {
  .site-header .container { grid-template-columns: auto 1fr auto; gap: 16px; }
  .nav { gap: 0; }
  .nav-link { padding: 30px 12px; font-size: 14px; }
}
@media (max-width: 980px) {
  .nav-link[href="index.html#refs"], .nav-link[href="#refs"] { display: none; }
  .header-cta .arrow { display: none; }
  .header-cta { padding: 11px 16px; }
}
@media (max-width: 820px) {
  .nav { display: none; }
  .site-header .container { grid-template-columns: auto 1fr auto; height: 68px; }
}
.nav-link {
  padding: 30px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-2);
  position: relative;
  transition: color .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav-link:hover { color: var(--fg); }
.nav-link.active { color: var(--accent); font-weight: 600; }
.nav-link.active::after {
  content: ''; position: absolute;
  left: 18px; right: 18px; bottom: -1px;
  height: 3px; background: var(--accent);
}
.nav-link .chev {
  display: inline-block;
  font-size: 10px;
  opacity: 0.5;
  transition: transform .2s;
}
.nav-item:hover .chev, .nav-item:focus-within .chev { transform: rotate(180deg); }

/* ============ NAV DROPDOWN (Geschäftsbereiche) ============ */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-item .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 296px;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0,0,0,.14);
  padding: 10px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-item .dropdown a {
  display: block;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-2);
  border-radius: 2px;
  white-space: nowrap;
  transition: background .12s, color .12s;
}
.nav-item .dropdown a:hover { background: var(--bg-2); color: var(--accent); }
.nav-item .dropdown .dd-parent { font-weight: 700; color: var(--fg); }
.nav-item .dropdown .dd-sub { margin: 2px 0 4px; }
.nav-item .dropdown .dd-sub a {
  position: relative;
  padding-left: 34px;
  color: var(--fg-3);
}
.nav-item .dropdown .dd-sub a::before {
  content: '→';
  position: absolute;
  left: 16px;
  color: var(--accent);
  font-weight: 700;
}
.nav-item .dropdown .dd-divider { height: 1px; background: var(--line); margin: 8px 6px; }
.nav-item .dropdown .dd-all { color: var(--accent); font-weight: 600; }
@media (max-width: 820px) { .nav-item .dropdown { display: none; } }

/* Header search + cta */
.header-actions { display: flex; gap: 12px; align-items: center; }
.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--fg-2);
  transition: color .15s, background .15s;
  border: 1px solid transparent;
}
.icon-btn:hover { color: var(--accent); border-color: var(--line); }
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }

.header-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  font-size: 14px; font-weight: 600;
  background: var(--accent); color: var(--accent-ink);
  transition: background .15s;
  white-space: nowrap;
}
.header-cta:hover { background: var(--accent-2); }
.header-cta .arrow { transition: transform .25s; }
.header-cta:hover .arrow { transform: translateX(4px); }
.header-cta .cta-short { display: none; }
@media (max-width: 980px) {
  .header-cta .cta-full { display: none; }
  .header-cta .cta-short { display: inline; }
  .header-cta .arrow { display: none; }
  .header-cta { padding: 11px 16px; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 26px;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0;
  background: var(--accent); color: var(--accent-ink);
  border: 1px solid var(--accent);
  transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn.lg { padding: 17px 32px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--fg); background: transparent; color: var(--fg); }
.btn.white { background: #fff; color: #0a0e12; border-color: #fff; }
.btn.white:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* Link arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  transition: gap .2s;
}
.link-arrow:hover { gap: 14px; }
.link-arrow svg { width: 18px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.8; transition: transform .2s; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
  color: var(--fg);
}
h1 { font-size: clamp(38px, 5vw, 62px); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -0.025em; }
h3 { font-size: clamp(19px, 1.8vw, 24px); letter-spacing: -0.015em; }
h4 { font-size: 17px; letter-spacing: -0.01em; font-weight: 600; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
}
.eyebrow.light { color: var(--fg-3); }
p { text-wrap: pretty; }
.lead {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 62ch;
}
.body { font-size: 16px; line-height: 1.65; color: var(--fg-2); }
.body p + p { margin-top: 1em; }

section { padding: clamp(52px, 6.5vw, 92px) 0; }

/* ============ MARQUEE PARTNER BAR ============ */
.marquee-bar {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
  overflow: hidden;
  position: relative;
}
.marquee-bar .label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 24px;
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg-2);
  padding: 0 40px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 40px;
  opacity: 0.65;
  transition: opacity .2s, color .2s;
}
.marquee-item:hover { opacity: 1; color: var(--accent); }
.marquee-item::after {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  display: inline-block;
  border-radius: 50%;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ PROCESS / WIE WIR ARBEITEN ============ */
.process {
  background: var(--bg);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--rule);
  margin-top: 32px;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .process-grid { grid-template-columns: 1fr; } }
.process-step {
  padding: 40px 32px 48px;
  border-right: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg);
  transition: background .2s;
}
.process-step:last-child { border-right: none; }
.process-step:hover { background: var(--bg-2); }
.process-step::before {
  content: '';
  position: absolute;
  top: -2px; left: 0;
  height: 4px;
  width: 0;
  background: var(--accent);
  transition: width .5s cubic-bezier(.2,.7,.2,1);
}
.process-step:hover::before { width: 100%; }
.process-step .num {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.04em;
}
.process-step h4 {
  font-size: 19px;
  font-weight: 700;
  margin-top: 12px;
}
.process-step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
}
.process-step .meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ============ TEAM / GESCHÄFTSFÜHRUNG ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 32px);
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color .25s, transform .25s;
}
.team-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.team-card .photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-3);
  position: relative;
}
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); transition: filter .4s; }
.team-card:hover .photo img { filter: grayscale(0); }
.team-card .body-card {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.team-card .name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.team-card .role {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.team-card .bio {
  margin-top: 12px;
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.55;
}
.team-card .contact {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}
.team-card .contact a:hover { color: var(--accent); }

/* ============ NETZWERK MAP (DE + TR) ============ */
.network {
  background: var(--bg-dark);
  color: #fff;
}
.network h2 { color: #fff; }
.network .lead { color: rgba(255,255,255,.78); }
.network .eyebrow { color: rgba(255,255,255,.6); }
.network-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 900px) { .network-grid { grid-template-columns: 1fr; } }
.network-map {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-dark-2);
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
}
.network-map svg { width: 100%; height: 100%; display: block; }
.network-map .map-stroke { stroke: rgba(255,255,255,.18); fill: rgba(255,255,255,.04); }
.network-map .map-pin {
  fill: var(--accent);
  stroke: #fff;
  stroke-width: 2;
}
.network-map .map-pin-hq {
  fill: var(--warn);
  stroke: #fff;
  stroke-width: 2.5;
}
.network-map .pin-pulse {
  fill: var(--warn);
  opacity: 0.4;
  animation: pinpulse 2s ease-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes pinpulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(3); opacity: 0; }
}
.network-map .map-label {
  fill: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
}
.network-map .map-label-sub {
  fill: rgba(255,255,255,.5);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-family: var(--font);
  text-transform: uppercase;
}
.network-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.network-stats .stat {
  padding: 24px 28px 24px 0;
  border-right: 1px solid rgba(255,255,255,.15);
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.network-stats .stat:nth-child(2n) { border-right: none; padding-right: 0; padding-left: 28px; }
.network-stats .stat:nth-last-child(-n+2) { border-bottom: none; }
.network-stats .num {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.network-stats .num .unit { color: var(--accent); font-size: 0.55em; margin-left: 4px; }
.network-stats .lbl { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 8px; }

/* ============ CERTIFICATES ROW ============ */
.certs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  margin-top: 32px;
}
@media (max-width: 900px) { .certs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .certs { grid-template-columns: 1fr; } }
.cert-cell {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  align-items: center;
}
.cert-cell:last-child { border-right: none; }
@media (max-width: 900px) {
  .cert-cell:nth-child(2n) { border-right: none; }
  .cert-cell { border-bottom: 1px solid var(--line); }
}
.cert-cell .badge {
  width: 60px; height: 60px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.cert-cell .name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.cert-cell .desc {
  font-size: 12px;
  color: var(--fg-3);
  line-height: 1.45;
}

/* ============ NEWS LIST (full presse page) ============ */
.news-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.news-row {
  display: grid;
  grid-template-columns: 180px 140px 1fr auto;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: padding-left .2s, background .2s;
}
.news-row:hover { padding-left: 16px; background: var(--bg-2); }
.news-row .img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-3);
}
.news-row .img img { width: 100%; height: 100%; object-fit: cover; }
.news-row .meta { font-size: 13px; color: var(--fg-3); }
.news-row .meta .tag { color: var(--accent); font-weight: 600; display: block; margin-bottom: 4px; }
.news-row h4 { font-size: 19px; line-height: 1.35; }
.news-row .arrow {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--fg);
  transition: background .15s, color .15s, border-color .15s;
}
.news-row:hover .arrow { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
@media (max-width: 800px) {
  .news-row { grid-template-columns: 100px 1fr; grid-template-rows: auto auto; gap: 16px; }
  .news-row .img { grid-row: 1 / span 2; }
  .news-row .meta { grid-column: 2; }
  .news-row h4 { grid-column: 2; font-size: 16px; }
  .news-row .arrow { display: none; }
}

/* ============ JOB CARD ============ */
.jobs-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.job-row {
  display: grid;
  grid-template-columns: 1fr 200px 180px auto;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: padding-left .2s, background .2s;
}
.job-row:hover { padding-left: 16px; background: var(--bg-2); }
.job-row .role { font-size: 18px; font-weight: 600; }
.job-row .role .area { font-size: 13px; color: var(--accent); font-weight: 600; display: block; margin-bottom: 4px; }
.job-row .type { font-size: 14px; color: var(--fg-2); }
.job-row .location { font-size: 14px; color: var(--fg-2); }
.job-row .arrow {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  transition: all .15s;
}
.job-row:hover .arrow { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
@media (max-width: 800px) {
  .job-row { grid-template-columns: 1fr auto; grid-template-rows: auto auto auto; gap: 8px; }
  .job-row .role { grid-row: 1; }
  .job-row .type, .job-row .location { font-size: 12px; }
  .job-row .arrow { grid-row: 1 / span 3; }
}

/* ============ BIG NUMBERS HERO (detail pages) ============ */
.detail-hero {
  background: var(--bg-dark);
  color: #fff;
  padding: clamp(80px, 10vw, 140px) 0 0;
  position: relative;
  overflow: hidden;
}
.detail-hero .crumbs { color: rgba(255,255,255,.55); margin-bottom: 24px; font-size: 13px; }
.detail-hero .crumbs a:hover { color: var(--accent); }
.detail-hero .crumbs span { color: #fff; }
.detail-hero h1 { color: #fff; }
.detail-hero .lead { color: rgba(255,255,255,.78); max-width: 50ch; }
.detail-hero .container { padding-bottom: clamp(64px, 8vw, 96px); }
.detail-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
@media (max-width: 900px) { .detail-hero-grid { grid-template-columns: 1fr; } }
.detail-hero .num-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 56px;
}
.detail-hero .num-row .nc {
  padding: 24px 24px 0;
  border-right: 1px solid rgba(255,255,255,.15);
}
.detail-hero .num-row .nc:first-child { padding-left: 0; }
.detail-hero .num-row .nc:last-child { border-right: none; padding-right: 0; }
.detail-hero .num-row .num { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.detail-hero .num-row .num .unit { color: var(--accent); font-size: 0.5em; margin-left: 4px; }
.detail-hero .num-row .lbl { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 8px; }
.detail-hero .hero-image-detail {
  margin: 0;
  aspect-ratio: 16/8;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.detail-hero .hero-image-detail img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }

/* ============ FAQ ============ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  cursor: pointer;
}
.faq-item summary {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 32px;
  gap: 20px;
  align-items: center;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h4 { font-size: 18px; font-weight: 600; }
.faq-item summary .plus {
  font-size: 24px; font-weight: 400;
  color: var(--accent);
  transition: transform .25s;
  text-align: center;
  line-height: 1;
}
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .answer {
  padding-top: 16px;
  padding-right: 60px;
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.65;
}
.faq-item .answer p + p { margin-top: 1em; }

/* Section heading helper */
.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  margin-bottom: clamp(48px, 6vw, 80px);
  align-items: end;
}
.section-head .left { max-width: none; }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 78vh;
  align-items: stretch;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { aspect-ratio: 16/10; }
}
.hero-text {
  padding: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 64px) clamp(48px, 7vw, 96px) var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  max-width: 740px;
  margin-left: auto;
}
.hero-text .eyebrow { margin-bottom: -8px; }
.hero h1 { max-width: none; }
.hero-text .lead { max-width: 48ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }

.hero-image {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-image .badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--bg);
  padding: 16px 20px;
  border-left: 4px solid var(--accent);
  max-width: 320px;
}
.hero-image .badge .label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.hero-image .badge .value {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
  line-height: 1.35;
}

/* Hero stats bar (below hero) */
.hero-stats {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.hero-stat {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-stat:last-child { border-right: none; }
.hero-stat .num {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.hero-stat .num .unit {
  font-size: 0.5em;
  font-weight: 500;
  color: var(--accent);
  margin-left: 4px;
}
.hero-stat .lbl {
  font-size: 13px;
  color: var(--fg-3);
  font-weight: 500;
}
@media (max-width: 800px) {
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat:nth-child(1), .hero-stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ============ STAGE / TOPIC CARDS (6 Geschäftsbereiche) ============ */
.stage {
  background: var(--bg);
}
.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
@media (max-width: 900px) { .stage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .stage-grid { grid-template-columns: 1fr; } }

.stage-card {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  transition: border-color .25s, transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .25s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.stage-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,.08);
}
[data-mode="dark"] .stage-card:hover { box-shadow: 0 16px 36px rgba(0,0,0,.3); }
.stage-card .img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-3);
  position: relative;
}
.stage-card .img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.stage-card:hover .img img { transform: scale(1.05); }
.stage-card .img .corner {
  position: absolute;
  top: 0; left: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 10px;
}
.stage-card .body-card {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.stage-card .eyebrow { color: var(--fg-3); margin-bottom: 4px; font-size: 12px; }
.stage-card h3 {
  font-weight: 700;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.2;
}
.stage-card .desc {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.55;
}
.stage-card .arrow-row {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.stage-card .arrow-row .a-icon { width: 32px; height: 32px; display: grid; place-items: center; transition: transform .25s; }
.stage-card:hover .arrow-row .a-icon { transform: translateX(4px); }
.stage-card .arrow-row svg { width: 18px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* ============ HORIZONTAL FEATURE BLOCK ============ */
.feature-block {
  background: var(--bg-dark);
  color: #fff;
}
.feature-block .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 900px) { .feature-block .container { grid-template-columns: 1fr; } }
.feature-block h2 { color: #fff; }
.feature-block .lead { color: rgba(255,255,255,.78); }
.feature-block .eyebrow { color: rgba(255,255,255,.6); }
.feature-block .img-frame {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.feature-block .img-frame img { width: 100%; height: 100%; object-fit: cover; }
.feature-block .img-frame .caption {
  position: absolute;
  left: 0; bottom: 0; right: 0;
  padding: 16px 20px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.7));
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

.feature-checks {
  display: grid;
  gap: 14px;
  margin: 32px 0;
}
.feature-checks li {
  list-style: none;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  font-size: 16px;
  color: rgba(255,255,255,.88);
  align-items: start;
}
.feature-checks li::before {
  content: '';
  width: 20px; height: 20px;
  margin-top: 2px;
  background: var(--accent);
  border-radius: 50%;
  display: block;
  position: relative;
  box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 4px var(--accent);
}

/* ============ STATS / ZAHLEN ============ */
.stats-section {
  background: var(--bg-2);
}
.stats-section .container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) { .stats-section .container { grid-template-columns: 1fr; } }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}
.stat-cell {
  background: var(--bg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stat-cell .num {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.stat-cell .num .unit {
  font-size: 0.45em;
  color: var(--accent);
  margin-left: 4px;
  font-weight: 600;
}
.stat-cell .lbl {
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
}
.stat-cell .desc {
  font-size: 14px;
  color: var(--fg-3);
  line-height: 1.5;
}

/* ============ NEWS / AKTUELLES ============ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }
.news-card {
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color .25s, transform .35s cubic-bezier(.2,.7,.2,1);
  text-decoration: none;
}
.news-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.news-card .img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-3);
}
.news-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.news-card:hover .img img { transform: scale(1.05); }
.news-card .body-card { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.news-card .meta {
  font-size: 12px;
  color: var(--fg-3);
  display: flex;
  gap: 12px;
  font-weight: 500;
}
.news-card .meta .tag { color: var(--accent); font-weight: 600; }
.news-card h4 {
  font-size: 18px;
  line-height: 1.3;
  color: var(--fg);
  flex: 1;
}
.news-card .read-more {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px;
}

/* ============ REFERENCES ============ */
.refs-section { background: var(--bg-2); }
.refs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--bg);
}
.ref-cell {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 24px;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--fg);
  min-height: 100px;
  transition: background .15s;
}
.ref-cell:hover { background: var(--bg-2); color: var(--accent); }
.ref-cell:nth-child(6n) { border-right: none; }
.refs-grid > :nth-last-child(-n+6) { border-bottom: none; }
@media (max-width: 800px) {
  .refs-grid { grid-template-columns: repeat(3, 1fr); }
  .ref-cell:nth-child(6n) { border-right: 1px solid var(--line); }
  .ref-cell:nth-child(3n) { border-right: none; }
}

/* ============ CTA SECTION ============ */
.cta-section {
  background: var(--bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-section .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
}
@media (max-width: 800px) { .cta-section .container { grid-template-columns: 1fr; } }
.cta-section h2 {
  color: #fff;
}
.cta-section .lead { color: rgba(255,255,255,.82); }
.cta-section .eyebrow { color: var(--accent); }
.cta-info {
  display: grid;
  gap: 18px;
  font-size: 15px;
  color: rgba(255,255,255,.85);
}
.cta-info .row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.15); }
.cta-info .row:last-child { border-bottom: none; }
.cta-info .lbl { font-size: 12px; color: rgba(255,255,255,.55); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 2px; }
.cta-info .val { font-weight: 500; }
.cta-info .val a:hover { color: var(--accent); }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--bg-dark-2);
  color: rgba(255,255,255,.7);
  padding: 64px 0 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.15);
  margin-bottom: 24px;
}
@media (max-width: 900px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
.footer-brand .footer-mark {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.footer-brand .footer-mark .footer-mark-sq {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.footer-brand .footer-mark .footer-mark-sq img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(1.2);
}
.footer-brand .footer-mark .footer-mark-name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.footer-brand .tag {
  font-size: 14px;
  line-height: 1.55;
  max-width: 32ch;
  color: rgba(255,255,255,.65);
}
.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.footer-col a, .footer-col .item {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: rgba(255,255,255,.65);
  transition: color .15s;
}
.footer-col a:hover { color: var(--accent); }
.footer-col .item-mute { color: rgba(255,255,255,.5); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap; gap: 16px;
  padding-top: 8px;
}
.footer-bottom .legal { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--accent); }

/* ============ PAGE HEADER (sub-pages) ============ */
.page-header {
  background: var(--bg-2);
  padding: clamp(56px, 7vw, 100px) 0 clamp(36px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
}
.page-header .crumbs {
  font-size: 13px;
  color: var(--fg-3);
  margin-bottom: 24px;
}
.page-header .crumbs a:hover { color: var(--accent); }
.page-header .crumbs span { color: var(--fg); font-weight: 500; }
.page-header-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
@media (max-width: 800px) { .page-header-grid { grid-template-columns: 1fr; } }
.page-header h1 { max-width: none; }

/* ============ FEATURE ROW (alternating image/text) ============ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(48px, 6vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}
.feature-row.reverse .feature-image { order: 2; }
@media (max-width: 900px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-image { order: initial; }
}
.feature-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--bg-3);
}
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-image .badge-corner {
  position: absolute;
  top: 0; left: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 10px 16px;
}
.feature-text .eyebrow { margin-bottom: 14px; }
.feature-text h2 { margin-bottom: 18px; }
.feature-text .lead { margin-bottom: 24px; }
.feature-text ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feature-text ul li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  font-size: 15px;
  color: var(--fg-2);
}
.feature-text ul li::before {
  content: '→';
  color: var(--accent);
  font-weight: 700;
}

/* ============ FORM ============ */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.form-grid .full { grid-column: span 2; }
@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: span 1; }
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}
.field input, .field textarea, .field select {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--fg);
  padding: 13px 16px;
  font-family: var(--font); font-size: 15px;
  transition: border-color .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent);
}
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: 12px; color: var(--fg-3); }
.contact-split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 80px);
}
@media (max-width: 900px) { .contact-split { grid-template-columns: 1fr; } }

/* Map placeholder */
.map-frame {
  aspect-ratio: 4/3;
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-3);
}
.map-frame img {
  width: 100%; height: 100%; object-fit: cover;
}
.map-frame .pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.map-frame .pin .dot {
  width: 18px; height: 18px;
  background: var(--accent);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 35%, transparent);
}
.map-frame .pin .lbl {
  background: var(--bg);
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 600;
}

/* ============ SCROLL REVEAL ============ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--rev-delay, 0ms);
  }
  .reveal.in { opacity: 1; transform: translateY(0); }

  /* Image clip-path reveal */
  .img-reveal {
    position: relative;
    overflow: hidden;
  }
  .img-reveal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg);
    transform-origin: top;
    transform: scaleY(1);
    transition: transform 1.2s cubic-bezier(.7,0,.2,1);
    transition-delay: var(--rev-delay, 100ms);
    z-index: 3;
    pointer-events: none;
  }
  .img-reveal.in::before { transform: scaleY(0); }
  .img-reveal img {
    transform: scale(1.1);
    transition: transform 1.8s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--rev-delay, 100ms);
  }
  .img-reveal.in img { transform: scale(1); }

  /* Don't let card hover-zoom break after reveal */
  .stage-card .img.img-reveal img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
  .stage-card .img.img-reveal.in img { transform: scale(1); transition-delay: 0ms; }
  .stage-card:hover .img.img-reveal.in img { transform: scale(1.05); }
  .news-card .img.img-reveal img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
  .news-card .img.img-reveal.in img { transform: scale(1); transition-delay: 0ms; }
  .news-card:hover .img.img-reveal.in img { transform: scale(1.05); }

  /* Eyebrow underline animation */
  .eyebrow {
    position: relative;
  }
  .eyebrow.reveal::after {
    content: '';
    position: absolute;
    left: 0; bottom: -8px;
    height: 2px;
    width: 0;
    background: var(--accent);
    transition: width 1s cubic-bezier(.2,.7,.2,1);
    transition-delay: 200ms;
  }
  .eyebrow.reveal.in::after { width: 36px; }
  .stage-card .eyebrow.reveal::after,
  .news-card .meta .tag::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .img-reveal::before { display: none; }
  .img-reveal img { transform: none !important; }
}

/* ============ TOP SCROLL PROGRESS BAR ============ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
  z-index: 100;
  pointer-events: none;
  transition: width .1s linear;
}

/* ============ SCROLL TO TOP ============ */
.scroll-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 48px; height: 48px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid; place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s, transform .35s cubic-bezier(.2,.7,.2,1), background .15s;
  z-index: 40;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { background: var(--accent-2); }

/* ============ STAGE CARD top accent bar slides in ============ */
.stage-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
  transition: width .4s cubic-bezier(.2,.7,.2,1);
  z-index: 4;
}
.stage-card:hover::before { width: 100%; }

/* ============ NEWS CARD top accent bar ============ */
.news-card { position: relative; }
.news-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width .4s cubic-bezier(.2,.7,.2,1);
  z-index: 4;
}
.news-card:hover::before { width: 100%; }

/* ============ Hero image starts hidden (so its mask reveal works) ============ */
.hero-image .badge { /* keep above mask */ z-index: 5; position: absolute; }

/* =====================================================================
   LEISTUNGS-ANIMATIONEN (Photovoltaik / Wärmepumpe) — reine CSS/SVG
   ===================================================================== */
.svc-anim {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  background: linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.svc-anim svg { width: 100%; height: 100%; display: block; }
.svc-anim .anim-cap {
  position: absolute; left: 20px; bottom: 18px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: 8px;
}
.svc-anim .anim-cap::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 0 var(--accent);
  animation: animPulse 2s infinite;
}
@keyframes animPulse {
  0%   { box-shadow: 0 0 0 0 rgba(14,126,184,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(14,126,184,0); }
  100% { box-shadow: 0 0 0 0 rgba(14,126,184,0); }
}
@media (prefers-reduced-motion: reduce) {
  .svc-anim *[class*="anim"], .svc-anim .spin, .svc-anim .flow, .svc-anim .ray { animation: none !important; }
}

/* ---- Photovoltaik animation ---- */
.pv-sun { transform-box: fill-box; transform-origin: center; animation: pvRot 26s linear infinite; }
@keyframes pvRot { to { transform: rotate(360deg); } }
.pv-sun-core { animation: pvGlow 3.4s ease-in-out infinite; }
@keyframes pvGlow { 0%,100% { opacity: .9; } 50% { opacity: 1; } }
.pv-flow circle { animation: pvFlow 2.4s linear infinite; opacity: 0; }
.pv-flow circle:nth-child(2) { animation-delay: .6s; }
.pv-flow circle:nth-child(3) { animation-delay: 1.2s; }
.pv-flow circle:nth-child(4) { animation-delay: 1.8s; }
@keyframes pvFlow {
  0%   { opacity: 0; transform: translate(0,0); }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { opacity: 0; transform: translate(92px, 30px); }
}
.pv-house-glow { animation: pvHouse 2.4s ease-in-out infinite; }
@keyframes pvHouse { 0%,100% { opacity: .25; } 50% { opacity: .8; } }

/* ---- Wärmepumpe animation ---- */
.hp-fan { transform-box: fill-box; transform-origin: center; animation: hpSpin 2.6s linear infinite; }
@keyframes hpSpin { to { transform: rotate(360deg); } }
.hp-loop circle { animation: hpLoop 2.6s linear infinite; opacity: 0; }
.hp-loop circle:nth-child(2) { animation-delay: .65s; }
.hp-loop circle:nth-child(3) { animation-delay: 1.3s; }
.hp-loop circle:nth-child(4) { animation-delay: 1.95s; }
@keyframes hpLoop {
  0%   { opacity: 0; transform: translateX(0); }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(118px); }
}
.hp-heat path { animation: hpHeat 2.8s ease-in-out infinite; opacity: 0; }
.hp-heat path:nth-child(2) { animation-delay: .9s; }
.hp-heat path:nth-child(3) { animation-delay: 1.8s; }
@keyframes hpHeat {
  0%   { opacity: 0; transform: translateY(6px); }
  40%  { opacity: .9; }
  100% { opacity: 0; transform: translateY(-16px); }
}

/* =====================================================================
   WIRTSCHAFTLICHKEITSRECHNER
   ===================================================================== */
.calc-wrap {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 2px;
  overflow: hidden;
}
.calc-tabs { display: flex; border-bottom: 1px solid var(--line); }
.calc-tab {
  flex: 1; padding: 20px 16px; font-size: 15px; font-weight: 600;
  color: var(--fg-3); background: var(--bg-2); border-right: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: color .15s, background .15s;
}
.calc-tab:last-child { border-right: none; }
.calc-tab svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.calc-tab.active { color: var(--accent); background: var(--bg); box-shadow: inset 0 -2px 0 var(--accent); }
.calc-body { display: grid; grid-template-columns: 1.1fr 1fr; }
@media (max-width: 820px) { .calc-body { grid-template-columns: 1fr; } }
.calc-inputs { padding: clamp(24px,3vw,40px); border-right: 1px solid var(--line); }
@media (max-width: 820px) { .calc-inputs { border-right: none; border-bottom: 1px solid var(--line); } }
.calc-field { margin-bottom: 26px; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field .row {
  display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px;
}
.calc-field label { font-size: 14px; font-weight: 600; color: var(--fg-2); }
.calc-field .out { font-size: 15px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.calc-field input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px;
  background: var(--bg-3); border-radius: 4px; outline: none;
}
.calc-field input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); cursor: pointer; border: 3px solid var(--bg);
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.calc-field input[type=range]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--accent);
  cursor: pointer; border: 3px solid var(--bg); box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.calc-field .hint { font-size: 12px; color: var(--fg-3); margin-top: 8px; }
.calc-seg { display: flex; gap: 0; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.calc-seg button {
  flex: 1; padding: 11px 8px; font-size: 13px; font-weight: 600; color: var(--fg-3);
  background: var(--bg-2); border-right: 1px solid var(--line); transition: all .15s;
}
.calc-seg button:last-child { border-right: none; }
.calc-seg button.active { background: var(--accent); color: #fff; }
.calc-results {
  padding: clamp(24px,3vw,40px);
  background: var(--bg-dark);
  color: #fff;
  display: flex; flex-direction: column; gap: 22px;
}
.calc-results .res-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-2);
}
.calc-hero-num { font-size: clamp(38px,5vw,52px); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-hero-num .unit { font-size: .4em; color: rgba(255,255,255,.6); font-weight: 600; margin-left: 6px; }
.calc-sub { font-size: 14px; color: rgba(255,255,255,.65); margin-top: 6px; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.calc-cell { background: var(--bg-dark); padding: 18px 18px; }
.calc-cell .v { font-size: 24px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc-cell .l { font-size: 12.5px; color: rgba(255,255,255,.6); margin-top: 4px; line-height: 1.35; }
.calc-bar-track { height: 8px; background: rgba(255,255,255,.12); border-radius: 6px; overflow: hidden; }
.calc-bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 6px; width: 0; transition: width .5s cubic-bezier(.2,.7,.2,1); }
.calc-disclaimer { font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.5; margin-top: auto; }

/* =====================================================================
   FINANZIERUNG — Bausteine / Vergleich
   ===================================================================== */
.fin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .fin-grid { grid-template-columns: 1fr; } }
.fin-card {
  background: var(--bg); border: 1px solid var(--line); padding: 36px 32px;
  display: flex; flex-direction: column; gap: 14px; position: relative;
}
.fin-card .ic {
  width: 46px; height: 46px; border-radius: 2px; background: var(--bg-2);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
  border: 1px solid var(--line);
}
.fin-card .ic svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.fin-card h3 { font-size: 20px; letter-spacing: -.02em; }
.fin-card p { font-size: 15px; color: var(--fg-2); line-height: 1.6; }
.fin-card .tag {
  position: absolute; top: 20px; right: 20px; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--accent);
}

/* =====================================================================
   UMSATZ-CHART (Unternehmen)
   ===================================================================== */
.rev-chart { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px,3vw,40px); align-items: end; padding-top: 20px; }
.rev-col { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.rev-bars { display: flex; align-items: flex-end; gap: 6px; height: 260px; width: 100%; justify-content: center; }
.rev-bar { width: 26px; background: var(--bg-3); border-radius: 2px 2px 0 0; position: relative; transition: height 1s cubic-bezier(.2,.7,.2,1); }
.rev-bar.in { /* height set inline */ }
.rev-bar.b1 { background: var(--accent); }
.rev-bar.b2 { background: var(--accent-2); }
.rev-bar.b3 { background: var(--line-strong); }
.rev-year { font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.rev-legend { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.rev-legend .it { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-2); }
.rev-legend .sw { width: 14px; height: 14px; border-radius: 2px; }

/* =====================================================================
   WERTE / Kompetenz-Kacheln (Unternehmen)
   ===================================================================== */
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 800px) { .value-grid { grid-template-columns: 1fr; } }
.value-cell { background: var(--bg); padding: 34px 30px; transition: background .15s; }
.value-cell:hover { background: var(--bg-2); }
.value-cell .vic {
  width: 46px; height: 46px; border-radius: 2px; background: var(--bg-2);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 18px;
}
.value-cell:hover .vic { background: var(--bg); }
.value-cell .vic svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.value-cell .n { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.value-cell h4 { font-size: 19px; margin: 6px 0 10px; letter-spacing: -.02em; }
.value-cell p { font-size: 14.5px; color: var(--fg-2); line-height: 1.6; }

/* =====================================================================
   ÜBER UNS — Bild-Komponenten (aus Firmenpräsentation)
   ===================================================================== */
/* Full-bleed Bildband (Titel-Motiv: Skyline bei Nacht) */
.about-band { position: relative; height: clamp(240px, 40vw, 480px); overflow: hidden; background: var(--bg-dark); }
.about-band img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.about-band::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,27,46,.78) 0%, rgba(0,27,46,.30) 55%, rgba(0,27,46,.10) 100%);
}
.about-band .band-cap {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) var(--pad);
}
.about-band .band-cap .eyebrow { color: var(--accent-2); }
.about-band .band-cap h2 { color: #fff; margin-top: 12px; max-width: 22ch; }
.about-band .band-cap p { color: rgba(255,255,255,.82); margin-top: 14px; max-width: 52ch; font-size: clamp(15px,1.4vw,18px); }

/* 4er Motiv-Kacheln (Handlungsfelder, Seite 5 der Präsentation) */
.motif-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 900px) { .motif-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .motif-grid { grid-template-columns: 1fr; } }
.motif { position: relative; aspect-ratio: 4/5; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.motif img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.motif:hover img { transform: scale(1.06); }
.motif .cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 20px 18px; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
}
.motif .cap .t { font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.motif .cap .s { font-size: 12px; opacity: .82; margin-top: 3px; }

/* Kompetenz-Zeilen mit Bild-Thumbnail */
.komp-list { border-top: 1px solid var(--line); margin-top: 36px; }
.komp-row {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px,3vw,44px);
  padding: 30px 0; border-bottom: 1px solid var(--line); align-items: center;
}
@media (max-width: 720px) { .komp-row { grid-template-columns: 1fr; gap: 18px; } }
.komp-img { aspect-ratio: 16/10; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.komp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.komp-row:hover .komp-img img { transform: scale(1.05); }
.komp-row .komp-body h4 { font-size: 20px; letter-spacing: -.02em; margin: 8px 0 10px; }
.komp-row .komp-body p { font-size: 15px; }

/* =====================================================================
   RECHTSSEITEN (Impressum / Datenschutz)
   ===================================================================== */
.legal-prose { max-width: 760px; }
.legal-prose h2 { font-size: clamp(20px,2vw,24px); margin: 40px 0 12px; letter-spacing: -.02em; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p, .legal-prose address, .legal-prose li { font-size: 16px; line-height: 1.7; color: var(--fg-2); }
.legal-prose address { font-style: normal; margin-bottom: 8px; }
.legal-prose a { color: var(--accent); }
.legal-prose ul { margin: 0 0 14px; padding-left: 22px; }
.legal-prose li { margin-bottom: 6px; }
.legal-prose .legal-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--fg-3); }

/* =====================================================================
   A11Y — Skip-Link + Fokus-Ring
   ===================================================================== */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 9999;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 2px;
  font-size: 14px; font-weight: 600; transition: top .15s;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn:focus-visible, .header-cta:focus-visible, .nav-link:focus-visible { outline-offset: 3px; }

/* =====================================================================
   FOOTER — Demo-Hinweis + Nomad-Badge
   ===================================================================== */
.footer-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--line);
}
.footer-demo-note { font-size: 12.5px; color: var(--fg-3); max-width: 60ch; line-height: 1.5; }

/* =====================================================================
   MOBILE NAVIGATION (Hamburger + Drawer)
   ===================================================================== */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  border: 1px solid var(--line); border-radius: 2px; background: var(--bg);
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--fg); transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
  background: var(--bg); border-left: 1px solid var(--line);
  z-index: 120; transform: translateX(100%); transition: transform .28s cubic-bezier(.2,.7,.2,1);
  display: flex; flex-direction: column; padding: 84px 22px 32px; overflow-y: auto;
  box-shadow: -24px 0 60px rgba(0,0,0,.16);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { display: block; padding: 13px 6px; font-size: 16px; font-weight: 600; color: var(--fg); border-bottom: 1px solid var(--line); }
.mobile-nav a.sub { padding-left: 22px; font-size: 14.5px; font-weight: 500; color: var(--fg-2); position: relative; }
.mobile-nav a.sub::before { content: '→'; position: absolute; left: 4px; color: var(--accent); }
.mobile-nav .m-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin: 18px 6px 4px; }
.mobile-nav .m-cta { margin-top: 22px; }
.mobile-nav .m-cta a { background: var(--accent); color: #fff; text-align: center; border-radius: 2px; border: none; }
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 110;
  opacity: 0; visibility: hidden; transition: opacity .25s;
}
.nav-backdrop.open { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
}
@media (min-width: 821px) {
  .mobile-nav, .nav-backdrop { display: none; }
}

/* =====================================================================
   NOMAD-BADGE ("Made by Nomad Solutions")
   ===================================================================== */
.ns-badge {
  --ns-accent: var(--accent); --ns-brand: #1DD4AA;
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border: 1px solid currentColor; border-radius: 999px; overflow: hidden;
  text-decoration: none; color: var(--fg-3); line-height: 1; opacity: .85;
  font-size: 12px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  transition: border-color .45s ease, transform .45s cubic-bezier(.22,.61,.21,1), opacity .4s ease, color .3s;
}
.ns-amb { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ns-amb i { position: absolute; bottom: -4px; border-radius: 1px; background: var(--ns-accent); opacity: 0;
  animation: ns-up var(--d,5s) var(--delay,0s) linear infinite; will-change: transform,opacity; }
@keyframes ns-up { 0%{transform:translateY(0);opacity:0} 12%{opacity:var(--o,.4)} 82%{opacity:var(--o,.4)} 100%{transform:translateY(-2.4rem);opacity:0} }
.ns-flood { position: absolute; left:-2%; right:-2%; bottom:0; width:104%; height:150%; z-index:1; pointer-events:none;
  background: linear-gradient(to top, transparent, var(--ns-accent)); opacity:.26;
  border-radius: 46% 46% 0 0 / 16px 16px 0 0; transform: translateY(101%); transition: transform .55s cubic-bezier(.5,0,.2,1); }
.ns-logo, .ns-text-label { position: relative; z-index: 2; }
.ns-logo path { transition: stroke .35s ease; }
.ns-logo path:nth-child(1){animation-delay:0s} .ns-logo path:nth-child(2){animation-delay:.24s}
.ns-logo path:nth-child(3){animation-delay:.48s} .ns-logo path:nth-child(4){animation-delay:.72s} .ns-logo path:nth-child(5){animation-delay:.96s}
@keyframes ns-draw { from{stroke-dashoffset:var(--len)} to{stroke-dashoffset:0} }
.ns-badge:hover, .ns-badge:focus-visible { opacity: 1; border-color: var(--ns-accent); transform: translateY(-1px); color: var(--fg); }
.ns-badge:hover .ns-flood, .ns-badge:focus-visible .ns-flood { transform: translateY(0); }
.ns-badge:hover .ns-amb i, .ns-badge:focus-visible .ns-amb i { animation-duration: 1.8s; }
.ns-badge:hover .ns-logo path, .ns-badge:focus-visible .ns-logo path { stroke: var(--ns-brand); animation: ns-draw .55s cubic-bezier(.45,0,.25,1) both; }
@media (prefers-reduced-motion: reduce) {
  .ns-badge, .ns-badge * { transition: none !important; animation: none !important; }
  .ns-amb { display: none; }
}

/* =====================================================================
   COOKIE-BANNER
   ===================================================================== */
#cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 130;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center;
  padding: 16px 20px; background: var(--bg-dark); color: #e7e9ee;
  font-size: 14px; line-height: 1.5; box-shadow: 0 -6px 24px rgba(0,0,0,.25);
}
#cookie-banner[hidden] { display: none; }
#cookie-banner p { margin: 0; max-width: 720px; }
#cookie-banner a { color: #fff; text-decoration: underline; }
#cookie-banner .cb-actions { display: flex; gap: 10px; flex-wrap: wrap; }
#cookie-banner button { padding: 9px 16px; border-radius: 2px; font-size: 13px; font-weight: 600; cursor: pointer; }
#cookie-banner .cb-ess { border: 1px solid rgba(255,255,255,.3); background: transparent; color: #e7e9ee; }
#cookie-banner .cb-all { border: none; background: #fff; color: var(--bg-dark); }

/* =====================================================================
   DETAIL-HERO Bild-Band — robuster (nie leeres Feld) + Caption
   ===================================================================== */
.detail-hero .hero-image-detail {
  background: linear-gradient(135deg, var(--bg-dark-2) 0%, #0a3a5c 60%, var(--accent-2) 130%);
}
.detail-hero .hero-image-detail::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,18,30,.62) 0%, rgba(0,18,30,.15) 45%, rgba(0,18,30,0) 70%);
}
.hero-cap {
  position: absolute; inset: 0; z-index: 3;
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--pad) clamp(22px,3vw,40px);
  display: flex; flex-direction: column; justify-content: flex-end;
  pointer-events: none;
}
.hero-cap .t { color: #fff; font-size: clamp(15px,1.5vw,19px); font-weight: 700; letter-spacing: -.01em; }
.hero-cap .s { color: rgba(255,255,255,.8); font-size: 13px; margin-top: 4px; }

/* =====================================================================
   KARRIERE — Team-/Office-Bilder
   ===================================================================== */
.career-imgs { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; margin-top: 0; }
@media (max-width: 700px) { .career-imgs { grid-template-columns: 1fr 1fr; } }
.career-imgs .ci { position: relative; aspect-ratio: 1/1; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.career-imgs .ci:first-child { aspect-ratio: auto; }
@media (max-width: 700px) { .career-imgs .ci:first-child { grid-column: 1 / -1; aspect-ratio: 16/10; } }
.career-imgs .ci img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.career-imgs .ci:hover img { transform: scale(1.05); }
