/* =========================================================
   Mustermann Sicherheitstechnik – Demo 3 „Sicherheitsplan“
   Hell · Blaupause · Kobalt + Signal
   ========================================================= */

/* ---------- Schriften (lokal) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #F4F3EE;
  --paper-2: #EBE9E2;
  --white: #FFFFFF;
  --ink: #0B1324;
  --ink-2: #3D4559;
  --ink-3: #6A7183;
  --line: rgba(11, 19, 36, .11);
  --line-2: rgba(11, 19, 36, .2);
  --cobalt: #2B44FF;
  --cobalt-d: #1B30DA;
  --cobalt-l: #E7EAFF;
  --signal: #FF5B2E;
  --ok: #12A150;

  --c-einbruch: #2B44FF;
  --c-video: #7A3BFF;
  --c-brand: #FF5B2E;
  --c-zutritt: #E09400;
  --c-freiland: #12A150;

  --grid: rgba(43, 68, 255, .065);
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;
  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 1px 2px rgba(11, 19, 36, .05), 0 12px 32px -12px rgba(11, 19, 36, .18);
  --shadow-lg: 0 2px 4px rgba(11, 19, 36, .04), 0 30px 60px -24px rgba(11, 19, 36, .28);

  --f: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  interpolate-size: allow-keywords;
  color-scheme: light;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink-2);
  font-family: var(--f); font-size: 17px; line-height: 1.62; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.1; }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--cobalt); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: .02em; }
.display { font-stretch: 125%; font-weight: 800; letter-spacing: -.03em; line-height: .95; color: var(--ink); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); flex: none; }
.dot--ok { background: var(--ok); box-shadow: 0 0 0 0 rgba(18, 161, 80, .5); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(18, 161, 80, .45); } 70%, 100% { box-shadow: 0 0 0 8px rgba(18, 161, 80, 0); } }

/* ---------- Bausteine ---------- */
.sheet {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 22px;
  font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-3);
}
.sheet::before {
  content: ""; width: 12px; height: 12px; flex: none; border-radius: 50%;
  background: linear-gradient(var(--cobalt), var(--cobalt)) center / 100% 1.5px no-repeat, linear-gradient(var(--cobalt), var(--cobalt)) center / 1.5px 100% no-repeat;
}
.h2 { font-size: clamp(2.1rem, 4.6vw, 4.1rem); margin-bottom: 26px; text-wrap: balance; hyphens: manual; overflow-wrap: break-word; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.6; color: var(--ink-2); max-width: 46ch; margin: 0; }

