/* Gebr. Kasper demo — layout (fill of the VONIER master). Brand tokens (colours, fonts) live in brand.css; screens render from data.js. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--wall); }
body { margin: 0; font: 400 var(--t-body)/1.55 var(--sans); color: var(--ink); background: var(--wall); 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(--ink); outline-offset: 3px; }
.scr--dark :focus-visible, .con--dark :focus-visible { outline-color: var(--volt); }
[hidden] { display: none !important; }

:root {
  --hdr-h: 64px; --gut: clamp(16px, 4vw, 56px); --maxw: 1320px;
  --t-lab: 11.5px; --t-cap: 11px; --t-lead: 18px; --t-body: 16px; --t-small: 14px;
  --h1: clamp(2rem, min(3.5vw, 7svh), 3.8rem);
  --h3s: clamp(1.2rem, min(1.5vw, 2.6svh), 1.42rem);
}
@media (max-width: 719px) { :root { --hdr-h: 56px; --t-lab: 11px; --t-cap: 10.5px; --t-lead: 16px; --t-body: 15px; --t-small: 13.5px; --h3s: 1.18rem; } }

/* ---------- type roles: Plex Sans for reading, Plex Mono only for labels ---------- */
.lab { display: flex; align-items: center; gap: 10px; font: 500 var(--t-lab)/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.lab::before { content: ''; width: 8px; height: 8px; flex: none; border-radius: 1px; background: var(--volt); }
.scr--dark .lab { color: var(--light-2); }
.cap { font: 500 var(--t-cap)/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.scr--dark .cap, .con--dark .cap { color: var(--light-2); }
.lead { font: 400 var(--t-lead)/1.5 var(--sans); color: var(--ink-2); }
.scr--dark .lead { color: var(--light-2); }
.small { font: 400 var(--t-small)/1.5 var(--sans); }
.h2, .hero__title { font-weight: 500; letter-spacing: -.018em; line-height: 1.06; hyphens: manual; }
.h2 > span, .hero__title > span { display: block; }
.h2 > span + span, .hero__title > span + span { margin-top: .1em; }
/* the second line of a title sits on a strip of label tape: the one accent, never italic */
.h2 em, .hero__title em { font-style: normal; color: var(--volt-ink); background: var(--volt); padding: 0 .16em; margin-left: -.16em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px;
  border: 1px solid var(--volt); border-radius: var(--r); background: var(--volt); color: var(--volt-ink); font: 500 15px/1.1 var(--sans); letter-spacing: .005em;
  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; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: #fff; opacity: 0; transition: opacity .25s ease; }
.btn:hover::after { opacity: .22; }
.btn:active { transform: scale(.97); }
.btn--line { background: transparent; color: inherit; border-color: currentColor; }
.btn--line::after { background: currentColor; }
.btn--line:hover::after { opacity: .1; }

/* ---------- wordmark (type only: they have no logo) ---------- */
.wm { display: inline-flex; flex-direction: column; gap: .34em; color: var(--ink); line-height: 1; }
.wm__name { font: 600 1em/1 var(--sans); letter-spacing: -.02em; white-space: nowrap; }
.wm__line { font: 500 .34em/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }

/* ---------- header ---------- */
.hdr { 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);
  background: rgba(222, 220, 215, .96); color: var(--ink); border-bottom: 1px solid rgba(31, 34, 37, .08); }
.hdr__logo { display: block; text-decoration: none; font-size: 20px; transition: opacity .35s ease, transform .35s ease; }
.hdr.has-crest .hdr__logo { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.hdr__nav { display: flex; gap: 26px; margin-left: auto; }
.hdr__nav a { text-decoration: none; font: 500 14px/1 var(--sans); color: var(--ink-2); padding: 10px 0; transition: color .2s ease; }
.hdr__nav a:hover { color: var(--ink); }
.hdr__ask { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 14px; border: 1px solid var(--ink); border-radius: var(--r);
  background: transparent; font: 500 14px/1 var(--sans); color: var(--ink); white-space: nowrap; }
.hdr__ask svg { width: 18px; height: 18px; }
.hdr__ask:hover { background: var(--volt); border-color: var(--volt); }
@media (max-width: 899px) { .hdr__nav { display: none; } .hdr__ask { margin-left: auto; } }
@media (max-width: 719px) { .hdr__logo { font-size: 17px; } .hdr__ask { min-height: 40px; padding: 0 12px; } }

/* ---------- hero: the board on the left, their words on the right ---------- */
.hero { position: relative; min-height: 100svh; padding: var(--hdr-h) var(--gut) 0; display: grid; grid-template-columns: auto minmax(0, 1fr);
  align-items: center; column-gap: clamp(24px, 4.4vw, 84px); background: var(--wall); color: var(--ink); overflow: hidden; overflow-anchor: none; }
.hero__say { max-width: 640px; padding: 28px 0; }
.wm--crest { font-size: clamp(34px, 3.4vw, 52px); }
.hero__label { margin-top: clamp(26px, 5svh, 52px); }
.hero__title { font-size: var(--h1); margin-top: 12px; }
.hero__title em { line-height: 1.16; }
.hero__line { max-width: 40ch; margin-top: 20px; }
.hero__status { margin-top: 12px; font: 500 var(--t-small)/1.4 var(--sans); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 4.4svh, 40px); }
.dev { --devh: min(calc(100svh - var(--hdr-h) - 12px), 62vw, 1060px); --devw: calc(var(--devh) * .8); position: relative; width: var(--devw); height: var(--devh);
  align-self: end; justify-self: start; margin-left: calc(var(--gut) * -.4); }
.dev picture { display: contents; }
.dev__still, .dev__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dev__vid { opacity: 0; transition: opacity .25s linear;
  /* decoders shift the ground by 1–2 levels: the edges fade into the exact still underneath */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent), linear-gradient(180deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent), linear-gradient(180deg, transparent, #000 3%, #000 97%, transparent); mask-composite: intersect; }
.dev.has-vid .dev__vid { opacity: 1; }
.dev__ui { position: absolute; inset: 0; pointer-events: none; }
.dev__ui > * { pointer-events: auto; }
.dev__main { position: absolute; z-index: 3; width: 15%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 0; border-radius: 50%; background: none; padding: 0; }
.dev__main i { position: absolute; inset: 14%; border-radius: 50%; }
.dev__main i::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--volt); opacity: 0; transform: scale(.7); }
.dev.is-ready .dev__main i::after { animation: ring 1.8s ease-out 3; }
.dev.is-ready.is-off .dev__main i::after { animation-play-state: paused; }
@keyframes ring { 0% { opacity: 0; transform: scale(.7); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.4); } }
.dev__main:hover i::after { opacity: 1; transform: scale(1.05); transition: transform .3s ease, opacity .3s ease; }
.dev__hint { position: absolute; font: 500 var(--t-cap)/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .5s ease; }
.dev.is-ready .dev__hint { opacity: 1; }
@media (max-width: 899px) { .dev__hint { display: none; } }

