/* ==========================================================================
   SZB INGENIEURE — modern hard-edge / engineering style
   Palette from original site: brand red #CC241C, ink #0B0F17, white
   ========================================================================== */

:root {
  --red: #CC241C;
  --red-deep: #A01B15;
  --red-dark: #702424;
  --ink: #0B0F17;
  --text: #0F172A;
  --muted: #64748B;
  --line: #E3E6EB;
  --bg: #FFFFFF;
  --tint: #F4F6F8;
  --grid: rgba(15, 23, 42, .05);
  --grid-dark: rgba(255, 255, 255, .05);
  --f-display: "Archivo", "Arial Narrow", sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", "Courier New", monospace;
  --shadow-hard: 10px 10px 0 var(--red);
  --shadow-ink: 10px 10px 0 var(--ink);
  --head-h: 118px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }

.mono { font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; }
.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.wrap--narrow { width: min(880px, calc(100% - 48px)); }

/* ---------------------------------------------------------------- topbar */
.topbar { background: var(--ink); color: #B9C0CC; border-bottom: 3px solid var(--red); }
.topbar__in { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar .dot {
  display: inline-block; width: 7px; height: 7px; background: var(--red);
  margin-right: 8px; vertical-align: 1px;
}
.topbar__links em { font-style: normal; margin: 0 8px; opacity: .4; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--red); }
@media (max-width: 700px) { .topbar__links { display: none; } }

/* ---------------------------------------------------------------- header */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: #fff; border-bottom: 1px solid var(--line);
}
.site-head__in { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  font-family: var(--f-display); font-weight: 900; font-size: 26px; letter-spacing: -.02em;
  color: #fff; background: var(--red); padding: 4px 10px 6px; line-height: 1;
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
}
.brand__txt { display: flex; flex-direction: column; }
.brand__txt b { font-family: var(--f-display); font-size: 15px; letter-spacing: .18em; font-weight: 800; }
.brand__txt i { font-style: normal; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }

