/* ─────────────────────────────────────────────────────────────────────────
   Stahlbau Walther — Redesign
   Industrial-technical aesthetic. Logo blue + steel grays.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --c-blue: #1B5A9C;         /* logo blue, primary */
  --c-blue-deep: #0F3D6E;
  --c-blue-ink: #0A1F33;     /* deep navy for dark sections */
  --c-blue-bright: #4A8BC9;  /* lighter accent */
  --c-blue-pale: #E8F0F8;    /* very pale tint */
  --c-steel-900: #1A1D22;
  --c-steel-700: #3A4048;
  --c-steel-500: #6B7280;
  --c-steel-300: #C8CCD2;
  --c-steel-100: #ECEEF1;
  --c-paper: #FFFFFF;        /* clean white */
  --c-paper-2: #F4F6F9;
  --c-line: rgba(10, 31, 51, 0.10);
  --c-line-strong: rgba(10, 31, 51, 0.22);

  --f-display: "Poppins", system-ui, sans-serif;
  --f-body: "Poppins", system-ui, sans-serif;
  --f-mono: "Poppins", system-ui, sans-serif;

  --shell-max: 1320px;
  --shell-pad: clamp(20px, 4vw, 56px);
  --radius: 4px;            /* subtle, industrial */
  --radius-lg: 8px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-steel-900);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* shell */
.shell { max-width: var(--shell-max); margin: 0 auto; padding-left: var(--shell-pad); padding-right: var(--shell-pad); }

/* ─── Typography utilities ─────────────────────────────────── */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.eyebrow.center::before { display: none; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(36px, 5.2vw, 64px); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 700; }
h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; }
h4 { font-weight: 600; }
.h-mega {
  font-size: clamp(56px, 9vw, 140px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.95;
}
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--c-steel-700); max-width: 62ch; }

/* ─── Philosophie ─────────────────────────────────────────── */
.philosophie {
  background:
    linear-gradient(180deg, var(--c-paper) 0%, var(--c-paper-2) 100%);
}
.philosophie-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}
.phil-motto {
  font-family: var(--f-mono);
  font-size: clamp(13px, 1.2vw, 14px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto;
}
.phil-motto::before, .phil-motto::after {
  content: "";
  width: 40px; height: 1px;
  background: var(--c-blue);
}
.philosophie-head h2 {
  margin: 0;
}

.phil-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.phil-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .25s;
}
.phil-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -22px rgba(27, 90, 156, 0.25);
  border-color: rgba(27, 90, 156, 0.30);
}
.phil-step .phil-num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(40px, 4vw, 60px);
  color: var(--c-blue-pale);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 0;
}
.phil-step .phil-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.phil-step .phil-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-blue), var(--c-blue-deep));
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.phil-step .phil-icon svg { width: 22px; height: 22px; stroke-width: 1.8; }
.phil-step h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 24px);
  letter-spacing: -0.015em;
  color: var(--c-blue-ink);
  margin: 0;
}
.phil-step p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-steel-700);
  margin: 0;
}
.phil-cta {
  margin-top: clamp(40px, 5vw, 60px);
  display: flex;
  justify-content: center;
}

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

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq-section { background: var(--c-paper-2); }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq-item.open {
  border-color: rgba(27, 90, 156, 0.30);
  box-shadow: 0 10px 30px -16px rgba(27, 90, 156, 0.20);
}
.faq-question {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: transparent;
  border: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .2s;
}
.faq-question:hover { background: var(--c-blue-pale); }
.faq-question:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: -2px;
}
.faq-q-num {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-blue);
  background: var(--c-blue-pale);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.faq-item.open .faq-q-num { background: var(--c-blue); color: #fff; }
.faq-q-text {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(16px, 1.5vw, 18px);
  letter-spacing: -0.01em;
  color: var(--c-blue-ink);
  line-height: 1.35;
}
.faq-chevron {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--c-blue-pale);
  color: var(--c-blue);
  display: grid;
  place-items: center;
  transition: transform .35s cubic-bezier(.6,.05,.2,1), background .25s, color .25s;
  flex-shrink: 0;
}
.faq-chevron svg { width: 14px; height: 14px; stroke-width: 2.4; }
.faq-item.open .faq-chevron {
  background: var(--c-blue);
  color: #fff;
  transform: rotate(180deg);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s cubic-bezier(.6,.05,.2,1);
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer > div {
  overflow: hidden;
  min-height: 0;
}
.faq-answer p {
  margin: 0;
  padding: 0 26px 22px 26px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-steel-700);
  max-width: 70ch;
}
.faq-answer p + p { padding-top: 12px; }

