/* ═══════════════════════════════════════════════════════════════
   JASHARI GMBH — SMART LOGISTICS
   Design-System & Layout · Vanilla CSS
   Farben & Typografie gemäß Jashari Brand Guidelines 2026
   ═══════════════════════════════════════════════════════════════ */

/* ── 01 · FONTS (lokal gehostet, DSGVO-konform) ─────────────── */

@font-face {
  font-family: "Michroma";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/michroma-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Michroma";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/michroma-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-100-900-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-100-900-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plexmono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plexmono-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── 02 · DESIGN TOKENS ─────────────────────────────────────── */

:root {
  /* Farben · Brand Guidelines 2026 */
  --red:        #E51F42;   /* Primary */
  --red-vivid:  #F23E5F;   /* Aufgehelltes Rot für kleine kräftige Labels (AA) */
  --red-soft:   #EF798E;   /* Additional 1 — kleine rote Texte auf dunklem Grund */
  --red-dim:    rgba(229, 31, 66, 0.12);
  --navy:       #141F2A;   /* Secondary — erhöhte Flächen */
  --bg:         #0D1319;   /* Seitengrund */
  --bg-deep:    #090E13;   /* Footer, abgesenkte Flächen */
  --line:       #232F3C;   /* Hairlines, Rahmen */
  --line-soft:  #1A2530;
  --text:       #F4F6F8;   /* Primärtext */
  --text-mut:   #9DA9B5;   /* Fließtext */
  --text-dim:   #5E6B78;   /* Meta, deaktiviert */
  --ok:         #3ECF8E;   /* Erfolgszustand */

  /* Typografie · Michroma läuft sehr breit — Größen entsprechend kalibriert */
  --font-display: "Michroma", "Arial Black", Arial, sans-serif;
  --font-body:    "Inter", "Segoe UI", Arial, sans-serif;
  --font-mono:    "IBM Plex Mono", "Consolas", monospace;

  --fs-display: clamp(1.9rem, 0.9rem + 4.2vw, 4rem);
  --fs-h1:      clamp(1.25rem, 0.46rem + 3.7vw, 3.2rem);
  --fs-h2:      clamp(1.4rem, 0.95rem + 1.7vw, 2.3rem);
  --fs-h3:      clamp(1.1rem, 1rem + 0.45vw, 1.3rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.9375rem;
  --fs-mono:    0.72rem;

  /* Layout */
  --container:  1240px;
  --gutter:     clamp(20px, 4vw, 44px);
  --sect:       clamp(84px, 6vw + 40px, 136px);
  --sect-sm:    clamp(56px, 4vw + 28px, 88px);
  --nav-h:      76px;

  /* Bewegung */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.22s;
  --t-med: 0.5s;
}

/* ── 03 · RESET & BASIS ─────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--line) var(--bg-deep);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-mut);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Feines Filmkorn gegen digitale Flachheit — statisch, nicht interaktiv */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1500;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.032;
}

p { text-wrap: pretty; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
address { font-style: normal; }
strong { color: var(--text); font-weight: 600; }

::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red-soft);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* ── 04 · TYPOGRAFIE-KLASSEN ────────────────────────────────── */

h1, h2, .h-display {
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
  color: var(--text);
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}

.h-display, h1 {
  font-size: var(--fs-h1);
  line-height: 1.16;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h1 em, h2 em, .h-display em {
  font-style: normal;
  color: var(--red);
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1.22;
  letter-spacing: 0.005em;
}

h3 {
  font-family: var(--font-body);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  text-wrap: balance;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.overline {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red-vivid);
  margin-bottom: 22px;
}

.lead {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.65;
  font-weight: 350;
  max-width: 40em;
}

/* ── 05 · LAYOUT-PRIMITIVE ──────────────────────────────────── */

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sect); position: relative; }
.section--tight { padding-block: var(--sect-sm); }

/* Technische Hairline mit Kreuz-Markern an den Ecken */
.rule {
  position: relative;
  border-top: 1px solid var(--line);
}
.rule::before, .rule::after {
  content: "+";
  position: absolute;
  top: -0.72em;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  background: var(--bg);
  padding-inline: 2px;
}
.rule::before { left: -4px; }
.rule::after { right: -4px; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head .mono-label { padding-bottom: 8px; text-align: right; }
.section-head h2 { max-width: 15em; }
.section-head p { max-width: 34em; margin-top: 18px; }

@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .mono-label { display: none; }
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top var(--t-fast);
}
.skip-link:focus-visible { top: 12px; }

