/* ANKA Isoliertechnik — design system v6 "Werkblatt"
   The site as a technical data sheet: ruled hairlines instead of shadows,
   numbered figures with caption bars, index lists, tabular data strips.
   Square, flat, no gradients, no pink, no colored shadows (client mandate).
   Fonts self-hosted (GDPR): Saira display + Figtree text + system mono for meta. */

/* ---------- fonts ---------- */
@font-face { font-family: 'Saira'; src: url('/assets/fonts/saira-v23-latin_latin-ext-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Saira'; src: url('/assets/fonts/saira-v23-latin_latin-ext-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Saira'; src: url('/assets/fonts/saira-v23-latin_latin-ext-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Saira'; src: url('/assets/fonts/saira-v23-latin_latin-ext-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/assets/fonts/figtree-v9-latin_latin-ext-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/assets/fonts/figtree-v9-latin_latin-ext-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/assets/fonts/figtree-v9-latin_latin-ext-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --ink: #17181C;
  --ink-2: #212328;
  --body-ink: #35373C;
  --grey: #6E7076;
  --paper: #F2EFE8;
  --card: #FFFFFF;
  --line: #DCD6C8;
  --line-strong: #B9B2A0;
  --line-dark: #34363D;
  --red: #C2000B;
  --red-deep: #8E040D;
  --red-wash: #F8ECE7;
  --red-lite: #FF3B3B;
  --steel: #4E6E8E;
  --display: 'Saira', 'Arial Narrow', sans-serif;
  --body: 'Figtree', 'Helvetica Neue', sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  --r-s: 0px; --r: 0px;
  --shadow: none; --shadow-s: none;
  --wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); font-size: 1.04rem; line-height: 1.66; color: var(--body-ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-deep); }
ul, ol { list-style: none; }
address { font-style: normal; }
svg { flex: none; }
button { font: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
:where([id]) { scroll-margin-top: 6rem; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 5.2rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

.container { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 2.4rem); }
.container--narrow { max-width: 900px; }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--card { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--ink); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.78); }
.answer-band { background: var(--ink); color: rgba(255,255,255,.78); border-block: 1px solid var(--line-dark); padding-block: clamp(3.5rem, 7vw, 6rem); }
.answer-band h2, .answer-band h3 { color: #fff; }
.answer-band .kicker { color: rgba(255,255,255,.75); }
.answer-band .kicker::after { background: rgba(255,255,255,.28); }
.answer-band__intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 7vw, 7rem); align-items: end; margin-bottom: 2.4rem; }
.answer-band__intro h2 { margin: 0; max-width: 14ch; }
.answer-band__intro p { max-width: 62ch; font-size: clamp(1.08rem, 1.8vw, 1.3rem); line-height: 1.55; }
.answer-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.3); }
.answer-item { padding: 1.6rem 1.5rem 0 0; margin-right: 1.5rem; border-right: 1px solid rgba(255,255,255,.22); }
.answer-item:last-child { border-right: 0; margin-right: 0; }
.answer-item h3 { font-size: 1.2rem; margin-bottom: .7rem; }
.answer-item p { color: rgba(255,255,255,.72); font-size: .98rem; line-height: 1.6; }
.section__h { margin-bottom: 1.4rem; max-width: 26ch; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.4rem; flex-wrap: wrap; border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.section--dark .section__head { border-top-color: rgba(255,255,255,.4); }
.section__head .section__h { margin-bottom: 0; }
.flow > * + * { margin-top: 1.15rem; }
.bigp { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.5; color: var(--ink-2); font-weight: 500; }
.reveal { opacity: 1; transform: none; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 300; }
.skip:focus { left: 0; }

/* ---------- view transitions ---------- */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vtOut .18s ease both; }
  ::view-transition-new(root) { animation: vtIn .22s ease both; }
}
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ---------- index label (kicker) ---------- */
.kicker {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--mono); font-weight: 500; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--ink-2);
  margin-bottom: 1.2rem;
}
.kicker::before { content: ''; width: 10px; height: 10px; background: var(--red); flex: none; }
.kicker::after { content: ''; flex: 1; height: 1px; background: var(--line-strong); }
.section--dark .kicker { color: rgba(255,255,255,.75); }
.section--dark .kicker::after { background: var(--line-dark); }