.faq-aside {
  margin-top: 48px;
  text-align: center;
  padding: clamp(28px, 3vw, 40px);
  background: var(--c-blue-ink);
  color: #fff;
  border-radius: var(--radius-lg);
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.faq-aside h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0;
}
.faq-aside p {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  margin: 0;
  max-width: 50ch;
  margin: 0 auto;
}
.faq-aside .btn-row {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 720px) {
  .faq-question { padding: 18px 18px; gap: 12px; }
  .faq-answer p { padding-left: 18px; padding-right: 18px; }
}

/* ─── Header / Nav ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--c-line);
}
.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img {
  height: 80px;
  width: auto;
  max-width: none;  /* keep natural aspect ratio */
}
.brand-mark {
  display: none; /* compact mode if logo too wide */
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  color: var(--c-steel-900);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav-links a:hover { color: var(--c-blue); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--c-blue);
  transition: right .25s ease;
}
.nav-links a:hover::after { right: 0; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background: var(--c-blue-ink);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background .2s;
}
.phone-pill:hover { background: var(--c-blue); }
.phone-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ADE80; box-shadow: 0 0 0 3px rgba(74,222,128,.25);
}

.menu-toggle { display: none; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-transform: uppercase;
  transition: all .2s;
}
.btn-primary { background: var(--c-blue); color: #fff; }
.btn-primary:hover { background: var(--c-blue-deep); }
.btn-rust { background: var(--c-blue-ink); color: #fff; }
.btn-rust:hover { background: var(--c-blue); }
.btn-ghost { background: transparent; color: var(--c-steel-900); border-color: var(--c-line-strong); }
.btn-ghost:hover { border-color: var(--c-steel-900); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-light:hover { background: rgba(255,255,255,.18); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 120px) 0 clamp(60px, 7vw, 100px);
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 80% 20%, rgba(27, 90, 156, 0.06), transparent 60%),
    var(--c-paper);
}
.hero::before {
  /* steel-mesh diagonal pattern */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(10,31,51,.04) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(-45deg, rgba(10,31,51,.04) 0 1px, transparent 1px 14px);
  mask-image: radial-gradient(70% 60% at 75% 30%, #000 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  /* background photo on right side, faded into bg */
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  background-image: url("https://12.entwurf-webseite.de/wp-content/uploads/2025/08/gxjg-1.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  /* fade from solid on right → transparent on left */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 35%, rgba(0,0,0,.75) 70%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 35%, rgba(0,0,0,.75) 70%, #000 100%);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}
.hero::before { z-index: 1; }
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 1024px) {
  .hero::after { display: none; }
}
.hero-title { margin-bottom: 28px; }
.hero-title .accent { color: var(--c-blue); display: block; }
.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 36px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--c-line);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-steel-700);
}
.chip .check {
  width: 16px; height: 16px;
  background: var(--c-blue);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 900;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow:
    0 1px 0 #fff inset,
    0 30px 60px -20px rgba(10, 31, 51, 0.18);
}
.hero-card .corner {
  position: absolute;
  top: -1px; right: -1px;
  width: 80px; height: 80px;
  background: var(--c-blue-ink);
  color: #fff;
  border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.2;
  padding: 8px;
}
.hero-card h3 {
  font-size: 22px;
  margin: 10px 0 6px;
}
.hero-card .hero-card-sub {
  color: var(--c-steel-500);
  font-size: 14px;
  margin-bottom: 22px;
}
.callback-form { display: grid; gap: 12px; }
.callback-form input,
.callback-form select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius);
  font-family: var(--f-body);
  font-size: 14px;
  background: #fff;
  color: var(--c-steel-900);
  transition: border-color .15s, box-shadow .15s;
}
.callback-form input:focus,
.callback-form select:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(27, 90, 156, 0.15);
}
.callback-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.callback-form button {
  margin-top: 4px;
  border: none;
  cursor: pointer;
}
.form-fineprint {
  font-size: 12px;
  color: var(--c-steel-500);
  line-height: 1.45;
}