/* ── 06 · BUTTONS ───────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 30px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  border: 1px solid transparent;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.btn .btn-arrow { transition: transform var(--t-fast) var(--ease); flex: none; }
.btn:hover .btn-arrow, .btn:focus-visible .btn-arrow { transform: translateX(5px); }

.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover, .btn--primary:focus-visible { background: #C81A38; }
.btn--primary:active { transform: translateY(1px); }

.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--red); color: var(--red-soft); }
.btn--ghost:active { transform: translateY(1px); }

.btn--line {
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 500;
  gap: 8px;
}
.btn--line:hover, .btn--line:focus-visible { border-color: var(--red); color: var(--red-soft); }
.btn--line:active { transform: translateY(1px); }

/* ── 07 · NAVIGATION ────────────────────────────────────────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.nav.is-scrolled,
.nav.is-open {
  background: rgba(9, 14, 19, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}

.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo { flex: none; display: block; }
.nav-logo img { height: 30px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-mut);
  transition: color var(--t-fast);
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--red);
}

.nav-cta { flex: none; padding: 13px 22px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px var(--gutter) 28px;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--t-fast) var(--ease), opacity var(--t-fast), visibility 0s linear var(--t-fast);
  }
  .nav.is-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }
  .nav-links a {
    padding: 15px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-links a[aria-current="page"]::after { left: 4px; right: auto; width: 28px; bottom: 10px; }
  .nav-links .nav-cta-mobile {
    margin-top: 18px;
    border: 0;
    background: var(--red);
    color: #fff;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.95rem;
    padding: 16px;
  }
}

/* ── 08 · HERO (Startseite) ─────────────────────────────────── */

.hero {
  min-height: clamp(600px, 88svh, 920px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-h) + clamp(56px, 9vh, 120px));
  padding-bottom: clamp(64px, 9vh, 110px);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 8%, rgba(13, 19, 25, 0.72) 42%, rgba(13, 19, 25, 0.2) 68%),
    linear-gradient(90deg, var(--bg) 0%, rgba(13, 19, 25, 0.75) 32%, transparent 62%);
}
/* Technisches Zeichnungsraster — läuft zum Rand hin aus, liegt über dem Bild */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 28% 18%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse 85% 65% at 28% 18%, #000, transparent 72%);
}
.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-bottom: clamp(28px, 4vh, 48px);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  flex: none;
}

.hero h1 {
  font-size: var(--fs-display);
  max-width: 11em;
}

.hero-sub {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px var(--gutter);
  align-items: end;
  margin-top: clamp(28px, 4vh, 52px);
}
.hero-sub .lead { max-width: 32em; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}
.hero-caption {
  margin-top: clamp(20px, 3vw, 32px);
}

.hero-panorama {
  margin-top: clamp(48px, 7vh, 88px);
  position: relative;
}
.hero-panorama img {
  width: 100%;
  height: clamp(240px, 38vh, 420px);
  object-fit: cover;
  filter: saturate(0.85);
}
.hero-panorama figcaption {
  position: absolute;
  left: var(--gutter);
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(9, 14, 19, 0.82);
  color: var(--text-mut);
}

@media (max-width: 760px) {
  .hero-sub { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
}

/* ── 09 · MARQUEE ───────────────────────────────────────────── */

.marquee {
  border-block: 1px solid var(--line-soft);
  padding-block: 18px;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}
.marquee-item svg { flex: none; opacity: 0.9; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* ── 10 · LEISTUNGS-MANIFEST (Startseite) ───────────────────── */

.manifest { border-top: 1px solid var(--line); }
.manifest-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1.5fr) minmax(0, 1.2fr) 48px;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  padding-inline-start: 16px;
  padding-block: clamp(26px, 3.5vw, 44px);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: box-shadow var(--t-fast);
}
.manifest-row:is(:hover, :focus-within) { box-shadow: inset 2px 0 0 var(--red); }
.manifest-row:is(:hover, :focus-within) .manifest-go { background: var(--red); border-color: var(--red); color: #fff; transform: translateX(4px); }

.manifest-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}
.manifest-row h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 0.85rem + 0.95vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  overflow-wrap: break-word;
  transition: color var(--t-fast);
}
.manifest-row h3 a::after { content: ""; position: absolute; inset: 0; }
.manifest-desc { font-size: var(--fs-small); max-width: 44em; }
.manifest-go {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--text-mut);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease);
}