.site-nav { margin-left: auto; }
.menu { display: flex; list-style: none; gap: 2px; }
.menu > li { position: relative; }
.menu > li > a {
  display: block; padding: 10px 14px; text-decoration: none;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text); border: 1px solid transparent;
}
.menu > li > a::after { content: "›"; margin-left: 7px; color: var(--red); font-family: var(--f-body); }
.menu > li:not(.has-sub) > a::after { content: ""; margin: 0; }
.menu > li > a:hover { border-color: var(--ink); }
.menu > li.is-active > a { background: var(--ink); color: #fff; border-color: var(--ink); }
.menu > li.is-active > a::after { color: var(--red); }
.sub {
  position: absolute; top: calc(100% + 9px); left: 0; min-width: 300px;
  list-style: none; background: #fff; border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(204, 36, 28, .85);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
  padding: 6px; z-index: 70;
}
.menu > li:hover > .sub, .menu > li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a {
  display: block; padding: 11px 14px; text-decoration: none;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  border-left: 3px solid var(--line);
}
.sub a:hover { border-left-color: var(--red); background: var(--tint); color: var(--red); }
.sub a::before { content: "// "; color: var(--red); }
.head-cta { flex: none; }
@media (max-width: 1080px) { .btn.head-cta { display: none; } }

.site-head.is-stuck { box-shadow: 0 2px 0 var(--red), 0 10px 24px rgba(15, 23, 42, .08); }
.burger { display: none; flex: none; margin-left: auto; width: 46px; height: 46px; border: 2px solid var(--ink); position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: .2s; }
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .site-head__in { gap: 16px; }
  .burger { display: block; }
  .site-nav {
    position: fixed; inset: var(--head-h) 0 auto 0; margin: 0; background: var(--ink);
    max-height: calc(100dvh - var(--head-h)); overflow: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .2s;
    border-bottom: 3px solid var(--red);
  }
  body.nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .menu { flex-direction: column; padding: 8px 24px 24px; }
  .menu > li > a { color: #fff; font-size: 13px; border-color: rgba(255,255,255,.14); }
  .menu > li.is-active > a { background: var(--red); border-color: var(--red); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 3px solid var(--red); background: transparent; margin: 4px 0 10px; display: none; }
  .menu > li.open .sub { display: block; }
  .sub a { color: #fff; border-left: 0; padding: 9px 12px; font-size: 11.5px; }
  .sub a:hover { background: rgba(255,255,255,.06); }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; padding: 16px 26px; border: 2px solid var(--ink);
  transition: transform .12s, box-shadow .12s, background .12s, color .12s;
  background: transparent; color: var(--text);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.btn span { color: var(--red); }
.btn:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 rgba(11, 15, 23, .18); }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--red span { color: #fff; }
.btn--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ink span { color: var(--red); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { border-color: var(--ink); }
.btn--outline-white { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--outline-white span { color: var(--red); }
.btn--outline-white:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--white { background: #fff; border-color: #fff; color: var(--ink); }
.btn--white span { color: var(--red); }
.btn--sm { padding: 10px 18px; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero__bg::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 560px; height: 560px;
  background: repeating-linear-gradient(45deg, rgba(204,36,28,.22) 0 2px, transparent 2px 12px);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.hero__in {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px;
  align-items: center; padding: 96px 0 104px;
}
.eyebrow { color: var(--red); margin: 0 0 18px; }
.eyebrow--red { color: var(--red); }
.hero__title {
  font-size: clamp(44px, 6.6vw, 84px); font-weight: 900; letter-spacing: -.01em;
  margin: 0 0 26px;
}
.hero__title--red { color: var(--red); }
.hero__lead { max-width: 520px; color: #C6CCD6; font-size: 17px; }
.hero__lead b { color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 46px; }
.hero__facts { display: flex; gap: 0; border: 1px solid rgba(255,255,255,.16); margin: 0; }
.hero__facts div { padding: 14px 26px; border-left: 1px solid rgba(255,255,255,.16); }
.hero__facts div:first-child { border-left: 0; }
.hero__facts dt { color: var(--muted); font-size: 10px; }
.hero__facts dd { margin: 4px 0 0; font-size: 13px; color: #fff; letter-spacing: .1em; }

.hero__stack { position: relative; height: 460px; }
.hero__stack img {
  position: absolute; border: 2px solid #fff; filter: saturate(.92) contrast(1.04);
  box-shadow: 14px 14px 0 rgba(204, 36, 28, .9);
}
.hero__stack .s1 { width: 62%; top: 0; left: 4%; transform: rotate(-2.5deg); }
.hero__stack .s2 { width: 58%; top: 34%; right: 0; transform: rotate(2deg); box-shadow: -12px 12px 0 rgba(11,15,23,.55); border-color: var(--red); }
.hero__stack .s3 { width: 54%; bottom: 0; left: 16%; transform: rotate(-1.2deg); border-color: #B9C0CC; box-shadow: 12px -12px 0 rgba(204,36,28,.35); }
.hero__corner { position: absolute; color: var(--red); font-size: 22px; line-height: 1; }
.hero__corner.tl { top: -6px; left: -12px; }
.hero__corner.tr { top: -6px; right: -12px; }
.hero__corner.bl { bottom: -8px; left: -12px; }
.hero__corner.br { bottom: -8px; right: -12px; }
@media (max-width: 980px) {
  .hero__in { grid-template-columns: 1fr; padding: 64px 0 72px; gap: 40px; }
  .hero__stack { height: 360px; }
}
@media (max-width: 720px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero__facts { flex-wrap: wrap; row-gap: 0; }
  .hero__facts div { padding: 12px 18px; }
}
@media (max-width: 480px) {
  .hero__title { font-size: 34px; }
}

/* ---------------------------------------------------------------- ticker */
.ticker { background: var(--red); color: #fff; overflow: hidden; border-block: 3px solid var(--ink); }
.ticker__track { display: flex; width: max-content; animation: tick 36s linear infinite; }
.ticker ul { display: flex; list-style: none; }
.ticker li {
  padding: 10px 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; white-space: nowrap;
}
.ticker li::after { content: ""; width: 26px; }
.ticker li + li { margin-left: 26px; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---------------------------------------------------------------- sections */
.section { padding: 92px 0; }
.section--tint { background: var(--tint); border-block: 1px solid var(--line); }
.section--ink { background: var(--ink); color: #fff; position: relative; }
.section--ink::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
  background-size: 44px 44px;
}
.section > .wrap { position: relative; }
.sec-head { max-width: 680px; margin-bottom: 54px; }
.sec-title { font-size: clamp(22px, 4.2vw, 46px); font-weight: 850; letter-spacing: -.01em; margin-bottom: 18px; text-transform: uppercase; }
.sec-title--white { color: #fff; }
.sec-lead { color: var(--muted); font-size: 17px; max-width: 620px; margin: 0; }
.sec-lead--dim { color: #9AA3B2; }

/* ---------------------------------------------------------------- pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  background: #fff; border: 2px solid var(--ink); padding: 34px 30px 28px;
  position: relative; transition: transform .15s, box-shadow .15s;
}
.pillar::before {
  content: ""; position: absolute; top: -2px; left: -2px; width: 64px; height: 10px; background: var(--red);
}
.pillar:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-hard); }
.pillar__idx { color: var(--red); font-weight: 600; margin-bottom: 18px; }
.pillar h3 { font-size: 21px; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.pillar__more { text-decoration: none; color: var(--red); font-weight: 600; }
.pillar__more:hover { color: var(--ink); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- refs (home) */
.refs-sec .sec-head, .refs-sec .sec-lead { position: relative; }
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ref { position: relative; display: block; text-decoration: none; background: #121826; border: 1px solid rgba(255,255,255,.14); }
.ref__img { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.ref__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform .25s; }
.ref:hover .ref__img img { transform: scale(1.06); }
.ref::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: .2s; }
.ref:hover::after { transform: scaleX(1); }
.ref__cap { display: block; padding: 14px 16px; color: #fff; font-weight: 500; }
.ref__idx { position: absolute; top: 10px; left: 12px; color: #fff; background: rgba(11,15,23,.75); padding: 4px 8px; border: 1px solid rgba(255,255,255,.2); }
@media (max-width: 900px) { .refs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .refs { grid-template-columns: 1fr; } }
.refs-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 44px; }

/* ---------------------------------------------------------------- home team split */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.team-cards { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.team-card {
  border: 2px solid var(--ink); background: #fff; padding: 22px 20px;
  display: flex; flex-direction: column; gap: 6px; transition: transform .15s, box-shadow .15s;
}
.team-card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-ink); }
.team-card__mono { color: var(--red); font-weight: 600; }
.team-card b { font-family: var(--f-display); font-size: 18px; font-weight: 800; }
.team-card i { font-style: normal; color: var(--muted); font-size: 13px; }
.team-card--more { background: var(--ink); color: #fff; justify-content: space-between; position: relative; }
.team-card--more i { color: #9AA3B2; }
.team-card--more .arrow { position: absolute; right: 18px; bottom: 14px; color: var(--red); font-size: 22px; }
@media (max-width: 600px) { .team-cards { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- cta band */
.cta-band { background: var(--red); color: #fff; border-block: 3px solid var(--ink); }
.cta-band__in {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 58px 0; flex-wrap: wrap; position: relative;
}
.cta-band__in::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(11,15,23,.12) 0 2px, transparent 2px 14px);
  clip-path: polygon(0 0, 260px 0, 200px 100%, 0 100%);
  pointer-events: none;
}
.cta-band__title { font-size: clamp(24px, 3.4vw, 40px); font-weight: 900; letter-spacing: -.01em; position: relative; }
.cta-band .btn { position: relative; }

/* ---------------------------------------------------------------- page hero */
.page-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
  background-size: 44px 44px;
}
.page-hero__in { position: relative; padding: 72px 0 84px; }
.crumbs { color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs em { font-style: normal; color: var(--red); margin: 0 10px; }
.crumbs span { color: var(--red); }
.ph-title { font-size: clamp(24px, 5.4vw, 62px); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; max-width: 860px; }
.ph-sub { color: #9AA3B2; max-width: 620px; margin-top: 18px; font-size: 16px; }
.ph-mark {
  position: absolute; right: 0; top: 66px; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.22); font-size: 15px; letter-spacing: .3em;
  writing-mode: vertical-rl;
}
.page-hero__strip { position: absolute; bottom: 0; left: 0; right: 0; display: flex; height: 14px; }
.page-hero__strip span { flex: 1; background: var(--ink); border-right: 1px solid #1a2130; }
.page-hero__strip span:nth-child(4n) { background: var(--red); }
.page-hero__strip span:nth-child(9n) { background: #fff; }

/* ---------------------------------------------------------------- timeline */
.timeline { list-style: none; max-width: 860px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 2px;
  background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 12px);
}
.tl-item { display: grid; grid-template-columns: 110px 1fr; gap: 0 40px; padding: 14px 0; position: relative; }
.tl-year {
  font-size: 22px; font-weight: 600; color: var(--red); padding-top: 18px; letter-spacing: .05em;
}
.tl-card { border: 2px solid var(--ink); background: #fff; padding: 22px 26px; margin-left: 28px; transition: transform .15s, box-shadow .15s; }
.tl-card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-hard); }
.tl-card h3 { font-size: 17px; text-transform: uppercase; margin-bottom: 6px; }
.tl-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.tl-node {
  position: absolute; left: 112px; top: 34px; width: 15px; height: 15px; background: #fff;
  border: 3px solid var(--red); transform: rotate(45deg);
}
@media (max-width: 640px) {
  .timeline::before { left: 8px; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; padding-left: 36px; }
  .tl-card { margin-left: 0; }
  .tl-node { left: 2px; top: 26px; }
}
.note-strip {
  margin-top: 64px; border: 2px solid var(--ink); background: var(--tint);
  padding: 18px 24px; text-align: center; color: var(--text);
}
.note-strip a { color: var(--red); }

/* ---------------------------------------------------------------- people */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .people { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }
.person { border: 2px solid var(--ink); background: #fff; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.person:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-hard); }
.person__media {
  position: relative; background: var(--tint); border-bottom: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center; min-height: 250px;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 22px 22px;
}
.person__media img { max-height: 210px; width: auto; }
.person__media--photo img { filter: contrast(1.05) saturate(.8); }
.person__role { position: absolute; top: 0; left: 0; background: var(--red); color: #fff; padding: 6px 12px; font-weight: 600; }
.person__avatar {
  width: 120px; height: 120px; display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff; font-size: 40px; font-weight: 600; letter-spacing: .1em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}
.person__body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.person__body h2 { font-size: 23px; font-weight: 850; }
.person__sub { color: var(--red); margin: 0; }
.vita { list-style: none; border-top: 1px dashed var(--line); }
.vita li { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.vita .mono { color: var(--ink); font-weight: 600; flex: none; padding-top: 2px; }
.person__text { color: var(--muted); font-size: 14px; margin: auto 0 0; }

/* ---------------------------------------------------------------- mitarbeiter */
.mgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1080px) { .mgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mgrid { grid-template-columns: 1fr; } }
.mcard { border: 2px solid var(--ink); background: #fff; padding: 22px 20px; transition: transform .15s, box-shadow .15s; }
.mcard:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-hard); }
.mcard__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.mcard__avatar {
  width: 52px; height: 52px; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 600;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.mcard__idx { color: var(--muted); }
.mcard h3 { font-size: 18px; font-weight: 800; }
.mcard__role { color: var(--red); font-weight: 600; font-size: 13px; margin: 4px 0 16px; }
.mcard__lines { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 10.5px; }
.mcard__lines a { text-decoration: none; color: var(--text); word-break: break-all; }
.mcard__lines a:hover { color: var(--red); text-decoration: underline; }
.mcard__lines span { color: var(--muted); }

/* ---------------------------------------------------------------- leistungen */
.perf-head { max-width: 680px; margin-bottom: 44px; }
.perf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1080px) { .perf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .perf-grid { grid-template-columns: 1fr; } }
.perf-card { border: 2px solid var(--ink); background: #fff; padding: 26px 24px; transition: transform .15s, box-shadow .15s; }
.perf-card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-hard); }
.perf-card h3 {
  display: flex; align-items: center; gap: 12px; font-size: 17px; text-transform: uppercase;
  margin-bottom: 16px; padding-bottom: 14px; border-bottom: 3px solid var(--red);
}
.perf-card h3 .mono { background: var(--ink); color: #fff; padding: 5px 9px; font-size: 12px; }
.perf-card ul { list-style: none; }
.perf-card li { position: relative; padding: 7px 0 7px 24px; font-size: 14.5px; color: var(--text); border-bottom: 1px dashed var(--line); }
.perf-card li:last-child { border-bottom: 0; }
.perf-card li::before { content: "//"; position: absolute; left: 0; color: var(--red); font-family: var(--f-mono); font-size: 11px; top: 11px; }
.perf-card--accent { background: var(--ink); color: #fff; }
.perf-card--accent li { color: #C6CCD6; border-bottom-color: rgba(255,255,255,.12); }
.perf-card--accent li::before { color: var(--red); }
.perf-note {
  margin-top: 34px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
  border: 2px solid var(--red); background: #FDF1F0; padding: 24px 28px;
}
.perf-note__badge { background: var(--red); color: #fff; padding: 10px 14px; font-weight: 600; flex: none; }
.perf-note p { margin: 0; font-size: 15.5px; }
.perf-links { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .perf-links { grid-template-columns: 1fr; } }
.perf-link {
  border: 2px solid var(--ink); background: #fff; padding: 30px 28px; text-decoration: none;
  display: flex; flex-direction: column; gap: 10px; transition: transform .15s, box-shadow .15s;
}
.perf-link .mono { color: var(--red); font-weight: 600; }
.perf-link b { font-family: var(--f-display); font-size: 22px; text-transform: uppercase; font-weight: 800; }
.perf-link:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-hard); }

/* ---------------------------------------------------------------- projects */
.list-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 2px solid var(--ink); margin-bottom: 34px; }
.list-count { color: var(--red); font-weight: 600; }
.list-hint { color: var(--muted); }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .proj-grid { grid-template-columns: 1fr; } }
.pcard { border: 2px solid var(--ink); background: #fff; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.pcard:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-hard); }
.pcard__fig { display: block; width: 100%; position: relative; border: 0; border-bottom: 2px solid var(--ink); background: #10151f; padding: 0; overflow: hidden; }
.pcard__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; image-rendering: auto; transition: transform .3s; filter: saturate(.94); }
.pcard:hover .pcard__fig img { transform: scale(1.05); }
.pcard__zoom {
  position: absolute; right: 0; bottom: 0; background: var(--red); color: #fff;
  padding: 6px 12px; opacity: 0; transform: translateY(4px); transition: .18s; font-weight: 600;
}
.pcard:hover .pcard__zoom, .pcard__fig:focus-visible .pcard__zoom { opacity: 1; transform: none; }
.pcard__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard__idx { color: var(--muted); }
.pcard__body h3 { font-size: 16.5px; font-weight: 700; line-height: 1.3; text-transform: none; letter-spacing: 0; }
.pcard__meta { margin: auto 0 0; border-top: 1px dashed var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.pcard__meta div { display: grid; grid-template-columns: 74px 1fr; gap: 10px; }
.pcard__meta dt { color: var(--red); font-weight: 600; }
.pcard__meta dd { margin: 0; color: var(--muted); font-size: 10.5px; letter-spacing: .04em; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(11, 15, 23, .93);
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.open { display: flex; }
.lb-body { margin: 0; max-width: min(900px, 88vw); text-align: center; }
.lb-body img { max-height: 68vh; margin-inline: auto; border: 2px solid #fff; box-shadow: 16px 16px 0 rgba(204,36,28,.75); background: #fff; width: auto; }
.lb-body figcaption { color: #B9C0CC; margin-top: 18px; line-height: 1.7; }
.lb-close {
  position: absolute; top: 18px; right: 22px; color: #fff; font-size: 34px; line-height: 1;
  width: 52px; height: 52px; border: 2px solid #fff;
}
.lb-close:hover { background: var(--red); border-color: var(--red); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 40px;
  width: 56px; height: 84px; border: 2px solid rgba(255,255,255,.5); background: rgba(11,15,23,.4);
}
.lb-nav:hover { background: var(--red); border-color: var(--red); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }

/* ---------------------------------------------------------------- kontakt */
.kgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 900px) { .kgrid { grid-template-columns: 1fr; } }
.kcol { display: flex; flex-direction: column; gap: 22px; }
.kcard { border: 2px solid var(--ink); background: #fff; padding: 34px 32px; transition: transform .15s, box-shadow .15s; }
.kcard:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-hard); }
.kcard h2, .kcard h3 { font-weight: 850; text-transform: uppercase; }
.kcard__name { font-size: 30px; margin-bottom: 8px; }
.kcard__addr { font-style: normal; font-size: 17px; color: var(--muted); margin-bottom: 24px; }
.kcard__lines { display: flex; flex-direction: column; gap: 10px; border-block: 1px solid var(--line); padding: 18px 0; margin: 0 0 28px; }
.kcard__lines div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: baseline; }
.kcard__lines dt { color: var(--muted); }
.kcard__lines dd { margin: 0; }
.kcard__lines a { color: var(--red); text-decoration: none; font-size: 13px; }
.kcard__lines a:hover { text-decoration: underline; }
.kcard__text { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.anfahrt { list-style: none; display: flex; flex-direction: column; }
.anfahrt li { display: flex; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.anfahrt li:last-child { border-bottom: 0; }
.anfahrt__tag { flex: none; min-width: 74px; background: var(--ink); color: #fff; padding: 5px 8px; text-align: center; font-weight: 600; }
@media (max-width: 600px) {
  .kcard { padding: 24px 20px; }
  .kcard__lines div { grid-template-columns: 70px 1fr; }
  .kcard__lines dd { min-width: 0; overflow-wrap: anywhere; }
}

/* ---------------------------------------------------------------- legal */
.legal .ds-block { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal .ds-block:last-of-type { border-bottom: 0; }
.ds-h { font-size: clamp(15px, 3.2vw, 21px); font-weight: 800; text-transform: uppercase; margin-bottom: 14px; position: relative; padding-left: 18px; }
.ds-h::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 4px; width: 5px; background: var(--red); }
@media (max-width: 600px) { .ds-h { overflow-wrap: anywhere; } }
.legal p { color: var(--text); font-size: 15px; }
.legal a { color: var(--red); }
.ds-list { list-style: none; margin: 8px 0 14px; }
.ds-list li { position: relative; padding: 6px 0 6px 26px; font-size: 14.5px; border-bottom: 1px dashed var(--line); }
.ds-list li::before { content: "+"; position: absolute; left: 4px; color: var(--red); font-family: var(--f-mono); font-weight: 600; }
.ust { display: inline-block; background: var(--tint); border: 1px solid var(--line); padding: 10px 16px; color: var(--red); }

/* ---------------------------------------------------------------- footer */
.site-foot { background: var(--ink); color: #9AA3B2; }
.foot-grid { display: flex; height: 10px; }
.foot-grid span { flex: 1; background: #131A28; border-right: 1px solid var(--ink); }
.foot-grid span:nth-child(2) { flex: 2; background: var(--red); }
.foot-grid span:nth-child(4) { background: var(--red); }
.foot-in {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px;
  padding: 64px 0 48px;
}
@media (max-width: 980px) { .foot-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-in { grid-template-columns: 1fr; } }
.foot-brand .brand__mark { font-size: 30px; display: inline-block; margin-bottom: 14px; }
.foot-brand .mono { color: #fff; line-height: 1.8; }
.foot-desc { font-size: 13.5px; margin-top: 12px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h4 { color: #fff; font-weight: 600; margin-bottom: 10px; }
.foot-col a { text-decoration: none; font-size: 14px; color: #9AA3B2; border-left: 2px solid transparent; padding-left: 0; transition: .15s; }
.foot-col a:hover { color: #fff; border-left-color: var(--red); padding-left: 8px; }
.foot-contact p { font-size: 14px; margin: 0 0 8px; }
.foot-contact a { color: #fff; text-decoration: none; }
.foot-contact a:hover { color: var(--red); }
.foot-bottom { border-top: 1px solid #1a2130; }
.foot-bottom__in { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 18px 0; color: var(--muted); }
.foot-legal a { color: #B9C0CC; text-decoration: none; }
.foot-legal a:hover { color: var(--red); }
.foot-legal em { font-style: normal; margin: 0 8px; }

/* ---------------------------------------------------------------- reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

::selection { background: var(--red); color: #fff; }
