/* Pixelgold – Design-System
   Schwarz, Gold und warmes Papierweiß. Wiederkehrendes Motiv: das LED-Pixelraster.
   Abstände, Inhaltsbreite und Kopfbereich folgen einem festen Raster. */

@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin-wdth-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #0a0a0c;
  --ink-2: #131317;
  --ink-3: #1d1d23;
  --gold: #fcd700;
  --gold-deep: #e3c100;
  --gold-ink: #15130a;
  --paper: #f4f3ee;
  --white: #fff;
  --line: #dfddd4;
  --line-d: rgba(255, 255, 255, .12);
  --text: #16161a;
  --muted: #5b5b64;
  --text-d: #eeede8;
  --muted-d: #a5a4ad;

  /* Abstandssystem */
  --wrap: 1400px;      /* maximale Inhaltsbreite */
  --gutter: 48px;      /* Seitenrand */
  --sec: 112px;        /* Abschnitt oben/unten */
  --sec-tight: 84px;   /* Abschluss- und Kontaktbänder */
  --gap: 18px;         /* Raster-Abstand zwischen Karten */
  --col-gap: 80px;     /* Abstand zwischen zwei Inhaltsspalten */
  --hdr: 82px;
  --r: 6px;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
@media (max-width: 1100px) { :root { --gutter: 28px; --col-gap: 56px; } }
@media (max-width: 820px) { :root { --gutter: 18px; --sec: 78px; --sec-tight: 58px; --col-gap: 28px; --hdr: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 1.0625rem/1.55 var(--font); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 680; font-stretch: 108%; line-height: 1.08; letter-spacing: -.018em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(2.3rem, 1.2rem + 4.6vw, 4.8rem); font-weight: 720; line-height: .98; letter-spacing: -.03em; }
h2 { font-size: clamp(1.95rem, 1.2rem + 2.7vw, 3.4rem); line-height: 1.02; letter-spacing: -.026em; }
h3 { font-size: clamp(1.2rem, 1.08rem + .5vw, 1.45rem); line-height: 1.18; }
h4 { font-size: 1.08rem; line-height: 1.25; letter-spacing: -.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
.cta :focus-visible { outline-color: var(--ink); }
::selection { background: var(--gold); color: var(--gold-ink); }

.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nb { white-space: nowrap; }
.skip { position: absolute; left: 24px; top: -100px; z-index: 200; background: var(--gold); color: var(--gold-ink); padding: 10px 14px; font-weight: 650; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Bausteine ---------- */
.eyebrow { display: flex; align-items: flex-start; margin: 0 0 15px; line-height: 1.5; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ''; width: 7px; height: 7px; background: var(--gold); box-shadow: 11px 0 0 -1px currentColor; margin: 5px 22px 0 0; flex: none; }
.dark .eyebrow, .hero .eyebrow, .phero .eyebrow { color: #9b9aa3; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: var(--r); font-weight: 640; font-size: .94rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .2s var(--ease); }
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: var(--gold-ink); }
.btn--gold:hover { background: #ffe340; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #26262d; }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.dark .btn--ghost, .hero .btn--ghost, .phero .btn--ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.dark .btn--ghost:hover, .hero .btn--ghost:hover, .phero .btn--ghost:hover { background: rgba(255, 255, 255, .08); color: var(--white); border-color: var(--white); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.link { display: inline-flex; align-items: center; gap: .5em; font-size: .94rem; font-weight: 640; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.link .icon { transition: transform .3s var(--ease); }
.link:hover .icon { transform: translateX(4px); }

.tag { display: inline-block; padding: 4px 9px; border-radius: 3px; background: var(--gold); color: var(--gold-ink); font-size: .69rem; font-weight: 680; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; }

.section { padding-block: var(--sec); }
.section--white { background: var(--white); }
.dark { background: var(--ink); color: var(--text-d); }
.dark p { color: var(--muted-d); }
.dots { position: relative; isolation: isolate; }
.dots::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .11) 1px, transparent 1.3px); background-size: 14px 14px; mask-image: linear-gradient(105deg, transparent 35%, #000 100%); -webkit-mask-image: linear-gradient(105deg, transparent 35%, #000 100%); pointer-events: none; }

/* Abschnittskopf: Titel links, Begleittext rechts unten */
.shead { display: grid; gap: 24px; margin-bottom: 42px; }
.shead p { margin: 0; color: var(--muted); max-width: 480px; }
.shead p a { text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.dark .shead p { color: var(--muted-d); }
.shead__side { display: grid; gap: 22px; justify-items: start; max-width: 480px; }
.shead .shead__lead { margin-top: 18px; max-width: 62ch; }
.shead .shead__lead a { text-decoration: none; color: var(--text); transition: color .15s; }
.shead .shead__lead a:hover { color: var(--gold); }
@media (min-width: 821px) {
  .shead { margin-bottom: 60px; }
  .shead--split { grid-template-columns: 1.2fr .8fr; gap: var(--col-gap); align-items: end; }
  .shead--split .shead__side { justify-self: end; padding-bottom: .3em; }
}

/* ---------- Kopfbereich ---------- */
.hdr { position: absolute; top: 0; left: 0; right: 0; z-index: 30; color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .18); }
.hdr__in { height: var(--hdr); display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hdr__logo { flex: none; display: block; }
.hdr__logo img { width: 158px; height: auto; }
.nav, .nav__list { display: flex; align-items: center; gap: 34px; }
.nav { font-size: .875rem; font-weight: 500; }
.nav__item { position: relative; }
.nav__link { display: block; padding: 8px 0; color: rgba(255, 255, 255, .82); text-decoration: none; white-space: nowrap; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat; transition: color .18s, background-size .35s var(--ease); }
.nav__link:hover, .nav__item:focus-within > .nav__link, .nav__link[aria-current] { color: var(--white); }
.nav__link:hover, .nav__link[aria-current] { background-size: 100% 2px; }
.nav__toggle, .hdr__menu { display: none; }
.nav__sub { position: absolute; top: 100%; left: -22px; z-index: 40; min-width: 260px; padding-top: 12px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .3s var(--ease), visibility .2s; }
.nav__sub ul { background: #070708; border: 1px solid rgba(255, 255, 255, .16); padding: 10px 0; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .8); }
.nav__sub a { display: flex; align-items: center; gap: 7px; padding: 9px 22px; color: rgba(255, 255, 255, .82); text-decoration: none; white-space: nowrap; transition: color .15s, background .15s; }
.nav__sub a:hover, .nav__sub a:focus-visible, .nav__sub a[aria-current] { color: var(--white); background: rgba(255, 255, 255, .07); }
.nav__sub .icon { width: 13px; height: 13px; color: var(--gold); }
.hdr__cta { font-size: .875rem; font-weight: 600; padding-inline: 21px; }
@media (min-width: 961px) {
  .nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 1100px) { .nav, .nav__list { gap: 22px; } .hdr__in { gap: 24px; } }
@media (max-width: 960px) {
  .hdr__menu { display: block; min-height: 44px; min-width: 68px; padding: 9px 13px; background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, .35); font-size: .875rem; font-weight: 500; cursor: pointer; }
  .nav { position: absolute; top: var(--hdr); left: 0; right: 0; z-index: 35; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - var(--hdr)); overflow-y: auto; padding: 8px var(--gutter) 28px; background: #070708; border-top: 1px solid rgba(255, 255, 255, .15); box-shadow: 0 14px 30px rgba(0, 0, 0, .3); font-size: 1rem; opacity: 0; visibility: hidden; transform: translateY(-14px); pointer-events: none; transition: opacity .3s ease, transform .38s var(--ease), visibility 0s linear .38s; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
  .nav-open, .nav-open body { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav__link { flex: 1; padding: 15px 0; background: none; white-space: normal; }
  .nav__toggle { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: var(--white); cursor: pointer; }
  .nav__toggle .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
  .nav__toggle[aria-expanded='true'] .icon { transform: rotate(180deg); }
  .nav__sub { position: static; flex-basis: 100%; min-width: 0; padding: 0 0 10px; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav__toggle[aria-expanded='true'] + .nav__sub { display: block; }
  .nav__sub ul { background: none; border: 0; padding: 0; box-shadow: none; }
  .nav__sub a { padding: 9px 0 9px 14px; font-size: .94rem; white-space: normal; }
  .hdr__cta { margin-top: 20px; width: 100%; }
}
@media (max-width: 390px) { .hdr__logo img { width: 138px; } }

/* Fester Anfrage-Knopf auf dem Handy, sobald der Seitenkopf aus dem Bild ist */
.mcta { display: none; }
@media (max-width: 820px) {
  .mcta { display: flex; position: fixed; left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40; box-shadow: 0 8px 24px rgba(0, 0, 0, .34); opacity: 0; visibility: hidden; transform: translateY(30px); pointer-events: none; transition: opacity .3s ease, transform .4s var(--ease), visibility 0s linear .4s; }
  .mcta.is-visible { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
  .has-mcta .ftr { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* ---------- Hero Startseite: Slideshow ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: stretch; min-height: clamp(660px, 100svh, 1400px); background: var(--ink); color: var(--white); overflow: hidden; }
/* Am Desktop füllt der Kopf genau den Bildschirm (Full HD: volle Höhe) */
@media (min-width: 821px) { .hero { min-height: clamp(780px, 100svh, 1400px); } }
.hero__bg { position: absolute; inset: 0; z-index: -3; }
/* Bilder blenden ineinander über und zoomen dabei langsam */
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.01); filter: saturate(.9) contrast(1.05) brightness(.84); transition: opacity 1.4s ease, transform 10s ease-out; }
.hero__bg img.is-active { opacity: 1; }
.hero__bg img.is-zoom { transform: scale(1.09); }
/* Motiv sitzt im Foto mittig: Bild am Desktop nach rechts rücken, damit links Platz für den Text bleibt */
@media (min-width: 821px) {
  .hero__bg img.is-right { left: 17%; width: 116%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%); mask-image: linear-gradient(90deg, transparent 0%, #000 20%); }
}
/* Abdunklung plus feines LED-Pixelraster */
.hero__shade { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(90deg, rgba(8, 8, 10, .94) 0%, rgba(8, 8, 10, .86) 36%, rgba(8, 8, 10, .42) 64%, rgba(8, 8, 10, .16) 100%),
  linear-gradient(0deg, rgba(8, 8, 10, .6) 0%, transparent 30%); }
/* Text und Balkenreihe bilden einen Block, der oberhalb der Mitte sitzt (freier Raum 1 : 2 verteilt).
   Die Balken stehen fest und direkt unter dem Text; kürzere Folien schließen unten an die Balken an,
   damit keine Lücke entsteht. Das Bild darunter bleibt frei. */
.hero__in { position: relative; display: flex; flex-direction: column; padding: calc(var(--hdr) + 22px) 0 40px; }
.hero__in::before { content: ''; flex: 1 1 0; }
.hero__in::after { content: ''; flex: 2 1 0; }
.hero__slides { display: grid; }
.hero__slide { grid-area: 1 / 1; align-self: end; max-width: 860px; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.hero__title { margin: 0; max-width: 15ch; font-size: clamp(2.55rem, 1.1rem + 5.2vw, 5.4rem); font-weight: 720; font-stretch: 108%; line-height: .95; letter-spacing: -.032em; text-wrap: balance; }
.hero__title em { font-style: normal; color: var(--gold); }
.hero__bar { display: block; width: 64px; height: 3px; margin: 28px 0 0; background: var(--gold); transform-origin: left; }
.hero__lead { max-width: 590px; margin: 24px 0 34px; font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); line-height: 1.55; color: rgba(255, 255, 255, .8); }
.hero__slide.is-active > * { animation: rise .9s var(--ease) both; }
.hero__slide.is-active > :nth-child(2) { animation-delay: .1s; }
.hero__slide.is-active > :nth-child(3) { animation: grow .8s var(--ease) .32s both; }
.hero__slide.is-active > :nth-child(4) { animation-delay: .28s; }
.hero__slide.is-active > :nth-child(5) { animation-delay: .4s; }
.hero__slide.is-active > :nth-child(6) { animation-delay: .52s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes grow { from { transform: scaleX(0); } }
.hero__nav { display: flex; align-items: flex-end; gap: 14px; max-width: 680px; margin-top: clamp(30px, 4.6svh, 50px); }
.hero__dot { flex: 1; min-width: 0; padding: 0 0 0; background: none; border: 0; color: rgba(255, 255, 255, .6); text-align: left; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: color .2s; }
.hero__dot:hover, .hero__dot.is-active { color: var(--white); }
.hero__dot span { display: block; padding-bottom: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__dot i { display: block; height: 2px; background: rgba(255, 255, 255, .26); overflow: hidden; }
.hero__dot i::after { content: ''; display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active i::after { animation: fill var(--slide-time, 7s) linear forwards; }
.hero.is-paused .hero__dot.is-active i::after { animation-play-state: paused; }
.hero.is-static .hero__dot.is-active i::after { animation: none; transform: none; }
@keyframes fill { to { transform: none; } }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; font-size: .9rem; font-weight: 540; color: rgba(255, 255, 255, .8); }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks .icon { color: var(--gold); width: 17px; height: 17px; }
/* Niedrige Bildschirme (kleine Laptops): kompaktere Schrift und Abstände */
@media (min-width: 821px) and (max-height: 820px) {
  .hero { min-height: max(640px, 100svh); }
  .hero__in { padding: calc(var(--hdr) + 14px) 0 30px; }
  .hero__nav { margin-top: 28px; }
  .hero__title { font-size: clamp(2.3rem, 1rem + 3.8vw, 4rem); }
  .hero__lead { margin: 18px 0 26px; }
  .hero__bar { margin-top: 20px; }
  .hero .ticks { margin-top: 22px; }
}
@media (max-width: 820px) {
  .hero { min-height: max(620px, 100svh); }
  .hero__shade { background:
    linear-gradient(90deg, rgba(8, 8, 10, .92), rgba(8, 8, 10, .64)),
    linear-gradient(0deg, rgba(8, 8, 10, .9), transparent 70%); }
  .hero__in { padding: calc(var(--hdr) + 20px) 0 34px; }
  .hero__nav { gap: 8px; margin-top: 30px; }
}
@media (max-width: 520px) {
  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero__dot span { font-size: 0; padding-bottom: 0; }
}

/* ---------- Seitenkopf Unterseiten ---------- */
.phero { background: var(--ink); color: var(--white); padding-block: calc(var(--hdr) + 44px) 92px; overflow: hidden; }
.phero__grid { display: grid; gap: var(--col-gap); align-items: center; }
.phero h1 { font-size: clamp(2.1rem, .6rem + 3.2vw, 3.9rem); max-width: 17ch; }
.phero h1.h1--long { font-size: clamp(1.8rem, .5rem + 2.3vw, 2.9rem); max-width: 22ch; }
.phero__lead { margin: 26px 0 0; max-width: 560px; font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); line-height: 1.55; color: rgba(255, 255, 255, .78); }
.phero .actions { margin-top: 34px; }
.phero .ticks { margin-top: 26px; }
/* Alle Seitenköpfe sind zweispaltig: Text links, Bild rechts. Fehlt das Bild noch, hält ein unsichtbarer
   Platzhalter in Bildgröße die Höhe – so ist der Banner auf jeder Seite gleich hoch. */
@media (min-width: 960px) { .phero__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
/* Mindesthöhe des Bildfelds = einheitliche Bannerhöhe; der Text daneben muss darin Platz finden */
@media (min-width: 960px) { .phero .screen { min-height: 480px; } }
/* bei schmaler Textspalte entfallen die Häkchen-Stichworte, sonst wird der Banner höher als das Bildfeld */
@media (min-width: 960px) and (max-width: 1239px) { .phero .ticks { display: none; } }
.screen--empty { visibility: hidden; }
@media (max-width: 959px) { .screen--empty { display: none; } }
@media (max-width: 820px) { .phero { padding-block: calc(var(--hdr) + 28px) 62px; } }
.screen { position: relative; border-radius: 4px; overflow: hidden; background: var(--ink-3); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 90px -30px rgba(252, 215, 0, .28); aspect-ratio: 3 / 2; }
.screen img { width: 100%; height: 100%; object-fit: cover; }
.phero--city { position: relative; isolation: isolate; }
.phero--city .hero__media { position: absolute; inset: 0; z-index: -2; }
.phero--city .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero--city .hero__media::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(8, 8, 10, .94) 0%, rgba(8, 8, 10, .78) 45%, rgba(8, 8, 10, .32) 100%); }

.crumbs { margin-bottom: clamp(26px, 4vw, 44px); font-size: .86rem; color: var(--muted-d); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.crumbs li { display: flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ''; width: 5px; height: 5px; background: var(--gold); opacity: .8; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs [aria-current] { color: #dedcd6; }

/* ---------- Karten & Raster ---------- */
.grid { display: grid; gap: var(--gap); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 30px 28px 28px; }
.section--white .card { background: var(--paper); border-color: transparent; }
.card h3 { margin-bottom: .55em; }
.card p { color: var(--muted); }
.card .link { margin-top: auto; align-self: flex-start; }
.card p + .link { margin-top: 1.4em; }
.card__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 22px; border-radius: 5px; background: var(--ink); color: var(--gold); }
.card__icon .icon { width: 22px; height: 22px; }
a.card { text-decoration: none; transition: transform .25s var(--ease), border-color .2s, box-shadow .25s; }
a.card:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .35); }

/* Einsatzbereiche direkt unter dem Seitenkopf */
.uses { background: var(--ink); padding-block: 16px; }
.uses__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 1200px; margin: 0 auto; padding: 0; list-style: none; }
.use { display: grid; grid-template-columns: 148px minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px 22px 8px 8px; background: var(--ink-3); border: 1px solid var(--line-d); border-radius: 8px; color: var(--white); transition: background .25s, border-color .25s; }
.use:hover { background: #222229; border-color: rgba(252, 215, 0, .28); }
.use__img { display: block; width: 100%; height: auto; transition: transform .45s var(--ease); }
.use:hover .use__img { transform: translateY(-3px) scale(1.03); }
.use h3 { margin: 0 0 .3em; font-size: 1.08rem; font-weight: 680; line-height: 1.2; color: var(--white); }
.use p { margin: 0; max-width: 24ch; font-size: .9rem; line-height: 1.45; color: var(--muted-d); }
@media (min-width: 1100px) { .uses__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .uses__grid { gap: 8px; }
  .use { grid-template-columns: 1fr; gap: 0; padding: 2px 10px 12px; text-align: center; }
  .use__img { width: 72%; margin-inline: auto; }
  .use h3 { font-size: .94rem; }
  .use p { margin-inline: auto; font-size: .8rem; }
}

/* Die drei Leistungen auf der Startseite */
.svc { position: relative; display: flex; flex-direction: column; min-height: 238px; padding: 30px 28px 26px; background: var(--ink); color: var(--white); border-radius: 8px; text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease); }
.svc::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(252, 215, 0, .5) 1px, transparent 1.4px); background-size: 12px 12px; opacity: 0; mask-image: radial-gradient(120% 90% at 100% 0%, #000, transparent 62%); -webkit-mask-image: radial-gradient(120% 90% at 100% 0%, #000, transparent 62%); transition: opacity .35s; }
.svc:hover { transform: translateY(-4px); }
.svc:hover::before { opacity: 1; }
.svc h3 { margin: auto 0 .5em; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
.svc p { color: var(--muted-d); margin-bottom: 1.5em; }
.svc__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 640; color: var(--gold); }
.svc__go .icon { transition: transform .25s var(--ease); }
.svc:hover .svc__go .icon { transform: translateX(5px); }

/* Kennzahlen */
.stats { position: relative; isolation: isolate; background: var(--ink); color: var(--white); padding-block: var(--sec-tight); overflow: hidden; }
/* Pixelraster wie beim Hover der Leistungskarten, hier dauerhaft */
.stats::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(252, 215, 0, .5) 1px, transparent 1.4px); background-size: 12px 12px; mask-image: radial-gradient(70% 140% at 100% 0%, #000, transparent 68%); -webkit-mask-image: radial-gradient(70% 140% at 100% 0%, #000, transparent 68%); }
.stats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--gap); }
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { border-left: 2px solid var(--gold); padding-left: clamp(14px, 2vw, 24px); }
.stat__num { display: block; font-size: clamp(1.9rem, 1.1rem + 2.5vw, 3.2rem); font-weight: 720; font-stretch: 104%; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat__num i { font-style: normal; color: var(--gold); }
.stat__label { display: block; margin-top: 12px; color: #c9c8c2; font-size: .98rem; line-height: 1.35; }

/* Leistungs-Kacheln (Icon-Karten) */
.feat { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.feat__icon { grid-row: span 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 5px; background: var(--ink); color: var(--gold); }
.feat__icon .icon { width: 22px; height: 22px; }
.feat h3 { font-size: 1.2rem; align-self: center; }
.feat p { grid-column: 2; color: var(--muted); font-size: 1rem; margin: 0; }
.feat .link { grid-column: 2; justify-self: start; margin-top: 10px; font-size: .95rem; }
.feats { display: grid; gap: 0 clamp(28px, 4vw, 56px); }
@media (min-width: 760px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .feats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Messestandorte */
.cities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 700px) { .cities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .cities { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.city { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; color: var(--white); text-decoration: none; background: var(--ink-3); isolation: isolate; }
.city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .6s var(--ease), filter .3s; }
.city::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 10, 12, .88) 0%, rgba(10, 10, 12, .1) 62%); }
.city span { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 660; font-stretch: 108%; font-size: 1.05rem; line-height: 1.15; }
.city .icon { width: 18px; height: 18px; color: var(--gold); transition: transform .25s var(--ease); }
.city:hover img { transform: scale(1.06); }
.city:hover .icon { transform: translate(3px, -3px); }
.city[aria-current] { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Projekte */
.pgrid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.pcard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(230px, 21vw, 300px); padding: 18px; border-radius: 6px; overflow: hidden; color: var(--white); text-decoration: none; background: var(--ink-3); isolation: isolate; }
.pcard img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pcard::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 10, 12, .92) 0%, rgba(10, 10, 12, .35) 45%, rgba(10, 10, 12, 0) 70%); transition: opacity .3s; }
.pcard:hover img { transform: scale(1.05); }
/* Kategorie als dezentes Badge oben links, unten bleiben nur Titel und Ort */
.pcard .tag { position: absolute; top: 14px; left: 14px; padding: 5px 9px; background: rgba(10, 10, 12, .72); color: var(--gold); border: 1px solid rgba(252, 215, 0, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pcard h2, .pcard h3 { font-size: 1.22rem; line-height: 1.18; }
.pcard__meta { margin-top: 6px; font-size: .9rem; color: #cfcec8; line-height: 1.35; }
.pcard[hidden] { display: none; }
@media (min-width: 980px) {
  .pgrid--lead { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pgrid--lead .pcard:first-child { grid-column: span 2; grid-row: span 2; }
  .pgrid--lead .pcard:first-child h3 { font-size: 1.9rem; line-height: 1.08; }
}
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 42px; }
.filter button { min-height: 42px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 100px; background: var(--white); font-weight: 600; font-size: .94rem; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.filter button:hover { border-color: var(--ink); }
.filter button[aria-pressed='true'] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.filter sup { font-size: .72em; opacity: .6; margin-left: 4px; font-variant-numeric: tabular-nums; }

/* Wechselnde Bild/Text-Zeilen */
.rows { display: grid; gap: clamp(56px, 7vw, 100px); }
.row { display: grid; gap: var(--col-gap); align-items: center; }
.row__img { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-3); }
.row__img img { width: 100%; height: 100%; object-fit: cover; }
.row__no { display: block; margin-bottom: 14px; font-size: .8rem; font-weight: 640; letter-spacing: .14em; color: var(--muted); }
.row h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.3rem); margin-bottom: .6em; }
.row p { color: var(--muted); }
.row .checks { margin: 22px 0 28px; }
@media (min-width: 900px) {
  .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row:nth-child(even) .row__img { order: 2; }
}
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 10px; border: 1px solid var(--line); border-radius: 100px; background: var(--white); font-size: .93rem; font-weight: 560; }
.checks .icon { width: 16px; height: 16px; color: #9a8300; }

/* Inhalt + Seitenleiste */
.split { display: grid; gap: var(--col-gap); align-items: start; }
@media (min-width: 1000px) { .split { grid-template-columns: minmax(0, 1fr) 380px; } .split__aside { position: sticky; top: 24px; } }
.split__aside { display: grid; gap: var(--gap); }
/* Rasterspalten dürfen schmaler werden als ihr längstes Wort */
.split > *, .row > *, .article > *, .phero__grid > *, .shead > *, .opt__head h3 { min-width: 0; }
.panel { background: var(--ink); color: var(--text-d); border-radius: 8px; padding: clamp(24px, 2.6vw, 32px); }
.panel h2, .panel h3 { font-size: 1.25rem; margin-bottom: 18px; }
.panel li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line-d); font-weight: 540; line-height: 1.35; }
.panel li .icon { color: var(--gold); width: 20px; height: 20px; }
.panel--light { background: var(--white); color: var(--text); border: 1px solid var(--line); }
.panel--light p { color: var(--muted); font-size: .98rem; }
.panel--light .btn { width: 100%; margin-top: 8px; }
.panel__phone { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-weight: 660; font-size: 1.1rem; text-decoration: none; }
.panel__phone .icon { color: #9a8300; }

.lede h2 { margin-bottom: .7em; }
.lede > p { font-size: 1.1rem; color: #33333a; max-width: 68ch; }
.opts { display: grid; gap: var(--gap); margin: 42px 0; }
@media (min-width: 700px) { .opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.opt { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(20px, 2.4vw, 28px); }
.opt__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.opt__head .icon { width: 22px; height: 22px; color: var(--gold-ink); background: var(--gold); padding: 9px; box-sizing: content-box; border-radius: 5px; }
.opt p, .opt li { color: var(--muted); font-size: 1rem; }
.opt ul { margin-top: 10px; display: grid; gap: 6px; }
.opt li { position: relative; padding-left: 20px; }
.opt li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--gold); }

/* Fließtext (Blog, Rechtstexte, Projektbeschreibungen) */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-top: 2em; }
.prose h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); margin-top: 2em; }
.prose h4 { font-size: 1.15rem; margin-top: 1.8em; }
.prose h5, .prose h6 { font-size: 1.05rem; margin-top: 1.6em; font-weight: 660; }
.prose h2 strong, .prose h3 strong, .prose h4 strong, .prose h5 strong { font-weight: inherit; }
.prose ul, .prose ol { display: grid; gap: .5em; padding-left: 1.3em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li::marker { color: #b39900; }
.prose a { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.prose a:hover { background: var(--gold); }
.prose img { border-radius: 6px; margin-block: 1.6em; }
.prose strong { font-weight: 660; }
.prose--legal { font-size: 1rem; overflow-wrap: anywhere; }
.prose--legal h3 { font-size: 1.3rem; }

/* Messetermine */
.fairs { border-top: 1px solid var(--line); }
.fair { display: grid; gap: 4px 28px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fair__date { font-weight: 640; font-variant-numeric: tabular-nums; font-size: .98rem; color: #6d5d00; white-space: nowrap; }
.fair__name { font-weight: 680; font-stretch: 108%; font-size: 1.12rem; }
.fair__desc { color: var(--muted); font-size: .98rem; }
@media (min-width: 720px) { .fair { grid-template-columns: 190px minmax(0, 1fr); } .fair__date { grid-row: span 2; padding-top: 2px; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 660; font-stretch: 106%; font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 34px; height: 34px; border-radius: 5px; background: var(--ink) linear-gradient(var(--gold), var(--gold)) center / 12px 2px no-repeat; background-image: linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)); background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: #6d5d00; }
.faq__body { padding: 0 0 26px; max-width: 72ch; color: #33333a; }
.faq__body > * + * { margin-top: 1em; }
.faq details[hidden] { display: none; }

/* Testimonials */
.quotes { display: grid; gap: var(--gap); }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quote { margin: 0; display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 2.6vw, 34px); border: 1px solid var(--line-d); border-radius: 8px; background: var(--ink-2); }
.quote::before { content: '“'; font-size: 4rem; line-height: .6; height: 26px; color: var(--gold); font-weight: 700; }
.quote p { font-size: 1.14rem; line-height: 1.5; color: var(--text-d); }
.quote footer { margin-top: auto; font-weight: 640; color: var(--muted-d); font-size: .95rem; }

/* Abschluss-CTA */
.cta { background: var(--gold); color: var(--gold-ink); padding-block: var(--sec-tight); position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(0, 0, 0, .2) 1px, transparent 1.3px); background-size: 14px 14px; mask-image: linear-gradient(100deg, transparent 45%, #000 100%); -webkit-mask-image: linear-gradient(100deg, transparent 45%, #000 100%); }
.cta__in { display: grid; gap: 28px 60px; align-items: center; }
.cta h2 { font-size: clamp(1.6rem, 1.1rem + 2.3vw, 2.7rem); max-width: 22ch; }
.cta p { margin-top: 14px; max-width: 56ch; font-size: 1.08rem; color: #3b3510; }
@media (min-width: 900px) { .cta__in { grid-template-columns: minmax(0, 1fr) auto; } }
.cta .btn--ghost { border-color: rgba(0, 0, 0, .4); }

.contactbar { background: var(--ink-2); color: var(--white); border-top: 1px solid var(--line-d); }
.contactbar__in { display: grid; gap: 0; }
.contactbar__in > * { display: grid; gap: 4px; padding: 28px 0; text-decoration: none; border-bottom: 1px solid var(--line-d); }
.contactbar small { font-size: .76rem; font-weight: 620; letter-spacing: .15em; text-transform: uppercase; color: var(--muted-d); }
.contactbar strong { font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); font-weight: 660; font-stretch: 108%; letter-spacing: -.01em; }
.contactbar a:hover strong { color: var(--gold); }
@media (min-width: 860px) {
  /* Abstand oben und unten, damit die Trennlinien nicht über die ganze Höhe laufen */
  .contactbar__in { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 34px; }
  .contactbar__in > * { padding: 34px 28px; border-bottom: 0; border-left: 1px solid var(--line-d); }
  .contactbar__in > :first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Formulare ---------- */
.formwrap { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 3.4vw, 44px); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .35); color: var(--text); }
.formwrap > h2, .formwrap > h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); margin-bottom: .5em; }
.formwrap > p { color: var(--muted); margin-bottom: 1.6em; }
.lead__steps { display: flex; gap: 6px; margin-bottom: 26px; counter-reset: s; }
.lead__steps li { flex: 1; counter-increment: s; padding-top: 12px; border-top: 3px solid var(--line); font-size: .8rem; font-weight: 620; letter-spacing: .06em; text-transform: uppercase; color: #8b8a92; transition: border-color .3s, color .3s; }
.lead__steps li::before { content: '0' counter(s) ' '; font-variant-numeric: tabular-nums; }
.lead__steps li.is-done, .lead__steps li.is-active { border-color: var(--gold); color: var(--text); }
@media (max-width: 560px) { .lead__steps li { font-size: 0; } .lead__steps li::before { font-size: .8rem; } }
.lead__step { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.lead__step.is-active { display: block; animation: stepIn .35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } }
.lead__step legend { padding: 0; margin-bottom: 22px; font-size: clamp(1.25rem, 1.1rem + .8vw, 1.6rem); font-weight: 680; font-stretch: 108%; line-height: 1.15; letter-spacing: -.015em; }
.lead__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.lead__nav [data-prev] { margin-right: auto; }
.lead__nav [data-next], .lead__nav [type='submit'] { margin-left: auto; }

.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field__label, .field > label { font-weight: 620; font-size: .95rem; }
.field__hint { font-size: .86rem; color: var(--muted); }
.fields { display: grid; gap: 0 16px; }
@media (min-width: 620px) { .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fields .field--full { grid-column: 1 / -1; } }
.input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #c9c7bd; border-radius: var(--r); background: var(--white); transition: border-color .15s, box-shadow .15s; }
textarea.input { min-height: 130px; resize: vertical; line-height: 1.5; }
.input:hover { border-color: #8f8d84; }
.input:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(252, 215, 0, .6); }
.input.is-invalid { border-color: #c2261b; }
.field__error { color: #b3261e; font-size: .88rem; font-weight: 560; }
/* Datumsfeld ohne Eingabe: „noch unklar“ statt tt.mm.jjjj */
.datefield { position: relative; display: block; }
.datefield__empty { display: none; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 400; pointer-events: none; }
.datefield.is-empty:not(:focus-within) .datefield__empty { display: block; }
.datefield.is-empty:not(:focus-within) input { color: transparent; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lead__steps li[hidden], .field[hidden] { display: none; }
/* „i“ mit Erklärung: beim Überfahren, per Tastatur oder Antippen */
.info { position: relative; display: inline-flex; width: 20px; height: 20px; margin: -3px 0 0 4px; padding: 0; vertical-align: middle; border: 0; border-radius: 50%; background: none; color: #8b8a92; cursor: help; transition: color .15s; }
.info .icon { width: 20px; height: 20px; stroke-width: 1.7; }
.info:hover, .info:focus-visible { color: var(--text); }
.info:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.info__tip { position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 5; width: max-content; max-width: min(320px, 80vw); padding: 12px 14px; border-radius: 4px; background: var(--ink); color: rgba(255, 255, 255, .86); box-shadow: 0 12px 30px rgba(0, 0, 0, .25); font-family: var(--font); font-size: .86rem; font-weight: 400; font-style: normal; line-height: 1.5; text-align: left; transform: translate(-50%, 4px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
.info__tip strong { color: var(--white); font-weight: 650; }
.info__tip::after { content: ''; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--ink); }
.info:hover .info__tip, .info:focus .info__tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
@media (max-width: 560px) { .info__tip { left: auto; right: -12px; transform: translateY(4px); } .info:hover .info__tip, .info:focus .info__tip { transform: none; } .info__tip::after { left: auto; right: 15px; } }
.lead__req { margin: -12px 0 18px; font-size: .82rem; color: var(--muted); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 16px; border: 1px solid #c9c7bd; border-radius: var(--r); font-weight: 620; transition: border-color .15s, background .15s, box-shadow .15s; }
.chip .icon { width: 24px; height: 24px; color: var(--muted); }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.chip input:checked + span .icon { color: var(--gold); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(252, 215, 0, .7); }

.size { display: grid; gap: 24px; }
@media (min-width: 720px) { .size { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; } }
.range { display: grid; gap: 8px; margin-bottom: 22px; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; font-weight: 620; font-size: .95rem; }
.range output { font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.range input { width: 100%; height: 28px; accent-color: var(--ink); cursor: pointer; }
.wall { position: relative; height: 230px; border-radius: 8px; background: var(--ink); overflow: hidden; }
.wall__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: linear-gradient(0deg, #1e1e24, #131317); border-top: 1px solid rgba(255, 255, 255, .14); }
/* Die Wand besteht sichtbar aus 50 × 50 cm großen Panels: --panel ist deren Kantenlänge in Pixeln */
.wall__screen { --seam: rgba(10, 10, 12, .72); flex: none; width: 160px; height: 100px;
  background-color: var(--gold);
  background-image: linear-gradient(90deg, var(--seam) 1px, transparent 1px), linear-gradient(0deg, var(--seam) 1px, transparent 1px);
  background-size: var(--panel, 20px) var(--panel, 20px);
  box-shadow: inset 0 1px 0 var(--seam), inset -1px 0 0 var(--seam), 0 0 44px rgba(252, 215, 0, .38);
  transition: width .25s var(--ease), height .25s var(--ease); }
.wall__screen.is-dense { --seam: rgba(10, 10, 12, .42); }
/* Aufbau um die Wand, von oben nach unten gestapelt. Gehangen: Traverse, Steelflex, Hanging Bars.
   Gestellt: Bodenleiste mit Füßen. Maße setzt das Skript passend zum Maßstab. */
.wall__rig { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; transition: padding .25s var(--ease); }
.wall__rig > * { flex: none; transition: width .25s var(--ease), height .25s var(--ease); }
.wall__rig.is-stand :is(.rig__truss, .rig__slings, .rig__bars), .wall__rig.is-hang :is(.rig__base, .rig__feet), .wall__rig.is-plain > :not(.wall__screen) { display: none; }
.rig__truss { position: relative; box-sizing: border-box; border-block: 2px solid #c8c7d0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 10' preserveAspectRatio='none'%3E%3Cpath d='M0 10 L10 0 L20 10' fill='none' stroke='%239a99a3' stroke-width='1.3' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0 / 20px 100% repeat-x; }
/* angedeutete Aufhängung der Traverse nach oben */
.rig__truss::before, .rig__truss::after { content: ''; position: absolute; bottom: calc(100% + 2px); width: 2px; height: 18px; background: linear-gradient(0deg, #9a99a3, transparent); }
.rig__truss::before { left: 14%; }
.rig__truss::after { right: 14%; }
.rig__slings, .rig__bars, .rig__feet { display: flex; }
.rig__slings i { flex: var(--f, 2); background: linear-gradient(#d5d4dc, #d5d4dc) center / 1.5px 100% no-repeat; }
.rig__bars { gap: 1px; }
.rig__bars i { flex: var(--f, 2); background: #5b5a63; box-shadow: inset 0 1px 0 #a9a8b2; }
.rig__base { background: linear-gradient(#b3b2bc, #777680); }
.rig__feet { justify-content: space-between; }
.rig__feet i { width: var(--fw, 8px); background: #5b5a63; }
.wall__person { position: absolute; bottom: 26px; left: 6%; width: auto; color: #8d8c95; transition: height .25s var(--ease); }
.wall__info { position: absolute; top: 12px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 10px; color: #cfcec8; font-size: .86rem; font-weight: 560; font-variant-numeric: tabular-nums; }
.wall__info strong { color: var(--gold); font-weight: 680; }

.lead__error { margin: 18px 0 0; padding: 12px 14px; border-left: 3px solid #d9480f; background: #fff4ef; font-size: .92rem; line-height: 1.5; }
.lead__error a { font-weight: 620; }
.consent { margin-top: 6px; font-size: .86rem; color: var(--muted); line-height: 1.5; }
.lead__done { display: none; text-align: left; }
.lead__done .card__icon { background: var(--gold); color: var(--gold-ink); }
.is-sent > :not(.lead__done) { display: none; }
.is-sent > .lead__done { display: block; animation: stepIn .35s var(--ease); }

/* ---------- Projekt-Detail ---------- */
.facts { display: grid; border-top: 1px solid var(--line-d); margin-top: 34px; }
.facts div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-d); }
.facts dt { color: var(--muted-d); font-size: .9rem; font-weight: 560; padding-top: 2px; }
.facts dd { margin: 0; font-weight: 600; color: var(--text-d); }
.facts a { text-decoration-color: var(--gold); }
.phero .facts { margin-top: 28px; }
.phero .facts div { grid-template-columns: 130px minmax(0, 1fr); padding: 11px 0; }
/* Steckbrief im hellen Seiteninhalt */
.facts--light { margin: 0 0 clamp(36px, 5vw, 64px); max-width: 760px; border-top-color: var(--line); }
.facts--light div { border-bottom-color: var(--line); }
.facts--light dt { color: var(--muted); }
.facts--light dd { color: var(--text); }
.gallery { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.gallery button { padding: 0; border: 0; background: var(--ink-3); border-radius: 6px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.gallery--1 { grid-template-columns: 1fr; }
.gallery--1 button { aspect-ratio: 16 / 9; }
@media (min-width: 760px) { .gallery--lead button:first-child { grid-column: span 2; grid-row: span 2; } }
.pager { display: grid; gap: 12px; margin-top: clamp(40px, 6vw, 72px); }
@media (min-width: 700px) { .pager { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pager a { display: grid; gap: 4px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); text-decoration: none; transition: border-color .2s; }
.pager a:hover { border-color: var(--ink); }
.pager small { color: var(--muted); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 620; }
.pager strong { font-weight: 670; font-stretch: 108%; font-size: 1.12rem; }
.pager a:last-child { text-align: right; }

.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 6, 8, .96); color: var(--white); }
.lb::backdrop { background: rgba(6, 6, 8, .9); }
.lb[open] { display: grid; grid-template-rows: auto 1fr; }
.lb__bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; font-size: .92rem; font-variant-numeric: tabular-nums; color: var(--muted-d); }
.lb__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 12px 18px; }
.lb__stage img { max-width: 100%; max-height: calc(100dvh - 90px); object-fit: contain; border-radius: 4px; }
.lb button { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-d); border-radius: var(--r); background: rgba(20, 20, 24, .8); color: var(--white); cursor: pointer; }
.lb button:hover { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.lb__prev, .lb__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__prev { left: 16px; }
.lb__next { right: 16px; }

/* ---------- Blog ---------- */
.posts { display: grid; gap: var(--gap); }
@media (min-width: 760px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .posts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; transition: transform .25s var(--ease), border-color .2s, box-shadow .25s; }
.post:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .35); }
.post__img { aspect-ratio: 16 / 9; background: var(--ink-3); overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; }
.post__body { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.2vw, 28px); flex: 1; }
.post time { font-size: .84rem; color: var(--muted); font-weight: 560; letter-spacing: .04em; }
.post p { color: var(--muted); font-size: .98rem; }
.post .link { margin-top: auto; align-self: flex-start; font-size: .95rem; }
.article { display: grid; gap: var(--col-gap); align-items: start; }
@media (min-width: 1000px) { .article { grid-template-columns: minmax(0, 1fr) 340px; } .article aside { position: sticky; top: 24px; } }
.article__img { border-radius: 8px; overflow: hidden; margin-bottom: clamp(28px, 4vw, 48px); aspect-ratio: 16 / 9; background: var(--ink-3); }
.article__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Fußbereich ---------- */
.ftr { background: var(--ink); color: var(--text-d); padding-top: var(--sec-tight); font-size: .94rem; }
.ftr__grid { display: grid; gap: 40px 48px; padding-bottom: 60px; }
@media (min-width: 620px) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .ftr__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.ftr__brand img { width: 170px; margin-bottom: 22px; }
.ftr__brand p { color: var(--muted-d); max-width: 34ch; }
.ftr address { font-style: normal; margin-top: 22px; display: grid; gap: 6px; color: var(--muted-d); }
.ftr address a { color: var(--text-d); text-decoration: none; font-weight: 600; }
.ftr address a:hover, .ftr li a:hover { color: var(--gold); }
.ftr h2 { font-size: .78rem; font-weight: 620; font-stretch: 100%; letter-spacing: .15em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 18px; }
.ftr li + li { margin-top: 10px; }
.ftr li a { text-decoration: none; }
.ftr__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-block: 22px; border-top: 1px solid var(--line-d); color: var(--muted-d); font-size: .9rem; }
.ftr__bar ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ftr__bar li + li { margin-top: 0; }
.ftr__consent { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.ftr__consent:hover { color: var(--white); text-decoration: underline; }

/* Hinweis zur Einwilligung (nur aktiv, wenn Google Ads eingerichtet ist) */
.consent-bar { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; width: min(440px, calc(100% - 32px)); padding: 22px 22px 20px; border-radius: 6px; background: var(--ink); color: var(--white); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 18px 50px rgba(0, 0, 0, .45); border-top: 3px solid var(--gold); }
.consent-bar[hidden] { display: none; }
.consent-bar h2 { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.3; }
.consent-bar p { margin: 0; font-size: .86rem; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.consent-bar a { color: var(--white); }
.consent-bar__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.consent-bar .btn { justify-content: center; border-color: rgba(255, 255, 255, .55); color: var(--white); }
.consent-bar .btn:hover { background: rgba(255, 255, 255, .08); border-color: var(--white); }
.ftr__social { display: flex; gap: 8px; }
.ftr__social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-d); border-radius: var(--r); color: var(--text-d); transition: background .15s, color .15s, border-color .15s; }
.ftr__social a:hover { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }

/* ---------- Dunkles Design ----------
   Schwarze Seite, Abschnitte durch feine Trennlinien getrennt, Karten in einheitlichem Grau.
   Überschreibt die hellen Flächen von oben; ohne diesen Block ist die Seite wieder hell. */
:root {
  color-scheme: dark;
  --paper: var(--ink);   /* Seitenhintergrund */
  --panel: #121216;      /* Eingabefelder */
  --surface: #1c1c22;    /* Boxen: Karten, Felder */
  --surface-hover: #23232a;
  --line: rgba(255, 255, 255, .1);
  --text: #eeede8;
  --muted: #a5a4ad;
}
main > section:not(.hero):not(.phero):not(.uses), .ftr { background: var(--ink); border-top: 1px solid var(--line-d); }
.dots::before { display: none; }
.card, .section--white .card, .filter button, .checks li, .panel, .panel--light, .opt, .formwrap, .pager a, .post, .svc, .use, .quote, .consent-bar, .info__tip { background: var(--surface); }
.card, .section--white .card, .svc, .panel { border: 1px solid var(--line-d); }
.use:hover { background: var(--surface-hover); }
.info__tip::after { border-top-color: var(--surface); }
a.card:hover, .pager a:hover, .post:hover, .filter button:hover { border-color: rgba(252, 215, 0, .45); }
.card__icon, .feat__icon { background: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); color: var(--white); border-color: var(--white); }
.filter button[aria-pressed='true'] { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.lede > p, .faq__body { color: #c9c8c2; }
.checks .icon, .panel__phone .icon { color: var(--gold); }
.prose li::marker { color: var(--gold); }
.fair__date, .faq summary:hover { color: var(--gold); }
.faq summary::after { border: 1px solid var(--line); }
/* Formular */
.input { color: var(--text); background: var(--panel); border-color: rgba(255, 255, 255, .18); }
.input:hover { border-color: rgba(255, 255, 255, .36); }
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(252, 215, 0, .25); }
.chip span { border-color: rgba(255, 255, 255, .18); }
.chip:hover span { border-color: rgba(252, 215, 0, .45); }
.chip input:checked + span { border-color: var(--gold); background: rgba(252, 215, 0, .1); color: var(--white); }
.chip input:checked + span .icon { color: var(--gold); }
.range input { accent-color: var(--gold); }
.field__error { color: #ff7a6e; }
.lead__error { background: rgba(217, 72, 15, .14); }
.info__tip { box-shadow: 0 0 0 1px var(--line-d), 0 12px 30px rgba(0, 0, 0, .4); }
/* Abschlussband: stehendes Pixelraster, das ab der Mitte langsam einblendet */
.cta { color: var(--white); }
main > .cta::before { background-image: radial-gradient(rgba(252, 215, 0, .55) 1px, transparent 1.4px); background-size: 12px 12px; mask-image: linear-gradient(90deg, transparent 38%, rgba(0, 0, 0, .25) 62%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 38%, rgba(0, 0, 0, .25) 62%, #000 100%); animation: none; }
.cta p { color: var(--muted-d); }
.cta :focus-visible { outline-color: var(--gold); }
.cta .btn--dark { background: var(--gold); color: var(--gold-ink); }
.cta .btn--dark:hover { background: #ffe340; }
.cta .btn--ghost { border-color: rgba(255, 255, 255, .4); color: var(--white); }
@media print {
  :root { color-scheme: light; --text: #000; --muted: #444; --line: #ccc; }
  body { background: #fff; }
}

/* ---------- Bewegung ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .95s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .rv--img { transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.15s var(--ease), opacity .4s; }
.js .rv.is-in { opacity: 1; transform: none; clip-path: inset(0); }
/* Seitenkopf der Unterseiten blendet beim Laden ein */
.phero .eyebrow, .phero h1, .phero__lead, .phero .actions, .phero .ticks, .phero .facts { animation: rise .9s var(--ease) both; }
.phero h1 { animation-delay: .08s; }
.phero__lead, .phero .facts { animation-delay: .18s; }
.phero .actions { animation-delay: .28s; }
.phero .ticks { animation-delay: .36s; }
.phero .screen { animation: screen-in 1.1s var(--ease) .15s both; }
@keyframes screen-in { from { opacity: 0; transform: translateY(30px) scale(.97); } }
/* LED-Punkte im gelben Band wandern langsam */
.cta::before { animation: drift 2.4s linear infinite; }
@keyframes drift { to { background-position: 14px 14px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; clip-path: none; }
}
@media print {
  .hdr, .ftr, .cta, .contactbar, .formwrap { display: none; }
  .phero, .hero, .dark { background: none; color: #000; }
}

.nb { white-space: nowrap; }
