/* Gmeiner demo — layout. Brand tokens live in brand.css; screens render from data.js. Own class names (German workshop
   words), the base layers follow the VONIER master (screens fit one viewport, phone first, no blur, no blend modes). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--graphite); }
body { margin: 0; font: 400 var(--t-body)/1.55 var(--sans); color: var(--ink); background: var(--graphite); font-synthesis: none; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
b, strong { font-weight: 600; }
p, h1, h2, h3, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
[hidden] { display: none !important; }

:root {
  --hdr-h: 64px; --gut: clamp(16px, 4vw, 56px); --maxw: 1320px;
  --t-mark: 15px; --t-tag: 11.5px; --t-lead: 18px; --t-body: 16px; --t-small: 14px;
  --h1: clamp(2.5rem, min(4.5vw, 8svh), 4.6rem);
  --h3s: clamp(1.15rem, min(1.5vw, 2.6svh), 1.4rem);
}
@media (max-width: 719px) { :root { --hdr-h: 56px; --t-mark: 14px; --t-tag: 11px; --t-lead: 16px; --t-body: 15px; --t-small: 13.5px; --h3s: 1.12rem; } }

/* ---------- type: two styles per block (Geist 600 for titles, Geist 400 for label and text; the label is teal) ---------- */
.marke { font: 400 var(--t-mark)/1.45 var(--sans); color: var(--teal-d); }
.bahn--dunkel .marke, .stiege .marke { color: var(--teal); }
.vermerk { font: 500 var(--t-tag)/1.5 var(--mono); letter-spacing: .04em; color: var(--ink-2); }
.bahn--dunkel .vermerk { color: var(--light-2); }
.text { font: 400 var(--t-lead)/1.5 var(--sans); color: var(--ink-2); }
.bahn--dunkel .text, .stiege .text { color: var(--light-2); }
.klein { font: 400 var(--t-small)/1.5 var(--sans); }
.titel, .stiege__titel { font-weight: 600; letter-spacing: -.028em; line-height: 1.02; }
.titel em, .stiege__titel em { font-style: normal; color: var(--teal-d); }
.bahn--dunkel .titel em, .stiege__titel em { color: var(--teal); }
.titel > span, .stiege__titel > span { display: block; }

/* ---------- buttons ---------- */
.knopf { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px;
  border: 1px solid var(--teal); border-radius: var(--r); background: var(--teal); color: #0d2224; font: 500 15px/1.1 var(--sans);
  text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .18s ease;
  -webkit-touch-callout: none; user-select: none; -webkit-tap-highlight-color: transparent; white-space: nowrap; }
.knopf svg { width: 18px; height: 18px; flex: none; }
.knopf::after { content: ''; position: absolute; inset: 0; z-index: -1; background: #fff; opacity: 0; transition: opacity .25s ease; }
.knopf:hover::after { opacity: .18; }
.knopf:active { transform: scale(.97); }
.knopf--linie { background: transparent; color: inherit; border-color: currentColor; }
.knopf--linie::after { background: currentColor; }
.knopf--linie:hover::after { opacity: .12; }

/* ---------- header ---------- */
.kopf { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--hdr-h); display: flex; align-items: center; gap: 28px; padding: 0 var(--gut);
  color: var(--light); background: linear-gradient(180deg, rgba(20, 21, 23, .62), rgba(20, 21, 23, 0)); transition: background-color .35s ease; }
.kopf.is-solid { background: rgba(27, 28, 30, .97); box-shadow: 0 1px 0 rgba(242, 239, 234, .07); }
.kopf__logo { display: block; width: 206px; }
.kopf__nav { display: flex; gap: 26px; margin-left: auto; }
.kopf__nav a { text-decoration: none; font: 500 14px/1 var(--sans); color: rgba(242, 239, 234, .78); padding: 10px 0; transition: color .2s ease; }
.kopf__nav a:hover { color: var(--light); }
.kopf__tel { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 14px; border: 1px solid rgba(99, 173, 179, .75); border-radius: var(--r);
  text-decoration: none; font: 500 14px/1 var(--sans); color: var(--light); white-space: nowrap; }