@media (max-width: 820px) {
  .manifest-row {
    grid-template-columns: minmax(0, 1fr) 44px;
    grid-template-areas: "num num" "title go" "desc desc";
    row-gap: 10px;
  }
  .manifest-num { grid-area: num; }
  .manifest-row h3 { grid-area: title; align-self: center; font-size: clamp(1.2rem, 4.6vw, 1.6rem); }
  .manifest-desc { grid-area: desc; }
  .manifest-go { grid-area: go; width: 44px; height: 44px; }
}

/* ── 11 · ABOUT-SPLIT & KENNZAHLEN ──────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.85);
}
.about-media .media-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 10px 16px;
  background: var(--bg);
  color: var(--text-dim);
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.about-copy p + p { margin-top: 1.1em; }
.about-copy .btn { margin-top: 32px; }
.about-copy--solo { max-width: 42em; }
.about-copy h2 { margin-bottom: 24px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-right: 0;
}
.stat {
  padding: clamp(24px, 3vw, 40px) clamp(18px, 2.5vw, 32px);
  border-right: 1px solid var(--line);
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.6rem);
  line-height: 1.1;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-variant-numeric: tabular-nums;
}
.stat-num .suffix { color: var(--red); font-weight: 400; font-size: 0.55em; }
.stat-label { margin-top: 12px; font-size: 0.85rem; color: var(--text-dim); }

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); border-right: 1px solid var(--line); }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ── 12 · WERTE-LISTE ───────────────────────────────────────── */

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 5vw, 88px);
}
.value-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 18px;
  padding-block: clamp(26px, 3vw, 38px);
  border-bottom: 1px solid var(--line-soft);
}
.value-mark {
  padding-top: 5px;
  color: var(--red);
}
.value-item h3 { margin-bottom: 8px; }
.value-item p { font-size: var(--fs-small); }

@media (max-width: 720px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ── 13 · GALERIE-BAND ──────────────────────────────────────── */

.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 30vw, 420px);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.strip figure {
  scroll-snap-align: start;
  position: relative;
}
.strip .strip-frame { overflow: hidden; }
.strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.8);
  transition: filter var(--t-med), transform 0.8s var(--ease);
}
.strip figure:hover img { filter: saturate(1); transform: scale(1.04); }
.strip figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ── 14 · FAQ ───────────────────────────────────────────────── */

.faq-list { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  text-align: left;
  color: var(--text);
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.15rem);
  font-weight: 500;
  transition: color var(--t-fast);
}
.faq-trigger:hover { color: var(--red-soft); }
.faq-trigger .faq-icon {
  flex: none;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  transition: transform var(--t-med) var(--ease), background var(--t-fast), border-color var(--t-fast);
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--red); border-color: var(--red); color: #fff; }
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-med) var(--ease);
}
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }
.faq-panel-inner { overflow: hidden; }
.faq-panel p { padding: 0 4px 26px; max-width: 46em; }
.faq-panel a { color: var(--red-soft); text-decoration: underline; text-underline-offset: 3px; }

/* ── 14b · HILFSKLASSEN ─────────────────────────────────────── */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.panel {
  border: 1px solid var(--line);
  background: var(--navy);
  padding: clamp(28px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}
.panel::after {
  content: "";
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  height: 260px;
  background: url("../images/jashari-mark.svg") no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
}
.panel .cta-inner { position: relative; z-index: 1; }
.panel-title {
  font-family: var(--font-body);
  font-size: var(--fs-h3);
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0;
}

/* ── 15 · CTA-BAND ──────────────────────────────────────────── */

.cta-band {
  background: var(--navy);
  border-block: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 340px;
  background: url("../images/jashari-mark.svg") no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
}
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) auto;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 1;
}
.cta-inner p { margin-top: 16px; max-width: 36em; }
@media (max-width: 820px) {
  .cta-inner { grid-template-columns: 1fr; }
}

