/* IBG Tag und Nacht – Block-Theme für elektroplanung-gutmann.de
   Dunkel zuerst. Licht ist das Material: Bilder treten aus dem Dunkel, Orange ist die Lichtfarbe.
   Aufbau: Grundlagen · Kopf · Bausteine (je ein Block oder Muster) · Seiten · WordPress · Bewegung aus
   Die Schrift bindet theme.json ein (Geist, selbst gehostet, SIL OFL 1.1). */

@property --r { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --p { syntax: "<percentage>"; inherits: false; initial-value: -30%; }

:root {
  color-scheme: dark;
  --nacht: #000;
  --nacht-1: #0b0b0c;
  --nacht-2: #161618;
  --linie: rgba(255, 255, 255, .11);
  --linie-2: rgba(255, 255, 255, .22);
  --text: #f5f5f7;
  --text-2: #a1a1a6;   /* 8,1 : 1 auf Schwarz */
  --text-3: #86868b;   /* 5,6 : 1 */
  --text-aus: #5f5f64; /* 3,3 : 1 – nur für große Schrift im Zustand „aus“ */
  --orange: #d45615;   /* Markenfarbe aus dem Logo */
  --licht: #ff8a3d;    /* Orange als Lichtfarbe, 8,9 : 1 */
  --glut: 255 138 61;
  --warm: 255 228 200;
  --gutter: clamp(20px, 4.4vw, 64px);
  --breite: 1312px;
  --kopf: 72px;
  --ease-licht: cubic-bezier(.22, .68, .16, 1);
  --ease-aus: cubic-bezier(.55, 0, .7, .2);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--nacht); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf) + 64px); }
body {
  margin: 0;
  background: var(--nacht);
  color: var(--text);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgb(var(--glut) / .35); color: #fff; }
:focus-visible { outline: 2px solid var(--licht); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: calc(var(--breite) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.nur-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.springen { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--text); color: #000; padding: 10px 16px; border-radius: 999px; font-weight: 500; text-decoration: none; }
.springen:focus { top: 12px; }

/* Typografie */
.t-mega { font-size: clamp(44px, 7.2vw, 112px); font-weight: 600; line-height: .95; letter-spacing: -.045em; margin: 0; }
.t-xl { font-size: clamp(36px, 5vw, 76px); font-weight: 600; line-height: 1; letter-spacing: -.04em; margin: 0; text-wrap: balance; }
.t-l { font-size: clamp(25px, 2.7vw, 40px); font-weight: 500; line-height: 1.18; letter-spacing: -.025em; margin: 0; text-wrap: pretty; }
.t-text { color: var(--text-2); max-width: 34em; margin: 0; text-wrap: pretty; }
.t-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-2); margin: 0 0 22px;
}
.t-kicker::before, .led {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: var(--licht);
  box-shadow: 0 0 0 3px rgb(var(--glut) / .12), 0 0 12px 2px rgb(var(--glut) / .55);
}
.zahl { font-variant-numeric: tabular-nums; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 16px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  border: 1px solid var(--linie-2); background: transparent; color: var(--text);
  transition: background .3s, border-color .3s, box-shadow .4s, color .3s;
}
.knopf:hover { border-color: rgba(255, 255, 255, .45); }
.knopf--licht { background: var(--text); color: #000; border-color: var(--text); }
.knopf--licht .led { width: 7px; height: 7px; }
.knopf--licht:hover { background: #fff; box-shadow: 0 0 0 1px #fff, 0 10px 50px -6px rgb(var(--glut) / .55); }
.pfeil { display: inline-block; transition: transform .3s var(--ease-licht); }
a:hover .pfeil { transform: translateX(4px); }
.textlink { color: var(--text); text-decoration: none; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid var(--linie-2); padding-bottom: 3px; transition: border-color .3s; }
.textlink:hover { border-color: var(--licht); }

/* ───────────── Kopf ───────────── */
.nl-kopf {
  position: fixed; inset: 0 0 auto; z-index: 70; height: var(--kopf);
  border-bottom: 1px solid transparent;
  transition: background .45s, border-color .45s, -webkit-backdrop-filter .45s, backdrop-filter .45s;
}
.nl-kopf.ist-gescrollt, .ist-menue-offen .nl-kopf {
  background: rgba(0, 0, 0, .74);
  -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px);
  border-bottom-color: var(--linie);
}
.ist-menue-offen .nl-kopf { background: #000; }
.nl-kopf__innen { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nl-logo { display: block; flex: none; border-radius: 2px; }
.nl-logo img { height: 40px; width: auto; }
.nl-nav ul { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 38px); list-style: none; margin: 0; padding: 0; }
.nl-nav a { position: relative; display: block; padding: 8px 0; color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: -.005em; transition: color .25s; }
.nl-nav a:hover, .nl-nav a[aria-current="page"] { color: var(--text); }
.nl-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: -3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--licht); box-shadow: 0 0 8px 2px rgb(var(--glut) / .7);
}
.nl-nav a.nl-nav__kontakt { padding: 8px 18px; border: 1px solid var(--linie-2); border-radius: 999px; color: var(--text); }
.nl-nav a.nl-nav__kontakt:hover { border-color: rgba(255, 255, 255, .5); }
.nl-nav a.nl-nav__kontakt[aria-current="page"]::after { bottom: -9px; }
.nl-menueknopf { display: none; }

.nl-menue { display: none; }

@media (max-width: 900px) {
  :root { --kopf: 60px; }
  .nl-logo img { height: 32px; }
  .nl-nav { display: none; }
  .nl-menueknopf {
    display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 4px 0 14px;
    background: none; border: 0; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--text);
  }
  .nl-menueknopf__striche { position: relative; width: 22px; height: 12px; }
  .nl-menueknopf__striche::before, .nl-menueknopf__striche::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 1px;
    transition: transform .35s var(--ease-licht), top .35s var(--ease-licht);
  }
  .nl-menueknopf__striche::before { top: 2px; }
  .nl-menueknopf__striche::after { top: 9px; }
  .ist-menue-offen .nl-menueknopf__striche::before { top: 5.5px; transform: rotate(45deg); }
  .ist-menue-offen .nl-menueknopf__striche::after { top: 5.5px; transform: rotate(-45deg); }

  .nl-menue {
    display: flex; flex-direction: column; justify-content: space-between;
    position: fixed; inset: 0; z-index: 60; background: #000;
    padding: calc(var(--kopf) + 28px) var(--gutter) 36px;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s;
    overflow-y: auto;
  }
  .ist-menue-offen .nl-menue { opacity: 1; visibility: visible; transition: opacity .25s, visibility 0s; }
  .ist-menue-offen { overflow: hidden; }
  .nl-menue ul { list-style: none; margin: 0; padding: 0; }
  .nl-menue li { border-bottom: 1px solid var(--linie); }
  .nl-menue a {
    display: flex; align-items: center; justify-content: space-between; padding: 16px 0;
    font-size: 34px; font-weight: 600; letter-spacing: -.035em; text-decoration: none; color: var(--text-aus);
    transition: color .5s var(--ease-licht);
  }
  .nl-menue a[aria-current="page"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--licht); box-shadow: 0 0 12px 2px rgb(var(--glut) / .6); }
  .ist-menue-offen .nl-menue a { color: var(--text); }
  .ist-menue-offen .nl-menue li:nth-child(1) a { transition-delay: .05s; }
  .ist-menue-offen .nl-menue li:nth-child(2) a { transition-delay: .11s; }
  .ist-menue-offen .nl-menue li:nth-child(3) a { transition-delay: .17s; }
  .ist-menue-offen .nl-menue li:nth-child(4) a { transition-delay: .23s; }
  .ist-menue-offen .nl-menue li:nth-child(5) a { transition-delay: .29s; }
  .nl-menue__fuss { color: var(--text-2); font-size: 15px; line-height: 1.7; padding-top: 32px; }
  .nl-menue__fuss a { font-size: 15px; font-weight: 500; letter-spacing: 0; padding: 0; color: var(--text); display: inline; }
}

/* ───────────── Abschnitte ───────────── */
.abschnitt { padding-block: var(--wp--preset--spacing--50); }
.abschnitt--eng { padding-block: var(--wp--preset--spacing--40); }
.abschnitt--oben { padding-bottom: var(--wp--preset--spacing--50); }
.abschnitt--unten { padding-top: var(--wp--preset--spacing--50); }
.kopfzeile { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; }
.kopfzeile .t-xl { max-width: 15ch; }
@media (max-width: 760px) { .kopfzeile { grid-template-columns: 1fr; } .kopfzeile .textlink { justify-self: start; } }
.trenner { border: 0; border-top: 1px solid var(--linie); margin: 0; }

/* ───────────── Muster: Bühne (Start) ───────────── */
.nl-buehne { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: #000; isolation: isolate; }
.nl-szene {
  position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden;
  --r: 0px;
  -webkit-mask-image: radial-gradient(circle at var(--lx, 50%) var(--ly, 40%), #000 var(--r), transparent calc(var(--r) + 34vmax));
          mask-image: radial-gradient(circle at var(--lx, 50%) var(--ly, 40%), #000 var(--r), transparent calc(var(--r) + 34vmax));
  transition: opacity .9s var(--ease-aus), visibility 0s .9s;
}
.nl-szene img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%);
  filter: brightness(.22) saturate(.5);
  transform: scale(1.06);
  transition: filter 2.8s var(--ease-licht), transform 10s cubic-bezier(.2, .55, .3, 1);
}
.nl-szene::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: radial-gradient(circle at var(--lx, 50%) var(--ly, 40%), rgb(var(--warm) / .8) 0, rgb(var(--glut) / .28) 7vmax, transparent 28vmax);
}
.nl-szene.ist-aktiv {
  opacity: 1; visibility: visible; --r: 200vmax;
  transition: --r 2.8s var(--ease-licht), opacity .25s, visibility 0s;
}
.nl-szene.ist-aktiv img { filter: none; transform: scale(1); }
.nl-szene__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); opacity: 0; transition: opacity 1.4s var(--ease-licht); pointer-events: none; }
.nl-szene.spielt .nl-szene__video { opacity: 1; }
.nl-szene.ist-ausgehend .nl-szene__video { opacity: 0; transition: opacity .8s var(--ease-aus); }
.nl-szene.ist-aktiv::after { animation: zuenden 3s var(--ease-licht) both; }
.nl-szene.ist-ausgehend { visibility: visible; --r: 200vmax; opacity: 0; }
.nl-szene.ist-ausgehend img { filter: brightness(0) saturate(.4); transform: scale(1); transition: filter .8s var(--ease-aus); }
@keyframes zuenden { 0% { opacity: 0; } 16% { opacity: .72; } 100% { opacity: .08; } }

.nl-buehne__scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to top, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .62) 24%, rgba(0, 0, 0, .18) 46%, rgba(0, 0, 0, 0) 60%),
    linear-gradient(to bottom, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 20%),
    radial-gradient(ellipse 60% 50% at 18% 72%, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 70%);
}
.nl-buehne__inhalt { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(150px, 21vh, 214px); }
.nl-buehne__inhalt .t-kicker { color: var(--text); }
.nl-buehne h1 { max-width: 11ch; }
.nl-buehne__steuerung { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(28px, 4.5vh, 44px); }
.nl-takte { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)) auto; gap: 0 22px; align-items: start; margin: 0; padding: 0; list-style: none; }
.nl-takt {
  position: relative; display: block; width: 100%; padding: 18px 0 0; margin: 0;
  background: none; border: 0; text-align: left; cursor: pointer; color: var(--text-3);
  font-size: 13px; line-height: 1.4; transition: color .5s;
}
.nl-takt::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--linie-2); }
.nl-takt.ist-aktiv::before { background: rgba(255, 255, 255, .5); }
.nl-takt__balken {
  position: absolute; left: 0; right: 0; top: -.5px; height: 2px; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, rgb(var(--glut) / .5), var(--licht) 70%, rgb(var(--warm)));
  box-shadow: 0 0 10px rgb(var(--glut) / .7);
}
.nl-takt.ist-aktiv .nl-takt__balken { animation: takt var(--takt, 7.5s) linear forwards; }
.ist-pausiert .nl-takt.ist-aktiv .nl-takt__balken, .ist-gehalten .nl-takt.ist-aktiv .nl-takt__balken, .ist-ausser-sicht .nl-takt.ist-aktiv .nl-takt__balken { animation-play-state: paused; }
.ist-statisch .nl-takt.ist-aktiv .nl-takt__balken { animation: none; transform: scaleX(1); }
@keyframes takt { to { transform: scaleX(1); } }
.nl-takt__nr { display: block; font-variant-numeric: tabular-nums; margin-bottom: 4px; color: var(--text-3); }
.nl-takt__name { display: block; font-weight: 500; color: inherit; }
.nl-takt__meta { display: block; color: var(--text-3); }
.nl-takt:hover, .nl-takt.ist-aktiv { color: var(--text); }
.nl-takt.ist-aktiv .nl-takt__nr { color: var(--licht); }
.nl-buehne__rechts { display: flex; align-items: center; gap: 10px; padding-top: 12px; }
.nl-pause {
  position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--linie-2); background: rgba(0, 0, 0, .3);
  cursor: pointer; display: grid; place-items: center; transition: border-color .3s;
}
.nl-pause:hover { border-color: rgba(255, 255, 255, .5); }
.nl-pause::before, .nl-pause::after { content: ""; position: absolute; top: 13px; width: 2px; height: 10px; background: var(--text); border-radius: 1px; }
.nl-pause::before { left: 15px; } .nl-pause::after { left: 19px; }
.ist-pausiert .nl-pause::before { left: 15px; top: 12px; width: 0; height: 0; background: none; border-left: 10px solid var(--text); border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-radius: 0; }
.ist-pausiert .nl-pause::after { display: none; }
.nl-buehne__titel { display: none; }
.nl-buehne__link { font-size: 14px; }

