/* Schriften: SIL Open Font License, lokal gehostet (kein Abruf von Drittservern) */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(../fonts/archivo-latin-wdth-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url(../fonts/jetbrains-mono-latin-wght-normal.woff2) format("woff2"); }
/* ---------- Tokens ---------- */
:root {
  --bg: #f6f7f9; --card: #ffffff; --fg: #14181f; --muted: #5b6673; --border: #e2e6ec;
  --accent: #0468c8; --accent-fg: #ffffff; --navy: #1c3347; --navy-t: #1c3347;
  --c1: #0271cb; --c2: #f0402a; --c3: #fbb00a; --c4: #4ab21c; /* Blau, Rot, Gelb, Grün wie im Logo */
  --silver: #cbcbcd;
  --dark: #1c2024; --darker: #111417;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}
html.dark {
  --bg: #101318; --card: #171b22; --fg: #f1f3f6; --muted: #9aa5b3; --border: #2a3039;
  --accent: #3d97ee; --accent-fg: #06101f; --navy: #0f2a52; --navy-t: #b9c8d6;
  --dark: #0d1014; --darker: #0a0c0f;
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1rem/1.6 var(--body); -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 768px) { .wrap { padding-inline: 2rem; } }
.disp { font-family: var(--display); font-weight: 800; font-stretch: 112%; }
.mono { font-family: var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--accent); color: var(--accent-fg); padding: 10px 16px; font-weight: 600; border-radius: 6px; }
.skip:focus { top: 12px; }
.ph { outline: 2px dashed #f08600; outline-offset: 2px; }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Farbbalken (Marke) */
.bars { display: flex; align-items: center; gap: 2px; }
.bars span { display: block; height: 6px; width: 16px; transform: skewX(-30deg); border-radius: 2px; background: var(--c); }
.bars.sm span { width: 12px; }
.bars.lg span { height: 8px; width: 40px; }
.bars.md span { width: 24px; }
.bars.white span { background: rgba(255, 255, 255, .9); width: 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 6px; border: 0; cursor: pointer; font-weight: 500; white-space: nowrap; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.btn .ic { width: 1rem; height: 1rem; }
.btn-accent { background: var(--accent); color: var(--accent-fg); }
.btn-accent:hover { filter: brightness(.93); }
.btn-md { height: 2.75rem; padding: 0 1.25rem; font-size: .875rem; }
.btn-lg { height: 3.5rem; padding: 0 1.75rem; font-size: 1rem; }

/* Überschriften mit Zeilen-Reveal */
.ln { display: block; overflow: hidden; padding-bottom: .08em; }
.h2 { font-size: clamp(2rem, 4.3vw, 3.3rem); line-height: 1.04; letter-spacing: -.015em; font-stretch: 100%; margin: 0; }
.kicker { display: flex; align-items: center; gap: .75rem; font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.lede { max-width: 42rem; font-size: 1.125rem; line-height: 1.65; color: var(--muted); margin: 0; }
.stack > * + * { margin-top: 1.25rem; }
@media (prefers-reduced-motion: no-preference) {
  .js .ln > span { display: block; transform: translateY(110%); transition: transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
  .js .in .ln > span { transform: none; }
  .js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; transition-delay: calc(var(--i, 0) * 80ms); }
  .js .rv.in { opacity: 1; transform: none; }
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--border); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 5rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
:root { --mark-l: url(../img/niemann-mark-hell.png); --mark-d: url(../img/niemann-mark-dunkel.png); }
.mark { --ar: 207 / 200; display: inline-block; flex: none; height: 2.5rem; aspect-ratio: var(--ar); background: var(--mark-l) center / contain no-repeat; }
html.dark .mark, .mark.on-dark { --ar: 250 / 200; background-image: var(--mark-d); }
.brand .sep { width: 1px; height: 2.25rem; background: var(--border); }
.brand .wm { line-height: 1; }
.brand .wm b { display: block; font: 800 1.25rem/1 var(--display); font-stretch: 125%; letter-spacing: .02em; }
.brand .wm small { display: block; padding-top: .25rem; font-size: 9px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--navy-t); }
.nav { display: none; align-items: center; gap: 2rem; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: color-mix(in srgb, var(--fg) 70%, transparent); transition: color .2s; }
.nav a:hover { color: var(--fg); }
.hd-right { display: none; align-items: center; gap: 1.25rem; }
.tel { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; text-decoration: none; }
.tel:hover { color: var(--accent); }
.tel .ic { width: 1rem; height: 1rem; }
.burger { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border: 0; background: transparent; cursor: pointer; border-radius: 6px; }
.burger .ic { width: 1.5rem; height: 1.5rem; }
.mpanel { border-top: 1px solid var(--border); background: var(--bg); padding: .5rem 0 1.25rem; }
.mpanel .wrap { display: grid; }
.mpanel a { padding: .85rem 0; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--border); }
.mpanel a.btn { margin-top: 1rem; border: 0; color: var(--accent-fg); justify-content: center; }
@media (min-width: 768px) { .hd-right { display: flex; } }
@media (min-width: 1024px) { .nav { display: flex; } .burger { display: none; } }
@media (min-width: 768px) and (max-width: 1023px) { .burger { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero-grid { display: grid; gap: 2.5rem; padding-block: 2.5rem 4rem; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: repeat(12, 1fr); gap: 2rem; padding-block: 4rem 6rem; } .hero-l { grid-column: span 7; } .hero-r { grid-column: span 5; } }
.hero-l { display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; }
.hero-tag { display: flex; align-items: center; gap: .75rem; font-size: .875rem; font-weight: 500; color: var(--muted); }
.hero h1 { font-size: 2.6rem; line-height: 1; letter-spacing: -.02em; font-stretch: 100%; margin: 2rem 0; }
.hero h1 .ln > span { text-wrap: balance; }
@media (min-width: 640px) { .hero h1 { font-size: 3.5rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.9rem; } }
@media (min-width: 1280px) { .hero h1 { font-size: 4.4rem; } }
.hero h1 .acc { color: var(--accent); }
.hero p.sub { max-width: 36rem; font-size: 1.125rem; line-height: 1.65; color: var(--muted); margin: 0 0 2rem; }
@media (min-width: 768px) { .hero p.sub { font-size: 1.25rem; } }
.cta-row { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .cta-row { flex-direction: row; align-items: center; } }
.cta-tel { display: flex; align-items: center; gap: .75rem; height: 3.5rem; padding-inline: .5rem; font-weight: 600; text-decoration: none; }
.cta-tel:hover { color: var(--accent); }
.cta-tel .c { display: flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border); }
.cta-tel .ic { width: 1rem; height: 1rem; }
.quick { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.quick .q { font-size: .875rem; font-weight: 600; margin-bottom: .75rem; }
.quick .row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { cursor: pointer; border: 1px solid var(--border); background: var(--card); border-radius: 6px; padding: .5rem .875rem; font-size: .875rem; font-weight: 500; transition: border-color .2s, color .2s; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.hero-r { position: relative; }
.ph-box { position: relative; overflow: hidden; border-radius: 8px; background: linear-gradient(135deg, #2d3a4d, #465a75); }
.ph-box > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero-img { aspect-ratio: 4 / 5; width: 100%; }
@media (min-width: 1024px) { .hero-img { height: 100%; aspect-ratio: auto; min-height: 560px; } }
.hero-cap { position: absolute; inset: auto 0 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 4rem 1.25rem 1.25rem; color: #fff; border-radius: 0 0 8px 8px; background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent); }
.hero-cap b { display: block; font: 700 1.125rem var(--display); font-stretch: 108%; }
.hero-cap span { font-size: .875rem; color: rgba(255, 255, 255, .75); }
.hero-cap .mark { height: 3rem; }
@media (prefers-reduced-motion: no-preference) { .js .hero-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(.2, .7, .2, 1) .15s; } .js .hero-img.in { clip-path: inset(0); } }

/* Gewerke-Leiste */
.strip { border-block: 1px solid var(--border); background: var(--card); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 0; padding-block: 2rem; }
@media (min-width: 1024px) { .strip .wrap { grid-template-columns: repeat(8, 1fr); } }
.strip .it { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; }
.strip .ring { display: flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid var(--c); color: var(--c); }
.strip .ring .ic { width: 1.25rem; height: 1.25rem; stroke-width: 1.75; }
.strip .it span { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 768px) { .strip .ring { width: 3.5rem; height: 3.5rem; } .strip .ring .ic { width: 1.5rem; height: 1.5rem; } .strip .it span { font-size: 12px; } }

/* ---------- Sektionen ---------- */
.sec { padding-block: 6rem; scroll-margin-top: 5rem; }
@media (min-width: 768px) { .sec { padding-block: 8rem; } }

/* Leistungen */
.groups { display: grid; gap: 5rem; margin-top: 5rem; }
.group { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .group { grid-template-columns: repeat(12, 1fr); gap: 4rem; } .g-img { grid-column: span 5; } .g-list { grid-column: span 7; } .group.flip .g-img { order: 2; } }
.g-sticky { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .g-sticky { position: sticky; top: 7rem; align-content: start; } }
.g-photo { aspect-ratio: 4 / 3; width: 100%; }
.g-sticky h3 { font-size: clamp(1.9rem, 4vw, 2.5rem); line-height: 1.1; font-stretch: 112%; margin: 0; }
.g-sticky p { margin: .75rem 0 0; max-width: 28rem; color: var(--muted); }
.svc { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--border); }
.svc button { display: grid; width: 100%; grid-template-columns: 2.5rem 1fr auto; align-items: start; gap: 1rem; padding: 1.5rem 0; border: 0; border-top: 1px solid var(--border); background: transparent; text-align: left; cursor: pointer; transition: background-color .2s; }
.svc button:hover { background: var(--card); }
@media (min-width: 768px) { .svc button { grid-template-columns: 3.5rem 1fr auto; padding-inline: .75rem; } }
.svc .n { padding-top: .25rem; font: 400 .875rem var(--mono); color: var(--muted); }
.svc .t { display: block; font: 700 1.25rem/1.2 var(--display); font-stretch: 108%; transition: color .2s; }
@media (min-width: 768px) { .svc .t { font-size: 1.5rem; } }
.svc button:hover .t { color: var(--accent); }
.svc .d { display: block; max-width: 32rem; margin-top: .375rem; font-size: 15px; line-height: 1.6; color: var(--muted); }
.svc .go { display: flex; width: 2.5rem; height: 2.5rem; margin-top: .25rem; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border); transition: all .2s; }
.svc .go .ic { width: 1rem; height: 1rem; transition: transform .2s; }
.svc button:hover .go { border-color: var(--accent); background: var(--accent); color: var(--accent-fg); }
.svc button:hover .go .ic { transform: rotate(45deg); }

/* CTA-Band */
.band-wrap { padding-inline: .75rem; }
@media (min-width: 768px) { .band-wrap { padding-inline: 1.25rem; } }
.band { position: relative; overflow: hidden; border-radius: 12px; background: var(--accent); color: var(--accent-fg); }
.band .wm { position: absolute; left: 0; bottom: -.22em; font: 800 9rem/1 var(--display); font-stretch: 125%; white-space: nowrap; color: rgba(255, 255, 255, .07); pointer-events: none; user-select: none; will-change: transform; }
@media (min-width: 768px) { .band .wm { font-size: 15rem; } }
.band .in-wrap { position: relative; display: flex; flex-direction: column; gap: 2rem; max-width: 80rem; margin-inline: auto; padding: 3.5rem 1.5rem; }
@media (min-width: 768px) { .band .in-wrap { flex-direction: row; align-items: flex-end; justify-content: space-between; padding: 5rem 2.5rem; } }
.band h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; font-stretch: 110%; margin: 1rem 0; text-wrap: balance; }
.band p { margin: 0; max-width: 40rem; font-size: 1.125rem; color: rgba(255, 255, 255, .8); }
.band .acts { display: flex; flex-direction: column; gap: .75rem; flex: none; }
@media (min-width: 640px) { .band .acts { flex-direction: row; } }
@media (min-width: 768px) { .band .acts { flex-direction: column; } }
@media (min-width: 1024px) { .band .acts { flex-direction: row; } }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: rgba(255, 255, 255, .9); }
.btn-outline-w { height: 3.5rem; padding: 0 1.5rem; border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-weight: 600; }
.btn-outline-w:hover { background: rgba(255, 255, 255, .1); }
.band .btn-white { color: var(--navy); }
.band .btn-outline-w { color: #fff; }

/* Über uns */
.about { position: relative; overflow: hidden; background: var(--dark); color: #fff; }
.about .top { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 1024px) { .about .top { grid-template-columns: repeat(12, 1fr); } .about .top > :first-child { grid-column: span 7; } .about .top > p { grid-column: span 5; } }
.about .kicker { color: rgba(255, 255, 255, .6); }
.about .top > p { margin: 0; font-size: 1.125rem; line-height: 1.65; color: rgba(255, 255, 255, .7); }
.about .body { display: grid; gap: 1.5rem; margin-top: 4rem; }
@media (min-width: 1024px) { .about .body { grid-template-columns: repeat(12, 1fr); } .about .b-img { grid-column: span 7; } .about .b-txt { grid-column: span 5; } }
.about .b-img { aspect-ratio: 16 / 10; }
@media (min-width: 1024px) { .about .b-img { aspect-ratio: auto; min-height: 480px; } }
.about .b-txt { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.about ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }
.about li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .15); }
.about li .n { font: 400 .875rem var(--mono); color: rgba(255, 255, 255, .5); }
.about li h3 { font: 700 1.25rem var(--display); font-stretch: 108%; margin: 0; }
.about li p { margin: .5rem 0 0; color: rgba(255, 255, 255, .65); }

/* Einsatzgebiet */
.region { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .region { grid-template-columns: repeat(12, 1fr); } .region > :first-child { grid-column: span 5; } .region > :last-child { grid-column: span 7; padding-top: 2.5rem; } }
.addr { display: flex; gap: .75rem; align-items: flex-start; margin-top: 2rem; padding: 1.25rem; border: 1px solid var(--border); border-radius: 8px; background: var(--card); }
.addr .ic { width: 1.25rem; height: 1.25rem; margin-top: .125rem; color: var(--accent); }
.addr b { display: block; font-weight: 600; }
.addr span { color: var(--muted); }
.towns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; align-content: flex-start; }
.towns li { font: 800 1.875rem/1.15 var(--display); font-stretch: 110%; color: color-mix(in srgb, var(--fg) 15%, transparent); transition: color .2s; }
@media (min-width: 768px) { .towns li { font-size: 3rem; } }
.towns li:hover { color: var(--fg); }
.towns li.home { color: var(--accent); }
.towns li i { font-style: normal; color: color-mix(in srgb, var(--fg) 10%, transparent); }