/* ── 16 · FOOTER ────────────────────────────────────────────── */

.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-small);
}

/* ── Direktkontakt-Band: der Footer als letzter Anlaufpunkt ── */

.footer-contact {
  border-bottom: 1px solid var(--line-soft);
  background: var(--navy);
}
.footer-contact-grid {
  display: grid;
  grid-template-columns: 150px repeat(3, max-content) 1fr;
  align-items: stretch;
}
.footer-contact-label {
  display: flex;
  align-items: center;
  padding-block: 26px;
  color: var(--red-vivid);
}
.footer-contact-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 26px clamp(18px, 2.4vw, 32px);
  border-left: 1px solid var(--line-soft);
  transition: background var(--t-fast);
}
.footer-contact-item:hover,
.footer-contact-item:focus-visible { background: rgba(229, 31, 66, 0.07); }
.fci-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.fci-value {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: clamp(0.98rem, 0.9rem + 0.35vw, 1.15rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.footer-contact-item:hover .fci-value { color: var(--red-soft); }
.footer-contact-item:hover .btn-arrow { transform: translateX(4px); }

/* ── Spalten ── */

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px var(--gutter);
  padding-block: var(--sect-sm) 52px;
}
.footer-brand img { height: 30px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 26em; }
.footer h2 {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.footer-col li + li { margin-top: 11px; }
.footer-col a { color: var(--text-mut); transition: color var(--t-fast); }
.footer-col a:hover, .footer-col a:focus-visible { color: var(--text); }
.footer address span { display: block; }
.footer .footer-company { color: var(--text); font-weight: 500; }
.footer-maps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  color: var(--text-mut);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.footer-maps:hover, .footer-maps:focus-visible {
  color: var(--red-soft);
  border-bottom-color: var(--red);
}

/* ── Abschlusszeile ── */

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.footer-legal a { transition: color var(--t-fast); }
.footer-legal a:hover, .footer-legal a:focus-visible { color: var(--text); }
.footer-top { display: inline-flex; align-items: center; gap: 7px; }
.footer-top svg { transition: transform var(--t-fast) var(--ease); }
.footer-top:hover svg { transform: translateY(-3px); }

@media (max-width: 1000px) {
  .footer-contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-contact-label {
    grid-column: 1 / -1;
    padding: 20px 0 0;
  }
  .footer-contact-item:first-of-type { border-left: 0; }
}
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-contact-grid { grid-template-columns: 1fr; }
  .footer-contact-item {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
    padding-inline: 0;
  }
  .footer-contact-label { padding-bottom: 14px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-location { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── 17 · UNTERSEITEN-HERO ──────────────────────────────────── */

.page-hero {
  padding-top: calc(var(--nav-h) + clamp(48px, 8vh, 104px));
  padding-bottom: clamp(40px, 6vh, 80px);
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 24% 30%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 90% at 24% 30%, #000, transparent 70%);
}
.page-hero .container { position: relative; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 26px;
}
.breadcrumb a { color: var(--text-dim); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .sep { color: var(--red); }
.breadcrumb [aria-current] { color: var(--text-mut); }
.page-hero h1 { max-width: 16em; }
.page-hero .lead { margin-top: 28px; }

/* ── 18 · SERVICE-SEITE ─────────────────────────────────────── */

.service-tabs {
  position: sticky;
  top: var(--nav-h);
  z-index: 500;
  background: rgba(13, 19, 25, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-block: 1px solid var(--line);
}
.service-tabs-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.service-tabs-inner::-webkit-scrollbar { display: none; }
.service-tab {
  flex: none;
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 2px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.service-tab:hover { color: var(--text); }
.service-tab.is-active { color: var(--text); border-bottom-color: var(--red); }

.service-block { padding-block: var(--sect-sm); }
.service-block + .service-block { border-top: 1px solid var(--line-soft); }

.service-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.service-intro.is-flipped .service-copy { order: 2; }
.service-intro.is-flipped .service-media { order: 1; }
.service-copy .service-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--red-soft);
  display: block;
  margin-bottom: 14px;
}
.service-copy h2 { margin-bottom: 22px; }
.service-copy p + p { margin-top: 1em; }
.service-media { position: relative; }
.service-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.82);
}
.service-media .media-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--bg);
  padding: 8px 14px;
  color: var(--text-dim);
}

.feature-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
}
.feature {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 4px 16px;
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--line);
}
.feature:last-child { border-right: 0; }
.feature .value-mark { grid-column: 1; grid-row: 1 / 3; padding: 4px 0 0; margin: 0; }
.feature h3 { grid-column: 2; font-size: 1.05rem; }
.feature p { grid-column: 2; font-size: var(--fs-small); }