@media (max-width: 900px) {
  .nl-buehne { min-height: 560px; }
  .nl-szene img, .nl-szene__video { object-position: var(--pos-m, var(--pos, 50% 50%)); }
  .nl-buehne__inhalt { bottom: 178px; }
  .nl-buehne__scrim { background: linear-gradient(to top, rgba(0, 0, 0, .94) 0%, rgba(0, 0, 0, .7) 30%, rgba(0, 0, 0, .25) 52%, rgba(0, 0, 0, 0) 66%), linear-gradient(to bottom, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 16%); }
  .ab-tablet { display: none; }
  .nl-takte { grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 0 8px; }
  .nl-takt { padding-top: 0; height: 28px; }
  .nl-takt::before, .nl-takt__balken { top: 13px; }
  .nl-takt__nr, .nl-takt__name, .nl-takt__meta { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nl-buehne__titel { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; min-height: 44px; padding-right: 56px; }
  .nl-buehne__titel strong { display: block; font-size: 16px; font-weight: 500; line-height: 1.3; }
  .nl-buehne__titel span { display: block; font-size: 13px; color: var(--text-3); }
  .nl-buehne__rechts { position: absolute; right: var(--gutter); bottom: 46px; padding: 0; }
  .nl-buehne__rechts .nl-buehne__link { display: none; }
}

/* ───────────── Muster: Einleitung mit Leistungsphasen ───────────── */
.nl-intro__raster { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 16px 24px; align-items: start; }
.nl-intro__raster .t-kicker { margin-top: .9em; }
.nl-intro__satz { max-width: 26ch; font-size: clamp(26px, 3.3vw, 48px); line-height: 1.14; }
@media (max-width: 900px) { .nl-intro__raster { grid-template-columns: 1fr; } .nl-intro__raster .t-kicker { margin-top: 0; } }
.nl-intro__satz em { font-style: normal; color: var(--text-2); }
.nl-intro__unter { margin-top: 32px; }
.nl-phasen { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: var(--wp--preset--spacing--50) 0 0; padding: 0; list-style: none; }
.nl-phasen::before, .nl-phasen::after { content: ""; position: absolute; top: 6px; left: calc(100% / 12); right: calc(100% / 12); height: 1px; }
.nl-phasen::before { background: var(--linie-2); }
.nl-phasen::after {
  background: linear-gradient(90deg, rgb(var(--glut) / .95), rgb(var(--warm) / .95));
  box-shadow: 0 0 12px rgb(var(--glut) / .65);
  transform: scaleX(0); transform-origin: left; transition: transform 2.6s linear .2s;
}
.nl-phasen.ist-an::after { transform: scaleX(1); }
.nl-phasen li {
  position: relative; padding-top: 32px; text-align: center;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3);
  transition: color .5s calc(.2s + var(--i) * .52s);
}
.nl-phasen li::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%;
  background: #000; border: 1px solid var(--linie-2);
  transition: background .4s calc(.2s + var(--i) * .52s), border-color .4s calc(.2s + var(--i) * .52s), box-shadow .6s calc(.2s + var(--i) * .52s);
}
.nl-phasen li:nth-child(1) { --i: 0; } .nl-phasen li:nth-child(2) { --i: 1; } .nl-phasen li:nth-child(3) { --i: 2; }
.nl-phasen li:nth-child(4) { --i: 3; } .nl-phasen li:nth-child(5) { --i: 4; } .nl-phasen li:nth-child(6) { --i: 5; }
.nl-phasen.ist-an li { color: var(--text); }
.nl-phasen.ist-an li::before { background: var(--licht); border-color: var(--licht); box-shadow: 0 0 0 5px rgb(var(--glut) / .12), 0 0 18px 3px rgb(var(--glut) / .55); }
@media (max-width: 760px) {
  .nl-phasen { grid-template-columns: 1fr; gap: 0; }
  .nl-phasen::before, .nl-phasen::after { top: 22px; bottom: 22px; left: 6px; right: auto; width: 1px; height: auto; }
  .nl-phasen::after { transform: scaleY(0); transform-origin: top; background: linear-gradient(180deg, rgb(var(--glut) / .95), rgb(var(--warm) / .95)); }
  .nl-phasen.ist-an::after { transform: scaleY(1); }
  .nl-phasen li { text-align: left; padding: 13px 0 13px 36px; }
  .nl-phasen li::before { top: 50%; left: 0; margin: -6.5px 0 0; }
}

/* ───────────── Muster: Lichtband (Leistungen) ───────────── */
.nl-band { list-style: none; margin: var(--wp--preset--spacing--40) 0 0; padding: 0; border-bottom: 1px solid var(--linie); }
.nl-band__zeile > a {
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 380px); gap: 12px 40px; align-items: baseline;
  padding: clamp(24px, 2.6vw, 36px) 0; border-top: 1px solid var(--linie); text-decoration: none; color: inherit;
}
.nl-band__zeile > a::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, var(--licht), rgb(var(--glut) / .45) 38%, rgb(var(--glut) / 0) 82%);
  box-shadow: 0 0 14px rgb(var(--glut) / .55);
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-licht);
}
.nl-band__nr { font-size: 14px; color: var(--text-3); font-variant-numeric: tabular-nums; transition: color .5s; }
.nl-band__name { font-size: clamp(34px, 5.4vw, 82px); font-weight: 600; line-height: 1; letter-spacing: -.045em; color: var(--text-aus); transition: color .7s var(--ease-licht); }
.nl-band__text { font-size: 15px; line-height: 1.55; color: var(--text-3); transition: color .7s; }
.nl-band__satz { display: block; color: var(--text-2); font-weight: 500; font-size: 16px; margin-bottom: 6px; transition: color .7s; }
.nl-band__zeile.ist-an > a::before, .nl-band__zeile > a:hover::before, .nl-band__zeile > a:focus-visible::before { transform: scaleX(1); }
.nl-band__zeile.ist-an .nl-band__name, .nl-band__zeile > a:hover .nl-band__name, .nl-band__zeile > a:focus-visible .nl-band__name { color: var(--text); }
.nl-band__zeile.ist-an .nl-band__nr, .nl-band__zeile > a:hover .nl-band__nr { color: var(--licht); }
.nl-band__zeile.ist-an .nl-band__text, .nl-band__zeile > a:hover .nl-band__text { color: var(--text-2); }
.nl-band__zeile.ist-an .nl-band__satz, .nl-band__zeile > a:hover .nl-band__satz { color: var(--text); }
@media (max-width: 900px) {
  .nl-band__zeile > a { grid-template-columns: 34px minmax(0, 1fr); gap: 10px 8px; }
  .nl-band__text { grid-column: 2; }
  .nl-band__name { font-size: clamp(28px, 8.4vw, 46px); }
}

