/* ==========================================================================
   net01-digital — Stylesheet
   Aufbau: feste Seitenleiste links (Name, Navigation, Kontakt), Inhalt rechts.
   Ruhig, viel Weiß, Schwarz/Grau. Systemschriften – keine externen Dateien.
   ========================================================================== */

:root {
  --ink: #171717;
  --ink-2: #333;
  --mut: #707070;
  --mut-2: #9a9a9a;
  --line: #e6e6e6;
  --line-2: #dcdcd8;
  --side: #f3f3f1;
  --tint: #f7f7f5;
  --paper: #fff;
  --red: #b00020;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --side-w: 300px;
  --gut: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); letter-spacing: -.04em; line-height: 1.03; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.03em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; color: var(--ink-2); max-width: 68ch; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--mut); max-width: 40em; }
.muted { color: var(--mut); }
.small { font-size: 14px; }
.mono, code, kbd { font-family: var(--mono); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Grundgerüst ---------- */
.lay { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--side); border-right: 1px solid var(--line); padding: 40px 34px 32px; display: flex; flex-direction: column; scrollbar-width: none; }
.side::-webkit-scrollbar { display: none; }
.brand { font-weight: 700; font-size: 19px; letter-spacing: -.02em; text-decoration: none; }
.who { margin: 6px 0 0; font-size: 14px; color: var(--mut); line-height: 1.5; }
.menu-btn { display: none; }
.side-nav { margin: 46px 0 28px; display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.side-nav > a { padding: 11px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; font-size: 15px; color: var(--ink-2); transition: padding .2s; }
.side-nav > a:hover { padding-left: 6px; color: var(--ink); }
.side-nav > a[aria-current="page"], .side-nav > a.in { color: var(--ink); font-weight: 600; }
.side-nav > a[aria-current="page"]::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--ink); margin: 0 9px 2px 0; vertical-align: middle; }
.side-nav .sub { display: flex; flex-direction: column; padding: 4px 0 10px 15px; border-bottom: 1px solid var(--line-2); }
.side-nav .sub a { padding: 5px 0; font-size: 14px; color: var(--mut); text-decoration: none; }
.side-nav .sub a:hover, .side-nav .sub a[aria-current="page"] { color: var(--ink); }
.side-nav .sub a[aria-current="page"] { font-weight: 600; }
.side-c { margin-top: auto; font-size: 14px; }
.side-c p { margin: 0 0 12px; color: var(--mut); }
.side-c .mail { display: block; font-weight: 600; text-decoration: none; margin-bottom: 16px; }
.side-c .mail:hover { text-decoration: underline; }
.side-c small { display: block; margin-top: 18px; color: var(--mut); font-size: 12px; }
.content { min-width: 0; display: flex; flex-direction: column; }
main { flex: 1; }
.wrap { max-width: 1040px; padding: 0 var(--gut); }

/* ---------- Knöpfe & Links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; background: var(--ink); color: #fff; border: 0; text-decoration: none; font: 600 15px/1.2 var(--sans); cursor: pointer; transition: background .15s; }
.btn:hover { background: #3a3a3a; }
.btn.o, .btn--ghost { background: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn.o:hover, .btn--ghost:hover { background: var(--ink); color: #fff; }
.btn:disabled { opacity: .5; cursor: wait; }
.btn .arr { display: none; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.lnk { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.lnk:hover { text-decoration-thickness: 2px; }
.lnk .arr { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chips li { font-size: 13px; padding: 4px 9px; background: var(--tint); border: 1px solid var(--line); margin: 0; color: var(--ink-2); }
.cmt { display: block; font-size: 13px; color: var(--mut); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Abschnitte ---------- */
.hero { padding: 110px 0 72px; border-bottom: 1px solid var(--line); }
.hero h1 { margin-bottom: 26px; }
.hero .lede { margin-bottom: 34px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 64px 0 0; border-top: 1px solid var(--ink); }
.facts div { padding: 16px 16px 0 0; }
.facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--mut); }
.facts dd { margin: 2px 0 0; font-weight: 600; font-size: 15px; }
.sec { padding: 84px 0; border-bottom: 1px solid var(--line); }
.sh { margin-bottom: 40px; }
.sh h2 { margin-bottom: 10px; max-width: 22em; }
.sh .intro { color: var(--mut); font-size: 17px; margin: 0; max-width: 38em; }
.sec-body { margin: 0; }
.more { margin: 22px 0 0; color: var(--mut); font-size: 15px; }