/* outlets: one row of the board each; the label tape on its paper strip lights up when the row switches on */
.out { position: absolute; z-index: 1; border: 0; padding: 0; background: none; text-align: left; }
.out::after { content: ''; position: absolute; left: -1.2%; right: -1.2%; top: 34%; bottom: -6%; border: 1.5px solid transparent; border-radius: 3px; transition: border-color .25s ease; }
.out__tape { position: absolute; left: 1.4%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: .5em; padding: .34em .6em .34em .5em;
  font: 500 clamp(9.5px, calc(var(--devw) * .021), 13.5px)/1.15 var(--mono); letter-spacing: clamp(.02em, calc(var(--devw) * .00145), .07em); text-transform: uppercase; white-space: nowrap;
  color: rgba(31, 34, 37, .4); isolation: isolate; transition: color .3s ease; }
.out__tape::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--volt); border-radius: 1px; box-shadow: 0 1px 0 rgba(0, 0, 0, .28);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s cubic-bezier(.3, .8, .2, 1); }
.out__t { white-space: nowrap; }
.out__led { width: .62em; height: .62em; flex: none; border-radius: 50%; background: rgba(31, 34, 37, .22); transition: background-color .3s ease, box-shadow .3s ease; }
.out.is-on .out__tape { color: var(--volt-ink); }
.out.is-on .out__tape::before { transform: scaleX(1); }
.out.is-on .out__led { background: #27c45f; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 0 6px rgba(39, 196, 95, .9); }
@media (hover: hover) and (pointer: fine) {
  .out:hover::after { border-color: rgba(255, 200, 20, .85); }
  .out:hover .out__tape { color: var(--ink); }
}

/* phone + portrait tablet: wordmark, title, the board, two doors */
@media (max-width: 899px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "logo" "title" "dev" "btns"; padding: calc(var(--hdr-h) + 8px) 0 14px; align-content: start; row-gap: 0; }
  .hero__say { display: contents; }
  .crest { grid-area: logo; padding: 0 var(--gut); }
  .wm--crest { font-size: clamp(22px, 6.4vw, 32px); }
  .hero__line { display: none; }
  .hero__label { grid-area: logo; justify-self: end; align-self: end; max-width: 42%; margin: 0 var(--gut) 1px 0; text-align: right; font-size: 9.5px; line-height: 1.5; letter-spacing: .12em; }
  .hero__label::before { display: none; }
  .hero__title { grid-area: title; margin: 14px var(--gut) 0; font-size: clamp(1.5rem, 7.1vw, 2.5rem); }
  .hero__status { grid-area: btns; margin: 0 var(--gut) 8px; }
  .dev { grid-area: dev; --devh: min(125vw, calc(100svh - var(--hdr-h) - 214px)); justify-self: center; align-self: start; margin: 4px 0 0; }
  .hero__btns { grid-area: btns; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); padding: 0 var(--gut); margin-top: 8px; }
  .hero__btns .btn { padding: 0 12px; }
}