/* ---------- dimension line ---------- */
.dim { display: flex; align-items: center; gap: .8rem; margin-top: 1.8rem; color: var(--grey); font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.dim::before, .dim::after { content: ''; flex: 1; height: 1px; background: currentColor; min-width: 30px; }
.dim b { font-weight: 600; color: inherit; }

/* ---------- buttons: mechanical tabs ---------- */
.btn {
  display: inline-flex; align-items: stretch; gap: 0;
  font-family: var(--display); font-weight: 700; font-size: .92rem;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 0; border: 2px solid var(--ink); background: transparent; color: var(--ink);
  cursor: pointer; white-space: nowrap; min-height: 44px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn > * { pointer-events: none; }
.btn { padding: .8rem 1.5rem; align-items: center; gap: .6rem; }
.btn svg { width: 1.05em; height: 1.05em; }
.btn:active { transform: translate(1px, 1px); }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; position: relative; padding-right: 3.4rem; }
.btn--red::after {
  content: '\2192'; position: absolute; right: 0; top: 0; bottom: 0; width: 2.4rem;
  display: grid; place-items: center; border-left: 1px solid rgba(255,255,255,.35);
  font-weight: 700; transition: transform .18s ease;
}
.btn--red:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.btn--red:hover::after { transform: translateX(3px); }
.btn--red:has(svg) { padding-right: 1.5rem; }
.btn--red:has(svg)::after { display: none; }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--paper); border-color: var(--paper); }
.btn--outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn--lg.btn--red { padding-right: 3.6rem; }
.btn--lg.btn--red:has(svg) { padding-right: 1.9rem; }
.btn--block { width: 100%; margin-top: .7rem; justify-content: center; }
.section--dark .btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.section--dark .btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--red); font-size: .9rem; }
.link-arrow svg { width: 1.05em; height: 1.05em; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow--light { color: #fff; } .link-arrow--light:hover { color: var(--red-lite); }

/* ---------- figures (technical images) ---------- */
.fig { border: 1px solid var(--line-strong); background: var(--card); counter-increment: fig; }
.fig img { width: 100%; display: block; }
.fig figcaption {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--line-strong); padding: .55rem .9rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grey);
}
.fig figcaption b { color: var(--red); font-weight: 600; white-space: nowrap; }
body { counter-reset: fig; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--line); }
.header.is-scrolled { border-bottom-color: var(--line-strong); }
.header__row { display: flex; align-items: center; gap: 2rem; min-height: 76px; }
.brand__img { width: clamp(140px, 14vw, 176px); height: auto; }
.brand__img--light { display: none; }
.nav-desktop { margin-left: auto; }
.nav-desktop ul { display: flex; gap: clamp(1rem, 2vw, 2rem); align-items: center; }
.nav-desktop a {
  position: relative; font-family: var(--display); font-weight: 600; font-size: .88rem;
  text-transform: uppercase; letter-spacing: .07em; color: var(--ink); padding: .5rem 0;
}
.nav-desktop a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red); transition: right .2s ease; }
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after { right: 0; }
.nav-desktop a.nav-alert { color: var(--red); }
.nav-desktop a.nav-alert::before { content: ''; display: inline-block; width: 7px; height: 7px; background: var(--red); margin-right: .45rem; animation: pulse 2s ease-in-out infinite; }
.header__actions { display: flex; align-items: center; gap: .9rem; }
.header__tel { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mono); font-weight: 500; font-size: .84rem; color: var(--ink); }
.header__tel svg { width: 1em; height: 1em; color: var(--red); }
.header__tel:hover { color: var(--red); }

/* menu button */
.menu-btn {
  display: none; align-items: center; gap: .6rem;
  background: var(--ink); color: #fff; border: 2px solid var(--ink); cursor: pointer;
  padding: .6rem 1.1rem; font-family: var(--display); font-weight: 700; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .06em; z-index: 220; transition: background .2s ease;
}
.menu-btn:hover { background: var(--red); border-color: var(--red); }
.menu-btn__icon { display: grid; gap: 5px; width: 18px; }
.menu-btn__icon i { display: block; height: 2px; background: #fff; transition: transform .3s ease, width .3s ease; }
.menu-btn__icon i:nth-child(2) { width: 70%; justify-self: end; }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:nth-child(2) { width: 100%; transform: translateY(-3.5px) rotate(-45deg); }
.menu-btn:hover .menu-btn__icon i:nth-child(2) { width: 100%; }

/* ---------- overlay nav ---------- */
.nav-overlay { position: fixed; inset: 0; z-index: 210; background: var(--ink); display: flex; flex-direction: column; padding: 104px clamp(1.4rem, 6vw, 3rem) 2rem; opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s; overflow-y: auto; overscroll-behavior: contain; }
.nav-overlay.is-open { opacity: 1; visibility: visible; }
.nav-overlay__brand { position: absolute; top: 24px; left: clamp(1.4rem, 6vw, 3rem); }
.nav-overlay__brand img { width: 140px; }
.nav-overlay__links { display: grid; }
.nav-overlay__links > li { border-bottom: 1px solid var(--line-dark); }
.nav-overlay__links a {
  display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0;
  font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 5.4vw, 2.1rem); text-transform: uppercase;
  color: #fff; line-height: 1.05;
  opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease, color .15s ease;
}
.nav-overlay.is-open .nav-overlay__links a { opacity: 1; transform: none; }
.nav-overlay__links li:nth-child(1) a { transition-delay: .04s; } .nav-overlay__links li:nth-child(2) a { transition-delay: .08s; }
.nav-overlay__links li:nth-child(3) a { transition-delay: .12s; } .nav-overlay__links li:nth-child(4) a { transition-delay: .16s; }
.nav-overlay__links li:nth-child(5) a { transition-delay: .2s; } .nav-overlay__links li:nth-child(6) a { transition-delay: .24s; }
.nav-overlay__links a:hover, .nav-overlay__links a[aria-current="page"] { color: var(--red-lite); }
.nav-overlay__links a em { font-style: normal; font-family: var(--mono); font-weight: 500; font-size: .8rem; color: rgba(255,255,255,.4); letter-spacing: .1em; }
.nav-overlay__links a.nav-alert { color: var(--red-lite); }
.nav-overlay__sub { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1.2rem 0 .4rem; }
.nav-overlay__sub a { font-family: var(--display); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.75); border: 1px solid var(--line-dark); padding: .45rem 1rem; transition: border-color .15s ease, color .15s ease; }
.nav-overlay__sub a:hover { border-color: #fff; color: #fff; }
.nav-overlay__foot { margin-top: auto; padding-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; color: rgba(255,255,255,.6); font-size: .95rem; }
.nav-overlay__foot a { color: #fff; font-weight: 600; }
body.nav-locked { overflow: hidden; }
body.nav-locked { overflow: hidden; }
body.nav-locked .header { z-index: 260; background: transparent; border-color: transparent !important; }
body.nav-locked .brand, body.nav-locked .header__tel, body.nav-locked .header__actions .btn { visibility: hidden; }

/* ---------- Werkblatt hero ---------- */
.hero-w { padding-top: clamp(2.6rem, 6vw, 4.5rem); }
.hero-w h1 { max-width: 22ch; }
.hero-w__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: end; margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.hero-w__lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 52ch; }
.hero-w__cta { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: flex-end; }
.hero-w__databar {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0;
  margin-top: clamp(1.8rem, 4vw, 2.6rem); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-strong);
}
.hero-w__databar > div { padding: .8rem 2.2rem .8rem 0; margin-right: 2.2rem; border-right: 1px solid var(--line-strong); }
.hero-w__databar > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-w__databar b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--ink); line-height: 1.1; }
.hero-w__databar span { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--grey); }
.fig--hero { margin-top: clamp(1.8rem, 4vw, 2.8rem); }
.fig--hero img { aspect-ratio: 21 / 9; object-fit: cover; object-position: 60% 40%; }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); padding-block: .8rem; margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.ticker__track { display: inline-flex; align-items: center; gap: 2.4rem; white-space: nowrap; width: max-content; font-family: var(--mono); font-weight: 500; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); animation: tickerMove 52s linear infinite; will-change: transform; }
.ticker__track i { font-style: normal; color: var(--red); font-weight: 700; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.4rem, 6vw, 5rem); align-items: center; }
.split--rev .split__media { order: -1; }
.split__text > p { max-width: 58ch; }
.split__text .link-arrow { margin-top: 1.4rem; }
.split__media { border: 1px solid var(--line-strong); }
.split__media img { width: 100%; display: block; }

