/* ==========================================================================
   SIMUP — Corporate / Coming Soon
   Brand: Brandbook v1.0 (Richtung 2c „Boarding Pass“), September 2026
   Colors: Navy #102336 · Blau #2563EB · Signalblau #3B7BFF · Nebel #F7F8FA · Weiß
   Type:   Manrope 800 (wordmark only) · IBM Plex Sans · IBM Plex Mono
   ========================================================================== */

/* Fonts (self-hosted, latin subset) ------------------------------------- */
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-var.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-800.woff2") format("woff2");
  font-weight: 800;
  font-display: block;
}

/* Tokens ------------------------------------------------------------------ */
:root {
  --navy: #102336;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --signal: #3b7bff;
  --mist: #f7f8fa;
  --white: #ffffff;

  --ink: var(--navy);
  --ink-2: rgba(16, 35, 54, 0.76);
  --ink-3: rgba(16, 35, 54, 0.68);
  --line: rgba(16, 35, 54, 0.09);
  --line-2: rgba(16, 35, 54, 0.16);

  --on-navy: #ffffff;
  --on-navy-2: rgba(255, 255, 255, 0.8);
  --on-navy-3: rgba(255, 255, 255, 0.64);
  --line-navy: rgba(255, 255, 255, 0.12);

  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-brand: "Manrope", var(--font-sans);

  --container: 1200px;
  --gutter: clamp(20px, 4.5vw, 40px);
  --section-y: clamp(88px, 11vw, 152px);
  --radius: 14px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Base -------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-navy :focus-visible { outline-color: var(--white); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}


.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 24px; height: 24px; flex: none; }

/* Brand lockup (signet always left of wordmark, never stacked) ----------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  border-radius: 6px;
}
.brand:hover { color: inherit; }
.brand-signet { width: 38px; height: 38px; }
.wordmark {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: lowercase;
  /* keeps the wordmark ≥ 88px wide (brandbook minimum) */
  min-width: 88px;
  padding-bottom: 2px;
}

/* Typography helpers ------------------------------------------------------ */
.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  margin-bottom: 22px;
}
.eyebrow span { color: var(--blue); }
.on-navy .eyebrow { color: var(--on-navy-3); }
.on-navy .eyebrow span { color: var(--signal); }

.h2 {
  font-weight: 600;
  font-size: clamp(2rem, 1.25rem + 2.7vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
  text-wrap: balance;
}


.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  color: var(--ink-3);
  border: 1px solid var(--line-2);
  padding: 8px 11px;
  border-radius: 5px;
  white-space: nowrap;
}
.on-navy .tag { color: var(--on-navy-2); border-color: rgba(255, 255, 255, 0.22); }

.status-dot {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--signal);
  flex: none;
}
.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--signal);
  opacity: 0;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Header ------------------------------------------------------------------ */
