/* ============================================================
   RPS Logistics — rps-gmbh.eu
   Design language: "Nachtüberführung" — near-black canvas,
   platinum type, one motorsport-red light-bar accent (echoing
   the Porsche tail light in the brand photography).
   Type: Archivo (variable, expanded for display) + Instrument
   Serif italic for accent words. Self-hosted (DSGVO).
   ============================================================ */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/fonts/archivo-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/fonts/archivo-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-serif-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-serif-italic-latin.woff2') format('woff2');
}

:root {
  --bg: #0b0b0d;
  --bg-raised: #111114;
  --bg-card: #131317;
  --line: rgba(244, 242, 238, 0.09);
  --line-strong: rgba(244, 242, 238, 0.16);
  --text: #f4f2ee;
  --muted: #a3a1a8;
  --faint: #858389;
  --red-text: #f52a37;
  --red: #e01422;
  --red-deep: #a30d18;
  --glow: rgba(224, 20, 34, 0.5);
  --radius: 18px;
  --pad: clamp(20px, 4.5vw, 64px);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 380;
  font-size: 16.5px;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film-grain overlay for depth */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

.wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--pad); }

.skip-link {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-weight: 640;
  font-size: 14px;
  transition: top 0.2s;
}
.skip-link:focus-visible { top: 12px; }

[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

/* ---------- the light-bar motif ---------- */
.bar {
  display: block;
  height: 3px;
  width: 64px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--red), var(--red-deep));
  box-shadow: 0 0 14px var(--glow), 0 0 40px rgba(224, 20, 34, 0.25);
}

/* ---------- wordmark (the new logo) ---------- */
.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1;
}
.brand .brand-rps {
  font-weight: 800;
  font-stretch: 118%;
  font-size: 25px;
  letter-spacing: 0.10em;
  color: var(--text);
}
.brand .brand-sub {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand .brand-sub .bar { height: 2px; width: 100%; box-shadow: 0 0 8px var(--glow); }
.brand .brand-sub span {
  font-size: 8.5px;
  font-weight: 550;
  letter-spacing: 0.52em;
  color: var(--muted);
  white-space: nowrap;
  transform: translateX(1px);
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 11, 13, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
}
.site-header .wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  list-style: none;
}
.nav-links a {
  position: relative;
  font-size: 13.5px;
  font-weight: 520;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  border-radius: 99px;
  background: var(--red);
  box-shadow: 0 0 10px var(--glow);
  transition: width 0.3s cubic-bezier(0.7, 0, 0.2, 1);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }

/* Fleet Control login — distinct bordered chip, no underline animation */
.nav-links a.fleet-chip {
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  padding: 9px 18px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.nav-links a.fleet-chip::after { display: none; }
.nav-links a.fleet-chip .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--glow);
}
.nav-links a.fleet-chip:hover {
  border-color: var(--red);
  box-shadow: 0 0 18px rgba(224, 20, 34, 0.25);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 640;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.7, 0, 0.2, 1), box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-red {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  box-shadow: 0 6px 24px rgba(224, 20, 34, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-red:hover { box-shadow: 0 10px 34px rgba(224, 20, 34, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(244, 242, 238, 0.03);
}
.btn-ghost:hover { border-color: var(--text); background: rgba(244, 242, 238, 0.07); }
.btn-header { padding: 11px 22px; }
.btn .arr { transition: transform 0.25s; }
.btn:hover .arr { transform: translateX(4px); }

/* mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  width: 42px; height: 42px;
  cursor: pointer;
  color: var(--text);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-x { display: none; }
.nav-toggle[aria-expanded="true"] .icon-burger { display: none; }
.nav-toggle[aria-expanded="true"] .icon-x { display: block; }

.nav-links li.nav-call { display: none; }
@media (max-width: 880px) {
  .nav-links li.nav-call { display: block; }
  .nav-links li.nav-call a { color: var(--red-text); font-weight: 680; }
  .nav-toggle { display: inline-flex; }
  .btn-header { display: none; }
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(11, 11, 13, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 10px var(--pad) 26px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 16px 0; font-size: 15px; }
  .nav-links a.fleet-chip {
    display: flex;
    border: none;
    border-radius: 0;
    padding: 16px 0;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 68% 42%;
  animation: hero-zoom 14s cubic-bezier(0.2, 0.6, 0.3, 1) both;
}
@keyframes hero-zoom {
  from { transform: scale(1.12); }
  to { transform: scale(1.0); }
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(78deg, rgba(11, 11, 13, 0.94) 22%, rgba(11, 11, 13, 0.55) 55%, rgba(11, 11, 13, 0.25) 100%),
    linear-gradient(0deg, var(--bg) 2%, transparent 34%),
    linear-gradient(180deg, rgba(11, 11, 13, 0.6), transparent 30%);
}
.hero-inner {
  width: 100%;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(36px, 6vh, 72px);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 560;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}
.hero-eyebrow .bar { width: 40px; height: 2px; }
.hero h1 {
  font-size: clamp(2.6rem, 9.2vw, 7.6rem);
  line-height: 0.94;
  font-weight: 780;
  font-stretch: 116%;
  text-transform: uppercase;
  letter-spacing: -0.012em;
}
.hero h1 .serif {
  display: block;
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  text-transform: none;
  font-size: 0.82em;
  letter-spacing: 0;
  color: var(--text);
  margin-top: 0.06em;
}
.hero h1 .serif em {
  font-style: italic;
  color: var(--red);
  text-shadow: 0 0 34px var(--glow);
}
.hero-sub {
  max-width: 46ch;
  margin-top: 26px;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  color: var(--muted);
  font-weight: 400;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}
.hero-values {
  margin-top: clamp(40px, 7vh, 78px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero-values > div {
  padding: 20px 26px 4px 0;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.hero-values b {
  font-size: 15px;
  font-weight: 680;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-values span { font-size: 13px; color: var(--faint); }
.hero-values i {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--red);
}
@media (max-width: 700px) {
  .hero-values { grid-template-columns: 1fr; }
  .hero-values > div { padding-block: 12px 0; }
}

/* ---------- section scaffolding ---------- */
section { position: relative; }
.section-pad { padding-block: clamp(84px, 12vw, 150px); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 580;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow .bar { width: 34px; height: 2px; }
h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 740;
  font-stretch: 112%;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  max-width: 22ch;
}
h2 .serif, .serif-inline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  text-transform: none;
  letter-spacing: 0;
}
h2 .serif { color: var(--red); }

/* ---------- client marquee ---------- */
.clients {
  border-block: 1px solid var(--line);
  background: var(--bg-raised);
  padding-block: 34px;
  overflow: hidden;
}
.clients .label {
  text-align: center;
  font-size: 11.5px;
  font-weight: 560;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 26px;
}
.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(56px, 9vw, 130px);
  padding-right: clamp(56px, 9vw, 130px);
  flex-shrink: 0;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-100%); }
}
.marquee-track .chip {
  display: flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: 14px;
  background: #f4f2ee;
  opacity: 0.82;
  transition: opacity 0.3s, transform 0.3s;
}
.marquee-track .chip:hover { opacity: 1; transform: translateY(-2px); }
.marquee-track img {
  height: 26px;
  width: auto;
}
/* the Enterprise PNG is a black badge inside a padded canvas — crop to the badge */
.marquee-track img.tall {
  height: 34px;
  width: 158px;
  object-fit: cover;
  border-radius: 6px;
}