/* Ablauf */
.flow { border-top: 1px solid var(--border); background: var(--card); }
.flow .head { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 768px) { .flow .head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.flow .head .btn { height: 3rem; padding: 0 1.5rem; width: fit-content; font-size: .875rem; }
.steps { --p: 1; position: relative; list-style: none; margin: 4rem 0 0; padding: 2rem 0 0; display: grid; gap: 2.5rem; }
.js .steps { --p: 0; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; } .steps::before, .steps::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--border); } .steps::after { background: var(--accent); transform-origin: left; transform: scaleX(var(--p)); height: 2px; } }
.steps li > b { display: block; font: 800 3.75rem/1 var(--display); font-stretch: 120%; color: color-mix(in srgb, var(--fg) 10%, transparent); }
.steps h3 { font: 700 1.25rem/1.2 var(--display); font-stretch: 108%; margin: .75rem 0; }
.steps p { margin: 0; color: var(--muted); }

/* Kontakt */
.contact { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact { grid-template-columns: repeat(12, 1fr); gap: 4rem; } .contact > :first-child { grid-column: span 5; } .contact > :last-child { grid-column: span 7; } }
.checks { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: .75rem; }
.checks li { display: flex; align-items: center; gap: .75rem; font-weight: 500; }
.checks .ic { width: 1.25rem; height: 1.25rem; color: var(--c4); }
.dl { display: grid; gap: 1.25rem; margin: 2.5rem 0 0; padding-top: 2rem; border-top: 1px solid var(--border); }
@media (min-width: 640px) { .dl { grid-template-columns: repeat(2, 1fr); } }
.dl > div { display: flex; gap: .75rem; align-items: flex-start; }
.dl .ic { width: 1.25rem; height: 1.25rem; margin-top: .125rem; color: var(--muted); }
.dl dt { font-size: .875rem; color: var(--muted); }
.dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.dl > div > div { min-width: 0; }
.dl a { text-decoration: none; }
.dl a:hover { color: var(--accent); }
.form-card { border: 2px solid color-mix(in srgb, var(--fg) 10%, transparent); border-radius: 12px; background: var(--card); padding: 1.5rem; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .35); }
@media (min-width: 768px) { .form-card { padding: 2.5rem; } }
.form-card form { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-card form { grid-template-columns: repeat(2, 1fr); } .full { grid-column: 1 / -1; } }
.form-card h3 { font: 800 1.5rem var(--display); font-stretch: 110%; margin: 0; }
.form-card .hint { margin: .25rem 0 0; font-size: .875rem; color: var(--muted); }
.field { display: grid; gap: .5rem; }
.field label { font-size: .875rem; font-weight: 500; line-height: 1; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; height: 3rem; padding: .25rem .75rem; border: 1px solid var(--border); border-radius: 6px;
  background: transparent; color: var(--fg); font: 400 1rem var(--body); transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; min-height: 8rem; padding: .625rem .75rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #d92d20; }
.field .err { font-size: .8125rem; color: #d92d20; min-height: 0; margin: 0; }
html.dark .field .err { color: #ff8a80; }
.field ::placeholder { color: var(--muted); opacity: .8; }
.sel { position: relative; }
.sel select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer; }
.sel .ic { position: absolute; right: .75rem; top: 50%; width: 1rem; height: 1rem; transform: translateY(-50%); opacity: .5; pointer-events: none; }
.form-foot { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .form-foot { flex-direction: row; align-items: center; justify-content: space-between; } }
.form-foot p { margin: 0; font-size: .75rem; color: var(--muted); }
.form-foot .btn { padding: 0 2rem; }
.trap { position: absolute; left: -9999px; }

/* Footer */
.foot { background: var(--darker); color: #fff; padding-bottom: 0; }
.foot .grid { display: grid; gap: 3rem; padding-block: 4rem; }
@media (min-width: 768px) { .foot .grid { grid-template-columns: repeat(12, 1fr); } .foot .g1 { grid-column: span 5; } .foot .g2 { grid-column: span 3; } .foot .g3 { grid-column: span 4; } }
.foot .brand .wm small { color: rgba(255, 255, 255, .65); }
.foot .brand .sep { background: rgba(255, 255, 255, .25); }
.foot .g1 p { max-width: 24rem; margin: 1.25rem 0; font-size: .875rem; line-height: 1.65; color: rgba(255, 255, 255, .6); }
.foot h3 { margin: 0 0 1rem; font: 600 .75rem var(--body); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .875rem; }
.foot a { text-decoration: none; color: rgba(255, 255, 255, .8); }
.foot a:hover { color: #fff; }
.foot address { font-style: normal; display: grid; gap: .5rem; font-size: .875rem; color: rgba(255, 255, 255, .8); }
.foot .area, .foot .copy { border-top: 1px solid rgba(255, 255, 255, .1); }
.foot .area .wrap { padding-block: 1.25rem; font-size: .75rem; line-height: 1.6; color: rgba(255, 255, 255, .35); }
.foot .copy .wrap { display: flex; flex-direction: column; gap: .5rem; padding-block: 1.5rem; font-size: .75rem; color: rgba(255, 255, 255, .5); }
@media (min-width: 640px) { .foot .copy .wrap { flex-direction: row; justify-content: space-between; } }
.foot .copy nav { display: flex; gap: 1rem; }
.foot .copy a { color: rgba(255, 255, 255, .6); }

/* Meldung */
.toast { position: fixed; z-index: 90; right: 1rem; bottom: 1rem; max-width: min(24rem, calc(100vw - 2rem)); padding: 1rem 1.25rem; border-radius: 8px; background: var(--card); color: var(--fg); border: 1px solid var(--border); box-shadow: 0 8px 30px rgba(0, 0, 0, .18); font-size: .9rem; }
.toast.err { border-color: #d92d20; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ===== Mega-Menü ===== */
.dd { position: relative; display: flex; align-items: stretch; }
.dd-top { display: flex; align-items: center; gap: .3rem; font-size: 15px; font-weight: 500; text-decoration: none; color: color-mix(in srgb, var(--fg) 70%, transparent); border-bottom: 3px solid transparent; padding-top: 3px; }
.dd-top .ic { width: .8rem; height: .8rem; opacity: .6; }
.dd:hover .dd-top, .dd:focus-within .dd-top { color: var(--fg); border-bottom-color: var(--accent); }
.mega { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-32%); width: min(920px, 92vw); grid-template-columns: 1fr 1.2fr .9fr; gap: 1.25rem 2rem; padding: 1.4rem; background: var(--card); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 28px 60px -28px rgba(0, 0, 0, .4); z-index: 60; }
.dd:hover .mega, .dd:focus-within .mega { display: grid; }
.mega .mh { margin: 0 0 .5rem; font: 600 .72rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.mega a { display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; border-radius: 6px; font-size: .95rem; font-weight: 500; color: var(--fg); text-decoration: none; }
.mega a:hover, .mega a[aria-current="page"] { background: var(--bg); }
.mega .dot { width: 8px; height: 8px; border-radius: 2px; background: var(--c); flex: none; transform: skewX(-20deg); }
.mega .mall { grid-column: 1 / -1; margin-top: .2rem; padding-top: .8rem; border-top: 1px solid var(--border); border-radius: 0; font-weight: 600; }
.mpanel details { border-bottom: 1px solid var(--border); }
.mpanel summary { padding: .85rem 0; font-weight: 600; cursor: pointer; }
.mpanel details a { padding: .6rem 0 .6rem 1rem; font-weight: 400; border-bottom: 0; display: block; }
.mpanel .mh { margin: .5rem 0 0 1rem; font: 600 .72rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ===== Fachseiten ===== */
.crumbs { padding-top: 1.4rem; font-size: .875rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pagehead { padding-block: 1rem 2.5rem; }
.pagehead h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); line-height: 1; font-stretch: 100%; margin: .8rem 0 1.25rem; text-wrap: balance; }
.pagehead .lead { max-width: 50rem; margin-top: 0; }
.stand { margin: 1.25rem 0 0; font-size: .875rem; color: var(--muted); max-width: none; }
.facts { display: grid; gap: 1px; margin: 2rem 0 0; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.facts > div { background: var(--card); padding: 1rem 1.25rem; }
.facts dt { margin: 0 0 .15rem; font-size: .8rem; font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.doc { display: grid; gap: 3rem; padding-block: 1rem 4rem; }
@media (min-width: 1024px) { .doc { grid-template-columns: minmax(0, 1fr) 310px; gap: 4rem; } }
.prose { max-width: 46rem; min-width: 0; }
.prose h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.1; font-stretch: 100%; margin: 3rem 0 1rem; scroll-margin-top: 6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.35rem; margin: 2rem 0 .5rem; }
.prose p, .prose li { max-width: none; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.25em; }
.prose li { margin: .35em 0; }
.prose a { text-underline-offset: 3px; }
sup.cite { font-size: .72em; line-height: 0; margin-left: .1em; }
sup.cite a { text-decoration: none; color: var(--accent); font-weight: 600; padding: 0 .1em; }
sup.cite a:hover { text-decoration: underline; }
.tw { overflow-x: auto; margin: 1.25rem 0; border: 1px solid var(--border); border-radius: 8px; background: var(--card); }
table.nt { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .95rem; }
table.nt th, table.nt td { padding: .7rem .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
table.nt th { font-weight: 600; background: color-mix(in srgb, var(--bg) 60%, var(--card)); }
table.nt tr:last-child td { border-bottom: 0; }
.callout { margin: 1.5rem 0; padding: 1rem 1.25rem; background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--c3); border-radius: 0 8px 8px 0; }
.callout.region { border-left-color: var(--c4); }
.callout.warn { border-left-color: var(--c2); }
.callout .k { display: block; margin-bottom: .25rem; font: 700 1.1rem var(--display); }
.callout p:last-child { margin-bottom: 0; }
.ctabox { display: grid; gap: 1rem; align-items: center; margin: 2.5rem 0; padding: 1.5rem; background: var(--accent); color: var(--accent-fg); border-radius: 10px; }
@media (min-width: 640px) { .ctabox { grid-template-columns: 1fr auto; } }
.ctabox p { margin: 0; max-width: none; font: 700 1.35rem/1.2 var(--display); }
.ctabox .acts { display: flex; flex-wrap: wrap; gap: .6rem; }
.ctabox .btn-white { height: 3rem; }
.ctabox .btn-outline-w { height: 3rem; padding: 0 1.1rem; }
.aside { display: grid; gap: 1.25rem; align-content: start; }
@media (min-width: 1024px) { .aside { position: sticky; top: 6.5rem; align-self: start; } }
.toc { border: 1px solid var(--border); background: var(--card); border-radius: 10px; padding: 1rem 1.1rem; }
.toc h2 { margin: 0 0 .6rem; font: 600 .75rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.toc a { display: block; padding: .3rem .5rem; border-left: 2px solid transparent; font-size: .95rem; text-decoration: none; }
.toc a:hover { border-left-color: var(--accent); background: var(--bg); }
.toc-m { display: block; margin-bottom: 2rem; }
@media (min-width: 1024px) { .toc-m { display: none; } }
.aside .toc { display: none; }
@media (min-width: 1024px) { .aside .toc { display: block; } }
.sidecta { padding: 1.25rem; border-radius: 10px; background: var(--accent); color: var(--accent-fg); }
.sidecta b { display: block; margin-bottom: .35rem; font: 700 1.3rem/1.15 var(--display); }
.sidecta p { margin: 0 0 1rem; font-size: .95rem; }
.sidecta .btn { width: 100%; }
.sidecta .btn + .btn { margin-top: .5rem; }
.related { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 720px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a { display: block; padding: 1.1rem 1.2rem; background: var(--card); border: 1px solid var(--border); border-radius: 10px; text-decoration: none; }
.related a:hover { border-color: var(--accent); }
.related b { display: block; margin-bottom: .25rem; font: 700 1.25rem var(--display); }
.related span { font-size: .92rem; color: var(--muted); }
.sources { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.sources h2 { font-size: 1.5rem; margin: 0 0 .5rem; }
.sources > p { font-size: .9rem; color: var(--muted); }
.sources ol { margin: .75rem 0 0; padding-left: 1.5rem; font-size: .9rem; }
.sources li { margin: .6rem 0; overflow-wrap: anywhere; }
.sources li small { display: block; color: var(--muted); }
.subform { padding-block: 4rem 6rem; border-top: 1px solid var(--border); background: var(--card); }
.subform .form-card { background: var(--bg); }
fieldset.fq { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.fq legend { padding: 0; margin-bottom: .5rem; font-size: .875rem; font-weight: 500; }
.fq .pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.fq .pill { position: relative; }
.fq .pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.fq .pill span { display: inline-block; padding: .5rem .9rem; border: 1px solid var(--border); border-radius: 6px; background: transparent; font-size: .95rem; }
.fq .pill input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); font-weight: 600; }
.fq .pill input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.hub-grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin: 1.5rem 0 3rem; }
@media (min-width: 760px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
.hub-grid a { display: block; padding: 1.4rem 1.5rem; background: var(--card); text-decoration: none; }
.hub-grid a:hover { background: var(--bg); }
.hub-grid b { display: block; font: 700 1.4rem var(--display); margin-bottom: .3rem; }
.hub-grid span { color: var(--muted); font-size: .95rem; }
.svc a.row { display: grid; width: 100%; grid-template-columns: 2.5rem 1fr auto; align-items: start; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--border); text-decoration: none; transition: background-color .2s; }
.svc a.row:hover { background: var(--card); }
@media (min-width: 768px) { .svc a.row { grid-template-columns: 3.5rem 1fr auto; padding-inline: .75rem; } }
.svc a.row:hover .t { color: var(--accent); }
.svc a.row:hover .go { border-color: var(--accent); background: var(--accent); color: var(--accent-fg); }
.svc a.row:hover .go .ic { transform: rotate(45deg); }
.legal-page { max-width: 46rem; padding-block: 3rem 5rem; }
.draftbar { margin: 1rem 0; padding: .8rem 1rem; border: 2px dashed #f08600; border-radius: 8px; font-weight: 600; }
.btn-line { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 3.5rem; padding: 0 1.4rem; border: 1px solid color-mix(in srgb, var(--fg) 22%, transparent); border-radius: 6px; font-weight: 600; text-decoration: none; color: var(--fg); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.toast { position: fixed; z-index: 90; left: 50%; bottom: 1.5rem; transform: translateX(-50%); max-width: min(92vw, 34rem); padding: .9rem 1.2rem; border-radius: 8px; background: var(--fg); color: var(--bg); font-weight: 500; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5); }
.toast.err { background: #b3261e; color: #fff; }
.pagehead .cta-row { margin-top: 1.75rem; }
.faq-list { margin: 1rem 0 0; border-top: 1px solid var(--border); }
details.faq-i { border-bottom: 1px solid var(--border); }
details.faq-i summary { list-style: none; cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; font-size: 1.05rem; position: relative; }
details.faq-i summary::-webkit-details-marker { display: none; }
details.faq-i summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--accent); transition: transform .2s; }
details.faq-i[open] summary::after { content: "–"; }
details.faq-i > div { padding: 0 0 1.25rem; }
details.faq-i > div p { margin: 0; }
.toc-m summary { cursor: pointer; font-weight: 600; }
.flist { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .flist { grid-template-columns: repeat(2, 1fr); } }
.foot .flist h3 { margin: 0 0 .75rem; }
.foot .flist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.trust { padding-block: 3rem; }
.trustlist { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
@media (min-width: 720px) { .trustlist { grid-template-columns: repeat(3, 1fr); } }
.trustlist a { display: block; padding: 1.1rem 1.25rem; background: var(--card); text-decoration: none; height: 100%; }
.trustlist a:hover { background: var(--bg); }
.trustlist b { display: block; font: 700 1.1rem var(--display); }
.trustlist span { font-size: .92rem; color: var(--muted); }

/* ===== Chromschweif im Hintergrund (Farbton wie das N im Logo), scrollt diagonal mit ===== */
.chrome-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; --o: .62; --p: .3; }
html.dark .chrome-bg { --o: .2; }
.chrome-bg .cs {
  position: absolute; left: 50%; top: 50%; display: block;
  width: 230vmax; height: 26vmax; margin: -13vmax 0 0 -115vmax;
  opacity: var(--o); will-change: transform;
  transform: translate3d(calc(28vw - var(--p) * 56vw), calc(-46vh + var(--p) * 92vh), 0) rotate(33deg);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .16) 0 1px, rgba(90, 98, 108, .07) 1px 3px),
    linear-gradient(180deg, rgba(203, 205, 208, 0) 0%, rgba(203, 205, 208, .55) 14%, rgba(250, 251, 252, .95) 30%, rgba(176, 181, 188, .85) 47%, rgba(238, 240, 242, .95) 61%, rgba(141, 147, 155, .55) 79%, rgba(203, 205, 208, 0) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%, #000 82%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%, #000 82%, transparent 100%);
}
.chrome-bg .cs2 {
  height: 5vmax; margin-top: -2.5vmax; opacity: calc(var(--o) * 1.1);
  transform: translate3d(calc(48vw - var(--p) * 96vw), calc(-30vh + var(--p) * 120vh), 0) rotate(33deg);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .18) 0 1px, rgba(90, 98, 108, .08) 1px 3px),
    linear-gradient(180deg, rgba(203, 205, 208, 0) 0%, rgba(232, 234, 237, .9) 35%, rgba(150, 156, 164, .8) 52%, rgba(244, 245, 247, .9) 68%, rgba(203, 205, 208, 0) 100%);
}
html.dark .chrome-bg .cs, html.dark .chrome-bg .cs2 { mix-blend-mode: screen; }
@media (prefers-reduced-motion: reduce) { .chrome-bg .cs { will-change: auto; } }
@media print { .chrome-bg { display: none; } }


/* ===== Karte (Zwei-Klick-Lösung) ===== */
.mapbox { position: relative; min-height: 22rem; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--card); }
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapph b { font: 700 1.2rem var(--display); }
.mapph { display: grid; align-content: center; gap: 1rem; padding: 2rem; min-height: 22rem; max-width: 40rem; }
.mapph p { margin: 0; max-width: none; }
.mapph .mn { font-size: .9rem; color: var(--muted); }
.mapph .acts { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.mapph .btn-line { height: 2.75rem; }

.teamgrid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); margin: 0 0 2rem; }
.teamgrid figure { margin: 0; }
.teamgrid figcaption { margin-top: .5rem; font-size: .9rem; color: var(--muted); }
.portrait { aspect-ratio: 4 / 5; width: 100%; }
@media (max-width: 560px) { .teamgrid { grid-template-columns: 1fr; max-width: 16rem; } }