/* ---------- service index (interactive) ---------- */
.sidx { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.sidx__list { border-top: 1px solid var(--line-strong); }
.sidx__row {
  display: grid; grid-template-columns: 3.2rem 1fr auto; align-items: baseline; gap: 1rem;
  padding: 1.15rem .9rem 1.15rem .4rem; border-bottom: 1px solid var(--line-strong);
  color: var(--ink); transition: background .15s ease, color .15s ease, padding-left .15s ease;
}
.sidx__no { font-family: var(--mono); font-size: .78rem; color: var(--grey); transition: color .15s ease; }
.sidx__name { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2.1rem); text-transform: uppercase; line-height: 1.05; }
.sidx__kw { display: block; grid-column: 2; font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--grey); margin-top: .15rem; transition: color .15s ease; }
.sidx__arrow { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--red); grid-row: 1; grid-column: 3; transition: transform .18s ease; }
.sidx__row:hover, .sidx__row.is-active { background: var(--ink); color: #fff; padding-left: 1rem; }
.sidx__row:hover .sidx__no, .sidx__row.is-active .sidx__no,
.sidx__row:hover .sidx__kw, .sidx__row.is-active .sidx__kw { color: rgba(255,255,255,.6); }
.sidx__row:hover .sidx__arrow, .sidx__row.is-active .sidx__arrow { transform: translateX(5px); color: var(--red-lite); }
.sidx__fig { position: sticky; top: 100px; }
.sidx__fig img { aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .18s ease; }
.sidx__fig.is-swapping img { opacity: 0; }

/* ---------- data strip (facts) ---------- */
.facts { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-strong); background: var(--paper); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: clamp(1.6rem, 3.5vw, 2.6rem) clamp(1rem, 2vw, 2rem); border-right: 1px solid var(--line-strong); }
.fact:last-child { border-right: 0; }
.fact__num { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 4.8vw, 4rem); color: var(--ink); display: flex; align-items: baseline; gap: .35rem; line-height: 1; }
.fact__unit { font-family: var(--mono); font-weight: 500; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.fact__label { font-size: .88rem; color: var(--grey); margin-top: .6rem; max-width: 30ch; }

/* ---------- gallery: numbered figures ---------- */
.gallery { display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; margin-top: 2.2rem; scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
@media (min-width: 1001px) { .gallery--4 { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; padding-bottom: 0; } }
.gallery figure { flex: 0 0 clamp(240px, 34vw, 380px); scroll-snap-align: start; border: 1px solid var(--line-strong); background: var(--card); counter-increment: fig; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: none; }
.gallery figcaption { position: static; display: flex; align-items: center; gap: .6rem; border-top: 1px solid var(--line-strong); padding: .5rem .8rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); background: var(--card); backdrop-filter: none; }
.gallery figcaption::before { content: 'Abb. 0' counter(fig); color: var(--red); font-weight: 600; }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line-strong); border-bottom: 0; }
.why-grid--3 { grid-template-columns: repeat(3, 1fr); }
.why { background: var(--card); padding: 1.7rem 1.6rem; border-bottom: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); }
.why-grid > .why:nth-child(2n) { border-right: 0; }
.why-grid--3 > .why:nth-child(2n) { border-right: 1px solid var(--line-strong); }
.why-grid--3 > .why:nth-child(3n) { border-right: 0; }
.why__no { display: inline-block; font-family: var(--mono); font-size: .78rem; color: var(--red); font-weight: 600; margin-bottom: .9rem; }
.why__no::before { content: '['; color: var(--grey); margin-right: .2rem; }
.why__no::after { content: ']'; color: var(--grey); margin-left: .2rem; }
.why h3 { margin-bottom: .5rem; }
.why p { color: var(--grey); font-size: .95rem; }

/* ---------- certificates: specification table ---------- */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line-strong); border-bottom: 0; }
.cert { background: var(--card); padding: 1.5rem 1.4rem; border-bottom: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); border-top: 0; }
.certs > .cert:nth-child(3n) { border-right: 0; }
.cert__code { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: .92rem; letter-spacing: .04em; color: var(--red); margin-bottom: .6rem; }
.cert h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.cert p { font-size: .9rem; color: var(--grey); }
.certs--strip { grid-template-columns: repeat(6, 1fr); }
.certs--strip .cert { padding: 1rem 1.1rem; }
.certs--strip .cert:nth-child(3n) { border-right: 1px solid var(--line-strong); }
.certs--strip .cert:nth-child(6n) { border-right: 0; }
.certs--strip .cert p { display: none; }
.certs--strip .cert h3 { font-size: .84rem; margin: 0; color: var(--grey); font-weight: 500; font-family: var(--body); }
.certs--strip .cert__code { font-size: .86rem; margin-bottom: .25rem; }

