/* =========================================================
   ABV Service GmbH – Stylesheet
   Farben & Abstände zentral über die Variablen in :root ändern.
   ========================================================= */

@font-face {
  font-family: "Manrope";
  src: url("manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Markenfarben (aus dem Logo) */
  --orange: #E34E0A;
  --orange-hi: #FF6A24;
  --anthracite: #252E35;

  /* Flächen */
  --ink-900: #11161A;
  --ink-800: #161C21;
  --ink-700: #1C242A;
  --ink-600: #2A343C;
  --line-dark: rgba(255, 255, 255, .09);
  --paper: #F3F1EC;
  --paper-2: #E9E6DF;
  --white: #FFFFFF;
  --line-light: rgba(37, 46, 53, .12);

  /* Text */
  --text-on-dark: #E9ECEE;
  --muted-on-dark: #8E9AA3;
  --text-on-light: #1B2329;
  --muted-on-light: #5C6870;

  --radius: 18px;
  --radius-sm: 10px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(88px, 12vw, 168px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-on-dark);
  background: var(--ink-800);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 750; letter-spacing: -.025em; line-height: 1.08; }
p { margin: 0 0 1em; }
::selection { background: var(--orange); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--orange-hi); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typo-Helfer ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange-hi); margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--dark { color: var(--orange); }
.h2 { font-size: clamp(34px, 5.2vw, 68px); max-width: 17ch; }
.accent-text { color: var(--orange); }
.section--dark .accent-text, .hero .accent-text { color: var(--orange-hi); }
.muted { color: var(--muted-on-light); }
.section--dark .muted { color: var(--muted-on-dark); }
.lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--muted-on-dark); max-width: 56ch; }
.lead--dark { color: var(--muted-on-light); }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: currentColor;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 15.5px; font-weight: 700; text-decoration: none; cursor: pointer;
  background: var(--bg); color: var(--fg); overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), border-color .3s, color .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--hover, rgba(255,255,255,.12)); transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); }