/* ---------- 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.4vw, 5.6svh), 3.5rem);
}
@media (max-width: 899px) { :root { --scr-b: 28px; } }
@media (max-width: 719px) { main > section { scroll-margin-top: var(--hdr-h); } :root { --scr-t: 26px; --h2s: clamp(1.85rem, 8.2vw, 2.4rem); } }
main .h2 { font-size: var(--h2s); }
main > section.scr { padding-top: var(--scr-t); padding-bottom: var(--scr-b); }
@media (min-width: 900px) { main > section.scr { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; } }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.scr--paper { background: var(--paper); color: var(--ink); }
.scr--wall { background: var(--wall); color: var(--ink); }
.scr--dark { background: var(--graphite); color: var(--light); }
.scr .h2 { margin-top: 10px; }
.scr .lead { margin-top: 14px; max-width: 44ch; }

.ticks li { position: relative; padding-left: 30px; margin-top: 10px; font: 400 var(--t-body)/1.45 var(--sans); }
.ticks li::before { content: ''; position: absolute; left: 0; top: .12em; width: 18px; height: 18px; border-radius: 2px; background: var(--volt); }
.ticks li::after { content: ''; position: absolute; left: 3px; top: calc(.12em + 3px); width: 12px; height: 12px; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4.5 12.5 4.8 4.8L19.5 7' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4.5 12.5 4.8 4.8L19.5 7' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ---------- console (inquiry) ---------- */
.con { position: relative; border-radius: var(--r); padding: 20px 22px 22px; display: flex; flex-direction: column; min-height: 420px; }
.con--dark { background: var(--graphite); color: var(--light); box-shadow: 0 30px 60px -30px rgba(31, 34, 37, .5); }
.con__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 10px; min-height: 36px; }
.con__back { width: 36px; height: 36px; margin-left: -8px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; }
.con__back svg { width: 20px; height: 20px; }
.con__back:hover { background: rgba(255, 255, 255, .1); }
.con__back[hidden] + .con__role { grid-column: 1 / 3; }
.con__role { font: 500 var(--h3s)/1.2 var(--sans); min-width: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.con__step { white-space: nowrap; }
/* progress = a row of four small breakers that switch on step by step */
.meter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 14px 0 18px; }
.meter i { display: grid; gap: 6px; font-style: normal; min-width: 0; }
.meter b { display: block; height: 6px; border-radius: 1px; background: var(--graphite-3); transition: background-color .4s ease, box-shadow .4s ease; }
.meter span { font: 500 9.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--light-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meter .is-on b { background: var(--volt); }
.meter .is-now b { background: linear-gradient(90deg, var(--volt) 0 30%, var(--graphite-3) 30%); }
.meter .is-on span, .meter .is-now span { color: var(--light); }
.con__body { flex: 1; display: flex; flex-direction: column; }
.con__q { font: 500 var(--h3s)/1.25 var(--sans); }
.con__hint { margin-top: 6px; font: 400 var(--t-small)/1.45 var(--sans); color: var(--light-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { min-height: 36px; padding: 0 12px; border: 1px solid rgba(236, 235, 231, .22); border-radius: var(--r); background: transparent; font: 500 13.5px/1 var(--sans); color: var(--light); transition: background-color .2s ease, border-color .2s ease; }
.chip:hover { border-color: var(--volt); }
.chip.is-on { background: var(--volt); border-color: var(--volt); color: var(--volt-ink); }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.opt { min-height: 52px; padding: 12px 14px; text-align: left; border-radius: var(--r); font: 400 15px/1.3 var(--sans);
  border: 1px solid rgba(236, 235, 231, .2); background: rgba(236, 235, 231, .04); transition: border-color .2s ease, background-color .2s ease; }
.opt:hover { border-color: rgba(255, 200, 20, .8); }
.opt.is-on { border-color: var(--volt); background: rgba(255, 200, 20, .16); }
.opts--sm .opt { min-height: 44px; padding: 9px 12px; font-size: 14px; }
.form { display: grid; gap: 14px; margin-top: 14px; }
.field { display: grid; gap: 4px; }
.field > span { font: 500 var(--t-cap)/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--light-2); }
.field input { width: 100%; min-width: 0; border: 0; border-bottom: 1px solid rgba(236, 235, 231, .35); background: transparent; padding: 8px 0 9px; font: 400 17px/1.3 var(--sans); border-radius: 0; }
.field input::placeholder { color: rgba(236, 235, 231, .35); }
.field input:focus { outline: 0; border-bottom-color: var(--volt); }
.con__go { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.con__go .btn { flex: 1 1 auto; }
.con__go .btn--line { color: var(--light); }
.con__err { font: 400 var(--t-small)/1.4 var(--sans); color: var(--volt-2); flex-basis: 100%; }
.ticket { border: 1px dashed rgba(236, 235, 231, .35); border-radius: var(--r); padding: 14px 16px; }
.ticket__t { display: flex; align-items: center; gap: 10px; font: 500 var(--h3s)/1.25 var(--sans); }
.ticket__t svg { width: 22px; height: 22px; color: #27c45f; flex: none; }
.ticket 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); }
.ticket dt { color: var(--light-2); }
.ticket dd { min-width: 0; overflow-wrap: anywhere; }
.ticket__note { margin-top: 12px; font: 400 var(--t-small)/1.45 var(--sans); color: var(--light-2); }
.ticket__note b { color: var(--light); font-weight: 500; }
.photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.photos__add { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border: 1px dashed rgba(236, 235, 231, .45); border-radius: var(--r); cursor: pointer; font: 500 15px/1.2 var(--sans); }
.photos__add:hover { border-color: var(--volt); }
.photos__add svg { width: 22px; height: 22px; color: var(--volt); }
.photos__add input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.photos__th { width: 64px; height: 64px; border-radius: var(--r); object-fit: cover; background: var(--graphite-2); }
.photos__note { margin-top: 10px; font: 400 var(--t-small)/1.45 var(--sans); color: var(--light-2); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

/* ---------- Anfrage ---------- */
.anfrage__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: clamp(28px, 5vw, 88px); align-items: center; }
.anfrage__helps { margin-top: clamp(18px, 3.4svh, 30px); max-width: 46ch; }
.anfrage__to { margin-top: clamp(16px, 3svh, 26px); color: var(--ink-2); }

/* ---------- Leistungen (dark): the four fields, a close-up of the board each ---------- */
.leist__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.leist__list { display: grid; margin-top: clamp(18px, 3.4svh, 30px); border-top: 1px solid var(--graphite-3); }
.ls { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; min-height: 54px; padding: 12px 4px; border: 0; border-bottom: 1px solid var(--graphite-3);
  background: none; text-align: left; color: var(--light-2); transition: color .2s ease; }
.ls__t { font: 500 clamp(17px, 1.4vw, 20px)/1.2 var(--sans); padding: 2px 7px; margin-left: -7px; border-radius: 1px; transition: background-color .3s ease, color .3s ease; }
.ls__s { font: 500 10.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--light-2); }
.ls:hover { color: var(--light); }
.ls[aria-selected="true"] { color: var(--light); }
.ls[aria-selected="true"] .ls__t { background: var(--volt); color: var(--volt-ink); }
.row { margin: 0; }
.row__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: var(--graphite-2); }
.row__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s ease; }
.row__img.is-out { opacity: 0; }
.row__cap { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 16px; }
.row__line { max-width: 46ch; min-height: 3em; font: 400 var(--t-lead)/1.5 var(--sans); color: var(--light); }

