/* ==========================================================================
   ESS Elektrische Anlagen GmbH — Design-System
   Markenrot aus Bestandslogo (#FF0000) modernisiert zu #E30613
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-variable.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --brand: #e30613;
  --brand-600: #c30510;
  --brand-700: #a10410;
  --brand-soft: #fdecec;

  --ink: #12151a;
  --ink-800: #1b2028;
  --ink-700: #262d38;
  --steel: #5b6675;
  --steel-300: #97a1af;
  --line: #e2e7ec;
  --soft: #f4f6f8;
  --soft-2: #eceff3;
  --white: #ffffff;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 2px 8px rgba(18, 21, 26, .06), 0 12px 28px rgba(18, 21, 26, .07);
  --shadow-lg: 0 8px 20px rgba(18, 21, 26, .10), 0 24px 60px rgba(18, 21, 26, .12);
  --container: 1200px;
  --header-h: 78px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

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

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink); color: #d5dbe3; position: relative; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.032) 0 1px, transparent 1px 46px);
}
.section-dark > .container { position: relative; z-index: 1; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--steel); font-size: 1.05rem; margin-bottom: 0; }
.section-dark .section-head p { color: var(--steel-300); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--brand); flex: none; }
.section-dark .kicker { color: #ff5563; }
.section-dark .kicker::before { background: #ff5563; }

.accent { color: var(--brand); }
.lead { font-size: 1.12rem; color: var(--steel); }
.section-dark .lead { color: #b9c2cd; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 28px; border: 2px solid var(--brand); border-radius: var(--radius);
  background: var(--brand); color: #fff; font-weight: 700; font-size: 1rem;
  font-family: inherit; cursor: pointer; white-space: nowrap;
  transition: background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { background: var(--brand-600); border-color: var(--brand-600); color: #fff; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink-700); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.section-dark .btn-outline,
.hero .btn-outline,
.page-hero .btn-outline,
.cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,.4); }
.section-dark .btn-outline:hover,
.hero .btn-outline:hover,
.page-hero .btn-outline:hover,
.cta-band .btn-outline:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-sm { padding: 11px 20px; font-size: .93rem; }
.btn-block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.link-arrow::after {
  content: ""; width: 16px; height: 10px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M11 0l5 5-5 5-1.4-1.4L12.2 6H0V4h12.2L9.6 1.4z'/%3E%3C/svg%3E") no-repeat center/contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M11 0l5 5-5 5-1.4-1.4L12.2 6H0V4h12.2L9.6 1.4z'/%3E%3C/svg%3E") no-repeat center/contain;
  transition: transform .2s var(--ease);
}
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s var(--ease);
}
.site-header.scrolled { box-shadow: 0 2px 14px rgba(18,21,26,.09); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }

.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 42px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a,
.nav-sub-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 13px; border-radius: var(--radius);
  color: var(--ink-800); font-weight: 600; font-size: .97rem;
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.main-nav > a:hover, .nav-sub-toggle:hover { background: var(--soft); color: var(--ink); }
.main-nav > a[aria-current="page"] { color: var(--brand); }
.main-nav .nav-career { color: var(--brand); }
.nav-hint {
  font-size: .62rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  background: var(--brand); color: #fff; padding: 3px 6px; border-radius: 3px;
  white-space: nowrap; line-height: 1.3;
}
.main-nav > a { white-space: nowrap; }
.nav-mobile-cta { display: none; }

.nav-group { position: relative; }
.nav-sub-toggle::after {
  content: ""; width: 9px; height: 6px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6'%3E%3Cpath d='M4.5 6L0 0h9z'/%3E%3C/svg%3E") no-repeat center/contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6'%3E%3Cpath d='M4.5 6L0 0h9z'/%3E%3C/svg%3E") no-repeat center/contain;
}
.sub-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 268px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px; display: none; z-index: 20;
}
.nav-group:hover .sub-menu, .nav-group:focus-within .sub-menu { display: block; }
.sub-menu a {
  display: block; padding: 10px 12px; border-radius: var(--radius);
  color: var(--ink-800); font-weight: 600; font-size: .95rem;
}
.sub-menu a:hover { background: var(--soft); color: var(--brand); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 700; font-size: .97rem; white-space: nowrap;
}
.header-phone svg { width: 17px; height: 17px; fill: var(--brand); flex: none; }
.header-phone:hover { color: var(--brand); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; width: 20px; height: 2px;
  background: var(--ink); transform: translateX(-50%); transition: .2s var(--ease);
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; left: 0; transform: none; }
.nav-toggle span::after { top: 6px; left: 0; transform: none; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--ink); color: #dfe4ea; overflow: hidden;
  padding: clamp(60px, 9vw, 108px) 0 clamp(52px, 7vw, 88px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 44px);
}
.hero::after {
  content: ""; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--brand);
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero-panel {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg); padding: 28px;
}
.hero-panel h2 {
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: #ff5563; margin-bottom: 18px;
}
.hero-panel-phone {
  display: block; color: #fff; font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 700; letter-spacing: -.02em; margin-bottom: 4px;
}
.hero-panel-phone:hover { color: #ff5563; }
.hero-panel-sub { color: var(--steel-300); font-size: .92rem; margin-bottom: 22px; }
.hero-panel dl { margin: 0 0 22px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-panel dt {
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--steel-300); padding-top: 14px;
}
.hero-panel dd { margin: 2px 0 12px; color: #dfe4ea; font-size: .97rem; }
.hero-panel dd a { color: #dfe4ea; }
.hero-panel dd a:hover { color: #ff5563; }
.hero-panel .btn { width: 100%; }
.hero-topline {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: #ff5563; margin-bottom: 18px;
}
.hero-topline::before { content: ""; width: 30px; height: 3px; background: #ff5563; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero-content > p { max-width: 60ch; font-size: 1.13rem; color: #b9c2cd; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-badges {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px; margin-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px;
}
.hero-badge {
  display: flex; align-items: center; gap: 11px;
  font-size: .95rem; font-weight: 600; color: #cfd6df;
}
.hero-badge svg { width: 22px; height: 22px; fill: var(--brand); flex: none; }

.page-hero {
  background: var(--ink); color: #c3ccd6; position: relative; overflow: hidden;
  padding: clamp(44px, 6vw, 72px) 0;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 44px);
}
.page-hero::after { content: ""; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--brand); }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero p { max-width: 68ch; color: #b9c2cd; margin-bottom: 0; font-size: 1.08rem; }

.breadcrumb { font-size: .86rem; color: var(--steel-300); margin-bottom: 14px; }
.breadcrumb a { color: var(--steel-300); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 7px; opacity: .5; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2px; background: var(--line); }
.stat { background: #fff; padding: 30px 24px; text-align: center; }
.stat-num { font-size: clamp(2.2rem, 4.5vw, 3rem); font-weight: 700; color: var(--brand); line-height: 1; letter-spacing: -.03em; }
.stat-num small { font-size: .5em; font-weight: 700; }
.stat-label { font-size: .95rem; color: var(--steel); margin-top: 8px; font-weight: 600; }
.section-dark .stat { background: var(--ink-800); }
.section-dark .stat-label { color: var(--steel-300); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--steel); font-size: .98rem; }
.card p:last-of-type { margin-bottom: 0; }
.card .link-arrow { margin-top: auto; padding-top: 18px; }
a.card { color: inherit; }
a.card:hover, .card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfd7e0; }
a.card:hover h3 { color: var(--brand); }
.card-icon {
  width: 50px; height: 50px; border-radius: var(--radius); background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; fill: var(--brand); }
.card-num {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--brand);
  margin-bottom: 12px; display: block;
}

.section-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
.section-dark .card h3 { color: #fff; }
.section-dark .card p { color: #b9c2cd; }
.section-dark .card .link-arrow { color: #ff5563; }
.section-dark a.card:hover { border-color: rgba(255,255,255,.32); box-shadow: none; }
.section-dark a.card:hover h3 { color: #ff5563; }
.section-dark .card-num { color: #ff5563; }

/* Abstands-Utilities */
.mt-1 { margin-top: 14px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 36px; }
.tight { margin: -6px 0 14px; }
.center-group { justify-content: center; }

