/* GSA Elektrotechnik und Engineering GmbH – Design „Schaltplan & Signal“
   Navy, Logo-Blau und Logo-Rot · Instrument Sans + JetBrains Mono (lokal, SIL OFL) · hell (Standard) + dunkel */

@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; src: url('/assets/fonts/instrument-sans-var-latin.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/jetbrains-mono-var-latin.woff2') format('woff2'); }

:root {
  --bg: #f4f6fb; --bg-alt: #e8ecf6; --surface: #ffffff; --surface-2: #f8f9fd;
  --ink: #0a1033; --ink-2: #252d52; --muted: #4d5676; --line: #d5dbea; --line-2: #c3cbe0;
  --brand: #2433c8; --brand-2: #1a26a3; --brand-soft: #e3e7ff; --red: #c8231a; --red-soft: #ffe5e2; --led: #11a456;
  --navy: #070c26; --navy-2: #0c1440; --on-navy: #e9ecfb; --on-navy-muted: #b4bcde;
  --shadow: 0 1px 2px rgba(10, 16, 51, .06), 0 10px 30px -12px rgba(10, 16, 51, .18);
  --shadow-lg: 0 30px 60px -24px rgba(10, 16, 51, .35);
  --radius: 14px; --radius-sm: 8px;
  --font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --container: 1240px; --gutter: clamp(1rem, 4vw, 2.5rem); --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #060a1c; --bg-alt: #0a1029; --surface: #0e1534; --surface-2: #111a3d;
  --ink: #e9ecf8; --ink-2: #cfd5ee; --muted: #a6aecf; --line: #222b54; --line-2: #2e3966;
  --brand: #93a0ff; --brand-2: #b3bcff; --brand-soft: #1a2260; --red: #ff7a70; --red-soft: #3a1416; --led: #2fd27a;
  --navy: #040716; --navy-2: #0a1135;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 30px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; font-stretch: 100%; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color .3s, color .3s; }
img, video, iframe, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4, .h3, .h4 { font-family: var(--font); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 650; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); font-stretch: 88%; font-weight: 680; letter-spacing: -.03em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); font-stretch: 90%; }
h3, .h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -.01em; }
.h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-lg { width: 2.2rem; height: 2.2rem; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.narrow-wide { max-width: 980px; }
.center { text-align: center; }
main { display: block; outline: none; }
::selection { background: var(--brand); color: #fff; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--ink); color: var(--bg); padding: .7rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 1rem; color: var(--bg); }
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #6f7dff 60%, var(--red)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 10px rgba(80, 100, 255, .6); }

/* ---------- Buttons */
.btn { --bg-b: var(--ink); --fg-b: var(--bg); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.35rem; border: 1.5px solid var(--bg-b); border-radius: 999px; background: var(--bg-b); color: var(--fg-b); font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease), box-shadow .25s, background-color .25s, color .25s, border-color .25s; }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .28), transparent 60%); opacity: 0; transition: opacity .3s; }
.btn:hover { color: var(--fg-b); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(10, 16, 51, .45); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0); }
.btn--accent { --bg-b: #2433c8; --fg-b: #fff; }
[data-theme="dark"] .btn--accent { --bg-b: #3445e0; }
.btn--accent:hover { --bg-b: #1a26a3; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { color: var(--ink); border-color: var(--ink); background: var(--surface); }
.btn--glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { color: #fff; background: rgba(255, 255, 255, .2); border-color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--dark { --bg-b: #0a1033; --fg-b: #fff; }
.btn--sm { min-height: 42px; padding: .55rem 1.05rem; font-size: .93rem; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.btn-row--center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Eyebrow (Betriebsmittelkennzeichen) */
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1.1rem; font: 500 .8rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow-code { display: inline-block; padding: .3rem .5rem; border: 1px solid var(--line-2); border-radius: 4px; color: var(--brand); background: var(--surface); letter-spacing: .04em; }
.eyebrow--light { color: var(--on-navy-muted); }
.eyebrow--light .eyebrow-code { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); color: #aeb8ff; }
.led { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(212, 42, 32, .2), 0 0 12px rgba(255, 80, 60, .8); flex: none; }
.led--green { background: #2fd27a; box-shadow: 0 0 0 3px rgba(47, 210, 122, .2), 0 0 12px rgba(47, 210, 122, .8); }
.hl { background: linear-gradient(transparent 62%, var(--brand-soft) 62%); padding: 0 .1em; }

/* ---------- Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--ink); background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s; }
.header-inner { display: flex; align-items: center; gap: 1.25rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: inherit; text-decoration: none; margin-right: auto; }
.brand:hover { color: inherit; }
.logo img { width: 100%; height: auto; }
.logo--header { width: 46px; flex: none; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .18)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 700; font-size: 1.45rem; letter-spacing: -.02em; font-stretch: 85%; }
.brand-sub { font: 500 .68rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.nav-list { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-link { position: relative; display: block; padding: .55rem .8rem; color: inherit; font-weight: 550; font-size: .98rem; text-decoration: none; border-radius: 6px; }
.nav-link::after { content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
.nav-link:hover { color: inherit; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"]::after { background: var(--red); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.theme-toggle, .menu-toggle { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; border-radius: 999px; }
.tt-track { position: relative; display: block; width: 58px; height: 30px; border-radius: 999px; border: 1.5px solid currentColor; opacity: .9; }
.tt-knob { position: absolute; top: 2px; left: 2px; display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: currentColor; transition: transform .35s var(--ease); }
.tt-knob .icon { position: absolute; width: 15px; height: 15px; color: var(--bg); transition: opacity .25s; }
.has-hero:not(.scrolled) .site-header:not(.is-open) .tt-knob .icon { color: var(--navy); }
.i-moon { opacity: 0; }
[data-theme="dark"] .tt-knob { transform: translateX(27px); }
[data-theme="dark"] .i-sun { opacity: 0; }
[data-theme="dark"] .i-moon { opacity: 1; }
.menu-toggle { display: none; }
.menu-toggle .icon { width: 26px; height: 26px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.menu-toggle[aria-expanded="true"] .i-menu { display: none; }
/* Transparent über dem Hero */
.has-hero .site-header { background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-hero .site-header .brand-sub { opacity: .85; }
.has-hero.scrolled .site-header, .has-hero .site-header.is-open { background: color-mix(in srgb, var(--bg) 88%, transparent); color: var(--ink); border-color: var(--line); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.has-hero:not(.scrolled) .site-header:not(.is-open) .header-cta { --bg-b: #fff; --fg-b: #0a1033; }
.scrolled .site-header { box-shadow: 0 8px 30px -18px rgba(10, 16, 51, .4); }

.mobile-nav { border-top: 1px solid var(--line); background: var(--bg); max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
.mobile-nav ul { list-style: none; margin: 0; padding: .75rem var(--gutter); }
.mobile-nav li a { display: flex; align-items: baseline; gap: .9rem; padding: .85rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 1.35rem; font-weight: 600; font-stretch: 90%; }
.mobile-nav li a[aria-current="page"] { color: var(--brand); }
.mn-num { font: 500 .78rem var(--mono); color: var(--muted); }
.mobile-nav-foot { display: grid; gap: .6rem; padding: .5rem var(--gutter) 1.5rem; }
.mobile-nav-foot .btn { width: 100%; }

/* ---------- Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -4% 0 0 0; z-index: -3; will-change: translate; }
.hero-bg picture, .hero-bg img { width: 100%; height: 100%; max-width: none; }
.hero-bg img { object-fit: cover; object-position: 62% 40%; animation: kenburns 24s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(90deg, rgba(5, 8, 26, .94) 0%, rgba(6, 10, 34, .84) 34%, rgba(8, 14, 48, .38) 64%, rgba(8, 14, 48, .1) 100%),
  linear-gradient(0deg, rgba(5, 8, 26, .9) 0%, rgba(5, 8, 26, 0) 38%),
  linear-gradient(180deg, rgba(5, 8, 26, .6) 0%, rgba(5, 8, 26, 0) 22%); }
.hero-circuit { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; max-width: none; pointer-events: none; opacity: .9; }
.hero-circuit .trace { fill: none; stroke: rgba(150, 165, 255, .32); stroke-width: 1.5; }
.hero-circuit .pulse { fill: none; stroke: #8f9cff; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 6 94; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px #6d7dff); animation: pulse 4.6s linear infinite; }
.hero-circuit .pulse.p1, .hero-circuit .pulse.p4 { stroke: #ff6a5e; filter: drop-shadow(0 0 6px #ff4a3c); }
.hero-circuit .p1 { animation-delay: -1.2s; animation-duration: 5.4s; } .hero-circuit .p2 { animation-delay: -2.6s; } .hero-circuit .p3 { animation-delay: -.6s; animation-duration: 6s; }
.hero-circuit .p4 { animation-delay: -3.4s; } .hero-circuit .p5 { animation-delay: -1.9s; animation-duration: 5s; } .hero-circuit .p6 { animation-delay: -4s; }
@keyframes pulse { to { stroke-dashoffset: 0; } }
.hero-circuit .node { fill: #0a1033; stroke: #9aa6ff; stroke-width: 2; }
.hero-circuit .clabels text { fill: rgba(200, 208, 255, .7); font: 500 13px var(--mono); letter-spacing: .04em; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 3rem; align-items: end; padding-top: calc(var(--header-h) + 3rem); padding-bottom: 2.2rem; }
.hero-copy { max-width: 760px; }
.hero-kicker { display: inline-flex; align-items: center; gap: .65rem; margin: 0 0 1.4rem; padding: .45rem .85rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font: 500 .76rem/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: #dfe4ff; }
.hero-title { color: #fff; font-size: clamp(2.6rem, 6.6vw, 5.6rem); line-height: 1; font-stretch: 82%; font-weight: 700; letter-spacing: -.035em; margin-bottom: 1.4rem; }
.hero-title em { font-style: normal; position: relative; color: #fff; background: linear-gradient(100deg, #a5b0ff 10%, #ffffff 45%, #ff8a80 90%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: glow 6s ease-in-out infinite alternate; }
.hero-title em::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.08em; height: .07em; border-radius: 4px; background: linear-gradient(90deg, #4757ff, #ff5a4e); transform-origin: 0 50%; animation: underline 1.2s 1.1s var(--ease) both; }
@keyframes glow { from { background-position: 0 0; } to { background-position: 100% 0; } }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-lead { font-size: clamp(1.05rem, 1.45vw, 1.25rem); color: #d9def4; max-width: 620px; margin: 0; }
.hero-panel { padding: 1.25rem; border-radius: var(--radius); background: rgba(8, 13, 42, .55); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.hp-head { display: flex; align-items: center; gap: .6rem; margin: 0 0 .9rem; font: 500 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #c4cbf0; }
.hp-people { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.hp-people li { display: flex; align-items: center; gap: .8rem; }
.hp-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; border: 2px solid rgba(255, 255, 255, .35); }
.hp-avatar img { width: 100%; height: auto; margin-top: -2px; }
.hp-txt { display: flex; flex-direction: column; line-height: 1.3; }
.hp-txt strong { font-size: .95rem; }
.hp-txt a, .hp-mail { color: #c7cfff; text-decoration: none; font: 500 .88rem var(--mono); }
.hp-txt a:hover, .hp-mail:hover { color: #fff; text-decoration: underline; }
.hp-mail { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-strip { position: relative; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; list-style: none; margin: 0 auto; padding-top: 0; padding-bottom: 2rem; }
.hero-strip li { display: flex; flex-direction: column; gap: .15rem; padding: 1rem 2.4rem 0 0; margin-right: 2.4rem; border-top: 1px solid rgba(255, 255, 255, .25); }
.hs-k { font: 500 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #aab3dc; }
.hs-v { font-weight: 600; color: #fff; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 2.2rem; display: grid; place-items: center; width: 44px; height: 70px; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 999px; }
.scroll-cue span { width: 4px; height: 12px; border-radius: 4px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(-14px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
.hero-anim { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease) forwards; }
.a1 { animation-delay: .1s; } .a2 { animation-delay: .22s; } .a3 { animation-delay: .38s; } .a4 { animation-delay: .52s; } .a5 { animation-delay: .7s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Sections */
.section { position: relative; padding: clamp(4rem, 8vw, 7rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head > p:last-child { color: var(--muted); font-size: 1.1rem; }
.section-head--split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1rem 4rem; align-items: end; max-width: none; }
.section-head--split > p { margin: 0 0 .6em; }
.section-head--split h2 { margin-bottom: 0; }
.section-head--left { max-width: none; }

/* Blueprint (immer dunkel) */
.section--blueprint { background: var(--navy-2); color: var(--on-navy); overflow: hidden; isolation: isolate; }
.section--blueprint::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(140, 155, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 155, 255, .08) 1px, transparent 1px), linear-gradient(rgba(140, 155, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 155, 255, .04) 1px, transparent 1px); background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 85%); }
.section--blueprint h2, .section--blueprint h3 { color: #fff; }
.section--blueprint .section-head > p:last-child, .section--blueprint p { color: var(--on-navy-muted); }
.section--blueprint .lead { color: #dfe3fa; }
.section--blueprint a { color: #b8c0ff; }

/* ---------- Intro */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
.intro-media { position: relative; }
.intro-badge { position: absolute; left: -1rem; bottom: 1.5rem; display: inline-flex; align-items: center; gap: .6rem; margin: 0; padding: .7rem 1rem; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-lg); font: 500 .78rem var(--mono); letter-spacing: .04em; color: var(--ink); }
.photo { margin: 0; }
.photo img { width: 100%; height: auto; border-radius: var(--radius); }
.photo figcaption { margin-top: .6rem; font: 500 .78rem/1.4 var(--mono); letter-spacing: .04em; color: var(--muted); }
.photo--frame { position: relative; padding: .6rem; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: var(--surface); box-shadow: var(--shadow); }
.photo--frame img { border-radius: var(--radius-sm); }
.photo--frame figcaption { padding: .3rem .3rem 0; }
.photo--tilt img { box-shadow: var(--shadow-lg); }
.photo--portrait { max-width: 400px; }

/* Zahlen */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { padding: 1.6rem 1.4rem 0 0; display: flex; flex-direction: column; gap: .35rem; border-right: 1px solid var(--line); padding-left: 1.4rem; }
.facts li:first-child { padding-left: 0; }
.facts li:last-child { border-right: 0; }
.facts strong { font: 600 clamp(2.4rem, 4.6vw, 3.6rem)/1 var(--mono); letter-spacing: -.04em; color: var(--brand); }
.facts li > span { color: var(--muted); font-size: .95rem; }
.split-media .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; }
.split-media .facts li { border: 0; padding: 1.25rem; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.split-media .facts { gap: 1rem; }

/* Laufband */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding: 1.05rem 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 2rem; padding-right: 2rem; font: 500 clamp(.95rem, 1.6vw, 1.2rem) var(--mono); letter-spacing: .02em; color: var(--ink-2); white-space: nowrap; }
.marquee span::after { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); transform: rotate(45deg); }
.marquee span:nth-child(3n)::after { background: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Leistungen */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.svc { position: relative; display: flex; flex-direction: column; padding: clamp(1.4rem, 2.6vw, 2.2rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; overflow: hidden; }
.svc::before { content: ''; position: absolute; top: 0; left: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--brand), var(--red)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.svc:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow-lg); }
.svc:hover::before { transform: scaleX(1); }
.svc-top { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.3rem; }
.svc-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.svc-icon .icon { width: 28px; height: 28px; }
.svc-code { font: 600 .82rem var(--mono); color: var(--muted); padding: .25rem .5rem; border: 1px dashed var(--line-2); border-radius: 4px; }
.svc-led { margin-left: auto; width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); transition: background-color .3s, box-shadow .3s; }
.svc:hover .svc-led { background: #2fd27a; box-shadow: 0 0 0 4px rgba(47, 210, 122, .2), 0 0 14px rgba(47, 210, 122, .9); }
.svc h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-stretch: 90%; margin-bottom: .5rem; }
.svc > p { color: var(--muted); }
.svc-more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; padding-top: .5rem; }
.svc-more .icon { transition: transform .25s var(--ease); }
.svc-more:hover .icon { transform: translateX(4px); }
.ticks { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .45rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.45; }
.ticks .icon { color: var(--brand); margin-top: .12em; width: 1.1em; height: 1.1em; }
.ticks--big li { font-size: 1.05rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.ticks--big { gap: 0; }

.jump { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.6rem 0 0; padding: 0; }
.jump a { display: inline-block; padding: .5rem .95rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 550; background: var(--surface); transition: border-color .2s, background-color .2s; }
.jump a:hover { border-color: var(--brand); color: var(--brand); }
.svc-detail-list { display: grid; gap: 1.5rem; }
.svc-detail { display: grid; grid-template-columns: 90px minmax(0, 1.05fr) minmax(0, 1fr); gap: 1.5rem 3rem; padding: clamp(1.5rem, 3vw, 2.6rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 20px); }
.svc-detail-head { display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; }
.svc-detail h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.svc-detail .lead { font-size: 1.1rem; }
.svc-detail-text { padding-left: 2rem; border-left: 1px solid var(--line); }
.svc-detail-text h3 { font-size: 1.1rem; margin-top: 1.2rem; }
.svc-detail-text h3:first-child { margin-top: 0; }
.svc-detail-text p { color: var(--muted); }

/* Projektablauf (Leitung, die sich beim Scrollen füllt) */
.process { position: relative; max-width: 980px; margin: 0 auto; --p: 0; }
.wire { position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: rgba(150, 165, 255, .18); border-radius: 2px; }
.wire-fill { position: absolute; inset: 0; background: linear-gradient(180deg, #6f7dff, #ff5a4e); transform-origin: 50% 0; transform: scaleY(var(--p)); box-shadow: 0 0 12px rgba(111, 125, 255, .8); border-radius: 2px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 2.5rem; }
.step { position: relative; display: flex; align-items: center; gap: 1rem; padding: .85rem 1rem .85rem 0; }
.step-node { position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 14px; background: #0f1a52; border: 1px solid rgba(150, 165, 255, .35); color: #b3bcff; transition: background-color .4s, border-color .4s, color .4s, box-shadow .4s; }
.step-node .icon { width: 26px; height: 26px; }
.step.is-lit .step-node { background: #2433c8; border-color: #8f9cff; color: #fff; box-shadow: 0 0 0 5px rgba(80, 100, 255, .18), 0 0 24px rgba(80, 100, 255, .55); }
.step-num { font: 600 .8rem var(--mono); color: #ff8a80; min-width: 1.6rem; }
.step-txt { color: #eef0ff; font-weight: 550; line-height: 1.35; }
@media (min-width: 900px) {
  .wire { display: none; }
  .step { padding: 1rem 1.1rem; border: 1px solid rgba(150, 165, 255, .16); border-radius: var(--radius); background: rgba(10, 18, 70, .45); }
  .steps { grid-auto-flow: column; grid-template-rows: repeat(5, auto); }
}

/* Branchen */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--rev .split-copy { order: 0; }
.sectors { list-style: none; margin: 1.4rem 0; padding: 0; display: grid; gap: .6rem; }
.sectors li { display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-weight: 550; transition: transform .3s var(--ease), border-color .3s; }
.sectors li:hover { transform: translateX(6px); border-color: var(--brand); }
.sectors .icon { width: 1.6rem; height: 1.6rem; color: var(--brand); padding: .3rem; box-sizing: content-box; background: var(--brand-soft); border-radius: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0 0 1.2rem; padding: 0; }
.chips li { padding: .45rem .85rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font: 500 .88rem var(--mono); }

/* Werte & Zitat */
.values, .cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.value, .card { padding: clamp(1.4rem, 2.4vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .35s; }
.value:hover, .card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.value > .icon, .card > .icon { width: 2.1rem; height: 2.1rem; color: var(--brand); margin-bottom: 1rem; }
.value p, .card p { color: var(--muted); margin: 0; }
.card--wide { grid-column: 1 / -1; }
.card--dark { background: rgba(12, 22, 80, .55); border-color: rgba(150, 165, 255, .2); box-shadow: none; }
.cards-3 .card--dark h3 { color: #fff; }
.section--blueprint .cards-3 { margin-top: 3rem; }
.pullquote { margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: clamp(1.6rem, 4vw, 3rem); border-radius: var(--radius); background: var(--navy-2); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.pullquote::before { content: '„'; position: absolute; right: 2rem; top: -3.5rem; z-index: -1; font: 700 16rem/1 var(--font); color: rgba(120, 135, 255, .16); }
.pullquote blockquote { margin: 0; }
.pullquote p { font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.3; font-weight: 600; font-stretch: 90%; letter-spacing: -.01em; margin: 0 0 1rem; color: #fff; }
.pullquote p span { color: #ff9d94; }
.pullquote figcaption a { color: #c2c9ff; }

/* Referenzen */
.ref-teaser { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.ref-teaser .refs { grid-template-columns: 1fr; margin-bottom: 1.5rem; }
.map-card { margin: 0; padding: .6rem; border-radius: calc(var(--radius) + 6px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 1071px; }
.map-card img { width: 100%; height: auto; border-radius: var(--radius-sm); }
.map-card figcaption { padding: .55rem .4rem .15rem; font: 500 .78rem var(--mono); color: var(--muted); letter-spacing: .04em; }
.refs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.ref { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; transition: border-color .3s, transform .3s var(--ease); }
.ref:hover { border-color: var(--brand); transform: translateY(-2px); }
.ref[hidden] { display: none; }
.ref-cc { flex: none; display: grid; place-items: center; width: 44px; height: 32px; border-radius: 6px; background: var(--ink); color: var(--bg); font: 600 .8rem var(--mono); letter-spacing: .06em; }
.ref[data-cc="AT"] .ref-cc { background: var(--red); color: #fff; }
[data-theme="dark"] .ref[data-cc="AT"] .ref-cc { background: #c8231a; }
.ref-body { display: flex; flex-direction: column; gap: .15rem; }
.ref-body strong { line-height: 1.3; }
.ref-meta { color: var(--muted); font-size: .95rem; }
.ref-link { color: var(--brand); }
.ref-filter { display: flex; flex-wrap: wrap; gap: .5rem; justify-self: end; }
.chip-btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 600 .95rem var(--font); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip-btn span { font: 500 .78rem var(--mono); padding: .1rem .45rem; border-radius: 999px; background: var(--bg-alt); color: var(--ink); }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip-btn[aria-pressed="true"] span { background: var(--bg); color: var(--ink); }
.ref-note { margin-top: 1.5rem; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.person { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.person-media { position: relative; display: block; overflow: hidden; background: #e9dfb0; }
.person-media .pic, .person-media img { width: 100%; height: auto; }
.person-media .alt-img { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.person:hover .person-media .alt-img { opacity: 1; }
.person-body { padding: clamp(1.25rem, 2.4vw, 1.9rem); display: flex; flex-direction: column; }
.person-role { font: 500 .74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 .4rem; }
.person h3 { font-size: 1.5rem; font-stretch: 90%; margin-bottom: .5rem; }
.person h3 a { color: var(--ink); text-decoration: none; }
.person h3 a:hover { color: var(--brand); }
.person-focus { color: var(--muted); }
.person blockquote { margin: 0 0 1rem; padding-left: 1rem; border-left: 3px solid var(--red); font-style: italic; color: var(--ink-2); }
.person-contact { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .35rem; }
.person-contact li { display: flex; align-items: center; gap: .55rem; }
.person-contact .icon { color: var(--brand); width: 1.1em; height: 1.1em; }
.person-contact a { color: var(--ink); text-decoration: none; font-weight: 550; overflow-wrap: anywhere; }
.person-contact a:hover { color: var(--brand); text-decoration: underline; }
.person .link-arrow { margin-top: auto; }
.bio-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.person-side { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1rem 1rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.person-side .photo { margin-bottom: 1rem; }
.person-name { font-size: 1.3rem; font-weight: 650; margin: 0 0 .8rem; }
.quote-lead { font-style: italic; max-width: 900px; }

/* Kundenstimmen */
.reviews-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.review-list { display: contents; }
.review { margin: 0; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.review-q .icon { width: 2rem; height: 2rem; color: var(--brand); opacity: .55; }
.review blockquote { margin: .6rem 0 1.2rem; }
.review blockquote p { margin: 0; font-size: 1.02rem; color: var(--ink-2); }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: .75rem; }
.review figcaption strong { display: block; }
.review figcaption small { color: var(--muted); font-size: .85rem; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); flex: none; }
.rating-card { padding: 1.75rem; border-radius: var(--radius); background: var(--navy-2); color: var(--on-navy); display: flex; flex-direction: column; align-items: flex-start; }
.rating-card p { color: var(--on-navy-muted); }
.rating-g .icon { width: 2.4rem; height: 2.4rem; color: #fff; }
.rating-value { font-size: 1.5rem; font-weight: 650; color: #fff !important; margin: .8rem 0 .5rem; }
.rating-card .btn { --bg-b: #fff; --fg-b: #0a1033; margin-top: auto; }

/* CTA-Band */
.cta-band { position: relative; padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.cta-grid { position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 85% 20%, rgba(36, 51, 200, .55), transparent 70%), radial-gradient(500px 260px at 10% 110%, rgba(200, 35, 26, .35), transparent 70%), linear-gradient(rgba(140, 155, 255, .07) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(140, 155, 255, .07) 1px, transparent 1px) 0 0 / 40px 40px; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem 4rem; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); font-stretch: 85%; }
.cta-band p { color: var(--on-navy-muted); font-size: 1.12rem; max-width: 640px; margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: .75rem; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-list { display: grid; gap: .7rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.25rem; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.08rem; font-weight: 600; letter-spacing: 0; }
.faq-icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line-2); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--brand); border-color: var(--brand); color: #fff; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { padding: 0 1.25rem 1.1rem; color: var(--muted); }
.faq-a p { margin: 0; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-list { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.contact-list li > .icon { color: var(--brand); margin-top: .2rem; }
.contact-list span { display: flex; flex-direction: column; line-height: 1.5; min-width: 0; }
.contact-list small { font: 500 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 550; overflow-wrap: anywhere; }
.embed { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-consent { position: absolute; inset: 0; display: grid; place-items: center; padding: 1.5rem; text-align: center; background: linear-gradient(rgba(36, 51, 200, .05) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(36, 51, 200, .05) 1px, transparent 1px) 0 0 / 28px 28px, var(--surface-2); }
.embed-consent .inner { max-width: 420px; }
.embed-consent .icon-lg { color: var(--brand); margin: 0 auto .5rem; }
.embed-title { font-weight: 650; font-size: 1.2rem; margin: 0 0 .4rem; }
.embed-consent p { font-size: .93rem; color: var(--muted); }
.remember { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .9rem; font-size: .9rem; color: var(--muted); cursor: pointer; }
.remember input { width: 18px; height: 18px; accent-color: var(--brand); }
.contact-page { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.form-card { padding: clamp(1.25rem, 3vw, 2.25rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-page .contact-list { margin-top: 0; }

/* Formular */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
.req { color: var(--red); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem .85rem; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { color: var(--red); font-size: .9rem; font-weight: 550; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field--check { flex-direction: row; align-items: flex-start; gap: .7rem; flex-wrap: wrap; }
.field--check input { width: 22px; min-height: 22px; height: 22px; margin-top: .15rem; accent-color: var(--brand); flex: none; }
.field--check label { flex: 1; font-weight: 400; font-size: .93rem; min-width: 0; }
.field--check .field-error { flex-basis: 100%; }
.form-hint { font-size: .88rem; color: var(--muted); margin: 1rem 0 1.25rem; }
.form-status { margin-top: 1rem; font-weight: 550; outline: none; }
.form-status.is-ok { padding: .9rem 1rem; border-radius: 10px; background: color-mix(in srgb, #11a456 14%, var(--surface)); color: var(--ink); border: 1px solid #11a456; }
.form-status.is-error { padding: .9rem 1rem; border-radius: 10px; background: var(--red-soft); color: var(--ink); border: 1px solid var(--red); }

/* ---------- Seitenkopf (Unterseiten) */
.crumbs-wrap { padding-top: calc(var(--header-h) + 1.25rem); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; margin: 0; padding: 0; font: 500 .8rem var(--mono); color: var(--muted); }
.breadcrumb li + li::before { content: '/'; margin-right: .3rem; opacity: .6; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); }
.page-hero { padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4.5rem); position: relative; }
.page-hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.page-hero--compact .lead { max-width: 820px; }
.page-hero--center { padding-top: calc(var(--header-h) + 4rem); min-height: 70vh; display: grid; place-items: center; }
.page-404 .page-hero--center, .page-kontakt-danke .page-hero--center, .page-kontakt-fehler .page-hero--center { padding-top: 3rem; }
.info-icon { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: color-mix(in srgb, #11a456 16%, var(--surface)); color: #11a456; margin-bottom: 1.4rem; }
.info-icon .icon { width: 36px; height: 36px; }
.info-icon--warn { background: var(--red-soft); color: var(--red); }

/* Zeitachse */
.timeline { list-style: none; margin: 1.5rem 0 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 76px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--brand), var(--red)); opacity: .5; }
.timeline li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 2.6rem; padding: 0 0 2rem; position: relative; }
.timeline li::before { content: ''; position: absolute; left: 70px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--brand); }
.tl-year { font: 600 1rem var(--mono); color: var(--brand); padding-top: .05rem; }
.timeline h3 { margin-bottom: .35rem; }
.timeline p { color: var(--muted); margin: 0; }

/* Rechtstexte */
.legal h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-top: 2.2rem; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .35rem; }
.bio h2 { font-size: 1.35rem; }
.agb p { margin-bottom: .7rem; }
.agb-n { font: 600 .85rem var(--mono); color: var(--brand); margin-right: .25rem; }
.toc { padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 2rem; }
.toc ol { margin: 0; padding-left: 1.4rem; columns: 2; column-gap: 2rem; }
.toc li { margin-bottom: .3rem; break-inside: avoid; }
.tm { display: flex; align-items: center; gap: 1.25rem; margin: 0; }
.logo--tm { width: 88px; flex: none; }

/* ---------- Footer */
.site-footer { position: relative; background: var(--navy); color: var(--on-navy-muted); padding: clamp(3.5rem, 6vw, 5rem) 0 1.5rem; font-size: .97rem; overflow: hidden; }
.footer-trace { position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, #2433c8, #6f7dff 50%, #c8231a); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.footer-logo { display: inline-flex; align-items: center; gap: .9rem; color: #fff; text-decoration: none; margin-bottom: 1.2rem; }
.footer-logo:hover { color: #fff; }
.footer-logo span { display: flex; flex-direction: column; line-height: 1.15; }
.footer-logo strong { font-size: 1.7rem; font-stretch: 85%; }
.footer-logo small { font: 500 .72rem var(--mono); letter-spacing: .04em; color: var(--on-navy-muted); }
.logo--footer { width: 72px; flex: none; }
.footer-claim { color: #fff; font-size: 1.2rem; font-weight: 600; margin-bottom: .6rem; }
.footer-tagline { font: 500 .78rem var(--mono); letter-spacing: .06em; color: #aeb8ff; }
.footer-title { color: #fff; font-size: .78rem; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 600; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-links a, .site-footer a { color: #dfe3fa; text-decoration: none; }
.footer-links a:hover, .site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .icon { margin-top: .2rem; color: #8f9cff; width: 1.05em; height: 1.05em; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-facts { margin-top: 1.4rem; font: 500 .76rem/1.6 var(--mono); color: #9aa3cc; }
.social { display: flex; gap: .6rem; list-style: none; margin: 1.2rem 0 0; padding: 0; }
.social-link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #fff !important; transition: background-color .2s, border-color .2s; }
.social-link:hover { background: rgba(255, 255, 255, .1); border-color: #fff; text-decoration: none !important; }
.social-txt { font: 700 .72rem var(--mono); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; list-style: none; margin: 0; padding: 0; }
.footer-bottom .linklike { color: #dfe3fa; text-decoration: none; }
.footer-bottom .linklike:hover { color: #fff; text-decoration: underline; }

.mobile-cta { display: none; }
.privacy-dialog { max-width: 480px; width: calc(100% - 2rem); padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.privacy-dialog::backdrop { background: rgba(5, 8, 26, .6); backdrop-filter: blur(3px); }
.privacy-dialog .remember { justify-content: flex-start; }

/* ---------- Scroll-Reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.d-1 { transition-delay: .08s !important; } .d-2 { transition-delay: .16s !important; } .d-3 { transition-delay: .24s !important; }

/* ---------- Responsive */
@media (max-width: 1199px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; }
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: 1fr; max-width: 760px; }
  .svc-detail { grid-template-columns: 1fr; }
  .svc-detail-head { flex-direction: row; align-items: center; }
  .svc-detail-text { padding-left: 0; border-left: 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1099px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-grid; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 420px; }
  .section-head--split, .split, .intro-grid, .page-hero-grid, .contact-grid, .faq-wrap, .ref-teaser, .contact-page, .bio-grid { grid-template-columns: 1fr; }
  .ref-filter { justify-self: start; }
  .faq-wrap .section-head, .person-side { position: static; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .values, .cards-3 { grid-template-columns: 1fr 1fr; }
  .page-hero-media { max-width: 620px; }
  .bio-grid .person-side { max-width: 420px; }
}
@media (max-width: 899px) {
  .steps { grid-template-columns: 1fr; gap: .3rem; }
  .step-node { width: 56px; height: 56px; }
}
@media (max-width: 767px) {
  :root { --header-h: 66px; }
  body { font-size: 1rem; }
  .brand-sub { display: none; }
  .logo--header { width: 40px; }
  .svc-grid, .values, .cards-3, .cards-2, .team-grid, .refs, .reviews-grid, .form-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; gap: 0; }
  .facts li { padding: 1.2rem 1rem 1.2rem 0; border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
  .facts li:nth-child(odd) { border-right: 1px solid var(--line); }
  .facts li:nth-child(even) { padding-left: 1rem; }
  .split-media .facts li { padding: 1rem; border: 1px solid var(--line); }
  .hero-inner { padding-top: calc(var(--header-h) + 2rem); padding-bottom: 1.5rem; gap: 1.5rem; }
  .hero-panel { display: none; }
  .hero-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 1.5rem; }
  .hero-strip li { padding: .8rem .6rem 0 0; margin-right: .6rem; }
  .hs-v { font-size: .9rem; }
  .hs-k { font-size: .62rem; }
  .scroll-cue { display: none; }
  .intro-badge { left: .75rem; bottom: .75rem; font-size: .7rem; }
  .timeline::before { left: 8px; }
  .timeline li { grid-template-columns: 1fr; gap: .3rem; padding-left: 2.2rem; }
  .timeline li::before { left: 2px; }
  .toc ol { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer { padding-bottom: 6.5rem; }
  .mobile-cta { position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .5rem; border-radius: 999px; background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow-lg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transform: translateY(140%); transition: transform .4s var(--ease); }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { min-height: 46px; }
  .tm { flex-direction: column; align-items: flex-start; }
  .person { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .hero-title { font-size: 2.45rem; }
  .hero-kicker { font-size: .64rem; letter-spacing: .04em; }
  .btn-row .btn { width: 100%; }
  .header-actions { gap: .2rem; }
  .tt-track { width: 52px; }
  [data-theme="dark"] .tt-knob { transform: translateX(21px); }
}
@media (orientation: portrait) {
  .hero-bg img { object-position: 50% 30%; }
  .hero-shade { background: linear-gradient(0deg, rgba(5, 8, 26, .96) 0%, rgba(5, 8, 26, .82) 42%, rgba(5, 8, 26, .2) 72%, rgba(5, 8, 26, .55) 100%); }
  .hero-circuit { opacity: .45; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-anim { opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .hero-circuit .pulse { display: none; }
  .hero-bg img { animation: none; }
}
@media print {
  .site-header, .mobile-cta, .progress, .site-footer, .hero-circuit, .scroll-cue, .cta-band, .embed { display: none !important; }
  .hero { min-height: 0; color: #000; background: none; }
  .js .reveal { opacity: 1; transform: none; }
}