/* ---------- Kontakt (wall) ---------- */
.kontakt__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.main { position: relative; width: min(100%, calc(var(--scr-h) - 10px), 600px); aspect-ratio: 1; justify-self: center; }
.main__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.kontakt__who { margin-top: 12px; }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 18px; margin-top: clamp(16px, 3svh, 26px); font: 400 var(--t-body)/1.45 var(--sans); }
.facts dt { font: 500 var(--t-cap)/2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { min-width: 0; overflow-wrap: anywhere; }
.kontakt__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3.6svh, 34px); }
.kontakt__route { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px; font: 500 var(--t-small)/1.3 var(--sans); color: var(--ink); text-underline-offset: 4px; text-decoration-color: rgba(31, 34, 37, .35); }
.kontakt__route svg { width: 18px; height: 18px; flex: none; }
.kontakt__route:hover { text-decoration-color: var(--ink); }

/* ---------- footer ---------- */
.ftr { background: var(--graphite); color: var(--light-2); padding-top: 8px; }
.ftr__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; }
.ftr__links { display: flex; gap: 22px; }
.ftr a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(162, 166, 170, .5); }
.ftr a:hover { color: var(--light); }
.ftr .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); color: var(--light); font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.note__tab:hover { background: var(--graphite-3); }
.note { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(20, 22, 24, .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 > p:first-child { padding-right: 36px; }
.note__panel .btn--line { 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(32, 35, 38, .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(--volt); color: var(--volt-ink); font: 500 15px/1 var(--sans); }
  .dock__mail { display: grid; place-items: center; height: 48px; border: 1px solid rgba(236, 235, 231, .5); border-radius: var(--r); color: var(--light); }
  .dock__mail svg { width: 20px; height: 20px; }
  .dock__note { min-height: 48px; padding: 0 10px; border: 0; background: none; color: var(--light-2); font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
  main > section:last-of-type { padding-bottom: calc(var(--scr-b) + 20px); }
  .ftr { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* ---------- tablets and phones ---------- */
@media (max-width: 1100px) and (min-width: 900px) {
  .anfrage__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 430px); }
  .row__cap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 899px) {
  .anfrage__grid, .leist__grid, .kontakt__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .con { min-height: 0; }
  .main { width: 100%; aspect-ratio: auto; height: clamp(150px, 26svh, 260px); justify-self: stretch; }
  .main__img { object-position: 40% 45%; }
}
@media (max-width: 719px) {
  .anfrage__lead, .anfrage__helps, .anfrage__to { display: none; }
  .con { padding: 16px 16px 18px; }
  .meter { margin: 12px 0 14px; }
  .leist__grid { gap: 10px; }
  .leist__say { display: contents; }
  .leist__say > .lab { order: 1; } .leist__say > .h2 { order: 2; margin-top: 4px; } .leist__lead { display: none; }
  .leist__list { order: 3; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 2px; border: 0; }
  .ls { min-height: 44px; padding: 8px 10px; border: 1px solid var(--graphite-3); border-radius: var(--r); }
  .ls__s { display: none; }
  .ls__t { font-size: 14.5px; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; min-width: 0; }
  .row { order: 4; }
  .row__frame { aspect-ratio: auto; height: min(56.25vw - 18px, 27svh); }
  .row__cap { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 8px; }
  .row__line { min-height: 0; font-size: var(--t-body); }
  .kontakt__who { margin-top: 8px; }
  .facts { gap: 2px 14px; margin-top: 12px; font-size: var(--t-small); }
  .kontakt__btns { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); margin-top: 16px; }
  .kontakt__btns .btn { padding: 0 10px; }
  .kontakt__grid > .main { order: 0; height: clamp(120px, 21svh, 200px); }
  .kontakt__grid { gap: 14px; }
  .ftr__row { flex-direction: column; }
}

/* ---------- motion states ---------- */
.js .wm--crest, .js .hero__label, .js .hero__title, .js .hero__line, .js .hero__btns { opacity: 0; }
.no-anim .wm--crest, .no-anim .hero__label, .no-anim .hero__title, .no-anim .hero__line, .no-anim .hero__btns,
.is-static .wm--crest, .is-static .hero__label, .is-static .hero__title, .is-static .hero__line, .is-static .hero__btns { opacity: 1 !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.show-s { display: none; }
@media (max-width: 719px) { .hide-s { display: none; } .show-s { display: inline; } }
/* VCSLV credit — one quiet line under the footer. Takes the footer's colour and font; the mark is vector
   (Onest 700 outlines, no font download). Only the dot carries our terracotta. */
.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;
  /* always a full-width line of its own, even inside a footer grid or flex row */
  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; } }