/* ───────────── Muster: Flutlicht in Zahlen ───────────── */
.nl-flutlicht { position: relative; }
.nl-flutlicht__bild { position: relative; margin: 0; height: clamp(460px, 78vh, 820px); overflow: hidden; background: #000; }
.nl-flutlicht__bild img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 60% 50%);
  --r: 0px;
  -webkit-mask-image: radial-gradient(circle at var(--lx, 60%) var(--ly, 40%), #000 var(--r), transparent calc(var(--r) + 30vmax));
          mask-image: radial-gradient(circle at var(--lx, 60%) var(--ly, 40%), #000 var(--r), transparent calc(var(--r) + 30vmax));
  filter: brightness(.3) saturate(.4);
  transition: --r 3s var(--ease-licht), filter 3s var(--ease-licht);
}
.nl-flutlicht__bild.ist-an img { --r: 160vmax; filter: none; }
.nl-flutlicht__bild::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .7) 22%, rgba(0, 0, 0, 0) 52%), linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0) 26%), linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 55%);
}
.nl-flutlicht__text { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(32px, 6vw, 72px); }
.nl-flutlicht__text .t-text { margin-top: 20px; color: var(--text-2); }
.nl-zahlen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--wp--preset--spacing--60); border-top: 1px solid var(--linie); }
.nl-zahl { margin: 0; padding: 40px 40px 8px 0; display: flex; flex-direction: column; }
.nl-zahl + .nl-zahl { padding-left: 40px; border-left: 1px solid var(--linie); }
.nl-zahl__viz { height: 150px; margin-bottom: 28px; }
.nl-zahl__viz svg { width: 100%; max-width: 260px; height: 150px; overflow: visible; display: block; }
.nl-zahl strong { display: block; font-size: clamp(52px, 6.4vw, 96px); font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.nl-zahl strong small { font-size: .5em; letter-spacing: -.02em; margin-left: .08em; font-weight: 500; }
.nl-zahl figcaption > span { display: block; margin-top: 12px; color: var(--text-2); font-size: 16px; }
.nl-flutlicht__quelle { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--linie); color: var(--text-3); font-size: 15px; }
@media (max-width: 760px) {
  .nl-zahlen { grid-template-columns: 1fr; }
  .nl-zahl { padding: 32px 0 28px; display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 0 16px; align-items: end; }
  .nl-zahl + .nl-zahl { padding-left: 0; border-left: 0; border-top: 1px solid var(--linie); }
  .nl-zahl__viz { order: 2; height: 96px; margin: 0; }
  .nl-zahl__viz svg { height: 96px; }
}
/* Zeichnungen */
.viz-schaft { stroke: #3c3c41; stroke-width: 1.5; }
.viz-kopf { fill: #2c2c31; transition: fill .45s; transition-delay: calc(.3s + var(--i, 0) * .26s); }
.viz-kegel { opacity: 0; transition: opacity 1.2s var(--ease-licht); transition-delay: calc(.3s + var(--i, 0) * .26s); }
.viz-halo { opacity: 0; transition: opacity .6s; transition-delay: calc(.3s + var(--i, 0) * .26s); }
.ist-an .viz-kopf { fill: #fff4e8; }
.ist-an .viz-kegel { opacity: 1; }
.ist-an .viz-halo { opacity: 1; }
.viz-achse { stroke: #3c3c41; stroke-width: 1; }
.viz-skala { fill: var(--text-3); font: 500 11px/1 "Geist", sans-serif; font-variant-numeric: tabular-nums; }
.viz-steig { stroke: #5a5a60; stroke-width: 1.5; stroke-dasharray: 118; stroke-dashoffset: 118; transition: stroke-dashoffset 1.6s cubic-bezier(.5, 0, .2, 1) .3s; }
.ist-an .viz-steig { stroke-dashoffset: 0; }
.viz-mass { stroke: rgb(var(--glut) / .7); stroke-width: 1; stroke-dasharray: 3 4; opacity: 0; transition: opacity .6s 1.8s; }
.ist-an .viz-mass { opacity: 1; }
.viz-steig-kopf { fill: #2c2c31; transition: fill .4s 1.8s; }
.ist-an .viz-steig-kopf { fill: #fff4e8; }
.viz-steig-halo { opacity: 0; transition: opacity .6s 1.8s; }
.ist-an .viz-steig-halo { opacity: 1; }
.viz-punkt { fill: #2a2a2e; transition: fill .35s; transition-delay: var(--d, 0s); }
.viz-punkt-halo { opacity: 0; transition: opacity .5s; transition-delay: var(--d, 0s); }
.ist-an .viz-punkt { fill: #fff1e2; }
.ist-an .viz-punkt-halo { opacity: 1; }

/* ───────────── Bilder, die beim Erreichen angehen (Präsenzmelder) ───────────── */
.bild { position: relative; overflow: hidden; background: var(--nacht-1); height: var(--h, auto); }
.bild img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.bild::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .07); pointer-events: none; z-index: 1; }
.nl-projektbuehne .bild::after, .bilderfolge .voll::after { display: none; }
.js [data-licht].bild img, .js [data-licht] .bild img {
  filter: brightness(.1) saturate(.35); transform: scale(1.035);
  transition: filter 1.8s var(--ease-licht), transform 2.4s var(--ease-licht);
  transition-delay: var(--verz, 0s);
}
.js .ist-an.bild img, .js .ist-an .bild img { filter: brightness(.92) saturate(1); transform: scale(1); }
a:hover .bild img, a:focus-visible .bild img { filter: brightness(1.04) saturate(1.05) !important; transform: scale(1.025) !important; transition-delay: 0s !important; transition-duration: .6s, .9s !important; }

/* ───────────── Muster: Referenzen (Start) ───────────── */
.nl-mosaik { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--wp--preset--spacing--40) 24px; margin-top: var(--wp--preset--spacing--50); }
.kachel { grid-column: span 6; display: block; text-decoration: none; color: inherit; min-width: 0; }
.kachel--8 { grid-column: span 8; --h: clamp(300px, 34vw, 500px); }
.kachel--4 { grid-column: span 4; --h: clamp(300px, 34vw, 500px); }
.kachel--5 { grid-column: span 5; --h: clamp(280px, 29vw, 430px); }
.kachel--7 { grid-column: span 7; --h: clamp(280px, 29vw, 430px); }
.kachel__text { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.kachel__name { font-size: 19px; font-weight: 500; letter-spacing: -.015em; line-height: 1.35; }
.kachel__name .pfeil { margin-left: 6px; }
.kachel__meta { font-size: 14px; color: var(--text-3); }
.kachel .pfeil { color: var(--text-3); }
@media (max-width: 900px) {
  .nl-mosaik { grid-template-columns: 1fr; gap: 44px; }
  .kachel, .kachel--8, .kachel--4, .kachel--5, .kachel--7 { grid-column: auto; --h: 64vw; }
  .kachel--hoch { --h: 108vw; }
}

/* Lichtszenen-Wechsel (Raiffeisenbank) */
.szenen { position: relative; }
.szenen .bild img + img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease-licht), filter 1.8s var(--ease-licht), transform 2.4s var(--ease-licht); }
.szenen.ist-blau .bild img + img { opacity: 1; }
.szenen__schalter { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: rgba(0, 0, 0, .62); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--linie); }
.szenen__schalter button { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 0; background: none; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--text-2); transition: background .3s, color .3s; }
.szenen__schalter button[aria-pressed="true"] { background: rgba(255, 255, 255, .12); color: var(--text); }
.szenen__schalter i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .5; }
.szenen__schalter button[aria-pressed="true"] i { opacity: 1; }
.szenen__schalter .gelb i { background: #ffc85a; box-shadow: 0 0 10px #ffc85a; }
.szenen__schalter .blau i { background: #6fa8ff; box-shadow: 0 0 10px #6fa8ff; }

/* ───────────── Muster: Zitat ───────────── */
.nl-zitat blockquote { margin: 0; }
.nl-zitat blockquote p { margin: 0; max-width: 18ch; font-size: clamp(32px, 4.6vw, 68px); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.nl-zitat .w { color: var(--text-aus); transition: color .5s var(--ease-licht); }
.nl-zitat .w.an { color: var(--text); }
.nl-zitat footer, .nl-zitat cite { display: block; margin-top: 28px; color: var(--text-3); font-size: 15px; font-style: normal; }

/* ───────────── Muster: Aufruf mit Lichtkegel ───────────── */
.nl-aufruf { position: relative; overflow: hidden; text-align: center; padding-block: var(--wp--preset--spacing--70) var(--wp--preset--spacing--50); --auf: 0; }
.nl-aufruf__kegel, .nl-aufruf::before {
  content: ""; z-index: 0;
  position: absolute; left: 50%; top: 0; width: min(1500px, 170vw); height: 100%; margin-left: max(-750px, -85vw); pointer-events: none;
  background:
    radial-gradient(ellipse 9% 6% at 50% 0%, rgb(var(--warm) / .38), transparent 75%),
    conic-gradient(at 50% -1%, transparent 141deg, rgb(var(--warm) / .04) 152deg, rgb(var(--warm) / .12) 166deg, rgb(var(--warm) / .19) 180deg, rgb(var(--warm) / .12) 194deg, rgb(var(--warm) / .04) 208deg, transparent 219deg);
  -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent 92%); mask-image: linear-gradient(to bottom, #000 20%, transparent 92%);
  filter: blur(10px);
  opacity: var(--auf); transform: scaleX(calc(.35 + var(--auf) * .65)); transform-origin: 50% 0;
}
.nl-aufruf__leuchte, .nl-aufruf::after { content: ""; z-index: 0; position: absolute; left: 50%; top: 0; width: 120px; height: 2px; margin-left: -60px; border-radius: 2px; background: rgb(var(--warm)); box-shadow: 0 0 22px 6px rgb(var(--glut) / .55), 0 0 4px rgb(var(--warm)); opacity: calc(.25 + var(--auf) * .75); }
.nl-aufruf .wrap { position: relative; z-index: 1; }
.nl-aufruf h2 { max-width: 16ch; margin-inline: auto; }
.nl-aufruf p { margin: 24px auto 0; color: var(--text-2); max-width: 32em; }
.nl-aufruf .wp-block-heading { margin-top: 0; }
.nl-aufruf__knoepfe, .nl-aufruf .wp-block-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }

/* ───────────── Fuß ───────────── */
.nl-fuss { border-top: 1px solid var(--linie); padding: var(--wp--preset--spacing--40) 0 var(--wp--preset--spacing--40); color: var(--text-2); font-size: 15px; line-height: 1.7; }
.nl-fuss__raster { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.nl-fuss h2 { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin: 0 0 16px; }
.nl-fuss ul { list-style: none; margin: 0; padding: 0; }
.nl-fuss a { text-decoration: none; color: var(--text-2); transition: color .25s; }
.nl-fuss a:hover { color: var(--text); }
.nl-fuss address { font-style: normal; margin-top: 24px; }
.nl-fuss .nl-logo img { height: 40px; }
.nl-fuss__unten { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: var(--wp--preset--spacing--50); padding-top: 24px; border-top: 1px solid var(--linie); color: var(--text-3); font-size: 13px; }
@media (max-width: 900px) {
  .nl-fuss__raster { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .nl-fuss__marke, .nl-fuss__kontakt { grid-column: 1 / -1; }
  .nl-fuss__unten { flex-direction: column; gap: 6px; }
}

/* ───────────── Seite: Projekte ───────────── */
.seitenkopf { padding-top: calc(var(--kopf) + var(--wp--preset--spacing--40)); padding-bottom: var(--wp--preset--spacing--40); }
.seitenkopf .t-text { margin-top: 28px; font-size: 19px; }
.seitenkopf__zeile { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.seitenkopf__zahl { text-align: right; color: var(--text-3); font-size: 14px; }
@media (max-width: 760px) { .seitenkopf__zahl { text-align: left; } }
.seitenkopf__zahl strong { display: block; color: var(--text); font-size: clamp(44px, 5vw, 72px); font-weight: 600; letter-spacing: -.05em; line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }

.nl-filter { position: sticky; top: var(--kopf); z-index: 30; background: rgba(0, 0, 0, .8); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); border-block: 1px solid var(--linie); }
.nl-filter ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 14px 0; overflow-x: auto; scrollbar-width: none; }
.nl-filter ul::-webkit-scrollbar { display: none; }
.nl-filter button {
  display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px; white-space: nowrap;
  border-radius: 999px; border: 1px solid var(--linie); background: none; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--text-2); transition: color .3s, border-color .3s, background .3s;
}
.nl-filter button:hover { color: var(--text); border-color: var(--linie-2); }
.nl-filter button sup { font-size: 11px; color: var(--text-3); top: 0; font-variant-numeric: tabular-nums; }
.nl-filter button i { width: 6px; height: 6px; border-radius: 50%; background: #3a3a3e; transition: background .3s, box-shadow .3s; }
.nl-filter button[aria-pressed="true"] { color: var(--text); border-color: var(--linie-2); background: var(--nacht-2); }
.nl-filter button[aria-pressed="true"] i { background: var(--licht); box-shadow: 0 0 10px 2px rgb(var(--glut) / .6); }

.nl-galerie { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--wp--preset--spacing--50) 24px; padding-top: var(--wp--preset--spacing--40); }
.nl-galerie .kachel { grid-column: span 4; --h: clamp(220px, 22vw, 330px); transition: opacity .3s; }
.nl-galerie .kachel.g-7 { grid-column: span 7; --h: clamp(260px, 30vw, 450px); }
.nl-galerie .kachel.g-5 { grid-column: span 5; --h: clamp(260px, 30vw, 450px); }
.nl-galerie .kachel.g-6 { grid-column: span 6; --h: clamp(260px, 30vw, 450px); }
.nl-galerie .kachel.g-12 { grid-column: 1 / -1; --h: clamp(300px, 40vw, 560px); }
.nl-galerie .kachel.ist-weg { display: none; }
.nl-galerie .kachel.geht-aus { opacity: 0; }
.nl-galerie .kachel.geht-aus .bild img { filter: brightness(0) !important; transition: filter .25s !important; }
.nl-galerie__leer { grid-column: 1 / -1; color: var(--text-3); }
@media (max-width: 900px) {
  .nl-galerie { grid-template-columns: 1fr; gap: 44px; }
  .nl-galerie .kachel, .nl-galerie .kachel.g-7, .nl-galerie .kachel.g-5, .nl-galerie .kachel.g-6, .nl-galerie .kachel.g-12 { grid-column: auto; --h: 62vw; }
}

/* ───────────── Seite: Projekt ───────────── */
.nl-projektbuehne { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: #000; }
.nl-projektbuehne .bild { position: absolute; inset: 0; height: 100%; background: #000; }
.js .nl-projektbuehne .bild img {
  --p: -24%;
  -webkit-mask-image: linear-gradient(to top right, #000 var(--p), transparent calc(var(--p) + 26%));
          mask-image: linear-gradient(to top right, #000 var(--p), transparent calc(var(--p) + 26%));
  filter: brightness(.5); transform: scale(1.04);
  transition: --p 3s cubic-bezier(.45, .05, .25, 1) .1s, filter 3.2s var(--ease-licht) .1s, transform 9s var(--ease-licht);
}
.js .nl-projektbuehne.ist-an .bild img { --p: 100%; filter: none; transform: scale(1); }
.nl-projektbuehne::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, .4) 32%, rgba(0, 0, 0, 0) 58%), linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 18%), radial-gradient(ellipse 55% 40% at 22% 82%, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 75%); }
.nl-projektbuehne__text { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(40px, 7vh, 80px); }
.nl-projektbuehne__text .t-l { margin-top: 18px; color: var(--text-2); }
.pfad { display: flex; gap: 10px; color: var(--text-3); font-size: 14px; margin-bottom: 26px; }
.pfad a { color: var(--text-2); text-decoration: none; }
.pfad a:hover { color: var(--text); }

.eckdaten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--linie); }
.eckdaten > div { padding: 36px 24px 36px 0; }
.eckdaten > div + div { padding-left: 32px; border-left: 1px solid var(--linie); }
.eckdaten strong { display: block; font-size: clamp(40px, 4.6vw, 68px); font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.eckdaten span { display: block; margin-top: 12px; color: var(--text-2); font-size: 15px; }
@media (max-width: 760px) {
  .eckdaten { grid-template-columns: 1fr 1fr; }
  .eckdaten > div { padding: 28px 16px 28px 0; }
  .eckdaten > div + div { padding-left: 0; border-left: 0; }
  .eckdaten > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--linie); }
  .eckdaten > div:nth-child(n+3) { border-top: 1px solid var(--linie); }
}

.zweispaltig { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--wp--preset--spacing--40) clamp(40px, 7vw, 120px); align-items: start; }
.zweispaltig .t-text + .t-text { margin-top: 1.1em; }
.zweispaltig .t-text { font-size: 18px; }
@media (max-width: 900px) { .zweispaltig { grid-template-columns: 1fr; } }