/* ---------- sos ---------- */
.sos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line-dark); }
.sos-tile { display: flex; flex-direction: column; gap: .7rem; position: relative; background: var(--ink); padding: 1.7rem 1.6rem; color: #fff; border-right: 1px solid var(--line-dark); transition: background .18s ease; }
.sos-tile:last-child { border-right: 0; }
.sos-tile::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--red); }
.sos-tile:hover { background: var(--ink-2); color: #fff; transform: none; }
.sos-tile h2, .sos-tile h3 { color: #fff; font-size: 1.25rem; }
.sos-tile p { color: rgba(255,255,255,.72); font-size: .95rem; flex: 1; }
.sos-grid--hub { border-color: var(--line-strong); }
.sos-grid--hub .sos-tile { background: var(--card); color: var(--ink); border-right-color: var(--line-strong); }
.sos-grid--hub .sos-tile:hover { background: var(--paper); }
.sos-grid--hub .sos-tile h2 { color: var(--ink); }
.sos-grid--hub .sos-tile p { color: var(--grey); }
.sos-lede { max-width: 62ch; margin: -0.8rem 0 2rem; color: rgba(255,255,255,.78); }
.sos-note { margin-top: 1.6rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: rgba(255,255,255,.55); }
.avail-note { margin-top: 1.3rem; font-family: var(--mono); font-size: .8rem; color: var(--grey); }
.pulse { display: inline-block; width: 9px; height: 9px; background: var(--red); margin-right: .5rem; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* ---------- svc cards (Leistungen index page) ---------- */
.svc-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.svc-card { grid-column: span 4; position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line-strong); color: var(--ink); overflow: hidden; transition: border-color .18s ease, transform .18s ease; }
.svc-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--red); z-index: 2; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.svc-card--feature { grid-column: span 7; }
.svc-card--wide { grid-column: span 5; }
.svc-card:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-5px); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card__fig { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); border-bottom: 1px solid var(--line-strong); }
.svc-card--feature .svc-card__fig { aspect-ratio: 16 / 8; }
.svc-card--wide .svc-card__fig { aspect-ratio: 16 / 8; }
.svc-card__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .svc-card__fig img { transform: scale(1.04); }
.svc-card__tag { position: absolute; left: 0; top: 0; font-family: var(--mono); font-weight: 500; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--ink); padding: .35rem .7rem; backdrop-filter: none; }
.svc-card__body { display: flex; flex-direction: column; gap: .65rem; padding: 1.25rem 1.35rem 1.35rem; flex: 1; }
.svc-card__meta { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.svc-card__meta span:first-child { color: var(--red); font-weight: 700; }
.svc-card__body p { color: var(--grey); font-size: .95rem; flex: 1; }
.svc-card__proof { display: flex; align-items: baseline; gap: .6rem; border-top: 1px solid var(--line); padding-top: .75rem; margin-top: .2rem; }
.svc-card__proof b { font-family: var(--display); font-size: 1.45rem; line-height: 1; color: var(--ink); }
.svc-card__proof span { font-family: var(--mono); font-size: .67rem; line-height: 1.35; color: var(--grey); }
.svc-card__more { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--display); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--red); }
.svc-card__more svg { width: 1em; height: 1em; transition: transform .18s ease; }
.svc-card:hover .svc-card__more svg { transform: translateX(4px); }

/* ---------- page head ---------- */
.page-head { background: var(--paper); padding-block: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 24ch; }
.page-head__lede { margin-top: 1.3rem; max-width: 64ch; font-size: 1.1rem; color: var(--body-ink); }
.page-head .hero__actions { margin-top: 1.8rem; }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.page-head__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-head__media { border: 1px solid var(--line-dark); }
.page-head__media img { display: block; }
.page-head--services { background: var(--ink); border-bottom: 0; color: #fff; padding-bottom: clamp(3.8rem, 8vw, 7rem); }
.page-head--services h1 { color: #fff; max-width: 18ch; }
.page-head--services .page-head__lede { color: rgba(255,255,255,.78); max-width: 62ch; }
.page-head--services .kicker { color: rgba(255,255,255,.72); }
.page-head--services .kicker::after { background: rgba(255,255,255,.25); }
.page-head--services .crumbs, .page-head--services .crumbs a { color: rgba(255,255,255,.55); }
.services-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(20rem, .75fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: end; margin-top: 2.4rem; }
.services-hero__grid > * { min-width: 0; }
.services-hero__grid .hero__actions { margin-top: 2rem; }
.services-hero__rail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-width: 0; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.04); }
.services-hero__stat { display: flex; align-items: baseline; gap: .7rem; min-height: 8rem; padding: 1rem; border-right: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.services-hero__stat { min-width: 0; }
.services-hero__stat:nth-child(2n) { border-right: 0; }
.services-hero__stat:nth-last-child(-n+2) { border-bottom: 0; }
.services-hero__stat b { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; color: #fff; }
.services-hero__stat span { min-width: 0; overflow-wrap: anywhere; font-family: var(--mono); font-size: .68rem; line-height: 1.45; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.58); }
.section--services { background: var(--paper); }
.services-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 7vw, 7rem); align-items: end; margin-bottom: 2.8rem; border-bottom: 2px solid var(--ink); padding-bottom: 1.8rem; }
.services-intro h2 { max-width: 16ch; margin: 0; }
.services-intro p { max-width: 60ch; font-size: 1.05rem; line-height: 1.6; }
.service-process { background: var(--card); border-block: 1px solid var(--line); }
.service-process__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line-strong); }
.service-process__item { min-height: 12rem; padding: 1.3rem 1.35rem 1.4rem 0; margin-right: 1.35rem; border-right: 1px solid var(--line-strong); }
.service-process__item:last-child { border-right: 0; margin-right: 0; }
.service-process__no { display: block; font-family: var(--mono); font-size: .72rem; color: var(--red); letter-spacing: .1em; margin-bottom: 2.2rem; }
.service-process__item h3 { margin-bottom: .55rem; }
.service-process__item p { color: var(--grey); font-size: .92rem; }
.page-head--svc { background: var(--ink); border-bottom: 0; }
.page-head--svc h1 { color: #fff; }
.page-head--svc .page-head__lede { color: rgba(255,255,255,.8); }
.page-head--svc .kicker { color: rgba(255,255,255,.75); }
.page-head--svc .kicker::after { background: var(--line-dark); }
.page-head--svc .crumbs, .page-head--svc .crumbs a { color: rgba(255,255,255,.55); }
.page-head--svc .btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.page-head--svc .btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.page-head--alert { background: var(--red-wash); }

.crumbs { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.7rem; }
.crumbs ol { display: flex; flex-wrap: wrap; }
.crumbs li + li::before { content: '/'; margin-inline: .55rem; color: var(--grey); }
.crumbs a { color: var(--grey); } .crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--ink-2); }
.page-head--svc .crumbs [aria-current] { color: rgba(255,255,255,.85); }