/* ---------- intro (Wir sind RPS) ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.intro-statement {
  font-size: clamp(1.5rem, 2.9vw, 2.4rem);
  line-height: 1.28;
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 24ch;
}
.intro-statement .serif-inline { color: var(--red); font-size: 1.08em; }
.intro-copy { margin-top: 26px; color: var(--muted); max-width: 54ch; }
.intro-copy + .intro-copy { margin-top: 14px; }
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 13.5px;
  font-weight: 620;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 2px solid var(--red);
  padding-bottom: 6px;
  transition: gap 0.25s, color 0.25s;
}
.link-more:hover { gap: 16px; color: var(--red-text); }

.photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transform: rotate(1.6deg);
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1);
}
.photo-card:hover { transform: rotate(0deg) scale(1.015); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.3, 1); }
.photo-card:hover img { transform: scale(1.05); }
.photo-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 22px 16px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 242, 238, 0.85);
  background: linear-gradient(0deg, rgba(11, 11, 13, 0.85), transparent);
}
@media (max-width: 880px) {
  .intro-grid { grid-template-columns: 1fr; }
  .photo-card { transform: none; }
}

/* ---------- services ---------- */
.services { background: var(--bg-raised); border-block: 1px solid var(--line); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  padding: clamp(26px, 3.4vw, 44px);
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.7, 0, 0.2, 1), border-color 0.35s, box-shadow 0.35s;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--red), transparent);
  box-shadow: 0 0 16px var(--glow);
  transition: width 0.5s cubic-bezier(0.7, 0, 0.2, 1);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}
.service-card:hover::before { width: 100%; }
.service-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--red-text);
}
.service-card h3 {
  margin-top: 14px;
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  font-weight: 700;
  font-stretch: 110%;
  letter-spacing: -0.005em;
  line-height: 1.15;
}
.service-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15.2px;
  max-width: 52ch;
}
@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- full-bleed statement band ---------- */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(110px, 16vw, 200px);
}
.band > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 60%;
  filter: brightness(1.35) contrast(1.04);
}
.band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 11, 13, 0.82) 10%, rgba(11, 11, 13, 0.3) 55%, rgba(11, 11, 13, 0.15)),
    linear-gradient(0deg, var(--bg) 0%, transparent 18%),
    linear-gradient(180deg, var(--bg) 0%, transparent 18%);
}
.band h2 { max-width: 16ch; }
.band-points {
  margin-top: 34px;
  display: grid;
  gap: 14px;
  max-width: 520px;
  list-style: none;
}
.band-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 15.5px;
}
.band-points .tick {
  flex: none;
  margin-top: 5px;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(224, 20, 34, 0.15);
  border: 1px solid rgba(224, 20, 34, 0.5);
}
.band-points .tick svg { width: 9px; height: 9px; }