.gewerke { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: var(--wp--preset--spacing--50); border-top: 1px solid var(--linie); }
.gewerk { padding: 28px 20px 8px 0; min-width: 0; }
.gewerk + .gewerk { padding-left: 20px; border-left: 1px solid var(--linie); }
.gewerk h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; color: var(--text-aus); transition: color .5s; transition-delay: calc(.2s + var(--i, 0) * .18s); }
.gewerk h3 i { width: 8px; height: 8px; border-radius: 50%; background: #2c2c30; flex: none; transition: background .4s, box-shadow .6s; transition-delay: calc(.2s + var(--i, 0) * .18s); }
.gewerk ul { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 1.5; color: var(--text-3); -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
.gewerk li + li { margin-top: 8px; }
.gewerke.ist-an .gewerk--an h3 { color: var(--text); }
.gewerke.ist-an .gewerk--an h3 i { background: var(--licht); box-shadow: 0 0 0 4px rgb(var(--glut) / .12), 0 0 14px 2px rgb(var(--glut) / .6); }
.gewerk--aus h3 { color: var(--text-3); }
.gewerk--aus ul { color: var(--text-3); } /* 5,6 : 1, lesbar; „aus“ zeigt die dunkle Leuchte */
@media (max-width: 1100px) {
  .gewerke { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gewerk:nth-child(3n+1) { padding-left: 0; border-left: 0; }
  .gewerk:nth-child(n+4) { border-top: 1px solid var(--linie); }
}
@media (max-width: 600px) {
  .gewerke { grid-template-columns: 1fr 1fr; }
  .gewerk, .gewerk:nth-child(3n+1) { padding: 22px 12px 20px 0; border-left: 0; }
  .gewerk:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--linie); }
  .gewerk:nth-child(n+3) { border-top: 1px solid var(--linie); }
  .gewerk:nth-child(odd) { padding-left: 0; border-left: 0; }
}

.beteiligte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; margin: var(--wp--preset--spacing--50) 0 0; padding-top: 28px; border-top: 1px solid var(--linie); }
.beteiligte dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.beteiligte dd { margin: 0; font-size: 17px; }
@media (max-width: 760px) { .beteiligte { grid-template-columns: 1fr; } }

.bilderfolge { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.bilderfolge .voll { grid-column: 1 / -1; --h: clamp(320px, 52vw, 760px); }
.bilderfolge .sieben { grid-column: span 7; --h: clamp(260px, 34vw, 520px); }
.bilderfolge .fuenf { grid-column: span 5; --h: clamp(260px, 34vw, 520px); }
@media (max-width: 760px) {
  .bilderfolge { grid-template-columns: 1fr; gap: 12px; }
  .bilderfolge .voll, .bilderfolge .sieben, .bilderfolge .fuenf { grid-column: auto; --h: 66vw; }
}

.weitere { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: var(--wp--preset--spacing--40); }
.weitere .kachel { grid-column: auto; --h: clamp(220px, 20vw, 300px); }
@media (max-width: 900px) {
  .weitere { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .weitere::-webkit-scrollbar { display: none; }
  .weitere .kachel { scroll-snap-align: start; --h: 56vw; }
}
.blaettern { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.blaettern a { display: block; padding: 36px 0; text-decoration: none; }
.blaettern a + a { text-align: right; border-left: 1px solid var(--linie); padding-left: 24px; }
.blaettern span { display: block; font-size: 13px; color: var(--text-3); margin-bottom: 8px; }
.blaettern strong { font-size: clamp(22px, 2.4vw, 34px); font-weight: 600; letter-spacing: -.03em; color: var(--text-2); transition: color .3s; }
.blaettern a:hover strong { color: var(--text); }

/* ───────────── Seite: Kontakt ───────────── */
.kontakt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px clamp(48px, 8vw, 128px); align-items: start; }
.direkt { display: grid; gap: 34px; }
.direkt h2 { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin: 0 0 10px; }
.direkt__gross { display: inline-block; font-size: clamp(28px, 2.8vw, 40px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; text-decoration: none; color: var(--text); font-variant-numeric: tabular-nums; border-bottom: 1px solid transparent; transition: border-color .3s; }
.direkt__gross:hover { border-color: var(--licht); }
.direkt address, .direkt p { font-style: normal; margin: 0; color: var(--text-2); font-size: 17px; }
.direkt__neben { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 28px; border-top: 1px solid var(--linie); }
.direkt__neben a { text-decoration: none; color: var(--text); font-variant-numeric: tabular-nums; }

.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; }
.feld { position: relative; display: block; }
.feld--breit { grid-column: 1 / -1; }
.feld label { display: block; font-size: 13px; color: var(--text-3); margin-bottom: 8px; }
.feld input, .feld textarea {
  width: 100%; display: block; padding: 6px 0 14px; margin: 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--linie-2); border-radius: 0;
  color: var(--text); font: inherit; font-size: 19px; letter-spacing: -.01em; outline: none; resize: none;
}
.feld textarea { min-height: 148px; line-height: 1.5; }
.feld__licht { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--licht) 20%, rgb(var(--warm)) 50%, var(--licht) 80%, transparent); box-shadow: 0 0 12px rgb(var(--glut) / .7); transform: scaleX(0); transition: transform .6s var(--ease-licht); pointer-events: none; }
.feld input:focus ~ .feld__licht, .feld textarea:focus ~ .feld__licht { transform: scaleX(1); }
.feld input:focus-visible, .feld textarea:focus-visible { outline: none; }
.feld .pflicht { color: var(--licht); }
.einwilligung { grid-column: 1 / -1; display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--text-2); cursor: pointer; }
.einwilligung input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 2px 0 0; border: 1px solid var(--linie-2); border-radius: 5px; background: transparent; cursor: pointer; display: grid; place-items: center; transition: border-color .3s, background .3s; }
.einwilligung input::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--licht); box-shadow: 0 0 10px 2px rgb(var(--glut) / .6); transform: scale(0); transition: transform .3s var(--ease-licht); }
.einwilligung input:checked { border-color: var(--licht); }
.einwilligung input:checked::after { transform: scale(1); }
.einwilligung a { color: var(--text); }
.formular__fuss { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.formular .knopf .led { background: #3a3a3e; box-shadow: none; transition: background .4s, box-shadow .6s; }
.formular.ist-bereit .knopf .led { background: var(--licht); box-shadow: 0 0 0 3px rgb(var(--glut) / .14), 0 0 12px 2px rgb(var(--glut) / .7); }
.formular__status { color: var(--text-2); font-size: 15px; margin: 0; }
@media (max-width: 900px) {
  .kontakt { grid-template-columns: 1fr; }
  .formular { grid-template-columns: 1fr; }
}

.karte { --h: 400px; position: relative; height: var(--h); overflow: hidden; background: #0d0d0e; border-block: 1px solid var(--linie); }
.karte__innen { position: absolute; top: 50%; left: 50%; width: max(100%, calc(var(--h) * 3.6)); aspect-ratio: 3.6; transform: translate(-50%, -50%); }
.karte__innen img { width: 100%; height: 100%; }
.karte__schein {
  position: absolute; left: 50%; top: 51.25%; width: 360px; height: 360px; margin: -180px 0 0 -180px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgb(var(--glut) / .42) 0, rgb(var(--glut) / .14) 28%, transparent 68%); mix-blend-mode: screen;
  opacity: 0; transform: scale(.4); transition: opacity 1.6s var(--ease-licht) .3s, transform 2s var(--ease-licht) .3s;
}
.karte.ist-an .karte__schein { opacity: 1; transform: scale(1); }
.karte__marke { position: absolute; left: 50%; top: 51.25%; margin: -12px 0 0 28px; padding: 10px 14px; background: rgba(0, 0, 0, .78); border: 1px solid var(--linie-2); border-radius: 10px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 14px; line-height: 1.4; white-space: nowrap; }
.karte__marke strong { display: block; font-weight: 600; }
.karte__marke span { color: var(--text-2); }
.karte__quelle { position: absolute; right: 12px; bottom: 10px; z-index: 2; font-size: 12px; color: var(--text-2); background: rgba(0, 0, 0, .7); padding: 3px 8px; border-radius: 4px; text-decoration: none; }
.karte__quelle:hover { color: var(--text); }
@media (max-width: 760px) { .karte { --h: 340px; } .karte__marke { margin: 26px 0 0 -90px; } }

/* ═════════════ WordPress: Kernblöcke und Theme-Blöcke ═════════════ */

/* Grundgerüst: Abschnitte stehen dicht, ihre Abstände setzen sie selbst */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > *, .nl-haupt > *, .nl-haupt > .entry-content > *, .nl-kopfteil, .nl-fussteil { margin-block: 0; }
.nl-haupt { display: block; }
.admin-bar .nl-kopf { top: var(--wp-admin--admin-bar--height, 32px); }
.admin-bar .nl-menue { padding-top: calc(var(--kopf) + 28px + var(--wp-admin--admin-bar--height, 46px)); }
.skip-link.screen-reader-text:focus { top: 12px !important; left: 16px !important; background: var(--text) !important; color: #000 !important; padding: 10px 16px !important; border-radius: 999px; font-weight: 500; text-decoration: none; clip-path: none; width: auto; height: auto; z-index: 100000; }
.has-text-align-center { text-align: center; }

/* Kennzeile als Blockstil für Absätze */
.is-style-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); margin: 0 0 22px; }
.is-style-kicker::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--licht); box-shadow: 0 0 0 3px rgb(var(--glut) / .12), 0 0 12px 2px rgb(var(--glut) / .55); }
p.t-kicker { margin-block: 0 22px; }
.t-kicker a { color: inherit; text-decoration: none; }
.t-kicker a:hover { color: var(--text); }

/* Knöpfe (Kernblock Button) */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-buttons > .wp-block-button { margin: 0; }
.wp-block-button__link, .knopf--licht {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 500 16px/1.2 inherit; font-family: inherit; letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  border: 1px solid var(--text); background: var(--text); color: #000;
  transition: background .3s, border-color .3s, box-shadow .4s, color .3s;
}
.wp-block-button__link:hover { background: #fff; color: #000; box-shadow: 0 0 0 1px #fff, 0 10px 50px -6px rgb(var(--glut) / .55); }
.is-style-licht .wp-block-button__link::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--licht); box-shadow: 0 0 0 3px rgb(var(--glut) / .12), 0 0 12px 2px rgb(var(--glut) / .55); }
.is-style-linie .wp-block-button__link { background: transparent; color: var(--text); border-color: var(--linie-2); font-variant-numeric: tabular-nums; }
.is-style-linie .wp-block-button__link:hover { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, .45); box-shadow: none; }

/* Kopf: Unterpunkte, Suche */
.nl-kopf__rechts { display: flex; align-items: center; gap: 6px; margin-left: 4px; }
.nl-nav li { position: relative; }
.nl-nav__unter { position: absolute; left: -18px; top: 100%; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .25s, transform .3s var(--ease-licht), visibility 0s .3s; }
.nl-nav__unter ul { display: block !important; min-width: 220px; padding: 10px !important; background: rgba(10, 10, 11, .92); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); border: 1px solid var(--linie); border-radius: 14px; }
.nl-nav__unter a { padding: 9px 12px !important; border-radius: 8px; font-size: 14px !important; white-space: nowrap; display: flex !important; align-items: center; gap: 10px; }
.nl-nav__unter a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #3a3a3e; transition: background .25s, box-shadow .25s; }
.nl-nav__unter a:hover, .nl-nav__unter a:focus-visible { background: rgba(255, 255, 255, .06); color: var(--text); }
.nl-nav__unter a:hover::before, .nl-nav__unter a:focus-visible::before { background: var(--licht); box-shadow: 0 0 8px 2px rgb(var(--glut) / .6); }
.nl-nav li.hat-unter:hover .nl-nav__unter, .nl-nav li.hat-unter:focus-within .nl-nav__unter { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease-licht), visibility 0s; }
.nl-suchknopf { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid transparent; background: none; color: var(--text-2); cursor: pointer; transition: color .25s, border-color .25s; }
.nl-suchknopf:hover, .nl-suchknopf[aria-expanded="true"] { color: var(--text); border-color: var(--linie-2); }
.nl-suche { position: absolute; left: 0; right: 0; top: 100%; background: rgba(0, 0, 0, .9); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); border-bottom: 1px solid var(--linie); }
.nl-suche__form { display: flex; gap: 16px; align-items: center; padding-block: 18px; }
.nl-suche input, .nl-menue__suche input, .nl-suchfeld .wp-block-search__input {
  flex: 1; min-width: 0; height: 48px; padding: 0 2px; background: transparent; border: 0; border-bottom: 1px solid var(--linie-2); border-radius: 0;
  color: var(--text); font: inherit; font-size: 22px; letter-spacing: -.015em; outline: none;
}
.nl-suche input:focus, .nl-menue__suche input:focus, .nl-suchfeld .wp-block-search__input:focus { border-color: var(--licht); }
.nl-suche .knopf { flex: none; }
.nl-menue__unter { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 0 0 16px !important; margin-top: -6px !important; }
.nl-menue__unter li { border: 0 !important; }
.nl-menue .nl-menue__unter a { font-size: 14px; font-weight: 500; letter-spacing: 0; padding: 4px 0; color: var(--text-3) !important; display: inline; }
.nl-menue__suche { margin: 0 0 22px; }
.nl-menue__suche input { width: 100%; font-size: 19px; }
@media (max-width: 900px) { .nl-suchknopf { display: none; } }

