/* ==========================================================================
   CSG Computersysteme Gossau – Designsystem «Präzision»
   Dokumentation: docs/DESIGNSYSTEM.md
   ========================================================================== */

/* ---------- 1. Schriften (selbst gehostet, OFL) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-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: "Plex Mono";
  src: url("../fonts/plexmono-400-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/plexmono-500-latin.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
/* Metrisch angeglichener Fallback gegen Layout-Shift */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial");
  size-adjust: 103%;
  ascent-override: 88%;
  descent-override: 22%;
}

/* ---------- 2. Tokens ---------- */
:root {
  /* Marke (aus Logo abgeleitet) */
  --ink: #0A122A;          /* Logo-Navy */
  --indigo: #635BFF;       /* Logo-Indigo */
  --indigo-strong: #4A41E8;/* Indigo für Text/Links auf hell (AA) */
  --indigo-bright: #8C86FF;/* Indigo auf dunkel (AA) */
  --indigo-soft: #E8E7FF;
  --indigo-mist: #F1F0FF;

  /* Neutrale (aus Navy-Farbton abgeleitet) */
  --ink-2: #1D2542;
  --ink-3: #485070;        /* Sekundärtext auf Papier: 7.2:1 */
  --ink-4: #5F6680;        /* Tertiär (Labels, Nummern): 5.2:1 auf Papier */
  --line: #E1E4EA;
  --line-soft: #EDEFF3;
  --paper: #FFFFFF;        /* Seitenhintergrund: reines Weiss */
  --paper-2: #F3F5F8;      /* kühles Hellgrau für Abschnittswechsel */
  --white: #FFFFFF;

  /* Nacht-Flächen */
  --night: #0A122A;
  --night-2: #111A36;
  --night-3: #1A2445;
  --on-night: #FFFFFF;
  --on-night-2: #AEB3C8;   /* 8.9:1 auf Night */
  --night-line: rgba(255, 255, 255, .14);

  /* Signale */
  --ok: #17804C;
  --ok-bright: #3DDC84;
  --closed: #B3261E;
  --warn-bg: #FFF4D6;
  --warn-ink: #5C4300;

  /* Semantik */
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: var(--ink-3);
  --accent: var(--indigo);
  --focus: var(--indigo-strong);

  /* Typografie */
  --font-sans: "Archivo", "Archivo Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-display: clamp(3.4rem, 1rem + 5.9vw, 7.4rem);
  --fs-h1: clamp(2.5rem, 1.5rem + 4.2vw, 5.25rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.7vw, 3.75rem);
  --fs-h3: clamp(1.35rem, 1.15rem + .8vw, 1.875rem);
  --fs-lead: clamp(1.125rem, 1.02rem + .42vw, 1.4rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-label: .75rem;

  /* Raster & Abstände (4er-System) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
  --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --gutter: clamp(16px, 4.2vw, 56px);
  --maxw: 1360px;
  --maxw-wide: 1680px;
  --section: clamp(72px, 6vw + 40px, 160px);
  --header-h: 72px;

  /* Form */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xs: 4px;
  --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(10, 18, 42, .06), 0 2px 8px rgba(10, 18, 42, .04);
  --shadow-2: 0 2px 6px rgba(10, 18, 42, .06), 0 24px 48px -12px rgba(10, 18, 42, .18);

  /* Bewegung */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 160ms;
  --t-base: 260ms;
  --t-slow: 720ms;

  /* Ebenen */
  --z-header: 50;
  --z-menu: 60;
  --z-dialog: 100;
}

/* ---------- 3. Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
  font-kerning: normal;
  font-feature-settings: "kern", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
picture img { width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, address { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
address { font-style: normal; }
::selection { background: var(--indigo); color: #fff; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 1px; }
.section--night :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible { outline-color: var(--indigo-bright); }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.wrap--wide { width: min(100% - 2 * var(--gutter), var(--maxw-wide)); }

/* ---------- 4. Typografie ---------- */
.h1, .h2, .h3 { font-weight: 640; letter-spacing: -.022em; line-height: 1.02; font-stretch: 88%; text-wrap: balance; }
.h1 { font-size: var(--fs-h1); line-height: .98; letter-spacing: -.03em; font-stretch: 80%; font-weight: 660; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -.012em; font-stretch: 94%; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); max-width: 40em; text-wrap: pretty; }
.section--night .lead, .cta-band .lead { color: var(--on-night-2); }
p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: var(--s-5);
}
.eyebrow__num { color: var(--indigo-strong); padding-right: 12px; border-right: 1px solid currentColor; line-height: 1; }
.section--night .eyebrow { color: var(--on-night-2); }
.section--night .eyebrow__num { color: var(--indigo-bright); }
.h-label { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--s-4); }

.prose { max-width: 42em; }
.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--ink-2); }

/* ---------- 5. Icons ---------- */
.icon { width: 22px; height: 22px; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 14px; height: 14px; }