/* ─── Marquee stats strip ───────────────────────────────────── */
.stats-strip {
  background: var(--c-blue-ink);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px 0;
}
.stat {
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(32px, 3.5vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-num .unit {
  font-family: var(--f-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-blue-bright);
  margin-left: 4px;
  vertical-align: middle;
}
.stat-label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

/* ─── Section base ─────────────────────────────────────────── */
section { scroll-margin-top: 90px; }
.section { padding: clamp(80px, 9vw, 140px) 0; }
.section-dark { background: var(--c-blue-ink); color: #fff; }
.section-paper-2 { background: var(--c-paper-2); }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(20px, 4vw, 80px);
  margin-bottom: clamp(40px, 5vw, 80px);
  align-items: end;
}
.section-head.single { grid-template-columns: 1fr; max-width: 760px; }
.section-head.center { grid-template-columns: 1fr; text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }

/* ─── About / Unternehmen ──────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.about-text p { margin-bottom: 18px; color: var(--c-steel-700); font-size: 17px; }
.about-text p:last-child { margin-bottom: 0; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.values-grid.values-3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.4vw, 22px);
  margin-top: clamp(48px, 5vw, 72px);
}

.value-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: center;
}
.value-card .v-num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--c-blue);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.value-card h4 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  margin: 0;
}
.value-card p { font-size: 13px; color: var(--c-steel-500); margin-top: 2px; }
.value-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-blue);
  color: #fff;
  display: grid;
  place-items: center;
}
.value-icon svg { width: 18px; height: 18px; }

/* ─── Values 4-up card layout ──────────────────────────── */
.values-grid.values-3 .value-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 24px 20px 22px;
  gap: 12px;
  transition: transform .3s cubic-bezier(.2,.65,.3,1), box-shadow .3s, border-color .25s;
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.values-grid.values-3 .value-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--c-blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .5s cubic-bezier(.6,.05,.2,1);
}
.values-grid.values-3 .value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -22px rgba(27, 90, 156, 0.30);
  border-color: rgba(27, 90, 156, 0.30);
}
.values-grid.values-3 .value-card:hover::before { transform: scaleX(1); }

.values-grid.values-3 .value-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-deep) 100%);
  color: #fff;
  box-shadow:
    0 8px 18px -6px rgba(27, 90, 156, 0.5),
    inset 0 1px 0 rgba(255,255,255,.25);
  position: relative;
  flex-shrink: 0;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  margin-bottom: 4px;
}
.values-grid.values-3 .value-icon svg { width: 24px; height: 24px; stroke-width: 1.8; }
.values-grid.values-3 .value-icon::after {
  content: "";
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 11px;
  height: 11px;
  background: var(--c-blue-bright);
  border-radius: 4px;
  box-shadow: 0 0 0 3px #fff;
}
.values-grid.values-3 .value-card:hover .value-icon {
  transform: rotate(-6deg) scale(1.05);
}

.values-grid.values-3 .v-num {
  display: inline-block;
  max-width: 100%;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.10em;
  color: var(--c-blue);
  padding: 3px 9px;
  background: var(--c-blue-pale);
  border-radius: 999px;
  margin: 0;
  word-break: normal;
  white-space: normal;
  line-height: 1.4;
}

.values-grid.values-3 .value-card h4 {
  font-family: var(--f-display);
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--c-blue-ink);
  margin: 0;
  line-height: 1.25;
  text-wrap: balance;
  hyphens: auto;
  word-break: break-word;
}

.values-grid.values-3 .value-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--c-steel-700);
  margin: 4px 0 0;
  hyphens: auto;
  word-break: break-word;
}

