/* ==========================================================================
   HOCO Blechbearbeitung – Designsystem "Industrial Premium"
   Design-Tokens zentral; Farben aus dem bestehenden Corporate Design abgeleitet:
   Primär #35668d (Theme), Akzent #ee5519 (Theme, nur dekorativ / großflächig),
   Logo-Grau #b0b0b0. Kontraste geprüft (WCAG 2.2 AA).
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-italic-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Marke */
  --c-primary: #35668d;          /* 6.1:1 auf Weiß */
  --c-primary-600: #2c5677;
  --c-primary-700: #234662;
  --c-primary-900: #13283a;
  --c-primary-100: #dfe9f2;
  --c-primary-050: #f0f5f9;
  --c-accent: #ee5519;           /* dekorativ, Flächen, Linien */
  --c-accent-600: #c9410c;       /* Buttons mit weißer Schrift: 4.95:1 */
  --c-accent-700: #a93709;
  --c-logo: #b0b0b0;

  /* Neutrale Stahltöne */
  --c-ink: #0e1823;
  --c-steel-900: #131c26;
  --c-steel-800: #1d2833;
  --c-steel-700: #2b3743;
  --c-steel-600: #4a5866;        /* Fließtext sekundär: 7.4:1 */
  --c-steel-500: #66737f;        /* 4.8:1 */
  --c-steel-300: #b9c2cb;
  --c-steel-200: #d6dde3;
  --c-steel-100: #e8edf1;
  --c-steel-050: #f4f6f8;
  --c-white: #ffffff;
  --c-success: #1f7a4d;
  --c-error: #b42318;

  --c-text: var(--c-ink);
  --c-text-muted: var(--c-steel-600);
  --c-border: var(--c-steel-200);
  --c-bg: var(--c-white);
  --c-bg-alt: var(--c-steel-050);
  --c-focus: #ee5519;

  /* Typografie – fluid mit clamp() */
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-h4: clamp(1.125rem, 1.07rem + 0.25vw, 1.25rem);
  --fs-h3: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --fs-h2: clamp(1.75rem, 1.45rem + 1.4vw, 2.75rem);
  --fs-h1: clamp(2.125rem, 1.6rem + 2.6vw, 4rem);
  --fs-display: clamp(2.375rem, 1.6rem + 3.6vw, 4.75rem);
  --lh-tight: 1.08;
  --lh-head: 1.18;
  --lh-body: 1.65;

  /* Raster & Abstände */
  --container: 1320px;
  --container-narrow: 780px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 8vw, 128px);
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(14, 24, 35, .06);
  --shadow: 0 10px 30px -12px rgba(14, 24, 35, .18);
  --shadow-lg: 0 28px 60px -24px rgba(14, 24, 35, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 160ms;
  --t: 280ms;
  --header-h: 76px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-bg);
  font-feature-settings: "ss01" on;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
picture img { width: 100%; }
a { color: var(--c-primary); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--c-primary-700); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: var(--lh-head); font-weight: 700; letter-spacing: -0.02em; color: var(--c-ink); text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.025em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); letter-spacing: -0.01em; }
strong { font-weight: 650; }
figure { margin: 0; }
figcaption { font-size: var(--fs-xs); color: var(--c-text-muted); margin-top: var(--space-3); }
hr { border: 0; border-top: 1px solid var(--c-border); margin: var(--space-7) 0; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--c-primary); color: #fff; }

:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--c-ink); color: #fff; padding: 12px 18px; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }

/* ---------- Typografische Bausteine ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-primary); margin-bottom: var(--space-4);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--c-accent); flex: none; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--c-text-muted); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: grid; gap: var(--space-5); align-items: end; }
@media (min-width: 960px) { .section-head--split { grid-template-columns: 1.1fr 1fr; gap: var(--space-8); } }
.section-head p:last-child { margin-bottom: 0; }
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--fs-h3); margin-top: 1.8em; }
.prose h3 { font-size: var(--fs-h4); margin-top: 1.6em; }
.prose h4 { font-size: var(--fs-base); margin-top: 1.4em; }
.prose ul li, .prose ol li { margin-bottom: .4em; }
.prose a { word-break: break-word; }
.prose > :first-child { margin-top: 0; }
.cols-2 { columns: 2 340px; column-gap: var(--space-8); }
.cols-2 > * { break-inside: avoid; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--c-primary); --btn-fg: #fff; --btn-bd: var(--btn-bg);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: var(--radius-sm);
  font: 600 var(--fs-sm)/1.2 var(--font); letter-spacing: .01em; text-decoration: none;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  cursor: pointer; isolation: isolate; overflow: hidden;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: 0 10px 24px -14px rgba(14, 24, 35, .55); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--c-accent-600); }
.btn--accent:hover { --btn-bg: var(--c-accent-700); }
.btn--primary:hover, .btn:not([class*="--"]):hover { --btn-bg: var(--c-primary-700); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--c-ink); --btn-bd: var(--c-steel-300); }
.btn--ghost:hover { --btn-bd: var(--c-ink); --btn-fg: var(--c-ink); }
.btn--light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .45); }
.btn--light:hover { --btn-bg: #fff; --btn-fg: var(--c-ink); --btn-bd: #fff; }
.btn--sm { min-height: 42px; padding: 10px 18px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--c-primary); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Header & Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--c-border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: var(--space-6); height: var(--header-h); }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: auto; height: 30px; }
@media (min-width: 1200px) { .brand img { height: 34px; } }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px;
  font-size: var(--fs-sm); font-weight: 550; color: var(--c-ink); text-decoration: none; border-radius: var(--radius-sm);
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-item.is-active > .nav-link::after { transform: scaleX(1); }
.nav-link:hover { color: var(--c-ink); }
.nav-link .icon { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.nav-item--has-sub[data-open="true"] .nav-link .icon { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: var(--space-4); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink); text-decoration: none; white-space: nowrap; }
.header-phone .icon { width: 18px; height: 18px; color: var(--c-primary); }

/* Mega-Menü Leistungen */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--c-border); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
}
.nav-item--has-sub[data-open="true"] .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-inner { display: grid; grid-template-columns: 1fr 3fr; gap: var(--space-7); padding-block: var(--space-7); }
.mega-intro p { color: var(--c-text-muted); font-size: var(--fs-sm); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); list-style: none; padding: 0; margin: 0; }
.mega-card { display: grid; grid-template-columns: 88px 1fr; gap: var(--space-4); align-items: center; padding: 10px; border-radius: var(--radius); text-decoration: none; color: var(--c-ink); transition: background-color var(--t-fast) var(--ease); }
.mega-card:hover { background: var(--c-steel-050); color: var(--c-ink); }
.mega-card picture, .mega-card img { width: 88px; height: 66px; object-fit: cover; border-radius: var(--radius-sm); }
.mega-card strong { display: block; font-size: var(--fs-sm); }
.mega-card span { display: block; font-size: var(--fs-xs); color: var(--c-text-muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid var(--c-border); background: #fff; border-radius: var(--radius-sm); cursor: pointer; color: var(--c-ink); }
.nav-toggle .icon { width: 24px; height: 24px; }

@media (max-width: 1099px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn, .header-phone span { display: none; }
  .header-actions { order: 2; gap: var(--space-2); margin-left: auto; }
  .nav-toggle { order: 3; margin-left: 0; }
  .header-phone { width: 48px; height: 48px; justify-content: center; border: 1px solid var(--c-border); border-radius: var(--radius-sm); }
  .header-inner { gap: var(--space-3); }
  .brand img { height: 26px; }
  /* Header hat backdrop-filter = eigener Containing Block -> Höhe explizit setzen */
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    margin: 0; background: #fff; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--c-border);
    padding: var(--space-5) var(--gutter) var(--space-8); transform: translateX(100%); visibility: hidden;
    transition: transform var(--t) var(--ease), visibility 0s linear var(--t);
  }
  .nav.is-open { transform: none; visibility: visible; transition-delay: 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--c-border); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 2px; font-size: 1.0625rem; }
  .nav-link::after { display: none; }
  .mega { position: static; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav-item--has-sub[data-open="true"] .mega { display: block; }
  .mega-inner { grid-template-columns: 1fr; padding: 0 0 var(--space-4); gap: 0; }
  .mega-intro { display: none; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-card { grid-template-columns: 64px 1fr; padding: 8px 0; }
  .mega-card picture, .mega-card img { width: 64px; height: 48px; }
  .nav-mobile-cta { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 1100px) { .nav-mobile-cta { display: none; } .nav-item--has-sub { position: static; } }

/* ---------- Sektionen ---------- */
.section { padding-block: var(--section); position: relative; }
.section--light { background: var(--c-bg-alt); }
.section--dark { background: var(--c-steel-900); color: #d6dde3; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .eyebrow { color: #f5a27f; }
.section--dark .lead, .section--dark p { color: #c3ccd5; }
.section--dark a:not(.btn) { color: #fff; }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--white + .section--white { padding-top: 0; }
/* Technisches Raster als dezenter Hintergrund dunkler Flächen */
.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 75%);
}
/* Passermarken (Anmutung technischer Zeichnung) */
.marks { position: relative; }
.marks::before, .marks::after { content: ""; position: absolute; width: 18px; height: 18px; border-color: var(--c-accent); border-style: solid; pointer-events: none; z-index: 2; }
.marks::before { top: -8px; left: -8px; border-width: 2px 0 0 2px; }
.marks::after { bottom: -8px; right: -8px; border-width: 0 2px 2px 0; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--c-ink); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 20, 29, .94) 0%, rgba(11, 20, 29, .82) 38%, rgba(11, 20, 29, .35) 75%, rgba(11, 20, 29, .25) 100%), linear-gradient(0deg, rgba(11, 20, 29, .7) 0%, transparent 40%); }
.hero-inner { display: flex; flex-direction: column; justify-content: center; min-height: clamp(560px, 86vh, 860px); padding-block: clamp(96px, 12vw, 160px) clamp(56px, 7vw, 96px); }
.hero--page .hero-inner { min-height: clamp(380px, 52vh, 520px); padding-block: clamp(72px, 9vw, 120px) clamp(48px, 6vw, 72px); }
.hero h1 { color: #fff; max-width: 18ch; hyphens: manual; font-size: var(--fs-display); margin-bottom: var(--space-5); }
.hero--page h1 { font-size: var(--fs-h1); max-width: 22ch; }
.hero .eyebrow { color: #f5a27f; }
.hero-sub { max-width: 58ch; font-size: var(--fs-lead); color: #d3dbe3; margin-bottom: var(--space-6); }
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); list-style: none; padding: 0; margin: clamp(32px, 5vw, 56px) 0 0; font-size: var(--fs-sm); color: #d3dbe3; }
.hero-trust li { display: inline-flex; align-items: center; gap: 10px; }
.hero-trust .icon { width: 20px; height: 20px; color: var(--c-accent); }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 32px; writing-mode: vertical-rl; font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); display: none; }
@media (min-width: 1100px) { .hero-scroll { display: block; } }
.hero-scroll::after { content: ""; display: block; width: 1px; height: 56px; margin: 12px auto 0; background: linear-gradient(rgba(255, 255, 255, .6), transparent); }

/* Breadcrumb */
.breadcrumb { font-size: var(--fs-xs); margin-bottom: var(--space-5); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumb a { color: inherit; text-decoration: none; opacity: .85; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.hero .breadcrumb { color: #c3ccd5; }

/* ---------- Vertrauensleiste ---------- */
.trustbar { background: #fff; border-bottom: 1px solid var(--c-border); }
.trustbar-list { display: grid; grid-template-columns: repeat(2, 1fr); list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .trustbar-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .trustbar-list { grid-template-columns: repeat(var(--n, 6), 1fr); } }
.trustbar-item { padding: clamp(20px, 3vw, 32px) clamp(12px, 2vw, 24px); border-left: 1px solid var(--c-border); }
.trustbar-item:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 1099px) { .trustbar-item { border-left: 0; border-top: 1px solid var(--c-border); padding-left: 0; } .trustbar-item:nth-child(-n+2) { border-top: 0; } }
@media (min-width: 760px) and (max-width: 1099px) { .trustbar-item:nth-child(3) { border-top: 0; } }
.trustbar-value { display: block; font-size: clamp(1.25rem, 1.1rem + .7vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; color: var(--c-ink); line-height: 1.2; }
.trustbar-label { display: block; font-size: var(--fs-xs); color: var(--c-text-muted); margin-top: 4px; line-height: 1.45; }

/* ---------- Leistungskarten ---------- */
.cards { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius); overflow: hidden; color: var(--c-ink); text-decoration: none;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--c-steel-300); color: var(--c-ink); }
.service-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-steel-100); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.045); }
.service-card-num { position: absolute; left: 16px; top: 16px; padding: 4px 10px; background: rgba(14, 24, 35, .78); color: #fff; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; border-radius: 2px; }
.service-card-body { display: flex; flex-direction: column; flex: 1; padding: clamp(20px, 2.4vw, 28px); }
.service-card h3 { font-size: var(--fs-h3); margin-bottom: var(--space-3); }
.service-card p { color: var(--c-text-muted); font-size: var(--fs-sm); }
.service-card-benefit { display: flex; gap: 10px; align-items: flex-start; margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--c-border); font-size: var(--fs-sm); font-weight: 550; color: var(--c-ink); }
.service-card-benefit .icon { color: var(--c-primary); margin-top: 2px; width: 18px; height: 18px; }
.service-card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--space-4); font-weight: 600; font-size: var(--fs-sm); color: var(--c-primary); }
.service-card-more .icon { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.service-card:hover .service-card-more .icon { transform: translateX(4px); }
/* Ganze Karte klickbar, Link bleibt semantisch auf dem Titel */
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; }
.service-card:focus-within { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.service-card h3 a:focus-visible { outline: none; }

/* ---------- Vorteile / Features ---------- */
.features { display: grid; gap: 1px; background: var(--c-border); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: #fff; padding: clamp(24px, 3vw, 40px); position: relative; }
.section--light .feature { background: #fff; }
.feature-num { display: inline-flex; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; color: var(--c-accent-600); margin-bottom: var(--space-5); }
.feature h3 { font-size: var(--fs-h4); margin-bottom: var(--space-3); }
.feature p { color: var(--c-text-muted); font-size: var(--fs-sm); margin: 0; }
.section--dark .features { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .1); }
.section--dark .feature { background: var(--c-steel-900); }
.section--dark .feature-num { color: #f5a27f; }

/* ---------- Prozess ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-5); counter-reset: step; grid-template-columns: 1fr; }
@media (min-width: 760px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(var(--n, 5), 1fr); gap: 0; } }
.process-step { position: relative; padding: var(--space-6) var(--space-5) var(--space-5) 0; counter-increment: step; }
@media (min-width: 1100px) { .process-step { padding-right: var(--space-6); } }
.process-step::before { content: counter(step, decimal-leading-zero); display: block; font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 750; letter-spacing: -0.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--c-primary); margin-bottom: var(--space-5); }
.section--dark .process-step::before { -webkit-text-stroke-color: #8fb3d1; }
.process-step::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--c-border); }
.section--dark .process-step::after { background: rgba(255, 255, 255, .15); }
.process-step:first-child::after { background: linear-gradient(90deg, var(--c-accent) 0 56px, var(--c-border) 56px); }
.process-step h3 { font-size: var(--fs-h4); margin-bottom: var(--space-3); }
.process-step p { font-size: var(--fs-sm); color: var(--c-text-muted); margin: 0; }
.section--dark .process-step p { color: #b4c0cb; }
.section--dark .process-step:first-child::after { background: linear-gradient(90deg, var(--c-accent) 0 56px, rgba(255, 255, 255, .15) 56px); }
.process-note { margin-top: var(--space-6); font-size: var(--fs-xs); color: var(--c-text-muted); }

/* ---------- Text + Bild ---------- */
.split { display: grid; gap: clamp(32px, 5vw, 88px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--left .split-media { order: -1; } }
.split-media { position: relative; }
.split-media picture, .split-media img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.split-media::after { content: ""; position: absolute; width: 38%; height: 38%; right: -14px; bottom: -14px; border-right: 2px solid var(--c-accent); border-bottom: 2px solid var(--c-accent); z-index: -1; }
.split--left .split-media::after { right: auto; left: -14px; border-right: 0; border-left: 2px solid var(--c-accent); }
@media (max-width: 959px) { .split-media::after { display: none; } }
.split-body .prose { max-width: 60ch; }
.split-body .link-arrow, .split-body .btn { margin-top: var(--space-4); }

/* ---------- Spezifikationen / Maschinen ---------- */
.specs-wrap { display: grid; gap: clamp(32px, 4vw, 64px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .specs-wrap--media { grid-template-columns: 1fr 1.15fr; } }
.specs-media picture, .specs-media img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.spec-table { font-size: var(--fs-sm); }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 16px 0; border-bottom: 1px solid var(--c-border); }
.spec-table th { width: 42%; font-weight: 600; padding-right: var(--space-5); color: var(--c-ink); }
.spec-table td { color: var(--c-text-muted); }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 2px solid var(--c-ink); }
.section--dark .spec-table th { color: #fff; }
.section--dark .spec-table td { color: #c3ccd5; }
.section--dark .spec-table th, .section--dark .spec-table td { border-color: rgba(255, 255, 255, .14); }
.section--dark .spec-table tr:first-child th, .section--dark .spec-table tr:first-child td { border-top-color: var(--c-accent); }
.spec-note { font-size: var(--fs-xs); color: var(--c-text-muted); margin-top: var(--space-4); }

/* ---------- Branchen ---------- */
.industries { display: grid; gap: var(--space-5); grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 700px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .industries { grid-template-columns: repeat(4, 1fr); } }
.industry { padding: var(--space-6) var(--space-5); border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; transition: border-color var(--t) var(--ease), transform var(--t) var(--ease); }
.industry:hover { border-color: var(--c-primary); transform: translateY(-2px); }
.industry .icon { width: 32px; height: 32px; color: var(--c-primary); margin-bottom: var(--space-5); }
.industry h3 { font-size: var(--fs-h4); margin-bottom: var(--space-2); }
.industry p { font-size: var(--fs-sm); color: var(--c-text-muted); margin: 0; }

/* ---------- Chronik ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--c-border); }
@media (min-width: 900px) { .timeline::before { left: 50%; margin-left: -1px; } }
.timeline-item { position: relative; padding: 0 0 var(--space-7) 40px; }
.timeline-item::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--c-primary); }
@media (min-width: 900px) {
  .timeline-item { width: 50%; padding: 0 56px var(--space-7) 0; text-align: right; }
  .timeline-item::before { left: auto; right: -8px; }
  .timeline-item:nth-child(even) { margin-left: 50%; padding: 0 0 var(--space-7) 56px; text-align: left; }
  .timeline-item:nth-child(even)::before { right: auto; left: -8px; }
  .timeline-item:nth-child(odd) .timeline-media { margin-left: auto; }
}
.timeline-period { display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; color: var(--c-accent-600); margin-bottom: var(--space-2); }
.timeline-item h3 { font-size: var(--fs-h4); margin-bottom: var(--space-2); }
.timeline-item p { color: var(--c-text-muted); font-size: var(--fs-sm); white-space: pre-line; }
.timeline-media { max-width: 360px; margin-top: var(--space-4); }
.timeline-media img { border-radius: var(--radius-sm); filter: grayscale(.15); }

/* ---------- Team / Ansprechpartner ---------- */
.team { display: grid; gap: var(--space-5); grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 600px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .team { grid-template-columns: repeat(var(--n, 4), 1fr); } }
.person { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.person-media { aspect-ratio: 1; background: var(--c-steel-100); }
.person-media img { width: 100%; height: 100%; object-fit: cover; }
.person-body { padding: var(--space-5); display: flex; flex-direction: column; gap: 2px; flex: 1; }
.person h3 { font-size: var(--fs-h4); margin: 0; }
.person-role { font-size: var(--fs-sm); color: var(--c-text-muted); margin-bottom: var(--space-4); }
.person-contact { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 6px; font-size: var(--fs-sm); }
.person-contact a { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; color: var(--c-ink); word-break: break-all; }
.person-contact a:hover { color: var(--c-primary); }
.person-contact .icon { width: 16px; height: 16px; color: var(--c-primary); }

/* ---------- Zitat ---------- */
.quote { display: grid; gap: var(--space-7); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .quote--media { grid-template-columns: 280px 1fr; } }
.quote-media img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; max-width: 280px; }
.quote blockquote { margin: 0; font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); line-height: 1.55; font-weight: 450; color: var(--c-ink); position: relative; }
.quote blockquote p { margin-bottom: .8em; }
.quote blockquote::before { content: "“"; position: absolute; left: -.08em; top: -.55em; font-size: 4.5em; line-height: 1; color: var(--c-accent); opacity: .35; font-weight: 700; }
.quote cite { display: block; font-style: normal; margin-top: var(--space-4); font-size: var(--fs-sm); color: var(--c-text-muted); }
.quote cite strong { color: var(--c-ink); display: block; font-size: var(--fs-base); }

/* ---------- Galerie ---------- */
.gallery { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } .gallery li:first-child { grid-column: span 2; grid-row: span 2; } }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.gallery li:first-child img { aspect-ratio: auto; }
.gallery figure { height: 100%; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--c-border); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--c-border); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); padding: 22px 0; font-weight: 600; font-size: var(--fs-h4); line-height: 1.4; cursor: pointer; list-style: none; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; color: var(--c-primary); transition: transform var(--t) var(--ease); flex: none; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 0 24px; color: var(--c-text-muted); max-width: 72ch; }
.faq-answer p:last-child { margin: 0; }