/* ---------- 6. Buttons & Links ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 0 22px 0 24px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd); border-radius: var(--r-sm);
  font-weight: 600; font-size: 1rem; letter-spacing: -.005em; text-decoration: none; line-height: 1.1;
  overflow: hidden; isolation: isolate; cursor: pointer;
  transition: color var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out), transform var(--t-fast) var(--ease-out);
  touch-action: manipulation;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--indigo); transform: translateY(101%); transition: transform var(--t-base) var(--ease-out); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { border-color: var(--indigo); color: #fff; }
.btn:active { transform: scale(.98); }
.btn__icon { transition: transform var(--t-base) var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn--primary { --btn-bg: var(--ink); }
.btn--accent { --btn-bg: var(--indigo); --btn-bd: var(--indigo); }
.btn--accent::before { background: var(--ink); }
.btn--accent:hover { border-color: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.section--night .btn--ghost, .cta-band .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-6); }

.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--indigo-strong); text-decoration: none; padding: 6px 0; border-bottom: 1px solid currentColor; }
.textlink .icon { transition: transform var(--t-base) var(--ease-out); }
.textlink:hover .icon { transform: translateX(4px); }
.section--night .textlink { color: var(--indigo-bright); }

/* ---------- 7. Entwicklungsleiste ---------- */
.devbar { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 7px var(--gutter); background: var(--warn-bg); color: var(--warn-ink); font-size: .8125rem; font-weight: 500; text-align: center; line-height: 1.35; }
.devbar__dot { width: 7px; height: 7px; border-radius: 50%; background: #D99A00; flex: none; }

/* ---------- 8. Header & Navigation ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: rgba(255, 255, 255, .94); border-bottom: 1px solid transparent; transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base); }
@supports (backdrop-filter: blur(1px)) { .site-header { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(14px); } }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: var(--s-5); height: var(--header-h); }
.site-header__brand { display: block; flex: none; margin-right: auto; padding: 8px 0; }
.logo { width: 84px; height: auto; }
.mainnav { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.site-header__actions .hdr-phone, .site-header__actions .hdr-status, .site-header__actions .hdr-cta { display: none; }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--ink-3); text-decoration: none; white-space: nowrap; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--closed); flex: none; box-shadow: 0 0 0 3px rgba(179, 38, 30, .14); }
.status.is-open .status__dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(23, 128, 76, .16); }
.status.is-later .status__dot { background: #C98A00; box-shadow: 0 0 0 3px rgba(201, 138, 0, .18); }
@media (prefers-reduced-motion: no-preference) {
  .status.is-open .status__dot { animation: pulse 2.4s var(--ease-in-out) infinite; }
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(23,128,76,.16); } 50% { box-shadow: 0 0 0 6px rgba(23,128,76,.05); } }

.menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px 0 14px; font-weight: 600; font-size: .9375rem; border: 1px solid var(--ink); border-radius: var(--r-pill); }
.menu-btn__bars { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.menu-btn__bars i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff; transition: transform var(--t-base) var(--ease-out); }
.menu-btn__bars i:first-child { transform: translateY(-3.5px); }
.menu-btn__bars i:last-child { transform: translateY(3.5px); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:last-child { transform: rotate(-45deg); }

/* Mobile-Menü (Sheet) */
@media (max-width: 1099.98px) {
  .mainnav { display: block; position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: var(--z-menu); background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
    padding: var(--s-5) var(--gutter) calc(var(--s-7) + env(safe-area-inset-bottom));
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out), visibility 0s linear var(--t-base); }
  .mainnav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .mainnav__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
  .mainnav__item { border-bottom: 1px solid var(--line); }
  .mainnav__link { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 64px; font-size: 1.625rem; font-weight: 620; font-stretch: 88%; letter-spacing: -.02em; text-decoration: none; }
  .mainnav__link[aria-current="page"], .mainnav__link.is-current { color: var(--indigo-strong); }
  .mainnav__toggle .icon { width: 22px; height: 22px; transition: transform var(--t-base) var(--ease-out); }
  .mainnav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .subnav { display: none; padding: 0 0 var(--s-4); }
  .subnav.is-open { display: block; }
  .subnav__list { list-style: none; margin: 0; padding: 0; }
  .subnav__link { display: grid; grid-template-columns: 1fr auto; padding: 12px 0 12px 16px; border-left: 2px solid var(--line); text-decoration: none; }
  .subnav__link[aria-current="page"] { border-left-color: var(--indigo); }
  .subnav__title { font-weight: 600; font-size: 1.125rem; }
  .subnav__note { grid-column: 1; color: var(--ink-3); font-size: .9375rem; }
  .subnav__arrow { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--ink-3); }
  .mainnav__mobile-extra { display: grid; gap: 4px; margin-top: var(--s-6); }
  .mnx { display: flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; font-weight: 500; }
  .mnx .icon { color: var(--indigo-strong); }
  .mnx-status { margin-top: var(--s-3); }
  body.menu-open { overflow: hidden; }
}

@media (min-width: 640px) { .site-header__actions .hdr-cta { display: inline-flex; } }
@media (min-width: 1100px) {
  :root { --header-h: 84px; }
  .logo { width: 92px; }
  .menu-btn { display: none; }
  .mainnav { display: block; }
  .mainnav__mobile-extra { display: none; }
  .mainnav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
  .mainnav__item { position: relative; }
  .mainnav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; font-size: .9875rem; font-weight: 500; text-decoration: none; color: var(--ink); border-radius: var(--r-sm); }
  .mainnav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1.5px; background: var(--indigo); transform: scaleX(0); transform-origin: left; transition: transform var(--t-base) var(--ease-out); }
  .mainnav__link:hover::after, .mainnav__link[aria-current="page"]::after, .mainnav__link.is-current::after { transform: scaleX(1); }
  .mainnav__toggle[aria-expanded="true"]::after { transform: scaleX(1); }
  .mainnav__toggle .icon { transition: transform var(--t-base) var(--ease-out); }
  .mainnav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .subnav { position: absolute; top: calc(100% + 14px); left: -24px; width: 380px; padding: 10px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-2); border-radius: var(--r-md);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--t-fast) var(--ease-out), transform var(--t-base) var(--ease-out), visibility 0s linear var(--t-base); }
  .subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
  .subnav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .subnav__list { list-style: none; margin: 0; padding: 0; }
  .subnav__link { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding: 14px 16px; border-radius: var(--r-sm); text-decoration: none; transition: background var(--t-fast); }
  .subnav__link:hover, .subnav__link:focus-visible, .subnav__link[aria-current="page"] { background: var(--indigo-mist); }
  .subnav__title { font-weight: 600; }
  .subnav__note { color: var(--ink-3); font-size: .875rem; }
  .subnav__arrow { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--indigo-strong); transform: translateX(-4px); opacity: 0; transition: all var(--t-base) var(--ease-out); }
  .subnav__link:hover .subnav__arrow, .subnav__link:focus-visible .subnav__arrow { transform: none; opacity: 1; }
  .site-header__brand { margin-right: 0; }
  .mainnav { margin-right: auto; margin-left: clamp(16px, 3vw, 48px); }
  .site-header__actions .hdr-status { display: inline-flex; padding: 8px 4px; }
}
@media (min-width: 1280px) {
  .site-header__actions .hdr-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; text-decoration: none; padding: 10px 6px; font-variant-numeric: tabular-nums; }
  .hdr-phone .icon { width: 18px; height: 18px; color: var(--indigo-strong); }
}

/* ---------- 9. Passermarken (Signatur-Motiv) ---------- */
.crop { position: absolute; width: 18px; height: 18px; pointer-events: none; z-index: 2; }
.crop::before, .crop::after { content: ""; position: absolute; background: var(--ink); }
.crop::before { width: 18px; height: 1.5px; top: 8px; }
.crop::after { width: 1.5px; height: 18px; left: 8px; }
.crop--tl { top: -9px; left: -9px; }
.crop--tr { top: -9px; right: -9px; }
.crop--bl { bottom: -9px; left: -9px; }
.crop--br { bottom: -9px; right: -9px; }