/* Logo im Fuß (Kernblock Website-Logo) */
.nl-fuss .wp-block-site-logo img, .nl-fuss .custom-logo { height: 40px; width: auto; }
.nl-fuss .wp-block-site-logo a { display: inline-block; border-radius: 2px; }
.nl-fuss__adresse { margin-top: 24px !important; }
.nl-fuss__titel { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin: 0 0 16px !important; line-height: 1.6; }
.nl-liste { list-style: none; margin: 0; padding: 0; }
.nl-fuss__unten p { margin: 0; }

/* Seitenkopf aus Kernblöcken */
.seitenkopf .t-mega, .seitenkopf .t-xl { max-width: 17ch; }
.seitenkopf .t-l, .seitenkopf__unter { margin-top: 22px; color: var(--text-2); max-width: 30ch; }
.seitenkopf .t-text { margin-top: 28px; }
.seitenkopf__zeile .t-mega { max-width: 12ch; }

/* Kopfzeile eines Abschnitts aus Kernblöcken */
.kopfzeile > .wp-block-group { margin: 0; }
.kopfzeile .wp-block-heading { max-width: 15ch; }

/* Einleitung mit Leistungsphasen (Kernblock Liste) */
.nl-intro__raster > * { margin: 0; }
.nl-phasen.wp-block-list { padding: 0; }
.nl-intro__unter.t-text { margin-top: 32px; }

/* Leitsatz (Kernblock Zitat) */
.nl-zitat .wp-block-quote { margin: 0; padding: 0; border: 0; }
.nl-zitat .wp-block-quote p { margin: 0; max-width: 18ch; font-size: clamp(32px, 4.6vw, 68px); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }

/* Flutlicht in Zahlen: Text als innere Blöcke */
.nl-flutlicht__text { position: relative; z-index: 2; margin-top: calc(-1 * clamp(150px, 20vw, 250px)); }
.nl-flutlicht__text > * { margin-block: 0; }
.nl-flutlicht__text .t-text { margin-top: 20px; }
.nl-zahl strong small.vor { margin: 0 .12em 0 0; }
.nl-flutlicht__quelle.wp-block-group { margin-top: 48px; }
.nl-flutlicht__quelle p { margin: 0; }
.nl-flutlicht__quelle a, .textlink-absatz a { color: var(--text); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--linie-2); padding-bottom: 3px; transition: border-color .3s; }
.nl-flutlicht__quelle a:hover, .textlink-absatz a:hover { border-color: var(--licht); }

/* Mosaik: Breiten 4–12 */
.kachel--6 { --h: clamp(280px, 29vw, 430px); }
.kachel--12 { grid-column: 1 / -1; --h: clamp(300px, 40vw, 560px); }
.kachel.szenen .bild img + img { position: absolute; inset: 0; }
a.kachel__name { color: inherit; text-decoration: none; }

/* Projektübersicht */
.nl-galerie .kachel.g-4 { grid-column: span 4; }
.nl-projekte .seitenkopf { padding-bottom: clamp(40px, 5vw, 64px); }
.nl-projekte__liste { padding-top: 0; }
.seitenkopf__zahl { margin: 0; }

/* Projekt-Bühne: Vorschaubilder (unter 900 px Breite) nicht über den ganzen Schirm aufblasen */
/* Projekt ohne großes Bild: das Vorschaubild steht als Bild im Raum (höchstens 1,5-fach), Titel unten links */
.nl-projektbuehne.ist-klein .bild { background: #000; }
.nl-projektbuehne.ist-klein .bild img { position: absolute; inset: auto; right: var(--gutter); top: calc(var(--kopf) + 32px); width: auto !important; height: auto !important; max-width: min(46vw, 777px); max-height: calc(100% - var(--kopf) - 300px); object-fit: contain; }
.nl-projektbuehne.ist-klein::after { background: linear-gradient(to top, rgba(0, 0, 0, .95), rgba(0, 0, 0, .5) 30%, rgba(0, 0, 0, 0) 55%); }
@media (max-width: 900px) {
  .nl-projektbuehne .bild img { object-position: var(--pos-m, var(--pos, 50% 50%)); }
  .nl-projektbuehne.ist-klein .bild img { left: var(--gutter); right: var(--gutter); max-width: calc(100% - 2 * var(--gutter)); max-height: 46vh; margin-inline: auto; }
}
.nl-platzhalter { height: auto; min-height: 0; padding: var(--wp--preset--spacing--60) 0 var(--wp--preset--spacing--40); color: var(--text-3); }

/* Eckdaten mit 1–4 Werten */
.eckdaten { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
@media (max-width: 760px) { .eckdaten { grid-template-columns: 1fr 1fr; } .eckdaten strong { font-size: clamp(26px, 7.4vw, 40px); } }

/* Projekttext */
.nl-projekt .zweispaltig > * { margin: 0; }
.nl-projekt .zweispaltig .t-xl { max-width: 12ch; }
.nl-projekt__zusatz { margin-top: 20px !important; color: var(--text-2); font-size: 19px; }
.nl-projekt .t-text, .nl-projekt .nl-projekt__text p { color: var(--text-2); font-size: 18px; max-width: 34em; text-wrap: pretty; }
.nl-projekt__text > * + * { margin-top: 1.1em !important; }
.nl-projekt__text strong { color: var(--text); font-weight: 500; }
.nl-projekt__text ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 32px; }
.nl-projekt__text ul li { break-inside: avoid; padding: 4px 0 4px 18px; position: relative; }
.nl-projekt__text ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 5px; height: 5px; border-radius: 50%; background: var(--licht); box-shadow: 0 0 8px rgb(var(--glut) / .55); }
@media (max-width: 600px) { .nl-projekt__text ul { columns: 1; } }
.nl-gewerke { margin-top: var(--wp--preset--spacing--50); }
.nl-gewerke__titel { margin-bottom: 0 !important; }
.nl-gewerke .gewerke { margin-top: 22px; }
.nl-gewerke__summe { margin: 24px 0 0; font-size: 15px; color: var(--text-3); }
.nl-abschnitt-titel { margin-top: var(--wp--preset--spacing--50) !important; }
.nl-abschnitt-titel + * { margin-top: 18px !important; }
.nl-bauabschnitt { margin-top: var(--wp--preset--spacing--50); padding-top: 32px; border-top: 1px solid var(--linie); }
.nl-bauabschnitt > * { margin-block: 0; }
.nl-bauabschnitt .t-l { max-width: 26ch; }
.nl-bauabschnitt__zusatz { margin-top: 10px !important; color: var(--text-2); }
.nl-bauabschnitt .nl-gewerke { margin-top: 32px; }
.nl-bauabschnitt .beteiligte { margin-top: 32px; }
.nl-quelle { margin-top: 28px !important; font-size: 14px; color: var(--text-3); }
.nl-quelle a { color: var(--text-2); }
.nl-quelle img { display: inline-block; vertical-align: middle; margin-right: 8px; opacity: .7; }

/* Bilderfolge (Kernblock Galerie): ganz breit, dann zwei Bilder 7/5 bzw. 5/7, wieder ganz breit … */
.wp-block-gallery.nl-bilderfolge {
  --spalte: calc((min(100% - 2 * var(--gutter), var(--breite)) - 11 * 24px) / 12);
  display: grid !important; grid-template-columns: minmax(0, 1fr) repeat(12, var(--spalte)) minmax(0, 1fr); gap: 24px !important;
  margin: 0 !important; padding: 0; flex-wrap: nowrap;
}
.wp-block-gallery.nl-bilderfolge > .wp-block-image { position: relative; overflow: hidden; margin: 0 !important; width: auto !important; min-width: 0; background: var(--nacht-1); grid-column: 2 / span 12; height: clamp(260px, 34vw, 520px); }
.wp-block-gallery.nl-bilderfolge > .wp-block-image img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.wp-block-gallery.nl-bilderfolge > .wp-block-image:nth-child(3n+1) { grid-column: 1 / -1; height: clamp(320px, 52vw, 760px); }
.wp-block-gallery.nl-bilderfolge > .wp-block-image:nth-child(6n+2) { grid-column: 2 / span 7; }
.wp-block-gallery.nl-bilderfolge > .wp-block-image:nth-child(6n+3) { grid-column: 9 / span 5; }
.wp-block-gallery.nl-bilderfolge > .wp-block-image:nth-child(6n+5) { grid-column: 2 / span 5; }
.wp-block-gallery.nl-bilderfolge > .wp-block-image:nth-child(6n+6) { grid-column: 7 / span 7; }
.wp-block-gallery.nl-bilderfolge > .wp-block-image:nth-child(3n+2):last-child { grid-column: 2 / span 12; height: clamp(300px, 44vw, 640px); }
.wp-block-gallery.nl-bilderfolge > .wp-block-image.ist-klein img { object-fit: contain; background: #000; }
.wp-block-gallery.nl-bilderfolge figcaption { display: none; }
@media (max-width: 760px) {
  .wp-block-gallery.nl-bilderfolge { grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter); gap: 12px 0 !important; }
  .wp-block-gallery.nl-bilderfolge > .wp-block-image,
  .wp-block-gallery.nl-bilderfolge > .wp-block-image:nth-child(n) { grid-column: 2; height: 66vw; }
  .wp-block-gallery.nl-bilderfolge > .wp-block-image:nth-child(3n+1) { grid-column: 1 / -1; height: 72vw; }
}
.nl-bilder { padding-block: 0 var(--wp--preset--spacing--40); }
.nl-bildnachweis { margin-top: 16px !important; font-size: 14px; color: var(--text-3); }
.nl-bildnachweis a { color: var(--text-2); }

/* Präsenzmelder auch für Bilder aus Kernblöcken (Galerie, Bild) */
.js .nl-bilderfolge > .wp-block-image img, .js .nl-bild-licht img {
  filter: brightness(.1) saturate(.35); transform: scale(1.035);
  transition: filter 1.8s var(--ease-licht), transform 2.4s var(--ease-licht); transition-delay: var(--verz, 0s);
}
.js .nl-bilderfolge > .wp-block-image.ist-an img, .js .nl-bild-licht.ist-an img { filter: brightness(.92) saturate(1); transform: scale(1); }
.nl-bilderfolge > .wp-block-image::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .07); pointer-events: none; }
.nl-bilderfolge > .wp-block-image:nth-child(3n+1)::after { display: none; }

/* Leistungen */
.nl-leistung { position: relative; border-top: 1px solid var(--linie); scroll-margin-top: var(--kopf); }
.nl-leistung__bild { height: clamp(300px, 46vw, 640px); }
.nl-leistung__bild::after { display: none; }
.nl-leistung__raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(40px, 7vw, 120px); align-items: start; padding-block: var(--wp--preset--spacing--50); }
.nl-leistung__nr { display: block; font-size: 14px; color: var(--text-3); font-variant-numeric: tabular-nums; margin-bottom: 18px; transition: color .6s; }
.nl-leistung__name { color: var(--text-aus); transition: color .9s var(--ease-licht); max-width: 14ch; }
.nl-leistung__satz { margin-top: 20px; color: var(--text-3); transition: color .9s var(--ease-licht) .15s; }
.nl-leistung__punkte { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--linie); }
.nl-leistung__punkte li { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--linie); font-size: 17px; color: var(--text-3); transition: color .5s calc(.25s + var(--i, 0) * .09s); }
.nl-leistung__punkte li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #2c2c30; transition: background .4s calc(.25s + var(--i, 0) * .09s), box-shadow .5s calc(.25s + var(--i, 0) * .09s); }
.nl-leistung__raster.ist-an .nl-leistung__name, .no-js .nl-leistung__name { color: var(--text); }
.nl-leistung__raster.ist-an .nl-leistung__nr { color: var(--licht); }
.nl-leistung__raster.ist-an .nl-leistung__satz { color: var(--text-2); }
.nl-leistung__raster.ist-an .nl-leistung__punkte li { color: var(--text); }
.nl-leistung__raster.ist-an .nl-leistung__punkte li::before { background: var(--licht); box-shadow: 0 0 10px 1px rgb(var(--glut) / .55); }
.nl-anker { position: absolute; top: 0; }
@media (max-width: 900px) { .nl-leistung__raster { grid-template-columns: 1fr; } }
.nl-leistungen-einstieg .zweispaltig .t-text { font-size: 19px; }
.is-style-leuchten { list-style: none; padding: 0; margin: 0; }
.is-style-leuchten li { position: relative; padding: 6px 0 6px 22px; color: var(--text); }
.is-style-leuchten li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 6px; height: 6px; border-radius: 50%; background: var(--licht); box-shadow: 0 0 10px 1px rgb(var(--glut) / .55); }