.kopf__tel svg { width: 17px; height: 17px; color: var(--teal); }
.kopf__tel:hover { background: rgba(99, 173, 179, .16); }
@media (max-width: 999px) { .kopf__nav { display: none; } .kopf__tel { margin-left: auto; } }
@media (max-width: 719px) { .kopf__tel span { display: none; } .kopf__tel { width: 44px; height: 44px; padding: 0; justify-content: center; } .kopf__logo { width: 150px; } }
.logo { width: 100%; height: auto; overflow: visible; }
.logo .lg-teal { fill: var(--teal); } .logo .lg-ink { fill: var(--light); }

/* ---------- hero: the lit stair ---------- */
.stiege { position: relative; height: 100vh; height: 100svh; min-height: 540px; overflow: hidden; overflow-anchor: none; background: var(--graphite); color: var(--light); }
.stiege__bild, .stiege__bild img, .stiege__bild video { position: absolute; inset: 0; width: 100%; height: 100%; }
.stiege__bild picture { display: contents; }
.stiege__bild img, .stiege__bild video { object-fit: cover; object-position: 50% 50%; }
.stiege__vid { opacity: 0; }
.stiege.has-vid .stiege__vid { opacity: 1; }
.stiege__ende { opacity: 0; transition: opacity .5s linear; }
.stiege.has-end .stiege__ende { opacity: 1; }
.stiege__schatten { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(20, 21, 23, .82) 0%, rgba(20, 21, 23, .6) 22%, rgba(20, 21, 23, .14) 40%, rgba(20, 21, 23, 0) 52%),
              linear-gradient(180deg, rgba(20, 21, 23, .5) 0, rgba(20, 21, 23, 0) 22%); }