/* ---------- 10. Hero (Startseite) ---------- */
.hero { position: relative; overflow-x: clip; padding-top: clamp(28px, 4vw, 64px); padding-bottom: clamp(48px, 5vw, 88px); }
.hero::before { /* feines Baseline-Raster */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(to right, rgba(10,18,42,.045) 1px, transparent 1px);
  background-size: calc((min(100vw - 2 * var(--gutter), var(--maxw))) / 12) 100%;
  background-position: center top;
  mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
}
.hero__grid { display: grid; gap: 28px; }
.hero__eyebrow { margin-bottom: var(--s-5); }
.hero__title { margin: 0; font-weight: 700; }
.hero__kicker { display: block; font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); font-weight: 560; letter-spacing: -.01em; font-stretch: 100%; color: var(--ink-2); margin-bottom: clamp(12px, 1.4vw, 22px); }
.hero__words { display: block; font-size: min(25vw, 7.4rem); line-height: .84; letter-spacing: -.045em; font-stretch: 68%; font-weight: 720; }
.hero__word { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.hero__word > span { display: inline-block; }
.hero__word--accent { color: var(--indigo); }
.hero__word--accent > span { position: relative; }
.hero__lead { max-width: 34em; color: var(--ink-3); }

.doors { display: grid; gap: 10px; margin-top: var(--s-6); max-width: 640px; }
.door { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; min-height: 76px; padding: 14px 18px 14px 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; transition: border-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out); }
.door:hover { border-color: var(--ink); box-shadow: var(--shadow-1); }
.door:active { transform: scale(.99); }
.door__icon { width: 46px; height: 46px; display: grid; place-items: center; background: var(--indigo-mist); color: var(--indigo-strong); border-radius: var(--r-sm); transition: background var(--t-base), color var(--t-base); }
.door:hover .door__icon { background: var(--indigo); color: #fff; }
.door__k { display: block; font-weight: 650; font-size: 1.0625rem; letter-spacing: -.01em; }
.door__v { display: block; font-size: .875rem; color: var(--ink-3); line-height: 1.4; }
.door__arrow { color: var(--ink); transition: transform var(--t-base) var(--ease-out); }
.door:hover .door__arrow { transform: translateX(4px); }

.hero__visual { position: relative; }
.hero__photo { position: relative; margin: 0; }
.hero__img img { aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; height: auto; }
.hero__plate { position: absolute; left: 0; bottom: 0; right: 22%; z-index: 3; display: grid; background: var(--paper); border-top: 1px solid var(--ink); }
.plate__row { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 12px; padding: 10px 14px 10px 0; font-size: .875rem; border-bottom: 1px solid var(--line); }
.plate__row:last-child { border-bottom: 0; }
.plate__k { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-left: 2px; }
.plate__v { color: var(--ink); font-weight: 500; white-space: normal; }
.hero__device { position: absolute; z-index: 4; width: 46%; right: -3%; bottom: -10%; filter: drop-shadow(0 30px 30px rgba(10,18,42,.22)); pointer-events: none; }
.hero__mark { position: absolute; z-index: 1; width: clamp(64px, 9vw, 132px); height: auto; top: -2%; left: -7%; fill: var(--indigo); opacity: .95; display: none; }

.factrail { display: grid; grid-template-columns: 1fr; margin-top: clamp(56px, 7vw, 112px); border-top: 1px solid var(--ink); }
.fact { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "k v" "t t"; gap: 2px 16px; padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.fact__k { grid-area: k; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); align-self: center; }
.fact__v { grid-area: v; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); font-weight: 680; font-stretch: 78%; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.fact__t { grid-area: t; color: var(--ink-3); font-size: .9375rem; margin-top: 6px; }

@media (max-width: 1023.98px) {
  .hero__plate { position: static; right: auto; }
  .hero__img img { aspect-ratio: 16 / 11; }
}
@media (min-width: 640px) {
  .hero__words { display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: .2em; font-size: min(12.6vw, 7.9rem); line-height: .82; }
  .doors { grid-template-columns: 1fr 1fr; }
  .factrail { grid-template-columns: 1fr 1fr; }
  .fact { grid-template-columns: 1fr; grid-template-areas: "k" "v" "t"; gap: 10px; padding: 22px 24px 24px 0; }
  .fact:nth-child(odd) { border-right: 1px solid var(--line); }
  .fact:nth-child(even) { padding-left: 24px; }
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); grid-template-areas: "title visual" "sub visual"; align-items: start; column-gap: clamp(32px, 4vw, 80px); row-gap: clamp(28px, 2.6vw, 44px); }
  .hero__text { grid-area: title; }
  .hero__sub { grid-area: sub; }
  .hero__visual { grid-area: visual; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }
  .hero__words { display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: .2em; font-size: clamp(5rem, 8.9vw, 7.9rem); line-height: .82; }
  .hero__lead { margin-top: 0; max-width: 38em; }
  .doors { grid-template-columns: 1fr 1fr; max-width: none; margin-top: var(--s-5); }
  .hero__photo { flex: 1; display: flex; min-height: 0; }
  .hero__img { flex: 1; display: flex; }
  .hero__img img { aspect-ratio: auto; height: 100%; min-height: 420px; object-fit: cover; object-position: 38% 50%; }
  .hero__plate { right: 0; }
  .hero__mark { display: block; top: -8px; left: -30px; width: clamp(56px, 5.4vw, 92px); }
  .factrail { grid-template-columns: repeat(4, 1fr); }
  .fact, .fact:nth-child(even) { padding: 24px 24px 26px; border-right: 1px solid var(--line); border-bottom: 0; }
  .fact:first-child { padding-left: 0; }
  .fact:last-child { border-right: 0; }
}

/* ---------- 11. Sektionen ---------- */
.section { padding-block: var(--section); position: relative; }
.section--tint { background: var(--paper-2); }
.section--night { background: var(--night); color: var(--on-night); }
.section-head { margin-bottom: clamp(40px, 4.5vw, 80px); max-width: 52rem; }
.section-head .h2 { max-width: 18ch; }
.section-head--split { display: grid; gap: var(--s-5); max-width: none; }
@media (min-width: 1024px) {
  .section-head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: clamp(32px, 5vw, 96px); }
  .section-head--split .lead { padding-bottom: 6px; }
}

/* ---------- 12. Zielgruppen ---------- */
.audiences__grid { display: grid; gap: var(--s-5); }
.aud__link { display: grid; grid-template-rows: auto 1fr; height: 100%; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out); }
.aud__link:hover { border-color: var(--ink); box-shadow: var(--shadow-2); }
.aud__media { overflow: hidden; background: var(--paper-2); align-self: start; }
.aud__img img { aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.aud__link:hover .aud__img img { transform: scale(1.035); }
.aud__body { padding: clamp(22px, 2.6vw, 40px); display: grid; gap: 14px; align-content: start; }
.aud__k { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: var(--indigo-strong); }
.aud__body > p:not(.aud__k) { color: var(--ink-3); max-width: 38em; }
.aud__go { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; margin-top: 8px; }
.aud__go .icon { transition: transform var(--t-base) var(--ease-out); }
.aud__link:hover .aud__go .icon { transform: translateX(5px); }
.verbs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin: 0; }
.verbs li { font-size: 1.0625rem; font-weight: 560; padding: 10px 0; border-top: 1px solid var(--line); }
.aud--home .aud__link { background: var(--ink); color: #fff; border-color: var(--ink); }
.aud--home .aud__k { color: var(--indigo-bright); }
.aud--home .verbs li { border-color: var(--night-line); }
.aud--home :focus-visible { outline-color: var(--indigo-bright); }
@media (min-width: 1024px) {
  .audiences__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch; }
  .aud--biz .aud__img img { aspect-ratio: 16 / 9.4; }
  .aud--home .aud__link { grid-template-rows: auto 1fr; }
  .aud--home .aud__img img { aspect-ratio: 16 / 12.2; }
  .aud--home { margin-top: clamp(40px, 6vw, 96px); }
}