.site-header {
  position: relative;
  z-index: 2;
  background: var(--navy);
  color: var(--on-navy);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.site-header .brand-signet { width: 34px; height: 34px; }
.site-header .wordmark { font-size: 27px; }


/* Language switcher */
.lang-switch ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--on-navy-3);
  transition: color 0.15s, border-color 0.15s;
}
.lang-switch a:hover { color: var(--white); }
.lang-switch a[aria-current="page"] { color: var(--white); border-color: rgba(255, 255, 255, 0.22); }

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: var(--on-navy);
  padding-block: clamp(56px, 8vw, 112px) clamp(80px, 10vw, 136px);
}
.hero::before {
  /* restrained depth: a single soft brand-blue field behind the pass */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(55% 60% at 78% 42%, rgba(37, 99, 235, 0.2), transparent 70%);
}
.hero-signet {
  position: absolute;
  z-index: -1;
  right: -120px;
  bottom: -200px;
  width: 640px;
  height: 640px;
  opacity: 0.05;
  pointer-events: none;
}
.guide {
  position: absolute;
  left: 0; right: 0;
  z-index: -1;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
.guide--top { top: 32px; }
.guide--bottom { bottom: 40px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.hero-status { margin-bottom: 30px; }

.hero-title {
  font-weight: 600;
  font-size: clamp(2.75rem, 1.4rem + 5.4vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.hero-title em { font-style: normal; color: var(--signal); }

.hero-lead {
  margin-top: 26px;
  max-width: 36ch;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  line-height: 1.55;
  color: var(--on-navy-2);
  text-wrap: pretty;
}

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

/* Boarding-pass card */
.pass-wrap {
  position: relative;
  isolation: isolate;
  max-width: 460px;
  margin-inline: auto;
  width: 100%;
}
.pass-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 22px -16px -18px 26px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: rotate(3.5deg);
}
.pass {
  filter: drop-shadow(0 28px 44px rgba(3, 10, 20, 0.45));
  color: var(--navy);
}
.pass-main,
.pass-stub { background: var(--white); }
.pass-main {
  padding: 26px 28px 26px;
  border-radius: 18px 18px 0 0;
  -webkit-mask:
    radial-gradient(circle 13px at 0 100%, #0000 12.5px, #000 13px) left / 51% 100% no-repeat,
    radial-gradient(circle 13px at 100% 100%, #0000 12.5px, #000 13px) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle 13px at 0 100%, #0000 12.5px, #000 13px) left / 51% 100% no-repeat,
    radial-gradient(circle 13px at 100% 100%, #0000 12.5px, #000 13px) right / 51% 100% no-repeat;
}
.pass-stub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px 24px;
  border-radius: 0 0 18px 18px;
  -webkit-mask:
    radial-gradient(circle 13px at 0 0, #0000 12.5px, #000 13px) left / 51% 100% no-repeat,
    radial-gradient(circle 13px at 100% 0, #0000 12.5px, #000 13px) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle 13px at 0 0, #0000 12.5px, #000 13px) left / 51% 100% no-repeat,
    radial-gradient(circle 13px at 100% 0, #0000 12.5px, #000 13px) right / 51% 100% no-repeat;
}
.pass-stub::before {
  content: "";
  position: absolute;
  top: 0; left: 22px; right: 22px;
  border-top: 1.5px dashed var(--line-2);
}

.pass-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pass-id { display: flex; align-items: center; gap: 10px; }
.pass-id svg { width: 28px; height: 28px; }
.pass-label,
.pass-field dt,
.pass-code {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pass-badge {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 7px 9px;
  border-radius: 5px;
}

.pass-route {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 18px;
  margin: 30px 0 26px;
}
.pass-city { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; margin-top: 6px; }
.pass-city--to { text-align: right; }
.pass-line {
  position: relative;
  height: 2px;
  margin-bottom: 12px;
  background-image: linear-gradient(90deg, var(--line-2) 50%, transparent 0);
  background-size: 8px 2px;
}
.pass-line::before,
.pass-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
}
.pass-line::before { left: 0; background: var(--navy); }
.pass-line::after { right: 0; background: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14); }

.pass-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.pass-field dd { margin-top: 5px; font-size: 15px; font-weight: 500; line-height: 1.35; }

.pass-barcode { width: 100%; max-width: 190px; height: 40px; fill: var(--blue); }
.pass-code { text-align: right; }

/* Legal pages ------------------------------------------------------------ */
.page-legal { background: var(--navy); }
.legal {
  position: relative;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  color: var(--on-navy);
  padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 120px);
}
.legal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(50% 40% at 85% 10%, rgba(37, 99, 235, 0.18), transparent 70%);
}
.legal .hero-signet { top: 180px; bottom: auto; right: -200px; width: 720px; height: 720px; opacity: 0.04; }
.legal .guide--top { top: 20px; }

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 40px clamp(40px, 6vw, 96px);
  align-items: start;
}

/* Aside */
.legal-aside { position: sticky; top: 32px; }
.legal-back {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  font-size: 14px;
  font-weight: 500;
  color: var(--on-navy-2);
  border-radius: 4px;
}
.legal-back .icon { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.legal-back:hover { color: var(--white); }
.legal-back:hover .icon { transform: translateX(-3px); }
.legal-kicker { margin-bottom: 22px; }
.legal-title {
  font-weight: 600;
  font-size: clamp(2.5rem, 1.6rem + 2.8vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.legal-sub { margin-top: 16px; font-size: 1.0625rem; line-height: 1.5; color: var(--on-navy-2); }

.legal-toc { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-navy); }
.legal-toc-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-navy-3);
}
.legal-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.legal-toc a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 8px 0;
  font-size: 15px;
  line-height: 1.35;
  color: var(--on-navy-2);
  border-radius: 4px;
  transition: color 0.15s;
}
.legal-toc a span { font-family: var(--font-mono); font-size: 12px; color: var(--signal); flex: none; }
.legal-toc a:hover { color: var(--white); }

/* Document card — a boarding pass with a perforated header */
.doc {
  color: var(--navy);
  border-radius: 20px;
  /* box-shadow instead of filter: a filtered layer this tall fails to paint in Chrome */
  box-shadow: 0 28px 60px -12px rgba(3, 10, 20, 0.45);
}
.doc-head,
.doc-body { background: var(--white); }
.doc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(24px, 4vw, 48px);
  border-radius: 20px 20px 0 0;
  -webkit-mask:
    radial-gradient(circle 13px at 0 100%, #0000 12.5px, #000 13px) left / 51% 100% no-repeat,
    radial-gradient(circle 13px at 100% 100%, #0000 12.5px, #000 13px) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle 13px at 0 100%, #0000 12.5px, #000 13px) left / 51% 100% no-repeat,
    radial-gradient(circle 13px at 100% 100%, #0000 12.5px, #000 13px) right / 51% 100% no-repeat;
}
.doc-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.doc-id svg { width: 30px; height: 30px; flex: none; }
.doc-label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.doc-body {
  position: relative;
  padding: 8px clamp(24px, 4vw, 48px) clamp(28px, 4vw, 48px);
  border-radius: 0 0 20px 20px;
  -webkit-mask:
    radial-gradient(circle 13px at 0 0, #0000 12.5px, #000 13px) left / 51% 100% no-repeat,
    radial-gradient(circle 13px at 100% 0, #0000 12.5px, #000 13px) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle 13px at 0 0, #0000 12.5px, #000 13px) left / 51% 100% no-repeat,
    radial-gradient(circle 13px at 100% 0, #0000 12.5px, #000 13px) right / 51% 100% no-repeat;
}
.doc-body::before {
  content: "";
  position: absolute;
  top: 0; left: 22px; right: 22px;
  border-top: 1.5px dashed var(--line-2);
}

.doc-section { padding-block: 36px; scroll-margin-top: 24px; }
.doc-section + .doc-section { border-top: 1px solid var(--line); }
.doc-section h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.014em;
}
.doc-num { font-family: var(--font-mono); font-weight: 500; font-size: 12px; color: var(--blue); flex: none; transform: translateY(-2px); }
.doc-section p,
.doc-section ul,
.doc-section > address {
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
  font-style: normal;
  text-wrap: pretty;
}
.doc-section p + p,
.doc-section p + ul,
.doc-section ul + p,
.doc-section p + address,
.doc-section address + p { margin-top: 14px; }
.doc-section ul { padding-left: 0; list-style: none; }
.doc-section li { position: relative; padding-left: 22px; }
.doc-section li + li { margin-top: 8px; }
.doc-section li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.72em;
  width: 8px; height: 2px;
  border-radius: 1px;
  background: var(--blue);
}
.doc-section > address {
  padding: 18px 20px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
}
.doc-section a { text-decoration: underline; text-decoration-color: rgba(37, 99, 235, 0.35); text-underline-offset: 3px; }
.doc-section a:hover { text-decoration-color: currentColor; }

/* Impressum facts — same grammar as the boarding-pass fields */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 4px 0 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.fact { padding: 20px 22px; border-top: 1px solid var(--line); }
.fact:nth-child(even) { border-left: 1px solid var(--line); }
.fact--wide { grid-column: 1 / -1; border-top: 0; background: var(--mist); }
.fact--wide ~ .fact:nth-child(even) { border-left: 0; }
.fact--wide ~ .fact:nth-child(odd) { border-left: 1px solid var(--line); }
.fact dt {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.fact dd { margin: 8px 0 0; font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.fact address { font-style: normal; }
.fact--wide dd { font-size: 1.125rem; }

/* Single-screen layout (home + 404) -------------------------------------- */
.page-hero {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--navy);
}
.page-hero main { flex: 1; display: flex; }
.page-hero .hero { flex: 1; display: flex; align-items: center; width: 100%; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.btn {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font: 500 16px/1 var(--font-sans);
  transition: background-color 0.15s;
}
.btn:hover { background: var(--blue-hover); color: var(--white); }

/* Legal bar -------------------------------------------------------------- */
.legal-bar {
  background: var(--navy);
  color: var(--on-navy-3);
  border-top: 1px solid var(--line-navy);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
}
.legal-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 20px;
}
.legal-bar ul { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; }
.legal-bar a { display: inline-block; padding: 6px 0; color: var(--on-navy-2); border-radius: 4px; }
.legal-bar a:hover { color: var(--white); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .site-header .brand-signet { width: 32px; height: 32px; }
  .site-header .wordmark { font-size: 26px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-lead { max-width: 40ch; }
  .pass-wrap { max-width: 480px; margin-inline: 0; }
}

@media (max-width: 960px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); }
  .legal-aside { position: static; }
  .legal-back { margin-bottom: 28px; }
  .legal-toc { display: none; }
}

@media (max-width: 640px) {
  .legal { padding-block: 28px 56px; }
  .doc-head { padding: 20px; }
  .doc-body { padding: 4px 20px 24px; }
  .doc-body::before { left: 18px; right: 18px; }
  .doc-section { padding-block: 28px; }
  .doc-section h2 { font-size: 1.1875rem; }
  .doc-head .pass-badge { display: none; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts .fact:nth-child(n),
  .fact--wide ~ .fact:nth-child(n) { border-left: 0; }
}

@media (max-width: 640px) {
  :root { --section-y: 80px; }
  .hero { padding-block: 32px 56px; }
  .hero-status { margin-bottom: 24px; }
  .hero-title { font-size: clamp(2.5rem, 1rem + 8.4vw, 3.25rem); letter-spacing: -0.034em; }
  .hero-lead { margin-top: 20px; font-size: 1.0625rem; }
  .hero-tags { gap: 8px; margin-top: 26px; }
  .hero-signet { width: 420px; height: 420px; right: -160px; bottom: -120px; }
  .pass-wrap::before { display: none; }
  .pass-main { padding: 22px 20px; }
  .pass-stub { padding: 20px 20px 22px; }
  .pass-route { margin: 24px 0 22px; gap: 12px; }
  .pass-fields { gap: 16px; }
  .pass-field dd { font-size: 14px; }
  .pass-barcode { max-width: 150px; height: 34px; }
  .legal-bar-inner { flex-direction: column-reverse; align-items: flex-start; }
}

@media (max-width: 340px) {
  .pass-fields { grid-template-columns: minmax(0, 1fr); }
  .pass-code { display: none; }
  .hero-tags .tag { font-size: 11.5px; }
}

/* Desktop: the whole page fits one screen ---------------------------------
   Spacing follows the viewport height, so laptops with browser chrome
   (≈ 650–760px visible) don't scroll. Very short windows may still scroll
   rather than clip content. */
@media (min-width: 961px) {
  .page-hero .hero { padding-block: clamp(24px, 6vh, 96px); }
  .page-hero .guide--top { top: 16px; }
  .page-hero .guide--bottom { bottom: 16px; }
  .page-hero .legal-bar-inner { padding-block: 16px; }
}
@media (min-width: 961px) and (max-height: 820px) {
  :root { --header-h: 64px; }
  .page-hero .hero-title { font-size: clamp(2.75rem, 1rem + 5.2vw, 4.25rem); }
  .page-hero .hero-status { margin-bottom: 22px; }
  .page-hero .hero-lead { margin-top: 20px; font-size: 1.125rem; }
  .page-hero .hero-tags { margin-top: 26px; }
  .page-hero .pass-main { padding: 22px 26px; }
  .page-hero .pass-route { margin: 22px 0 20px; }
  .page-hero .pass-fields { gap: 14px 24px; padding-top: 18px; }
  .page-hero .pass-stub { padding: 18px 26px 20px; }
  .page-hero .pass-barcode { height: 34px; }
}
@media (min-width: 961px) and (max-height: 680px) {
  .page-hero .pass-city { font-size: 1.5rem; }
  .page-hero .pass-field dd { font-size: 14px; margin-top: 3px; }
  .page-hero .pass-fields { gap: 10px 24px; }
  .page-hero .hero-title { font-size: clamp(2.5rem, 1rem + 4.4vw, 3.75rem); }
}

/* Motion preferences ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .status-dot::after { display: none; }
}