/* Kompetenz-Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 100px;
  background: #fff; font-size: .93rem; font-weight: 600; color: var(--ink-800);
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex: none; }
.section-dark .chip { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); color: #dfe4ea; }

/* Feature-Liste mit Haken */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 13px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px;
  background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center/contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* Grid-Kinder dürfen nie durch min-content-Breiten (z. B. lange select-Optionen)
   die Spalte aufblähen – klassischer Grid-Overflow-Fix. */
.split > *, .grid > *, .steps > *, .cta-inner > *, .career-teaser > *,
.hero-grid > *, .benefit-grid > *, .stats > * { min-width: 0; }
.form-field select { max-width: 100%; }

/* Split-Layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-media img { border-radius: var(--radius-lg); width: 100%; }
.split-media { position: relative; }

/* Prozess */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { position: relative; padding-top: 22px; border-top: 3px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-size: .85rem; font-weight: 700; color: var(--brand); letter-spacing: .08em;
}
.step h3 { font-size: 1.1rem; margin: 8px 0 .4em; }
.step p { color: var(--steel); font-size: .96rem; margin-bottom: 0; }
.section-dark .step { border-top-color: rgba(255,255,255,.16); }
.section-dark .step p { color: var(--steel-300); }

/* FAQ */
.faq { max-width: 840px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 0 22px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; padding: 18px 30px 18px 0; font-weight: 700; color: var(--ink);
  list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 14px; height: 14px;
  margin-top: -7px; background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z'/%3E%3C/svg%3E") no-repeat center/contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z'/%3E%3C/svg%3E") no-repeat center/contain;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--steel); padding-bottom: 4px; font-size: .98rem; }

/* CTA-Band */
.cta-band { background: var(--ink); color: #d5dbe3; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 44px);
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b9c2cd; }
.cta-trust {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px;
  font-size: .9rem; color: var(--steel-300);
}
.cta-trust span { display: inline-flex; align-items: center; gap: 7px; }
.cta-trust span::before {
  content: ""; width: 15px; height: 15px; background: var(--brand); flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center/contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center/contain;
}
.cta-box {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg); padding: 28px;
}
.cta-box .btn { width: 100%; margin-bottom: 12px; }
.cta-box-phone {
  display: block; text-align: center; color: #fff; font-weight: 700; font-size: 1.25rem;
  padding: 12px 0 4px;
}
.cta-box-phone:hover { color: #ff5563; }
.cta-box small { display: block; text-align: center; color: var(--steel-300); font-size: .85rem; }

/* ---------- Formulare ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 36px); box-shadow: var(--shadow);
}
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 13px 14px; font-family: inherit; font-size: 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(227, 6, 19, .12);
}
.form-check { display: flex; gap: 11px; align-items: flex-start; font-size: .88rem; color: var(--steel); margin: 4px 0 18px; }
.form-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .86rem; color: var(--steel); margin: 12px 0 0; }
.form-status { display: none; padding: 15px 18px; border-radius: var(--radius); margin-top: 16px; font-size: .95rem; }
.form-status.show { display: block; }
.form-status.ok { background: #e8f6ed; color: #16653a; border: 1px solid #b9e2c9; }
.form-status.err { background: var(--brand-soft); color: var(--brand-700); border: 1px solid #f6c9cc; }

/* ---------- Kontaktblöcke ---------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.info-list svg { width: 21px; height: 21px; fill: var(--brand); flex: none; margin-top: 3px; }
.info-list strong { display: block; color: var(--ink); }
.info-list a { color: var(--ink-800); }
.info-list a:hover { color: var(--brand); }
.section-dark .info-list strong { color: #fff; }
.section-dark .info-list a { color: #d5dbe3; }

.hours { width: 100%; border-collapse: collapse; font-size: .97rem; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.hours tr:last-child td { border-bottom: 0; }

.map-embed {
  width: 100%; height: 380px; border: 0; border-radius: var(--radius-lg);
  filter: grayscale(.15);
}

/* ---------- Karriere ---------- */
.benefit-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.benefit {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; border-left: 3px solid var(--brand);
}
.benefit h3 { font-size: 1.05rem; margin-bottom: .35em; }
.benefit p { color: var(--steel); font-size: .95rem; margin-bottom: 0; }

.hook-box {
  background: var(--ink-800); color: #dfe4ea; border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 36px); border-left: 4px solid var(--brand);
}
.hook-box p:last-child { margin-bottom: 0; }
.hook-box strong { color: #fff; }

.media-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 260px; border: 2px dashed var(--line); border-radius: var(--radius-lg);
  background: var(--soft); color: var(--steel); text-align: center; padding: 28px;
  font-size: .93rem;
}
.media-placeholder svg { width: 40px; height: 40px; fill: var(--steel-300); }
.media-placeholder strong { color: var(--ink-800); display: block; font-size: 1rem; }

/* ---------- Karriere-Teaser ---------- */
.career-teaser {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #98a2af; padding: clamp(48px, 6vw, 72px) 0 0; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.028) 0 1px, transparent 1px 44px);
}
.site-footer > .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer-logo img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-grid h4 { color: #fff; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: #98a2af; font-size: .95rem; }
.footer-grid a:hover { color: #fff; }
.footer-grid p { font-size: .95rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: .88rem;
}
.footer-bottom a { color: #98a2af; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Sticky Call-Bar (mobil) ---------- */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none;
  background: var(--ink); border-top: 1px solid rgba(255,255,255,.12);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  gap: 8px;
}
.call-bar a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; border-radius: var(--radius); font-weight: 700; font-size: .95rem;
}
.call-bar .cb-phone { background: var(--brand); color: #fff; }
.call-bar .cb-form { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.call-bar svg { width: 17px; height: 17px; fill: currentColor; }
.call-bar .cb-apply { background: var(--brand); color: #fff; flex: 1.7; }
.call-bar .cb-tel-icon { flex: none; width: 56px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }

/* ---------- Reveal ----------
   Nur mit aktivem JS ausblenden (html.js), sonst bliebe die Seite ohne JS leer. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: clamp(70px, 12vw, 130px) 0; }
.error-code { font-size: clamp(4rem, 13vw, 8rem); font-weight: 700; color: var(--brand); line-height: 1; letter-spacing: -.04em; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--ink-800); font-size: 1rem; }
.legal .legal-meta {
  background: var(--soft); border-left: 3px solid var(--brand);
  padding: 18px 22px; border-radius: var(--radius); margin-bottom: 32px;
}
.legal .legal-meta p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .main-nav > a, .nav-sub-toggle { padding: 10px; font-size: .93rem; }
  .header-phone { display: none; }
}

@media (max-width: 900px) {
  .split, .cta-inner, .career-teaser, .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .header-actions .header-cta { display: none; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px 24px 40px; overflow-y: auto; display: none; z-index: 99;
    border-top: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-sub-toggle {
    width: 100%; justify-content: space-between; padding: 15px 4px;
    border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem;
  }
  .nav-group { width: 100%; }
  .sub-menu {
    position: static; display: block; box-shadow: none; border: 0;
    padding: 4px 0 10px 14px; min-width: 0;
  }
  .sub-menu a { padding: 11px 4px; font-size: .98rem; color: var(--steel); }
  .main-nav .nav-mobile-cta { display: block; margin-top: 20px; border: 0; }
  .main-nav .nav-mobile-cta .btn { width: 100%; }
}

@media (max-width: 768px) {
  body { padding-bottom: 62px; }
  .call-bar { display: flex; }
  body.no-callbar { padding-bottom: 0; }
  body.no-callbar .call-bar { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo img { height: 34px; }
  .hero-badges { grid-template-columns: 1fr; }
  .btn { padding: 14px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