.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 14px; background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15.5px; letter-spacing: .005em; white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}
.btn .i { transition: transform .3s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { --bg: var(--cobalt); box-shadow: 0 10px 24px -10px rgba(43, 68, 255, .65); }
.btn--primary:hover { --bg: var(--cobalt-d); box-shadow: 0 16px 30px -12px rgba(43, 68, 255, .7); }
.btn--signal { --bg: var(--signal); box-shadow: 0 10px 24px -10px rgba(255, 91, 46, .7); }
.btn--signal:hover { --bg: #EE4A1D; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); background: rgba(255, 255, 255, .7); }
.btn--sm { min-height: 44px; padding: 0 16px; border-radius: 12px; font-size: 14.5px; }
.btn[disabled] { opacity: .55; pointer-events: none; }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--cobalt); }
.link .i { transition: transform .3s var(--ease); }
.link:hover .i { transform: translateX(4px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.chips--lg li { padding: 9px 15px; font-size: 14.5px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; transition: transform .45s var(--ease); }
.topbar { background: var(--ink); color: rgba(255, 255, 255, .72); font-size: 12px; height: 36px; }
.topbar__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar a:hover { color: #fff; }
.topbar__status { display: inline-flex; align-items: center; gap: 9px; color: #fff; }
.topbar__tel { color: #fff; white-space: nowrap; }
.topbar__status { white-space: nowrap; }
.nav { background: rgba(244, 243, 238, .82); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.site-header.is-scrolled { transform: translateY(-36px); }
.site-header.is-scrolled .nav { border-bottom-color: var(--line); background: rgba(244, 243, 238, .92); }
.nav__in { height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--cobalt); flex: none; }
.brand__mark { width: 40px; height: 40px; transition: transform .5s var(--ease); --m-acc: var(--cobalt); --m-soft: var(--cobalt-l); --m-sig: var(--signal); overflow: visible; }
.brand:hover .brand__mark { transform: translateY(-2px) scale(1.04); }
.bm-soft { fill: var(--m-soft); }
.bm-grid { fill: none; stroke: var(--m-acc); stroke-width: .9; opacity: .55; }
.bm-line { fill: none; stroke: var(--m-acc); stroke-width: 3; stroke-linejoin: round; }
.bm-dot { fill: var(--m-sig); stroke: var(--m-soft); stroke-width: 2; }
.brand--light .brand__mark { --m-acc: #7D8CFF; --m-soft: #1B2550; --m-sig: #FF7A52; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-stretch: 125%; font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: var(--ink); text-transform: uppercase; }
.brand__sub { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 5px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { position: relative; padding: 10px 12px; font-size: 15px; font-weight: 500; color: var(--ink); border-radius: 10px; }
.nav__links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; background: var(--cobalt); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 12px; position: relative; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 39; background: var(--paper); padding: 130px var(--gut) 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px; overflow-y: auto;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 28px 28px;
  opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .35s, transform .45s var(--ease), visibility 0s .45s;
}
.mnav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .45s var(--ease); }
.mnav__links a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-stretch: 125%; font-weight: 800; font-size: clamp(1.6rem, 7vw, 2.4rem); color: var(--ink); letter-spacing: -.02em; }
.mnav__links span { font-size: 12px; color: var(--cobalt); letter-spacing: .1em; font-stretch: 100%; }
.mnav__foot { display: grid; gap: 10px; }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 76px) 0 0; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 18% 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px; background-position: center top;
  -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent);
}
.hero__title { font-size: clamp(2.7rem, 8.6vw, 8.6rem); line-height: .9; letter-spacing: -.045em; margin: 0 0 clamp(26px, 3.4vw, 44px); }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .ln:last-child { padding-bottom: .42em; margin-bottom: -.3em; }
.hero__title .ln__in { display: inline-block; }
.js .hero__title .ln__in { transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.js .hero__title .ln:nth-child(2) .ln__in { animation-delay: .12s; }
@keyframes rise { to { transform: none; } }
.hero__title em { position: relative; font-style: normal; color: var(--cobalt); }
.hero__title em::before {
  content: ""; position: absolute; left: 0; right: .12em; top: calc(100% - .14em); height: .1em;
  border-left: 2px solid currentColor; border-right: 2px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
  transform-origin: left; transform: scaleX(0); animation: dim 1s .9s var(--ease) forwards;
}
.hero__title em::after {
  content: "lückenlos"; position: absolute; left: 50%; top: calc(100% - .14em); margin-top: .05em; translate: -50% -50%;
  font: 500 clamp(10px, 1vw, 13px)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt);
  background: var(--paper); padding: 2px 8px; opacity: 0; animation: fade .6s 1.5s forwards;
}
@keyframes dim { to { transform: scaleX(1); } }
@keyframes fade { to { opacity: 1; } }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 48px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 52px); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__stage-wrap { position: relative; }
.xray { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #E9EBEE; box-shadow: var(--shadow-lg); }
.xray__frame { position: relative; aspect-ratio: 2000 / 1116; overflow: hidden; cursor: none; }
.xray__inner { position: absolute; inset: 0; --x: 50%; --y: 45%; --r: 0px; }
.xray__photo, .xray__plan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xray__plan { position: absolute; inset: 0; clip-path: circle(var(--r) at var(--x) var(--y)); will-change: clip-path; }
.xray__lens {
  position: absolute; left: var(--x); top: var(--y); width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  translate: -50% -50%; border-radius: 50%; pointer-events: none;
  border: 1.5px solid rgba(43, 68, 255, .9);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .35), 0 18px 40px -10px rgba(11, 19, 36, .35);
  background:
    linear-gradient(var(--cobalt), var(--cobalt)) center top / 1.5px 14px no-repeat,
    linear-gradient(var(--cobalt), var(--cobalt)) center bottom / 1.5px 14px no-repeat,
    linear-gradient(var(--cobalt), var(--cobalt)) left center / 14px 1.5px no-repeat,
    linear-gradient(var(--cobalt), var(--cobalt)) right center / 14px 1.5px no-repeat;
  opacity: 0; transition: opacity .3s;
}
.xray.is-lens .xray__lens { opacity: 1; }
.xray.is-full .xray__lens { opacity: 0; }
.xray__coords { position: absolute; left: 50%; top: 100%; translate: -50% 10px; white-space: nowrap; font-size: 10.5px; color: var(--cobalt); background: rgba(255, 255, 255, .9); padding: 3px 8px; border-radius: 6px; }
.xray__tags { position: absolute; inset: 0; pointer-events: none; }
.tag {
  position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: 8px;
  padding: 6px 11px 6px 7px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap;
  translate: 20px -50%; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease);
}
.tag::before { content: ""; position: absolute; right: 100%; top: 50%; width: 16px; height: 1.5px; background: var(--ink); }
.tag__no { font-size: 10.5px; background: var(--signal); color: #fff; border-radius: 5px; padding: 1px 5px; }
.tag--l { translate: calc(-100% - 20px) -50%; transform: translateX(8px); }
.tag--l::before { right: auto; left: 100%; }
.tag.is-on { opacity: 1; transform: none; }

.corner { position: absolute; width: 26px; height: 26px; pointer-events: none; border: 2.5px solid var(--cobalt); z-index: 2; }
.corner--tl { left: 16px; top: 16px; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.corner--tr { right: 16px; top: 16px; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.corner--bl { left: 16px; bottom: 16px; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.corner--br { right: 16px; bottom: 16px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.hud {
  position: absolute; z-index: 3; margin: 0; padding: 6px 10px; border-radius: 8px; font-size: 11.5px; letter-spacing: .06em; color: var(--ink);
  background: rgba(255, 255, 255, .76); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(11, 19, 36, .05);
  display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase;
}
.hud--tl { left: 52px; top: 22px; }
.hud--tr { right: 52px; top: 22px; }
.hud--bl { right: 196px; bottom: 22px; text-transform: none; letter-spacing: .02em; transition: opacity .4s; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); animation: blink 1.4s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.xray__toggle {
  position: absolute; right: 52px; bottom: 18px; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 13px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
  transition: background-color .25s, transform .25s var(--ease);
}
.xray__toggle:hover { background: var(--cobalt); transform: translateY(-1px); }
.xray__toggle[aria-pressed="true"] { background: var(--cobalt); }
.xray__toggle .i { width: 16px; height: 16px; }

.status-card {
  position: absolute; left: calc(var(--gut) + 44px); bottom: -64px; z-index: 4; width: 318px;
  background: var(--white); border-radius: var(--r-md); padding: 16px 18px 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.status-card__head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 10px; border-bottom: 1px dashed var(--line-2); }
.status-card__head span:last-child { display: inline-flex; align-items: center; gap: 7px; color: var(--ok); }
.status-card__list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.status-card__list b { color: var(--ink); font-weight: 650; }
.status-card__list b.ok { color: var(--ok); }
.status-card__foot { margin: 10px 0 0; font-size: 11px; color: var(--ink-3); letter-spacing: .04em; }

/* ---------- Laufband ---------- */
.band { margin: clamp(100px, 10vw, 140px) 0 0; background: var(--cobalt); color: #fff; transform: rotate(-1.6deg); overflow: hidden; padding: 18px 0; box-shadow: 0 18px 40px -20px rgba(43, 68, 255, .7); }
.band__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 46s linear infinite; }
.band span { font-stretch: 125%; font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -.02em; white-space: nowrap; }
.band span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.4px #fff; }
.band i { width: 16px; height: 16px; flex: none; background: linear-gradient(#fff, #fff) center / 100% 2px no-repeat, linear-gradient(#fff, #fff) center / 2px 100% no-repeat; border-radius: 50%; box-shadow: 0 0 0 2px #fff inset; transform: scale(.9); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sektionen ---------- */
.sec { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.sec__head { max-width: 900px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec__head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; }
.sec__head--split .h2 { margin-bottom: 0; }
.sec__intro { color: var(--ink-2); font-size: 1.05rem; max-width: 52ch; margin: 0; }
.sec__head:not(.sec__head--split) .sec__intro { margin-top: -6px; }

/* ---------- Partner ---------- */
.partner { padding-top: clamp(90px, 11vw, 150px); }
.partner__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.partner__fig { margin: 0; }
.callouts { position: relative; aspect-ratio: 1100 / 1366; border-radius: var(--r-lg); overflow: hidden; background: #EEECE6; container-type: size; }
.callouts img { width: 100%; height: 100%; object-fit: cover; }
.callout {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -100%; display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px 5px 5px; border-radius: 8px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 12.5px; font-weight: 600;
  box-shadow: var(--shadow); white-space: nowrap;
}
.callout b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: var(--cobalt); color: #fff; font-size: 11px; }
.callout::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1.5px; height: calc(var(--l, 6) * 1cqh); background: linear-gradient(var(--cobalt), rgba(43, 68, 255, .35)); }
.callout::before { content: ""; position: absolute; left: 50%; top: calc(100% + var(--l, 6) * 1cqh); width: 9px; height: 9px; translate: -50% -50%; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--cobalt); }
.partner__fig figcaption { margin-top: 12px; font-size: 12px; color: var(--ink-3); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 36px 0 0; }
.stat { padding: 18px 0 20px; border-top: 1.5px solid var(--ink); }
.stat dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.stat dd { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; }
.stat .display { font-size: clamp(2.6rem, 4.6vw, 4rem); letter-spacing: -.04em; }
.stat sup { font-stretch: 125%; font-weight: 800; font-size: 1.8rem; color: var(--cobalt); top: -.7em; position: relative; }
.stat small { flex-basis: 100%; font-size: 14.5px; color: var(--ink-2); margin-top: 6px; }

/* ---------- Leistungen ---------- */
.services { background: var(--white); border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0; }
.svc-list { border-bottom: 1px solid var(--line-2); }
.svc { border-top: 1px solid var(--line-2); --c: var(--cobalt); }
.svc summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 64px minmax(0, auto) minmax(0, 1fr) 52px; align-items: center; gap: 12px 24px;
  padding: clamp(18px, 2.4vw, 28px) 0; position: relative;
}
.svc summary::-webkit-details-marker { display: none; }
.svc summary::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.svc:hover summary::before, .svc[open] summary::before { transform: scaleX(1); }
.svc__no { font-size: 13px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px; }
.svc__no::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.svc__title { font-size: clamp(1.6rem, 3.6vw, 3.1rem); transition: transform .5s var(--ease), color .3s; letter-spacing: -.035em; }
.svc:hover .svc__title { transform: translateX(10px); }
.svc[open] .svc__title { color: var(--c); }
.svc__sub { color: var(--ink-3); font-size: 15px; justify-self: end; text-align: right; }
.svc__plus { width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); position: relative; transition: background-color .3s, box-shadow .3s, transform .5s var(--ease); justify-self: end; }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: var(--ink); translate: -50% -50%; transition: background-color .3s; }
.svc__plus::after { rotate: 90deg; }
.svc:hover .svc__plus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.svc[open] .svc__plus { background: var(--c); box-shadow: none; transform: rotate(135deg); }
.svc[open] .svc__plus::before, .svc[open] .svc__plus::after { background: #fff; }
.svc::details-content { height: 0; overflow: clip; transition: height .6s var(--ease), content-visibility .6s allow-discrete; }
.svc[open]::details-content { height: auto; }
.svc__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3.4fr); gap: 32px; padding: 4px 0 40px 88px; }
.svc__text p { margin: 0; }
.benefits { display: grid; gap: 0; align-content: start; }
.benefits li { padding: 12px 0 12px 30px; border-bottom: 1px dashed var(--line-2); font-size: 14.5px; position: relative; }
.benefits li:first-child { padding-top: 0; }
.benefits li:first-child::before { top: 4px; }
.benefits li::before { content: ""; position: absolute; left: 0; top: 16px; width: 16px; height: 16px; border-radius: 5px; background: var(--c); }
.benefits li::after { content: ""; position: absolute; left: 4.5px; top: 19px; width: 7px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; rotate: -45deg; }
.benefits li:first-child::after { top: 7px; }
.benefits b { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 2px; }
.svc__fig { margin: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 5; align-self: start; }
.svc__fig img { width: 100%; height: 100%; object-fit: cover; }


/* ---------- Sicherheitsplan ---------- */
.plan { background-color: var(--paper); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; }
.plan__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.plan__sheet { position: relative; background: var(--white); border-radius: var(--r-lg); padding: clamp(10px, 1.6vw, 20px); box-shadow: var(--shadow); border: 1px solid var(--line); transition: box-shadow .4s, border-color .4s; }
.plan__sheet.is-alarm { border-color: rgba(255, 91, 46, .6); box-shadow: 0 0 0 4px rgba(255, 91, 46, .14), var(--shadow-lg); }
.plan__svg { width: 100%; height: auto; display: block; overflow: visible; }
.plan__title { position: relative; margin: 10px 4px 4px auto; width: max-content; display: grid; grid-template-columns: auto auto auto auto; border: 1.5px solid var(--ink); background: #fff; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.plan__title span { padding: 5px 9px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.plan__title span { border-bottom: 0; }
.plan__title span:last-child { border-right: 0; }
.plan__title b { color: var(--ink); font-weight: 500; margin-left: 4px; }
.plan__alert { position: absolute; left: 50%; top: 22px; translate: -50% 0; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--signal); color: #fff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.plan__alert::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink .8s steps(2, start) infinite; }
.plan__sheet.is-alarm .plan__alert { opacity: 1; transform: none; }

/* SVG-Elemente */
.pl-site rect, .pl-site path { fill: none; stroke: rgba(11, 19, 36, .38); stroke-width: 1.2; }
.pl-site rect[fill] { fill: url(#phatch); }
.pl-dash { stroke-dasharray: 5 6; }
.pl-thin { stroke: rgba(11, 19, 36, .32) !important; stroke-width: 1 !important; }
.pl-trees circle { fill: rgba(18, 161, 80, .07); stroke: rgba(11, 19, 36, .25); stroke-width: 1; }
.pl-lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; fill: var(--ink-3); }
.pl-fence { fill: none; stroke: rgba(11, 19, 36, .55); stroke-width: 1.6; }
.pl-fence-posts { fill: none; stroke: var(--ink); stroke-width: 5; stroke-dasharray: 0 40; stroke-linecap: square; opacity: .7; }
.pl-wall { fill: none; stroke: var(--ink); stroke-width: 8; stroke-linecap: square; }
.pl-iwall { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: square; }
.pl-win path { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.pl-door { fill: none; stroke: rgba(11, 19, 36, .55); stroke-width: 1.3; }
.pl-roll { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 4 4; }

.ly { transition: opacity .45s var(--ease); }
.ly.is-off { opacity: 0; pointer-events: none; }
.js .plan:not(.is-drawn) .ly { opacity: 0; }
.cone { fill: currentColor; fill-opacity: .1; stroke: currentColor; stroke-opacity: .55; stroke-width: 1.2; stroke-dasharray: 4 4; transition: fill-opacity .3s; }
.pir { fill: currentColor; fill-opacity: .08; stroke: currentColor; stroke-opacity: .5; stroke-width: 1.1; stroke-dasharray: 3 4; }
.cov circle { fill: currentColor; fill-opacity: .05; stroke: currentColor; stroke-opacity: .45; stroke-width: 1; stroke-dasharray: 3 4; }
.escape { fill: none; stroke: currentColor; stroke-width: 2; stroke-dasharray: 8 6; animation: flow 1.6s linear infinite; }
.escape-head { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.cable { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-dasharray: 2 4; opacity: .75; }
.ir { stroke: currentColor; stroke-width: 2.2; stroke-dasharray: 6 5; animation: flow 1.2s linear infinite; }
.pl-fence-zone { fill: none; stroke: currentColor; stroke-width: 5; opacity: .32; }
.pl-zone { font-family: var(--mono); font-size: 8.5px; font-weight: 500; fill: currentColor; text-anchor: middle; }
.pl-tag { font-family: var(--mono); font-size: 10.5px; fill: currentColor; }
.pl-box { font-family: var(--mono); font-size: 9px; fill: #fff; text-anchor: middle; letter-spacing: .04em; }
.siren-rings circle { fill: none; stroke: currentColor; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.is-alarm .siren-rings circle { animation: ring 1.5s var(--ease) infinite; }
.is-alarm .siren-rings circle:nth-child(2) { animation-delay: .5s; }
.is-alarm .siren-rings circle:nth-child(3) { animation-delay: 1s; }
@keyframes ring { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(3.2); } }
[data-dev].is-hit { animation: hit .5s ease-in-out 4; }
.cone.is-hit, [data-dev].cone.is-hit { fill-opacity: .4; }
@keyframes hit { 50% { opacity: .2; } }
.sim { pointer-events: none; }
.sim__trail { fill: none; stroke: var(--signal); stroke-width: 2; stroke-dasharray: 3 5; stroke-linecap: round; }
.sim__intruder { opacity: 0; transition: opacity .3s; color: var(--signal); }
.sim__intruder circle { fill: var(--signal); }
.sim__intruder .sim__pulse { fill: rgba(255, 91, 46, .2); transform-box: fill-box; transform-origin: center; animation: pulse 1.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.sim.is-run .sim__intruder { opacity: 1; }

/* Panel */
.plan__panel { position: sticky; top: 100px; background: var(--white); border-radius: var(--r-lg); padding: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan__label { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.layers { display: grid; gap: 6px; }
.layer { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; text-align: left; font-weight: 600; color: var(--ink); background: var(--paper); transition: background-color .25s, color .25s, transform .25s var(--ease); }
.layer:hover { transform: translateX(3px); }
.layer i { width: 18px; height: 18px; border-radius: 5px; background: var(--c); box-shadow: inset 0 0 0 2px var(--c); position: relative; transition: background-color .25s; }
.layer i::after { content: ""; position: absolute; left: 5px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; rotate: 45deg; transition: opacity .2s; }
.layer b { font-size: 12px; color: var(--ink-3); font-weight: 500; background: #fff; border-radius: 6px; padding: 2px 7px; }
.layer[aria-pressed="false"] { color: var(--ink-3); background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.layer[aria-pressed="false"] i { background: transparent; }
.layer[aria-pressed="false"] i::after { opacity: 0; }
.plan__info { margin: 18px 0; padding: 16px 0 0; border-top: 1px dashed var(--line-2); font-size: 14.5px; }
.plan__info-t { font-size: 1.25rem; margin-bottom: 8px; letter-spacing: -.02em; }
.plan__info p:last-child { margin: 0; }
.sim-box { border-top: 1px dashed var(--line-2); padding-top: 18px; }
.sim-box .btn { width: 100%; }
.sim-log { margin-top: 14px; display: grid; gap: 6px; font-size: 12px; line-height: 1.5; max-height: 290px; overflow-y: auto; }
.sim-log li { display: grid; grid-template-columns: 50px 1fr; gap: 8px; padding: 7px 9px; border-radius: 8px; background: var(--paper); color: var(--ink-2); animation: logIn .45s var(--ease); }
.sim-log li time { color: var(--ink-3); }
.sim-log li.is-alarm { background: rgba(255, 91, 46, .12); color: #B2300A; }
.sim-log li.is-ok { background: rgba(18, 161, 80, .1); color: #0B6B35; }
.sim-log .sim-log__idle { display: block; background: transparent; padding: 0; color: var(--ink-3); animation: none; }
@keyframes logIn { from { opacity: 0; transform: translateY(6px); } }

/* ---------- Anwendungsfälle ---------- */
.cases { background: var(--white); }
.cases__ctrl { display: grid; gap: 20px; justify-items: start; }
.arrows { display: flex; gap: 8px; }
.arrow { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color .25s, color .25s, box-shadow .25s; }
.arrow:hover { background: var(--ink); color: #fff; box-shadow: none; }
.cases__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(268px, 27vw, 372px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 6px max(var(--gut), calc((100vw - var(--wrap)) / 2)) 12px; scroll-padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2));
}
.cases__track::-webkit-scrollbar { display: none; }
.cases__track.is-drag { scroll-snap-type: none; cursor: grabbing; }
.cases__track.is-drag * { pointer-events: none; }
.case { scroll-snap-align: start; background: var(--paper); border-radius: var(--r-md); padding: 10px 10px 22px; display: flex; flex-direction: column; user-select: none; transition: transform .45s var(--ease), box-shadow .45s; }
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case__img { position: relative; aspect-ratio: 4 / 3.2; border-radius: 14px; overflow: hidden; margin-bottom: 16px; }
.case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); -webkit-user-drag: none; }
.case:hover .case__img img { transform: scale(1.06); }
.case__img::after { content: ""; position: absolute; inset: 12px; border-radius: 6px; opacity: 0; transition: opacity .35s, inset .45s var(--ease);
  background: linear-gradient(#fff, #fff) left top / 18px 2px, linear-gradient(#fff, #fff) left top / 2px 18px, linear-gradient(#fff, #fff) right top / 18px 2px, linear-gradient(#fff, #fff) right top / 2px 18px, linear-gradient(#fff, #fff) left bottom / 18px 2px, linear-gradient(#fff, #fff) left bottom / 2px 18px, linear-gradient(#fff, #fff) right bottom / 18px 2px, linear-gradient(#fff, #fff) right bottom / 2px 18px; background-repeat: no-repeat; }
.case:hover .case__img::after { opacity: 1; inset: 16px; }
.case__no { font-size: 11.5px; color: var(--ink-3); margin: 0 10px 8px; letter-spacing: .08em; }
.case__t { font-size: 1.45rem; letter-spacing: -.03em; margin: 0 10px 10px; line-height: 1.02; }
.case p:not(.case__no) { margin: 0 10px 16px; font-size: 14.5px; line-height: 1.55; }
.case__ly { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 10px 0; }
.case__ly li { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-2); background: #fff; border-radius: 999px; padding: 4px 10px 4px 8px; }
.case__ly li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.cases__bar { height: 2px; background: var(--line); margin-top: 28px; border-radius: 2px; overflow: hidden; }
.cases__bar span { display: block; height: 100%; width: 20%; background: var(--ink); border-radius: 2px; transform-origin: left; transition: transform .2s linear; }

/* ---------- Ablauf ---------- */
.process__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.process__media { position: sticky; top: 110px; }
.process__fig { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.6; }
.process__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.process__badge { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 16px; padding: 14px 18px; display: grid; gap: 2px; }
.process__badge span { font-size: 11px; color: var(--cobalt); letter-spacing: .1em; text-transform: uppercase; }
.process__badge b { color: var(--ink); font-size: 1.05rem; }
.steps { position: relative; padding-left: 64px; margin-top: 18px; --p: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--line-2); }
.steps::after { background: var(--cobalt); transform-origin: top; transform: scaleY(var(--p)); }
.step { position: relative; padding: 0 0 clamp(30px, 4vw, 46px); }
.step:last-child { padding-bottom: 0; }
.step__no { position: absolute; left: -64px; top: -4px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line-2); font-size: 12.5px; color: var(--ink-3); z-index: 1; transition: background-color .4s, color .4s, box-shadow .4s, transform .5s var(--ease); }
.step.is-on .step__no { background: var(--cobalt); color: #fff; box-shadow: 0 0 0 6px rgba(43, 68, 255, .14); transform: scale(1.05); }
.step h3 { font-stretch: 112%; font-size: clamp(1.25rem, 1.8vw, 1.55rem); font-weight: 750; margin: 4px 0 8px; letter-spacing: -.02em; }
.step p { margin: 0; max-width: 46ch; }

/* ---------- App ---------- */
.app { background: var(--paper-2); }
.app__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.ticks { display: grid; gap: 10px; margin: 22px 0 32px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink); font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--cobalt-l); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 6px; height: 9px; border: solid var(--cobalt); border-width: 0 2px 2px 0; rotate: 45deg; }
.arm { --ac: var(--ink-3); background: var(--white); border-radius: var(--r-md); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 520px; transition: box-shadow .4s; }
.arm[data-state="home"] { --ac: var(--c-zutritt); }
.arm[data-state="away"] { --ac: var(--cobalt); box-shadow: 0 0 0 4px rgba(43, 68, 255, .1), var(--shadow); }
.arm__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.arm__shield { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--ac) 14%, white); transition: background-color .4s; }
.arm__shield svg { width: 28px; height: 28px; fill: none; stroke: var(--ac); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; transition: stroke .4s; }
.arm__check { stroke-dasharray: 12; stroke-dashoffset: 12; transition: stroke-dashoffset .5s var(--ease); }
.arm:not([data-state="off"]) .arm__check { stroke-dashoffset: 0; }
.arm__label { margin: 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.arm__state { margin: 4px 0 0; font-size: 1.6rem; letter-spacing: -.03em; color: var(--ac); transition: color .4s; }
.arm__seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 13px; background: var(--paper); }
.arm__seg button { padding: 10px 6px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background-color .25s, color .25s, box-shadow .25s; }
.arm__seg button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11, 19, 36, .12), inset 0 -2px 0 var(--ac); }
.arm__desc { font-size: 14px; margin: 14px 0 0; min-height: 3.1em; }
.arm__log { display: grid; gap: 4px; margin-top: 10px; font-size: 11.5px; color: var(--ink-3); }
.arm__log li { animation: logIn .4s var(--ease); }
.arm__log li::before { content: "› "; color: var(--cobalt); }
.app__fig { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1100 / 1300; box-shadow: var(--shadow-lg); }
.app__fig img { width: 100%; height: 100%; object-fit: cover; }
.toast { position: absolute; left: 18px; right: 18px; top: 18px; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 13.5px; line-height: 1.4; color: var(--ink-2); box-shadow: var(--shadow); max-width: 380px; }
.toast b { display: block; color: var(--ink); font-size: 12px; font-family: var(--mono); font-weight: 500; letter-spacing: .04em; margin-bottom: 2px; }
.toast__ico { width: 38px; height: 38px; border-radius: 10px; background: var(--cobalt); display: grid; place-items: center; flex: none; }
.toast__ico svg { width: 20px; height: 20px; fill: #fff; }
.js .toast { opacity: 0; transform: translateY(-14px) scale(.98); transition: opacity .6s .5s, transform .7s .5s var(--ease); }
.js .app__fig.is-in .toast { opacity: 1; transform: none; }

/* ---------- Über uns ---------- */
.quote { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: clamp(340px, 38vw, 500px); display: flex; align-items: center; margin-bottom: clamp(70px, 9vw, 120px); }
.quote img { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.quote::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(244, 243, 238, .97) 0%, rgba(244, 243, 238, .9) 38%, rgba(244, 243, 238, 0) 72%); }
.quote blockquote { position: relative; z-index: 2; margin: 0; padding: clamp(28px, 5vw, 64px); max-width: 760px; }
.quote blockquote p { font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1.08; letter-spacing: -.035em; margin-bottom: 22px; }
.quote footer { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: clamp(48px, 6vw, 80px); }
.values li { border-top: 1.5px solid var(--ink); padding-top: 16px; font-size: 14.5px; }
.values span { display: block; font-size: 12px; color: var(--cobalt); margin-bottom: 18px; }
.values b { display: block; color: var(--ink); font-size: 1.08rem; margin-bottom: 6px; font-stretch: 110%; }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.person__img { aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; margin-bottom: 16px; background: var(--paper-2); }
.person__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.02); transition: filter .6s, transform .8s var(--ease); }
.person:hover .person__img img { filter: none; transform: scale(1.04); }
.person h3 { font-stretch: 112%; font-size: 1.15rem; }
.person p { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 4px 0 8px; }
.person a { font-size: 14.5px; color: var(--cobalt); font-weight: 600; }

/* ---------- News ---------- */
.news { background: var(--white); }
.news__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post__img { aspect-ratio: 3 / 2; border-radius: var(--r-md); overflow: hidden; margin-bottom: 18px; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post__img img { transform: scale(1.05); }
.post time { font-size: 12px; color: var(--cobalt); letter-spacing: .08em; }
.post h3 { font-stretch: 112%; font-size: 1.3rem; margin: 8px 0 10px; letter-spacing: -.02em; }
.post p { font-size: 15px; }

/* ---------- Karriere ---------- */
.jobs__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
.jobs__fig { margin: 0; position: relative; }
.jobs__fig img { border-radius: var(--r-lg); aspect-ratio: 4 / 3.3; object-fit: cover; width: 100%; }
.jobs__stamp {
  position: absolute; right: -18px; top: -26px; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--signal); color: #fff; font-size: 1.15rem; line-height: 1; padding: 22px; rotate: 10deg; box-shadow: 0 16px 30px -12px rgba(255, 91, 46, .7);
  outline: 1.5px dashed rgba(255, 255, 255, .7); outline-offset: -9px; animation: wobble 6s ease-in-out infinite;
}
@keyframes wobble { 50% { rotate: 2deg; } }
.joblist { border-bottom: 1px solid var(--line-2); }
.job { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 16px 24px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line-2); transition: background-color .3s, padding .4s var(--ease); }
.job:hover { background: var(--white); padding-inline: 16px; border-radius: 14px; }
.job__no { font-size: 12.5px; color: var(--ink-3); }
.job h3 { font-stretch: 112%; font-size: clamp(1.1rem, 1.6vw, 1.4rem); letter-spacing: -.02em; }
.job p { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-3); letter-spacing: .04em; }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq__grid header .btn { margin-top: 24px; }
.faq__list { border-bottom: 1px solid var(--line-2); }
.qa { border-top: 1px solid var(--line-2); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 52px 22px 0; position: relative; font-weight: 650; color: var(--ink); font-size: 1.1rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 16px; height: 2px; background: var(--ink); transition: transform .4s var(--ease), background-color .3s; }
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0); }
.qa[open] summary::before, .qa[open] summary::after { background: var(--cobalt); }
.qa summary:hover { color: var(--cobalt); }
.qa::details-content { height: 0; overflow: clip; transition: height .5s var(--ease), content-visibility .5s allow-discrete; }
.qa[open]::details-content { height: auto; }
.qa p { padding-bottom: 22px; margin: 0; max-width: 64ch; }

/* ---------- Kontakt ---------- */
.contact { background-color: var(--paper); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.card-info { margin-top: 32px; background: var(--white); border-radius: var(--r-md); padding: 22px 24px; border: 1px solid var(--line); }
.card-info__h { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--cobalt); margin-bottom: 10px; }
.card-info dl { margin: 0; display: grid; gap: 0; }
.card-info dl div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.card-info dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); padding-top: 2px; }
.card-info dd { margin: 0; color: var(--ink); }
.card-info dd a:hover { color: var(--cobalt); }
.card-info__note { margin: 12px 0 0; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ok); font-size: 14.5px; }
.form { background: var(--white); border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: grid; gap: 18px; }
.form__set { border: 0; padding: 0; margin: 0; min-width: 0; }
.form__set legend { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 10px; padding: 0; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: var(--paper); font-size: 14.5px; font-weight: 600; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, color .2s, box-shadow .2s; }
.pick span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-3); transition: background-color .2s, box-shadow .2s; }
.pick input:checked + span { background: var(--cobalt); color: #fff; box-shadow: none; }
.pick input:checked + span::before { background: #fff; box-shadow: none; }
.pick input:focus-visible + span { outline: 2.5px solid var(--cobalt); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); background: #fff; box-shadow: 0 0 0 4px rgba(43, 68, 255, .14); }
.field input:user-invalid, .field textarea:user-invalid, .field .is-invalid { border-color: var(--signal); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--cobalt); }
.consent a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form__hint { margin: 0; font-size: 11.5px; color: var(--ink-3); }
.form__msg { margin: 0; font-weight: 600; }
.form__msg:empty { display: none; }
.form__msg.is-ok { color: #0B6B35; background: rgba(18, 161, 80, .1); padding: 12px 16px; border-radius: 12px; }
.form__msg.is-err { color: #B2300A; background: rgba(255, 91, 46, .1); padding: 12px 16px; border-radius: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .66); padding: clamp(64px, 8vw, 100px) 0 0; overflow: hidden; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__sub { color: rgba(255, 255, 255, .5); }
.footer__brand p { margin-top: 22px; max-width: 42ch; }
.footer__h { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 14px; }
.footer__list { display: grid; gap: 8px; }
.footer a:hover { color: #fff; }
.footer__word { font-size: clamp(2.6rem, 10.8vw, 11.5rem); line-height: .78; text-transform: uppercase; letter-spacing: -.05em; text-align: center; margin: clamp(40px, 6vw, 80px) 0 -.06em; color: transparent; -webkit-text-stroke: 1.4px rgba(255, 255, 255, .16); user-select: none; white-space: nowrap; }
.footer__bottom { position: relative; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; }
.footer__bottom nav { display: flex; gap: 20px; }

/* ---------- Rechtliche Seiten ---------- */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(30px, 4vw, 50px); position: relative; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent); }
.page-hero__title { font-size: clamp(2.6rem, 7vw, 6.4rem); letter-spacing: -.045em; }
.crumbs { display: flex; gap: 10px; font-size: 12px; color: var(--ink-3); margin-bottom: 18px; letter-spacing: .06em; text-transform: uppercase; }
.crumbs a { color: var(--cobalt); }
.legal { padding: 0 0 clamp(80px, 10vw, 130px); }
.legal__grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(30px, 5vw, 72px); align-items: start; }
.legal__grid--single { grid-template-columns: minmax(0, 860px); }
.toc { position: sticky; top: 100px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; }
.toc p { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 10px; }
.toc a { display: block; padding: 7px 10px; border-radius: 8px; font-size: 14px; color: var(--ink-2); }
.toc a:hover, .toc a.is-active { background: var(--cobalt-l); color: var(--cobalt); }
.legal__body { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 56px); border: 1px solid var(--line); max-width: 900px; }
.legal__body h2 { font-stretch: 112%; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.02em; margin: 1.8em 0 .6em; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 1.05rem; margin: 1.4em 0 .4em; }
.legal__body ul, .legal__body ol { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.legal__body ol { list-style: decimal; }
.legal__body li { margin-bottom: .35em; }
.legal__body a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.legal__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 1.4em; }
.legal__cards > div { background: var(--paper); border-radius: var(--r-sm); padding: 18px 20px; }
.legal__cards h2 { margin: 0 0 .5em !important; font-size: 12px !important; font-family: var(--mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); font-stretch: 100% !important; }
.legal__cards p { margin: 0; color: var(--ink); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .burger { display: block; }
  .svc__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-left: 0; }
  .svc__fig { display: none; }
  .plan__grid { grid-template-columns: minmax(0, 1fr); }
  .plan__panel { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 28px; }
  .plan__panel .plan__label { grid-column: 1 / -1; }
  .plan__info { margin-top: 0; padding-top: 0; border-top: 0; }
  .sim-box { grid-column: 1 / -1; }
  .layers { grid-row: span 2; }
}
@media (max-width: 960px) {
  .hide-md { display: none; }
  .sec__head--split, .partner__grid, .process__grid, .app__grid, .jobs__grid, .faq__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .partner__fig { max-width: 520px; }
  .process__media { position: relative; top: 0; }
  .process__fig { aspect-ratio: 3 / 2; }
  .status-card { position: relative; left: auto; bottom: auto; width: auto; margin: 14px 0 0; }
  .band { margin-top: 70px; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .post { display: grid; grid-template-columns: 200px 1fr; gap: 0 22px; }
  .post__img { grid-row: span 4; margin: 0; aspect-ratio: 1; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .legal__grid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .jobs__stamp { right: 12px; top: -30px; width: 124px; height: 124px; font-size: 1rem; }
  .app__fig { max-width: 560px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .hide-sm { display: none !important; }
  .topbar__in > span:first-child { font-size: 11px; }
  .nav__in { height: 66px; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 17px; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 100%; }
  .xray { border-radius: 20px; margin-inline: calc(var(--gut) * -.5); }
  .xray__frame { aspect-ratio: 4 / 3.4; cursor: default; }
  .xray__inner { left: 50%; right: auto; width: calc(100% * (2000 / 1116) * (3.4 / 4)); translate: -50% 0; }
  .hud--tl, .hud--tr { top: 14px; font-size: 10px; }
  .hud--tl { left: 14px; } .hud--tr { right: 14px; }
  .hud--bl { display: none; }
  .xray__toggle { right: 14px; bottom: 14px; }
  .corner { display: none; }
  .tag { font-size: 11px; }
  .svc summary { grid-template-columns: minmax(0, 1fr) 44px; gap: 6px 14px; }
  .svc__no { grid-column: 1; grid-row: 1; }
  .svc__title { grid-column: 1; grid-row: 2; }
  .svc__sub { grid-column: 1; grid-row: 3; justify-self: start; text-align: left; font-size: 14px; }
  .svc__plus { grid-column: 2; grid-row: 1 / 4; width: 44px; height: 44px; }
  .svc__body { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-bottom: 32px; }
  .plan__panel { grid-template-columns: minmax(0, 1fr); }
  .layers { grid-row: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layer { padding: 10px 11px; gap: 9px; grid-template-columns: 18px 1fr auto; font-size: 14.5px; }
  .plan__info { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
  .plan__title { display: none; }
  .plan__sheet { padding: 6px; border-radius: 18px; overflow-x: auto; overscroll-behavior-x: contain; }
  .plan__svg { min-width: 660px; }
  .plan__sheet::after { content: "← Plan seitlich wischen →"; display: block; text-align: center; font: 500 11px/1 var(--mono); letter-spacing: .08em; color: var(--ink-3); padding: 10px 0 6px; position: sticky; left: 0; width: calc(100vw - 2 * var(--gut) - 14px); }  .stats { gap: 0 18px; }
  .steps { padding-left: 56px; }
  .step__no { left: -56px; width: 40px; height: 40px; }
  .steps::before, .steps::after { left: 19px; }
  .values, .team { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .values { grid-template-columns: minmax(0, 1fr); }
  .post { grid-template-columns: minmax(0, 1fr); }
  .post__img { grid-row: auto; aspect-ratio: 3 / 2; margin-bottom: 16px; }
  .job { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .job__no { display: none; }
  .job .btn { justify-self: start; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .card-info dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .quote::before { background: linear-gradient(180deg, rgba(244, 243, 238, .95) 0%, rgba(244, 243, 238, .86) 55%, rgba(244, 243, 238, .4) 100%); }
  .quote { align-items: flex-start; }
  .legal__cards { grid-template-columns: minmax(0, 1fr); }
  .arm__seg button { font-size: 13px; }
}

@media (hover: none), (pointer: coarse) {
  .xray__frame { cursor: default; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .band__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero__title .ln__in { transform: none; }
}
