/* =========================================================
   Trockenbau Shala — Stylesheet
   ========================================================= */

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

:root {
  --ink: #111416;
  --ink-2: #181c1f;
  --ink-3: #23282d;
  --paper: #f3f1ed;
  --stone: #e6e2db;
  --text: #1c2025;
  --muted: #5c636b;
  --muted-d: #9ba2aa;
  --line: rgba(17, 20, 22, .13);
  --line-d: rgba(255, 255, 255, .13);
  --brand: #00aeef;
  --brand-d: #0079a8;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1280px;
  --gutter: 24px;
  --ease: cubic-bezier(.22, .61, .21, 1);
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 60px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; color: var(--ink); font-weight: 700; letter-spacing: -.015em; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; }
::selection { background: var(--brand); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 999; background: var(--brand); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Typo helpers ---------- */
.label {
  display: block;
  font-size: 12.5px; font-weight: 600; font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 26px;
}
.label b { color: var(--brand-d); font-weight: 600; margin-right: 12px; }
.on-dark .label { color: var(--muted-d); }
.on-dark .label b { color: var(--brand); }
.h-xl { font-size: clamp(40px, 6.2vw, 84px); font-weight: 800; font-stretch: 108%; letter-spacing: -.03em; line-height: .98; }
.h-l { font-size: clamp(32px, 4.2vw, 56px); font-weight: 700; font-stretch: 104%; letter-spacing: -.025em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--text); }
.muted { color: var(--muted); }
.on-dark { color: rgba(255,255,255,.72); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark .lead { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px; border: 0;
  background: var(--brand); color: var(--ink);
  font-weight: 600; font-size: 15.5px; letter-spacing: .01em;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.btn:hover { color: #fff; }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .35s var(--ease); }
.btn:hover svg.arr { transform: translateX(4px); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.btn--light::before { background: #fff; }
.btn--light:hover { color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark::before { background: #fff; }
.btn--dark:hover { color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: gap .3s var(--ease), color .3s; }
.link-arrow:hover { gap: 16px; color: var(--brand-d); }
.on-dark .link-arrow { color: #fff; }
.on-dark .link-arrow:hover { color: var(--brand); }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Topbar + Header ---------- */
.topbar { background: var(--ink-2); color: var(--muted-d); font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.topbar ul { list-style: none; display: flex; gap: 26px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; color: var(--brand); }

.header { position: sticky; top: 0; z-index: 100; background: var(--ink); border-bottom: 1px solid var(--line-d); transition: box-shadow .3s; }
.header.is-stuck { box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.logo img { height: 50px; width: auto; }

.nav { display: flex; align-items: center; height: 100%; }
.nav__list { list-style: none; display: flex; align-items: stretch; height: 100%; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 16px;
  color: rgba(255,255,255,.78); font-size: 15.5px; font-weight: 500; position: relative; background: none; border: 0;
  transition: color .25s;
}
.nav__link::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { color: #fff; }
.nav__link[aria-current="page"]::after, .nav__link:hover::after { transform: scaleX(1); }
.nav__link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav__cta { margin-left: 18px; min-height: 46px; padding: 0 20px; font-size: 15px; }
.nav__cta::before { background: #fff; }
.nav__cta:hover { color: var(--ink); }

/* Dropdown (Leistungen) */
.dd { position: absolute; top: 100%; left: 50%; width: 660px; transform: translate(-50%, 10px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .35s var(--ease), visibility .25s; }
.dd__panel { background: #fff; color: var(--text); border-top: 2px solid var(--brand); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); display: grid; grid-template-columns: 1fr 1fr; }
.dd__panel a { display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; padding: 18px 22px; border-bottom: 1px solid var(--line); transition: background .25s; }
.dd__panel a:nth-child(odd) { border-right: 1px solid var(--line); }
.dd__panel a:hover { background: var(--paper); }
.dd__panel a span { grid-row: span 2; font-size: 12px; font-stretch: 125%; font-weight: 600; color: var(--brand-d); padding-top: 3px; }
.dd__panel a strong { font-weight: 650; color: var(--ink); font-size: 15.5px; line-height: 1.3; }
.dd__panel a small { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.dd__panel .dd__all { grid-column: 1 / -1; background: var(--ink); display: flex; justify-content: space-between; align-items: center; border: 0; }
.dd__panel .dd__all strong { color: #fff; }
.dd__panel .dd__all:hover { background: var(--ink-3); }
.dd__all svg { width: 18px; height: 18px; color: var(--brand); }
.nav__item--dd:hover .dd, .nav__item--dd:focus-within .dd, .nav__item--dd.is-open .dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item--dd:hover .nav__link svg, .nav__item--dd.is-open .nav__link svg { transform: rotate(180deg); }

.burger { display: none; width: 50px; height: 50px; border: 1px solid var(--line-d); background: transparent; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; transition: transform .4s var(--ease), opacity .2s, top .4s var(--ease); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 24px; } .burger span:nth-child(3) { top: 31px; }
.nav-open .burger span:nth-child(1) { top: 24px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { top: 24px; transform: rotate(-45deg); }

/* ---------- Intro / Loader ---------- */
.loader { display: none; }
html.tbs-intro .loader { display: block; position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
html.tbs-intro body { overflow: hidden; }
html.tbs-intro.tbs-intro-out body { overflow: auto; }
.loader__panels { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.loader__panels i { background: var(--ink); border-right: 1px solid rgba(255,255,255,.06); transition: transform .9s cubic-bezier(.76, 0, .24, 1); transition-delay: calc(var(--i) * 70ms); }
.loader__panels i:last-child { border-right: 0; }
html.tbs-intro-out .loader__panels i { transform: translateY(-101%); }
.loader__inner { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 26px; transition: opacity .35s, transform .5s var(--ease); }
html.tbs-intro-out .loader__inner { opacity: 0; transform: translateY(-24px); }
.loader__logo { width: min(280px, 64vw); height: auto; clip-path: inset(0 100% 0 0); animation: logoIn 1s var(--ease) .1s forwards; }
@keyframes logoIn { to { clip-path: inset(0 0 0 0); } }
.loader__meta { width: min(280px, 64vw); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; opacity: 0; animation: rise .6s var(--ease) .35s forwards; }
.loader__bar { height: 2px; background: rgba(255,255,255,.14); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.loader__num { font-size: 12.5px; font-weight: 600; font-stretch: 125%; letter-spacing: .08em; color: rgba(255,255,255,.7); min-width: 3ch; text-align: right; font-variant-numeric: tabular-nums; }
.loader__tag { font-size: 11.5px; font-weight: 600; font-stretch: 125%; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.45); opacity: 0; animation: rise .6s var(--ease) .5s forwards; }
html.tbs-intro-done .loader { display: none; }
/* Einstiegsanimationen warten, bis das Intro abhebt */
html.tbs-intro:not(.tbs-intro-out) .rise, html.tbs-intro:not(.tbs-intro-out) .hero .w > span { animation-play-state: paused; }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: clamp(500px, 70vh, 660px); background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: -8% 0; }
.hero__slides { position: absolute; inset: 0; transform: scale(1.04); will-change: transform; }
.slide { position: absolute; inset: 0; visibility: hidden; }
.slide.is-active { visibility: visible; z-index: 1; }
.slide.is-entering { z-index: 2; }
.slide__zoom { position: absolute; inset: 0; transform: scale(1.12); }
.slide.is-active .slide__zoom { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.slide__strip { position: absolute; top: 0; bottom: 0; left: calc(var(--i) * 20%); width: 20%; overflow: hidden; }
.slide__strip img { position: absolute; top: 0; left: calc(var(--i) * -100%); width: 500%; max-width: none; height: 100%; object-fit: cover; }
.slide.is-entering .slide__strip { animation: boardIn 1.05s cubic-bezier(.76, 0, .24, 1) both; animation-delay: calc(var(--i) * 75ms); }
@keyframes boardIn { from { clip-path: inset(100% 0 0 0); transform: translateY(6%); } to { clip-path: inset(0 0 0 0); transform: none; } }
.slide__zoom { transition: filter 1.1s var(--ease); }
.slide.is-leaving .slide__zoom { filter: brightness(.45); }
.hero__shade { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(17,20,22,.92) 0%, rgba(17,20,22,.74) 36%, rgba(17,20,22,.25) 72%, rgba(17,20,22,.1) 100%), linear-gradient(0deg, rgba(17,20,22,.75), transparent 42%); }
.hero__joints { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.hero__joints i { border-right: 1px solid rgba(255,255,255,.07); }
.hero__joints i:last-child { border: 0; }
.hero__content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 76px; }
.hero__content .label { color: rgba(255,255,255,.72); }
.hero__content .label b { color: var(--brand); }
.hero h1 { color: #fff; max-width: 860px; margin-bottom: 22px; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .w > span { display: inline-block; transform: translateY(105%); animation: wordUp 1s var(--ease) forwards; animation-delay: calc(.12s + var(--k) * 70ms); }
@keyframes wordUp { to { transform: none; } }
.hero h1 .sub { display: block; color: rgba(255,255,255,.62); font-weight: 500; font-stretch: 100%; font-size: .5em; letter-spacing: -.01em; margin-top: .45em; }
.hero p { max-width: 540px; color: rgba(255,255,255,.8); font-size: 18px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; border-top: 1px solid var(--line-d); background: rgba(17,20,22,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero__bar .wrap { display: flex; align-items: stretch; height: 74px; }
.hero__tabs { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); flex: 1; margin: 0; padding: 0; }
.hero__tabs li { display: flex; }
.hero__tabs button { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 3px; padding: 0 22px 0 0; background: none; border: 0; text-align: left; color: rgba(255,255,255,.5); transition: color .3s; }
.hero__tabs li + li button { padding-left: 22px; border-left: 1px solid var(--line-d); }
.hero__tabs button span { font-size: 11.5px; font-weight: 600; font-stretch: 125%; letter-spacing: .1em; }
.hero__tabs button em { font-style: normal; font-size: 14.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.hero__tabs button:hover, .hero__tabs button.on { color: #fff; }
.hero__tabs button.on span { color: var(--brand); }
.hero__tabs button::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: rgba(255,255,255,.12); }
.hero__tabs li + li button::before { left: 0; }
.hero__tabs button i { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.hero__tabs button.on i { transform: scaleX(1); }
.hero__tabs button i.run { transform: scaleX(0); animation: prog 6.5s linear forwards; }
@keyframes prog { to { transform: scaleX(1); } }
.hero__nav { display: flex; align-items: center; gap: 0; padding-left: 22px; border-left: 1px solid var(--line-d); }
.hero__nav button { width: 46px; height: 46px; border: 1px solid var(--line-d); background: transparent; display: grid; place-items: center; color: #fff; transition: background .25s, border-color .25s, color .25s; }
.hero__nav button + button { border-left: 0; }
.hero__nav button:hover { background: var(--brand); border-color: var(--brand); color: var(--ink); }
.hero__nav svg { width: 18px; height: 18px; }

.rise { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.rise:nth-child(2) { animation-delay: .1s; } .rise:nth-child(3) { animation-delay: .2s; } .rise:nth-child(4) { animation-delay: .3s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Page hero (Unterseiten) ---------- */
.phero { position: relative; background: var(--ink); color: #fff; overflow: hidden; min-height: clamp(300px, 40vh, 400px); display: flex; align-items: flex-end; }
.phero__img { position: absolute; inset: -14% 0; }
.phero__img img { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,20,22,.92), rgba(17,20,22,.6) 60%, rgba(17,20,22,.4)), linear-gradient(0deg, rgba(17,20,22,.6), transparent 60%); }
.phero .wrap { position: relative; z-index: 2; padding: 64px 0 52px; }
.phero h1 { color: #fff; margin: 0; max-width: 900px; }
.phero p { color: rgba(255,255,255,.75); max-width: 640px; margin: 18px 0 0; font-size: 18px; }
.crumbs { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.55); margin-bottom: 20px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255,255,255,.3); }
.crumbs a:hover { color: var(--brand); }
.phero--plain { min-height: 0; }
.phero--plain::after { display: none; }
.phero--plain .wrap { padding: 72px 0 56px; }

/* ---------- Sections ---------- */
.sec { padding: clamp(80px, 10vw, 136px) 0; position: relative; }
.sec--white { background: #fff; }
.sec--stone { background: var(--stone); }
.sec--ink { background: var(--ink); }
.sec--tight { padding: clamp(60px, 7vw, 96px) 0; }
.sec > .wrap { position: relative; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(44px, 6vw, 68px); }
.sec-head > :last-child { margin-bottom: 0; }
.sec-head h2 { margin: 0; }

/* seams — like drywall board joints */
.seams { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.seams::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: min(var(--wrap), 100% - var(--gutter) * 2); transform: translateX(-50%);
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 25% 100%; border-right: 1px solid var(--line); opacity: .55; }
.sec--ink .seams::before, .on-dark .seams::before { background-image: linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); border-color: rgba(255,255,255,.06); opacity: 1; }

/* reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.rv-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); transition-delay: var(--d, 0s); }
.rv-img.in { clip-path: inset(0 0 0 0); }

/* ---------- Intro / facts ---------- */
.intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.intro h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.facts { margin: 30px 0 0; border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.facts dt { font-size: 12px; font-weight: 600; font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; font-weight: 550; color: var(--ink); }

/* ---------- Service index ---------- */
.sindex { list-style: none; border-top: 1px solid var(--ink); }
.sindex li { border-bottom: 1px solid var(--line); }
.sindex a { display: grid; grid-template-columns: 70px 1.1fr 1.3fr 50px; gap: 24px; align-items: center; padding: 28px 0; transition: padding .4s var(--ease), background .3s; }
.sindex a:hover { padding-left: 18px; padding-right: 18px; background: var(--paper); }
.sindex__n { font-size: 13px; font-weight: 600; font-stretch: 125%; color: var(--brand-d); }
.sindex h3 { font-size: clamp(22px, 2.5vw, 32px); margin: 0; font-weight: 700; letter-spacing: -.02em; }
.sindex p { margin: 0; color: var(--muted); font-size: 15.5px; }
.sindex svg { width: 26px; height: 26px; justify-self: end; transition: transform .4s var(--ease), color .3s; }
.sindex a:hover svg { transform: rotate(-45deg); color: var(--brand-d); }
.hover-img { position: fixed; left: 0; top: 0; z-index: 50; width: 300px; aspect-ratio: 4 / 3; pointer-events: none; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .3s, transform .4s var(--ease); box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); }
.hover-img.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.hover-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Full-bleed parallax band ---------- */
.band { position: relative; height: clamp(360px, 66vh, 660px); overflow: hidden; background: var(--ink); }
.band__img { position: absolute; inset: -18% 0; }
.band__img img { width: 100%; height: 100%; object-fit: cover; }
.band__cap { position: absolute; left: 0; bottom: 0; z-index: 2; background: #fff; padding: 22px 28px; max-width: min(520px, 100% - 32px); }
.band__cap small { display: block; font-size: 12px; font-weight: 600; font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-d); margin-bottom: 4px; }
.band__cap strong { font-weight: 600; font-size: 17px; color: var(--ink); line-height: 1.4; display: block; }
.band__quote { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; background: rgba(17,20,22,.62); }
.band__quote p { color: #fff; font-size: clamp(28px, 4vw, 52px); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; max-width: 980px; margin: 0; }
.band__quote p em { font-style: normal; color: var(--brand); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split--top { align-items: start; }
.split--rev > :first-child { order: 2; }
.frame { position: relative; overflow: hidden; background: var(--stone); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 4 / 3; }
.frame--par img { height: 116%; position: relative; top: -8%; }
.frame__tag { position: absolute; left: 0; bottom: 0; background: var(--ink); color: #fff; font-size: 13px; padding: 10px 16px; z-index: 2; }
.frame__tag b { color: var(--brand); font-weight: 600; }
.pair { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: end; }
.pair .frame:last-child { aspect-ratio: 3 / 4; margin-bottom: -60px; }

.numbers { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-d); margin-top: 44px; }
.numbers div { padding: 26px 20px 0 0; }
.numbers div + div { padding-left: 22px; border-left: 1px solid var(--line-d); }
.numbers strong { display: block; font-size: clamp(34px, 3.6vw, 50px); font-weight: 700; font-stretch: 108%; line-height: 1; color: #fff; letter-spacing: -.03em; }
.numbers strong sup { font-size: .5em; color: var(--brand); vertical-align: top; position: relative; top: .15em; }
.numbers span { font-size: 14px; color: var(--muted-d); display: block; margin-top: 8px; line-height: 1.45; }
.sec:not(.sec--ink) .numbers { border-color: var(--ink); }
.sec:not(.sec--ink) .numbers div + div { border-color: var(--line); }
.sec:not(.sec--ink) .numbers strong { color: var(--ink); }
.sec:not(.sec--ink) .numbers strong sup { color: var(--brand-d); }
.sec:not(.sec--ink) .numbers span { color: var(--muted); }

.values { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.values li { padding: 30px 30px 0 0; }
.values li + li { padding-left: 30px; border-left: 1px solid var(--line); }
.values small { display: block; font-size: 13px; font-weight: 600; font-stretch: 125%; color: var(--brand-d); margin-bottom: 22px; }
.values h3 { font-size: 24px; }
.values p { color: var(--muted); font-size: 15.5px; margin: 0; }

.roles { list-style: none; border-top: 1px solid var(--line-d); }
.roles li { display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-d); }
.roles strong { color: #fff; font-weight: 600; font-size: 17px; }
.roles span { font-size: 15px; color: var(--muted-d); }

/* ---------- Projects ---------- */
.projects { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.project { margin: 0; }
.project a { display: block; }
.project:first-child { grid-row: span 2; display: flex; flex-direction: column; }
.project:first-child a { flex: 1; display: flex; flex-direction: column; }
.project .frame { aspect-ratio: 4 / 3; }
.project:first-child .frame { aspect-ratio: auto; flex: 1; min-height: 420px; }
.project .frame img { transition: transform 1.1s var(--ease); }
.project:hover .frame img { transform: scale(1.04); }
.project figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; font-size: 15px; }
.project figcaption strong { font-weight: 600; color: var(--ink); }
.project figcaption span { color: var(--muted); font-size: 13.5px; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.steps li { padding: 28px 28px 0 0; border-top: 1px solid var(--ink); position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: "0" counter(s); display: block; font-size: 13px; font-weight: 600; font-stretch: 125%; color: var(--brand-d); margin-bottom: 30px; }
.steps li::after { content: ""; position: absolute; left: 0; top: -2px; width: 0; height: 3px; background: var(--brand); transition: width .9s var(--ease); transition-delay: var(--d, 0s); }
.steps.in li::after { width: 44px; }
.steps h3 { font-size: 22px; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- CTA block ---------- */
.cta { background: var(--brand); color: var(--ink); position: relative; overflow: hidden; }
.cta .wrap { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: end; padding: clamp(60px, 8vw, 104px) 0; }
.cta h2 { font-size: clamp(34px, 4.6vw, 62px); font-weight: 800; font-stretch: 106%; letter-spacing: -.03em; margin: 0; }
.cta p { font-size: 18px; margin: 18px 0 0; max-width: 560px; }
.cta__side { display: grid; gap: 16px; justify-items: start; }
.cta__phone { font-size: clamp(26px, 3vw, 40px); font-weight: 700; font-stretch: 108%; letter-spacing: -.02em; line-height: 1.1; border-bottom: 2px solid var(--ink); padding-bottom: 4px; transition: color .25s, border-color .25s; }
.cta__phone:hover { color: #fff; border-color: #fff; }
.cta small { font-size: 12.5px; font-weight: 600; font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; }
.cta .seams::before { background-image: linear-gradient(90deg, rgba(17,20,22,.1) 1px, transparent 1px); border-color: rgba(17,20,22,.1); opacity: 1; }

.towns { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.towns li { font-size: 14px; padding: 6px 12px; border: 1px solid var(--line); background: #fff; }
.on-dark .towns li { background: transparent; border-color: var(--line-d); color: rgba(255,255,255,.82); }

/* ---------- Leistungen page ---------- */
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-d); }
.checks li { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line-d); }
.checks li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-d); }
.checks strong { display: block; color: #fff; font-size: 17px; margin-bottom: 2px; }
.checks span { font-size: 14.5px; color: var(--muted-d); }
.source { font-size: 13px; color: var(--muted-d); }
.source a { text-decoration: underline; }

.svc { position: relative; }
.subnav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(243,241,237,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; display: flex; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav li { flex-shrink: 0; }
.subnav a { position: relative; display: flex; align-items: center; gap: 8px; white-space: nowrap; padding: 17px 18px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .25s, background .25s; }
.subnav a span { font-size: 11px; font-weight: 600; font-stretch: 125%; color: var(--muted); transition: color .25s; }
.subnav a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.subnav a:hover { color: var(--ink); }
.subnav a.on { color: var(--ink); background: #fff; }
.subnav a.on span { color: var(--brand-d); }
.subnav a.on::after { transform: scaleX(1); }

.service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; padding: clamp(70px, 9vw, 120px) 0; border-bottom: 1px solid var(--line); }
.service:last-child { border-bottom: 0; }
.service:nth-child(even) .service__media { order: 2; }
.service__media { position: sticky; top: calc(var(--header-h) + 90px); }
.service__n { font-size: 13px; font-weight: 600; font-stretch: 125%; color: var(--brand-d); display: block; margin-bottom: 16px; letter-spacing: .06em; }
.service h2 { font-size: clamp(30px, 3.5vw, 46px); }
.service .lead { margin-bottom: 20px; }
.service p { color: #3c434b; }
.bullets { list-style: none; margin: 26px 0 0; border-top: 1px solid var(--ink); }
.bullets li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 550; color: var(--ink); font-size: 15.5px; }
.bullets li span { color: var(--muted); font-weight: 400; font-size: 14px; text-align: right; }

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 34px; height: 34px; flex-shrink: 0; border: 1px solid var(--line); position: relative; transition: background .3s, border-color .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { background: var(--brand); border-color: var(--brand); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { padding: 0 60px 22px 0; margin: 0; color: #3c434b; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; border: 1px solid var(--ink); width: fit-content; margin-bottom: 36px; }
.filters button { border: 0; background: transparent; padding: 12px 20px; font-size: 14.5px; font-weight: 500; transition: background .25s, color .25s; }
.filters button + button { border-left: 1px solid var(--ink); }
.filters button sup { font-size: 11px; color: var(--muted); margin-left: 3px; }
.filters button.on { background: var(--ink); color: #fff; }
.filters button.on sup { color: var(--brand); }
.masonry { columns: 3 300px; column-gap: 18px; }
.masonry button { display: block; width: 100%; padding: 0; border: 0; margin: 0 0 18px; break-inside: avoid; background: var(--stone); cursor: zoom-in; position: relative; overflow: hidden; text-align: left; }
.masonry img { width: 100%; transition: transform 1s var(--ease); }
.masonry button:hover img { transform: scale(1.04); }
.masonry button span { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 16px 12px; color: #fff; font-size: 13.5px; line-height: 1.4; background: linear-gradient(transparent, rgba(17,20,22,.78)); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .4s var(--ease); }
.masonry button:hover span, .masonry button:focus-visible span { opacity: 1; transform: none; }
.masonry button.hide { display: none; }

.lb { position: fixed; inset: 0; z-index: 300; background: rgba(12,14,16,.96); display: grid; grid-template-rows: 1fr auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lb.open { opacity: 1; visibility: visible; }
.lb__stage { display: grid; place-items: center; padding: 70px 80px 10px; min-height: 0; }
.lb__stage img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; transition: opacity .3s; }
.lb__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 24px 22px; color: rgba(255,255,255,.7); font-size: 14px; }
.lb__bar b { color: #fff; font-weight: 600; }
.lb button { width: 50px; height: 50px; border: 1px solid var(--line-d); background: transparent; color: #fff; display: grid; place-items: center; transition: background .25s, color .25s; }
.lb button:hover { background: var(--brand); color: var(--ink); border-color: var(--brand); }
.lb button svg { width: 20px; height: 20px; }
.lb__close { position: absolute; top: 16px; right: 16px; }
.lb__arrows { display: flex; flex-shrink: 0; }
.lb__arrows button + button { border-left: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.cinfo { border-top: 1px solid var(--ink); margin: 0; }
.cinfo > div { display: grid; grid-template-columns: 175px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cinfo dt { font-size: 12px; font-weight: 600; font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.cinfo dd { margin: 0; font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.cinfo dd a:hover { color: var(--brand-d); }

.map { margin-top: 30px; aspect-ratio: 16 / 11; position: relative; background: var(--ink-2); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__gate { position: absolute; inset: 0; display: grid; place-items: center; padding: 26px; text-align: center; color: rgba(255,255,255,.72); font-size: 14.5px; }
.map__gate::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 32px 32px; }
.map__gate > div { position: relative; max-width: 360px; }
.map__gate svg { width: 30px; height: 30px; color: var(--brand); margin: 0 auto 12px; }
.map__gate a { color: #fff; text-decoration: underline; }
.map__gate .btn { margin-top: 6px; min-height: 46px; font-size: 14.5px; }
.map__gate .btn::before { background: #fff; }
.map__gate .btn:hover { color: var(--ink); }

.form { background: #fff; padding: clamp(26px, 4vw, 50px); border-top: 3px solid var(--brand); }
.form h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 8px; }
.form > p { color: var(--muted); margin-bottom: 30px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.full { grid-column: 1 / -1; }
.fld label, .fld .flabel { display: block; font-size: 12px; font-weight: 600; font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.fld input, .fld textarea {
  width: 100%; font: inherit; font-size: 16.5px; color: var(--ink); background: var(--paper);
  border: 0; border-bottom: 1.5px solid var(--line); padding: 14px; border-radius: 0;
  transition: border-color .25s, background .25s; -webkit-appearance: none; appearance: none;
}
.fld textarea { min-height: 160px; resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.fld input:user-invalid, .fld textarea:user-invalid { border-color: #c0392b; }

/* custom select */
.select { position: relative; }
.select__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; background: var(--paper); border: 0; border-bottom: 1.5px solid var(--line); padding: 14px; font-size: 16.5px; color: var(--ink); transition: border-color .25s, background .25s; }
.select__btn svg { width: 18px; height: 18px; color: var(--muted); transition: transform .3s var(--ease); flex-shrink: 0; }
.select.open .select__btn { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 1px var(--line); }
.select.open .select__btn svg { transform: rotate(180deg); color: var(--brand-d); }
.select__list { list-style: none; position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; background: #fff; box-shadow: 0 24px 50px -16px rgba(17,20,22,.35), 0 0 0 1px var(--line); max-height: 340px; overflow-y: auto; padding: 6px 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .3s var(--ease), visibility .2s; }
.select__list:focus { outline: none; }
.select.open .select__list { opacity: 1; visibility: visible; transform: none; }
.select__list li { display: grid; grid-template-columns: 1fr 20px; align-items: center; gap: 1px 12px; padding: 11px 16px 11px 14px; cursor: pointer; border-left: 3px solid transparent; transition: background .15s, border-color .15s; }
.select__list li strong { font-weight: 550; color: var(--ink); font-size: 15.5px; }
.select__list li small { grid-column: 1; color: var(--muted); font-size: 13px; line-height: 1.35; }
.select__list li svg { grid-row: 1 / span 2; grid-column: 2; width: 18px; height: 18px; color: var(--brand-d); opacity: 0; }
.select__list li.act { background: var(--paper); border-left-color: var(--brand); }
.select__list li[aria-selected="true"] svg { opacity: 1; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); line-height: 1.55; margin: 24px 0; cursor: pointer; position: relative; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check i { width: 22px; height: 22px; flex-shrink: 0; border: 1.5px solid var(--muted); margin-top: 1px; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.check i::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform .2s var(--ease); }
.check input:checked + i { background: var(--brand); border-color: var(--brand); }
.check input:checked + i::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible + i { outline: 2px solid var(--brand); outline-offset: 2px; }
.check a { color: var(--brand-d); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.cf-turnstile { min-height: 65px; }
.status { margin-top: 18px; padding: 14px 18px; font-size: 15px; display: none; border-left: 3px solid; }
.status.ok { display: block; background: #eaf6ee; border-color: #2e8b57; color: #1d5a38; }
.status.err { display: block; background: #fbecea; border-color: #c0392b; color: #8a2a20; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Legal ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(22px, 2.3vw, 28px); margin: 2.2em 0 .6em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #3c434b; }
.legal ul { padding-left: 1.2em; margin-bottom: 1.1em; }
.legal a, .legal .linkbtn { color: var(--brand-d); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.legal .box { background: #fff; border-left: 3px solid var(--brand); padding: 24px 28px; margin: 0 0 18px; }
.legal .box p:last-child { margin: 0; }
.legal .box h2 { margin-top: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--muted-d); font-size: 15px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 80px 0 60px; }
.footer .logo img { height: 56px; margin-bottom: 22px; }
.footer h3 { font-size: 12px; font-weight: 600; font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer a { transition: color .25s; }
.footer a:hover { color: var(--brand); }
.footer address { font-style: normal; line-height: 1.8; }
.footer address strong { color: #fff; font-weight: 600; }
.footer__bottom { border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 22px 0 26px; font-size: 13.5px; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }
.credit a { color: #fff; }
.credit a:hover { color: var(--brand); }
.credit .heart { color: var(--brand); display: inline-block; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 15%, 40% { transform: scale(1.25); } }
.linkbtn { background: none; border: 0; padding: 0; font-size: inherit; color: inherit; }
.linkbtn:hover { color: var(--brand); }

/* ---------- Floating ---------- */
.totop { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 50px; height: 50px; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s, transform .35s var(--ease), background .25s, color .25s; box-shadow: 0 0 0 1px var(--line-d); }
.totop.on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--brand); color: var(--ink); }
.totop svg { width: 20px; height: 20px; }
.callbar { display: none; }

/* ---------- Cookie ---------- */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 400; width: min(460px, 100% - 32px); background: #fff; color: var(--text); padding: 26px 26px 22px; border-top: 3px solid var(--brand); box-shadow: 0 30px 70px -20px rgba(17,20,22,.5), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .4s, visibility .4s, transform .5s var(--ease); }
.cookie.open { opacity: 1; visibility: visible; transform: none; }
.cookie h2 { font-size: 18px; margin-bottom: 8px; }
.cookie p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.cookie p a { color: var(--brand-d); text-decoration: underline; }
.cookie__opts { display: none; border-top: 1px solid var(--line); margin-bottom: 16px; }
.cookie.more .cookie__opts { display: block; }
.copt { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.copt strong { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.copt small { color: var(--muted); display: block; line-height: 1.4; }
.tgl { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.tgl input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.tgl span { position: absolute; inset: 0; background: #c9cdd2; transition: background .25s; }
.tgl span::before { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; background: #fff; transition: transform .25s var(--ease); }
.tgl input:checked + span { background: var(--brand); }
.tgl input:checked + span::before { transform: translateX(20px); }
.tgl input:disabled { cursor: not-allowed; }
.tgl input:disabled + span { opacity: .55; }
.tgl input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.cookie__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie__btns .btn { min-height: 46px; font-size: 14.5px; padding: 0 14px; }
.cookie__btns .btn:last-child { grid-column: 1 / -1; }

/* ---------- 404 ---------- */
.nf { min-height: 56vh; display: grid; place-items: center; text-align: center; }
.nf strong { display: block; font-size: clamp(90px, 16vw, 200px); font-weight: 800; font-stretch: 112%; line-height: .9; color: var(--ink); letter-spacing: -.05em; }

/* ---------- Leistungs-Detailseiten ---------- */
.uses { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); border-top: 1px solid var(--ink); }
.uses li { padding: 26px 26px 28px 0; border-bottom: 1px solid var(--line); }
.uses li small { display: block; font-size: 12px; font-weight: 600; font-stretch: 125%; color: var(--brand-d); margin-bottom: 16px; }
.uses h3 { font-size: 20px; margin-bottom: 8px; }
.uses p { color: var(--muted); font-size: 15.5px; margin: 0; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trio .frame { aspect-ratio: 4 / 5; }
.trio .frame img { transition: transform 1.1s var(--ease); }
.trio a:hover .frame img { transform: scale(1.04); }
.svc-more { margin-top: 26px; }
.service .link-arrow { margin-top: 24px; }
.kontaktdaten { margin-top: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .nav__link { padding: 0 11px; }
  .nav__link::after { left: 11px; right: 11px; }
  .nav__cta { margin-left: 8px; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .topbar { display: none; }
  .logo img { height: 42px; }
  .burger { display: block; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 90; background: var(--ink); display: block; height: auto; overflow-y: auto; padding: 10px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .4s var(--ease), visibility .3s; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; height: auto; }
  .nav__item { display: block; border-bottom: 1px solid var(--line-d); }
  .nav__link { width: 100%; justify-content: space-between; height: auto; padding: 18px 0; font-size: 22px; font-weight: 600; color: #fff; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--brand); }
  .dd { position: static; width: auto; transform: none; opacity: 1; visibility: visible; display: none; transition: none; }
  .nav__item--dd:hover .dd, .nav__item--dd:focus-within .dd { transform: none; }
  .nav__item--dd.is-open .dd { display: block; transform: none; }
  .nav__item--dd:hover .nav__link svg { transform: none; }
  .nav__item--dd.is-open .nav__link svg { transform: rotate(180deg); }
  .dd__panel { grid-template-columns: 1fr; background: transparent; box-shadow: none; border: 0; padding-bottom: 12px; }
  .dd__panel a, .dd__panel a:nth-child(odd) { border: 0; padding: 10px 0; }
  .dd__panel a:hover { background: transparent; }
  .dd__panel a strong { color: #fff; font-size: 16.5px; }
  .dd__panel a small { display: none; }
  .dd__panel a span { grid-row: auto; color: var(--brand); }
  .dd__panel .dd__all { background: transparent; padding: 10px 0; justify-content: flex-start; gap: 10px; }
  .dd__panel .dd__all:hover { background: transparent; }
  .nav__cta { margin: 26px 0 0; width: 100%; min-height: 56px; }

  .intro, .split, .contact, .cta .wrap, .service, .sec-head { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .service:nth-child(even) .service__media { order: 0; }
  .service__media { position: static; }
  .sec-head { gap: 16px; }
  .pair .frame:last-child { margin-bottom: 0; }
  .projects { grid-template-columns: 1fr 1fr; }
  .project:first-child { grid-column: 1 / -1; grid-row: auto; }
  .project:first-child .frame { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .values { grid-template-columns: 1fr; }
  .values li, .values li + li { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .sindex a { grid-template-columns: 50px 1fr 36px; gap: 6px 16px; }
  .sindex p { grid-column: 2; grid-row: 2; }
  .sindex svg { grid-column: 3; grid-row: 1 / span 2; }
  .hover-img { display: none; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero { height: auto; min-height: 560px; }
  .hero__content { padding: 64px 0 112px; }
  .hero__bar .wrap { height: 62px; }
  .hero__tabs button em { display: none; }
  .hero__tabs button, .hero__tabs li + li button { padding: 0 0 0 12px; }
  .hero__tabs li:first-child button { padding-left: 0; }
  .hero__nav { padding-left: 12px; }
  .hero__nav button { width: 42px; height: 42px; }
  .hero__joints { grid-template-columns: repeat(3, 1fr); }
  .hero__joints i:nth-child(n+4) { display: none; }
  .hero__actions .btn { width: 100%; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .numbers { grid-template-columns: 1fr; }
  .numbers div, .numbers div + div { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line-d); }
  .sec:not(.sec--ink) .numbers div { border-color: var(--line); }
  .projects { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0 0; border-left: 0; }
  .roles li { grid-template-columns: 1fr; gap: 2px; }
  .checks { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr 1fr; }
  .trio a:last-child { display: none; }
  .uses li { padding-right: 0; }
  .checks li:nth-child(even) { padding-left: 0; border-left: 0; }
  .pair { grid-template-columns: 1fr; }
  .pair .frame:last-child { display: none; }
  .grid2 { grid-template-columns: 1fr; }
  .cinfo > div { grid-template-columns: 1fr; gap: 2px; }
  .hide-m { display: none; }
  .subnav .wrap { width: 100%; }
  .subnav ul { padding: 0 16px; scroll-padding: 0 40px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); }
  .subnav a { padding: 15px 14px; font-size: 14px; }
  .subnav a::after { left: 14px; right: 14px; }
  .filters { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: 0 0 auto; padding: 12px 14px; white-space: nowrap; }
  .masonry { columns: 2; column-gap: 10px; }
  .masonry button { margin-bottom: 10px; }
  .lb__stage { padding: 64px 10px 10px; }
  .lb__bar { padding: 12px 16px 18px; }
  .band__cap { padding: 16px 18px; }
  .faq details p { padding-right: 0; }
  .bullets li { flex-direction: column; gap: 0; }
  .bullets li span { text-align: left; }
  .footer__top { grid-template-columns: 1fr; padding: 60px 0 40px; }
  .footer { padding-bottom: 58px; }
  .totop { bottom: 72px; right: 14px; width: 44px; height: 44px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; background: var(--ink); border-top: 1px solid var(--line-d); transform: translateY(100%); transition: transform .4s var(--ease); }
  .callbar.on { transform: none; }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; color: #fff; font-weight: 600; font-size: 15px; }
  .callbar a:first-child { background: var(--brand); color: var(--ink); }
  .callbar svg { width: 18px; height: 18px; }
  .cookie { left: 0; bottom: 0; width: 100%; padding: 22px 16px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv, .rise { opacity: 1; transform: none; }
  .hero h1 .w > span { transform: none; }
  .slide__zoom { transform: none; }
  .rv-img { clip-path: none; }
}