/* ---------- 13. Leistungs-Explorer ---------- */
.explorer { display: grid; gap: var(--s-6); }
.explorer__list { display: grid; border-top: 1px solid var(--ink); }
.explorer__tab { position: relative; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 8px; min-height: 64px; padding: 14px 4px 14px 0; text-align: left; border-bottom: 1px solid var(--line); font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); font-weight: 580; letter-spacing: -.012em; color: var(--ink-3); transition: color var(--t-base) var(--ease-out); }
.explorer__tab::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--indigo); transform: scaleX(0); transform-origin: left; transition: transform var(--t-slow) var(--ease-out); }
.explorer__tab:hover { color: var(--ink); }
.explorer__tab.is-active { color: var(--ink); }
.explorer__tab.is-active::before { transform: scaleX(1); }
.explorer__num { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .06em; color: var(--ink-4); }
.explorer__tab.is-active .explorer__num { color: var(--indigo-strong); }
.explorer__arrow { opacity: 0; transform: translateX(-6px); transition: all var(--t-base) var(--ease-out); color: var(--indigo-strong); }
.explorer__tab.is-active .explorer__arrow, .explorer__tab:hover .explorer__arrow { opacity: 1; transform: none; }
.explorer__panel { display: grid; gap: var(--s-5); outline-offset: 6px; }
.explorer__media { position: relative; overflow: hidden; background: var(--paper-2); }
.explorer__media img { aspect-ratio: 3 / 2; object-fit: cover; }
.explorer__text { display: grid; gap: 14px; align-content: start; }
.explorer__short { font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.45; }
.ticks { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.ticks .icon { color: var(--indigo-strong); margin-top: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .explorer__panel:not([hidden]) .explorer__media img { animation: panelImg .9s var(--ease-out) both; }
  .explorer__panel:not([hidden]) .explorer__text > * { animation: panelText .6s var(--ease-out) both; }
  .explorer__panel:not([hidden]) .explorer__text > *:nth-child(2) { animation-delay: 50ms; }
  .explorer__panel:not([hidden]) .explorer__text > *:nth-child(3) { animation-delay: 100ms; }
  .explorer__panel:not([hidden]) .explorer__text > *:nth-child(4) { animation-delay: 150ms; }
}
@keyframes panelImg { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes panelText { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* Ohne JS: alle Panels sichtbar, Tabs ausblenden */
.no-js .explorer__list { display: none; }
.no-js .explorer__panel[hidden] { display: grid !important; }
@media (min-width: 1024px) {
  .explorer { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 96px); align-items: start; }
  .explorer__panel { grid-template-columns: 1fr; }
  .explorer__media img { aspect-ratio: 16 / 10; }
  .explorer__panels { position: sticky; top: calc(var(--header-h) + 24px); }
}
@media (min-width: 1400px) {
  .explorer__panel { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; gap: var(--s-6); }
  .explorer__media img { aspect-ratio: 4 / 5; }
}

/* ---------- 14. Branchen-Bänder ---------- */
.bands { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.band__link { position: relative; display: grid; min-height: 380px; text-decoration: none; color: #fff; overflow: hidden; isolation: isolate; border-radius: var(--r-sm); background: var(--night); }
.band__media { position: absolute; inset: 0; z-index: -2; }
.band__media picture { position: absolute; inset: 0; }
.band__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease-out); }
.band__link:hover .band__img img { transform: scale(1.07); }
.band__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,18,42,.92) 0%, rgba(10,18,42,.72) 45%, rgba(10,18,42,.18) 100%); transition: opacity var(--t-slow) var(--ease-out); }
.band__content { display: grid; align-content: end; gap: 10px; padding: clamp(24px, 4vw, 56px); max-width: 720px; }
.band__num { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .1em; color: var(--indigo-bright); }
.band__title { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.75rem); font-weight: 680; font-stretch: 74%; letter-spacing: -.035em; line-height: .95; }
.band__teaser { font-size: var(--fs-lead); line-height: 1.4; color: rgba(255,255,255,.88); max-width: 30em; }
.band__meta { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-night-2); }
.band__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-weight: 600; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.5); justify-self: start; transition: border-color var(--t-base); }
.band__go .icon { transition: transform var(--t-base) var(--ease-out); }
.band__link:hover .band__go { border-color: #fff; }
.band__link:hover .band__go .icon { transform: translateX(5px); }
.band__link:focus-visible { outline-offset: 4px; }
@media (min-width: 768px) { .band__link { min-height: 420px; } }
@media (min-width: 1024px) {
  .band__link { min-height: 0; aspect-ratio: 2574 / 820; }
  .band__content { max-width: 680px; }
}

/* ---------- 15. Marken ---------- */
.brands__hint { display: flex; gap: 10px; align-items: flex-start; margin-top: var(--s-4); color: var(--on-night-2); font-size: .9375rem; }
.brands__hint a { color: #fff; }
.brands__hint .icon { color: var(--indigo-bright); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s-6); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: .9375rem; font-weight: 500; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.chip__n { font-family: var(--font-mono); font-size: .75rem; color: var(--ink-4); }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-active .chip__n { color: rgba(255,255,255,.7); }
.section--night .chip { border-color: var(--night-line); color: #fff; }
.section--night .chip__n { color: var(--on-night-2); }
.section--night .chip:hover { border-color: rgba(255,255,255,.6); }
.section--night .chip.is-active { background: #fff; color: var(--ink); border-color: #fff; }
.section--night .chip.is-active .chip__n { color: var(--ink-3); }

.brandwall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brandwall--white { border-color: var(--night-line); }
.brand { position: relative; display: grid; grid-template-rows: 1fr auto; min-height: 148px; padding: 18px 16px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background var(--t-base), opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out); }
.brandwall--white .brand { border-color: var(--night-line); }
.brand__mark { display: grid; place-items: center; min-height: 70px; }
.brand__logo { width: var(--lw); height: var(--lh); max-width: 100%; object-fit: contain; opacity: .86; transition: opacity var(--t-base), transform var(--t-base) var(--ease-out); }
.brand picture { display: contents; }
.brand__word { font-size: clamp(1.125rem, 1rem + .5vw, 1.5rem); font-weight: 680; font-stretch: 86%; letter-spacing: -.02em; opacity: .9; text-align: center; line-height: 1.1; }
.brand__meta { display: grid; gap: 2px; padding-top: 10px; }
.brand__name { font-size: .8125rem; font-weight: 600; }
.brand__cat { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .04em; color: var(--ink-3); line-height: 1.35; }
.brandwall--white .brand__cat { color: var(--on-night-2); }
.brand:hover { background: rgba(99, 91, 255, .06); }
.brandwall--white .brand:hover { background: rgba(255,255,255,.04); }
.brand:hover .brand__logo { opacity: 1; transform: scale(1.04); }
.brand.is-dim { opacity: .14; }
.brand.is-hidden { display: none; }
@media (max-width: 639.98px) { .brand { min-height: 118px; padding: 14px 10px 10px; } .brand__cat { display: none; } .brand__mark { min-height: 56px; } .brand__logo { max-height: 40px; width: auto; max-width: 92%; } .brand__word { font-size: 1rem; } .brand__name { font-size: .75rem; } }
@media (min-width: 640px) { .brandwall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .brandwall { grid-template-columns: repeat(4, 1fr); } .brand { min-height: 168px; padding: 22px 20px 16px; } }
@media (min-width: 1200px) { .brandwall { grid-template-columns: repeat(6, 1fr); } }

/* ---------- 16. Geschichte ---------- */
.story__grid { display: grid; gap: var(--s-7); align-items: end; }
.story__intro .lead { margin: var(--s-5) 0 var(--s-6); }
.story__portrait { position: relative; max-width: 420px; }
.story__portrait img { aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.06); transition: filter var(--t-slow) var(--ease-out); }
.story__portrait:hover img { filter: none; }
.story__portrait figcaption { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--ink); margin-top: 14px; }
.story__name { font-weight: 650; }
.story__role { color: var(--ink-3); font-size: .9375rem; }
@media (min-width: 1024px) {
  .story__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 8vw, 160px); }
  .story__portrait { justify-self: end; width: 100%; }
}
.timeline { list-style: none; margin: clamp(48px, 6vw, 96px) 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--ink); counter-reset: tl; }
.tl { position: relative; display: grid; align-content: start; gap: 6px; padding: 20px 0 24px; border-bottom: 1px solid var(--line); }
.tl__year { font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); font-weight: 680; font-stretch: 72%; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.tl__title { font-weight: 650; margin-top: 8px; }
.tl__text { color: var(--ink-3); font-size: .9375rem; max-width: 32em; }
@media (min-width: 768px) {
  .timeline--compact { grid-template-columns: repeat(2, 1fr); }
  .timeline--compact .tl:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--line); }
  .timeline--compact .tl:nth-child(even) { padding-left: 24px; }
}
@media (min-width: 1024px) {
  .timeline--compact { grid-template-columns: repeat(4, 1fr); }
  .timeline--compact .tl { padding: 24px 24px 8px; border-right: 1px solid var(--line); border-bottom: 0; }
  .timeline--compact .tl:first-child { padding-left: 0; }
  .timeline--compact .tl:last-child { border-right: 0; }
  .timeline--compact .tl:nth-child(even) { padding-left: 24px; }
  .tl::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--indigo); }
  .timeline--compact .tl:not(:first-child)::before { left: 24px; }
}