.process {
  margin-top: clamp(32px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.process-step {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  position: relative;
}
.process-step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--red);
}
.process-step .mono-label { display: block; margin-bottom: 10px; color: var(--red-soft); }
.process-step h3 { font-size: 1rem; margin-bottom: 6px; }
.process-step p { font-size: 0.9rem; }

@media (max-width: 900px) {
  .service-intro { grid-template-columns: 1fr; }
  .service-intro.is-flipped .service-copy { order: 0; }
  .service-intro.is-flipped .service-media { order: 0; }
  .feature-cols { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
}

/* ── 19 · TEAM ──────────────────────────────────────────────── */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.team-card {
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.team-card:hover { border-color: var(--red); background: var(--navy); }
.team-monogram {
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  background: var(--red-dim);
  color: var(--red-soft);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}
.team-role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-soft);
  display: block;
  margin-bottom: 6px;
}
.team-card h3 { font-size: 1.25rem; margin-bottom: 14px; }
.team-contacts li { font-size: var(--fs-small); display: flex; gap: 10px; align-items: baseline; }
.team-contacts li + li { margin-top: 8px; }
.team-contacts .mono-label { flex: none; width: 52px; letter-spacing: 0.1em; padding-top: 0; }
.team-contacts a { color: var(--text-mut); word-break: break-all; transition: color var(--t-fast); }
.team-contacts a:hover, .team-contacts a:focus-visible { color: var(--text); }

@media (max-width: 820px) {
  .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .team-card { grid-template-columns: 1fr; }
}

/* ── 20 · TESTIMONIALS ──────────────────────────────────────── */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}
.quote {
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  padding: clamp(26px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.quote blockquote {
  font-size: var(--fs-small);
  line-height: 1.75;
  flex: 1;
}
.quote blockquote::before { content: "„"; color: var(--red); font-size: 1.6em; line-height: 0; margin-right: 2px; font-family: var(--font-display); }
.quote footer { display: flex; align-items: center; gap: 14px; }
.quote .quote-initials {
  width: 44px; height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--red-dim);
  color: var(--red-soft);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}
.quote cite { font-style: normal; }
.quote cite strong { display: block; font-size: 0.95rem; }
.quote cite span { font-size: 0.8rem; color: var(--text-dim); }

/* ── 21 · REFERENZEN / CASES ────────────────────────────────── */

.case-list { border-top: 1px solid var(--line); }
.case {
  display: grid;
  grid-template-columns: 110px minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  padding-block: clamp(32px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}
.case-meta .mono-label { display: block; }
.case-meta .case-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mut);
}
.case h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1rem, 0.9rem + 0.55vw, 1.3rem);
  line-height: 1.35;
  margin-bottom: 14px;
}
.case p { font-size: var(--fs-small); max-width: 38em; }
.case-facts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.case-fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 10px;
}
.case-fact .fact-val {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--text);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.case-fact .fact-label { font-size: 0.8rem; color: var(--text-dim); text-align: right; }

@media (max-width: 900px) {
  .case { grid-template-columns: minmax(0, 1fr); }
  .case-meta { display: flex; align-items: center; gap: 16px; }
  .case-meta .case-tag { margin-top: 0; }
}

