/* Dentaltechnik Humula Bizour Ebner · Pitch wedolegacy
   Prinzip „Punkt für Punkt“: das Quadrat aus dem Logo (Zahn aus Pixeln) setzt zusammen,
   deckt auf, markiert, ordnet. Schrift Instrument Sans (Breitenachse), Farben aus dem Logo. */
@font-face { font-family: "Instrument Sans"; src: url("../assets/fonts/instrument-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap; }

:root {
  --paper: #F5F3EF; --white: #FFFFFF; --ink: #0D1B2A; --ink2: #4B5866; --ink3: #59646F;
  --blue: #00437A; --blue2: #0B5A9C; --night: #071E36; --night2: #0C2A48; --ivory: #E8DCC6;
  --line: rgba(13, 27, 42, .14); --lineW: rgba(255, 255, 255, .18);
  --m1: #00437A; --m2: #29649A; --m3: #5B88B4; --m4: #8DADCD; --m5: #BACDE0; --m6: #DCE4EC;
  --g: clamp(20px, 4.4vw, 64px); --max: 1360px;
  --ease: cubic-bezier(.22, .61, .2, 1); --out: cubic-bezier(.16, 1, .3, 1);
  --hd: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; overflow-x: clip; scroll-padding-top: var(--hd); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 "Instrument Sans", system-ui, sans-serif; font-stretch: 100%; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--blue2); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--g); }
.sq { display: inline-block; width: .5em; height: .5em; background: currentColor; flex: none; }

/* ---------- Typo ---------- */
.h2 { font-size: clamp(36px, 5.2vw, 76px); line-height: .98; font-weight: 560; font-stretch: 78%; letter-spacing: -.012em; text-wrap: balance; }
.big { font-size: clamp(26px, 3.1vw, 46px); line-height: 1.16; font-weight: 450; font-stretch: 86%; letter-spacing: -.008em; max-width: 30ch; text-wrap: pretty; }
.kicker, .site__k, .map__lbl, .map__quick span { font-size: 12px; line-height: 1.4; font-weight: 550; letter-spacing: .16em; text-transform: uppercase; }
.ch { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(28px, 4vw, 56px); font-size: 12px; font-weight: 550; letter-spacing: .16em; text-transform: uppercase; }
.ch i { width: 9px; height: 9px; background: var(--blue); }
.ch span { color: var(--ink3); font-variant-numeric: tabular-nums; }
.ch b { font-weight: 550; }
.ch::after { content: ""; flex: 1; height: 1px; background: var(--line); }
[data-theme="dark"] .ch i, .ch--w i { background: var(--ivory); }
[data-theme="dark"] .ch span, .ch--w span { color: rgba(255,255,255,.6); }
[data-theme="dark"] .ch::after, .ch--w::after { background: var(--lineW); }