/* Vollständige Zeitleiste (Über uns) */
.timeline--full { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .timeline--full .tl { grid-template-columns: minmax(180px, 3fr) minmax(0, 9fr); align-items: baseline; column-gap: 32px; padding: 28px 0; }
  .timeline--full .tl__year { grid-row: 1 / span 2; }
  .timeline--full .tl__title { margin-top: 0; font-size: 1.25rem; }
  .timeline--full .tl::before { display: none; }
}

/* ---------- 17. Besuch / Standort ---------- */
.visit { padding-block: var(--section); background: var(--paper-2); }
.visit__grid { display: grid; gap: var(--s-7); }
.visit__media { position: relative; align-self: start; }
.visit__img img { aspect-ratio: 4 / 3; object-fit: cover; }
.visit__tag { position: absolute; left: 16px; bottom: 16px; background: var(--paper); padding: 10px 14px; color: var(--ink); font-weight: 500; font-size: .875rem; border-radius: var(--r-sm); box-shadow: var(--shadow-1); white-space: normal; }
.visit__body .lead { margin-top: var(--s-4); }
.visit__cols { display: grid; gap: var(--s-6); margin-top: var(--s-7); padding-top: var(--s-6); border-top: 1px solid var(--ink); }
.visit__address { line-height: 1.6; margin-bottom: var(--s-4); }
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.contact-lines a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; text-decoration: none; font-weight: 500; }
.contact-lines a:hover { color: var(--indigo-strong); }
.contact-lines .icon { color: var(--indigo-strong); }
@media (min-width: 640px) { .visit__cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .visit__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
  .visit__img img { aspect-ratio: 4 / 4.2; }
}