@media (max-width: 720px) {
  .values-grid.values-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .values-grid.values-3 { grid-template-columns: 1fr; }
}

/* ─── Chronik / Timeline ─────────────────────────────────── */
.chronik {
  background:
    linear-gradient(180deg, var(--c-paper-2) 0%, var(--c-paper) 100%);
}
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 60px;
  padding-top: 50px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-blue-pale), var(--c-blue), var(--c-blue), var(--c-blue), var(--c-blue-pale));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.4s cubic-bezier(.65, .05, .25, 1);
}
.timeline.in-view::before { transform: scaleX(1); }

.tl-step {
  position: relative;
  padding-top: 40px;
  text-align: left;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .65, .3, 1);
  transition-delay: calc(var(--i, 0) * 180ms + 400ms);
}
.timeline.in-view .tl-step {
  opacity: 1;
  transform: translateY(0);
}
.tl-step::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-paper);
  border: 4px solid var(--c-blue);
  box-shadow: 0 0 0 4px var(--c-paper);
  transform: scale(0);
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
  transition-delay: calc(var(--i, 0) * 180ms + 300ms);
}
.timeline.in-view .tl-step::before { transform: scale(1); }

/* subtle pulse on dots after they pop in */
.timeline.in-view .tl-step::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-blue);
  opacity: 0;
  animation: tl-pulse 2.4s ease-out calc(var(--i, 0) * 180ms + 900ms) 1;
}
@keyframes tl-pulse {
  0%   { opacity: 0.35; transform: scale(1); }
  100% { opacity: 0;    transform: scale(2.4); }
}

.tl-step .year {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(26px, 2.4vw, 34px);
  color: var(--c-blue);
  letter-spacing: -0.02em;
  line-height: 1;
}
.tl-step h4 {
  font-size: 17px;
  font-weight: 600;
  margin: 10px 0 6px;
  line-height: 1.3;
}
.tl-step p {
  font-size: 14px;
  color: var(--c-steel-500);
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .timeline::before,
  .timeline .tl-step,
  .timeline .tl-step::before {
    transition: none;
    transform: none;
    opacity: 1;
  }
  .timeline .tl-step::after { display: none; }
}

@media (max-width: 900px) {
  .timeline {
    grid-template-columns: 1fr;
    padding-top: 0;
    margin-top: 40px;
    gap: 32px;
  }
  .timeline::before {
    left: 10px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--c-blue-pale), var(--c-blue), var(--c-blue-pale));
    transform: scaleY(0);
    transform-origin: top center;
  }
  .timeline.in-view::before { transform: scaleY(1); }
  .tl-step { padding-top: 0; padding-left: 40px; }
  .tl-step::before { left: 0; top: 2px; }
  .timeline.in-view .tl-step::after { left: 0; top: 2px; }
}
.value-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: center;
}

.about-media {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.about-media .slot-tall { grid-row: 1 / 3; aspect-ratio: 3/4; }
.about-media .slot-short { aspect-ratio: 4/3; }

/* image-slot styling */
image-slot {
  --slot-bg: var(--c-steel-100);
  --slot-border: var(--c-line-strong);
  border-radius: var(--radius);
  width: 100%;
  height: 100%;
}

/* certificates row */
.certs-row {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--c-line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.certs-row .label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-steel-500);
  font-weight: 500;
  max-width: 14ch;
  line-height: 1.4;
}
.certs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-steel-900);
}
.cert-badge .seal {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
}