/* ---------- service detail ---------- */
.svc-detail { display: grid; grid-template-columns: 1fr 350px; gap: clamp(2rem, 4vw, 3.6rem); align-items: start; }
.svc-detail__main > p { margin-bottom: 1.15rem; }
.svc-detail__main h2 { margin: 2.4rem 0 1.2rem; }
.checklist { border-top: 1px solid var(--line-strong); }
.checklist li { position: relative; padding: .6rem 0 .6rem 2rem; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ''; position: absolute; left: .15rem; top: 1.05rem; width: 10px; height: 10px; background: var(--red); }
.svc-detail__aside { position: sticky; top: 100px; display: grid; gap: 1.2rem; }
.aside-card { background: var(--card); border: 1px solid var(--line-strong); padding: 1.5rem 1.4rem; }
.aside-card--alert { background: var(--red-wash); border-color: var(--red); }
.aside-card__h { font-size: 1.08rem; margin-bottom: .6rem; }
.aside-card p { font-size: .94rem; color: var(--grey); margin-bottom: .9rem; }
.aside-card address { font-size: .96rem; margin-bottom: .8rem; }
.aside-card__hours { font-family: var(--mono); font-size: .76rem; }
.aside-links { display: grid; gap: .4rem; }
.aside-links a { font-size: .95rem; font-weight: 500; }

/* ---------- geo fact ---------- */
.geo-fact { display: flex; align-items: center; gap: 1.4rem; background: var(--card); border: 1px solid var(--line-strong); border-left: 4px solid var(--red); padding: 1.2rem 1.5rem; margin-bottom: 2rem; }
.geo-fact__num { font-family: var(--display); font-weight: 800; font-size: 2.5rem; color: var(--red); line-height: 1; flex: none; }
.geo-fact__num small { display: block; font-family: var(--mono); font-size: .72rem; font-weight: 500; color: var(--grey); letter-spacing: .08em; text-transform: uppercase; }
.geo-fact p { font-size: .95rem; color: var(--grey); margin: 0; }

/* ---------- advantages ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line-dark); }
.adv { padding: 1.7rem 1.6rem; background: var(--ink); border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.adv-grid > .adv:nth-child(2n) { border-right: 0; }
.adv-grid > .adv:nth-last-child(-n+2) { border-bottom: 0; }
.adv .adv__stat { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.5rem); color: var(--red-lite); line-height: 1.05; }
.adv__text { margin-top: .75rem; font-size: .96rem; color: rgba(255,255,255,.84); }
.adv__src { margin-top: 1rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.adv .adv__src::before { content: 'Quelle · '; color: var(--red-lite); }

/* ---------- kurz (AEO answer box) ---------- */
.kurz { position: relative; background: var(--card); border: 1px solid var(--line-strong); border-left: 4px solid var(--red); padding: 1.4rem 1.6rem 1.5rem; margin-bottom: 2.2rem; }
.kurz__label { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mono); font-weight: 600; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: .6rem; }
.kurz p { margin: 0; font-size: 1.02rem; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__item { background: transparent; border-bottom: 1px solid var(--line-strong); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; padding: 1.1rem .2rem; font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__x { position: relative; width: 15px; height: 15px; flex: none; }
.faq__x::before, .faq__x::after { content: ''; position: absolute; background: var(--red); transition: transform .2s ease; }
.faq__x::before { left: 0; top: 6.5px; width: 15px; height: 2.5px; }
.faq__x::after { left: 6.5px; top: 0; width: 2.5px; height: 15px; }
.faq__item[open] .faq__x::after { transform: scaleY(0); }
.faq__item[open] summary { color: var(--red); }
.faq__item p { padding: 0 .2rem 1.3rem; color: var(--body-ink); font-size: .98rem; max-width: 75ch; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line-strong); counter-reset: step; }
.step { background: var(--card); padding: 1.6rem 1.5rem; border-right: 1px solid var(--line-strong); }
.step:last-child { border-right: 0; }
.step__no { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--red); color: #fff; font-family: var(--display); font-weight: 700; margin-bottom: 1rem; }
.step h3 { margin-bottom: .45rem; font-size: 1.04rem; }
.step p { font-size: .92rem; color: var(--grey); }

/* ---------- more services ---------- */
.more-svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line-strong); border-bottom: 0; }
.more-svc a { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; background: var(--card); border-bottom: 1px solid var(--line-strong); font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: .92rem; letter-spacing: .04em; color: var(--ink); transition: background .15s ease, color .15s ease; }
.more-svc a:nth-child(odd) { border-right: 1px solid var(--line-strong); }
.more-svc a:hover { background: var(--ink); color: #fff; transform: none; }
.more-svc a svg { margin-left: auto; width: 1em; height: 1em; color: var(--red); }
.more-svc__no { font-family: var(--mono); font-weight: 500; font-size: .74rem; color: var(--red); }

/* ---------- tables / board / regions ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-strong); background: var(--card); }
.city-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.city-table th { text-align: left; font-family: var(--mono); font-weight: 600; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--grey); padding: .85rem 1.2rem; border-bottom: 2px solid var(--ink); }
.city-table td { padding: .7rem 1.2rem; border-bottom: 1px solid var(--line); }
.city-table td:first-child { font-weight: 600; font-family: var(--display); color: var(--ink); }
.city-table tr:last-child td { border-bottom: 0; }

.board { border-top: 1px solid var(--line-strong); }
.board__row { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(0, 2.2fr) auto; align-items: center; gap: 1.2rem; background: transparent; padding: .75rem .3rem; border-bottom: 1px solid var(--line-strong); transition: background .15s ease; }
.board__row:hover { background: var(--card); transform: none; box-shadow: none; }
.board__city { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: .98rem; color: var(--ink); }
.board__bar { position: relative; height: 4px; background: var(--line); min-width: 60px; }
.board__bar i { position: absolute; inset: 0 auto 0 0; width: var(--w, 50%); background: var(--red); }
.board__min { font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--ink); white-space: nowrap; }
.board__min small { font-family: var(--mono); font-weight: 400; color: var(--grey); font-size: .72rem; margin-left: .3rem; }
.board__foot { margin-top: 1rem; font-family: var(--mono); font-size: .74rem; color: var(--grey); }
.section--dark .board__row { background: transparent; border-color: var(--line-dark); }
.section--dark .board__row:hover { background: var(--ink-2); }
.section--dark .board__city, .section--dark .board__min { color: #fff; }
.section--dark .board__bar { background: rgba(255,255,255,.14); }

.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line-strong); border-bottom: 0; }
.region { background: var(--card); border-top: 0; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); padding: 1.4rem 1.3rem; }
.region-grid > .region:nth-child(3n) { border-right: 0; }
.region h3 { margin-bottom: .4rem; font-size: 1.02rem; }
.region p { color: var(--grey); font-size: .93rem; }

/* ---------- jobs ---------- */
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line-strong); }
.job { background: var(--card); padding: 1.6rem 1.5rem; border-right: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: .7rem; }
.job:last-child { border-right: 0; }
.job__meta { display: flex; gap: .5rem; flex-wrap: wrap; }
.job__meta span { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; background: var(--paper); border: 1px solid var(--line); padding: .3rem .7rem; color: var(--ink-2); }
.job p { color: var(--grey); font-size: .94rem; flex: 1; }