.hours { display: grid; gap: 0; margin: 0; font-variant-numeric: tabular-nums; }
.hours__row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours__row dt { display: flex; align-items: center; gap: 8px; }
.hours__row dd { font-weight: 600; white-space: nowrap; }
.hours__row.is-closed dd { color: var(--ink-3); font-weight: 400; }
.hours__today { display: none; font-family: var(--font-mono); font-size: .625rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; background: var(--indigo); color: #fff; border-radius: var(--r-xs); }
.hours__row.is-today .hours__today { display: inline-block; }
.hours__row.is-today dt { font-weight: 600; }

/* ---------- 18. CTA-Band ---------- */
.cta-band { background: var(--indigo-strong); color: #fff; padding-block: clamp(64px, 7vw, 128px); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; z-index: -1; right: -6vw; top: 50%; width: min(52vw, 640px); aspect-ratio: 1; transform: translateY(-50%); background: url("../img/mark-outline.svg") center / contain no-repeat; opacity: .16; }
.cta-band__inner { display: grid; gap: var(--s-7); }
.cta-band .h2 { max-width: 16ch; }
.cta-band .lead { color: rgba(255,255,255,.92); margin-top: var(--s-4); }
.cta-band__actions { display: grid; border-top: 1px solid rgba(255,255,255,.4); }
.cta-line { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 16px; min-height: 76px; border-bottom: 1px solid rgba(255,255,255,.4); text-decoration: none; transition: padding var(--t-base) var(--ease-out); }
.cta-line__k { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.9); }
.cta-line__v { font-size: clamp(1.125rem, 1rem + .7vw, 1.625rem); font-weight: 600; letter-spacing: -.015em; overflow-wrap: anywhere; }
.cta-line__i { transition: transform var(--t-base) var(--ease-out); }
.cta-line:hover { padding-left: 8px; }
.cta-line:hover .cta-line__i { transform: translate(3px, -3px); }
.cta-band :focus-visible { outline-color: #fff; }
@media (max-width: 479.98px) { .cta-line { grid-template-columns: 1fr auto; } .cta-line__k { grid-column: 1 / -1; padding-top: 14px; } .cta-line__v { padding-bottom: 14px; } }
@media (min-width: 1024px) { .cta-band__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(40px, 6vw, 112px); } }

/* ---------- 19. Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--night); color: var(--on-night-2); padding-top: clamp(64px, 7vw, 112px); font-size: .9375rem; }
.footer-top { display: grid; gap: var(--s-7); padding-bottom: var(--s-8); }
.logo--footer { width: 104px; }
.footer-claim { margin-top: var(--s-5); color: #fff; font-size: 1.125rem; line-height: 1.45; font-weight: 500; }
.footer-social { display: flex; gap: 8px; margin-top: var(--s-5); }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--night-line); border-radius: 50%; color: #fff; transition: background var(--t-fast), border-color var(--t-fast); }
.footer-social a:hover { background: var(--indigo); border-color: var(--indigo); }
.footer-social .icon { width: 19px; height: 19px; }
.footer-h { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: var(--s-4); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; text-decoration: none; color: var(--on-night-2); transition: color var(--t-fast); }
.footer-links a:hover { color: #fff; }
.footer-links--icons .icon { color: var(--indigo-bright); }
.footer-address { color: var(--on-night-2); line-height: 1.6; margin-bottom: var(--s-3); }
.hours--footer .hours__row { border-color: var(--night-line); padding: 7px 0; }
.hours--footer dd { color: #fff; }
.hours--footer .hours__row.is-closed dd { color: var(--on-night-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px 0 28px; border-top: 1px solid var(--night-line); font-size: .875rem; }
.footer-bottom a { color: var(--on-night-2); }
.footer-bottom a:hover { color: #fff; }
.footer-mark { position: absolute; right: -2vw; bottom: -6vw; font-size: clamp(8rem, 26vw, 26rem); font-weight: 800; font-stretch: 70%; letter-spacing: -.06em; line-height: 1; color: rgba(255,255,255,.028); pointer-events: none; user-select: none; }
@media (max-width: 767.98px) { .footer-top { grid-template-columns: 1fr 1fr; column-gap: var(--s-5); } .footer-brand, .footer-col:nth-child(4), .footer-col:nth-child(5) { grid-column: 1 / -1; } }
@media (min-width: 768px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-top { grid-template-columns: 1.4fr .8fr .9fr 1.2fr 1.3fr; gap: var(--s-6); } }

/* ---------- 20. Unterseiten-Hero ---------- */
.subhero { padding-top: clamp(20px, 2.4vw, 40px); position: relative; }
.crumbs ol { list-style: none; margin: 0 0 clamp(32px, 4vw, 64px); padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .875rem; color: var(--ink-3); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 12px; height: 1px; background: currentColor; }
.crumbs a { text-decoration: none; color: var(--ink-3); padding: 6px 0; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.crumbs span { color: var(--ink-3); }
.subhero__grid { display: grid; gap: var(--s-6); padding-bottom: clamp(40px, 5vw, 88px); }
.subhero__title { max-width: 15ch; }
.subhero__title em { font-style: normal; color: var(--indigo); }
.subhero__aside { display: grid; gap: var(--s-5); align-content: end; }
.subhero__aside .btn-row { margin-top: 0; }
.subhero__facts { display: grid; margin: var(--s-3) 0 0; border-top: 1px solid var(--ink); }
.subhero__facts div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.subhero__facts dt { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.subhero__facts dd { font-weight: 500; }
.subhero__media { position: relative; width: min(100% - 2 * var(--gutter), var(--maxw-wide)); margin-inline: auto; }
.subhero__img img { aspect-ratio: 16 / 10; object-fit: cover; }
.subhero__media--pano .subhero__img img { aspect-ratio: 2574 / 800; min-height: 260px; }
@media (min-width: 768px) { .subhero__img img { aspect-ratio: 21 / 9; } }
@media (min-width: 1024px) {
  .subhero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: clamp(40px, 6vw, 112px); }
  .subhero__lead { margin-top: 0; }
}

/* ---------- 21. Inhaltsmodule ---------- */
.principles { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--ink); }
.principle { display: grid; align-content: start; gap: 10px; padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
.principle__n { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--indigo-strong); letter-spacing: .08em; }
.principle__t { font-size: clamp(1.375rem, 1.15rem + .8vw, 1.875rem); font-weight: 640; font-stretch: 86%; letter-spacing: -.02em; line-height: 1.1; }
.principle__d { color: var(--ink-3); max-width: 30em; }
@media (min-width: 900px) {
  .principles { grid-template-columns: repeat(3, 1fr); }
  .principle { padding: 32px 32px 8px; border-right: 1px solid var(--line); border-bottom: 0; }
  .principle:first-child { padding-left: 0; }
  .principle:last-child { border-right: 0; }
}

.split { display: grid; gap: var(--s-7); }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 140px); align-items: start; }
  .split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split__sticky { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* Prozess */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; padding: 0 0 36px; }
.step::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 1px; background: var(--line); }
.step:last-child::before { display: none; }
.step__n { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--font-mono); font-size: .875rem; font-weight: 500; background: var(--bg); position: relative; z-index: 1; transition: background var(--t-base), color var(--t-base), border-color var(--t-base); }
.step:hover .step__n { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.step__t { font-size: 1.375rem; font-weight: 640; letter-spacing: -.015em; padding-top: 12px; }
.step__d { grid-column: 2; color: var(--ink-3); margin-top: 6px; max-width: 34em; }

/* Kompetenz-Kacheln (bewusst unterschiedliche Grössen) */
.capgrid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cap { background: var(--white); padding: clamp(24px, 2.6vw, 40px); display: grid; gap: 12px; align-content: start; min-height: 220px; }
.cap__icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--indigo-mist); color: var(--indigo-strong); border-radius: var(--r-sm); }
.cap__t { font-size: 1.25rem; font-weight: 640; letter-spacing: -.012em; line-height: 1.2; }
.cap__d { color: var(--ink-3); }
.cap--feature { background: var(--ink); color: #fff; }
.cap--feature .cap__icon { background: rgba(255,255,255,.08); color: var(--indigo-bright); }
.cap--feature .cap__d { color: var(--on-night-2); }
.cap--feature .cap__big { font-size: clamp(3rem, 2rem + 4vw, 5.5rem); font-weight: 700; font-stretch: 70%; letter-spacing: -.04em; line-height: .9; color: #fff; }
@media (min-width: 768px) { .capgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .capgrid { grid-template-columns: repeat(3, 1fr); }
  .cap--feature { grid-row: span 2; align-content: space-between; }
}

/* Leistungsartikel (Privatkunden, ausführlich) */
.svc-article { display: grid; gap: var(--s-6); padding-block: clamp(48px, 6vw, 96px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.svc-article:first-of-type { border-top: 1px solid var(--ink); }
.svc-article__media { position: relative; overflow: hidden; }
.svc-article__media img { aspect-ratio: 3 / 2; object-fit: cover; }
.svc-article__head { display: flex; align-items: center; gap: 14px; margin-bottom: var(--s-5); }
.svc-article__icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; flex: none; }
.svc-article__n { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .1em; color: var(--indigo-strong); }
.svc-article .ticks { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--line); }
@media (min-width: 1024px) {
  .svc-article { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
  .svc-article:nth-of-type(even) .svc-article__media { order: 2; }
  .svc-article__media { position: sticky; top: calc(var(--header-h) + 32px); }
  .svc-article__media img { aspect-ratio: 4 / 5; }
}

/* Index-Navigation (Sprungmarken) */
.jumpnav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); }
.jumpnav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.jumpnav__list::-webkit-scrollbar { display: none; }
.jumpnav a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 14px; white-space: nowrap; text-decoration: none; font-size: .9375rem; font-weight: 500; color: var(--ink-3); border-bottom: 2px solid transparent; scroll-snap-align: start; }
.jumpnav a:hover { color: var(--ink); }
.jumpnav a.is-current { color: var(--ink); border-bottom-color: var(--indigo); }

