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

:root {
  --board: #fbfbf9;
  --ink: #141614;
  --ink-2: #4b514c;
  --ink-3: #6b726c;
  --rule: #141614;
  --hair: #c9ccc6;
  --steel: #a3a9ab;
  --steel-2: #7b8285;
  --ground: #e3e4df;
  --ground-2: #d3d5cf;
  --green: #3eb650;
  --green-deep: #2e9a3f;
  --green-ink: #0d2e14;
  --rail: 9.5rem;
  --gutter: clamp(16px, 4vw, 56px);
  --row: clamp(.9rem, 1.4vw, 1.15rem);
  --shadow: 0 1px 1px rgba(20,22,20,.08), 0 14px 30px -12px rgba(20,22,20,.35);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--steel-2) var(--ground); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .22em; text-decoration-color: var(--green); }
a:hover { text-decoration-color: var(--ink); }
::selection { background: var(--green); color: var(--green-ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 1px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: .95; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; top: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Schrift-Rollen ---------- */
.objekt {               /* Objektzeile einer Bautafel */
  font-stretch: 68%;
  font-weight: 820;
  font-size: clamp(2.9rem, 7.4vw, 6rem);
  line-height: .9;
  letter-spacing: -0.025em;
  word-spacing: .06em;
}
.objekt--m { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
.objekt--s { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.label { font-size: .9rem; font-weight: 500; color: var(--ink-2); line-height: 1.25; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.45; max-width: 38ch; }
.prose { max-width: 66ch; }

/* ---------- Kopf (Tafel-Kopfband) ---------- */
.kopf {
  position: sticky; top: 0; z-index: 40;
  background: var(--board);
  border-bottom: 2px solid var(--rule);
}
.kopf__inner {
  display: flex; align-items: center; gap: 1.5rem;
  padding: .55rem var(--gutter);
  max-width: 1600px; margin: 0 auto;
}
.kopf__logo img { height: 46px; width: auto; }
.kopf nav { margin-left: auto; }
.kopf nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.kopf nav a {
  display: block; padding: .55rem .8rem; text-decoration: none; font-weight: 600; font-size: .98rem;
  border-bottom: 3px solid transparent;
}
.kopf nav a:hover { border-bottom-color: var(--hair); }
.kopf nav a[aria-current="page"] { border-bottom-color: var(--green); }
.kopf__tel { white-space: nowrap; }
.menu-btn { display: none; }

/* ---------- Knöpfe ---------- */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.15rem;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  border: 2px solid var(--b); background: var(--b); color: #fff;
  text-decoration: none; cursor: pointer; border-radius: 0;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--gruen { --b: var(--green); color: var(--green-ink); }
.btn--gruen:hover { background: var(--ink); color: var(--green); border-color: var(--ink); }
.btn--hohl { background: transparent; color: var(--ink); }
.btn--hohl:hover { background: var(--ink); color: #fff; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Bautafel ---------- */
.tafel {
  position: relative;
  background: var(--board);
  box-shadow: var(--shadow);
  outline: 1px solid rgba(20,22,20,.12);
}
.tafel::before {               /* Alu-Kantenprofil */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border: 5px solid var(--steel);
}
.tafel__body { position: relative; padding: clamp(1.25rem, 2.6vw, 2.25rem); }
.zeilen { margin: 0; }
.zeile {
  display: grid; grid-template-columns: var(--rail) 1fr; gap: 1rem;
  align-items: center;
  border-top: 2px solid var(--rule);
  padding: var(--row) 0;
}
.zeile > dt { margin: 0; }
.zeile > dd { margin: 0; font-weight: 600; }
.zeile--fein { border-top-width: 1px; border-top-color: var(--hair); }
.zeile__logo { height: clamp(34px, 3.4vw, 46px); width: auto; }
.tafel__bild { position: relative; overflow: hidden; background: var(--ground-2); }
.tafel__bild img { width: 100%; height: 100%; object-fit: cover; }

/* Aufschraub-Moment: die drei Firmenschilder werden nacheinander montiert */
@media (prefers-reduced-motion: no-preference) {
  .montage .zeile__logo { animation: montieren .7s var(--ease) both; }
  .montage .zeile:nth-child(2) .zeile__logo { animation-delay: .25s; }
  .montage .zeile:nth-child(3) .zeile__logo { animation-delay: .5s; }
  .montage .zeile:nth-child(4) .zeile__logo { animation-delay: .75s; }
  .montage .leer::after { animation: ziehen 1s .9s var(--ease) both; }
}
@keyframes montieren { from { clip-path: inset(0 100% 0 0); transform: translateX(-6px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes ziehen { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Die leere Zeile: «Ihr Projekt» */
.leer { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.leer__strich { flex: 1 0 100%; height: 2px; position: relative; margin: 1.1rem 0 .9rem; }
.leer__strich::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 16px); transform-origin: left; }
.leer::after { content: none; }

/* ---------- Hero ---------- */
.baustelle {
  position: relative;
  min-height: calc(100svh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  padding: clamp(2rem, 6vh, 5rem) var(--gutter) 0;
  overflow: hidden;
  isolation: isolate;
}
.baustelle__foto { position: absolute; inset: 0; z-index: -1; }
.baustelle__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.baustelle__foto::after { content: none; }
.baustelle__tafel { width: min(640px, 100%); position: relative; justify-self: end; }
.pfosten { display: flex; justify-content: space-between; padding: 0 12%; height: clamp(2.5rem, 9vh, 6rem); }
.pfosten span { width: 14px; background: var(--steel-2); box-shadow: 6px 0 10px -4px rgba(0,0,0,.35); }
.baustelle__schild {
  position: absolute; left: var(--gutter); bottom: 1.25rem;
  background: rgba(20,22,20,.78); color: #f3f4f1; padding: .45rem .75rem; font-size: .85rem; font-weight: 500;
  backdrop-filter: blur(6px);
}
.hero-unter { margin: 0 0 1.4rem; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.4; max-width: 34ch; color: var(--ink-2); font-weight: 500; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(4rem, 10vw, 8.5rem) var(--gutter); max-width: 1600px; margin: 0 auto; }
.abschnitt--eng { padding-top: clamp(2rem, 5vw, 4rem); }
.abschnitt__kopf { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.abschnitt__kopf p { margin: 0; max-width: 42ch; color: var(--ink-2); }

/* Leistungen als grosse Rollen-Tafel */
.rollen .zeile { grid-template-columns: var(--rail) minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; gap: clamp(1rem, 3vw, 3rem); padding: clamp(1.5rem, 3vw, 2.5rem) 0; }
.rollen dt .objekt { display: block; }
.rollen dd { font-weight: 400; }
.rollen h3 { font-size: 1.35rem; font-weight: 750; letter-spacing: -0.01em; margin-bottom: .7rem; line-height: 1.15; }
.rollen ul { margin: 1rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.rollen li { border: 1.5px solid var(--ink); padding: .3rem .6rem; font-size: .9rem; font-weight: 600; }
.rollen figure { margin: 0; aspect-ratio: 4 / 3; }
.rollen__rolle { display: flex; flex-direction: column; gap: .9rem; }
.rollen__rolle .zeile__logo { height: 34px; }
.rollen__rolle .objekt { font-size: clamp(2rem, 3.3vw, 3rem); }

/* Bauzaun: Projekttafeln, Grösse = Massstab */
.bauzaun { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); align-items: start; }
.p-tafel { grid-column: span 3; text-decoration: none; display: flex; flex-direction: column; color: inherit; }
.p-tafel--L, .p-tafel--leer { grid-column: span 6; }
.bauzaun--start .p-tafel--M, .bauzaun--start .p-tafel--S { grid-column: span 4; }
.p-tafel--S .tafel__bild { aspect-ratio: 4 / 3; }
.p-tafel--leer .tafel__body { padding: 1.5rem 1.6rem; }
.p-tafel--leer .tafel { height: 100%; }
.p-tafel--leer h3 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.leerbild { aspect-ratio: 16 / 10; margin: 12px; border: 2px dashed var(--steel-2); display: grid; place-items: center; color: var(--ink-2); font-weight: 600; text-align: center; padding: 1rem; }
.p-tafel .tafel { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.p-tafel:hover .tafel { transform: translateY(-4px); box-shadow: 0 1px 1px rgba(20,22,20,.08), 0 24px 40px -14px rgba(20,22,20,.4); }
.p-tafel .tafel__bild { aspect-ratio: 3 / 2; }
.p-tafel--L .tafel__bild { aspect-ratio: 16 / 10; }
.p-tafel .tafel__body { padding: 1rem 1.25rem 1.1rem; }
.p-tafel h3 { font-stretch: 70%; font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: .95; margin: .2rem 0 .8rem; }
.p-tafel--L h3 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.p-tafel .zeile { grid-template-columns: 6.5rem 1fr; padding: .5rem 0; font-size: .95rem; border-top-width: 1.5px; }
.p-tafel .zeile .zeile__logo { height: 26px; }
.p-tafel .pfosten { height: 1.6rem; padding: 0 18%; }
.p-tafel .pfosten span { width: 9px; }
.filter { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 2rem; }
.filter button { font: inherit; font-weight: 600; font-size: .95rem; padding: .5rem .85rem; min-height: 44px; border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.filter button:hover:not([aria-pressed="true"]) { background: var(--board); }
.p-tafel[hidden] { display: none; }

/* Werkstatt */
.werkstatt { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0; align-items: stretch; }
.werkstatt .tafel__bild { min-height: 420px; }
.werkstatt__text { background: var(--ink); color: #eef0ec; padding: clamp(1.75rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.werkstatt__text .zeile { border-top-color: #eef0ec; grid-template-columns: 7rem 1fr; }
.werkstatt__text .label { color: #b9beb8; }
.werkstatt__text a { text-decoration-color: var(--green); }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.9rem, 1.6vw, 1.4rem); }
.person .tafel__bild { aspect-ratio: 4 / 5; }
.person .tafel__bild img { object-position: 50% 22%; }
.person .tafel__body { padding: .8rem 1rem 1rem; }
.person h3 { font-stretch: 75%; font-size: 1.45rem; line-height: 1; margin-bottom: .35rem; }
.person p { margin: 0; font-size: .92rem; color: var(--ink-2); line-height: 1.35; }
.foto-folgt { display: grid; place-items: center; height: 100%; border: 2px dashed var(--steel-2); margin: 10px; color: var(--ink-2); font-weight: 600; font-size: .9rem; }

/* Karriere */
.karriere { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.karriere figure { margin: 0; aspect-ratio: 4 / 3; }

/* Kontakt: die grüne Verkaufstafel */
.gruen { background: var(--green); color: var(--green-ink); }
.gruen .zeile { border-top-color: var(--green-ink); }
.gruen .label { color: var(--green-ink); }
.kontakt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.kontakt .tafel__body { padding: clamp(1.5rem, 4vw, 3.5rem); }
.kontakt .zeilen { max-width: 900px; }
.kontakt__nummer { font-stretch: 66%; font-weight: 850; font-size: clamp(3rem, 8.6vw, 7.4rem); line-height: .85; letter-spacing: -0.03em; text-decoration: none; display: inline-block; margin: .6rem 0 1.4rem; }
.kontakt__nummer:hover { text-decoration: underline; text-decoration-color: var(--green-ink); text-decoration-thickness: 4px; }
.formular { background: var(--board); padding: clamp(1.25rem, 3vw, 2.5rem); display: grid; gap: 1rem; align-content: start; }
.formular h3 { font-size: 1.5rem; font-stretch: 75%; }
.feld { display: grid; gap: .3rem; }
.feld label { font-weight: 600; font-size: .95rem; }
.feld input, .feld textarea, .feld select {
  font: inherit; font-size: 1rem; padding: .75rem .8rem; min-height: 48px;
  border: 2px solid var(--ink); background: #fff; color: var(--ink); border-radius: 0; width: 100%;
  caret-color: var(--green-deep);
}
.feld textarea { min-height: 8rem; resize: vertical; }
.feld input:focus-visible, .feld textarea:focus-visible, .feld select:focus-visible { outline-offset: 0; }
.feld input::placeholder, .feld textarea::placeholder { color: #6b726c; }
.feld [aria-invalid="true"] { border-color: #b3261e; }
.fehler { color: #b3261e; font-size: .9rem; font-weight: 600; }
.fehler:empty { display: none; }
.hinweis { font-size: .88rem; color: var(--ink-2); margin: 0; }
.status { font-weight: 600; }

/* Projekt-Detail: Bauphasen-Register */
.register { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.register__rahmen { position: relative; background: #1d201e; aspect-ratio: 3 / 2; overflow: hidden; }
.register__rahmen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s var(--ease); }
.register__steuer { display: grid; grid-template-columns: auto auto 1fr auto; gap: 1rem; align-items: center; }
.register__zahl { font-weight: 700; min-width: 8.5ch; }
.register input[type="range"] { width: 100%; accent-color: var(--green-deep); height: 44px; }
.register__knopf { width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid var(--ink); background: var(--board); cursor: pointer; color: var(--ink); }
.register__knopf:hover { background: var(--ink); color: #fff; }
.register__knopf svg { width: 20px; height: 20px; }
.streifen { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; }
.streifen button { padding: 0; border: 3px solid transparent; background: none; cursor: pointer; aspect-ratio: 3 / 2; overflow: hidden; }
.streifen button img { width: 100%; height: 100%; object-fit: cover; }
.streifen button[aria-current="true"] { border-color: var(--green); }
.detail-kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.detail-kopf h1 { margin-top: .2rem; }
.detail-bild { aspect-ratio: 21 / 9; margin: 10px 10px 0; }
.detail-bild img { object-position: 50% 55%; }
.nachbarn { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 2px solid var(--rule); padding-top: 1.25rem; margin-top: 3rem; }
.nachbarn a { font-weight: 700; text-decoration: none; display: grid; gap: .2rem; }
.nachbarn a span { font-weight: 500; color: var(--ink-2); font-size: .9rem; }
.nachbarn a:hover strong { text-decoration: underline; text-decoration-color: var(--green); }

/* Seitenkopf für Unterseiten */
.seitenkopf { padding: clamp(3rem, 7vw, 6rem) var(--gutter) 0; max-width: 1600px; margin: 0 auto; }
.seitenkopf .tafel__body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: end; }
.seitenkopf .lead { margin: 0; }

/* Text-Tafel (Impressum, Datenschutz) */
.texttafel h2 { font-size: 1.5rem; font-stretch: 80%; margin: 2rem 0 .6rem; line-height: 1.1; }
.ergaenzen { background: #fff3b0; padding: 0 .25em; }

/* Fuss: Bauzaun-Fundament */
.fuss { background: var(--ink); color: #dfe2dd; margin-top: clamp(4rem, 9vw, 8rem); }
.fuss__inner { max-width: 1600px; margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) 2rem; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.fuss h2 { font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: .8rem; color: #fff; line-height: 1.2; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.fuss a { text-decoration-color: var(--green); }
.fuss__logo { background: var(--board); display: inline-block; padding: 10px 12px; }
.fuss__logo img { height: 52px; width: auto; }
.fuss__unten { max-width: 1600px; margin: 0 auto; padding: 1rem var(--gutter) 2rem; border-top: 1px solid #3a3f3b; font-size: .88rem; color: #aab0a9; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.fuss ::selection { color: var(--green-ink); }

/* Reveal beim Scrollen: Inhalte bleiben ohne JS sichtbar */
@media (prefers-reduced-motion: no-preference) {
  .js .auf { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .auf.da { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bauzaun { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-tafel, .p-tafel--L, .p-tafel--S, .p-tafel--leer, .bauzaun--start .p-tafel--M, .bauzaun--start .p-tafel--S { grid-column: span 1; }
  .bauzaun > .p-tafel--L:first-child { grid-column: span 2; }
  .rollen .zeile { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rollen .zeile > dt { grid-column: 1 / -1; }
  .fuss__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :root { --rail: 6.6rem; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .person h3 { font-size: 1.2rem; }
  .menu-btn { display: inline-flex; margin-left: auto; min-height: 44px; padding: .5rem .8rem; font: inherit; font-weight: 700; border: 2px solid var(--ink); background: transparent; color: var(--ink); align-items: center; gap: .5rem; }
  .kopf nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--board); border-bottom: 2px solid var(--rule); display: none; margin: 0; }
  .kopf nav.offen { display: block; }
  .kopf nav ul { flex-direction: column; padding: .5rem var(--gutter) 1rem; }
  .kopf nav a { padding: .85rem 0; border-bottom: 1px solid var(--hair); font-size: 1.1rem; }
  .kopf nav a[aria-current="page"] { border-bottom: 3px solid var(--green); }
  .kopf__tel { order: 2; min-height: 44px; padding: .5rem .7rem; font-size: .95rem; }
  .kopf__tel .tel-text { display: none; }
  .menu-btn { order: 3; margin-left: 0; }
  .kopf__logo { margin-right: auto; }
  .kopf__logo img { height: 40px; }
  .baustelle { min-height: 0; padding: 0; display: block; }
  .baustelle__foto { position: relative; height: 52svh; }
  .baustelle__foto::after { display: none; }
  .baustelle__tafel { width: auto; margin: -3.5rem 16px 0; }
  .pfosten { display: none; }
  .baustelle__schild { left: auto; right: 16px; bottom: auto; top: 12px; }
  .abschnitt__kopf { grid-template-columns: minmax(0, 1fr); }
  .werkstatt, .karriere, .kontakt, .detail-kopf, .seitenkopf .tafel__body { grid-template-columns: minmax(0, 1fr); }
  .werkstatt .tafel__bild { min-height: 260px; }
  .rollen .zeile { grid-template-columns: minmax(0, 1fr); }
  .register__steuer { grid-template-columns: auto 1fr auto; }
  .register__steuer .register__knopf[data-schritt="-1"] { grid-column: 1; grid-row: 2; }
  .register__zahl { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 560px) {
  .bauzaun { grid-template-columns: minmax(0, 1fr); }
  .bauzaun > .p-tafel--L:first-child { grid-column: span 1; }
  .detail-bild { aspect-ratio: 4 / 3; }
  .p-tafel .zeile { grid-template-columns: 5.5rem 1fr; }
  .fuss__inner { grid-template-columns: minmax(0, 1fr); }
  .kontakt__nummer { font-size: clamp(2.6rem, 15vw, 4rem); }
}
@media print {
  .kopf, .fuss, .register__steuer, .streifen { display: none; }
  .tafel { box-shadow: none; }
}
.rollen__rolle .zeile__logo { width: auto; align-self: flex-start; }
.abschnitt__kopf > .btn { justify-self: start; }

/* Firmenname als Schriftzug, wo das Logo zu klein würde */
.name { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; line-height: 1.2; }
.name::before { content: ""; width: .7em; height: .7em; background: var(--green); flex: none; }

/* Baustellen-Grund: Projekttafeln stehen auf dem Gelände */
.gelaende { position: relative; isolation: isolate; padding: clamp(3.5rem, 8vw, 7rem) 0 0; overflow: hidden; }
.gelaende__foto { position: absolute; inset: 0; z-index: -1; }
.gelaende__foto::after { content: ""; position: absolute; inset: 0; background: rgba(12,14,12,.28); }
.gelaende > .abschnitt { padding-top: 0; padding-bottom: 0; }
.gelaende .bauzaun { padding-bottom: 0; }
.gelaende__boden { height: clamp(1.5rem, 3vw, 2.5rem); background: #5b5a52; border-top: 3px solid #3f3e38; margin-top: -1px; }
.gelaende .p-tafel .pfosten { height: clamp(2rem, 4vw, 3.2rem); }
.gelaende .bauzaun { align-items: end; row-gap: 0; }
.schildkopf { justify-self: start; display: inline-flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; background: var(--board); padding: 1rem 1.4rem; box-shadow: var(--shadow); outline: 1px solid rgba(20,22,20,.12); }
.schildkopf h2, .schildkopf h1 { margin: 0; }
.gelaende .abschnitt__kopf { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.gelaende .kontakt-wrap { padding-bottom: clamp(2rem, 4vw, 3rem); }
.werk3 { grid-column: span 4 !important; }
@media (max-width: 1100px) { .werk3 { grid-column: span 1 !important; } }
@media (max-width: 560px) {
  .nachbarn { flex-direction: column; }
  .nachbarn a[style] { text-align: left !important; }
}

.seitenkopf .detail-kopf { align-items: start; }
.gelaende__foto img { position: sticky; top: 0; height: 100vh; height: 100svh; width: 100%; object-fit: cover; }
.name { align-items: flex-start; }
.name::before { margin-top: .28em; }
.name__t > span { white-space: nowrap; }
.p-tafel .name__t > span, .rollen .name__t > span { display: block; }