/* Redaktioneller Verweis statt Pillen-Button */
.lk { display: inline-flex; align-items: center; gap: 12px; padding: 12px 0 10px; border-bottom: 1px solid currentColor; font-size: 12px; line-height: 1.2; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.lk::after { content: ""; width: 26px; height: 9px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 9'%3E%3Cpath d='M0 4.5h24M20 .8l4 3.7-4 3.7' fill='none' stroke='%23000' stroke-width='1.2'/%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 26 9'%3E%3Cpath d='M0 4.5h24M20 .8l4 3.7-4 3.7' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .5s var(--out); }
.lk:hover::after { transform: translateX(5px); }
.lk--tel::after { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transition: background .3s; }
.btn:hover { background: #000; }

/* ---------- Header ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hd); color: var(--ink); transition: transform .5s var(--ease), background-color .4s, color .4s, box-shadow .4s; }
.hd__in { max-width: var(--max); height: 100%; margin: 0 auto; padding: 0 var(--g); display: flex; align-items: center; gap: 28px; }
.hd.is-solid { background: rgba(245, 243, 239, .94); box-shadow: 0 1px 0 var(--line); }
.hd.is-hidden { transform: translateY(-100%); }
.hd__logo { position: relative; width: 84px; flex: none; transition: opacity .45s, transform .6s var(--out); }
.hd__logo img { width: 84px; height: auto; }
.hd__logo .w { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.hd.is-top .hd__logo { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { position: relative; font-size: 14px; font-weight: 500; text-decoration: none; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--out); }
.nav a:hover::after, .nav a.is-on::after { transform: scaleX(1); }
.hd__tel { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hd__tel .sq { width: 7px; height: 7px; color: var(--blue); }
.lang { display: flex; gap: 2px; }
.lang button { min-width: 30px; min-height: 30px; font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--ink3); border-bottom: 1px solid transparent; }
.lang button[aria-pressed="true"] { color: var(--ink); border-bottom-color: currentColor; }
.burger { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; }
.burger i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .45s var(--out); }
.burger i:first-of-type { top: 18px; } .burger i:last-of-type { top: 25px; }
.burger[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
.hd.on-dark { color: #fff; }
.hd.on-dark.is-solid { background: rgba(7, 30, 54, .94); box-shadow: 0 1px 0 var(--lineW); }
.hd.on-blue { color: #fff; }
.hd.on-blue.is-solid { background: rgba(0, 67, 122, .96); box-shadow: 0 1px 0 var(--lineW); }
.hd.on-dark .hd__logo .w, .hd.on-blue .hd__logo .w { opacity: 1; }
.hd.on-dark .hd__logo img:first-child, .hd.on-blue .hd__logo img:first-child { opacity: 0; }
.hd.on-dark .lang button, .hd.on-blue .lang button { color: rgba(255,255,255,.66); }
.hd.on-dark .lang button[aria-pressed="true"], .hd.on-blue .lang button[aria-pressed="true"] { color: #fff; }
.hd.on-dark .hd__tel .sq, .hd.on-blue .hd__tel .sq { color: var(--ivory); }

.menu { position: fixed; inset: 0; z-index: 45; background: var(--paper); padding: calc(var(--hd) + 16px) var(--g) 28px; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.menu nav a { display: grid; grid-template-columns: 1fr auto; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; opacity: 0; transform: translateY(14px); animation: mIn .55s var(--out) forwards; animation-delay: calc(var(--i, 0) * 45ms + 60ms); }
.menu nav a b { font-size: 34px; line-height: 1.05; font-weight: 560; font-stretch: 78%; }
.menu nav a small { grid-row: 2; color: var(--ink3); font-size: 14px; }
.menu nav a span { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 12px; color: var(--ink3); letter-spacing: .12em; }
.menu__foot { margin-top: auto; padding-top: 24px; display: grid; gap: 8px; font-weight: 600; }
.menu__foot a { text-decoration: none; }
@keyframes mIn { to { opacity: 1; transform: none; } }

/* ---------- Pixel-Raster (Reveal) ---------- */
.px { position: relative; overflow: hidden; background: var(--ivory); }
.px img { width: 100%; height: 100%; object-fit: cover; }
.pxg { position: absolute; inset: -1px; display: grid; grid-template-columns: repeat(var(--c), 1fr); grid-template-rows: repeat(var(--r), 1fr); pointer-events: none; z-index: 2; }
.pxg i { background: var(--pc, var(--paper)); transition: opacity .5s var(--ease) var(--d), transform .6s var(--out) var(--d); }
.pxg.is-open i { opacity: 0; transform: scale(.4); }
.pxg.is-done { visibility: hidden; }
.pxg--hero i { background: var(--paper); animation: pxOut .6s var(--out) var(--d) both; }
@keyframes pxOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(.4); } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); grid-template-rows: 1fr auto; background: var(--paper); }
.hero__mast { font: inherit; }
.hero__copy { padding: calc(var(--hd) + clamp(16px, 4vh, 48px)) var(--g) 36px; padding-left: max(var(--g), calc((100vw - var(--max)) / 2 + var(--g))); display: flex; flex-direction: column; justify-content: center; gap: 0; }
.mast { width: clamp(200px, 19vw, 310px); height: auto; overflow: visible; }
.mast__w, .mast__t path { fill: var(--blue); }
.mast__t path { transform-box: fill-box; transform-origin: center; animation: fly 1.15s var(--out) var(--d) backwards; }
@keyframes fly { from { transform: translate(var(--x), var(--y)) scale(.3); opacity: 0; } 30% { opacity: 1; } }
.hero .kicker { margin-top: clamp(28px, 5vh, 56px); color: var(--ink2); max-width: 46ch; }
.hero__claim { margin-top: 12px; font-size: clamp(42px, 4.3vw, 66px); line-height: .98; font-weight: 560; font-stretch: 78%; letter-spacing: -.012em; }
.hero__claim span { display: block; animation: up .9s var(--out) both; }
.hero__claim i { display: inline-block; width: .15em; height: .15em; margin-left: .07em; background: var(--blue); animation: sqIn .55s var(--out) both; animation-delay: calc(.55s + var(--n, 0) * .12s); }
.hero__claim span:nth-child(2) { animation-delay: .08s; --n: 1; } .hero__claim span:nth-child(3) { animation-delay: .16s; --n: 2; }
@keyframes up { from { transform: translateY(.35em); } }
@keyframes sqIn { from { transform: scale(0); } }
.hero__sub { margin-top: 16px; font-size: clamp(17px, 1.35vw, 20px); color: var(--ink2); max-width: 34ch; }
.hero__act { display: flex; flex-wrap: wrap; gap: 6px 34px; margin-top: 24px; }
.hero__fig { position: relative; grid-row: 1 / 3; grid-column: 2; display: flex; flex-direction: column; }
.hero__ph { position: relative; flex: 1; min-height: 520px; overflow: hidden; background: var(--ivory); }
.hero__ph picture, .hero__ph img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__ph img { object-fit: cover; object-position: 14% 28%; animation: heroImg 1.6s var(--out) .15s both; }
@keyframes heroImg { from { opacity: .01; transform: scale(1.06); } }
.hero__fig figcaption { position: absolute; left: 24px; bottom: 22px; z-index: 3; display: flex; flex-direction: column; gap: 2px; color: #fff; font-size: 13px; font-weight: 500; text-shadow: 0 1px 12px rgba(0,0,0,.35); animation: fade 1s ease 1.3s both; }
.hero__fig figcaption span:last-child { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
@keyframes fade { from { opacity: 0; } }
.facts { grid-column: 1; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; padding: 22px var(--g) 30px; padding-left: max(var(--g), calc((100vw - var(--max)) / 2 + var(--g))); border-top: 1px solid var(--line); animation: fade 1s ease 1.1s both; }
.facts li { display: flex; flex-direction: column; padding-right: clamp(14px, 1.8vw, 28px); margin-right: clamp(14px, 1.8vw, 28px); border-right: 1px solid var(--line); }
.facts li:last-child { border: 0; margin: 0; }
.facts b { font-size: 22px; line-height: 1.1; font-weight: 560; font-stretch: 82%; white-space: nowrap; }
.facts span { font-size: 12px; line-height: 1.35; color: var(--ink3); max-width: 13ch; }

/* ---------- Labor ---------- */
.labor { background: var(--white); padding: clamp(96px, 13vw, 180px) 0 clamp(80px, 10vw, 150px); }
.labor .big { color: var(--ink); }
.labor__cols { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 96px); margin-top: clamp(64px, 8vw, 120px); padding-top: 28px; border-top: 1px solid var(--line); }
.labor__txt { display: grid; gap: 1em; color: var(--ink2); max-width: 62ch; }
.names__h { margin-top: clamp(80px, 10vw, 140px); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; font-weight: 560; font-stretch: 80%; }
.names { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.4vw, 36px); margin-top: 28px; }
.names .px { aspect-ratio: 760 / 975; }
.names .px img { transition: transform 1.7s var(--ease); will-change: transform; }
.names li:hover .px img { transform: scale(1.035); }
.names__w { width: min(190px, 70%); height: auto; margin-top: 22px; }
.names__w use { fill: var(--blue); }
.names__w use.g { fill: var(--blue); opacity: .13; }
.names p { display: flex; flex-direction: column; margin-top: 14px; }
.names p b { font-weight: 600; }
.names p span { font-size: 14px; color: var(--ink3); }
.film { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: clamp(20px, 3vw, 48px); width: 100%; margin-top: clamp(80px, 10vw, 140px); text-align: left; }
.film__ph { position: relative; display: block; aspect-ratio: 1280 / 540; overflow: hidden; background: var(--night); }
.film__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.7s var(--ease); will-change: transform; }
.film:hover .film__ph img { transform: scale(1.03); }
.film__play { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; background: var(--white); transition: transform .5s var(--out); }
.film__play::after { content: ""; position: absolute; left: 32px; top: 27px; border-left: 18px solid var(--blue); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.film:hover .film__play { transform: scale(1.08); }
.film__t { display: flex; flex-direction: column; gap: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.film__t b { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.05; font-weight: 560; font-stretch: 80%; }
.film__t small { font-size: 14px; color: var(--ink3); padding-bottom: 10px; }

/* ---------- Leistungen ---------- */
.leist { background: var(--paper); padding: clamp(96px, 12vw, 170px) 0; }
.leist__head, .wf__head, .ort__head, .team__head { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 80px); align-items: end; }
.leist__head p, .ort__head p, .team__head p { color: var(--ink2); max-width: 46ch; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px 26px; margin: clamp(40px, 5vw, 64px) 0 28px; border-bottom: 1px solid var(--line); }
.tabs button { position: relative; padding: 12px 0 14px; font-size: 14px; font-weight: 500; color: var(--ink3); transition: color .3s; }
.tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--out); }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.tabs button small { margin-left: 6px; font-size: 11px; color: var(--ink3); font-variant-numeric: tabular-nums; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 32px) clamp(14px, 1.8vw, 28px); }
.card { position: relative; transition: opacity .45s var(--ease), transform .55s var(--out); }
.card.is-out { opacity: 0; transform: translateY(14px) scale(.985); }
.card__a { display: block; width: 100%; text-align: left; text-decoration: none; }
.card .px { aspect-ratio: 4 / 3; }
.card .px img { transition: opacity .5s, transform 1.7s var(--ease); will-change: transform; backface-visibility: hidden; }
.card:hover .px img { transform: scale(1.04); }
.card__n { position: absolute; left: 0; top: 0; z-index: 3; min-width: 38px; padding: 9px 10px; background: var(--paper); font-size: 12px; font-weight: 600; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.card h3 { margin-top: 16px; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.1; font-weight: 560; font-stretch: 82%; }
.card p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink2); padding-right: 48px; }
.card__add { position: absolute; right: 0; bottom: 0; width: 40px; height: 40px; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, border-color .3s, color .3s; }
.card__add::before, .card__add::after { content: ""; position: absolute; width: 12px; height: 1.5px; background: currentColor; transition: transform .45s var(--out); }
.card__add::after { transform: rotate(90deg); }
.card__add[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.card__add[aria-pressed="true"]::before { transform: translate(-3px, 2px) rotate(45deg); width: 7px; }
.card__add[aria-pressed="true"]::after { transform: translate(3px, 0) rotate(-45deg); width: 13px; }
.card__add:hover { border-color: var(--ink); }

/* ---------- Workflow ---------- */
.wf { background: var(--night); color: #fff; padding: clamp(96px, 12vw, 170px) 0 clamp(80px, 10vw, 140px); }
.wf .h2 { color: #fff; }
.wf__head p { color: rgba(255,255,255,.72); max-width: 52ch; }
.wf__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); margin-top: clamp(56px, 7vw, 100px); }
.wf__stage { position: sticky; top: calc(var(--hd) + 4vh); align-self: start; }
.wf__vid { position: relative; aspect-ratio: 960 / 405; background: #000; overflow: hidden; }
.wf__vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.4s var(--out); }
.wf__vid video.is-on { opacity: 1; transform: none; }
.wf__src { position: absolute; right: 12px; bottom: 10px; z-index: 2; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.wf__meter { display: flex; align-items: flex-end; gap: 24px; margin-top: 26px; }
.wf__tooth { width: 100px; height: 110px; }
.wf__meter p { display: flex; align-items: baseline; gap: 6px; font-stretch: 80%; }
.wf__meter b { font-size: 64px; line-height: .9; font-weight: 560; font-variant-numeric: tabular-nums; }
.wf__meter span { color: rgba(255,255,255,.5); font-size: 18px; }
.wf__steps { display: grid; }
.wf__steps li { min-height: 46vh; padding: 28px 0 40px; border-top: 1px solid var(--lineW); }
.wf__steps li h3, .wf__steps li p { color: rgba(255,255,255,.56); transition: color .6s var(--ease); }
.wf__steps li:last-child { min-height: 30vh; }
.wf__steps li.is-on h3 { color: #fff; } .wf__steps li.is-on p { color: rgba(255,255,255,.8); }
.wf__i { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; color: rgba(255,255,255,.6); }
.wf__i::before { content: ""; width: 8px; height: 8px; background: var(--ivory); transform: scale(.5); transition: transform .5s var(--out); }
.wf__steps li.is-on .wf__i::before { transform: none; }
.wf__steps h3 { margin-top: 14px; font-size: clamp(26px, 2.5vw, 38px); line-height: 1.05; font-weight: 560; font-stretch: 80%; }
.wf__steps p { margin-top: 14px; max-width: 44ch; }

/* ---------- Logistik (vollflächig Blau) ---------- */
.log { background: var(--blue); color: #fff; padding: clamp(96px, 12vw, 170px) 0; }
.log__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: end; }
.log__q { font-size: clamp(30px, 3.6vw, 54px); line-height: 1.08; font-weight: 520; font-stretch: 80%; letter-spacing: -.01em; text-wrap: balance; }
.log__p { margin-top: 30px; color: rgba(255,255,255,.8); max-width: 58ch; }
.log__ppl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.log__ppl .px { aspect-ratio: 4 / 5; --pc: var(--blue); background: var(--blue2); }
.log__ppl p { display: flex; flex-direction: column; margin-top: 10px; font-size: 15px; }
.log__ppl p span { font-size: 13px; color: rgba(255,255,255,.7); }
.log__cap { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--lineW); font-size: 15px; color: rgba(255,255,255,.85); }

/* ---------- Karte ---------- */
.ort { background: var(--paper); padding: clamp(96px, 12vw, 170px) 0; }
.map { display: grid; grid-template-columns: minmax(280px, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.map__ctl { position: relative; z-index: 4; }
.map__lbl { display: block; color: var(--ink2); }
.map__in { position: relative; margin-top: 10px; }
.map__in input { width: 100%; height: 58px; padding: 0 16px; border: 1px solid var(--ink); background: var(--white); font-size: 19px; border-radius: 0; outline: none; }
.map__in input:focus { box-shadow: inset 0 0 0 1px var(--ink); }
.map__list { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; max-height: 300px; overflow-y: auto; background: var(--white); border: 1px solid var(--ink); border-top: 0; overscroll-behavior: contain; }
.map__list li { display: flex; gap: 12px; padding: 11px 16px; cursor: pointer; font-size: 15px; }
.map__list li b { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 3.2em; }
.map__list li small { margin-left: auto; color: var(--ink3); white-space: nowrap; }
.map__list li[aria-selected="true"], .map__list li:hover { background: var(--paper); }
.map__quick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 14px; }
.map__quick span { color: var(--ink3); font-size: 11px; }
.map__quick button { font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--line); padding: 4px 0; min-height: 30px; }
.map__quick button:hover { border-color: var(--ink); }
.map__res { margin-top: 30px; min-height: 230px; }
.map__hint { color: var(--ink2); max-width: 34ch; }
.res { animation: resIn .6s var(--out) both; }
@keyframes resIn { from { opacity: 0; transform: translateY(10px); } }
.res .res__k { margin: 0; font-size: 12px; font-weight: 550; letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); }
.res .res__place { margin-top: 6px; color: var(--ink); max-width: none; font-size: 26px; line-height: 1.15; font-weight: 560; font-stretch: 82%; }
.res__nums { display: flex; gap: 28px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.res__nums div { display: flex; flex-direction: column; }
.res__nums b { font-size: 46px; line-height: 1; font-weight: 560; font-stretch: 78%; font-variant-numeric: tabular-nums; }
.res__nums b small { font-size: 18px; margin-left: 3px; font-weight: 500; }
.res__nums span { font-size: 13px; color: var(--ink3); margin-top: 4px; }
.res p { margin-top: 18px; color: var(--ink2); font-size: 15px; max-width: 40ch; }
.res .lk { margin-top: 16px; }
.map__fig { position: relative; }
.map__svg { width: 100%; height: auto; aspect-ratio: 1032 / 544; overflow: visible; }
.map__cells rect { fill: var(--c); }
.map__cells.is-in path { animation: cellIn .9s var(--out) both; animation-delay: var(--d, 0s); }
@keyframes cellIn { from { opacity: 0; } }
.map__route rect { fill: var(--ink); animation: pop .35s var(--out) both; animation-delay: calc(var(--i) * 14ms); transform-box: fill-box; transform-origin: center; }
.map__route rect.dst { fill: none; stroke: var(--ink); stroke-width: 2; animation-duration: .6s; }
.map__route rect.dst2 { fill: #C2552E; }
@keyframes pop { from { transform: scale(0); } }
.map__labs rect { fill: #C2552E; }
.map__labs text { font: 600 15px "Instrument Sans", sans-serif; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }
.map__tip { position: absolute; z-index: 3; pointer-events: none; padding: 8px 11px; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.35; white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); }
.map__tip b { font-weight: 600; }
.map__leg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 18px; font-size: 13px; color: var(--ink2); }
.map__leg ol { display: flex; gap: 12px; }
.map__leg li { display: flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.map__leg li i { width: 11px; height: 11px; background: var(--c); }
.map__leg small { flex-basis: 100%; color: var(--ink3); font-size: 12px; }
.sites { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); margin-top: clamp(64px, 8vw, 110px); }
.site { padding-top: 22px; border-top: 1px solid var(--ink); display: grid; gap: 14px; align-content: start; }
.site__k { color: var(--ink3); }
.site h3 { font-size: clamp(30px, 3vw, 44px); line-height: 1; font-weight: 560; font-stretch: 78%; }
.site a { text-decoration: none; }
.site p:not(.site__k):not(.site__a) { color: var(--ink2); }
.site__a { display: flex; flex-wrap: wrap; gap: 6px 28px; }

/* ---------- Team ---------- */
.team { background: var(--white); padding: clamp(96px, 12vw, 170px) 0; }
.team__grp { margin-top: clamp(40px, 5vw, 72px); }
.team__grp .px { aspect-ratio: 1600 / 1050; --pc: var(--white); }
.ppl { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 26px 14px; }
.ppl li { transition: opacity .45s var(--ease), transform .55s var(--out); }
.ppl li.is-out { opacity: 0; transform: translateY(12px); }
.ppl .px { aspect-ratio: 4 / 5; --pc: var(--white); }
.ppl .px img { transition: opacity .5s, transform 1.6s var(--ease); will-change: transform; }
.ppl li:hover .px img { transform: scale(1.04); }
.ppl p { display: flex; flex-direction: column; margin-top: 10px; font-size: 15px; line-height: 1.3; }
.ppl p b { font-weight: 600; }
.ppl p span { font-size: 13px; color: var(--ink3); margin-top: 2px; }
.ppl p em { font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-top: 4px; }
.team__note { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink2); }

/* ---------- Kontakt + Footer ---------- */
.kontakt { background: var(--night); color: #fff; padding: clamp(96px, 12vw, 170px) 0 0; }
.kontakt__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 110px); }
.kontakt .h2 { color: #fff; }
.kontakt__p { margin-top: 22px; color: rgba(255,255,255,.75); max-width: 44ch; }
.kontakt__tel { display: block; margin-top: 40px; font-size: clamp(40px, 5vw, 76px); line-height: 1; font-weight: 560; font-stretch: 78%; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kontakt__mail { display: inline-block; margin-top: 14px; font-size: 19px; text-decoration: none; border-bottom: 1px solid var(--lineW); }
.kontakt__adr { margin-top: 44px; display: grid; gap: 14px; }
.kontakt__adr dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.kontakt__adr dd { margin: 2px 0 0; }
.form { position: relative; background: var(--paper); color: var(--ink); padding: clamp(24px, 3vw, 44px); display: grid; gap: 16px; align-content: start; }
.form h3 { font-size: 28px; line-height: 1.1; font-weight: 560; font-stretch: 80%; }
.form__type { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); }
.form__type label { position: relative; cursor: pointer; }
.form__type input { position: absolute; opacity: 0; }
.form__type span { display: block; padding: 10px 14px 12px 0; margin-right: 10px; font-size: 14px; color: var(--ink3); border-bottom: 2px solid transparent; transition: color .3s, border-color .3s; }
.form__type input:checked + span { color: var(--ink); border-bottom-color: var(--blue); }
.form__type input:focus-visible + span { outline: 2px solid var(--blue2); }
.form label { display: grid; gap: 6px; font-size: 13px; color: var(--ink2); }
.form input:not([type="radio"]), .form textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--line); background: var(--white); border-radius: 0; font-size: 16px; color: var(--ink); outline: none; transition: border-color .3s; }
.form input:focus, .form textarea:focus { border-color: var(--ink); }
.form textarea { resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__row label:last-child:nth-child(2) { }
.form__zettel { padding: 14px; background: var(--white); border: 1px solid var(--line); }
.form__zettel p { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.form__zettel ul { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.form__zettel li { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 500; }
.form__zettel li::before { content: ""; width: 7px; height: 7px; background: var(--blue); }
.form__zettel li button { width: 24px; height: 24px; color: var(--ink3); font-size: 16px; line-height: 1; }
.form__err { color: #A33A1C; font-size: 14px; }
.form .btn { justify-self: start; }
.form__note { font-size: 12px; color: var(--ink3); }
.form__ok { position: absolute; inset: 0; background: var(--paper); padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 14px; animation: resIn .6s var(--out) both; outline: none; }
.form__ok .sq { width: 18px; height: 18px; color: var(--blue); }
.form__ok h3 { font-size: 34px; }
.form__ok p { color: var(--ink2); max-width: 36ch; }
.ft { margin-top: clamp(80px, 10vw, 140px); padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--lineW); font-size: 14px; color: rgba(255,255,255,.7); }
.ft__grid { display: grid; grid-template-columns: auto 1fr 1fr auto; gap: 28px 48px; align-items: start; }
.ft img { width: 110px; height: auto; }
.ft a { text-decoration: none; border-bottom: 1px solid var(--lineW); }

/* ---------- Detail (Sheet) ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.sheet.is-open { visibility: visible; }
.sheet__bg { position: absolute; inset: 0; background: rgba(7, 30, 54, .5); opacity: 0; transition: opacity .5s var(--ease); }
.sheet.is-open .sheet__bg { opacity: 1; }
.sheet__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(720px, 100%); background: var(--paper); display: flex; flex-direction: column; overflow: hidden; transform: translateX(102%); transition: transform .7s var(--out); }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; }
.sheet__x { position: absolute; right: 14px; top: 14px; z-index: 5; width: 46px; height: 46px; background: var(--paper); }
.sheet__x i { position: absolute; left: 13px; right: 13px; top: 22px; height: 1.5px; background: var(--ink); transform: rotate(45deg); }
.sheet__x i + i { transform: rotate(-45deg); }
.dt .px { aspect-ratio: 16 / 10; --pc: var(--paper); }
.dt__in { padding: 30px clamp(22px, 4vw, 48px) 48px; }
.dt__tags { display: flex; gap: 14px; font-size: 12px; font-weight: 550; letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); }
.dt h2 { margin-top: 12px; font-size: clamp(38px, 4.4vw, 60px); line-height: 1; font-weight: 560; font-stretch: 78%; }
.dt__lead { margin-top: 18px; font-size: 20px; line-height: 1.45; color: var(--ink2); }
.dt__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 32px; }
.dt__cols h3 { font-size: 12px; font-weight: 550; letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.dt__cols li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.dt__cols li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; background: var(--blue); }
.dt__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 34px; }
.dt__act .btn[aria-pressed="true"] { background: var(--blue); }
.dt__share { display: flex; gap: 18px; font-size: 14px; }
.dt__share a, .dt__share button { border-bottom: 1px solid var(--line); text-decoration: none; padding: 4px 0; min-height: 30px; }
.dt__next { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 44px; padding: 20px 0 6px; border-top: 1px solid var(--ink); text-align: left; }
.dt__next span { font-size: 12px; font-weight: 550; letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); }
.dt__next b { font-size: 26px; font-weight: 560; font-stretch: 82%; }
.dt.is-swap { animation: resIn .5s var(--out) both; }

.kino { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; }
.kino__bg { position: absolute; inset: 0; background: rgba(4, 14, 26, .9); animation: fade .4s both; }
.kino__box { position: relative; width: min(1200px, 100%); animation: resIn .6s var(--out) both; }
.kino__box video { width: 100%; aspect-ratio: 1280 / 540; background: #000; }
.kino .sheet__x { top: -56px; right: 0; }

/* ---------- Dock ---------- */
.dock { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; gap: 0; transform: translateY(140%); transition: transform .6s var(--out); }
.dock.is-z { transform: none; }
.dock a { display: flex; align-items: center; gap: 9px; min-height: 50px; padding: 0 18px; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.dock__tel, .dock__a { display: none !important; }
.dock__z { background: var(--ink); color: #fff; }
.dock__z b { display: grid; place-items: center; min-width: 24px; height: 24px; background: var(--ivory); color: var(--ink); font-size: 13px; letter-spacing: 0; }
.dock__z.bump b { animation: bump .5s var(--out); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform 1.1s var(--out); }
.js .rv.rv-in { opacity: 1; transform: none; }
.js img[loading="lazy"]:not(.ld) { opacity: 0; }
.js img[loading="lazy"] { transition: opacity .6s var(--ease); }
.js .card .px img, .js .ppl .px img, .js .names .px img, .js .film__ph img { transition: opacity .6s var(--ease), transform 1.7s var(--ease); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav a { font-size: 13px; }
  .facts { grid-template-columns: repeat(2, auto); row-gap: 14px; }
  .facts li:nth-child(2) { border: 0; }
  .ppl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .hd__tel { margin-left: auto; font-size: 13px; min-height: 44px; }
  .burger { display: block; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leist__head, .wf__head, .ort__head, .team__head, .labor__cols { grid-template-columns: 1fr; align-items: start; }
  .map { grid-template-columns: 1fr; }
  .map__res { min-height: 0; }
  .log__grid, .kontakt__grid { grid-template-columns: 1fr; }
  .ft__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --hd: 62px; }
  body { font-size: 16px; }
  .hd__logo, .hd__logo img { width: 72px; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; min-height: 0; }
  .hero__copy { display: contents; }
  .hero__mast { order: 1; padding: calc(var(--hd) + 8px) var(--g) 22px; }
  .hero .kicker, .hero__claim, .hero__sub, .hero__act { order: 3; margin-left: var(--g); margin-right: var(--g); }
  .mast { width: min(52vw, 230px); }
  .hero .kicker { margin-top: 26px; }
  .hero__act { margin-bottom: 8px; }
  .hero__claim { font-size: clamp(36px, 10.4vw, 56px); }
  .hero__act { margin-top: 22px; gap: 4px 26px; }
  .hero__fig { grid-row: auto; grid-column: 1; order: 2; }
  .facts { order: 4 !important; }
  .map__svg { aspect-ratio: 472 / 544; }
  .hero__ph { min-height: 0; aspect-ratio: 960 / 951; }
  .hero__ph img { object-position: 50% 30%; }
  .facts { order: 3; grid-column: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 22px var(--g) 30px; gap: 18px 0; border-top: 0; }
  .facts li { padding-right: 12px; margin-right: 12px; }
  .facts li:nth-child(2) { border: 0; }
  .facts b { font-size: 20px; }
  .names { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .names__w { width: 100%; margin-top: 14px; }
  .names p b { font-size: 14px; line-height: 1.25; }
  .names p span { font-size: 12px; }
  .film { grid-template-columns: 1fr; }
  .film__play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .film__play::after { left: 24px; top: 20px; border-left-width: 15px; border-top-width: 10px; border-bottom-width: 10px; }
  .wf__grid { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .wf__stage { top: var(--hd); z-index: 2; background: var(--night); padding-bottom: 14px; margin: 0 calc(-1 * var(--g)); padding-left: var(--g); padding-right: var(--g); }
  .wf__meter { margin-top: 12px; gap: 14px; align-items: center; }
  .wf__tooth { width: 46px; height: 50px; }
  .wf__meter b { font-size: 34px; }
  .wf__meter span { font-size: 14px; }
  .wf__steps li { min-height: 54vh; padding-top: 22px; }
  .wf__steps li:last-child { min-height: 40vh; }
  .log__ppl { grid-template-columns: 1fr 1fr; }
  .sites { grid-template-columns: 1fr; }
  .ppl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(-1 * var(--g)); margin-right: calc(-1 * var(--g)); padding: 0 var(--g); gap: 22px; }
  .tabs button { white-space: nowrap; position: relative; }
  .form__row { grid-template-columns: 1fr; }
  .kontakt__tel { font-size: clamp(36px, 11vw, 56px); }
  .ft__grid { grid-template-columns: 1fr; }
  .sheet__panel { top: auto; left: 0; width: 100%; max-height: 92svh; transform: translateY(102%); }
  .dt__cols { grid-template-columns: 1fr; }
  .map__leg ol { gap: 9px; }
  .map__labs text { font-size: 22px; stroke-width: 7px; }
  .dock { left: 0; right: 0; bottom: 0; transform: translateY(110%); background: var(--ink); padding-bottom: env(safe-area-inset-bottom); }
  .dock.is-on { transform: none; }
  .dock a { flex: 1; justify-content: center; min-height: 56px; padding: 0 8px; color: #fff; font-size: 11px; letter-spacing: .1em; white-space: nowrap; }
  .dock__tel, .dock__a { display: flex !important; }
  .dock__tel .sq { color: var(--ivory); width: 8px; height: 8px; }
  .dock__a { background: var(--blue); }
  .dock__z { border-left: 1px solid var(--lineW); border-right: 1px solid var(--lineW); }
  .dock__z:not(.has) { display: none; }
}
@media (max-width: 420px) {
  .cards { grid-template-columns: 1fr; }
  .card p { padding-right: 48px; }
}
@media (hover: none) { .card:hover .px img, .ppl li:hover .px img, .names li:hover .px img { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pxg { display: none; }
  .js .rv { opacity: 1; transform: none; }
  .js img[loading="lazy"]:not(.ld) { opacity: 1; }
}