/* Team */
.team { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); }
.member { display: grid; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.member__photo { background: var(--paper-2); aspect-ratio: 4 / 4.2; overflow: hidden; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.member__mono { width: 100%; height: 100%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); font-weight: 700; font-stretch: 70%; letter-spacing: -.04em; position: relative; }
.member__mono::after { content: ""; position: absolute; inset: 18px; border: 1px solid var(--night-line); }
.member__body { padding: 22px 22px 24px; display: grid; gap: 4px; }
.member__name { font-size: 1.375rem; font-weight: 650; letter-spacing: -.015em; }
.member__role { color: var(--indigo-strong); font-weight: 500; }
.member__focus { color: var(--ink-3); font-size: .9375rem; margin-top: 6px; }
.member__links { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.member__links a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.member__links a:hover { color: var(--indigo-strong); }
.member__links .icon { color: var(--indigo-strong); }
@media (min-width: 768px) { .team { grid-template-columns: repeat(3, 1fr); } }

/* Galerie + Lightbox */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery li:first-child { grid-column: 1 / -1; }
.gallery__btn { position: relative; display: block; width: 100%; overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.gallery__btn img { aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1s var(--ease-out); }
.gallery__btn:hover img { transform: scale(1.04); }
.gallery__zoom { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--paper); color: var(--ink); border-radius: 50%; opacity: 0; transform: scale(.9); transition: all var(--t-base) var(--ease-out); }
.gallery__btn:hover .gallery__zoom, .gallery__btn:focus-visible .gallery__zoom { opacity: 1; transform: none; }
@media (hover: none) { .gallery__zoom { opacity: 1; transform: none; } }
@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(0, auto); }
  .gallery li:nth-child(1) { grid-column: span 4; grid-row: span 2; }
  .gallery li:nth-child(2), .gallery li:nth-child(3) { grid-column: span 2; }
  .gallery li:nth-child(4), .gallery li:nth-child(5) { grid-column: span 3; }
  .gallery li:nth-child(1) .gallery__btn, .gallery li:nth-child(1) picture, .gallery li:nth-child(1) img { height: 100%; }
  .gallery li:nth-child(1) img { aspect-ratio: auto; }
}
.lightbox { width: min(100vw - 24px, 1400px); max-height: calc(100dvh - 24px); padding: 0; border: 0; background: transparent; color: #fff; overflow: visible; }
.lightbox::backdrop { background: rgba(6, 10, 24, .92); }
.lightbox__fig { margin: 0; display: grid; gap: 12px; }
.lightbox__fig img { max-height: calc(100dvh - 140px); width: auto; max-width: 100%; margin-inline: auto; object-fit: contain; }
.lightbox__cap { text-align: center; font-size: .9375rem; color: var(--on-night-2); }
.lightbox__bar { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.lightbox__btn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; transition: background var(--t-fast); }
.lightbox__btn:hover { background: rgba(255,255,255,.12); }
.lightbox :focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: no-preference) { .lightbox[open] { animation: lbIn .32s var(--ease-out); } }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