/* Unterseiten-Kopf */
.phero { padding: 72px 0 60px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: 13px; color: var(--mut); margin-bottom: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { text-decoration: none; color: var(--mut); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs .sep { color: var(--mut-2); }
.crumbs [aria-current] { color: var(--ink); }
.phero h1 { max-width: 15em; margin-bottom: 20px; font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.phero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.phero .cmt { margin-bottom: 12px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }

/* Datenblock (Projektdaten) */
.tbk { margin: 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr; font-size: 14px; }
.tbk div { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.tbk div:nth-child(2n) { padding-left: 14px; border-left: 1px solid var(--line); }
.tbk div.full { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
.tbk dt, .tbk .k { display: block; font-size: 12px; color: var(--mut); }
.tbk .v { font-weight: 600; overflow-wrap: anywhere; }
.tbk a { text-decoration: none; }
.tbk a:hover { text-decoration: underline; }

/* ---------- Leistungen (Startseite) ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc-i { background: #fff; padding: 30px; text-decoration: none; display: block; transition: background .15s; }
.svc-i:hover { background: var(--tint); }
.svc-i.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.svc-i h3 { margin: 0 0 8px; font-size: 21px; }
.svc-i p { margin: 0; color: var(--mut); font-size: 15px; }
.svc-i .t { display: block; margin-top: 16px; font-size: 13px; color: var(--ink); }
.svc-i.wide .t { margin: 6px 0 4px; }

/* Referenzen (Startseite) */
.refs .ref { display: grid; grid-template-columns: 1fr 170px; gap: 30px; padding: 30px 0; border-top: 1px solid var(--line); text-decoration: none; }
.refs .ref:last-child { border-bottom: 1px solid var(--line); }
.refs .ref:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.refs h3 { font-size: 26px; letter-spacing: -.03em; }
.refs .typ { display: block; font-size: 13px; color: var(--mut); margin: 3px 0 10px; }
.refs p { margin: 0; color: var(--mut); font-size: 15px; max-width: 34em; }
.refs .k { text-align: right; }
.refs .k b { display: block; font-size: 30px; letter-spacing: -.03em; line-height: 1.1; }
.refs .k span { font-size: 13px; color: var(--mut); }

/* Ablauf */
.path { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.path-line { display: none; }
.path-step { padding: 20px 20px 0 0; }
.path-step + .path-step { padding-left: 20px; border-left: 1px solid var(--line); }
.path-step .k { display: block; font-size: 13px; color: var(--mut); margin-bottom: 4px; }
.path-step h3 { font-size: 17px; margin-bottom: 6px; }
.path-step p { margin: 0; font-size: 14.5px; color: var(--mut); }

/* Zitat & Grundsätze */
.quote { margin: 0 0 12px; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.35; letter-spacing: -.015em; font-weight: 500; color: var(--ink); max-width: 34em; }
.sig { color: var(--mut); margin: 0 0 40px; font-size: 15px; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 40px; margin: 0; padding: 0; list-style: none; }
.principles li { margin: 0; }
.principles h4 { margin-bottom: 4px; font-size: 17px; }
.principles p { margin: 0; color: var(--mut); font-size: 15px; }

/* Person (Über mich) */
.person { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.mono-box { aspect-ratio: 4 / 5; background: var(--side); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.mono-box .ini { font-size: 4.4rem; font-weight: 700; letter-spacing: -.05em; color: var(--ink); }
.mono-box .dim { display: none; }
.mono-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person-cap { margin-top: 14px; }
.person-cap strong { display: block; }
.person-cap span { font-size: 14px; color: var(--mut); }

/* Abschluss-Aufruf */
.cta { background: var(--side); border-bottom: 0; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta h2 { margin-bottom: 6px; }
.cta p { margin: 0; color: var(--mut); }

/* ---------- Tabellen ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; font-weight: 400; font-size: 13px; color: var(--mut); padding: 0 14px 10px 0; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.tbl td { padding: 18px 14px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl td.n, .tbl th.n { color: var(--mut); width: 48px; font-size: 13px; }
.tbl td.r, .tbl th.r { text-align: right; }
.tbl .big { font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.tbl .num-v { font-weight: 700; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.tbl .st { font-size: 13px; color: var(--mut); white-space: nowrap; }
.tbl-link tbody tr { cursor: pointer; }
.tbl-link tbody tr:hover td { background: var(--tint); }
.tbl-link td a { text-decoration: none; }
.tbl-link tbody tr:hover .big { text-decoration: underline; text-underline-offset: 4px; }
.tbl-link .go { color: var(--mut); }

/* Listen */
.list-n { list-style: none; margin: 0; padding: 0; counter-reset: ln; border-top: 1px solid var(--ink); }
.list-n > li { counter-increment: ln; display: grid; grid-template-columns: 44px minmax(160px, 260px) 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); margin: 0; }
.list-n > li::before { content: counter(ln, decimal-leading-zero); font-size: 13px; color: var(--mut); line-height: 1.9; }
.list-n h4 { font-size: 17px; line-height: 1.4; }
.list-n p { margin: 0; font-size: 15px; color: var(--mut); }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.split2 h3 { margin-bottom: 12px; }
.split2 p { color: var(--mut); }
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feat > div { background: #fff; padding: 22px; }
.feat h4 { margin-bottom: 12px; display: flex; gap: 10px; align-items: baseline; }
.feat h4 i { font-size: 12px; color: var(--mut); font-style: normal; font-weight: 400; }
.prose p { font-size: 16.5px; }
.prose h2 { font-size: 1.5rem; margin: 1.6em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.legal { max-width: 760px; }
.legal h2 { font-size: 1.25rem; margin: 2.2em 0 .6em; letter-spacing: -.01em; }
.legal p, .legal li { font-size: 15.5px; color: var(--ink-2); }

/* Highlight-Blöcke mit Zeichnung */
.hl { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.hl:first-of-type { border-top: 1px solid var(--ink); }
.hl--rev > :first-child { order: 2; }
.hl .k { font-size: 13px; color: var(--mut); display: block; margin-bottom: 8px; }
.hl h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); letter-spacing: -.025em; margin-bottom: 14px; }
.hl p { color: var(--ink-2); }
.hl p b { font-weight: 600; }
.hl-fig { border: 1px solid var(--line); background: var(--tint); padding: clamp(18px, 3vw, 32px); margin: 0; }
.hl-fig .fig { max-height: 520px; }
.hl-fig .tbl { table-layout: fixed; background: #fff; }
.hl-fig .tbl td, .hl-fig .tbl th { overflow-wrap: anywhere; white-space: normal; padding-left: 8px; }
.sysfig .fig { max-width: 880px; margin: 0 auto; }
.marks::before, .marks::after { display: none; }

/* ---------- Zeichnungen (SVG) – ruhig, ohne Animation ---------- */
.fig { width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.fig .ln { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.fig .ln-g { fill: none; stroke: var(--mut-2); stroke-width: 1; }
.fig .ln-d { fill: none; stroke: var(--mut-2); stroke-width: 1; stroke-dasharray: 3 4; }
.fig .fill { fill: var(--ink); }
.fig .fill-g { fill: #ececea; }
.fig .fill-w { fill: #fff; }
.fig text { font-size: 11px; fill: var(--mut); }
.fig text.t-ink { fill: var(--ink); font-weight: 600; }
.fig text.t-b { font-size: 13px; fill: var(--ink); font-weight: 600; }
.fig .callout { fill: #fff; stroke: var(--ink); stroke-width: 1.4; }
.fig .callout-t { font-size: 11px; font-weight: 600; fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.fig .sweep, .fig .scanline { animation: none; }
.legend { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.legend li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; margin: 0; }
.legend b { width: 20px; height: 20px; border: 1.4px solid var(--ink); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }

/* Code-Anteile als Balken */
.hbar { display: flex; height: 40px; border: 1px solid var(--ink); }
.hbar span { height: 100%; width: var(--w); border-right: 1px solid #fff; }
.hbar span:last-child { border-right: 0; }
.h1p { background: var(--ink); }
.h2p { background: #4a4a4a; }
.h3p { background: #7a7a7a; }
.h4p { background: #a8a8a8; }
.h5p { background: #d0d0d0; }
.hleg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 20px; }
.hleg div { display: grid; grid-template-columns: 18px 1fr; gap: 2px 10px; align-items: start; }
.hleg i { width: 18px; height: 18px; grid-row: span 3; }
.hleg b { font-weight: 600; font-size: 14px; }
.hleg strong { font-size: 1.2rem; letter-spacing: -.02em; }
.hleg small { font-size: 12.5px; color: var(--mut); line-height: 1.4; }

/* Zeitstrahl */
.ruler { padding-top: 0; }
.ruler-scale { display: none; }
.ruler-cols { display: grid; grid-template-columns: repeat(9, 1fr); border-top: 1px solid var(--ink); }
.ruler-cols > div { padding: 14px 10px 0; border-left: 1px solid var(--line); }
.ruler-cols > div:first-child { border-left: 0; padding-left: 0; }
.ruler-cols b { display: block; font-size: 13px; margin-bottom: 4px; }
.ruler-cols p { font-size: 13px; line-height: 1.45; margin: 0; color: var(--mut); }
.ruler-cols .live { background: var(--ink); color: #fff; padding-bottom: 12px; padding-left: 10px; }
.ruler-cols .live p { color: #cfcfcf; }

/* Messinstrumente (SEO) */
.meters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.meter { background: #fff; padding: 26px 22px 22px; text-align: center; }
.meter .fig { max-width: 220px; margin: 0 auto 12px; }
.meter .needle { transform-origin: 120px 124px; transform: rotate(var(--a)); }
.meter strong { display: block; font-size: 1.4rem; letter-spacing: -.02em; }
.meter span { font-size: 14px; color: var(--mut); }

/* ---------- Code-Beispiele ---------- */
.ctabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--ink); }
.ctab { font: 600 14px/1 var(--sans); background: none; border: 0; padding: 13px 16px; cursor: pointer; color: var(--mut); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.ctab:hover { color: var(--ink); }
.ctab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.cpanel { display: grid; grid-template-columns: 2.1fr 1fr; border-bottom: 1px solid var(--line); }
.cpanel[hidden] { display: none; }
.cwin { border-right: 1px solid var(--line); min-width: 0; background: var(--tint); }
.cwin-bar { display: flex; justify-content: space-between; padding: 10px 16px; font: 400 12px var(--mono); color: var(--mut); border-bottom: 1px solid var(--line); background: #fff; }
.cwin-body { display: grid; grid-template-columns: auto 1fr; overflow-x: auto; scrollbar-width: none; }
.cwin-body::-webkit-scrollbar { display: none; }
.cnums { padding: 16px 12px 16px 16px; text-align: right; font: 400 12.5px/1.8 var(--mono); color: var(--mut-2); user-select: none; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.cwin pre { margin: 0; padding: 16px 20px; }
.cwin code { font: 400 12.5px/1.8 var(--mono); white-space: pre; color: var(--ink); }
.cwin .cl { display: block; min-height: 1.8em; }
.cwin .cm { color: var(--mut-2); font-style: italic; }
.cwin .kw { font-weight: 700; }
.cwin .st { color: #5a5a5a; }
.cwin .fn { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.cwin .nu { font-weight: 600; }
.cwin .vr { color: var(--ink-2); font-style: italic; }
.cwin .tg { font-weight: 700; }
.cwin .at { color: var(--mut); }
.cinfo { padding: 26px 0 26px 28px; display: flex; flex-direction: column; }
.cinfo .k { font-size: 13px; color: var(--mut); }
.cinfo h3 { font-size: 1.25rem; margin: 6px 0 14px; }
.cinfo ul { margin: 0 0 20px; padding: 0; list-style: none; }
.cinfo li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; margin: 0; }
.cinfo .proj { margin-top: auto; font-size: 13px; color: var(--mut); }
.cinfo .proj a { color: var(--ink); }

/* Häufige Fragen */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; display: grid; grid-template-columns: 1fr 24px; gap: 16px; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 20px; line-height: 1; text-align: center; color: var(--mut); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; margin: 0; color: var(--mut); }

/* ---------- Kontaktformular ---------- */
.form-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; }
.fld { margin-bottom: 20px; }
.fld label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.fld input, .fld textarea, .fld select { width: 100%; border: 1px solid #cfcfcf; background: #fff; font: 400 16px/1.4 var(--sans); padding: 11px 12px; color: var(--ink); border-radius: 0; -webkit-appearance: none; appearance: none; }
.fld select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23171717' stroke-width='1.5'/%3E%3C/svg%3E") right 12px center / 12px no-repeat; padding-right: 34px; }
.fld textarea { min-height: 150px; resize: vertical; }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.fld .err, .fld input.err, .fld textarea.err { border-color: var(--red) !important; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cap { display: grid; grid-template-columns: auto auto 1fr; gap: 10px; align-items: center; }
.cap-q { font-weight: 600; font-size: 17px; white-space: nowrap; padding: 0 4px; }
.cap-new { font-size: 17px; line-height: 1; width: 44px; height: 44px; background: #fff; border: 1px solid #cfcfcf; cursor: pointer; }
.cap-new:hover { border-color: var(--ink); }
.cap-err, .form-status { font-size: 14px; color: var(--red); margin: 8px 0 0; }
.form-status { margin: 0 0 16px; }
.form-note { font-size: 13px; color: var(--mut); margin-top: 16px; }
.form-note a { color: var(--ink); }
.form-ok { border: 1px solid var(--line); background: var(--tint); padding: 28px; }
.form-ok pre { display: none; }
.form-ok h3 { margin-bottom: 8px; }
.contact-dl { margin: 0; border-top: 1px solid var(--ink); }
.contact-dl div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-dl dt { font-size: 13px; color: var(--mut); }
.contact-dl dd { margin: 2px 0 0; font-size: 16px; font-weight: 600; }

/* ---------- Fuß ---------- */
.ft { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 28px var(--gut) 34px; font-size: 13px; color: var(--mut); max-width: 1040px; }
.ft nav { display: flex; gap: 18px; flex-wrap: wrap; }
.ft a, .ft button { color: var(--mut); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.ft a:hover, .ft button:hover { color: var(--ink); }

/* ---------- Cookie-Hinweis ---------- */
.cookie { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: min(400px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line-2); padding: 22px; box-shadow: 0 10px 30px rgba(0,0,0,.08); opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; }
.cookie.show { opacity: 1; transform: none; }
.cookie h4 { margin: 0 0 6px; }
.cookie p { font-size: 14px; margin: 0 0 16px; color: var(--mut); }
.cookie p a { color: var(--ink); text-decoration: underline; }
.cookie-btns { display: flex; gap: 8px; }
.cookie-btns .btn { flex: 1; padding: 11px; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  :root { --gut: 44px; }
  .phero-grid { grid-template-columns: 1fr; }
  .ruler-cols { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .ruler-cols > div:nth-child(3n+1) { border-left: 0; padding-left: 0; }
  .hleg { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1000px) {
  :root { --gut: 20px; }
  .lay { grid-template-columns: 1fr; }
  .side { position: sticky; top: 0; z-index: 40; height: auto; overflow: visible; padding: 14px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .side-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .who, .side-c { display: none; }
  .menu-btn { display: inline-block; font: 600 14px var(--sans); background: none; border: 1px solid var(--ink); padding: 8px 14px; cursor: pointer; color: var(--ink); }
  .side-nav { display: none; margin: 14px 0 6px; }
  .side.open .side-nav { display: flex; }
  .side.open { max-height: 100vh; overflow-y: auto; }
  .side-nav > a { font-size: 17px; padding: 13px 0; }
  .hero { padding: 56px 0 48px; }
  .phero { padding: 40px 0 40px; }
  .sec { padding: 60px 0; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 44px; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 14px; }
  .svc, .svc-i.wide, .principles, .split2, .form-grid, .person, .hl, .cpanel { grid-template-columns: 1fr; }
  .svc-i.wide { gap: 6px; }
  .hl--rev > :first-child { order: 0; }
  .hl { gap: 24px; padding: 36px 0; }
  .person .mono-box { max-width: 200px; }
  .path { grid-template-columns: 1fr 1fr; }
  .path-step:nth-child(3) { padding-left: 0; border-left: 0; }
  .path-step:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 18px; }
  .refs .ref { grid-template-columns: 1fr; gap: 10px; }
  .refs .k { text-align: left; }
  .cwin { border-right: 0; border-bottom: 1px solid var(--line); }
  .cinfo { padding: 22px 0; }
  .feat { grid-template-columns: 1fr 1fr; }
  .meters { grid-template-columns: 1fr; }
  .list-n > li { grid-template-columns: 1fr; gap: 4px; }
  .ft { padding: 24px var(--gut) 30px; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .facts { grid-template-columns: 1fr; }
  .facts div, .facts div + div { padding: 12px 0; border-left: 0; margin: 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .path { grid-template-columns: 1fr; }
  .path-step, .path-step + .path-step { padding: 16px 0; border-left: 0; margin: 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .tbl .hide-s { display: none; }
  .tbl td, .tbl th { padding-right: 10px; }
  .feat { grid-template-columns: 1fr; }
  .ruler-cols { grid-template-columns: 1fr 1fr; }
  .ruler-cols > div { border-left: 0; padding-left: 0; }
  .hleg { grid-template-columns: 1fr 1fr; }
  .cap { grid-template-columns: auto auto; }
  .cap input { grid-column: 1 / -1; }
  .cwin code, .cnums { font-size: 12px; }
  .ctab { padding: 11px 12px; font-size: 13px; }
  .row .btn { flex: 1 1 auto; }
  .cta .wrap { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.hl > *, .phero-grid > *, .split2 > *, .form-grid > * { min-width: 0; }