/* Unternehmen: Empfehlungen, Team */
.nl-empfehlungen { list-style: none; margin: var(--wp--preset--spacing--40) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.empfehlung + .empfehlung { border-left: 1px solid var(--linie); }
.empfehlung > a, .empfehlung > span { position: relative; display: grid; place-items: center; height: clamp(120px, 13vw, 180px); padding: 24px; text-decoration: none; }
.empfehlung img { width: auto; max-width: min(200px, 80%); height: auto; filter: invert(1) grayscale(1) brightness(.82); opacity: .8; transition: opacity .4s, filter .4s; }
.empfehlung a:hover img, .empfehlung a:focus-visible img { opacity: 1; filter: invert(1) grayscale(1) brightness(1); }
.empfehlung__hinweis { position: absolute; right: 14px; bottom: 12px; font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--text-3); transition: color .3s; }
.empfehlung a:hover .empfehlung__hinweis { color: var(--licht); }
@media (max-width: 760px) {
  .nl-empfehlungen { grid-template-columns: 1fr 1fr; }
  .empfehlung:nth-child(odd) { border-left: 0; }
  .empfehlung:nth-child(n+3) { border-top: 1px solid var(--linie); }
}
.nl-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 24px; margin-top: var(--wp--preset--spacing--40); }
.person { display: block; text-decoration: none; color: inherit; min-width: 0; }
.person .bild { aspect-ratio: 1; height: auto; }
.person .bild img { height: 100%; }
.person__name { display: block; margin-top: 16px; font-size: 18px; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.person__funktion { display: block; margin-top: 2px; font-size: 14px; color: var(--text-3); }
@media (max-width: 1100px) { .nl-team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .nl-team { grid-template-columns: 1fr 1fr; gap: 32px 14px; } .person__name { font-size: 16px; } }
.nl-team-text .zweispaltig { margin-top: 28px; }
.nl-team-abschnitt + .nl-team-abschnitt { margin-top: var(--wp--preset--spacing--60); }

/* Teamseite */
.nl-person__raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 7vw, 120px); align-items: end; }
.nl-person__foto { aspect-ratio: 1; height: auto; max-width: 520px; }
.nl-person__foto img { height: 100%; }
.nl-person__text > * { margin: 0; }
.nl-person__funktion { margin-top: 18px !important; color: var(--text-2); }
.nl-person__mail { margin-top: 36px !important; }
.nl-person__text .textlink { margin-top: 40px; }
@media (max-width: 900px) { .nl-person__raster { grid-template-columns: 1fr; } }

/* Karriere: Stellen mit Aufklapper (Kernblock Details) */
.nl-stellen-einstieg .t-text { font-style: normal; }
.nl-stellen-einstieg em { font-style: normal; }
.nl-stelle { padding-block: var(--wp--preset--spacing--40); border-top: 1px solid var(--linie); }
.nl-stelle:last-child { border-bottom: 1px solid var(--linie); }
.nl-stelle > * { margin-block: 0; }
.nl-stelle .wp-block-heading { max-width: 30ch; }
.nl-stelle__nr { font-size: 14px; color: var(--licht); font-variant-numeric: tabular-nums; margin-bottom: 14px !important; }
.wp-block-details.nl-aufklapper { margin-top: 28px; }
.nl-aufklapper summary {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 20px 0 16px; border: 1px solid var(--linie-2); border-radius: 999px;
  cursor: pointer; list-style: none; font-weight: 500; font-size: 15px; transition: border-color .3s, background .3s;
}
.nl-aufklapper summary::-webkit-details-marker { display: none; }
.nl-aufklapper summary::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3a3a3e; transition: background .4s, box-shadow .5s; }
.nl-aufklapper summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .35s var(--ease-licht); margin-left: 2px; }
.nl-aufklapper summary:hover { border-color: rgba(255, 255, 255, .45); }
.nl-aufklapper[open] summary { background: var(--nacht-2); }
.nl-aufklapper[open] summary::before { background: var(--licht); box-shadow: 0 0 0 3px rgb(var(--glut) / .14), 0 0 12px 2px rgb(var(--glut) / .7); }
.nl-aufklapper[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.nl-aufklapper > :not(summary) { margin-block: 0; }
.nl-aufklapper[open] > summary + * { margin-top: 36px; }
.nl-aufklapper p { color: var(--text); margin-top: 32px !important; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.nl-aufklapper p:first-of-type { margin-top: 36px !important; }
.nl-aufklapper ul { list-style: none; margin: 12px 0 0; padding: 0; max-width: 46em; border-top: 1px solid var(--linie); }
.nl-aufklapper li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid var(--linie); color: var(--text-2); }
.nl-aufklapper li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 5px; height: 5px; border-radius: 50%; background: var(--licht); box-shadow: 0 0 8px rgb(var(--glut) / .55); }
.nl-aufruf__zeile { margin-top: 28px !important; color: var(--text-3) !important; font-variant-numeric: tabular-nums; }