.btn__arrow { transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--accent { --bg: var(--orange); --fg: #fff; --hover: var(--orange-hi); box-shadow: 0 10px 30px -10px rgba(227,78,10,.6); }
.btn--ghost { --fg: var(--text-on-dark); border-color: rgba(255,255,255,.22); }
.btn--ghost:hover { border-color: rgba(255,255,255,.5); }
.btn--light { --bg: #fff; --fg: var(--anthracite); --hover: var(--paper-2); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(17, 22, 26, .72);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line-dark);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: #fff; }
.brand__mark { height: 30px; width: auto; }
.brand__mark .ink { fill: #fff; }
.brand__mark .accent { fill: var(--orange); }
.brand__mark--lg { height: 44px; }
.brand__divider { width: 1px; height: 30px; background: rgba(255,255,255,.28); }
.brand__name { font-weight: 750; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.brand__name em { font-style: normal; color: var(--orange-hi); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) {
  position: relative; text-decoration: none; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.8);
  transition: color .3s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:not(.btn):hover, .nav a.is-active { color: #fff; }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; transition: transform .4s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 auto; background: rgba(17,22,26,.97); backdrop-filter: blur(16px);
  padding: 16px var(--gutter) 32px; display: flex; flex-direction: column; border-bottom: 1px solid var(--line-dark);
}
.mobile-nav a { padding: 16px 0; font-size: 22px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 64px) 0 56px; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 40%, #222C33 0%, var(--ink-800) 55%, var(--ink-900) 100%);
}
.hero__terrain { position: absolute; inset: -5% -5% -5% 20%; width: 90%; height: 110%; opacity: .9; pointer-events: none; }
.hero__terrain path { fill: none; stroke: rgba(255,255,255,.085); stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.hero__terrain path.hot { stroke: rgba(227,78,10,.75); stroke-width: 1.6; }
.hero__glow {
  position: absolute; width: 60vmax; height: 60vmax; right: -12vmax; top: 10%;
  background: radial-gradient(circle, rgba(227,78,10,.16), transparent 60%); filter: blur(10px); pointer-events: none;
}
.hero::after { /* feines Korn für Tiefe */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__inner { position: relative; z-index: 2; }
.hero__title { font-size: clamp(44px, 8.4vw, 118px); font-weight: 780; letter-spacing: -.04em; line-height: .98; max-width: 11.5ch; margin-bottom: 34px; hyphens: manual; }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: #B4BEC5; max-width: 58ch; margin-bottom: 40px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta {
  position: relative; z-index: 2; margin-top: clamp(56px, 9vh, 110px);
  display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark);
}
.hero__meta > div { padding: 22px 24px 0 0; font-size: 15px; font-weight: 600; color: #C9D0D5; display: flex; gap: 14px; align-items: baseline; }
.hero__meta-k { font-size: 12px; color: var(--orange-hi); font-weight: 700; letter-spacing: .1em; }

.scroll-cue { position: absolute; z-index: 2; right: var(--gutter); bottom: 48px; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--orange-hi); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 80%, 100% { transform: translateY(16px); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--orange); color: #fff; overflow: hidden; padding: 20px 0; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-size: clamp(17px, 2vw, 24px); font-weight: 750; letter-spacing: -.01em; white-space: nowrap; }
.marquee i { width: 10px; height: 10px; background: #fff; transform: rotate(45deg); opacity: .7; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section-y) 0; }
.section--light { background: var(--white); color: var(--text-on-light); }
.section--paper { background: var(--paper); color: var(--text-on-light); }
.section--dark { background: var(--ink-800); }
.section-head { margin-bottom: clamp(48px, 7vw, 88px); }
.section-head--split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: end; }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative; padding: 36px 32px 36px; border-radius: var(--radius); background: var(--paper);
  border: 1px solid transparent; overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), background .4s;
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, var(--anthracite), var(--ink-900));
  opacity: 0; transition: opacity .5s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(17,22,26,.45); color: #fff; }
.service:hover::before { opacity: 1; }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 56px; }
.service__num { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--orange); }
.service__icon { width: 52px; height: 52px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s, transform .6s var(--ease); }
.service:hover .service__icon { stroke: var(--orange-hi); transform: rotate(-6deg) scale(1.06); }
.service h3 { font-size: clamp(22px, 2vw, 26px); margin-bottom: 16px; max-width: 14ch; }
.service p { color: var(--muted-on-light); font-size: 16px; transition: color .4s; }
.service:hover p { color: #AEB8BF; }
.ticks { list-style: none; padding: 20px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line-light); font-size: 15px; font-weight: 600; transition: border-color .4s; }
.service:hover .ticks { border-color: rgba(255,255,255,.12); }
.ticks li { position: relative; padding-left: 22px; margin: 8px 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; background: var(--orange); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* Vor Ort – sticky */
.onsite { overflow: clip; }
.onsite::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 80px 80px; mask-image: radial-gradient(ellipse at 20% 30%, #000 0%, transparent 70%);
}
.onsite__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.onsite__sticky { position: sticky; top: calc(var(--header-h) + 48px); }
.onsite__sticky .lead { margin-top: 28px; }
.onsite__progress { margin-top: 40px; height: 2px; background: var(--line-dark); max-width: 320px; overflow: hidden; }
.onsite__progress span { display: block; height: 100%; width: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.steps { list-style: none; margin: 0; padding: 0; }
.step {
  display: grid; grid-template-columns: 72px 1fr; gap: 8px; padding: 44px 0; border-top: 1px solid var(--line-dark);
  transition: opacity .5s;
}
.step:last-child { border-bottom: 1px solid var(--line-dark); }
.step__num { font-size: 14px; font-weight: 700; color: var(--orange-hi); letter-spacing: .1em; padding-top: 8px; }
.step h3 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 14px; }
.step p { color: var(--muted-on-dark); margin: 0; max-width: 46ch; }
.steps.is-tracking .step { opacity: .35; }
.steps.is-tracking .step.is-current { opacity: 1; }

/* Verwertung */
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.cat {
  position: relative; padding: 40px 32px 44px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
  overflow: hidden; isolation: isolate; transition: color .4s;
}
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--orange); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); }
.cat:hover { color: #fff; }
.cat:hover::before { transform: scaleY(1); }
.cat__n { display: block; font-size: 13px; font-weight: 700; color: var(--orange); letter-spacing: .1em; margin-bottom: 40px; transition: color .4s; }
.cat:hover .cat__n { color: #fff; }
.cat h3 { font-size: clamp(21px, 2vw, 26px); margin-bottom: 10px; }
.cat p { margin: 0; font-size: 15.5px; color: var(--muted-on-light); transition: color .4s; }
.cat:hover p { color: rgba(255,255,255,.88); }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: clamp(56px, 8vw, 96px) 0; counter-reset: flow; }
.flow__item { position: relative; padding: 26px 24px 0 0; border-top: 2px solid var(--paper-2); }
.flow__item::before {
  counter-increment: flow; content: counter(flow, decimal-leading-zero);
  position: absolute; top: -13px; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: transparent;
  box-shadow: 0 0 0 6px #fff;
}
.flow__item::after { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) var(--d, 0s); }
.flow__item.is-in::after { transform: scaleX(1); }
.flow__item span { display: block; font-weight: 750; font-size: 19px; letter-spacing: -.01em; }
.flow__item small { color: var(--muted-on-light); font-size: 14.5px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo__card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 230px;
  padding: 36px; border-radius: var(--radius); text-decoration: none; overflow: hidden;
  transition: transform .6s var(--ease);
}
.duo__card:hover { transform: translateY(-6px); }
.duo__card--dark { background: var(--anthracite); color: #fff; }
.duo__card--accent { background: var(--orange); color: #fff; }
.duo__label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; opacity: .75; }
.duo__card strong { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.02em; max-width: 15ch; }
.duo__go {
  position: absolute; right: 32px; bottom: 32px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 22px;
  border: 1px solid rgba(255,255,255,.35); transition: transform .5s var(--ease), background .4s, color .4s;
}
.duo__card:hover .duo__go { background: #fff; color: var(--anthracite); transform: rotate(-45deg); }

/* Unternehmen */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__visual { position: relative; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background:
    linear-gradient(to top, rgba(17,22,26,.6), transparent 50%),
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(255,255,255,.03) 22px 23px),
    linear-gradient(150deg, #34404A, var(--ink-900));
  display: grid; place-items: center;
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait__initials { font-size: clamp(80px, 12vw, 150px); font-weight: 800; color: rgba(255,255,255,.08); letter-spacing: -.05em; }
.portrait__note { position: absolute; top: 20px; left: 20px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.about__badge {
  position: absolute; right: -20px; bottom: 36px; padding: 20px 26px; border-radius: var(--radius-sm);
  background: var(--orange); color: #fff; box-shadow: 0 20px 40px -20px rgba(227,78,10,.7);
}
.about__badge strong { display: block; font-size: 19px; letter-spacing: -.01em; }
.about__badge span { font-size: 14px; opacity: .85; }
.about__text > p { color: var(--muted-on-light); max-width: 58ch; }
.about__text > p strong { color: var(--text-on-light); }
.about__text .h2 { margin-bottom: 32px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line-light); }
.value h3 { font-size: 18px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.value h3::before { content: ""; width: 8px; height: 8px; background: var(--orange); transform: rotate(45deg); flex: none; }
.value p { margin: 0; font-size: 15px; color: var(--muted-on-light); }

/* CTA-Band */
.cta-band { position: relative; background: var(--orange); color: #fff; padding: clamp(64px, 9vw, 120px) 0; overflow: hidden; }
.cta-band__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-band__lines path { fill: none; stroke: rgba(255,255,255,.25); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 2400; stroke-dashoffset: 2400; transition: stroke-dashoffset 2.4s var(--ease); }
.cta-band.is-in .cta-band__lines path { stroke-dashoffset: 0; }
.cta-band.is-in .cta-band__lines path + path { transition-delay: .25s; }
.cta-band__inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band .h2 { max-width: 14ch; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact .lead { margin: 28px 0 40px; }
.contact__list { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.contact__list > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.contact__list dt { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted-on-dark); padding-top: 2px; }
.contact__list dd { margin: 0; font-weight: 650; font-size: 17px; }
.contact__list a { text-decoration: none; transition: color .3s; }
.contact__list a:hover { color: var(--orange-hi); }
/* Platzhalter-Markierung – entfernen, sobald echte Daten eingetragen sind */
.ph { text-decoration: underline dotted rgba(255,106,36,.7); text-underline-offset: 4px; }

.form { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--ink-700); border: 1px solid var(--line-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); font-size: 14px; font-weight: 600; color: #C9D0D5; cursor: pointer; transition: all .3s; }
.chip input:checked + span { background: var(--orange); border-color: var(--orange); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--orange-hi); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: block; margin-bottom: 16px; }
.field input, .field textarea {
  width: 100%; padding: 26px 18px 10px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03); color: #fff; font: inherit; font-size: 16px; resize: vertical;
  transition: border-color .3s, background .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: rgba(255,255,255,.05); }
.field span { position: absolute; left: 19px; top: 18px; font-size: 16px; color: var(--muted-on-dark); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { top: 8px; font-size: 12px; color: var(--orange-hi); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff5a5a; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted-on-dark); margin: 6px 0 24px; cursor: pointer; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--orange); flex: none; }
.consent.is-invalid { color: #ff8a8a; }
.form__status { margin: 16px 0 0; font-size: 15px; min-height: 1.4em; }
.form__status.ok { color: #7bd88f; }
.form__status.err { color: #ff8a8a; }

/* Footer */
.footer { background: var(--ink-900); color: var(--muted-on-dark); padding: 80px 0 32px; font-size: 15px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer__brand p { margin-top: 24px; max-width: 46ch; line-height: 1.7; }
.footer__nav { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a { text-decoration: none; color: #C9D0D5; transition: color .3s; width: fit-content; }
.footer__nav a:hover { color: var(--orange-hi); }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 28px; font-size: 14px; }
.to-top { text-decoration: none; }
.to-top:hover { color: #fff; }

/* ---------- Animationen ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--base, 0ms)); }
.split.is-in .w > span { transform: none; }
.no-js .reveal, .no-js .split .w > span { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal, .split .w > span { opacity: 1 !important; transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: 1fr; }
  .service__top { margin-bottom: 32px; }
  .service h3 { max-width: none; }
  .catalog { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav { display: none; }
  .burger { display: block; }
  .brand__divider, .brand__name { display: none; }
  .section-head--split, .onsite__grid, .about, .contact { grid-template-columns: 1fr; }
  .onsite__sticky { position: relative; top: 0; }
  .onsite__progress { display: none; }
  .steps.is-tracking .step { opacity: 1; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .about__badge { right: 16px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__meta { grid-template-columns: 1fr; }
  .hero__meta > div { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .hero__terrain { inset: 20% -40% 0 -10%; width: 150%; height: 90%; opacity: .6; }
  .scroll-cue { display: none; }
  .catalog { grid-template-columns: 1fr; }
  .cat { padding: 28px 24px; }
  .cat__n { margin-bottom: 18px; }
  .flow, .duo, .values, .field-row { grid-template-columns: 1fr; }
  .duo__card { padding: 28px; min-height: 200px; }
  .duo__go { right: 24px; bottom: 24px; width: 48px; height: 48px; }
  .step { grid-template-columns: 1fr; padding: 32px 0; }
  .contact__list > div { grid-template-columns: 1fr; gap: 4px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 10px; }
}

/* ---------- Rechtliche Unterseiten ---------- */
.legal { background: var(--white); color: var(--text-on-light); padding: calc(var(--header-h) + 72px) 0 var(--section-y); }
.legal .container { max-width: 860px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 40px; }
.legal h2 { font-size: 22px; margin: 44px 0 14px; }
.legal p, .legal li { color: var(--muted-on-light); }
.legal a { color: var(--orange); }
.legal .ph { text-decoration-color: var(--orange); }
.legal .notice { padding: 18px 22px; border-radius: var(--radius-sm); background: #FFF3EC; border-left: 3px solid var(--orange); color: var(--text-on-light); margin-bottom: 40px; font-size: 15px; }

/* Mobile-Menü nur bei Bedarf */
.mobile-nav[hidden] { display: none; }
@media (min-width: 901px) { .mobile-nav { display: none; } }

/* ---------- Leistungen: 4er-Raster ---------- */
.services--4 { grid-template-columns: repeat(2, 1fr); }
.services--4 .service h3 { max-width: 20ch; }
.services--4 .service__top { margin-bottom: 40px; }
@media (max-width: 760px) { .services--4 { grid-template-columns: 1fr; } }

/* ---------- Herausforderung Personal ---------- */
.challenge { background: var(--ink-900); border-bottom: 1px solid var(--line-dark); }
.problems { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.problem { background: var(--ink-900); padding: 34px 28px 38px; transition: background .4s; }
.problem:hover { background: var(--ink-700); }
.problem__k { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-hi); margin-bottom: 26px; }
.problem h3 { font-size: 20px; margin-bottom: 12px; line-height: 1.2; }
.problem p { margin: 0; font-size: 15px; color: var(--muted-on-dark); }
.answer {
  margin-top: 24px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(227,78,10,.16), rgba(227,78,10,.04)); border: 1px solid rgba(227,78,10,.35);
}
.answer__mark { width: 56px; height: 56px; border-radius: 14px; background: var(--anthracite); display: grid; place-items: center; }
.answer__mark svg { width: 38px; }
.answer h3 { font-size: clamp(21px, 2.2vw, 28px); margin-bottom: 12px; }
.answer p { margin: 0; color: #B4BEC5; max-width: 72ch; }
@media (max-width: 1080px) { .problems { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .problems { grid-template-columns: 1fr; }
  .answer { grid-template-columns: 1fr; }
}
.cta-band .h2 { max-width: 22ch; font-size: clamp(30px, 4.2vw, 56px); }

/* ---------- Karriere ---------- */
#karriere { border-top: 1px solid var(--line-light); }
.jobs { border-top: 1px solid var(--line-light); }
.job {
  position: relative; display: grid; grid-template-columns: 80px 1fr auto; gap: 24px; align-items: center;
  padding: 34px 8px; border-bottom: 1px solid var(--line-light); text-decoration: none; color: inherit;
  isolation: isolate; transition: padding .5s var(--ease), color .4s;
}
.job::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.job:hover { padding-left: 28px; padding-right: 28px; }
.job:hover::before { transform: scaleY(1); }
.job__k { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--orange); }
.job h3 { font-size: clamp(21px, 2.3vw, 30px); margin-bottom: 8px; }
.job p { margin: 0; color: var(--muted-on-light); max-width: 64ch; font-size: 16px; }
.job__go {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 20px;
  border: 1px solid var(--line-light); transition: background .4s, color .4s, transform .5s var(--ease), border-color .4s;
}
.job:hover .job__go { background: var(--orange); border-color: var(--orange); color: #fff; transform: rotate(-45deg); }
.apply {
  margin-top: 48px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--anthracite); color: #fff;
}
.apply h3 { font-size: clamp(21px, 2.2vw, 28px); margin-bottom: 10px; }
.apply p { margin: 0; color: #B4BEC5; max-width: 60ch; }
.apply a:not(.btn) { color: #fff; }
@media (max-width: 640px) {
  .job { grid-template-columns: 1fr auto; gap: 12px 16px; padding: 26px 0; }
  .job:hover { padding-left: 12px; padding-right: 12px; }
  .job__k { grid-column: 1 / -1; }
  .job__go { width: 44px; height: 44px; }
}
.legal ul { padding-left: 1.2em; }
.legal li { margin: 4px 0; }
.legal strong { color: var(--text-on-light); }
.page-legal .header { background: rgba(17, 22, 26, .94); border-color: var(--line-dark); }

/* ---------- Jobs als Buttons ---------- */
button.job { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line-light); font: inherit; text-align: left; cursor: pointer; }
button.job:focus-visible { outline-offset: -2px; }

/* ---------- Spam-Schutz-Feld (unsichtbar) ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Bewerbungs-Dialog ---------- */
html.modal-open { overflow: hidden; }
.modal {
  width: min(640px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius);
  background: transparent; color: var(--text-on-dark); overflow: auto;
}
.modal::backdrop { background: rgba(10, 13, 16, .72); backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .5s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.form--modal { position: relative; background: var(--ink-700); }
.modal__close {
  position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16); background: transparent; color: #fff; font-size: 16px; cursor: pointer; transition: background .3s, transform .4s var(--ease);
}
.modal__close:hover { background: rgba(255,255,255,.08); transform: rotate(90deg); }
.form--modal .eyebrow { margin-bottom: 14px; }
.modal__title { font-size: clamp(26px, 4vw, 34px); margin-bottom: 10px; padding-right: 48px; }
.modal__lead { color: var(--muted-on-dark); font-size: 15.5px; margin-bottom: 26px; }

.field--select select {
  width: 100%; appearance: none; -webkit-appearance: none; padding: 26px 44px 10px 18px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); color: #fff; font: inherit; font-size: 16px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #8E9AA3 50%), linear-gradient(135deg, #8E9AA3 50%, transparent 50%);
  background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat;
}
.field--select select:focus { outline: none; border-color: var(--orange); }
.field--select select option { color: #111; }
.field--select span { top: 8px; font-size: 12px; color: var(--orange-hi); }

.drop {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 20px; margin-bottom: 18px;
  border: 1.5px dashed rgba(255,255,255,.22); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .3s, background .3s;
}
.drop:hover, .drop.is-drag { border-color: var(--orange); background: rgba(227,78,10,.06); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); font-size: 18px; color: var(--orange-hi); transition: background .3s, color .3s; }
.drop__text { display: flex; flex-direction: column; min-width: 0; }
.drop__text strong { font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop__text small { color: var(--muted-on-dark); font-size: 13.5px; }
.drop.has-file { border-style: solid; border-color: rgba(123,216,143,.6); }
.drop.has-file .drop__icon { background: rgba(123,216,143,.15); color: #7bd88f; }
.drop.has-file .drop__icon::before { content: "✓"; }
.drop.has-file .drop__icon { font-size: 0; }
.drop.has-file .drop__icon::before { font-size: 18px; }
.drop.is-invalid { border-color: #ff5a5a; }
.drop:focus-within { border-color: var(--orange); }

.btn.is-loading { opacity: .7; pointer-events: none; }
.btn.is-loading .btn__arrow { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) { .field-row { gap: 0; } }