/* ─── Services ─────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service {
  background: var(--c-paper);
  padding: 32px 28px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  position: relative;
  transition: background .25s;
}
.section-dark .services-grid { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.08); }
.section-dark .service { background: var(--c-blue-ink); }
.section-dark .service:hover { background: rgba(255,255,255,.04); }
.service:hover { background: #fff; }
.service-num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--c-blue);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.section-dark .service-num { color: var(--c-blue-bright); }
.service h3 { font-size: 22px; margin: 0; }
.service p { font-size: 14px; color: var(--c-steel-500); line-height: 1.55; }
.section-dark .service p { color: rgba(255,255,255,.6); }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-top: 8px;
}
.section-dark .service-link { color: #fff; }
.service-link .arrow { transition: transform .25s; }
.service:hover .service-link .arrow { transform: translateX(4px); }
.service-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: rgba(27, 90, 156, .08);
  color: var(--c-blue);
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.section-dark .service-icon { background: rgba(255,255,255,.08); color: #fff; }
.service-icon svg { width: 22px; height: 22px; }

/* ─── References / Projekte ────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 28px);
}
.project {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform .3s, box-shadow .3s;
}
.project:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(10,31,51,.25); }
.project .slot-img { aspect-ratio: 4/3; }
.project-body { padding: 24px 24px 26px; display: grid; gap: 10px; }
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--c-steel-500);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.project-meta span { display: inline-flex; align-items: center; gap: 6px; }
.project-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--c-blue); }
.project h3 {
  font-size: clamp(20px, 1.6vw, 24px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.project-scope {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--c-steel-500);
  border-top: 1px dashed var(--c-line);
  padding-top: 12px;
  margin-top: 4px;
}

/* Collapsible scope text */
.project-scope-extra {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(.6,.05,.2,1);
}
.project-scope-extra > span {
  overflow: hidden;
  min-height: 0;
  display: block;
}
.project.expanded .project-scope-extra {
  grid-template-rows: 1fr;
}
.project-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 6px 0 0;
  margin: 0;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-blue);
  cursor: pointer;
  transition: color .15s;
}
.project-toggle:hover { color: var(--c-blue-deep); }
.project-toggle .pt-icon {
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  transition: transform .35s;
}
.project.expanded .project-toggle .pt-icon { transform: rotate(180deg); }
.project-toggle .pt-label-more { display: inline; }
.project-toggle .pt-label-less { display: none; }
.project.expanded .project-toggle .pt-label-more { display: none; }
.project.expanded .project-toggle .pt-label-less { display: inline; }

.project-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--c-blue-ink);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
}
.project-tag.alt { background: var(--c-blue); }

@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .projects-grid { grid-template-columns: 1fr; }
}

/* ─── Team ─────────────────────────────────────────────────── */
.team-hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16/7;
  margin-bottom: clamp(40px, 5vw, 64px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.4vw, 22px);
}
.team-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .3s cubic-bezier(.2,.65,.3,1), box-shadow .3s, border-color .25s;
}
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px -18px rgba(10, 31, 51, 0.25);
  border-color: rgba(27, 90, 156, 0.30);
}
.team-card.team-card-lead {
  background: linear-gradient(180deg, #fff 0%, var(--c-blue-pale) 100%);
  border-color: rgba(27, 90, 156, 0.25);
}
.team-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: var(--c-steel-100);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--c-line), 0 8px 18px -8px rgba(10, 31, 51, 0.2);
}
.team-card .team-role {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-blue);
  font-weight: 600;
  margin: 0 0 4px;
}
.team-card .team-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--c-blue-ink);
  margin: 0;
  line-height: 1.2;
}
.team-contacts {
  margin-top: auto;
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
  font-size: 13.5px;
}
.team-contacts a, .team-contacts span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-steel-700);
  transition: color .15s;
  word-break: break-word;
}
.team-contacts a:hover { color: var(--c-blue); }
.team-contacts svg {
  width: 15px; height: 15px;
  color: var(--c-blue);
  flex-shrink: 0;
  stroke-width: 1.8;
}
.team-contacts .placeholder {
  color: var(--c-steel-500);
  font-style: italic;
  font-size: 12.5px;
}

@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-hero-photo { aspect-ratio: 4/3; }
  .team-avatar { width: 72px; height: 72px; }
}