/* ---------- misc ---------- */
.pending { border: 1px dashed var(--line-strong); padding: 2.4rem 2rem; text-align: center; background: var(--card); }
.pending p { max-width: 60ch; margin: 0 auto 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.chips li { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--ink-2); background: var(--card); border: 1px solid var(--line-strong); padding: .4rem .85rem; }
.chips li em { font-style: normal; color: var(--red); font-weight: 600; }
.chips--dark li { background: var(--ink-2); border-color: var(--line-dark); color: rgba(255,255,255,.85); }
.strip-img { max-height: 340px; overflow: hidden; border-block: 1px solid var(--line-strong); }
.strip-img img { width: 100%; height: 340px; object-fit: cover; }
.legal h2 { font-size: 1.2rem; margin-top: 1.8rem; }

/* ---------- pipe explorer ---------- */
.pipe-x { display: grid; grid-template-columns: minmax(300px, 440px) 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pipe-x > * { min-width: 0; }
.pipe-x__svg { width: 100%; height: auto; display: block; }
.pipe-x__svg .ring { cursor: pointer; transition: opacity .2s ease, stroke-width .2s ease; }
.pipe-x__svg .ring:hover { opacity: .85; }
.pipe-x__svg .ring.is-active { stroke: var(--red); stroke-width: 3; }
.pipe-x__panel { min-height: 240px; min-width: 0; }
.pipe-x__tabs { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 1.5rem; border: 1px solid var(--line-strong); width: max-content; max-width: 100%; }
.pipe-x__tab { font-family: var(--display); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; border: 0; border-right: 1px solid var(--line-strong); background: var(--card); color: var(--ink-2); padding: .55rem 1.1rem; cursor: pointer; transition: background .15s ease, color .15s ease; }
.pipe-x__tab:last-child { border-right: 0; }
.pipe-x__tab:hover { background: var(--paper); }
.pipe-x__tab.is-active { background: var(--ink); color: #fff; }
.pipe-x__info h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.pipe-x__info p { max-width: 52ch; }
.pipe-x__norm { display: inline-block; margin-top: 1.1rem; font-family: var(--mono); font-weight: 500; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); border: 1px solid var(--line-strong); padding: .4rem .9rem; }

/* ---------- calculator ---------- */
.calc { background: var(--ink); border: 1px solid var(--line-dark); padding: clamp(1.6rem, 4vw, 2.6rem); color: #fff; }
.calc h2, .calc h3 { color: #fff; }
.calc__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
.calc label { display: block; font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .9rem; color: rgba(255,255,255,.75); }
.calc input[type="range"] { width: 100%; accent-color: var(--red); height: 34px; cursor: pointer; }
.calc__meter { font-family: var(--display); font-weight: 800; font-size: 2.1rem; color: #fff; }
.calc__meter small { font-family: var(--mono); font-weight: 400; font-size: .8rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .08em; }
.calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line-dark); }
.calc__res { padding: 1.2rem 1.3rem; border-right: 1px solid var(--line-dark); }
.calc__res:last-child { border-right: 0; }
.calc__res b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--red-lite); line-height: 1.1; }
.calc__res span { font-size: .86rem; color: rgba(255,255,255,.7); }
.calc__note { margin-top: 1.4rem; font-size: .8rem; color: rgba(255,255,255,.5); max-width: 70ch; }

