/* REISS Metallbau – Stylesheet. Der Node-Server setzt diese Datei direkt in jede HTML-Seite ein. */

/* Schriften (lokal, nur lateinischer Zeichensatz) */
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url('../fonts/barlow-condensed-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url('../fonts/barlow-condensed-700.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 400 600; font-display: swap; src: url('../fonts/ibm-plex-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 400 500; font-display: swap; src: url('../fonts/ibm-plex-mono-500.woff2') format('woff2'); }

:root {
  --ink: #0d0f11;
  --graphite: #15181b;
  --steel: #8b939a;
  --steel-light: #c3c8cc;
  --paper: #f2f1ed;
  --paper-2: #e6e4dd;
  --text-dark: #3d4348;
  --muted-dark: #4c5359;
  --white: #fff;
  --accent: #ff4f1a;
  --accent-ink: #1a0a04;
  /* Orange als Schriftfarbe: auf dunklem Grund das Original, auf hellem Grund dunkler (Kontrast ≥ 4,5:1) */
  --accent-text: var(--accent);
  --line: rgba(255, 255, 255, .13);
  --line-dark: rgba(13, 15, 17, .14);
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--white); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
button, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.mono { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--steel-light); margin-top: 18px; max-width: 34em; }
.muted-dark { color: var(--muted-dark); margin: 18px 0 22px; max-width: 34em; }

/* Typografie */
.h1, .h2, .hero__title { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: -.005em; line-height: .92; text-wrap: balance; }
.h1 { font-size: clamp(2.8rem, 6.2vw, 6rem); }
.h1__sub { display: block; font-size: .42em; line-height: 1.1; color: var(--steel-light); letter-spacing: .04em; margin-top: 14px; }
.h2 { font-size: clamp(2.2rem, 4.6vw, 4.4rem); }
.h3 { font: 700 clamp(1.5rem, 2.2vw, 2rem)/1 var(--display); text-transform: uppercase; margin-bottom: 18px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel-light); margin-bottom: 22px; }
.eyebrow--dark { color: var(--muted-dark); }
.dot { width: 8px; height: 8px; background: var(--accent); flex: none; }
.dot--dark { background: var(--ink); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.45; font-weight: 500; }
.link { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 4px; justify-self: start; }
.link span { transition: transform .25s var(--ease); }
.link:hover span { transform: translateX(4px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 17px 26px; font: 600 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s; }
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--white); color: var(--ink); }
.btn--ghost { border-color: var(--line); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--wide { width: 100%; }

/* Kopfzeile */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.is-solid { background: rgba(13, 15, 17, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand__mark { height: 40px; width: auto; flex: none; }
.brand__mark .lo { fill: #9aa0a5; }
.brand__mark .hi { fill: var(--white); }
.brand__name { display: grid; gap: 3px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .28); text-transform: uppercase; }
.brand__name b { font: 600 25px/.82 var(--display); letter-spacing: .075em; color: #a9aeb3; }
.brand__name span { font: 700 15.5px/.9 var(--display); letter-spacing: .035em; color: var(--white); }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--steel-light); transition: color .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--white); }
.nav a[aria-current]:not(.nav__cta) { box-shadow: 0 2px 0 var(--accent); }
.nav .nav__cta { color: var(--ink); background: var(--white); padding: 12px 18px; font-weight: 600; transition: background .2s; }
.nav .nav__cta:hover { background: var(--accent); color: var(--accent-ink); }
.nav .nav__cta[aria-current] { color: var(--ink); }
.nav .nav__cta[aria-current]:hover { color: var(--accent-ink); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* Startseite: Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding-top: 76px; isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background: url('../img/site/hero-bg-1440.webp') center 30% / cover no-repeat; opacity: .75; animation: drift 28s ease-in-out infinite alternate; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 15, 17, .55) 0%, rgba(13, 15, 17, .2) 40%, var(--ink) 100%); }
@keyframes drift { to { transform: scale(1.09); } }
.hero__grid { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: repeat(6, 1fr); padding: 0 var(--gutter); pointer-events: none; }
.hero__grid i { border-left: 1px solid rgba(255, 255, 255, .06); }
.hero__grid i:last-child { border-right: 1px solid rgba(255, 255, 255, .06); }
.hero__inner { flex: 1; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(32px, 6vh, 72px) var(--gutter); max-width: 1608px; width: 100%; margin: 0 auto; }
.hero__title { font-size: clamp(3.3rem, 8.3vw, 9.2rem); line-height: .86; margin-bottom: 30px; }
.hero__title .line { display: block; overflow: hidden; padding-top: .06em; }
.hero__title .line > span { display: block; }
.hero__title em { font-style: normal; color: var(--accent-text); }
.js .hero__title .line > span { transform: translateY(110%); transition: transform 1s var(--ease); }
.js .is-ready .hero__title .line > span { transform: none; }
.hero__title .line:nth-child(2) > span { transition-delay: .09s; }
.hero__title .line:nth-child(3) > span { transition-delay: .18s; }
.hero__lead { max-width: 34em; font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: var(--steel-light); margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__frame { position: relative; aspect-ratio: 4 / 5; max-height: 66svh; width: 100%; justify-self: end; background: var(--graphite); }
.js .hero__frame { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease) .25s; }
.js .is-ready .hero__frame { clip-path: inset(0); }
.hero__slides, .hero__slide, .hero__slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__slides { overflow: hidden; }
.hero__slide { opacity: 0; transition: opacity 1.1s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { object-fit: cover; transform: scale(1.06); transition: transform 6s ease-out; }
.hero__slide.is-active img { transform: none; }
.hero__caption { position: absolute; left: 0; bottom: 0; max-width: 88%; display: grid; gap: 4px; padding: 16px 20px 16px 18px; background: var(--ink); border-left: 3px solid var(--accent); font-size: 14px; color: var(--steel-light); pointer-events: none; }
.hero__caption strong { font: 600 22px/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--white); }
.hero__caption .mono { color: var(--accent-text); }
.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin: 0 var(--gutter); }
.hero__stats--block { margin: 0; }
.hero__stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 22px 20px 26px 0; }
.hero__stats div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.hero__stats dd { font: 700 clamp(2.4rem, 4.4vw, 4.2rem)/.9 var(--display); font-variant-numeric: tabular-nums; }
.hero__stats dt { font-size: 14px; line-height: 1.35; color: var(--steel); max-width: 18em; }