/* Lesetexte: Impressum, Datenschutz, Demo-Seiten */
.nl-lesetext { max-width: 46em; }
.nl-lesetext > * { margin-block: 0; }
.nl-lesetext > * + * { margin-top: 1.05em; }
.nl-lesetext p, .nl-lesetext li, .nl-lesetext td { color: var(--text-2); }
.nl-lesetext strong { color: var(--text); font-weight: 600; }
.nl-lesetext a { color: var(--text); text-decoration-color: var(--linie-2); text-underline-offset: 3px; overflow-wrap: anywhere; }
.nl-lesetext a:hover { text-decoration-color: var(--licht); }
.nl-lesetext h2 { margin-top: var(--wp--preset--spacing--50); font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--text); }
.nl-lesetext h3 { margin-top: 2em; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.nl-lesetext h3 + * { margin-top: .6em; }
.nl-lesetext ul { padding-left: 1.2em; }
.nl-lesetext li + li { margin-top: .35em; }
.nl-lesetext li::marker { color: var(--licht); }
.nl-angaben { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: var(--wp--preset--spacing--50); border-bottom: 1px solid var(--linie); }
.nl-angaben > * { margin: 0; }
.nl-angaben p { color: var(--text-2); margin: 0; }
.nl-angaben p + p { margin-top: 1em; }
.nl-angaben strong { display: block; color: var(--text-3); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.nl-angaben.zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: var(--wp--preset--spacing--50); }
@media (max-width: 900px) { .nl-angaben, .nl-angaben.zwei { grid-template-columns: 1fr; } }
.nl-lesetext .wp-block-table, .nl-angaben .wp-block-table { margin: 0; }
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table td { padding: 6px 16px 6px 0; vertical-align: top; color: var(--text-2); border: 0; }
.wp-block-table td:first-child { color: var(--text-3); white-space: nowrap; }
.nl-text { padding-top: var(--wp--preset--spacing--40); }

/* Kontakt: Formular von Contact Form 7 im Stil B */
.kontakt > * { margin: 0; }
.direkt > * { margin: 0; }
.direkt .direkt__label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin: 0 0 10px; line-height: 1.6; }
.direkt p { margin: 0; }
.direkt .direkt__gross a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s; }
.direkt .direkt__gross a:hover { border-color: var(--licht); }
p.direkt__gross { display: block; }
.direkt__neben > * { margin: 0; }
.wpcf7 { margin: 0; }
.wpcf7 form .formular { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; }
.wpcf7 .feld .wpcf7-form-control-wrap { display: block; }
.wpcf7 .feld input, .wpcf7 .feld textarea { width: 100%; display: block; padding: 6px 0 14px; margin: 0; background: transparent; border: 0; border-bottom: 1px solid var(--linie-2); border-radius: 0; color: var(--text); font: inherit; font-size: 19px; letter-spacing: -.01em; outline: none; resize: vertical; }
.wpcf7 .feld textarea { min-height: 148px; height: 148px; line-height: 1.5; }
.wpcf7 .feld:focus-within .feld__licht { transform: scaleX(1); }
.wpcf7 .feld input:focus-visible, .wpcf7 .feld textarea:focus-visible { outline: none; }
.wpcf7 .feld:focus-within label { color: var(--text-2); }
.wpcf7 .einwilligung { grid-column: 1 / -1; font-size: 15px; color: var(--text-2); }
.wpcf7 .einwilligung .wpcf7-list-item { margin: 0; }
.wpcf7 .einwilligung label { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.wpcf7 .einwilligung input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 2px 0 0; border: 1px solid var(--linie-2); border-radius: 5px; background: transparent; cursor: pointer; display: grid; place-items: center; transition: border-color .3s, background .3s; }
.wpcf7 .einwilligung input::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--licht); box-shadow: 0 0 10px 2px rgb(var(--glut) / .6); transform: scale(0); transition: transform .3s var(--ease-licht); }
.wpcf7 .einwilligung input:checked { border-color: var(--licht); }
.wpcf7 .einwilligung input:checked::after { transform: scale(1); }
.wpcf7 .einwilligung input:focus-visible { outline: 2px solid var(--licht); outline-offset: 3px; }
.wpcf7 .einwilligung a { color: var(--text); }
.wpcf7 .formular__fuss { grid-column: 1 / -1; position: relative; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.wpcf7 .formular__fuss .knopf-led { position: absolute; left: 24px; top: 24px; margin-top: -3.5px; width: 7px; height: 7px; border-radius: 50%; background: #3a3a3e; pointer-events: none; z-index: 1; transition: background .4s, box-shadow .6s; }
.wpcf7 .formular.ist-bereit .knopf-led { background: var(--licht); box-shadow: 0 0 0 3px rgb(var(--glut) / .14), 0 0 12px 2px rgb(var(--glut) / .7); }
.wpcf7 input.wpcf7-submit { min-height: 48px; padding: 0 24px 0 44px; border-radius: 999px; border: 1px solid var(--text); background: var(--text); color: #000; font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; transition: background .3s, box-shadow .4s, opacity .3s; }
.wpcf7 input.wpcf7-submit:hover:not(:disabled) { background: #fff; box-shadow: 0 0 0 1px #fff, 0 10px 50px -6px rgb(var(--glut) / .55); }
.wpcf7 input.wpcf7-submit:disabled { opacity: .45; cursor: not-allowed; }
.wpcf7 .wpcf7-spinner { margin: 0; background: var(--licht); }
.wpcf7 .wpcf7-not-valid-tip { display: block; margin-top: 8px; color: var(--licht); font-size: 14px; }
/* Hinweise verschieben nichts: sonst rutscht der Knopf weg, wenn beim Klick auf „Absenden“ das letzte Feld geprüft wird */
.wpcf7 .feld .wpcf7-form-control-wrap, .wpcf7 .einwilligung .wpcf7-form-control-wrap { position: relative; display: block; }
.wpcf7 .feld .wpcf7-not-valid-tip, .wpcf7 .einwilligung .wpcf7-not-valid-tip { position: absolute; left: 0; top: 100%; margin-top: 6px; font-size: 13px; line-height: 1.3; white-space: nowrap; }
.wpcf7 .feld .wpcf7-not-valid { border-bottom-color: var(--licht); }
.wpcf7 form .wpcf7-response-output { margin: 28px 0 0; padding: 14px 18px; border: 1px solid var(--linie-2); border-radius: 12px; color: var(--text-2); font-size: 15px; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: rgb(var(--glut) / .6); }
.wpcf7 form.sent .wpcf7-response-output { border-color: rgba(255, 255, 255, .45); color: var(--text); }
.wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 900px) { .wpcf7 form .formular { grid-template-columns: 1fr; } }
.karte__innen { display: block; }
.nl-karte { position: relative; }

/* Suche und Archive */
.nl-suchfeld { margin-top: 36px; max-width: 640px; }
.nl-suchfeld .wp-block-search__inside-wrapper { display: flex; gap: 16px; align-items: center; border: 0; padding: 0; }
.nl-suchfeld .wp-block-search__button { flex: none; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--linie-2); background: transparent; color: var(--text); font: inherit; font-weight: 500; cursor: pointer; margin: 0; }
.nl-suchfeld .wp-block-search__button:hover { border-color: rgba(255, 255, 255, .45); }
.nl-treffer__liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.nl-treffer__liste > li { padding: 28px 0; border-bottom: 1px solid var(--linie); margin: 0; }
.nl-treffer__titel { margin: 0; font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.025em; }
.nl-treffer__titel a { text-decoration: none; }
.nl-treffer__titel a:hover { color: var(--licht); }
.nl-treffer__auszug { margin-top: 8px; color: var(--text-2); max-width: 46em; }
.nl-treffer__auszug p { margin: 0; }
.wp-block-post-excerpt__more-link { display: none; }
.nl-seiten { margin-top: 40px; display: flex; gap: 16px; color: var(--text-2); }
.nl-seiten a { color: var(--text); }
.wp-block-query-title { max-width: 20ch; }
.nl-404__zahl { color: var(--text-aus); }
.nl-404 .t-l { margin-top: 24px; }
.nl-knoepfe { margin-top: 44px; }


/* Nachträge nach der ersten Sichtprüfung */
.zweispaltig > *, .kontakt > *, .nl-angaben > * > *:first-child { margin-top: 0; }
.zweispaltig > * { margin: 0; }
.nl-zwei-texte .t-text { font-size: 17px; }
.direkt p.direkt__gross { display: block; font-size: clamp(28px, 2.8vw, 40px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; }
.nl-kontaktwege { padding-top: var(--wp--preset--spacing--40); }
.nl-phasen--oben { margin-top: 0 !important; margin-bottom: var(--wp--preset--spacing--50) !important; }
.nl-leistung__bild { position: relative; }
.nl-leistung__bild::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 70%, #000 100%); }
.wp-block-gallery.nl-bilderfolge > .wp-block-image:nth-child(3n+1):not(.ist-klein) { height: auto; }
.wp-block-gallery.nl-bilderfolge > .wp-block-image:nth-child(3n+1):not(.ist-klein) img { height: auto !important; max-height: 86vh; }
/* Vorschaubilder (unter 900 px): nie über die Fläche aufblasen, ganz zeigen, auf Schwarz.
   Der Kern beschneidet Galeriebilder mit einer ID-Regel (:not(#individual-image)), daher !important. */
.wp-block-gallery.nl-bilderfolge > .wp-block-image.ist-klein { height: clamp(260px, 34vw, 520px); background: #000; }
.wp-block-gallery.nl-bilderfolge > .wp-block-image.ist-klein:nth-child(3n+1) { grid-column: 2 / span 12; }
.wp-block-gallery.nl-bilderfolge > .wp-block-image.ist-klein img { object-fit: contain !important; height: 100% !important; }
.wp-block-gallery.nl-bilderfolge > .wp-block-image.ist-klein::after { display: none; }
@media (max-width: 760px) { .wp-block-gallery.nl-bilderfolge > .wp-block-image.ist-klein, .wp-block-gallery.nl-bilderfolge > .wp-block-image.ist-klein:nth-child(n) { grid-column: 2; height: 76vw; } }
.nl-ohne-oben { padding-top: 0; }
#empfehlungen.abschnitt--eng { padding-top: var(--wp--preset--spacing--30); }
.wp-block-table td { padding: 3px 18px 3px 0; }
.nl-liste-titel { margin: 0 0 14px !important; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.nl-liste-titel ~ .nl-liste-titel { margin-top: 36px !important; }
.nl-platzhalter-text { margin-top: 32px !important; color: var(--text-2); }
.nl-nachweis { padding-block: 0 var(--wp--preset--spacing--40); }
@media (max-width: 900px) { .nl-galerie .kachel.g-4 { grid-column: auto; --h: 62vw; } }
/* Lange Wörter am Handy: Überschriften werden nie getrennt. Bricht ein Wort nicht nach „-“ oder „/“ um und passt es nicht
   in die Zeile, verkleinert das Skript nur diese Überschrift (titelEinpassen). overflow-wrap greift nur ohne Skript. */
@media (max-width: 760px) {
  .nl-leistung__name, .t-xl, .t-mega { -webkit-hyphens: manual; hyphens: manual; overflow-wrap: break-word; }
  .nl-leistung__name { font-size: clamp(28px, 8.2vw, 46px); }
}
.nl-stellen-einstieg { padding-top: 32px; }


/* ═════════════ Nachtrag nach der Prüfung ═════════════ */
/* Flutlicht in Zahlen: Textblock nicht verschieben (die Prototyp-Regel setzt bottom für eine absolute Lage), Zahlen mit Abstand wie im Prototyp */
.nl-flutlicht__text { inset: auto; }
.nl-flutlicht__text > .nl-zahlen { margin-top: var(--wp--preset--spacing--60); }
/* Gewerke-Tafel: Überschriften nie trennen; sechs Spalten erst, wenn „Informationstechnik“ hineinpasst */
.gewerk h3 { white-space: nowrap; -webkit-hyphens: none; hyphens: none; }
@media (min-width: 1101px) and (max-width: 1399px) {
  .gewerke { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gewerk:nth-child(3n+1) { padding-left: 0; border-left: 0; }
  .gewerk:nth-child(n+4) { border-top: 1px solid var(--linie); }
}
@media (max-width: 600px) {
  .gewerk h3 { font-size: clamp(12.5px, 3.55vw, 15px); gap: 7px; }
  .gewerk h3 i { width: 6px; height: 6px; }
  .gewerk, .gewerk:nth-child(3n+1) { padding-right: 8px; }
  .gewerk:nth-child(even) { padding-left: 14px; }
}
/* Kopf wie im Prototyp: Menü rechtsbündig, „Kontakt“ schließt am rechten Rand ab; die Lupe steht vor dem Menü,
   auch im Quelltext (Tab-Reihenfolge = sichtbare Reihenfolge) */
.nl-kopf__innen { justify-content: flex-start; }
.nl-kopf__rechts { margin-left: auto; }
@media (min-width: 901px) {
  .nl-kopf__rechts { display: none; }
  .nl-suchknopf { margin-left: auto; margin-right: clamp(10px, 1.4vw, 22px); }
}
/* Projektfilter: am Rand ausblenden, wo die Reihe weiterläuft */
.nl-filter ul { scroll-behavior: smooth; }
.nl-filter.kann-rechts ul { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); }
.nl-filter.kann-links ul { -webkit-mask-image: linear-gradient(to right, transparent, #000 56px); mask-image: linear-gradient(to right, transparent, #000 56px); }
.nl-filter.kann-links.kann-rechts ul { -webkit-mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
/* Kopfbild einer Seite (Bild aus Stufe 1): ganz breit unter dem Seitenkopf, tritt aus dem Dunkel */
.wp-block-image.nl-kopfbild { position: relative; margin: 0; height: clamp(260px, 38vw, 540px); overflow: hidden; background: #000; }
.wp-block-image.nl-kopfbild img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.wp-block-image.nl-kopfbild::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 0) 66%, #000 100%); }
.js .wp-block-image.nl-kopfbild img { filter: brightness(.1) saturate(.35); transform: scale(1.035); transition: filter 1.8s var(--ease-licht), transform 2.4s var(--ease-licht); }
.js .wp-block-image.nl-kopfbild.ist-an img { filter: brightness(.86) saturate(.9); transform: scale(1); }
.nl-kopfbild + * { margin-top: 0; }
.wp-block-image.nl-kopfbild + .abschnitt, .wp-block-image.nl-kopfbild + .nl-text { padding-top: var(--wp--preset--spacing--50); }
/* Formular: Hinweise mit Luft zum nächsten Feld, Fokus als 2 px Lichtlinie */
.wpcf7 form .formular { row-gap: 42px; }
.wpcf7 .feld .wpcf7-not-valid-tip { margin-top: 5px; }
.wpcf7 .feld__licht { height: 2px; bottom: -.5px; }

/* ───────────── Prüfschnittstelle ?alles-an: Endzustand ohne Übergang (für Ganzseiten-Fotos) ───────────── */
.alles-an *, .alles-an *::before, .alles-an *::after { transition-duration: 0s !important; transition-delay: 0s !important; }
.alles-an .nl-szene::after { animation: none; opacity: .1; }
.alles-an .nl-szene__video { display: none; }

/* ───────────── Weniger Bewegung ───────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .nl-szene, .nl-flutlicht__bild img, .js .nl-projektbuehne .bild img { -webkit-mask-image: none; mask-image: none; }
  .nl-szene img, .js [data-licht].bild img, .js [data-licht] .bild img, .js .nl-bilderfolge > .wp-block-image img, .js .wp-block-image.nl-kopfbild img { transform: none; }
  .nl-szene__video { display: none; }
}

/* ═════════════ Verdichtung (26.10.): Abstände nur über die Tokens aus theme.json (--wp--preset--spacing--10 … 70) ═════════════ */
/* Leitsatz: Etikett über dem Zitat, das Zitat nutzt die Breite. Keine Spalte, die nur ein Etikett trägt. */
.nl-zitat .nl-intro__raster { grid-template-columns: minmax(0, 1fr); gap: var(--wp--preset--spacing--30); }
.nl-zitat .nl-intro__raster .t-kicker { margin-top: 0; }
.nl-zitat .nl-intro__raster blockquote p, .nl-zitat .nl-intro__raster .wp-block-quote p { max-width: 26ch; }
.nl-zitat footer, .nl-zitat cite { margin-top: var(--wp--preset--spacing--30); }
/* Unternehmen: Leitsatz direkt unter dem Seitenkopf, die Texte daneben */
.nl-leitsatz-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--wp--preset--spacing--40) clamp(40px, 7vw, 120px); align-items: start; }
.nl-leitsatz { display: grid; gap: var(--wp--preset--spacing--30); }
.nl-leitsatz .t-kicker { margin: 0; }
.nl-zitat--neben .wp-block-quote p, .nl-zitat--neben blockquote p { max-width: 16ch; font-size: clamp(30px, 3.1vw, 46px); line-height: 1.1; }
.nl-leitsatz__texte { padding-top: calc(var(--wp--preset--spacing--30) + 1.4em); }
.nl-leitsatz__texte .t-text { font-size: 18px; margin: 0; }
.nl-leitsatz__texte .t-text + .t-text { margin-top: 1.1em; }
@media (max-width: 900px) { .nl-leitsatz-raster { grid-template-columns: minmax(0, 1fr); } .nl-leitsatz__texte { padding-top: 0; } }
/* Lesetext: die erste Überschrift steht oben, ohne eigenen Vorlauf */
.nl-lesetext > h2:first-child, .nl-lesetext > h3:first-child { margin-top: 0; }
/* Suche: Treffer direkt unter dem Suchfeld */
.nl-treffer__liste > li { padding: var(--wp--preset--spacing--30) 0; }
/* Projekt mit kleinem Bild am Handy: Bild und Titel untereinander statt über die ganze Schirmhöhe verteilt */
@media (max-width: 760px) {
  .nl-projektbuehne.ist-klein { height: auto; min-height: 0; padding-top: calc(var(--kopf) + var(--wp--preset--spacing--40)); }
  .nl-projektbuehne.ist-klein .bild { position: relative; inset: auto; height: auto; padding-inline: var(--gutter); }
  .nl-projektbuehne.ist-klein .bild img { position: relative; inset: auto; left: auto; right: auto; top: auto; width: 100% !important; height: auto !important; max-width: 100%; max-height: none; margin: 0; }
  .nl-projektbuehne.ist-klein .nl-projektbuehne__text { position: relative; bottom: auto; padding-block: var(--wp--preset--spacing--40); }
  .nl-projektbuehne.ist-klein::after { display: none; }
}
/* Projekttext: der erste Absatz steht bündig, der Abstand zur Überschrift kommt nur aus dem Raster */
.nl-projekt__text > :first-child { margin-top: 0 !important; }
/* Claim der Bühne: klein und ruhig, das Bild trägt. Desktop eine Zeile, iPhone höchstens zwei. Text pflegbar im Block „Bühne“ (Überschrift). */
.nl-buehne h1.nl-buehne__claim { max-width: none; margin: 0; font-size: clamp(34px, 4.2vw, 60px); font-weight: 600; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
/* Claim und Projektzeile als eine Spalte am unteren Rand: der Abstand dazwischen ist ein Token, egal wie viele Zeilen die Projektzeile hat */
.nl-buehne__unten { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(28px, 4.5vh, 44px); display: flex; flex-direction: column; gap: var(--wp--preset--spacing--50); pointer-events: none; }
.nl-buehne__unten > * { pointer-events: auto; }
.nl-buehne .nl-buehne__unten .nl-buehne__inhalt, .nl-buehne .nl-buehne__unten .nl-buehne__steuerung { position: relative; left: auto; right: auto; bottom: auto; }
/* Handy: Projektzeile immer zwei Zeilen hoch, damit der Claim beim Szenenwechsel nicht springt */
@media (max-width: 900px) { .nl-buehne .nl-buehne__titel { min-height: 62px; } }

/* ═════════════ Datengrafik der Projekte (Block ibg/datengrafik, Zahlen aus den Projektdaten) ═════════════ */
/* Gleiche Sprache wie „Flutlicht in Zahlen“: dunkle Form, die beim Hineinscrollen einmal angeht. */
.nl-grafik { margin-top: var(--wp--preset--spacing--50); padding-top: var(--wp--preset--spacing--40); border-top: 1px solid var(--linie); }
.nl-grafik__kopf { display: grid; gap: var(--wp--preset--spacing--10); margin-bottom: var(--wp--preset--spacing--40); }
.nl-grafik__kopf .t-kicker, .nl-grafik__kopf .t-l { margin: 0; }
.nl-grafik__fuss { margin: var(--wp--preset--spacing--30) 0 0; color: var(--text-3); font-size: 13px; line-height: 1.5; max-width: 60em; }
.nl-grafik strong { font-variant-numeric: tabular-nums; }
.nl-grafik > .nl-zahlen { margin-top: 0; }

/* Mengen: Balken im Verhältnis zur Summe, die Summe als ein Band aus den Teilen */
.nl-mengen { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--wp--preset--spacing--30); }
.nl-mengen li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(7.5em, auto); gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40); align-items: center; }
.nl-mengen__name { color: var(--text-2); font-size: 15px; line-height: 1.35; }
.nl-mengen strong { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.03em; text-align: right; white-space: nowrap; }
.nl-mengen__spur { position: relative; display: block; height: 14px; background: var(--nacht-2); border-radius: 2px; overflow: hidden; }
.nl-mengen__spur i { position: absolute; top: 0; bottom: 0; left: 0; width: calc(var(--anteil) * 100%); background: #2c2c31; transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-licht), background .5s, box-shadow .5s; transition-delay: calc(.2s + var(--i, 0) * .35s); }
.nl-mengen .ist-summe { padding-top: var(--wp--preset--spacing--30); border-top: 1px solid var(--linie); }
.nl-mengen .ist-summe .nl-mengen__name { color: var(--text); font-weight: 500; }
.nl-mengen .ist-summe .nl-mengen__spur i { left: calc(var(--links) * 100%); border-left: 2px solid #000; }
.nl-mengen .ist-summe .nl-mengen__spur i:first-child { border-left: 0; }
.ist-an .nl-mengen__spur i { transform: scaleX(1); background: linear-gradient(90deg, rgb(var(--glut) / .55), var(--licht) 70%, rgb(var(--warm))); box-shadow: 0 0 14px rgb(var(--glut) / .45); }
.ist-an .nl-mengen .ist-summe .nl-mengen__spur i { transition-delay: calc(1.4s + var(--i, 0) * .3s); }
@media (max-width: 760px) {
  .nl-mengen li { grid-template-columns: minmax(0, 1fr) auto; }
  .nl-mengen__name { grid-column: 1 / -1; }
}

/* Punkte: ein Punkt je Person, alle Felder gleich breit und damit im selben Maßstab, unten bündig */
.nl-punkte { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 420px)); gap: var(--wp--preset--spacing--40) clamp(32px, 5vw, 80px); align-items: end; }
.nl-punkte__feld { margin: 0; display: grid; gap: var(--wp--preset--spacing--30); }
.nl-punkte__feld svg { display: block; width: 100%; height: auto; overflow: visible; }
.nl-punkte__feld circle { fill: #2a2a2e; transition: fill .35s; transition-delay: var(--d, 0s); }
.ist-an .nl-punkte__feld circle { fill: #fff1e2; }
.ist-an .nl-punkte__feld g { filter: drop-shadow(0 0 3px rgb(var(--glut) / .55)); transition: filter 1s 1s; }
.nl-punkte__feld strong { display: block; font-size: clamp(40px, 4.4vw, 64px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.nl-punkte__feld span { display: block; margin-top: 10px; color: var(--text-2); font-size: 15px; line-height: 1.4; }
@media (max-width: 600px) { .nl-punkte { grid-template-columns: minmax(0, 1fr); } }

/* Schanzen: Profile in einem gemeinsamen Maßstab, Linie zeichnet sich, dann der Flug, dann der Landepunkt */
.nl-schanzen svg { display: block; width: 100%; height: auto; overflow: visible; }
.nl-schanze__boden { stroke: var(--linie-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.nl-schanze__turm { fill: none; stroke: #3c3c41; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 3000; stroke-dashoffset: 3000; transition: stroke-dashoffset .8s var(--ease-licht); transition-delay: calc(.1s + var(--i, 0) * .5s); }
.nl-schanze__linie { fill: none; stroke: #5a5a60; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 3000; stroke-dashoffset: 3000; transition: stroke-dashoffset 1.6s cubic-bezier(.5, 0, .2, 1), stroke .6s; transition-delay: calc(.2s + var(--i, 0) * .5s); }
.nl-schanze__flug { fill: none; stroke: rgb(var(--glut) / .8); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 2 5; stroke-dashoffset: 0; opacity: 0; transition: opacity .8s; transition-delay: calc(1.6s + var(--i, 0) * .5s); }
.nl-schanze__punkt { fill: #2c2c31; transition: fill .4s; transition-delay: calc(2.1s + var(--i, 0) * .5s); }
.nl-schanze__halo { fill: rgb(var(--glut) / .28); opacity: 0; transition: opacity .6s; transition-delay: calc(2.1s + var(--i, 0) * .5s); filter: blur(4px); }
.nl-schanze__klein { fill: #2c2c31; transition: fill .4s; transition-delay: calc(1.2s + var(--i, 0) * .25s); }
.ist-an .nl-schanze__turm, .ist-an .nl-schanze__linie { stroke-dashoffset: 0; }
.ist-an .nl-schanze__linie { stroke: #8e8e94; }
.ist-an .nl-schanze__flug, .ist-an .nl-schanze__halo { opacity: 1; }
.ist-an .nl-schanze__punkt, .ist-an .nl-schanze__klein { fill: #fff4e8; }
.nl-schanzen__namen { list-style: none; margin: var(--wp--preset--spacing--30) 0 0; padding: 0; display: grid; align-items: start; }
.nl-schanzen__namen li strong { display: block; font-size: clamp(26px, 3vw, 44px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.nl-schanzen__namen li span { display: block; margin-top: 8px; color: var(--text-2); font-size: 15px; line-height: 1.35; }
.nl-schanzen__namen li.ohne-mass strong { color: var(--text-2); }
@media (max-width: 760px) {
  .nl-schanzen__namen { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: var(--wp--preset--spacing--30); }
  .nl-schanzen__namen .luecke { display: none; }
  .nl-schanzen__namen li span { font-size: 14px; }
}

/* Zeitleiste: Achse im Maßstab der Jahre; das Licht läuft vom ersten bis zum letzten Datum */
.nl-zeit { position: relative; padding-top: 34px; }
.nl-zeit__achse { position: relative; height: 1px; background: var(--linie-2); }
.nl-zeit__achse i { position: absolute; left: calc(var(--pos) * 100%); top: -4px; width: 1px; height: 9px; background: var(--linie-2); }
.nl-zeit__achse i.gross { top: -8px; height: 17px; }
.nl-zeit__achse b { position: absolute; bottom: 22px; left: 0; transform: translateX(-50%); color: var(--text-3); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.nl-zeit__licht { position: absolute; left: calc(var(--start) * 100%); width: calc((var(--ende) - var(--start)) * 100%); top: -1px; height: 3px; background: linear-gradient(90deg, rgb(var(--glut) / .5), var(--licht) 70%, rgb(var(--warm))); box-shadow: 0 0 12px rgb(var(--glut) / .6); transform: scaleX(0); transform-origin: left; transition: transform 2.2s cubic-bezier(.5, 0, .2, 1) .3s; }
.ist-an .nl-zeit__licht { transform: scaleX(1); }
.nl-zeit__punkte { position: relative; list-style: none; margin: 0; padding: 0; height: 6.6em; }
.nl-zeit__punkte li { position: absolute; top: 0; left: calc(var(--pos) * 100%); width: min(15em, 32%); transform: translateX(-50%); padding-top: 24px; text-align: center; }
.nl-zeit__punkte li:first-child { transform: none; text-align: left; }
.nl-zeit__punkte li:last-child { transform: translateX(-100%); text-align: right; }
.nl-zeit__punkte li::before { content: ""; position: absolute; top: -6px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: #2c2c31; box-shadow: 0 0 0 3px #000; transition: background .4s, box-shadow .4s; transition-delay: calc(.3s + var(--pos) * 2.2s); }
.nl-zeit__punkte li:first-child::before { left: 0; margin-left: -5.5px; }
.nl-zeit__punkte li:last-child::before { left: auto; right: 0; margin: 0 -5.5px 0 0; }
.ist-an .nl-zeit__punkte li::before { background: #fff4e8; box-shadow: 0 0 0 3px #000, 0 0 16px 3px rgb(var(--glut) / .65); }
.nl-zeit__punkte strong { display: block; font-size: clamp(26px, 2.8vw, 40px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.nl-zeit__punkte span { display: block; margin-top: 8px; color: var(--text-2); font-size: 15px; line-height: 1.35; }
@media (max-width: 760px) {
  /* Am Handy senkrecht: gleiche Achse, Jahre von oben nach unten, jede Bezeichnung beginnt an ihrem Jahr */
  .nl-zeit { --h-zeit: 280px; padding: 0 0 0 52px; }
  .nl-zeit__achse { position: absolute; left: 18px; top: 0; width: 1px; height: var(--h-zeit); }
  .nl-zeit__achse i, .nl-zeit__achse i.gross { left: -4px; top: calc(var(--pos) * 100%); width: 9px; height: 1px; }
  .nl-zeit__achse i.gross { left: -8px; width: 17px; }
  .nl-zeit__achse b { display: none; }
  .nl-zeit__licht { left: -1px; width: 3px; top: calc(var(--start) * 100%); height: calc((var(--ende) - var(--start)) * 100%); transform: scaleY(0); transform-origin: top; }
  .ist-an .nl-zeit__licht { transform: scaleY(1); }
  .nl-zeit__punkte { height: var(--h-zeit); margin-bottom: 4.6em; }
  .nl-zeit__punkte li, .nl-zeit__punkte li:first-child, .nl-zeit__punkte li:last-child { left: 0; top: calc(var(--pos) * 100%); width: 100%; transform: translateY(-.62em); text-align: left; padding: 0; }
  .nl-zeit__punkte li::before, .nl-zeit__punkte li:first-child::before, .nl-zeit__punkte li:last-child::before { left: -39px; right: auto; top: .62em; margin: -5.5px 0 0 0; }
}
/* Gewerke-Tafel unter 360 px (z. B. 320 px): eine Spalte, damit „Informationstechnik“ ganz und ungetrennt steht */
@media (max-width: 359px) {
  .gewerke { grid-template-columns: minmax(0, 1fr) !important; }
  .gewerk, .gewerk:nth-child(n), .gewerk:nth-child(even), .gewerk:nth-child(odd), .gewerk:nth-child(3n+1) { padding: 18px 0 14px; border-left: 0; }
  .gewerk:nth-child(n+2) { border-top: 1px solid var(--linie); }
  .gewerk h3 { font-size: 15px; }
}
/* Zwei Textspalten (Unternehmen, Team-Einleitung): oben bündig; untereinander am Handy 20 px Abstand */
.nl-zwei-texte > .t-text + .t-text { margin-top: 0; }
@media (max-width: 900px) { .nl-zwei-texte { row-gap: 20px; } }

/* ═════════════ Befunde der D-Prüfung (26.10.2026) ═════════════ */
/* Überschriften und Kacheltitel nie automatisch trennen, in jeder Breite */
h1, h2, h3, h4, .t-mega, .t-xl, .t-l, .nl-band__name, .nl-leistung__name, .kachel__name, .nl-buehne__claim { -webkit-hyphens: manual; hyphens: manual; }
/* Zähler im Filter: mindestens AA auch über dem Glas (vorher --text-3, 4,3:1 über #242424) */
.nl-filter button sup { color: var(--text-2); }
/* Archivkopf am Handy: Titel über die volle Breite (die Zahl steht ohnehin darunter), damit „Gewerbe/Wohnen“ in eine Zeile passt, wo es passt */
@media (max-width: 760px) { .seitenkopf__zeile .t-mega { max-width: none; } }
/* Teamseite am Handy: die lange Mailadresse sprengt die Spalte nicht mehr (bei 320 px ragte die Seite rechts hinaus) */
@media (max-width: 900px) { .nl-person__raster { grid-template-columns: minmax(0, 1fr); } }
.nl-person__mail a { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
/* Blättern am Handy: untereinander, damit lange Projekttitel nicht über den Rand ragen (bei 320 px ragte „Nächstes Projekt“ hinaus) */
.blaettern { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 560px) {
  .blaettern { grid-template-columns: minmax(0, 1fr); }
  .blaettern a + a { border-left: 0; padding-left: 0; border-top: 1px solid var(--linie); }
}