/* ─── Career / Ausbildung ──────────────────────────────────── */
.career {
  background:
    linear-gradient(120deg, rgba(27,90,156,.85), rgba(15,61,110,.92)),
    var(--c-blue-ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.career::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 2px, transparent 2px 24px);
  pointer-events: none;
}
.career-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.career h2 { color: #fff; }
.career-text p { color: rgba(255,255,255,.78); font-size: 18px; max-width: 50ch; margin-bottom: 28px; }
.perks { display: grid; gap: 10px; margin: 28px 0 32px; }
.perk {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: center;
  font-size: 15px;
  color: rgba(255,255,255,.88);
}
.perk-tick {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--c-blue-bright);
  display: grid; place-items: center;
  color: var(--c-blue-ink); font-weight: 900; font-size: 12px;
}
.career-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.career-slots .slot-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 8px;
  transition: background .2s;
}
.career-slots .slot-card:hover { background: rgba(255,255,255,.14); }
.career-slots .slot-card .role-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.career-slots .slot-card h4 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.career-slots .slot-card .meta {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin-top: 6px;
}

/* ─── Contact ──────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.contact-info { display: grid; gap: 24px; }
.info-block {
  border-top: 1px solid var(--c-line);
  padding-top: 20px;
}
.info-block .label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-steel-500);
  margin-bottom: 6px;
}
.info-block .value { font-size: 18px; font-weight: 500; }
.info-block .value a:hover { color: var(--c-blue); }
.map-frame {
  width: 100%;
  aspect-ratio: 4/3;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  margin-top: 12px;
  filter: grayscale(20%) contrast(1.05);
  background: var(--c-steel-100);
}
.contact-form {
  background: var(--c-paper-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 44px);
  display: grid;
  gap: 14px;
}
.contact-form h3 { font-size: 26px; margin-bottom: 8px; }
.contact-form label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-steel-500);
  font-weight: 500;
  margin-bottom: 4px;
  display: block;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--c-line-strong);
  background: #fff;
  border-radius: var(--radius);
  font-family: var(--f-body);
  font-size: 15px;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button { border: none; }

/* ─── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--c-blue-ink);
  color: rgba(255,255,255,.72);
  padding: 60px 0 24px;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  /* subtle steel-mesh pattern, like the dark services section feel */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 1px, transparent 1px 18px);
  pointer-events: none;
}
.site-footer .shell { position: relative; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-grid h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-blue-bright);
  font-weight: 600;
  margin: 0 0 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { transition: color .2s; }
.footer-grid a:hover { color: var(--c-blue-bright); }
.footer-brand img { height: 60px; width: auto; max-width: none; filter: brightness(0) invert(1); margin-bottom: 18px; opacity: 0.95; }
.footer-tagline { max-width: 32ch; line-height: 1.55; color: rgba(255,255,255,.65); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,.5);
}
.footer-bottom a { color: inherit; transition: color .2s; }
.footer-bottom a:hover { color: var(--c-blue-bright); }

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid, .career-grid { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--c-line-strong); border-radius: var(--radius); background: transparent; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stat { padding: 0 20px; }
  .stat:nth-child(2) { border-right: none; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .callback-form .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .career-slots { grid-template-columns: 1fr; }
  .about-media { grid-template-columns: 1fr; }
  .about-media .slot-tall { grid-row: auto; }
}

/* ─── Floating call button ─────────────────────────────── */
.fab-call {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  height: 60px;
  border-radius: 999px;
  background: var(--c-blue);
  color: #fff;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow:
    0 8px 24px rgba(27, 90, 156, 0.35),
    0 2px 6px rgba(10, 31, 51, 0.18);
  overflow: hidden;
  transition: background .2s, box-shadow .25s, transform .25s;
}
.fab-call:hover {
  background: var(--c-blue-deep);
  box-shadow:
    0 12px 32px rgba(27, 90, 156, 0.45),
    0 4px 10px rgba(10, 31, 51, 0.22);
}
.fab-call:active { transform: scale(0.96); }

.fab-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
  animation: fab-breathe 2.6s ease-in-out infinite;
}
.fab-icon svg { width: 24px; height: 24px; }

/* expanding pulse rings around button */
.fab-call::before,
.fab-call::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--c-blue);
  z-index: -1;
  animation: fab-pulse 2.4s cubic-bezier(.4, 0, .2, 1) infinite;
}
.fab-call::after {
  animation-delay: 1.2s;
}

@keyframes fab-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  80%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