/* ---------- kontakt / form ---------- */
.kontakt-grid { display: grid; grid-template-columns: 1fr 350px; gap: clamp(2rem, 4vw, 3.4rem); align-items: start; }
.form-card { background: var(--card); border: 1px solid var(--line-strong); border-top: 3px solid var(--red); padding: clamp(1.6rem, 3.4vw, 2.4rem); }
.form-card > h2 { margin-bottom: 1.5rem; }
.anfrage__progress { display: flex; gap: .35rem; margin-bottom: 2rem; }
.anfrage__progress li { flex: 1; text-align: center; font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--grey); padding-top: .6rem; position: relative; }
.anfrage__progress li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--line); }
.anfrage__progress li.is-active { color: var(--red); font-weight: 600; }
.anfrage__progress li.is-active::before, .anfrage__progress li.is-done::before { background: var(--red); }
.anfrage__step { border: 0; margin-bottom: 1.5rem; }
.anfrage__step legend { font-family: var(--display); font-weight: 700; font-size: 1.14rem; margin-bottom: .9rem; color: var(--ink); }
.hint { font-size: .88rem; color: var(--grey); margin-bottom: 1rem; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.check { display: flex; align-items: flex-start; gap: .65rem; padding: .8rem 1rem; border: 1px solid var(--line-strong); cursor: pointer; font-size: .97rem; transition: border-color .15s ease, background .15s ease; }
.check:hover { border-color: var(--ink); }
.check:has(input:checked) { border-color: var(--red); background: var(--red-wash); }
.check input { accent-color: var(--red); width: 1.1rem; height: 1.1rem; margin-top: .2rem; flex: none; }
.check--consent { font-size: .86rem; color: var(--body-ink); }
.field { display: block; margin-bottom: 1rem; }
.field span { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .4rem; }
.field input, .field textarea { width: 100%; padding: .8rem .95rem; font: inherit; color: var(--ink); border: 1px solid var(--line-strong); background: #fff; transition: border-color .15s ease; }
.field input:focus, .field textarea:focus { border-color: var(--red); outline: 2px solid var(--red); outline-offset: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.anfrage__nav { display: flex; gap: .8rem; justify-content: flex-end; border-top: 1px solid var(--line-strong); padding-top: 1.4rem; }
.anfrage.js-steps .anfrage__step { display: none; }
.anfrage.js-steps .anfrage__step.is-active { display: block; animation: stepIn .25s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }

/* ---------- cta ---------- */
.cta-wrap { padding-block: clamp(3rem, 7vw, 6rem); }
.cta-card { position: relative; background: var(--red); padding: clamp(2.4rem, 6vw, 4.2rem) clamp(1.6rem, 5vw, 4rem); display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; text-align: left; }
.cta-card h2 { color: #fff; max-width: 20ch; font-size: clamp(1.9rem, 3.6vw, 3rem); text-transform: uppercase; }
.cta-card p { color: rgba(255,255,255,.85); margin-top: .8rem; max-width: 46ch; }
.cta-card__actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 0; }
.cta-card .btn--outline-light { border-color: rgba(255,255,255,.7); }
.cta-card .btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--red); }
.cta-card .btn--light:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.75); font-size: .95rem; }
.footer a { color: rgba(255,255,255,.75); } .footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.25fr; gap: 2.6rem; padding-block: clamp(3rem, 6vw, 4.4rem); }
.footer__brand img { width: 170px; margin-bottom: 1.2rem; }
.footer__brand p { margin-bottom: 1.4rem; max-width: 38ch; }
.footer__h { font-family: var(--mono); font-weight: 600; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red-lite); margin-bottom: 1.1rem; }
.footer__col ul { display: grid; gap: .5rem; }
.footer__hours { margin-top: 1rem; font-family: var(--mono); font-size: .74rem; color: rgba(255,255,255,.5); }
.footer__word { padding: 2.5rem clamp(1.2rem, 6vw, 4rem) 0; user-select: none; }
.footer__word img { width: 100%; height: auto; opacity: .08; }
.footer__legal { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.3rem; border-top: 1px solid var(--line-dark); font-size: .84rem; flex-wrap: wrap; }
.footer__legal ul { display: flex; gap: 1.3rem; }