/* ── 22 · KONTAKT ───────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-channels { margin-top: 36px; border-top: 1px solid var(--line); }
.contact-channel {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 18px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.contact-channel .mono-label { padding-top: 2px; }
.contact-channel address span { display: block; }
.contact-channel a, .contact-channel span.value { color: var(--text); font-weight: 500; }
.contact-channel a:hover, .contact-channel a:focus-visible { color: var(--red-soft); }
.contact-channel .note { display: block; font-size: 0.85rem; color: var(--text-dim); margin-top: 4px; }

.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--text); }
.field label .req { color: var(--red-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 0.98rem;
  color: var(--text);
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 0;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239DA9B5' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.field select:invalid { color: var(--text-dim); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #18232F;
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: var(--red);
}
.field-error {
  font-size: 0.82rem;
  color: var(--red-soft);
  display: none;
}
.field-error.is-visible { display: block; }
.form-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; }
.form-consent input {
  margin-top: 4px;
  width: 18px; height: 18px;
  flex: none;
  accent-color: var(--red);
}
.form-consent a { color: var(--red-soft); text-decoration: underline; text-underline-offset: 3px; }
.form-footer { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.form-status {
  display: none;
  padding: 16px 18px;
  font-size: 0.92rem;
  border: 1px solid var(--line);
}
.form-status.is-visible { display: block; }
.form-status--ok { border-color: var(--ok); color: var(--ok); }
.form-status--error { border-color: var(--red); color: var(--red-soft); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── 23 · RECHTSSEITEN ──────────────────────────────────────── */

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}
.legal-toc .mono-label { display: block; margin-bottom: 18px; }
.legal-toc li + li { margin-top: 2px; }
.legal-toc a {
  display: block;
  padding: 8px 0 8px 16px;
  font-size: 0.9rem;
  color: var(--text-dim);
  border-left: 1px solid var(--line);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.legal-toc a:hover { color: var(--text); }
.legal-toc a.is-active { color: var(--text); border-left: 2px solid var(--red); padding-left: 15px; }

.legal-block { padding-block: 30px; }
.legal-block + .legal-block { border-top: 1px solid var(--line-soft); }
.legal-block h2 {
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 18px;
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.legal-block h2 .mono-label { color: var(--red-soft); flex: none; }
.legal-block h3 { font-size: 1rem; margin: 22px 0 8px; }
.legal-block p { font-size: var(--fs-small); max-width: 52em; }
.legal-block p + p { margin-top: 0.9em; }
.legal-block a { color: var(--red-soft); text-decoration: underline; text-underline-offset: 3px; }
.legal-block ul { margin-top: 12px; display: grid; gap: 10px; }
.legal-block ul li {
  font-size: var(--fs-small);
  padding-left: 24px;
  position: relative;
  max-width: 52em;
}
.legal-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 7px;
  background: var(--red);
  clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 45% 50%);
}
.legal-facts {
  border: 1px solid var(--line);
  margin-top: 8px;
  max-width: 560px;
}
.legal-facts > div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 18px;
  font-size: var(--fs-small);
}
.legal-facts > div + div { border-top: 1px solid var(--line-soft); }
.legal-facts .mono-label { padding-top: 3px; }
.legal-facts .value { color: var(--text); }
.legal-facts .value a { color: var(--text); text-decoration: none; }
.legal-facts .value a:hover { color: var(--red-soft); }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-toc ol { display: flex; flex-wrap: wrap; gap: 8px; }
  .legal-toc li + li { margin: 0; }
  .legal-toc a, .legal-toc a.is-active { border: 1px solid var(--line); padding: 7px 12px; font-size: 0.8rem; }
  .legal-toc a.is-active { border-color: var(--red); }
}

/* ── 24 · 404 ───────────────────────────────────────────────── */

.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 80px;
}
.error-code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--red-soft);
  display: block;
  margin-bottom: 20px;
}
.error-page h1 { font-size: var(--fs-display); }
.error-page p { margin: 26px auto 36px; max-width: 34em; }
.error-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── 25 · REVEAL-ANIMATION ──────────────────────────────────── */
/* Nur aktiv, wenn JS läuft (html.js) — ohne JS bleibt alles sichtbar. */

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; }
}

/* ── 26 · DRUCK ─────────────────────────────────────────────── */

@media print {
  .nav, .footer, .cta-band, .skip-link { display: none; }
  body { background: #fff; color: #000; }
  h1, h2, h3 { color: #000; }
}