@keyframes fab-breathe {
  0%, 100% { transform: rotate(0deg) scale(1); }
  10%      { transform: rotate(-12deg) scale(1.05); }
  20%      { transform: rotate(12deg)  scale(1.05); }
  30%      { transform: rotate(-8deg)  scale(1.05); }
  40%      { transform: rotate(8deg)   scale(1.05); }
  50%, 100% { transform: rotate(0deg) scale(1); }
}

.fab-label {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  transition: max-width .35s cubic-bezier(.6, .05, .2, 1), opacity .25s, padding-right .35s;
  padding-right: 0;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.fab-call:hover .fab-label,
.fab-call:focus-visible .fab-label {
  max-width: 220px;
  opacity: 1;
  padding-right: 22px;
}

@media (max-width: 720px) {
  .fab-call { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .fab-call::before, .fab-call::after, .fab-icon { animation: none; }
}
.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 90vw);
  background: #fff;
  padding: 80px 32px 32px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.6,.05,.2,1);
  box-shadow: -20px 0 60px rgba(0,0,0,.18);
  z-index: 100;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 28px;
  border-bottom: 1px solid var(--c-line);
}
.mobile-menu-close {
  position: absolute; top: 24px; right: 24px;
  width: 42px; height: 42px;
  background: var(--c-steel-100); border: none; border-radius: var(--radius);
  font-size: 20px;
}
.scrim {
  position: fixed; inset: 0;
  background: rgba(10,31,51,.4);
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
  z-index: 99;
}
.scrim.show { opacity: 1; pointer-events: auto; }

/* ─── Leistungskarten: Hintergrundbilder + Hover ─────────────── */
.services-grid { grid-auto-flow: dense; }
.service.svc-bg { overflow: hidden; isolation: isolate; }
.service.svc-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .45s ease, transform .6s ease;
}
.service.svc-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11,26,44,.72), rgba(11,26,44,.86));
  opacity: 0;
  transition: opacity .45s ease;
}
.service.svc-bg:hover::before { opacity: 1; transform: scale(1); }
.service.svc-bg:hover::after  { opacity: 1; }
.service.svc-bg:hover { background: var(--c-blue-ink); }
.service.svc-bg:hover h3,
.service.svc-bg:hover p   { color: #fff; }
.service.svc-bg:hover .service-num { color: var(--c-blue-bright); }
.service.svc-bg:hover .service-icon {
  background: rgba(255,255,255,.14);
  color: #fff;
}
.service.svc-01::before { background-image: url("assets/services/01-schlosserei.jpg"); }
.service.svc-02::before { background-image: url("assets/services/02-denkmal.jpg"); }
.service.svc-03::before { background-image: url("assets/services/03-industrie.jpg"); }
.service.svc-04::before { background-image: url("assets/services/04-treppen.jpg"); }
.service.svc-05::before { background-image: url("assets/services/05-balkone.jpg"); }
.service.svc-06::before { background-image: url("assets/services/06-vordach.jpg"); }
.service.svc-07::before { background-image: url("assets/services/07-blech.jpg"); }

/* Karte 07 über die volle Breite (3 Spalten) */
.service.svc-wide { grid-column: 1 / -1; }
.service.svc-wide > div:last-child { max-width: 640px; }

/* ─── Kontaktformular: Status, Captcha, Höhenausgleich ───────── */
.form-status { font-size: 14px; line-height: 1.5; min-height: 1.2em; margin: 2px 0 0; }
.form-status.is-ok    { color: #1c7c39; }
.form-status.is-error { color: #b3261e; }
.contact-form .h-captcha { margin: 2px 0; }
/* Formular so hoch wie die Info-Spalte (Adresse + Karte), sauberer Abschluss */
@media (min-width: 861px) {
  .contact-grid { align-items: stretch; }
  /* Inhalt gleichmäßig verteilen, Fineprint sitzt am unteren Rand -> endet bündig mit der Karte */
  .contact-form {
    align-content: space-between;
  }
  .contact-form .form-fineprint {
    margin-top: auto;
    padding-top: 12px;
  }
}