/* ---------- WhatsApp FAB ---------- */
.fab-wa { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; display: grid; place-items: center; width: 54px; height: 54px; background: #25D366; color: #fff; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .45); transition: transform .18s ease; }
.fab-wa svg { width: 28px; height: 28px; }
.fab-wa:hover { transform: translateY(-3px); color: #fff; }
body.nav-locked .fab-wa { display: none; }
.mobile-actions { display: none; }

/* ---------- grain on dark ---------- */
.section--dark, .footer, .page-head--svc, .page-head--services { position: relative; }
.section--dark::after, .footer::after, .page-head--services::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}
.section--dark > .container, .footer > *, .page-head--services > .container { position: relative; z-index: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) { .header__tel span { display: none; } }
@media (max-width: 1000px) {
  .nav-desktop, .header__tel { display: none; }
  .menu-btn { display: inline-flex; }
  .header__actions { margin-left: auto; }
  .svc-bento { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .svc-card, .svc-card--wide, .svc-card--feature { grid-column: span 1; }
  .svc-card--wide .svc-card__fig { aspect-ratio: 16 / 9; }
  .services-hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-hero__rail { max-width: 38rem; }
  .services-intro { grid-template-columns: 1fr; gap: 1rem; }
  .services-intro h2 { max-width: none; }
  .service-process__grid { grid-template-columns: repeat(2, 1fr); }
  .service-process__item:nth-child(2n) { border-right: 0; margin-right: 0; }
  .service-process__item:nth-child(-n+2) { border-bottom: 1px solid var(--line-strong); }
  .sidx { grid-template-columns: 1fr; }
  .sidx__fig { display: none; }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2n) { border-right: 0; }
  .fact { border-bottom: 1px solid var(--line-strong); }
  .fact:nth-last-child(-n+2) { border-bottom: 0; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .certs .cert:nth-child(3n) { border-right: 1px solid var(--line-strong); }
  .certs .cert:nth-child(2n) { border-right: 0; }
  .certs--strip { grid-template-columns: repeat(3, 1fr); }
  .certs--strip .cert:nth-child(2n) { border-right: 1px solid var(--line-strong); }
  .certs--strip .cert:nth-child(3n) { border-right: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2n) { border-right: 0; }
  .step { border-bottom: 1px solid var(--line-strong); }
  .step:nth-last-child(-n+2) { border-bottom: 0; }
  .why-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .job-grid, .region-grid, .sos-grid { grid-template-columns: repeat(2, 1fr); }
  .job { border-bottom: 1px solid var(--line-strong); }
  .sos-tile { border-bottom: 1px solid var(--line-dark); }
  .split, .page-head__grid, .pipe-x, .calc__grid { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__media img, .page-head__media img { max-height: 400px; width: 100%; object-fit: cover; }
  .pipe-x__svg { max-width: 400px; margin-inline: auto; }
  .svc-detail, .kontakt-grid { grid-template-columns: 1fr; }
  .svc-detail__aside { position: static; grid-template-columns: 1fr 1fr; }
  .hero-w__grid { grid-template-columns: 1fr; align-items: start; }
  .hero-w__cta { justify-content: flex-start; }
  .hero-w__databar { grid-template-columns: repeat(2, 1fr); }
  .hero-w__databar > div { margin-right: 0; padding: .8rem 1rem .8rem 0; }
  .hero-w__databar > div:nth-child(2n) { border-right: 0; }
  .page-head--services h1 { max-width: 16ch; }
  .services-hero__rail { width: 100%; }
  .answer-band__intro { grid-template-columns: 1fr; gap: 1rem; }
  .answer-band__intro h2 { max-width: none; }
  .answer-grid { grid-template-columns: 1fr; }
  .answer-item, .answer-item:last-child { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); margin: 0; padding: 1.35rem 0; }
  .answer-item:last-child { border-bottom: 0; }
}
@media (max-width: 680px) {
  body { font-size: 1rem; }
  body { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  .header__row { min-height: 68px; gap: .9rem; }
  .header__actions .btn { padding: .55rem .9rem; font-size: .74rem; }
  .header__actions .btn--red { padding-right: 2.5rem; }
  .btn--red { padding-right: 2.9rem; }
  .btn--red::after { width: 2rem; }
  .menu-btn__label { display: none; }
  .svc-bento, .sos-grid, .region-grid, .job-grid, .steps, .why-grid, .why-grid--3,
  .more-svc, .check-grid, .field-row, .adv-grid, .certs, .calc__out, .svc-detail__aside { grid-template-columns: 1fr; }
  .certs--strip { grid-template-columns: repeat(2, 1fr); }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .btn--lg { width: 100%; }
  .hero__actions .btn, .hero-w__cta .btn { flex: 1 1 auto; }
  .anfrage__progress li { font-size: 0; }
  .anfrage__progress li.is-active { font-size: .64rem; }
  .cta-card__actions { width: 100%; }
  .cta-card__actions .btn { flex: 1; }
  .board__row { grid-template-columns: 1fr auto; }
  .board__bar { display: none; }
  .gallery figure { flex-basis: 78vw; }
  .sidx__name { font-size: 1.3rem; }
  .more-svc a:nth-child(odd) { border-right: 0; }
  .step:nth-child(2n), .why:nth-child(2n) { border-right: 0; }
  .why { border-right: 0; }
  .cert { border-right: 0 !important; }
  .certs--strip .cert:nth-child(2n) { border-right: 0 !important; }
  .adv { border-right: 0; }
  .job, .region, .sos-tile { border-right: 0; }
  .services-hero__grid .hero__actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .services-hero__grid .hero__actions > * { min-width: 0; }
  .services-hero__grid .hero__actions .btn { width: 100%; min-width: 0; padding-inline: .7rem; font-size: .8rem; letter-spacing: .04em; white-space: normal; line-height: 1.15; justify-content: center; }
  .services-hero__rail { grid-template-columns: 1fr 1fr; }
  .page-head--services h1 { max-width: 100%; overflow-wrap: anywhere; }
  .pipe-x__tabs { width: 100%; }
  .pipe-x__tab { flex: 1 1 auto; min-width: 0; padding-inline: .6rem; }
  .services-hero__stat { min-height: 6.8rem; padding: .85rem .7rem; gap: .45rem; }
  .services-hero__stat b { font-size: 1.65rem; }
  .services-hero__stat span { font-size: .58rem; }
  .service-process__grid { grid-template-columns: 1fr; }
  .service-process__item, .service-process__item:nth-child(2n) { border-right: 0; border-bottom: 1px solid var(--line-strong); margin: 0; padding-right: 0; }
  .service-process__item:last-child { border-bottom: 0; }
  .mobile-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: grid; grid-template-columns: repeat(3, 1fr); padding-bottom: env(safe-area-inset-bottom); background: var(--ink); border-top: 1px solid rgba(255,255,255,.22); box-shadow: 0 -10px 30px -20px rgba(0,0,0,.65); }
  .mobile-actions a { min-height: 4.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; color: rgba(255,255,255,.82); font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-right: 1px solid rgba(255,255,255,.18); }
  .mobile-actions a:last-child { border-right: 0; }
  .mobile-actions a:hover { color: #fff; background: rgba(255,255,255,.08); }
  .mobile-actions a.mobile-actions__primary { background: var(--red); color: #fff; }
  .mobile-actions svg { width: 1.15rem; height: 1.15rem; }
  .fab-wa { display: none; }
  body.nav-locked .mobile-actions { display: none; }
}