/* Hinweis-Box (Freigabe) */
.notice { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 20px; background: var(--warn-bg); color: var(--warn-ink); border-left: 3px solid #D99A00; font-size: .9375rem; line-height: 1.5; }
.notice strong { display: block; margin-bottom: 4px; }

/* Rechtstexte */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.5rem; font-weight: 650; letter-spacing: -.015em; margin: 2.4em 0 .6em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.legal p { color: var(--ink-2); }
.legal p + p { margin-top: 1em; }

/* Softwareliste (Branchen) */
.swlist { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.swlist li { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: .9375rem; font-weight: 500; background: var(--white); }

/* Zitat / Aussage */
.statement { font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.75rem); font-weight: 560; letter-spacing: -.022em; line-height: 1.18; font-stretch: 92%; max-width: 26ch; text-wrap: balance; }
.statement em { font-style: normal; color: var(--indigo-strong); }
.section--night .statement em { color: var(--indigo-bright); }

/* ---------- 22. Formular ---------- */
.form { display: grid; gap: var(--s-5); }
.form__row { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field__label { font-weight: 600; font-size: .9375rem; }
.field__label .req { color: var(--indigo-strong); margin-left: 2px; }
.field__label .opt { color: var(--ink-3); font-weight: 400; font-size: .875rem; margin-left: 6px; }
.field__input { width: 100%; min-height: 54px; padding: 14px 16px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1px solid #B9BBC6; border-radius: var(--r-sm); transition: border-color var(--t-fast), box-shadow var(--t-fast); appearance: none; }
.field__input:hover { border-color: var(--ink-3); }
.field__input:focus { outline: none; border-color: var(--indigo-strong); box-shadow: 0 0 0 3px rgba(99, 91, 255, .22); }
textarea.field__input { min-height: 180px; resize: vertical; line-height: 1.55; }
select.field__input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A122A' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field__help { font-size: .875rem; color: var(--ink-3); }
.field__error { display: none; align-items: center; gap: 6px; font-size: .875rem; color: var(--closed); font-weight: 500; }
.field.is-invalid .field__input { border-color: var(--closed); box-shadow: 0 0 0 3px rgba(179, 38, 30, .12); }
.field.is-invalid .field__error { display: flex; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: .9375rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--indigo-strong); cursor: pointer; }
.check a { color: var(--indigo-strong); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 18px 20px; border-radius: var(--r-sm); font-weight: 500; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.form-status--ok { background: #E6F4EC; color: #0E5A34; border-left: 3px solid var(--ok); }
.form-status--err { background: #FBE9E7; color: #8A1C14; border-left: 3px solid var(--closed); }
.form-status--dev { background: var(--warn-bg); color: var(--warn-ink); border-left: 3px solid #D99A00; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .75; }

/* Kontaktseite */
.contact-grid { display: grid; gap: var(--s-8); }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(24px, 3vw, 48px); }
.contact-aside { display: grid; gap: var(--s-6); align-content: start; }
.contact-aside__block { padding-top: var(--s-5); border-top: 1px solid var(--ink); }
.bigline { display: block; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); font-weight: 640; letter-spacing: -.02em; text-decoration: none; line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bigline:hover { color: var(--indigo-strong); }
.direct { list-style: none; margin: 0; padding: 0; display: grid; }
.direct li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.direct__role { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.direct a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.direct a:hover { color: var(--indigo-strong); text-decoration: underline; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 112px); align-items: start; } }

/* Fernwartung */
.remote { display: grid; gap: var(--s-5); padding: clamp(24px, 3vw, 40px); background: var(--ink); color: #fff; border-radius: var(--r-md); }
.remote p { color: var(--on-night-2); }
.remote .h3 { color: #fff; }

/* 404 */
.notfound { min-height: 70vh; display: grid; align-content: center; padding-block: var(--section); }
.notfound__code { font-size: clamp(7rem, 4rem + 18vw, 18rem); font-weight: 760; font-stretch: 64%; letter-spacing: -.06em; line-height: .8; color: var(--indigo); }

/* ---------- 23. Bewegung ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .bands .band.reveal:nth-child(2) { transition-delay: 60ms; }
  .js .bands .band.reveal:nth-child(3) { transition-delay: 120ms; }

  .hero__word > span { transform: translateY(105%); animation: wordUp 1s var(--ease-out) forwards; }
  .hero__word:nth-child(2) > span { animation-delay: 90ms; }
  .hero__word:nth-child(3) > span { animation-delay: 180ms; }
  .hero__word:nth-child(4) > span { animation-delay: 270ms; }
  .hero__kicker, .hero__eyebrow { animation: fadeUp .8s var(--ease-out) both; }
  .hero__lead { animation: fadeUp .9s .35s var(--ease-out) both; }
  .doors { animation: fadeUp .9s .45s var(--ease-out) both; }
  .hero__photo { animation: photoIn 1.3s .1s var(--ease-out) both; }
  .hero__device { animation: deviceIn 1.4s .45s var(--ease-out) both; }
  .hero__mark { animation: markIn 1.2s .6s var(--ease-out) both; }
  .hero__plate { animation: fadeUp .8s .8s var(--ease-out) both; }
  .factrail .fact { animation: fadeUp .8s var(--ease-out) both; animation-delay: calc(.7s + var(--i, 0) * 70ms); }
}
@keyframes wordUp { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes photoIn { from { clip-path: inset(8% 0 0 12%); opacity: 0; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes deviceIn { from { opacity: 0; transform: translate(6%, 8%); } to { opacity: 1; transform: none; } }
@keyframes markIn { from { opacity: 0; transform: rotate(-90deg) scale(.6); } to { opacity: .95; transform: none; } }

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

/* ---------- 24. Druck ---------- */
@media print {
  .site-header, .devbar, .site-footer .footer-mark, .cta-band, .menu-btn, .jumpnav { display: none !important; }
  body { background: #fff; }
  .section--night { background: #fff; color: #000; }
}
@media (max-width: 767.98px) { .devbar__more { display: none; } }

/* ---------- 25. Ergänzende Module ---------- */
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-5 { margin-top: 24px; } .mt-6 { margin-top: 32px; } .mt-7 { margin-top: 48px; }
.section--flush-top { padding-top: 0; }
.req { color: var(--indigo-strong); margin-left: 2px; }

.note-line { padding: 20px 0 0; border-top: 1px solid var(--ink); }
.note-line p { margin-top: 4px; color: var(--ink-2); }

.duo { display: grid; gap: var(--s-5); }
.duo__item img { aspect-ratio: 4 / 3; object-fit: cover; }
.duo__item figcaption { padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--ink); color: var(--ink-3); font-size: .9375rem; }
@media (min-width: 900px) { .duo { grid-template-columns: 7fr 5fr; align-items: end; } .duo__item:nth-child(2) img { aspect-ratio: 4 / 5; } }

.process--night .step::before { background: var(--night-line); }
.process--night .step__n { border-color: rgba(255,255,255,.5); background: var(--night); color: #fff; }
.process--night .step__d { color: var(--on-night-2); }
.process--night .step__d a, .section--night .step__d a { color: #fff; }

.subhero--contact .subhero__grid { padding-bottom: clamp(40px, 4vw, 72px); }
.contact-quick { display: grid; gap: 6px; align-self: end; padding-top: 18px; border-top: 1px solid var(--ink); }
.bigline--sm { padding-block: 4px; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); color: var(--ink-2); }
.cap__icon--night { background: rgba(255,255,255,.08); color: var(--indigo-bright); }
.remote .btn { align-self: start; }
.contact-photo { padding-bottom: var(--section); }
.contact-photo__img img { aspect-ratio: 21 / 8; object-fit: cover; }
@media (max-width: 767.98px) { .contact-photo__img img { aspect-ratio: 4 / 3; } }

.subhero__grid--legal { grid-template-columns: 1fr !important; }
.legal-notice { margin-bottom: var(--s-7); max-width: 46rem; }
.legal-notice .icon { color: #9A6B00; }
.legal h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }

.subhero--branch .subhero__title { max-width: 18ch; }
.services-long .section-head { margin-bottom: clamp(24px, 3vw, 48px); }
.page-about .story__portrait { max-width: 340px; }
.page-about .story__portrait img { aspect-ratio: 1; }
.subhero__text .subhero__lead { margin-top: 24px; }
/* Fixiertes Mobile-Menü: backdrop-filter würde einen Containing Block erzeugen */
body.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); border-bottom-color: var(--line); }
.member__photo picture { display: block; height: 100%; }
@media (max-width: 1023.98px) { .page-about #geschichte .story__portrait { display: none; } }
/* Grosse Bildschirme: Container und Basisschrift moderat mitskalieren */
@media (min-width: 1880px) { :root { --maxw: 1520px; --maxw-wide: 1820px; } }
@media (min-width: 2300px) { html { font-size: 118.75%; } :root { --maxw: 1760px; --maxw-wide: 2100px; --header-h: 96px; } .logo { width: 108px; } }

/* Fernwartung im Header – auf allen Seiten sichtbar */
.hdr-remote { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: var(--r-sm); background: var(--indigo); color: #fff; font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap; transition: background var(--t-base) var(--ease-out), transform var(--t-fast) var(--ease-out); touch-action: manipulation; }
.hdr-remote .icon { width: 20px; height: 20px; }
.hdr-remote:hover, .hdr-remote:focus-visible { background: var(--ink); }
.hdr-remote:active { transform: scale(.97); }
.hdr-remote__label { display: none; }
.hdr-remote__label { display: inline; }
@media (min-width: 420px) { .hdr-remote { padding: 0 14px 0 12px; } }
@media (max-width: 419.98px) {
  .site-header__actions { gap: 8px; }
  .hdr-remote { padding: 0 11px 0 10px; gap: 6px; font-size: .875rem; }
  .menu-btn { padding: 0 3px; border-color: transparent; }
  .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .logo { width: 76px; }
}
@media (min-width: 1100px) and (max-width: 1279.98px) { .site-header__actions .hdr-status { display: none; } }

/* ---------- 26. Moderne Formensprache: abgerundete Bilder & Flächen ---------- */
.crop { display: none !important; }
.hero__photo { flex-direction: column; }
.hero__img img, .aud__link, .explorer__media, .visit__img img, .subhero__img img, .svc-article__media,
.gallery__btn, .duo__item img, .story__portrait img, .contact-photo__img img, .member, .contact-card, .remote,
.capgrid, .lightbox__fig img { border-radius: var(--r-lg); }
.hero__img img, .visit__img img, .subhero__img img, .duo__item img, .story__portrait img, .contact-photo__img img { overflow: hidden; }
.explorer__media, .svc-article__media, .gallery__btn, .capgrid { overflow: hidden; }
.band__link { border-radius: var(--r-lg); }
.bands { gap: 12px; }
.member, .contact-card { border-color: var(--line); }
.aud__media { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.brandwall { border-radius: var(--r-md); overflow: hidden; }
.gallery { gap: 12px; }
.hero__plate { position: static; right: auto; margin-top: 14px; background: transparent; border-top: 0; }
.plate__row { padding-left: 4px; }
.visit__tag { border-radius: var(--r-pill); padding: 9px 16px; background: #fff; }
.subhero__media { margin-top: 0; }
.section--tint .cap, .capgrid .cap { background: var(--white); }
.chip { border-color: var(--line); }
.door { border-radius: var(--r-md); }
.aud__link { border-radius: var(--r-lg); }
@media (min-width: 1024px) {
  .hero__img img { border-radius: var(--r-lg); }
  .hero__mark { top: -10px; left: -26px; }
}
