:root {
  --ink: #10171c;
  --ink-soft: #273138;
  --paper: #f4f6f5;
  --white: #ffffff;
  --line: #d8dddc;
  --accent: #6f9fb2;
  --accent-dark: #436f82;
  --cta-blue-previous: #6f9fb2;
  --cta-red: #74262f;
  --cta-red-hover: #8d3440;
  --steel: #93a1a8;
  --shell: min(1180px, calc(100% - 48px));
  --shadow: 0 20px 55px rgba(16, 23, 28, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.65; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: 110px; }
#leistungen, #projekte, #profil, #anfrage { scroll-margin-top: 88px; }
.skip-link { position: fixed; top: -80px; left: 24px; z-index: 1000; padding: 12px 18px; background: var(--accent); color: var(--ink); font-weight: 800; transition: top .2s; }
.skip-link:focus { top: 12px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.16); }
.site-header.scrolled { position: fixed; background: rgba(16,23,28,.96); backdrop-filter: blur(14px); box-shadow: 0 8px 30px rgba(0,0,0,.18); animation: slideDown .28s ease; }
@keyframes slideDown { from { transform: translateY(-100%); } }
.nav-wrap { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { position: relative; display: block; flex: 0 0 auto; width: clamp(140px, 42vw, 198px); aspect-ratio: 3.08; overflow: hidden; }
.brand img { position: absolute; width: 147%; max-width: none; height: auto; top: -15%; left: -23.5%; filter: url("assets/logo-transparency.svg#remove-background"); }
nav { display: flex; align-items: center; gap: 34px; padding: 0; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; font-size: 16px; font-weight: 800; }
nav a { position: relative; padding: 10px 0; border: 0; color: var(--white); text-shadow: 0 1px 10px rgba(0,0,0,.34); transition: color .2s; }
nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--white); transition: right .2s; }
nav a:hover, nav a:focus-visible { color: var(--white); background: transparent; }
nav a:hover::after, nav a:focus-visible::after { right: 0; }
.nav-cta { padding: 11px 18px; border: 1px solid #9f4a55; background: var(--cta-red); color: var(--white); text-shadow: none; box-shadow: 0 8px 24px rgba(39,5,10,.25); }
.nav-cta:hover, .nav-cta:focus-visible { border-color: #bd6973; background: var(--cta-red-hover); color: var(--white); }
.menu-toggle { display: none; }

.hero { min-height: max(780px, 100svh); position: relative; display: flex; align-items: center; overflow: hidden; color: var(--white); background: linear-gradient(135deg, #1d3540 0%, #2c4f5d 55%, #557d8d 100%); }
.hero-media { position: absolute; inset: 0; background-image: url("assets/hero-technical.svg?v=20261121-2"); background-size: cover; background-position: center; transform: scale(1.02); opacity: .3; mix-blend-mode: screen; }
.hero-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(18,37,45,.94) 0%, rgba(29,57,68,.77) 44%, rgba(92,139,157,.16) 82%), radial-gradient(circle at 78% 34%, rgba(156,202,217,.34), transparent 38%), linear-gradient(0deg, rgba(12,29,35,.62) 0%, transparent 52%); }
.hero-content { position: relative; z-index: 3; padding: 140px 0 190px; }
.hero-motion { position: absolute; z-index: 1; width: min(58vw, 790px); aspect-ratio: 1; right: -2.5vw; top: 50%; transform: translateY(-50%); color: #c0dce6; opacity: .9; pointer-events: none; }
.tech-orbit, .tech-gear, .tech-hub, .tech-arm, .tech-rail, .tech-scan { position: absolute; }
.tech-orbit { border-radius: 50%; border: 1px solid rgba(159,196,210,.42); }
.tech-orbit::before, .tech-orbit::after { content: ""; position: absolute; background: currentColor; opacity: .72; }
.tech-orbit::before { width: 2px; height: 44px; left: 50%; top: -22px; }
.tech-orbit::after { width: 44px; height: 2px; top: 50%; right: -22px; }
.tech-orbit-outer { inset: 4%; box-shadow: 0 0 70px rgba(111,159,178,.1), inset 0 0 70px rgba(111,159,178,.05); animation: technical-spin 34s linear infinite; }
.tech-orbit-inner { inset: 29%; border-width: 2px; animation: technical-spin-reverse 19s linear infinite; }
.tech-gear { inset: 14%; border: 24px dashed rgba(174,194,203,.38); border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(159,196,210,.28), 0 0 0 2px rgba(159,196,210,.16); animation: technical-spin 22s linear infinite; }
.tech-arm { left: 8%; right: 8%; top: calc(50% - 8px); height: 16px; border: 1px solid rgba(198,214,221,.48); background: rgba(10,18,22,.64); transform-origin: 50% 50%; animation: technical-arm 9s ease-in-out infinite; }
.tech-arm::after { content: ""; position: absolute; width: 28%; height: 28px; right: 13%; top: -7px; border: 1px solid rgba(159,196,210,.5); background: rgba(111,159,178,.13); }
.tech-hub { inset: 39%; display: grid; place-items: center; border: 12px solid rgba(111,159,178,.52); border-radius: 50%; box-shadow: 0 0 0 20px rgba(111,159,178,.08), inset 0 0 28px rgba(111,159,178,.22); animation: technical-pulse 4.5s ease-in-out infinite; }
.tech-hub i { width: 32%; aspect-ratio: 1; border: 2px solid rgba(224,234,238,.66); border-radius: 50%; }
.tech-rail { left: 7%; right: 6%; top: 67%; height: 2px; background: rgba(159,196,210,.35); }
.tech-rail i { position: absolute; width: 78px; height: 20px; top: -9px; left: 20%; border: 1px solid rgba(198,214,221,.56); background: rgba(18,31,37,.86); animation: technical-slide 7s ease-in-out infinite; }
.tech-scan { inset: 5% auto 5% 12%; width: 1px; background: linear-gradient(transparent, rgba(159,196,210,.88), transparent); filter: drop-shadow(0 0 8px rgba(159,196,210,.8)); animation: technical-scan 8s ease-in-out infinite; }
@keyframes technical-spin { to { transform: rotate(360deg); } }
@keyframes technical-spin-reverse { to { transform: rotate(-360deg); } }
@keyframes technical-arm { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(4deg); } }
@keyframes technical-pulse { 0%,100% { opacity: .72; transform: scale(.97); } 50% { opacity: 1; transform: scale(1.03); } }
@keyframes technical-slide { 0%,100% { transform: translateX(0); } 50% { transform: translateX(290px); } }
@keyframes technical-scan { 0%,100% { transform: translateX(0); opacity: 0; } 15%,85% { opacity: 1; } 50% { transform: translateX(500px); } }
.eyebrow { margin: 0 0 18px; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .16em; font-weight: 800; font-size: 13px; }
.eyebrow.light { color: #9fc4d2; }
.hero h1 { max-width: 1100px; margin: 0; font-size: clamp(58px, 7.4vw, 104px); line-height: .91; letter-spacing: -.062em; font-weight: 780; }
.hero h1 em { color: #c6d1d4; font-style: normal; font-weight: 780; }
.hero-copy { max-width: 680px; margin: 38px 0 0; color: #d8dedf; font-size: clamp(18px, 2vw, 22px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 0 25px; border: 1px solid transparent; border-radius: 0; cursor: pointer; font-weight: 800; transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #0d171c; }
.button-primary:hover { background: #82afc0; }
.button-ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.button-ghost:hover { background: var(--white); color: var(--ink); }
.hero-button { position: relative; min-width: 250px; min-height: 66px; justify-content: space-between; gap: 26px; padding: 0 16px 0 25px; overflow: hidden; }
.hero-button > span { position: relative; z-index: 1; }
.hero-button-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid currentColor; opacity: .78; transition: transform .2s, background .2s, opacity .2s; }
.hero-button-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: square; stroke-linejoin: miter; }
.hero-button:hover .hero-button-icon { opacity: 1; background: rgba(255,255,255,.12); }
.hero-button-services:hover .hero-button-icon { transform: translateY(2px); }
.hero-actions .button-primary { background: linear-gradient(135deg, #86b3c3, #6f9fb2); box-shadow: 0 14px 36px rgba(4,18,24,.25); }
.hero-actions .button-primary:hover { background: linear-gradient(135deg, #9bc2cf, #7eacbd); box-shadow: 0 18px 42px rgba(4,18,24,.32); }
.hero-actions .button-primary .hero-button-icon { background: rgba(13,23,28,.08); }
.hero-actions .button-ghost { border-color: rgba(255,255,255,.58); background: rgba(255,255,255,.055); box-shadow: inset 0 0 0 1px rgba(111,159,178,.1); backdrop-filter: blur(8px); }
.hero-actions .button-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.94); }
.hero-facts { position: absolute; z-index: 3; left: 50%; bottom: 0; transform: translateX(-50%); display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 22px 0 24px; border-top: 1px solid rgba(225,240,245,.34); background: rgba(28,54,64,.42); backdrop-filter: blur(12px); }
.hero-facts::before, .hero-facts::after { content: ""; position: absolute; top: -1px; bottom: 0; width: 100vw; background: inherit; border-top: inherit; }
.hero-facts::before { right: 100%; }
.hero-facts::after { left: 100%; }
.hero-facts li { min-width: 0; padding: 0 34px; border-left: 1px solid rgba(255,255,255,.2); display: grid; grid-template-columns: 1fr; }
.hero-facts li:first-child { padding-left: 0; border-left: 0; }
.hero-facts small { margin-bottom: 2px; color: #a9c1ca; text-transform: uppercase; letter-spacing: .15em; font-size: 9px; font-weight: 800; }
.hero-facts strong { font-size: 17px; }
.hero-facts span { color: #ccdade; font-size: 13px; }

.project-strip { position: relative; overflow: hidden; padding: 78px 0 86px; background: #edf1f0; border-bottom: 1px solid #d4dddb; }
.project-strip::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(16,23,28,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(16,23,28,.028) 1px, transparent 1px); background-size: 48px 48px; }
.project-strip-head { position: relative; margin-bottom: 38px; }
.project-strip-head h2 { max-width: 950px; font-size: clamp(42px, 4.8vw, 68px); }
.project-strip-head > p { justify-self: end; max-width: 390px; margin: 0 0 5px; padding-left: 20px; border-left: 2px solid var(--accent); color: #657178; }
.project-strip-head > p strong { display: block; margin-bottom: 2px; color: var(--accent-dark); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.project-marquee { position: relative; width: 100%; overflow: hidden; }
.project-marquee-track { display: flex; width: max-content; animation: project-marquee 42s linear infinite; }
.project-marquee-set { display: flex; flex: none; gap: 16px; padding-right: 16px; }
.project-slide { position: relative; flex: none; width: clamp(300px, 27vw, 430px); height: 282px; margin: 0; overflow: hidden; background: #142229; box-shadow: 0 18px 42px rgba(16,23,28,.14); }
.project-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 28%, rgba(10,20,25,.9) 100%); }
.project-slide img[src="assets/baugruppen-mit-anspruch.webp"] { object-position: 60% 32%; }
.project-slide img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.04); transition: transform .55s ease, filter .55s ease; }
.project-slide:hover img { transform: scale(1.035); filter: saturate(.95) contrast(1.02); }
.project-slide figcaption { position: absolute; z-index: 2; inset: auto 24px 20px; display: grid; grid-template-columns: 1fr auto; align-items: end; color: var(--white); }
.project-slide figcaption span { grid-column: 1 / -1; color: #a9cfdd; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.project-slide figcaption strong { font-size: 20px; line-height: 1.25; }
@keyframes project-marquee { to { transform: translateX(-50%); } }

h2 { margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: 1.03; letter-spacing: -.045em; }
h3 { margin: 0; font-size: 27px; line-height: 1.2; letter-spacing: -.025em; }
p { margin-top: 0; }
.lead { font-size: 22px; line-height: 1.52; color: var(--ink); }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.intro-copy { padding-top: 4px; color: #59646a; }
.intro-copy p:last-child { margin-bottom: 0; }
.personal-note { grid-column: 1 / -1; margin-top: 12px; display: grid; grid-template-columns: 135px 1fr 1fr; gap: 30px; align-items: center; padding: 30px 34px; border: 1px solid #d5dddb; border-left: 4px solid var(--accent-dark); background: #fff; box-shadow: 0 16px 40px rgba(16,23,28,.055); }
.personal-note-mark { display: grid; padding-right: 28px; border-right: 1px solid #d5dddb; color: var(--accent-dark); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 34px; font-weight: 800; line-height: 1; }
.personal-note-mark small { margin-top: 10px; color: #718087; font-size: 8px; letter-spacing: .15em; }
.personal-note strong { font-size: 22px; }
.personal-note p { margin: 6px 0 0; color: #59646a; }
.personal-point { min-width: 0; }
.quality-focus { padding-left: 30px; border-left: 1px solid #d5dddb; }
.quality-focus small { display: block; margin-bottom: 5px; color: var(--accent-dark); font-size: 9px; font-weight: 800; letter-spacing: .15em; }

.section-seam { position: relative; height: 58px; overflow: hidden; background: linear-gradient(90deg, #edf2f1, #f8faf9 50%, #edf2f1); border-block: 1px solid #d7e0df; }
.section-seam::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: repeating-linear-gradient(90deg, rgba(67,111,130,.22) 0 1px, transparent 1px 42px); }
.section-seam::after { content: ""; position: absolute; top: calc(50% - 1px); left: -120px; width: 120px; height: 2px; background: linear-gradient(90deg, transparent, rgba(67,111,130,.72), transparent); filter: drop-shadow(0 0 4px rgba(67,111,130,.32)); animation: seam-scan 12s linear infinite; }
.section-seam span { position: absolute; z-index: 2; width: 15px; height: 15px; left: calc(50% - 7px); top: calc(50% - 7px); border: 1px solid rgba(67,111,130,.46); background: #f5f8f7; transform: rotate(45deg); box-shadow: 0 0 0 7px rgba(245,248,247,.82); }
.section-seam i, .section-seam b { position: absolute; z-index: 2; width: 1px; height: 13px; top: calc(50% - 6px); background: rgba(67,111,130,.42); }
.section-seam i { left: 25%; }
.section-seam b { left: 75%; }
@keyframes seam-scan { to { left: 100%; } }

.services { background-color: #e8edeb; background-image: linear-gradient(rgba(16,23,28,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(16,23,28,.035) 1px, transparent 1px); background-size: 48px 48px; }
.section-head { display: grid; grid-template-columns: 1.55fr .65fr; gap: 80px; align-items: end; margin-bottom: 58px; }
.section-head > p { color: #59646a; margin: 0 0 4px; }
.service-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 76px; }
.service-grid::before { content: ""; position: absolute; left: 3%; right: 3%; top: 34px; height: 1px; background: linear-gradient(90deg, transparent, #7694a1 8%, #7694a1 92%, transparent); }
.service-grid::after { content: ""; position: absolute; left: 3%; top: 31px; width: 72px; height: 7px; background: linear-gradient(90deg, transparent, rgba(67,111,130,.8), transparent); filter: blur(.2px); animation: service-scan 9s ease-in-out infinite; }
.service-card { position: relative; min-height: 390px; display: grid; grid-template-columns: 1fr; align-content: start; padding: 27px 22px; background: var(--paper); border: 1px solid #cbd2d0; transition: background .25s, transform .25s, box-shadow .25s; }
.service-node-icon { position: absolute; z-index: 3; left: calc(50% - 20px); top: -62px; width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid #587c8c; border-radius: 50%; background: #e8edeb; box-shadow: 0 0 0 7px #e8edeb, 0 0 0 8px rgba(88,124,140,.28); }
.service-node-icon svg { width: 20px; height: 20px; fill: none; stroke: #416979; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card::after { content: ""; position: absolute; width: 34px; height: 34px; right: 14px; top: 14px; border-top: 1px solid rgba(67,111,130,.36); border-right: 1px solid rgba(67,111,130,.36); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); z-index: 2; }
.service-featured { background: var(--ink); color: var(--white); }
.service-kicker { margin: 2px 0 10px; color: #77848a; text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 800; }
.service-card h3 { margin-bottom: 16px; font-size: 31px; }
.service-card p:not(.service-kicker) { color: #5e686d; font-size: 16px; line-height: 1.48; }
.service-featured p:not(.service-kicker) { color: #b7c0c4; }
.service-card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 7px; font-size: 15px; line-height: 1.45; }
.service-card li { position: relative; padding-left: 20px; }
.service-card li::before { content: ""; width: 7px; height: 7px; position: absolute; left: 0; top: .65em; background: var(--accent); }
.service-cta { margin-top: 32px; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; padding: 30px 34px; border: 1px solid #c7d3d3; background: rgba(255,255,255,.78); box-shadow: 0 18px 42px rgba(16,23,28,.06); }
.service-cta > div { display: grid; }
.service-cta small { color: var(--accent-dark); text-transform: uppercase; letter-spacing: .15em; font-size: 10px; font-weight: 800; }
.service-cta strong { margin-top: 5px; font-size: 22px; }
.service-cta p { max-width: 660px; margin: 5px 0 0; color: #647177; font-size: 14px; }
.service-cta .button { white-space: nowrap; }
@keyframes service-scan { 0%,100% { transform: translateX(0); opacity: 0; } 12%,88% { opacity: 1; } 50% { transform: translateX(1010px); } }

.fit { padding-bottom: 40px; }
.profile + .fit { padding-top: 64px; }
.fit-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; padding: 76px; background: var(--ink); color: var(--white); }
.fit-title h2 { font-size: clamp(38px, 4.2vw, 58px); }
.fit-cta { gap: 14px; margin-top: 30px; border-color: #9f4a55; background: var(--cta-red); color: var(--white); box-shadow: 0 12px 30px rgba(39,5,10,.25); }
.fit-cta:hover, .fit-cta:focus-visible { background: var(--cta-red-hover); color: var(--white); }
.fit-cta-indicator { display: inline-block; font-size: 22px; line-height: 1; animation: fit-cta-pulse 2.4s ease-in-out infinite; }
@keyframes fit-cta-pulse { 0%, 100% { opacity: .58; transform: translateY(0); } 50% { opacity: 1; transform: translateY(5px); } }
.fit-list { display: grid; }
.fit-list > div { padding: 25px 0; border-top: 1px solid #3c484e; }
.fit-list > div:last-child { border-bottom: 1px solid #3c484e; }
.fit-list p { margin: 0; color: #aeb8bd; font-size: 16px; }
.fit-list strong { display: block; margin-bottom: 5px; color: var(--white); }

.projects { background: var(--white); }
.projects .section-head { display: block; max-width: 1040px; margin-bottom: 58px; }
.projects .section-head h2 { max-width: 1040px; }
.project-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; grid-template-rows: 280px 280px; gap: 18px; }
.project { position: relative; margin: 0; padding: 0; overflow: hidden; border: 0; color: inherit; background: var(--ink); text-align: left; cursor: pointer; }
.project-tall { grid-row: span 2; }
.project-wide { grid-column: span 2; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .5s; filter: saturate(.72); }
.project-wide img { object-position: center 45%; }
.project::after { content: ""; position: absolute; inset: 25% 0 0; background: linear-gradient(transparent, rgba(5,9,11,.86)); }
.project:hover img { transform: scale(1.045); filter: saturate(1); }
.project:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.project-card-copy { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 24px; color: var(--white); display: grid; }
.project-card-copy small { color: #9fc4d2; text-transform: uppercase; letter-spacing: .15em; font-size: 10px; font-weight: 800; }
.project-card-copy strong { font-size: 18px; }
.project-card-copy b { justify-self: start; max-height: 0; margin-top: 0; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.7); font-size: 12px; font-weight: 700; opacity: 0; transition: max-height .25s, margin-top .25s, opacity .25s; }
.project:hover .project-card-copy b, .project:focus-visible .project-card-copy b { max-height: 30px; margin-top: 10px; opacity: 1; }
.project-dialog { width: min(1180px, calc(100% - 48px)); max-width: none; max-height: calc(100svh - 48px); margin: auto; padding: 0; overflow: auto; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(3,10,14,.48); }
.project-dialog::backdrop { background: rgba(7,15,19,.78); backdrop-filter: blur(8px); }
.project-dialog[open] { animation: dialog-in .28s ease both; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
.project-dialog-close { position: absolute; z-index: 5; top: 16px; right: 16px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.7); background: rgba(10,20,25,.68); color: var(--white); font-size: 29px; line-height: 1; cursor: pointer; backdrop-filter: blur(8px); }
.project-dialog-close:hover { background: var(--white); color: var(--ink); }
.project-dialog-layout { display: grid; grid-template-columns: 1.08fr .92fr; min-height: min(720px, calc(100svh - 48px)); }
.project-dialog-gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.35fr .65fr; gap: 3px; min-height: 640px; background: var(--ink); }
.project-dialog-gallery img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.project-dialog-gallery img:first-child { grid-column: 1 / -1; }
img[src="assets/werkstatt-nacharbeit.webp"] { object-position: 64% 38%; }
.project-dialog-content { align-self: center; padding: 62px 58px; }
.project-dialog-content h2 { font-size: clamp(40px, 4vw, 62px); }
.project-dialog-lead { margin: 28px 0; color: #536067; font-size: 19px; line-height: 1.55; }
.project-dialog-facts { margin: 0 0 28px; border-top: 1px solid var(--line); }
.project-dialog-facts div { display: grid; grid-template-columns: 105px 1fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.project-dialog-facts dt { color: var(--accent-dark); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.project-dialog-facts dd { margin: 0; color: #4d595f; font-size: 15px; }
.project-dialog-placeholder { padding: 13px 15px; border-left: 3px solid var(--accent); background: #e4ecee; color: #4d626b; font-size: 12px; }
.project-dialog-content .button { margin-top: 10px; }

.profile { padding-block: 78px; background: #dfe5e3; }
.profile-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 72px; align-items: center; }
.profile-visual { position: relative; min-height: 500px; }
.profile-portrait { display: block; width: 100%; height: 500px; object-fit: cover; object-position: 50% 25%; }
.profile-badge { position: absolute; right: -26px; bottom: 32px; padding: 20px 25px; background: var(--accent); display: grid; box-shadow: var(--shadow); }
.profile-badge strong { font-size: 23px; }
.profile-badge span { font-size: 12px; }
.profile-copy h2 { font-size: clamp(40px, 4.4vw, 60px); }
.profile-copy .lead { margin: 24px 0 16px; }
.profile-copy > p:not(.eyebrow):not(.lead) { color: #536066; }
.skill-overview { margin-top: 24px; border-top: 1px solid #aebcba; }
.skill-overview-title { margin: 0; padding: 18px 0 14px; color: var(--accent-dark); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.skill-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #bdc8c6; border-left: 1px solid #bdc8c6; }
.skill-group { min-width: 0; padding: 16px 18px 18px; border-right: 1px solid #bdc8c6; border-bottom: 1px solid #bdc8c6; background: rgba(255,255,255,.2); }
.skill-group h3 { position: relative; margin: 0 0 15px; padding-left: 17px; color: var(--ink); font-size: 15px; line-height: 1.35; }
.skill-group h3::before { content: ""; position: absolute; top: .42em; left: 0; width: 7px; height: 7px; border: 2px solid var(--accent-dark); border-radius: 50%; }
.skill-group ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.skill-group li { position: relative; padding-left: 17px; color: #536066; font-size: 13px; line-height: 1.45; }
.skill-group li::before { content: ""; position: absolute; top: .72em; left: 1px; width: 7px; height: 1px; background: #78939d; }

@media (min-width: 981px) {
  .skill-overview { margin-top: 16px; }
  .skill-overview-title { padding: 8px 0 6px; }
  .skill-group { padding: 5px 15px; }
  .skill-group h3 { margin-bottom: 5px; font-size: 14px; }
  .skill-group ul { gap: 1px; }
  .skill-group li { line-height: 1.32; }
}

@media (min-width: 1200px) {
  .profile-grid { align-items: start; }
  .profile-copy { display: flex; height: 500px; flex-direction: column; }
  .profile-copy .skill-overview { margin-top: auto; }
}

.section-head.compact { grid-template-columns: 1fr; }
.process { position: relative; padding-inline: 48px; border: 1px solid #d3dddb; background-color: #f1f4f3; background-image: linear-gradient(rgba(67,111,130,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(67,111,130,.035) 1px, transparent 1px), linear-gradient(rgba(67,111,130,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(67,111,130,.06) 1px, transparent 1px); background-size: 24px 24px, 24px 24px, 96px 96px, 96px 96px; }
.process > * { position: relative; z-index: 1; }
.process-lead { max-width: 880px; margin: 26px 0 0; color: #5b686e; font-size: 19px; line-height: 1.6; }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 50px 0 0; list-style: none; }
.process-grid::before { content: ""; position: absolute; left: 30px; right: 30px; top: 21px; height: 2px; background: #7896a2; }
.process-grid li, .process-grid li:not(:first-child) { position: relative; min-width: 0; padding: 31px 28px 28px; border: 1px solid #c8d3d2; border-top: 3px solid #7896a2; background: rgba(248,250,249,.92); box-shadow: 0 12px 30px rgba(16,23,28,.045); }
.process-grid span { position: absolute; z-index: 2; top: -47px; left: 27px; display: grid; width: 36px; height: 36px; place-items: center; border: 2px solid #587c8c; border-radius: 50%; background: #f1f4f3; color: var(--accent-dark); box-shadow: 0 0 0 7px #f1f4f3; font-size: 12px; font-weight: 800; }
.process-grid h3 { margin: 0 0 14px; font-size: 23px; }
.process-grid p { color: #69747a; font-size: 16px; }
.process-closer { display: grid; grid-template-columns: 1fr auto; gap: 54px; align-items: center; margin-top: 44px; padding: 32px 36px 32px 31px; border: 1px solid #bcc9ca; border-left: 5px solid var(--accent-dark); background: #edf2f2; box-shadow: 0 14px 34px rgba(16,23,28,.06); }
.process-closer > div { display: grid; gap: 7px; }
.process-closer small { color: var(--accent-dark); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.process-closer strong { max-width: 760px; font-size: 22px; line-height: 1.42; }
.process-closer .button { white-space: nowrap; }

.contact { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.contact::before { content: ""; position: absolute; width: 560px; height: 560px; border: 1px solid #313d43; border-radius: 50%; left: -240px; bottom: -320px; box-shadow: 0 0 0 80px rgba(255,255,255,.018), 0 0 0 160px rgba(255,255,255,.012); }
.contact-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.contact-copy > p:not(.eyebrow):not(.availability) { margin: 28px 0 38px; color: #aeb8bd; }
.phone { display: inline-grid; gap: 4px; padding: 18px 0; border-block: 1px solid #3d494f; }
.phone span { color: #95a1a6; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.phone strong { color: var(--white); font-size: 24px; }
.availability { margin-top: 26px; display: flex; align-items: center; gap: 9px; color: #aeb8bd; font-size: 13px; }
.availability i { width: 9px; height: 9px; border-radius: 50%; background: #75c77e; box-shadow: 0 0 0 5px rgba(117,199,126,.12); }
.contact-form { padding: 46px; background: var(--white); color: var(--ink); box-shadow: 0 28px 70px rgba(0,0,0,.28); }
.contact-form label { display: grid; gap: 7px; margin-bottom: 18px; font-size: 13px; font-weight: 800; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #ced5d3; border-radius: 0; background: #f7f8f8; padding: 14px 15px; color: var(--ink); outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(111,159,178,.16); }
.contact-form textarea { resize: vertical; }
.contact-form .button { width: 100%; border: 0; }
.form-note { margin: 12px 0 0; color: #7a858a; font-size: 12px; text-align: center; }
.form-result { display: none; margin-top: 16px; padding: 14px; background: #e9f6ea; border-left: 3px solid #58a962; color: #295630; font-size: 14px; }
.form-result.visible { display: block; }

footer { padding: 70px 0 24px; background: #090e11; color: #aab5ba; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 60px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-grid > div:first-child p { max-width: 330px; margin: 20px 0 0; }
.footer-grid strong { color: var(--white); }
.footer-grid a:hover { color: var(--accent); }
.brand-footer { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 20px; border-top: 1px solid #283137; color: #707c82; font-size: 12px; }

.legal-page { min-height: 100vh; background: var(--paper); }
.legal-header { position: static; background: var(--ink); }
.legal-header .nav-wrap { height: 78px; }
.legal-header .back-link { color: #c6d0d4; font-size: 14px; font-weight: 700; }
.legal-header .back-link:hover { color: var(--white); }
.legal-content { max-width: 850px; padding-block: 80px 110px; }
.legal-content h1 { margin: 0 0 30px; font-size: clamp(45px, 7vw, 78px); line-height: 1; letter-spacing: -.05em; }
.legal-content h2 { margin: 54px 0 14px; font-size: 28px; letter-spacing: -.025em; }
.legal-content h3 { margin: 32px 0 10px; font-size: 20px; }
.legal-content p, .legal-content li { color: #4e5b61; }
.legal-content a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal-note { margin-bottom: 42px; padding: 18px 20px; border-left: 4px solid var(--accent); background: #e4edf0; color: #2c4651; }
.legal-address { font-style: normal; color: #4e5b61; }
.legal-footer { padding-top: 28px; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 760px); }
  .section { padding-block: 82px; }
  .menu-toggle { display: grid; grid-template-columns: 22px auto; align-items: center; gap: 4px 10px; padding: 8px; border: 0; color: var(--white); background: transparent; cursor: pointer; }
  .menu-toggle span { grid-column: 1; width: 22px; height: 2px; background: currentColor; }
  .menu-toggle b { grid-column: 2; grid-row: 1 / span 3; font-size: 13px; }
  nav { position: fixed; inset: 88px 0 auto; display: none; padding: 28px 24px 34px; border: 0; border-top: 1px solid #364249; background: var(--ink); box-shadow: 0 18px 40px rgba(0,0,0,.2); backdrop-filter: none; flex-direction: column; align-items: stretch; gap: 12px; }
  nav a, nav a:first-child { padding: 11px 0; border-left: 0; }
  nav a:not(.nav-cta)::after { left: 0; bottom: 4px; }
  nav a:hover::after, nav a:focus-visible::after { right: 0; }
  nav .nav-cta { margin: 0 0 6px; padding: 14px 18px; border: 1px solid #9f4a55; text-align: center; }
  nav.open { display: flex; }
  .nav-cta { text-align: center; }
  .hero { min-height: 760px; }
  .hero h1 { font-size: clamp(54px, 10vw, 78px); }
  .hero-motion { width: min(76vw, 700px); right: -18vw; opacity: .58; }
  .intro, .section-head, .fit-panel, .profile-grid, .contact-grid { grid-template-columns: 1fr; }
  .intro, .contact-grid { gap: 48px; }
  .profile-grid { gap: 40px; }
  .personal-note { grid-template-columns: 1fr; gap: 20px; }
  .personal-note-mark { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid #d5dddb; }
  .quality-focus { padding: 20px 0 0; border-left: 0; border-top: 1px solid #d5dddb; }
  .service-cta { grid-template-columns: 1fr; gap: 22px; }
  .service-cta .button { justify-self: start; }
  .section-head, .fit-panel { gap: 36px; }
  .service-grid { grid-template-columns: 1fr; gap: 22px; padding: 0 0 0 56px; }
  .service-grid::before { left: 19px; right: auto; top: 26px; bottom: 26px; width: 1px; height: auto; background: linear-gradient(transparent, #7694a1 5%, #7694a1 95%, transparent); }
  .service-grid::after { display: none; }
  .service-card { min-height: 0; padding: 34px; grid-template-columns: 1fr; }
  .service-node-icon { left: -57px; top: 14px; }
  .fit-panel { padding: 54px; }
  .project-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 300px); }
  .project-tall { grid-row: span 2; }
  .project-wide { grid-column: span 2; }
  .project-dialog-layout { grid-template-columns: 1fr; }
  .project-dialog-gallery { min-height: 520px; }
  .project-dialog-content { padding: 48px 42px; }
  .profile-visual { max-width: 560px; }
  .profile-badge { right: -10px; }
  .process-closer { grid-template-columns: 1fr; gap: 24px; }
  .process-closer .button { justify-self: start; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (min-width: 981px) and (max-height: 850px) {
  .hero { min-height: 100svh; }
  .hero-content { padding: 102px 0 132px; }
  .hero h1 { font-size: clamp(58px, 7vw, 88px); }
  .hero-copy { margin-top: 26px; font-size: 19px; }
  .hero-actions { margin-top: 26px; }
  .hero-facts { padding-top: 18px; padding-bottom: 19px; }
  .project-dialog { height: calc(100svh - 28px); max-height: none; }
  .project-dialog-layout { height: 100%; min-height: 0; }
  .project-dialog-gallery { min-height: 0; }
  .project-dialog-content { padding: 28px 38px; }
  .project-dialog-content h2 { font-size: clamp(36px, 3.2vw, 48px); }
  .project-dialog-lead { margin: 15px 0; font-size: 16px; line-height: 1.45; }
  .project-dialog-facts { margin-bottom: 15px; }
  .project-dialog-facts div { gap: 14px; padding: 9px 0; }
  .project-dialog-facts dd { font-size: 13px; line-height: 1.4; }
  .project-dialog-placeholder { margin-bottom: 10px; padding: 9px 12px; font-size: 10px; }
  .project-dialog-content .button { min-height: 48px; margin-top: 0; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100% - 28px); }
  body { font-size: 16px; }
  .section { padding-block: 66px; }
  .nav-wrap { height: 76px; }
  #leistungen, #projekte, #profil, #anfrage { scroll-margin-top: 76px; }
  nav { top: 76px; }
  .hero { min-height: max(800px, 100svh); align-items: center; }
  .hero-media { background-position: 62% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(14,31,38,.94) 8%, rgba(31,61,72,.66) 64%, rgba(91,136,153,.18)), radial-gradient(circle at 75% 28%, rgba(156,202,217,.27), transparent 40%); }
  .hero-content { padding: 116px 0 135px; }
  .hero-motion { width: 112vw; right: -48vw; opacity: .42; }
  .hero h1 { font-size: clamp(48px, 16vw, 70px); }
  .hero-copy { font-size: 18px; margin-top: 28px; }
  .hero-actions { display: grid; }
  .hero-button { width: 100%; min-width: 0; min-height: 62px; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 15px 0 16px; }
  .hero-facts li { min-width: 0; padding: 0 9px; }
  .hero-facts li:first-child { padding-left: 0; }
  .hero-facts strong { font-size: 13px; line-height: 1.25; }
  .hero-facts span { font-size: 10px; }
  .hero-facts small { font-size: 7px; }
  .project-strip { padding: 58px 0 64px; }
  .project-strip-head { margin-bottom: 28px; }
  .project-strip-head > p { padding-left: 14px; }
  .project-slide { width: min(82vw, 340px); height: 236px; }
  .project-slide figcaption { inset: auto 18px 16px; grid-template-columns: 1fr; gap: 4px; }
  .project-slide figcaption strong { font-size: 18px; }
  h2 { font-size: clamp(38px, 12vw, 54px); }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid { padding-left: 42px; }
  .service-grid::before { left: 13px; }
  .service-card { min-height: 0; padding: 32px 24px; grid-template-columns: 1fr; }
  .service-node-icon { left: -49px; }
  .personal-note { grid-template-columns: 1fr; gap: 18px; padding: 26px 22px; }
  .service-cta { padding: 26px 22px; }
  .service-cta .button { width: 100%; }
  .fit-panel { padding: 38px 24px; }
  .project-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(4, 340px); }
  .project-tall, .project-wide { grid-row: auto; grid-column: auto; }
  .project-card-copy b { max-height: 30px; margin-top: 8px; opacity: 1; }
  .project-dialog { width: calc(100% - 20px); max-height: calc(100svh - 20px); }
  .project-dialog-layout { min-height: 0; }
  .project-dialog-gallery { grid-template-rows: 260px 130px; min-height: 393px; }
  .project-dialog-content { padding: 38px 24px; }
  .project-dialog-content h2 { font-size: 39px; }
  .project-dialog-facts div { grid-template-columns: 1fr; gap: 5px; }
  .project-dialog-close { position: fixed; top: 18px; right: 18px; }
  .profile { padding-block: 58px; }
  .profile-portrait { height: 400px; }
  .profile-visual { min-height: 400px; }
  .profile-badge { right: 12px; bottom: 18px; }
  .profile + .fit { padding-top: 44px; }
  .skill-groups { grid-template-columns: 1fr; }
  .process { padding-inline: 22px; }
  .process-grid { grid-template-columns: 1fr; gap: 16px; padding: 0 0 0 48px; }
  .process-grid::before { left: 17px; right: auto; top: 18px; bottom: 18px; width: 2px; height: auto; }
  .process-grid li, .process-grid li:not(:first-child) { padding: 25px 22px; border: 1px solid #c8d3d2; border-left: 3px solid #7896a2; }
  .process-grid span { top: 24px; left: -49px; width: 34px; height: 34px; box-shadow: 0 0 0 6px #f1f4f3; }
  .process-lead { font-size: 17px; }
  .process-closer { padding: 26px 22px; }
  .process-closer strong { font-size: 19px; }
  .process-closer .button { width: 100%; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 42px 30px; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .legal-content { padding-block: 58px 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-motion * { animation: none !important; }
  .project-marquee-track { animation: none !important; }
}