/* Unterseiten: Kopfbereich */
.page-hero { position: relative; padding: calc(76px + clamp(36px, 6vw, 88px)) 0 clamp(48px, 6vw, 88px); isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(80% 120% at 85% 0%, #1b2025 0%, var(--ink) 60%); }
.page-hero__inner { display: grid; gap: clamp(28px, 5vw, 80px); align-items: end; }
.page-hero--img .page-hero__inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.page-hero__lead { margin-top: 26px; max-width: 38em; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--steel-light); }
.page-hero__lead a { color: var(--white); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.page-hero__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--graphite); }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { margin-bottom: 26px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.crumbs li + li::before { content: '/'; margin-right: 10px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--steel-light); }
.legal .crumbs ol { color: var(--muted-dark); }
.legal .crumbs a:hover { color: var(--ink); }
.legal .crumbs [aria-current] { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips li { font-size: 14px; padding: 7px 12px; border: 1px solid var(--line); color: var(--steel-light); }

/* Laufband */
.marquee { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line-dark); overflow: hidden; padding: 20px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track div { display: flex; }
.marquee__track span { font: 600 clamp(1.3rem, 2vw, 1.8rem)/1 var(--display); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; padding: 0 28px; display: flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: ''; width: 7px; height: 7px; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sektionen */
.section { padding: clamp(80px, 10vw, 160px) 0; position: relative; }
.section--tight { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.section--flush { padding-top: 0; }
.section--top { padding-top: clamp(48px, 6vw, 88px); }
.section--paper { background: var(--paper); color: var(--ink); }
.section--paper, .pager, .svc-card, .marquee, .badge { --accent-text: #b33609; }
.section--dark { background: var(--ink); }
.section--accent { background: var(--accent); color: var(--accent-ink); }
.section--accent .eyebrow, .cta .eyebrow { color: var(--accent-ink); }
.section__head { margin-bottom: clamp(40px, 5vw, 72px); max-width: 60rem; }
.section__head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }

/* Unternehmen (Startseite) */
.about { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(20px, 2.5vw, 40px); row-gap: clamp(40px, 6vw, 88px); }
.about__head { grid-column: 1 / 8; }
.about__body { grid-column: 8 / 13; display: grid; gap: 22px; align-content: start; padding-top: 34px; }
.about__body p:not(.lead) { color: var(--text-dark); }
.materials { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); margin-top: 6px; }
.materials li { font: 700 clamp(1.4rem, 2vw, 1.9rem)/1 var(--display); text-transform: uppercase; padding: 14px 0 6px; display: grid; gap: 10px; }
.materials .mono { color: var(--accent-text); }
.about__img { overflow: hidden; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--a { grid-column: 1 / 9; aspect-ratio: 16 / 9; }
.about__img--b { grid-column: 9 / 13; aspect-ratio: 4 / 5; align-self: end; }
.js .reveal-img img { clip-path: inset(0 0 100% 0); transform: scale(1.12); transition: clip-path 1.2s var(--ease), transform 1.6s var(--ease); }
.js .reveal-img.is-in img { clip-path: inset(0); transform: none; }

.badge { display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border: 1px solid var(--line-dark); background: var(--white); text-decoration: none; justify-self: start; transition: border-color .25s; }
.badge:hover { border-color: var(--ink); }
.badge__seal { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 700 22px/1 var(--display); box-shadow: inset 0 0 0 3px var(--white), 0 0 0 1px var(--accent); }
.badge span:last-child { display: grid; gap: 2px; font-size: 14px; color: var(--muted-dark); }
.badge b { font: 700 1.25rem/1 var(--display); text-transform: uppercase; color: var(--ink); letter-spacing: .02em; }
.master { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.master__img { max-width: 440px; box-shadow: 0 30px 60px -30px rgba(13, 15, 17, .45); }
.master__img img { width: 100%; height: auto; }
.master__text .h2 { margin-bottom: 8px; }

/* Leistungen (Startseite) */
.services { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.services__preview { position: sticky; top: 108px; aspect-ratio: 4 / 5; max-height: calc(100svh - 150px); width: 100%; overflow: hidden; background: var(--graphite); }
.services__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .6s ease, transform 1.2s var(--ease); }
.services__preview img.is-active { opacity: 1; transform: none; }
.services__list { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 64px 1fr 40px; gap: 16px; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); position: relative; }
.service::before { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--accent); transition: width .6s var(--ease); }
.service.is-active::before { width: 100%; }
.service__no { color: var(--steel); padding-top: 12px; transition: color .3s; }
.service.is-active .service__no { color: var(--accent-text); }
.service h3 { font: 700 clamp(2rem, 3.8vw, 3.6rem)/.95 var(--display); text-transform: uppercase; color: var(--steel); transition: color .3s; }
.service h3 a { text-decoration: none; }
.service h3 a::after { content: ''; position: absolute; inset: 0; }
.service.is-active h3 { color: var(--white); }
.service ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.service ul li { font-size: 14px; padding: 7px 12px; border: 1px solid var(--line); color: var(--steel-light); }
.service__arrow { font-size: 24px; color: var(--steel); padding-top: 10px; transition: color .3s, transform .3s var(--ease); }
.service.is-active .service__arrow { color: var(--accent-text); transform: translateX(4px); }

/* Leistungsübersicht */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.5vw, 40px); }
.svc-card { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 1px solid var(--line-dark); transition: border-color .3s; }
.svc-card:hover { border-color: var(--ink); }
.svc-card__img { display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.svc-card:hover .svc-card__img img { transform: scale(1.04); }
.svc-card__body { display: grid; gap: 14px; padding: clamp(22px, 3vw, 36px); flex: 1; align-content: start; }
.svc-card__body .mono { color: var(--accent-text); }
.svc-card h2 { font: 700 clamp(2rem, 3.4vw, 3rem)/.95 var(--display); text-transform: uppercase; }
.svc-card p { color: var(--text-dark); }
.svc-card__list { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-card__list span { font-size: 13.5px; padding: 6px 10px; border: 1px solid var(--line-dark); }
.svc-links { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.svc-links li + li { border-left: 1px solid var(--line); }
.svc-links a { display: grid; gap: 10px; padding: 26px 24px 26px 0; text-decoration: none; position: relative; height: 100%; }
.svc-links li + li a { padding-left: 24px; }
.svc-links .mono { color: var(--accent-text); }
.svc-links strong { font: 700 clamp(1.6rem, 2.4vw, 2.2rem)/1 var(--display); text-transform: uppercase; }
.svc-links a > span:not(.mono) { color: var(--steel-light); font-size: 15px; }
.svc-links__arrow { position: absolute; right: 18px; top: 24px; font-size: 22px; transition: transform .3s var(--ease), color .3s; }
.svc-links a:hover .svc-links__arrow { transform: translateX(4px); color: var(--accent-text); }

/* Fließtext */
.prose-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 110px); }
.prose-aside { position: sticky; top: 108px; align-self: start; }
.prose-aside .mono { color: var(--muted-dark); margin-bottom: 14px; }
.prose-aside ol { border-top: 1px solid var(--line-dark); counter-reset: toc; }
.prose-aside li { border-bottom: 1px solid var(--line-dark); counter-increment: toc; }
.prose-aside a { display: flex; gap: 12px; padding: 12px 0; text-decoration: none; font-weight: 500; font-size: 15px; }
.prose-aside a::before { content: counter(toc, decimal-leading-zero); font: 500 12px/1.9 var(--mono); color: var(--accent-text); }
.prose-aside a:hover { color: var(--accent-text); }
.prose { max-width: 50rem; }
.prose h2 { font: 700 clamp(1.8rem, 3vw, 2.6rem)/1 var(--display); text-transform: uppercase; margin: 56px 0 18px; }
.prose > h2:first-child, .prose > section:first-child h2, .prose .h1 + h2 { margin-top: 0; }
.prose .h1 { margin-bottom: 48px; }
.prose p { color: var(--text-dark); margin-bottom: 16px; font-size: 1.06rem; }
.prose section h2 { margin-top: 56px; }
.prose section:first-child h2 { margin-top: 0; }
.prose a { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.ticks { display: grid; gap: 10px; margin: 6px 0 16px; }
.ticks li { padding-left: 24px; position: relative; color: var(--text-dark); }
.ticks li::before { content: ''; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; background: var(--accent); }
.legal { padding-top: calc(76px + clamp(40px, 6vw, 80px)); }
.legal .prose { max-width: 56rem; }
mark.todo { background: #ffe14d; color: var(--ink); padding: 0 4px; }

/* Auf einen Blick */
.glance { border-top: 2px solid var(--ink); margin-top: 28px; }
.glance div { display: grid; grid-template-columns: minmax(130px, 1fr) 2fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.glance dt { font: 500 12px/1.7 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
.glance dd { font-weight: 500; }

/* FAQ */
.faq { border-top: 2px solid var(--ink); margin-bottom: 28px; }
.faq__item { border-bottom: 1px solid var(--line-dark); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { font: 600 clamp(1.05rem, 1.4vw, 1.2rem)/1.35 var(--sans); }
.faq__item summary:hover h3 { color: var(--accent-text); }
.faq__icon { width: 28px; height: 28px; flex: none; border: 1px solid var(--line-dark); position: relative; transition: background .2s; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--ink); color: var(--white); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%); }
.faq__item p { padding: 0 48px 22px 0; color: var(--text-dark); }
.faq-page { max-width: 62rem; }

/* Projektkarten */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(32px, 4vw, 56px); }
.filters[hidden] { display: none; }
.chip { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 11px 14px; border: 1px solid var(--line-dark); transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.projects { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(36px, 4vw, 64px) clamp(16px, 2vw, 32px); }
.card { grid-column: span 4; display: flex; flex-direction: column; position: relative; text-decoration: none; }
.card[hidden] { display: none; }
.card--l { grid-column: span 6; }
.card--xl { grid-column: span 8; }
.is-filtered .card, .projects--even .card { grid-column: span 4; }
.card__img { display: block; width: 100%; overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; position: relative; }
.card--l .card__img { aspect-ratio: 3 / 2; }
.card--xl .card__img { aspect-ratio: auto; flex: 1; min-height: 320px; }
.is-filtered .card .card__img { aspect-ratio: 4 / 3; flex: none; min-height: 0; }
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: clamp(16px, 2vw, 28px); color: var(--white); overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 12.5% 100%, linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 100% 20%, radial-gradient(120% 90% at 85% 10%, #2a3036, var(--ink) 70%); }
.ph .mono { color: var(--accent-text); }
.ph b { font: 700 clamp(1.6rem, 3vw, 2.8rem)/.95 var(--display); text-transform: uppercase; }
.ph--large { position: relative; height: 100%; min-height: 360px; }
.ph--mini { padding: 0; justify-content: center; align-items: center; }
.ph--mini b { display: none; }
.ph--mini .mono { font-size: 0; }
.ph--mini .mono::before { content: '●'; font-size: 14px; }
.news__text { display: grid; gap: 24px; justify-items: start; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card--xl .card__img img { position: absolute; inset: 0; }
.card:hover .card__img img { transform: scale(1.045); }
.card__meta { display: flex; justify-content: space-between; padding: 14px 0 8px; border-bottom: 1px solid var(--line-dark); color: var(--muted-dark); }
.card__meta span:first-child { color: var(--accent-text); }
.card__title { font: 700 clamp(1.5rem, 2.2vw, 2.1rem)/1 var(--display); text-transform: uppercase; padding: 12px 44px 0 0; }
.card--xl .card__title { font-size: clamp(1.9rem, 3.4vw, 3.2rem); }
.card__fact { font-size: 15px; color: var(--muted-dark); padding-top: 6px; }
.card__fact b { color: var(--ink); font-weight: 600; }
.card__arrow { position: absolute; right: 0; bottom: 22px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-dark); font-size: 15px; transition: background .25s, color .25s, border-color .25s; }
.card:hover .card__arrow { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* Projektseite */
.project { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.project__main { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.project__main img { width: 100%; height: 100%; object-fit: cover; }
.project__main--video { aspect-ratio: auto; overflow: visible; background: none; }
.project__main--video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--ink); }
.project__main--video figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding-top: 12px; font-weight: 600; }
.project__main--video figcaption .mono { color: var(--accent-text); }
.project__credit { margin-left: auto; font-size: 13px; font-weight: 400; color: var(--muted-dark); }
.project__facts { position: sticky; top: 100px; border-top: 2px solid var(--ink); padding-top: 18px; }
.project__facts > .mono { color: var(--muted-dark); }
.project__figure { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; padding: 16px 0 18px; border-bottom: 1px solid var(--line-dark); }
.project__figure b { font: 700 clamp(3rem, 5vw, 4.6rem)/.85 var(--display); }
.project__figure span { color: var(--muted-dark); font-weight: 500; }
.project__facts dl div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.project__facts dt { font: 500 12px/1.8 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
.project__facts dd { font-weight: 500; }
.project__facts a { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.project__scope, .project__gallery { grid-column: 1; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery__item { display: block; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery--wide { gap: clamp(8px, 1vw, 14px); }
.gallery--wide .gallery__item { aspect-ratio: 3 / 2; }
.pager { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); color: var(--ink); border-top: 1px solid var(--line-dark); }
.pager a { display: grid; gap: 8px; padding: clamp(28px, 4vw, 48px) var(--gutter); text-decoration: none; transition: background .25s; }
.pager a:hover { background: var(--paper-2); }
.pager__next { text-align: right; border-left: 1px solid var(--line-dark); }
.pager .mono { color: var(--muted-dark); }
.pager strong { font: 700 clamp(1.6rem, 3vw, 2.6rem)/1 var(--display); text-transform: uppercase; }

/* Bildansicht */
.lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(13, 15, 17, .96); color: var(--white); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: calc(100vw - 140px); max-height: calc(100svh - 120px); object-fit: contain; }
.lightbox__close, .lightbox__nav { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line); font-size: 22px; transition: background .2s, color .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.lightbox__close { top: 16px; right: 16px; font-size: 28px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: var(--steel-light); }

/* Aktuell */
.news__quote { font: 700 clamp(2.2rem, 5.4vw, 5.4rem)/.94 var(--display); text-transform: uppercase; max-width: 17em; text-wrap: balance; }
.news__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 88px); margin-top: clamp(36px, 5vw, 64px); padding-top: 28px; border-top: 1px solid rgba(26, 10, 4, .35); }
.news__cols p { font-size: clamp(1.05rem, 1.4vw, 1.25rem); font-weight: 500; line-height: 1.5; }
.news__facts li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(26, 10, 4, .25); font-weight: 600; }
.news__facts li:first-child { padding-top: 0; }
.news__facts .mono { padding-top: 5px; }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.steps li { padding: 26px 24px 8px 0; display: grid; gap: 12px; align-content: start; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps .mono { color: var(--accent-text); }
.steps h3 { font: 700 clamp(1.7rem, 2.6vw, 2.4rem)/1 var(--display); text-transform: uppercase; }
.steps p { color: var(--steel-light); font-size: 15.5px; }
.steps--light { border-color: var(--ink); }
.steps--light li + li { border-color: var(--line-dark); }
.steps--light p { color: var(--text-dark); }

/* Referenzen */
.ref-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.ref-tools__hint { color: var(--muted-dark); font-size: 14px; }
.search { position: relative; display: block; width: min(100%, 440px); }
.search input { width: 100%; font: 400 16px/1 var(--sans); padding: 16px 84px 16px 16px; background: transparent; border: 1px solid var(--ink); color: var(--ink); border-radius: 0; -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: #6a7177; }
.search__count { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted-dark); pointer-events: none; }
.table-wrap { border-top: 2px solid var(--ink); }
.reftable { width: 100%; border-collapse: collapse; }
.reftable th { text-align: left; padding: 0; border-bottom: 1px solid var(--ink); }
.reftable th button { width: 100%; padding: 14px 16px 14px 0; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }
.reftable th button::after { content: ' ↕'; opacity: .45; }
.reftable th[aria-sort='ascending'] button::after { content: ' ↑'; opacity: 1; color: var(--accent-text); }
.reftable th[aria-sort='descending'] button::after { content: ' ↓'; opacity: 1; color: var(--accent-text); }
.reftable td { padding: 15px 16px 15px 0; border-bottom: 1px solid var(--line-dark); vertical-align: top; font-size: 16px; }
.reftable td:first-child { width: 22%; font: 500 13px/1.7 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted-dark); }
.reftable td:nth-child(2) { width: 30%; font-weight: 600; }
.reftable__group th { padding: 28px 0 10px; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); border-bottom: 1px solid var(--ink); }
.reftable tbody tr:first-child th { padding-top: 18px; }
.reftable tr.is-linked td { vertical-align: middle; }
.refproj { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.refproj__img { flex: none; width: 96px; height: 72px; overflow: hidden; background: var(--paper-2); }
.refproj__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.refproj__name { border-bottom: 1px solid var(--accent); }
.refproj__arrow { color: var(--accent-text); margin-left: -6px; transition: transform .25s var(--ease); }
.refproj:hover .refproj__img img { transform: scale(1.08); }
.refproj:hover .refproj__arrow { transform: translate(2px, -2px); }
.reftable tbody tr:not(.reftable__group):hover { background: var(--paper-2); }
.reftable__empty { padding: 28px 0; color: var(--muted-dark); }
.cities { columns: 2; column-gap: 32px; border-top: 1px solid var(--line); }
.cities li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.cities .mono { color: var(--accent-text); }
.clients { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); }
.clients li { font: 700 clamp(1.3rem, 2vw, 1.8rem)/1 var(--display); text-transform: uppercase; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }

/* CTA */
.cta { background: var(--accent); color: var(--accent-ink); padding: clamp(56px, 7vw, 104px) 0; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.cta .h2 { max-width: 15em; }
.cta p { margin-top: 18px; font-size: 1.1rem; font-weight: 500; max-width: 36em; }
.cta__actions { display: grid; gap: 18px; justify-items: start; }
.cta__phone { display: grid; gap: 4px; text-decoration: none; font: 700 clamp(1.8rem, 3vw, 2.6rem)/1 var(--display); }
.cta__phone .mono { color: var(--accent-ink); }

/* Kontakt */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.contact__data { display: grid; gap: 24px; border-top: 1px solid var(--line); padding-top: 26px; }
.contact__data dt { color: var(--steel); margin-bottom: 8px; }
.contact__data dd { font-size: 1.1rem; }
.contact__data a { text-decoration: none; border-bottom: 1px solid var(--accent); transition: color .2s; }
.contact__data a:hover { color: var(--accent-text); }
.form { background: var(--graphite); border: 1px solid var(--line); padding: clamp(22px, 3vw, 40px); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; align-content: start; }
.field label { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--steel-light); }
.field input, .field textarea, .field select { font: 400 16px/1.4 var(--sans); color: var(--white); background: var(--ink); border: 1px solid var(--line); padding: 14px; border-radius: 0; resize: vertical; transition: border-color .2s; width: 100%; }
.field select { -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--steel-light) 50%), linear-gradient(135deg, var(--steel-light) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha__text { font-size: 13px; color: var(--steel); }
.captcha__text a { color: var(--steel-light); }
.grecaptcha-badge { visibility: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--steel-light); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.check a { color: var(--white); }
.form__hint { font-size: 14px; color: #ff9b7d; min-height: 1.4em; }
.form__ok { background: var(--accent); color: var(--accent-ink); padding: 16px 18px; font-weight: 600; }
.form.is-sending button[type='submit'] { opacity: .6; pointer-events: none; }

/* Fußzeile */
.footer { background: var(--graphite); border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 80px) 0 28px; font-size: 15px; color: var(--steel-light); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; }
.footer__brand { display: grid; gap: 22px; justify-items: start; align-content: start; }
.footer__brand p { font: 600 1.5rem/1 var(--display); text-transform: uppercase; color: var(--white); letter-spacing: .02em; }
.footer__h { color: var(--steel); margin-bottom: 12px; font-weight: 500; }
.footer ul { display: grid; gap: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent-text); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--steel); }
.footer__legal { display: flex; gap: 20px; }

/* Einblenden beim Scrollen */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
}
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .about__head, .about__body { grid-column: 1 / -1; }
  .about__body { padding-top: 0; }
  .card, .is-filtered .card, .projects--even .card { grid-column: span 6; }
  .card--xl { grid-column: span 12; }
  .card--xl .card__img { aspect-ratio: 16 / 10; flex: none; min-height: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .project { grid-template-columns: 1fr; }
  .project__facts { position: static; }
  .svc-links { grid-template-columns: 1fr; }
  .svc-links li + li { border-left: 0; border-top: 1px solid var(--line); }
  .svc-links li + li a { padding-left: 0; }
}
@media (max-width: 980px) {
  .burger { display: block; z-index: 2; }
  .nav { position: fixed; inset: 0; background: var(--ink); flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 96px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  /* backdrop-filter würde das feste Menü auf die Höhe der Kopfzeile begrenzen */
  .menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ink); }
  .menu-open { overflow: hidden; }
  .nav a { font: 700 2.5rem/1.15 var(--display); text-transform: uppercase; color: var(--white); }
  .nav a[aria-current]:not(.nav__cta) { box-shadow: none; color: var(--accent-text); }
  .nav .nav__cta { margin-top: 24px; font: 600 16px/1 var(--sans); text-transform: none; padding: 17px 24px; background: var(--accent); color: var(--accent-ink); }
  .brand { position: relative; z-index: 2; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero__inner { grid-template-columns: 1fr; align-items: start; }
  .hero__frame { aspect-ratio: 4 / 3; max-height: none; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .page-hero--img .page-hero__inner { grid-template-columns: 1fr; }
  .services, .contact__grid, .news__cols, .split, .prose-grid, .cta__grid, .svc-grid, .master { grid-template-columns: 1fr; }
  .master__img { max-width: 320px; }
  .prose-aside { position: static; }
  .services__preview { display: none; }
  .service h3 { color: var(--white); }
  .service { grid-template-columns: 44px 1fr; }
  .service__arrow { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }
  .steps--light li:nth-child(n+3) { border-color: var(--line-dark); }
  .about__img--a, .about__img--b { grid-column: 1 / -1; }
  .about__img--b { aspect-ratio: 4 / 3; }
  .reftable thead { display: none; }
  .reftable tr { display: grid; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .reftable td, .reftable td:first-child, .reftable td:nth-child(2) { display: block; width: auto; padding: 2px 0; border: 0; }
  .reftable tr.reftable__group { display: block; padding: 0; border: 0; }
  .reftable__group th { display: block; }
  .refproj { margin: 6px 0; }
  .refproj__img { width: 80px; height: 60px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .lightbox img { max-width: calc(100vw - 24px); max-height: calc(100svh - 160px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
}
@media (max-width: 600px) {
  .card, .card--l, .card--xl, .is-filtered .card, .projects--even .card { grid-column: 1 / -1; }
  .materials { grid-template-columns: 1fr 1fr; }
  .footer__grid, .form__row, .clients { grid-template-columns: 1fr; }
  .cities { columns: 1; }
  .hero__actions .btn { flex: 1 1 100%; }
  .news__facts li { grid-template-columns: 1fr; gap: 2px; }
  .glance div { grid-template-columns: 1fr; gap: 2px; }
  .pager { grid-template-columns: 1fr; }
  .pager__next { border-left: 0; border-top: 1px solid var(--line-dark); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal-img img, .js .hero__frame, .js .hero__title .line > span { opacity: 1; transform: none; clip-path: none; }
}
@media print {
  .site-header, .footer, .cta, .marquee, .hero__bg, .hero__grid { display: none; }
  body, .section--dark, .page-hero { background: #fff; color: #000; }
}