/* ---------- process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: clamp(26px, 3vw, 40px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--bg-card), var(--bg-raised));
  transition: transform 0.35s cubic-bezier(0.7, 0, 0.2, 1), border-color 0.35s;
}
.step:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.step-num {
  font-weight: 800;
  font-stretch: 120%;
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  line-height: 1;
  background: linear-gradient(180deg, rgba(244, 242, 238, 0.28), rgba(244, 242, 238, 0.04));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 {
  margin-top: 18px;
  font-size: 1.2rem;
  font-weight: 700;
  font-stretch: 108%;
}
.step h3 .bar { display: inline-block; width: 26px; height: 2px; vertical-align: middle; margin-right: 10px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; }
@media (max-width: 800px) {
  .process-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  /* phones crop the photo so the bright plate sits under the copy — flatten the scrim */
  .band::before {
    background:
      linear-gradient(90deg, rgba(11, 11, 13, 0.9), rgba(11, 11, 13, 0.68)),
      linear-gradient(0deg, var(--bg) 0%, transparent 20%),
      linear-gradient(180deg, var(--bg) 0%, transparent 20%);
  }
}

/* ---------- contact panel ---------- */
.contact-panel {
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 140% at 85% -20%, rgba(224, 20, 34, 0.16), transparent 55%),
    linear-gradient(160deg, var(--bg-card), var(--bg-raised));
  padding: clamp(36px, 6vw, 84px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  overflow: hidden;
  position: relative;
}
.contact-panel::after {
  content: '';
  position: absolute;
  top: 0; left: 10%;
  height: 3px; width: 34%;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  box-shadow: 0 0 24px var(--glow);
}
.contact-panel h2 { max-width: 15ch; }
.contact-panel .lede { margin-top: 16px; color: var(--muted); max-width: 44ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.contact-meta { display: grid; gap: 20px; }
.contact-meta > div {
  border-left: 2px solid var(--line-strong);
  padding-left: 18px;
}
.contact-meta b {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 5px;
}
.contact-meta a { transition: color 0.2s; }
.contact-meta a:hover { color: var(--red-text); }
@media (max-width: 880px) {
  .contact-panel { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-raised);
  padding-block: clamp(44px, 6vw, 70px) 30px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-tag {
  margin-top: 16px;
  color: var(--faint);
  font-size: 14px;
  max-width: 30ch;
}
.footer-cols { display: flex; gap: clamp(36px, 6vw, 90px); flex-wrap: wrap; }
.footer-cols b {
  display: block;
  font-size: 11.5px;
  font-weight: 620;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
}
.footer-cols ul { list-style: none; display: grid; gap: 9px; }
.footer-cols a { color: var(--muted); font-size: 14.5px; transition: color 0.2s; }
.footer-cols a:hover { color: var(--text); }
.footer-base {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--faint);
}

/* ---------- subpage hero ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(60px, 9vw, 110px));
  padding-bottom: clamp(40px, 6vw, 70px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(70% 120% at 80% -30%, rgba(224, 20, 34, 0.12), transparent 60%),
    var(--bg);
}
.page-hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-weight: 760;
  font-stretch: 114%;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.015em;
}
.page-hero h1 .serif {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  text-transform: none;
  color: var(--red);
}
.page-hero .lede { margin-top: 20px; color: var(--muted); max-width: 56ch; }

/* legal prose */
.prose { max-width: 76ch; }
.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.4em;
  margin-bottom: 0.6em;
  text-transform: none;
  font-stretch: 108%;
  letter-spacing: 0;
}
.prose h3 { font-size: 1.1rem; margin-top: 1.8em; margin-bottom: 0.5em; font-stretch: 106%; }
.prose p { margin-bottom: 1em; color: var(--muted); }
.prose strong { color: var(--text); font-weight: 620; }
.prose a { color: var(--text); border-bottom: 1px solid var(--red); }
.prose a:hover { color: var(--red-text); }
.prose ul { margin: 0 0 1em 1.2em; color: var(--muted); }

/* info cards on kontakt */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.info-card {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: transform 0.3s, border-color 0.3s;
}
.info-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.info-card .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(224, 20, 34, 0.12);
  border: 1px solid rgba(224, 20, 34, 0.4);
  margin-bottom: 18px;
}
.info-card .ic svg { width: 20px; height: 20px; }
.info-card b { display: block; font-size: 15px; font-weight: 680; margin-bottom: 6px; }
.info-card p, .info-card a.val { color: var(--muted); font-size: 15px; }
.info-card a.val:hover { color: var(--red-text); }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.6, 0.3, 1), transform 0.8s cubic-bezier(0.2, 0.6, 0.3, 1);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* hero load sequence */
.hero [data-hero] {
  opacity: 0;
  transform: translateY(22px);
  animation: hero-in 0.9s cubic-bezier(0.2, 0.6, 0.3, 1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes hero-in {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; }
  .hero [data-hero] { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .marquee { flex-wrap: wrap; }
  * { transition-duration: 0.01s !important; }
}