/* ---------- Downloads ---------- */
.downloads { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.download { display: flex; gap: var(--space-4); align-items: center; padding: var(--space-5); border: 1px solid var(--c-border); border-radius: var(--radius); text-decoration: none; color: var(--c-ink); background: #fff; transition: border-color var(--t) var(--ease); }
.download:hover { border-color: var(--c-primary); color: var(--c-ink); }
.download .icon { width: 28px; height: 28px; color: var(--c-primary); }
.download span { display: block; font-size: var(--fs-sm); color: var(--c-text-muted); }

/* ---------- CTA-Band ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--c-primary-900); color: #fff; }
.cta-media { position: absolute; inset: 0; z-index: -2; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(19, 40, 58, .97) 0%, rgba(19, 40, 58, .9) 45%, rgba(19, 40, 58, .55) 100%); }
.cta-inner { display: grid; gap: var(--space-6); align-items: end; padding-block: clamp(64px, 8vw, 112px); }
@media (min-width: 960px) { .cta-inner { grid-template-columns: 1.4fr auto; } }
.cta h2 { color: #fff; max-width: 22ch; }
.cta p { color: #cfdae4; max-width: 58ch; font-size: var(--fs-lead); margin: 0; }

/* ---------- Anfrageformular ---------- */
.inquiry { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1100px) { .inquiry--aside { grid-template-columns: 1.6fr 1fr; } }
.form-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: clamp(20px, 3.5vw, 48px); box-shadow: var(--shadow); }
.section--dark .form-card { color: var(--c-text); }
.section--dark .form-card p { color: var(--c-text-muted); }
.steps-nav { display: flex; gap: var(--space-2); list-style: none; padding: 0; margin: 0 0 var(--space-6); counter-reset: s; }
.steps-nav li { flex: 1; counter-increment: s; font-size: var(--fs-xs); font-weight: 600; color: var(--c-steel-500); padding-top: 12px; border-top: 3px solid var(--c-steel-100); transition: color var(--t) var(--ease), border-color var(--t) var(--ease); }
.steps-nav li::before { content: counter(s) ". "; }
.steps-nav li.is-active { color: var(--c-ink); border-top-color: var(--c-accent); }
.steps-nav li.is-done { color: var(--c-primary); border-top-color: var(--c-primary); }
.form-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-step legend { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.02em; margin-bottom: var(--space-2); padding: 0; }
.form-step .step-intro { color: var(--c-text-muted); font-size: var(--fs-sm); margin-bottom: var(--space-5); }
.js .form-step:not(.is-current) { display: none; }
.no-js .form-step + .form-step { margin-top: var(--space-7); }
.form-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid--3 { grid-template-columns: repeat(3, 1fr); } .span-2 { grid-column: span 2; } .form-grid--3 .span-2 { grid-column: span 3; } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field .label { font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink); }
.field .opt { font-weight: 400; color: var(--c-steel-500); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; font: 400 1rem/1.4 var(--font); color: var(--c-ink);
  background: #fff; border: 1.5px solid var(--c-steel-300); border-radius: var(--radius-sm);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--c-steel-500); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(53, 102, 141, .18); }
.field .hint { font-size: var(--fs-xs); color: var(--c-text-muted); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--c-error); }
.field-error { font-size: var(--fs-xs); color: var(--c-error); font-weight: 600; display: flex; gap: 6px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); border: 0; padding: 0; margin: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1.5px solid var(--c-steel-300); border-radius: 999px; font-size: var(--fs-sm); font-weight: 550; transition: all var(--t-fast) var(--ease); background: #fff; }
.chip input:hover + span { border-color: var(--c-steel-500); }
.chip input:checked + span { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); color: var(--c-text-muted); line-height: 1.5; }
.check input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--c-primary); }
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3); text-align: center; padding: clamp(28px, 4vw, 48px) var(--space-5); border: 2px dashed var(--c-steel-300); border-radius: var(--radius); background: var(--c-steel-050); transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease); }
.dropzone.is-over { border-color: var(--c-primary); background: var(--c-primary-050); }
.dropzone .icon { width: 36px; height: 36px; color: var(--c-primary); }
.dropzone strong { font-size: var(--fs-base); }
.dropzone small { color: var(--c-text-muted); font-size: var(--fs-xs); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone:focus-within { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.file-list { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: grid; gap: var(--space-2); }
.file-list li { display: flex; align-items: center; gap: var(--space-3); padding: 10px 14px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-sm); font-size: var(--fs-sm); }
.file-list .icon { color: var(--c-primary); }
.file-list .size { margin-left: auto; color: var(--c-text-muted); font-size: var(--fs-xs); white-space: nowrap; }
.file-list button { border: 0; background: none; color: var(--c-steel-600); cursor: pointer; padding: 6px; border-radius: 4px; }
.file-list button:hover { color: var(--c-error); }
.form-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: space-between; align-items: center; margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--c-border); }
.form-actions .btn-next, .form-actions [type=submit] { margin-left: auto; }
.no-js .btn-next, .no-js .btn-prev { display: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-radius: var(--radius-sm); font-size: var(--fs-sm); margin-bottom: var(--space-5); }
.alert .icon { margin-top: 2px; }
.alert--error { background: #fdecea; color: #7a1a12; border-left: 4px solid var(--c-error); }
.alert--success { background: #e7f4ec; color: #14532d; border-left: 4px solid var(--c-success); }
.form-success { text-align: center; padding: var(--space-7) var(--space-4); }
.form-success .icon { width: 56px; height: 56px; margin: 0 auto var(--space-5); color: var(--c-success); padding: 12px; border-radius: 50%; background: #e7f4ec; }
.form-privacy { font-size: var(--fs-xs); color: var(--c-text-muted); margin-top: var(--space-4); }
.is-loading [type=submit] { pointer-events: none; opacity: .7; }

.aside-card { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--c-steel-900); color: #c3ccd5; position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card h3 { color: #fff; }
.aside-person { display: flex; gap: var(--space-4); align-items: center; margin: var(--space-5) 0; }
.aside-person img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.aside-person strong { color: #fff; display: block; }
.aside-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.aside-list a { display: inline-flex; gap: 12px; align-items: center; color: #fff; text-decoration: none; font-weight: 600; }
.aside-list a:hover { color: #f5a27f; }
.aside-list .icon { color: #f5a27f; }
.aside-facts { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid rgba(255, 255, 255, .12); list-style: none; padding-left: 0; display: grid; gap: var(--space-3); font-size: var(--fs-sm); }
.aside-facts li { display: flex; gap: 10px; }
.aside-facts .icon { color: #8fb3d1; width: 18px; height: 18px; margin-top: 3px; }

/* ---------- Kontaktdaten ---------- */
.contact-grid { display: grid; gap: clamp(32px, 4vw, 64px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-list { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: grid; gap: var(--space-4); }
.contact-list li { display: flex; gap: var(--space-4); align-items: flex-start; }
.contact-list .icon { width: 22px; height: 22px; color: var(--c-primary); margin-top: 3px; }
.contact-list a { color: var(--c-ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--c-primary); text-decoration: underline; }
.contact-media img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Stellen ---------- */
.job-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.job-item a { display: grid; grid-template-columns: 1fr auto; gap: var(--space-4); align-items: center; padding: clamp(20px, 2.5vw, 28px); background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); text-decoration: none; color: var(--c-ink); transition: border-color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.job-item a:hover { border-color: var(--c-primary); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--c-ink); }
.job-item h3 { font-size: var(--fs-h4); margin: 0 0 4px; }
.job-meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); font-size: var(--fs-sm); color: var(--c-text-muted); }
.job-meta span { display: inline-flex; gap: 6px; align-items: center; }
.job-meta .icon { width: 16px; height: 16px; }
.job-item .arrow { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--c-border); color: var(--c-primary); transition: all var(--t) var(--ease); }
.job-item a:hover .arrow { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.job-layout { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .job-layout { grid-template-columns: 1.7fr 1fr; } }
.job-section { margin-bottom: var(--space-7); }
.job-section h2 { font-size: var(--fs-h3); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { width: 20px; height: 20px; color: var(--c-primary); margin-top: 3px; }
.empty-state { padding: var(--space-7); border: 1px dashed var(--c-steel-300); border-radius: var(--radius); text-align: center; color: var(--c-text-muted); background: #fff; }

/* ---------- Leistungsseite ---------- */
.service-intro { display: grid; gap: clamp(32px, 5vw, 80px); grid-template-columns: 1fr; }
@media (min-width: 1000px) { .service-intro { grid-template-columns: 1.5fr 1fr; } }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: var(--space-6); border: 1px solid var(--c-border); border-top: 3px solid var(--c-accent-600); border-radius: var(--radius); background: #fff; box-shadow: 0 18px 40px -30px rgba(14, 24, 35, .35); }
.toc h2 { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--c-text-muted); margin-bottom: var(--space-3); }
.toc ol { list-style: none; padding: 0; margin: 0 0 var(--space-5); counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc li + li { border-top: 1px solid var(--c-steel-100); }
.toc ol a { display: flex; align-items: center; gap: 14px; padding: 12px 4px; color: var(--c-ink); text-decoration: none; font-size: var(--fs-sm); font-weight: 550; transition: color var(--t-fast) var(--ease), padding var(--t-fast) var(--ease); }
.toc ol a::before { content: counter(toc, decimal-leading-zero); flex: none; width: 22px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; color: var(--c-steel-300); transition: color var(--t-fast) var(--ease); }
.toc ol a::after { content: "\2192"; margin-left: auto; color: var(--c-accent-600); opacity: 0; transform: translateX(-6px); transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.toc ol a:hover, .toc ol a:focus-visible { color: var(--c-primary); padding-left: 8px; }
.toc ol a:hover::before, .toc ol a:focus-visible::before { color: var(--c-accent-600); }
.toc ol a:hover::after, .toc ol a:focus-visible::after { opacity: 1; transform: none; }
.toc-cta { padding-top: var(--space-5); border-top: 1px solid var(--c-border); }
.toc-cta p { margin: 0 0 var(--space-3); font-size: var(--fs-sm); color: var(--c-text-muted); }
.procedures { display: grid; gap: var(--space-5); grid-template-columns: 1fr; counter-reset: proc; }
@media (min-width: 760px) { .procedures { grid-template-columns: repeat(2, 1fr); } }
.procedure { padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); counter-increment: proc; position: relative; }
.procedure::before { content: counter(proc, decimal-leading-zero); position: absolute; right: 24px; top: 20px; font-size: var(--fs-xs); font-weight: 700; color: var(--c-steel-300); letter-spacing: .1em; }
.procedure h3 { font-size: var(--fs-h4); padding-right: 40px; }
.procedure p { color: var(--c-text-muted); font-size: var(--fs-sm); margin: 0; }
.procedure .tag { display: inline-block; margin-top: var(--space-4); font-size: var(--fs-xs); font-weight: 600; color: var(--c-primary); background: var(--c-primary-050); padding: 4px 10px; border-radius: 2px; }
.tag-list { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; margin: 0; }
.tag-list li { padding: 8px 14px; border: 1px solid var(--c-border); border-radius: 999px; font-size: var(--fs-sm); background: #fff; }
.section--dark .tag-list li { background: transparent; border-color: rgba(255, 255, 255, .2); color: #e8edf1; }
.two-col { display: grid; gap: clamp(32px, 5vw, 80px); grid-template-columns: 1fr; }
@media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1fr; } }
.related { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5); border: 1px solid var(--c-border); border-radius: var(--radius); text-decoration: none; color: var(--c-ink); background: #fff; transition: border-color var(--t) var(--ease); }
.related a:hover { border-color: var(--c-primary); color: var(--c-ink); }
.related strong { font-size: var(--fs-h4); }
.related span { font-size: var(--fs-sm); color: var(--c-text-muted); }

/* ---------- Bild-Block ---------- */
.media-block picture img { border-radius: var(--radius); }
.media-block--full picture img { border-radius: 0; max-height: 78vh; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-ink); color: #aeb9c4; font-size: var(--fs-sm); }
.footer-top { display: grid; gap: var(--space-7); grid-template-columns: 1fr; padding-block: clamp(56px, 7vw, 96px) var(--space-7); }
@media (min-width: 760px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 32px; width: auto; margin-bottom: var(--space-5); }
.footer-brand p { max-width: 38ch; }
.site-footer h2 { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: var(--space-5); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #d6dde3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: #f5a27f; margin-top: 3px; }
.footer-cert { display: inline-flex; align-items: center; gap: 12px; margin-top: var(--space-5); padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-sm); color: #e8edf1; font-weight: 600; font-size: var(--fs-xs); letter-spacing: .04em; }
.footer-cert .icon { color: #8fb3d1; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); justify-content: space-between; font-size: var(--fs-xs); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }

/* ---------- Mobile Schnellkontakt ---------- */
.quickbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--c-border); backdrop-filter: blur(10px); transform: translateY(100%); transition: transform var(--t) var(--ease); }
.quickbar.is-visible { transform: none; }
.quickbar .btn { min-height: 48px; padding: 10px 14px; }
@media (min-width: 1100px) { .quickbar { display: none; } }
@media (max-width: 1099px) { .site-footer { padding-bottom: 72px; } }

/* ---------- Vorschau-Hinweis ---------- */
.preview-bar { position: sticky; top: 0; z-index: 200; background: var(--c-accent-600); color: #fff; text-align: center; font-size: var(--fs-sm); padding: 8px var(--gutter); font-weight: 600; }

/* ---------- Fehlerseite ---------- */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.error-code { font-size: clamp(4rem, 3rem + 6vw, 8rem); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--c-primary); letter-spacing: -0.05em; }

/* ---------- Scroll-Reveal (nur mit JS und ohne reduzierte Bewegung) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-in > *:nth-child(2) { transition-delay: 70ms; }
.js .reveal-stagger.is-in > *:nth-child(3) { transition-delay: 140ms; }
.js .reveal-stagger.is-in > *:nth-child(4) { transition-delay: 210ms; }
.js .reveal-stagger.is-in > *:nth-child(5) { transition-delay: 280ms; }
.js .reveal-stagger.is-in > *:nth-child(6) { transition-delay: 350ms; }
.js .reveal-stagger.is-in > *:nth-child(n+7) { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .quickbar, .cta, .hero-media, .nav-toggle { display: none !important; }
  .hero { background: none; color: #000; }
  .hero h1, .hero-sub { color: #000; }
  body { font-size: 11pt; }
}

/* ------------------------------------------------------------------
   Cookie-Hinweis (sperrend bis zur Auswahl)
------------------------------------------------------------------ */
.consent-lock, .consent-lock body { overflow: hidden; }
.consent { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: rgba(11, 20, 29, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s ease; }
.consent.is-open { opacity: 1; }
.consent--soft { inset: auto 16px 16px auto; left: 16px; display: block; padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: none; }
.consent--soft .consent-box { margin-left: auto; pointer-events: auto; }
.consent-box { width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; color: var(--c-ink); border-radius: 14px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); padding: 32px; border-top: 4px solid var(--c-accent); transform: translateY(12px); transition: transform .3s var(--ease, ease); }
.consent.is-open .consent-box { transform: none; }
.consent-box:focus { outline: none; }
.consent-box:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 4px; }
.consent-eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent); }
.consent-title { margin: 0 0 12px; font-size: 1.5rem; line-height: 1.2; }
.consent-text { margin: 0 0 20px; font-size: var(--fs-sm, .95rem); line-height: 1.6; color: var(--c-steel-700, #3c4b5a); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-actions .btn { width: 100%; justify-content: center; }
.consent-actions .btn:only-child { grid-column: 1 / -1; }
.consent-more { display: inline-block; margin-top: 14px; padding: 4px 0; background: none; border: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent-options { display: grid; gap: 10px; margin: 0 0 18px; }
.consent-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--c-border); border-radius: 10px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.consent-opt input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--c-accent); flex: none; }
.consent-opt strong { display: block; color: var(--c-ink); }
.consent-options .btn { justify-self: start; }
.consent-legal { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--c-border); font-size: 13px; }
.consent-legal a { color: var(--c-steel-700, #3c4b5a); }
@media (max-width: 520px) {
  .consent-box { padding: 24px 20px; }
  .consent-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .consent, .consent-box { transition: none; } }

/* powered by (Agentur) */
.footer-meta { display: flex; flex-direction: column; gap: var(--space-3, 12px); }
.powered { display: inline-flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .78); text-decoration: none; }
.powered img { display: block; width: 110px; height: auto; }
.powered:hover, .powered:focus-visible { color: #fff; }
.powered:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* Footer unten: Rechtliches-Menü rechtsbündig */
@media (min-width: 900px) {
  .footer-bottom { flex-wrap: nowrap; align-items: center; }
  .footer-bottom .footer-meta { flex: none; }
  .footer-bottom > ul { flex: 1 1 auto; justify-content: flex-end; text-align: right; margin-left: auto; }
}