.stufen__linien { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.stufen__linie { stroke: rgba(242, 239, 234, .28); stroke-width: 1; transition: stroke .4s ease; }
.stufen__linie.is-on { stroke: var(--teal); }
.stufen__punkt { fill: rgba(242, 239, 234, .4); transition: fill .4s ease; }
.stufen__punkt.is-on { fill: var(--teal); }
.stufen { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.stufe { position: absolute; transform: translateY(-50%); pointer-events: auto; padding: 5px 10px 5px 11px; border: 0; border-radius: 3px;
  background: rgba(22, 23, 25, .6); color: rgba(242, 239, 234, .55); text-align: right; font: 500 clamp(13px, min(1vw, 1.75svh), 17px)/1.2 var(--sans); letter-spacing: .005em;
  box-shadow: inset -2px 0 0 rgba(242, 239, 234, .18); transition: color .4s ease, background-color .4s ease, box-shadow .4s ease;
  -webkit-tap-highlight-color: transparent; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.stufe.is-on { color: var(--light); background: rgba(22, 23, 25, .78); box-shadow: inset -2px 0 0 var(--teal); }
.stufe:active { background: rgba(99, 173, 179, .35); }
@media (hover: hover) and (pointer: fine) { .stufe:hover { background: rgba(44, 116, 121, .9); color: #fff; } }
.stiege__satz { position: absolute; z-index: 4; left: var(--gut); top: calc(var(--hdr-h) + clamp(28px, 7svh, 84px)); width: min(40vw, 600px); }
.stiege__satz, .stiege__satz * { pointer-events: none; } .stiege__satz button, .stiege__satz a, .stiege__satz button *, .stiege__satz a * { pointer-events: auto; }
.stiege__titel { font-size: var(--h1); margin-top: 10px; }
.stiege__zeile { max-width: min(31vw, 30ch); margin-top: 16px; }
.stiege__status { margin-top: 12px; color: var(--teal); font: 500 var(--t-small)/1.4 var(--sans); }
.stiege__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3.6svh, 34px); }
.stiege__knoepfe .knopf--linie { color: var(--light); }
.stiege__licht { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-top: 12px; padding: 0 4px 0 0; border: 0; background: none;
  color: rgba(242, 239, 234, .72); font: 500 var(--t-tag)/1 var(--mono); letter-spacing: .06em; transition: color .2s ease; }
.stiege__licht svg { width: 20px; height: 20px; color: var(--teal); }
.stiege__licht:hover { color: var(--light); }
@media (min-width: 900px) and (max-height: 820px) { .stiege__zeile { display: none; } }

/* phone + portrait tablet: title on top, the stair below with its eleven labels */
@media (max-width: 899px) {
  .stiege__bild img, .stiege__bild video { object-position: 50% 100%; }
  .stiege__schatten { background: linear-gradient(180deg, rgba(20, 21, 23, .78) 0, rgba(20, 21, 23, .5) 24%, rgba(20, 21, 23, .08) 40%, rgba(20, 21, 23, 0) 50%); }
  .stiege__satz { left: var(--gut); right: var(--gut); width: auto; top: calc(var(--hdr-h) + 8px); }
  .stiege__marke { display: none; }
  .stiege__titel { font-size: clamp(2rem, 9.4vw, 3rem); margin-top: 0; }
  .stiege__zeile { display: none; }
  .stiege__knoepfe { margin-top: 14px; gap: 8px; }
  .stiege__knoepfe .knopf { min-height: 44px; padding: 0 16px; font-size: 14.5px; }
  .stiege__knoepfe .knopf--linie { display: none; }
  .stiege__licht { margin-top: 4px; }
  .stufe { font-size: 12.5px; padding: 4px 8px 4px 9px; line-height: 1.18; }
}

/* ---------- screens layer ---------- */
:root {
  --scr-t: calc(var(--hdr-h) + clamp(14px, 3.4svh, 46px));
  --scr-b: clamp(18px, 3.8svh, 50px);
  --scr-h: calc(100svh - var(--scr-t) - var(--scr-b));
  --h2s: clamp(2.1rem, min(3.5vw, 5.8svh), 3.7rem);
}
@media (max-width: 899px) { :root { --scr-b: 28px; } }
@media (max-width: 719px) { main > section { scroll-margin-top: var(--hdr-h); } :root { --scr-t: 24px; --h2s: clamp(1.85rem, 8.4vw, 2.4rem); } }
main .titel { font-size: var(--h2s); }
main > section.bahn { padding-top: var(--scr-t); padding-bottom: var(--scr-b); }
@media (min-width: 900px) { main > section.bahn { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; } }
.rahmen { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.bahn--hell { background: var(--paper); color: var(--ink); }
.bahn--dunkel { background: var(--graphite); color: var(--light); }
.bahn .titel { margin-top: 8px; }
.bahn .text { margin-top: 14px; max-width: 44ch; }

/* ---------- Anfrage: the console ---------- */
.auftrag__raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: clamp(28px, 5vw, 88px); align-items: center; }
.vorschau { margin-top: clamp(16px, 3svh, 28px); }
.vorschau__rahmen { position: relative; height: clamp(170px, calc(var(--scr-h) - 340px), 400px); overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.vorschau__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s ease; }
.vorschau__img.is-out { opacity: 0; }
.vorschau__zeile { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; margin-top: 10px; }
.vorschau__zeile .klein { color: var(--ink-2); }
.pult { position: relative; border-radius: var(--r); padding: 18px 22px 22px; display: flex; flex-direction: column; min-height: 520px; background: #fff;
  border: 1px solid var(--paper-2); box-shadow: 0 30px 60px -36px rgba(27, 28, 30, .4); }
.pult__kopf { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 10px; min-height: 36px; }
.pult__zurueck { width: 36px; height: 36px; margin-left: -8px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; }
.pult__zurueck svg { width: 20px; height: 20px; }
.pult__zurueck:hover { background: rgba(128, 128, 128, .14); }
.pult__zurueck[hidden] + .pult__was { grid-column: 1 / 3; }
.pult__was { font: 600 var(--h3s)/1.2 var(--sans); letter-spacing: -.01em; min-width: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.pult__schritt { white-space: nowrap; }
/* progress as a dimension line: hairline with end ticks, the measured part in teal */
.mass { position: relative; height: 14px; margin: 12px 0 14px; }
.mass::before { content: ''; position: absolute; left: 0; right: 0; top: 6.5px; height: 1px; background: var(--paper-3); }
.mass::after { content: ''; position: absolute; inset: 0; border-left: 1px solid var(--paper-3); border-right: 1px solid var(--paper-3); }
.mass__w { position: absolute; left: 0; right: 0; top: 5px; height: 4px; background: var(--teal); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.pult__inhalt { flex: 1; display: flex; flex-direction: column; }
.pult__frage { font: 600 var(--h3s)/1.25 var(--sans); letter-spacing: -.01em; }
.pult__tipp { margin-top: 4px; font: 400 var(--t-small)/1.45 var(--sans); color: var(--ink-2); }
.pult__unter { margin-top: 16px; font: 500 var(--t-tag)/1.5 var(--mono); letter-spacing: .04em; color: var(--ink-2); }
.kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.kachel { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 52px; padding: 4px 10px 4px 4px; text-align: left;
  border: 1px solid var(--paper-2); border-radius: var(--r); background: var(--paper); font: 500 14px/1.2 var(--sans); transition: border-color .2s ease, background-color .2s ease; }
.kachel img { width: 52px; height: 42px; object-fit: cover; border-radius: 2px; }
.kachel span { min-width: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.kachel:hover { border-color: var(--teal-d); }
.kachel.is-on { border-color: var(--teal-d); background: var(--teal-t); }
.felder { display: grid; gap: 14px; margin-top: 14px; }
.felder--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feld { display: grid; gap: 4px; min-width: 0; }
.feld--breit { grid-column: 1 / -1; }
.feld > span:first-child { font: 500 var(--t-tag)/1.5 var(--mono); letter-spacing: .04em; color: var(--ink-2); }
.feld input { width: 100%; min-width: 0; border: 0; border-bottom: 1px solid var(--paper-3); background: transparent; padding: 8px 0 9px; font: 400 17px/1.3 var(--sans); border-radius: 0; }
.feld input:focus { outline: 0; border-bottom-color: var(--teal-d); }
.feld input::placeholder { color: #a39d95; }
.feld__mit { display: flex; align-items: baseline; gap: 8px; border-bottom: 1px solid var(--paper-3); }
.feld__mit:focus-within { border-bottom-color: var(--teal-d); }
.feld__mit input { border-bottom: 0; }
.feld__mit i { font: 500 13px/1 var(--mono); font-style: normal; color: var(--ink-2); }
.wahlen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.wahl { min-height: 44px; padding: 9px 12px; text-align: left; border-radius: var(--r); font: 400 14.5px/1.25 var(--sans);
  border: 1px solid var(--paper-2); background: var(--paper); transition: border-color .2s ease, background-color .2s ease; }
.wahl:hover { border-color: var(--teal-d); }
.wahl.is-on { border-color: var(--teal-d); background: var(--teal-t); }
.pult__weiter { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.pult__weiter .knopf { flex: 1 1 auto; }
.pult__fehler { font: 400 var(--t-small)/1.4 var(--sans); color: var(--teal-d); flex-basis: 100%; }
.bilder { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.bilder__neu { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border: 1px dashed var(--paper-3); border-radius: var(--r); background: var(--paper); cursor: pointer; font: 500 15px/1.2 var(--sans); }
.bilder__neu svg { width: 22px; height: 22px; color: var(--teal-d); }
.bilder__neu input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.bilder__th { width: 64px; height: 64px; border-radius: var(--r); object-fit: cover; background: var(--paper-2); }
.bilder__hinweis { margin-top: 10px; font: 400 var(--t-small)/1.45 var(--sans); color: var(--ink-2); }
.zettel { border: 1px dashed var(--paper-3); border-radius: var(--r); padding: 14px 16px; }
.zettel__t { display: flex; align-items: center; gap: 10px; font: 600 var(--h3s)/1.25 var(--sans); }
.zettel__t svg { width: 22px; height: 22px; color: var(--teal-d); flex: none; }
.zettel dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; margin-top: 12px; font: 400 var(--t-small)/1.4 var(--sans); }
.zettel dt { color: var(--ink-2); }
.zettel dd { min-width: 0; overflow-wrap: anywhere; }
.zettel__note { margin-top: 12px; font: 400 var(--t-small)/1.45 var(--sans); color: var(--ink-2); }
.zettel__note b { color: var(--ink); font-weight: 500; }

/* ---------- Leistungen: the board ---------- */
.tafel { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-rows: auto 1fr auto; column-gap: clamp(28px, 5vw, 80px); align-items: start; }
.tafel__kopf { grid-column: 1; grid-row: 1; }
.tafel__liste { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin-top: clamp(16px, 3.4svh, 30px); align-content: start; }
.tafel__punkt { position: relative; min-height: 42px; padding: 8px 0 8px 14px; border: 0; border-bottom: 1px solid var(--graphite-3); background: none; text-align: left;
  font: 400 15px/1.25 var(--sans); color: var(--light-2); transition: color .2s ease; }
.tafel__punkt::before { content: ''; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--graphite-3); transition: background-color .2s ease, transform .2s ease; }
.tafel__punkt:hover { color: var(--light); }
.tafel__punkt[aria-selected="true"] { color: var(--light); }
.tafel__punkt[aria-selected="true"]::before { background: var(--teal); transform: scale(1.5); }
.tafel__bild { grid-column: 2; grid-row: 1 / 4; align-self: center; }
.tafel__rahmen { position: relative; height: clamp(240px, calc(var(--scr-h) - 150px), 560px); overflow: hidden; border-radius: var(--r); background: var(--graphite-2); }
.tafel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.tafel__img.is-out { opacity: 0; }
.tafel__text { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: end; margin-top: 14px; }
.tafel__name { grid-column: 1; font: 600 var(--h3s)/1.2 var(--sans); letter-spacing: -.01em; color: var(--light); }
.tafel__zeile { grid-column: 1; margin-top: 4px !important; font-size: var(--t-body) !important; max-width: 52ch !important; }
.tafel__go { grid-column: 2; grid-row: 1 / 3; color: var(--light); }
.tafel__credit { grid-column: 1; grid-row: 3; margin-top: 18px; color: var(--light-2); }

/* ---------- Werkstatt ---------- */
.werk__raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.werk__foto { position: relative; height: min(calc(var(--scr-h) - 10px), 700px); border-radius: var(--r); overflow: hidden; background: var(--graphite); }
.werk__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.acht { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 28px; align-items: center; margin-top: clamp(18px, 3.4svh, 30px); padding: 16px 0; border-top: 1px solid var(--paper-2); border-bottom: 1px solid var(--paper-2); }
.acht__zahl { display: grid; justify-items: start; }
.acht__zahl b { font: 600 clamp(3.2rem, 6svh, 4.6rem)/.9 var(--sans); letter-spacing: -.04em; color: var(--teal-d); }
.acht__zahl span { font: 400 var(--t-small)/1.4 var(--sans); color: var(--ink-2); }
.acht__teile { display: grid; gap: 6px; }
.acht__teil { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 10px; font: 400 var(--t-small)/1.3 var(--sans); }
.acht__kloetze { display: flex; gap: 4px; }
.acht__kloetze i { width: 12px; height: 12px; border-radius: 2px; background: var(--teal); }
.zeit { margin-top: clamp(16px, 3svh, 26px); }
.zeit__tabs { display: flex; gap: 6px; }
.zeit__tab { min-height: 40px; padding: 0 14px; border: 1px solid var(--paper-3); border-radius: var(--r); background: transparent; font: 500 14px/1 var(--sans); white-space: nowrap; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.zeit__tab:hover { border-color: var(--ink); }
.zeit__tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.zeit__feld { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 12px; }
.zeit__bild { width: 150px; height: 100px; object-fit: cover; border-radius: 2px; background: var(--paper-2); }
.zeit__satz { font: 400 var(--t-body)/1.45 var(--sans); }
.werk__cert { margin-top: 18px; }

/* ---------- Kontakt ---------- */
.anfahrt__raster { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.anfahrt__bild { position: relative; height: min(calc(var(--scr-h) - 10px), 720px); border-radius: var(--r); overflow: hidden; background: var(--graphite-2); }
.anfahrt__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.adresse { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 20px; margin-top: clamp(18px, 3.4svh, 28px); font: 400 var(--t-body)/1.45 var(--sans); }
.adresse dt { color: var(--light-2); }
.adresse a { text-decoration: none; border-bottom: 1px solid rgba(99, 173, 179, .5); }
.adresse a:hover { border-bottom-color: var(--teal); }
.anfahrt__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3.6svh, 34px); }
.anfahrt__knoepfe .knopf--linie { color: var(--light); }

/* ---------- footer ---------- */
.fuss { background: var(--graphite); color: var(--light-2); padding-top: 8px; }
.fuss__zeile { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; border-top: 1px solid var(--graphite-3); }
.fuss__links { display: flex; gap: 22px; }
.fuss a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(168, 166, 162, .5); }
.fuss a:hover { color: var(--light); }
.fuss .vc-credit-row { margin-top: 18px; }

/* ---------- draft note + dock ---------- */
.note__tab { position: fixed; left: 0; top: 50%; z-index: 45; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; padding: 14px 7px; border: 0; border-radius: 0 var(--r) var(--r) 0;
  background: var(--graphite-3); color: var(--light); font: 600 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.note__tab:hover { background: #4a4e53; }
.note { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(16, 17, 18, .55); }
.note__panel { position: relative; width: min(440px, 100%); padding: 26px 24px 22px; border-radius: var(--r); background: var(--paper); color: var(--ink); display: grid; gap: 16px; justify-items: start; font: 400 var(--t-body)/1.55 var(--sans); }
.note__panel .knopf--linie { color: var(--ink); }
.note__fine { color: var(--ink-2); }
.note__x { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--paper); }
.note__x::before, .note__x::after { content: ''; position: absolute; left: 13px; right: 13px; top: 21px; height: 1.6px; background: var(--ink); transform: rotate(45deg); }
.note__x::after { transform: rotate(-45deg); }
.dock { display: none; }
@media (max-width: 899px) {
  .note__tab { display: none; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 42; display: grid; grid-template-columns: minmax(0, 1fr) 52px auto; gap: 8px; align-items: center;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(27, 28, 30, .97); border-top: 1px solid var(--graphite-3);
    transform: translateY(110%); transition: transform .35s ease; }
  .dock.is-on { transform: none; }
  .dock__main { min-height: 48px; border: 0; border-radius: var(--r); background: var(--teal); color: #0d2224; font: 500 15px/1 var(--sans); }
  .dock__call { display: grid; place-items: center; height: 48px; border: 1px solid var(--teal); border-radius: var(--r); color: var(--light); }
  .dock__call svg { width: 20px; height: 20px; }
  .dock__note { min-height: 48px; padding: 0 10px; border: 0; background: none; color: var(--light-2); font: 600 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
  main > section:last-of-type { padding-bottom: calc(var(--scr-b) + 20px); }
  .fuss { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* ---------- tablets and phones ---------- */
@media (max-width: 1100px) and (min-width: 900px) {
  .auftrag__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
  .tafel__liste { grid-template-columns: minmax(0, 1fr); }
  .tafel__punkt { min-height: 34px; padding: 6px 0 6px 14px; }
}
@media (max-width: 899px) {
  .auftrag__raster, .werk__raster, .anfahrt__raster { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pult { min-height: 0; }
  .vorschau { display: none; }
  .tafel { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .tafel__kopf, .tafel__liste, .tafel__bild, .tafel__credit { grid-column: 1; grid-row: auto; }
  .tafel__bild { order: 2; margin-top: 16px; }
  .tafel__liste { order: 3; display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px; margin: 14px calc(var(--gut) * -1) 0; padding: 0 var(--gut); scroll-snap-type: x proximity; }
  .tafel__liste::-webkit-scrollbar { display: none; }
  .tafel__punkt { flex: none; scroll-snap-align: start; min-height: 40px; padding: 0 13px; border: 1px solid var(--graphite-3); border-radius: var(--r); white-space: nowrap; font-size: 14px; }
  .tafel__punkt::before { display: none; }
  .tafel__punkt[aria-selected="true"] { background: var(--light); color: var(--graphite); border-color: var(--light); }
  .tafel__credit { order: 4; margin-top: 10px; }
  .tafel__rahmen { height: clamp(170px, 30svh, 320px); }
  .werk__foto { height: clamp(130px, 21svh, 240px); order: 0; }
  .anfahrt__bild { height: clamp(140px, 22svh, 260px); }
  .anfahrt__bild img { object-position: 50% 60%; }
}
@media (max-width: 719px) {
  .auftrag__text, .tafel__lead, .werk__text { display: none; }
  .pult { padding: 14px 14px 16px; }
  .kacheln { gap: 5px; margin-top: 10px; }
  .kachel { min-height: 46px; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; font-size: 13px; padding: 3px 8px 3px 3px; }
  .kachel img { width: 44px; height: 38px; }
  .felder { gap: 10px; margin-top: 10px; }
  .pult__unter { margin-top: 12px; }
  .tafel__text { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
  .tafel__go { grid-column: 1; grid-row: auto; justify-self: start; min-height: 44px; }
  .tafel__zeile { font-size: var(--t-small) !important; }
  .acht { margin-top: 14px; padding: 12px 0; gap: 4px 18px; }
  .acht__zahl b { font-size: 2.9rem; }
  .zeit { margin-top: 12px; }
  .zeit__tab { padding: 0 11px; font-size: 13.5px; }
  .zeit__feld { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; margin-top: 10px; }
  .zeit__bild { width: 104px; height: 70px; }
  .zeit__satz { font-size: var(--t-small); }
  .werk__cert { margin-top: 12px; }
  .adresse { gap: 6px 14px; margin-top: 12px; font-size: var(--t-small); }
  .anfahrt__knoepfe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 16px; }
  .anfahrt__knoepfe .knopf { padding: 0 10px; min-height: 46px; }
  .anfahrt__knoepfe .knopf:last-child { grid-column: 1 / -1; }
  .fuss__zeile { flex-direction: column; }
}

@media (max-width: 719px) and (max-height: 700px) {
  :root { --scr-t: 18px; --scr-b: 22px; --h2s: clamp(1.7rem, 7.6vw, 2.1rem); }
  .kachel { min-height: 42px; } .kachel img { height: 34px; }
  .pult__kopf { min-height: 30px; } .mass { margin: 8px 0 10px; }
  .tafel__rahmen { height: clamp(140px, 24svh, 320px); } .tafel__bild { margin-top: 12px; }
  .werk__foto { height: 118px; } .anfahrt__bild { height: 124px; }
}

/* ---------- motion states ---------- */
.js .stiege__marke, .js .stiege__titel, .js .stiege__zeile, .js .stiege__knoepfe, .js .stiege__licht, .js .stufen, .js .stufen__linien { opacity: 0; }
.no-anim .stiege__marke, .no-anim .stiege__titel, .no-anim .stiege__zeile, .no-anim .stiege__knoepfe, .no-anim .stiege__licht, .no-anim .stufen, .no-anim .stufen__linien,
.is-static .stiege__marke, .is-static .stiege__titel, .is-static .stiege__zeile, .is-static .stiege__knoepfe, .is-static .stiege__licht, .is-static .stufen, .is-static .stufen__linien { opacity: 1 !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* VCSLV credit — templates/credit/credit.css */
.vc-credit-row { margin-top: clamp(28px, 4vw, 44px); padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  display: flex; justify-content: center; grid-column: 1 / -1; flex: 0 0 100%; width: 100%; box-sizing: border-box; }
.vc-credit { --vc-dot: #D2664A; display: inline-flex; align-items: center; gap: .7em; min-height: 44px; padding: 0 6px; color: inherit; text-decoration: none; font-size: 12px; line-height: 1; letter-spacing: .04em; opacity: .72; transition: opacity .4s ease; }
.vc-credit--light { --vc-dot: #A8452F; }
.vc-credit__mark { display: block; height: .92em; width: auto; overflow: visible; }
.vc-credit__dot { fill: var(--vc-dot); transform-box: fill-box; transform-origin: center; transition: transform .8s cubic-bezier(.2, .9, .25, 1.35) .15s, filter .4s ease; }
.vc-credit__line { padding-left: .7em; border-left: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.vc-credit.is-arm .vc-credit__dot { transform: scale(0); }
.vc-credit.is-arm.is-in .vc-credit__dot { transform: scale(1); }
.vc-credit:hover, .vc-credit:focus-visible { opacity: 1; }
.vc-credit:hover .vc-credit__dot, .vc-credit:focus-visible .vc-credit__dot { filter: drop-shadow(0 0 5px color-mix(in srgb, var(--vc-dot) 80%, transparent)); }
.vc-credit:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; border-radius: 4px; }
@media (max-width: 520px) { .vc-credit { flex-wrap: wrap; justify-content: center; row-gap: 8px; padding: 10px 6px; } .vc-credit__line { flex-basis: 100%; text-align: center; padding-left: 0; border-left: 0; } }
@media (prefers-reduced-motion: reduce) { .vc-credit.is-arm .vc-credit__dot { transform: none; transition: none; } }

.show-s { display: none; }
@media (max-width: 719px) { .hide-s { display: none; } .show-s { display: inline; } }
