@charset "UTF-8";
/* ════════════════════════════════════════════════════════════════
   BLUEPRINT — Engineered Spec Sheet aesthetic
   Theme tokens, typography, atmosphere, and components

   Self-hosted webfonts: see fonts/fonts.css (Archivo Black + IBM Plex Mono)
   ════════════════════════════════════════════════════════════════ */

:root {
  --paper:           #efeadb;
  --paper-deep:      #e3dcc8;
  --paper-light:     #f6f2e6;
  --paper-bright:    #fbf8ef;

  --ink:             #15130e;
  --ink-soft:        #3b362a;
  --ink-muted:       #76705f;
  --ink-faint:       rgba(21, 19, 14, 0.16);
  --ink-line:        rgba(21, 19, 14, 0.32);

  --blue:            #1a4d8c;
  --blue-deep:       #102c54;
  --blue-pale:       rgba(26, 77, 140, 0.10);

  --signal:          #ff5a1f;
  --signal-deep:     #c43500;
  --signal-pale:     rgba(255, 90, 31, 0.10);

  --font-display:    "Archivo Black", "IBM Plex Mono", monospace;
  --font-mono:       "IBM Plex Mono", "JetBrains Mono", "SF Mono", "Courier New", monospace;

  --radius:          2px;
  --border:          1.5px solid var(--ink);
  --border-thin:     1px solid var(--ink-faint);

  --shadow-card:     4px 4px 0 var(--ink);
  --shadow-card-hover: 7px 7px 0 var(--ink);
  --shadow-cta:      4px 4px 0 var(--signal);
  --shadow-cta-hover: 6px 6px 0 var(--signal-deep);

  --gutter:          32px;
  --gutter-lg:       48px;
  --max-w:           1340px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

/* Engineering grid */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: 0.25;
  background-image:
    linear-gradient(to right, var(--ink-faint) 1px, transparent 1px),
    linear-gradient(to bottom, var(--ink-faint) 1px, transparent 1px),
    linear-gradient(to right, var(--ink-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--ink-line) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px, 240px 240px, 240px 240px;
  mask-image: linear-gradient(to bottom, transparent 0, black 80px, black calc(100% - 200px), transparent 100%);
}

/* Paper grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: 0.45;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.07 0 0 0 0 0.05 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

.page { position: relative; z-index: 2; }

a { color: inherit; text-decoration: none; }

/* b/strong erben sonst den Browser-Standard 700. Diese Stufe gehoert nicht zum
   Typosystem — es arbeitet mit 400/500/600 — und zog allein fuer zwei Elemente
   (EXFAIR/EXPRESS in den Kontaktkarten) eine eigene 10-KB-Schriftdatei nach. */
b, strong { font-weight: 600; }

/* Sichtbarer Fokus als System statt als Einzelfall. Elemente mit eigener
   Regel (Stempelzeile, Messezeile, Referenzlink) behalten ihre. */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
:where(.spec-card.is-recommended, .sticky-lead, .mobile-panel-foot)
  :where(a, button):focus-visible {
  outline-color: var(--paper-light);
}
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--signal); color: var(--ink);
  padding: 12px 18px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  font-size: 12px; border: var(--border); z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

::selection { background: var(--signal); color: var(--ink); }

/* ───────── SPEC BAR ───────── */
.spec-bar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  padding: 12px var(--gutter);
  border-bottom: var(--border);
  background: var(--paper-light);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.spec-bar .stamp { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.02em; }
.spec-bar .rev { color: var(--ink-muted); }
.spec-bar .rev b { color: var(--blue); font-weight: 600; }
.spec-bar .lang { display: inline-flex; gap: 4px; grid-column: -2; } /* auch ohne Datum ganz rechts (Rechtsseiten) */
.spec-bar .lang a {
  padding: 4px 8px;
  border: 1px solid var(--ink-line);
  color: var(--ink-muted);
  transition: color .15s, background .15s;
}
.spec-bar .lang a.is-active {
  background: var(--ink); color: var(--paper-light); border-color: var(--ink);
}
.spec-bar .lang a:hover { color: var(--ink); }
.spec-bar .lang a.is-active:hover { color: var(--paper-light); }

/* ───────── NAVBAR ───────── */
.navbar {
  display: grid;
  grid-template-columns: 240px 1fr auto auto;
  gap: 24px;
  align-items: center;
  /* 16px statt 22px: mit Knopf 79px hoch, vorher 93px (Obergrenze 80px) */
  padding: 16px var(--gutter);
  border-bottom: var(--border);
  position: sticky; top: 0; z-index: 40;
  background: rgba(239, 234, 219, 0.96);
  backdrop-filter: blur(8px);
}

.brand { display: grid; gap: 2px; }
.brand .b-l1 {
  font-family: var(--font-display); font-size: 14px; letter-spacing: 0.02em; line-height: 1;
}

.nav-list {
  display: flex; gap: 28px; justify-content: center;
  font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
}
.nav-list a {
  display: inline-flex; gap: 8px; align-items: baseline;
  color: var(--ink-soft); padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav-list a:hover { color: var(--blue-deep); border-color: var(--blue); }
.nav-list a .num { color: var(--blue); font-weight: 600; }

.nav-secondary {
  display: inline-flex; gap: 16px; align-items: center;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted);
}
.nav-secondary a {
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-secondary a:hover { color: var(--ink); border-color: var(--ink); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: var(--signal); color: var(--ink);
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  border: var(--border); box-shadow: var(--shadow-cta);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.nav-cta::after { content: "▸"; font-size: 10px; }
.nav-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-cta-hover);
  background: var(--signal-deep); color: var(--paper-light);
}

.menu-toggle { display: none; }
.mobile-panel { display: none; }

/* ───────── HERO ───────── */
.hero {
  padding: 48px var(--gutter) 64px;
  max-width: var(--max-w); margin: 0 auto;
}

.hero-grid {
  display: grid; grid-template-columns: 1.45fr 1fr; gap: 56px;
  align-items: start;
}

/* LEFT: city wordmark + label + stamps */
.city-block { position: relative; }

.label-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px;
  border: var(--border); background: var(--paper-light);
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 28px;
}
.label-pill::before {
  content: ""; width: 8px; height: 8px;
  background: var(--blue); border: 1.5px solid var(--ink);
}

.city-display {
  font-family: var(--font-display);
  /* Large by default for visual impact. Long names (FRIEDRICHSHAFEN, DÜSSELDORF)
     opt into a two-line split via <br> inside <span class="city-name">.
     line-height 0.92 leaves room for umlaut dots (Ü, Ö, Ä) without bloating
     the hero height for normal-length names. */
  font-size: clamp(56px, 12vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  padding-block: 0.05em 0;
}
.city-display .city-pre {
  display: block;
  font-family: var(--font-mono); font-weight: 400;
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  /* 28px (was 14) leaves clearance for umlaut dots on Ö/Ü/Ä in the
     city-name below — line-height 0.92 doesn't reserve enough room. */
  margin-bottom: 28px;
}
.city-display .city-pre span { color: var(--blue); font-weight: 600; }
.city-display .city-name { display: block; position: relative; }
/* Two-line city names (DÜSSELDORF, FRIEDRICHSHAFEN) get a smaller cap and a
   roomier line-height so the umlaut dots don't clash with the line above and
   both halves fit comfortably in the hero. */
.city-display .city-name:has(br) {
  font-size: clamp(48px, 9.5vw, 112px);
  line-height: 1.0;
}

/* Seitentitel statt Stadtname (Verantwortung, About). Stand frueher als
   Inline-Style im HTML und liess sich deshalb mobil nicht verkleinern. */
.city-display .city-name--page {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
  overflow-wrap: break-word;
}

/* Architectural dimension line under the city name */
.city-dim {
  display: flex; align-items: center; gap: 10px;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-transform: uppercase;
  width: fit-content;
}
.city-dim::before, .city-dim::after {
  content: "";
  height: 12px; width: 1.5px;
  background: var(--blue);
  align-self: center;
}
.city-dim .bar {
  height: 1.5px; background: var(--blue); flex: 0 0 32px;
}
.city-dim .seg { color: var(--blue-deep); }
.city-dim .seg b { color: var(--blue); font-weight: 600; }
.city-dim .sep { color: var(--ink-faint); font-weight: 400; }

/* Nutzenversprechen und Handlung direkt unter dem Staedtenamen. Standen bis
   2026-09-27 in einem eigenen Band unter dem grossen Bild und damit ausserhalb
   des ersten Bildschirms; oben war nur "Messestand in <Stadt>" zu sehen. */
.hero-lead {
  margin: 30px 0 0; max-width: 34em;
  font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5;
  color: var(--ink); letter-spacing: -0.005em;
  text-wrap: pretty;
}
.hero-lead strong { font-weight: 600; }
.hero-lead span.hi {
  background: linear-gradient(180deg, transparent 62%, rgba(26, 77, 140, 0.22) 62%);
  padding: 0 2px;
}
.hero-actions {
  display: grid; grid-template-columns: repeat(2, minmax(0, 260px));
  gap: 14px; margin-top: 28px;
}

/* RIGHT: spec list only — image plate moved below hero-grid */
.right-col { display: grid; gap: 22px; padding-top: 8px; }

/* Full-width hero plate under the wordmark, lead and actions */
.hero-plate-wide { margin-top: 48px; }
.hero-plate-wide .plate-img { aspect-ratio: 21 / 9; width: 100%; }
.hero-plate-wide .plate-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 38%;
}

.plate {
  position: relative;
  border: var(--border); padding: 12px;
  background: var(--paper-light);
}
.plate-img {
  position: relative; overflow: hidden;
  border: 1px solid var(--ink-line);
}
.plate-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: contrast(1.05) saturate(0.92);
}
.plate-img::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(26, 77, 140, 0.10), transparent 50%),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(26, 77, 140, 0.05) 14px 15px);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.crn { position: absolute; width: 14px; height: 14px; border: 2px solid var(--blue); }
.crn-tl { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.crn-tr { top: 6px; right: 6px; border-left: 0; border-bottom: 0; }
.crn-bl { bottom: 6px; left: 6px; border-right: 0; border-top: 0; }
.crn-br { bottom: 6px; right: 6px; border-left: 0; border-top: 0; }


/* SPEC LIST */
.spec-list { border: var(--border); background: var(--paper-light); }
.spec-list-head {
  padding: 10px 16px;
  background: var(--ink); color: var(--paper-light);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  display: grid; grid-template-columns: 1fr auto;
}
.spec-list-head .num { color: var(--paper-deep); letter-spacing: 0.06em; }
.spec-row {
  display: grid; grid-template-columns: 110px 1fr; gap: 12px;
  padding: 10px 16px; border-top: 1px solid var(--ink-line);
  font-size: 12px;
}
.spec-row:first-of-type { border-top: 0; }
.spec-row .k {
  color: var(--ink-muted); letter-spacing: 0.04em;
  text-transform: uppercase; font-size: 10px; padding-top: 2px;
}
.spec-row .v { color: var(--ink); font-weight: 500; }
.spec-row .v a { border-bottom: 1px solid var(--ink-line); }
.spec-row .v a:hover { color: var(--blue-deep); border-color: var(--blue); }
/* Eckdaten im Hero: Beschriftung ueber dem Wert. Neben dem riesigen
   Staedtenamen bleibt der rechten Spalte kaum Breite; zweispaltig brachen die
   Werte in drei Zeilen um. */
.right-col .spec-row { grid-template-columns: minmax(0, 1fr); gap: 3px; }
.right-col .spec-row .k { padding-top: 0; }
.spec-row .v em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 60%, var(--blue-pale) 60%);
  padding: 0 2px;
}

/* LEAD BAND */
.lead-band {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--gutter);
  margin-top: 80px;
}
.lead-band-inner {
  padding: 56px 0 48px;
  border-top: var(--border); border-bottom: var(--border);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px;
  align-items: start;
}
.lead-band p {
  margin: 0;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.45;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.lead-band p span.hi {
  background: linear-gradient(180deg, transparent 62%, rgba(26, 77, 140, 0.22) 62%);
  padding: 0 2px;
}
.lead-band p strong { font-weight: 600; }
.lead-actions { display: grid; gap: 12px; padding-top: 4px; }

.btn {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 14px;
  padding: 16px 18px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: var(--border);
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.btn-fill {
  background: var(--ink); color: var(--paper-light);
  box-shadow: 4px 4px 0 var(--signal);
}
.btn-fill:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--signal-deep);
}
.btn-fill .b-num { color: var(--signal); font-size: 10px; }
.btn-fill .b-arrow { color: var(--signal); font-size: 14px; }

.btn-ghost {
  background: var(--paper-light); color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink-line);
}
.btn-ghost:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--paper);
}
.btn-ghost .b-num { color: var(--blue); font-size: 10px; }
.btn-ghost .b-arrow { font-size: 14px; }

/* ───────── SECTION GENERIC ───────── */
.section {
  padding: 96px var(--gutter) 32px;
  max-width: var(--max-w); margin: 0 auto;
  scroll-margin-top: 110px;
}
.section-head {
  display: grid; grid-template-columns: auto 1fr;
  gap: 32px; align-items: baseline;
  margin-bottom: 56px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ink-line);
}
.section-head .num-stamp {
  font-family: var(--font-display); font-size: 13px; letter-spacing: 0.02em;
  color: var(--blue);
  white-space: nowrap;
}
.section-head .lead { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.section-head h2 em { font-style: normal; color: var(--blue); }
.section-head p {
  margin: 0; max-width: 70ch;
  color: var(--ink-soft);
  font-size: 14.5px; line-height: 1.6;
}

/* ───────── SPEC CARDS (Decision) ───────── */
.spec-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.spec-card {
  border: var(--border); background: var(--paper-light);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.spec-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-card-hover);
}
.spec-card.is-recommended { background: var(--ink); color: var(--paper-light); }
.spec-card.is-recommended:hover { box-shadow: 7px 7px 0 var(--blue); }

.spec-card-head {
  padding: 16px 22px;
  border-bottom: 1.5px solid var(--ink);
  display: grid; grid-template-columns: 1fr auto; gap: 12px;
  align-items: center;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}
.spec-card.is-recommended .spec-card-head { border-bottom-color: rgba(239, 234, 219, 0.22); }
.spec-card-head .id {
  font-family: var(--font-display); font-size: 13px; letter-spacing: 0.02em;
}
.spec-card.is-recommended .spec-card-head .id { color: var(--paper-deep); }
.spec-card-head .badge {
  padding: 4px 8px;
  background: var(--paper-deep); border: 1px solid var(--ink);
  color: var(--ink); font-weight: 600; letter-spacing: 0.06em;
}
.spec-card.is-recommended .spec-card-head .badge {
  background: var(--paper-deep); color: var(--ink); border-color: var(--paper-deep);
}
.spec-card-body { padding: 28px 30px 0; flex: 1; display: grid; gap: 22px; align-content: start; }
.spec-card-body h3 {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.04;
  letter-spacing: -0.018em; text-transform: uppercase;
}
.spec-card-body p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.spec-card.is-recommended .spec-card-body p { color: rgba(239, 234, 219, 0.74); }

.spec-card .attr-table { border-top: 1px solid var(--ink-line); }
.spec-card.is-recommended .attr-table { border-top-color: rgba(239, 234, 219, 0.18); }
.attr-table dl { margin: 0; display: grid; grid-template-columns: 130px 1fr; }
.attr-table dt, .attr-table dd {
  margin: 0; padding: 10px 0;
  border-bottom: 1px solid var(--ink-line);
  font-size: 12px;
}
.spec-card.is-recommended .attr-table dt,
.spec-card.is-recommended .attr-table dd {
  border-bottom-color: rgba(239, 234, 219, 0.14);
}
.attr-table dt {
  color: var(--ink-muted);
  letter-spacing: 0.06em; text-transform: uppercase;
  font-size: 10px; padding-top: 12px;
}
.spec-card.is-recommended .attr-table dt { color: rgba(239, 234, 219, 0.55); }
.attr-table dd { font-weight: 500; }
.attr-table dt:last-of-type, .attr-table dd:last-of-type { border-bottom: 0; }

.spec-card-foot { padding: 20px 30px 28px; }
.spec-card-foot a {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 10px;
  padding: 12px 16px;
  border: 1.5px solid var(--ink); background: var(--paper);
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); transition: background .15s, color .15s;
}
.spec-card.is-recommended .spec-card-foot a {
  border-color: var(--signal); background: var(--signal); color: var(--ink);
}
.spec-card-foot a:hover { background: var(--ink); color: var(--paper); }
.spec-card.is-recommended .spec-card-foot a:hover { background: var(--paper-light); color: var(--ink); }
.spec-card-foot a .n { color: var(--signal-deep); }
.spec-card.is-recommended .spec-card-foot a .n { color: var(--ink); }
.spec-card-foot a .arr { font-size: 14px; }

/* ───────── PROCESS (Ablauf) ───────── */
/* Drei gleich breite Karten nebeneinander sind das generischste Feature-Raster
   ueberhaupt. Die Schritte sind eine Abfolge, keine Auswahl — deshalb leicht
   ungleiche Spalten und ein Versatz nach unten, der die Reihenfolge sichtbar
   macht. Passt zur Zeichnungssprache (gestufte Schnittkante) und bricht das
   Muster, ohne die Sektion umzubauen. */
.process-grid {
  display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 24px;
  align-items: start;
}
.process-card:nth-child(2) { margin-top: 32px; }
.process-card:nth-child(3) { margin-top: 64px; }
.process-card {
  border: var(--border); background: var(--paper-light);
  padding: 28px 28px 32px;
  display: grid; gap: 16px;
  transition: transform .2s, box-shadow .2s;
}
.process-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-card-hover); }
.process-card .step {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: var(--font-display); font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--blue);
}
.process-card .step::after {
  content: ""; flex: 1; height: 1.5px; background: var(--ink);
  align-self: center; margin-left: 8px;
}
.process-card .step .lbl {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase; color: var(--ink);
}
.process-card h3 {
  margin: 0; font-family: var(--font-display); font-size: 20px;
  letter-spacing: -0.015em; text-transform: uppercase; line-height: 1.1;
}
.process-card p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }

/* ───────── REFERENCES ───────── */
.ref-groups { display: grid; gap: 48px; }
.ref-group { display: grid; gap: 24px; }
.ref-group-head {
  display: flex; align-items: baseline; gap: 20px;
  /* Ohne Umbruch erzwingen Ueberschrift + Zaehler zusammen eine
     Mindestbreite, die auf Telefonen die ganze Seite ueber den Viewport
     schiebt (375px: 14px zu breit, 320px: 69px). body hat overflow-x:hidden,
     der Ueberschuss wird also nicht scrollbar, sondern rechts abgeschnitten. */
  flex-wrap: wrap;
  padding-bottom: 14px; border-bottom: 1px solid var(--ink-line);
}
.ref-group-head .ref-label {
  padding: 4px 10px;
  font-family: var(--font-display); font-size: 13px; letter-spacing: 0.02em;
  background: var(--ink); color: var(--paper);
}
.ref-group-head.is-exfair .ref-label { background: var(--blue); color: var(--paper); }
.ref-group-head h3 {
  margin: 0; font-family: var(--font-display); font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: -0.012em; text-transform: uppercase;
}
.ref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ref-card {
  border: var(--border); background: var(--paper-light);
  padding: 10px; display: grid; gap: 12px;
  transition: transform .2s, box-shadow .2s;
}
.ref-card:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.ref-card .ref-img { position: relative; overflow: hidden; border: 1px solid var(--ink-line); }
.ref-card .ref-img img {
  width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover;
  filter: contrast(1.05) saturate(0.92);
}
.ref-card .ref-img::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26, 77, 140, 0.08), transparent 60%);
  mix-blend-mode: multiply; pointer-events: none;
}
.ref-card .ref-meta {
  display: grid; grid-template-columns: 1fr auto;
  align-items: baseline; gap: 12px; padding: 4px 4px 0;
}
.ref-card .ref-name {
  font-family: var(--font-display); font-size: 16px; letter-spacing: -0.01em;
  text-transform: uppercase;
}
/* Referenzkarten fuehren auf #anfrage statt auf die Partner-Startseite: Der
   Klick auf einen Beweis ist ein Kaufsignal und gehoert nicht nach draussen.
   Pro Gruppe bleibt genau ein bewusster Auslandslink. */
.ref-more {
  justify-self: start; margin-top: 2px;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--ink-line); padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.ref-more:hover, .ref-more:focus-visible { color: var(--ink); border-bottom-color: var(--ink); }

.ref-card .ref-desc {
  padding: 0 4px 8px; margin: 0; font-size: 12.5px; line-height: 1.55;
  color: var(--ink-soft);
}

/* ───────── LOCATION ───────── */
.location-grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px;
  align-items: start;
}
.location-text { display: grid; gap: 22px; }
.location-text h2 {
  font-family: var(--font-display); margin: 0;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.04;
  letter-spacing: -0.02em; text-transform: uppercase;
}
.location-text p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }
.location-text .place-spec { border: var(--border); background: var(--paper-light); padding: 0; }
.location-text .place-spec-head {
  padding: 10px 16px;
  background: var(--ink); color: var(--paper-light);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  display: grid; grid-template-columns: 1fr auto;
}
.location-text .place-spec-head .num { color: var(--paper-deep); }
.location-visual { position: relative; }
/* Die Textspalte (Place Spec, Kalender, Profil) ist drei- bis viermal so hoch
   wie das Bild; ohne sticky stand rechts eine grosse leere Flaeche. */
@media (min-width: 1081px) {
  .location-visual { position: sticky; top: 96px; }
}


/* ───────── FAQ ───────── */
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--ink-line); }
.faq-item { border-bottom: 1px solid var(--ink-line); }
.faq-question {
  appearance: none; background: transparent; border: 0;
  padding: 20px 0;
  width: 100%; display: grid; grid-template-columns: auto 1fr auto;
  gap: 18px; align-items: baseline; cursor: pointer;
  font: inherit; color: inherit; text-align: left;
}
.faq-question .q-num {
  font-family: var(--font-display); font-size: 14px;
  color: var(--blue); letter-spacing: 0.02em;
}
.faq-question .q-text {
  font-family: var(--font-mono); font-size: 16px; font-weight: 500;
  line-height: 1.4; color: var(--ink); letter-spacing: -0.005em;
}
.faq-question .q-icon {
  width: 20px; height: 20px; position: relative;
  border: 1.5px solid var(--ink); flex-shrink: 0;
  align-self: center;
}
.faq-question .q-icon::before, .faq-question .q-icon::after {
  content: ""; position: absolute;
  background: var(--ink);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  transition: transform .25s;
}
.faq-question .q-icon::before { width: 10px; height: 1.5px; }
.faq-question .q-icon::after { width: 1.5px; height: 10px; }
.faq-question[aria-expanded="true"] .q-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-question[aria-expanded="true"] .q-icon { background: var(--signal); border-color: var(--signal); }
.faq-question[aria-expanded="true"] .q-icon::before { background: var(--ink); }

/* Aufklappen ueber grid-template-rows statt max-height.
   Die alte Loesung schrieb beim Oeffnen die gemessene Pixelhoehe fest
   (maxHeight = scrollHeight) und aktualisierte sie nie wieder. Aenderte sich
   danach die Breite — typischerweise beim Drehen eines Telefons — blieb die
   alte Hoehe stehen und schnitt den nachgeflossenen Text ab (gemessen: 93px
   verloren bei 1280 -> 375). 0fr/1fr braucht keinen Pixelwert und rechnet bei
   jedem Reflow neu; das deckt auch Font-Swap, Zoom und Textaenderungen ab. */
.faq-answer {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq-answer > .a-inner { overflow: hidden; min-height: 0; }
.faq-answer.is-open { grid-template-rows: 1fr; }
/* Kein Padding oben/unten an .a-inner: Vertikales Padding zaehlt zur
   Mindesthoehe der Grid-Zeile, die 0fr-Zeile war dadurch 24px hoch und im
   geschlossenen Zustand schaute die erste Antwortzeile heraus. Der Abstand
   sitzt deshalb am Absatz. */
.faq-answer .a-inner {
  padding: 0 0 0 50px; max-width: 720px;
  font-size: 14.5px; line-height: 1.6; color: var(--ink-soft);
}
.faq-answer p { margin: 0; }
.faq-answer p:last-child { padding-bottom: 24px; }

/* ───────── ANFRAGE (form) ───────── */
.anfrage-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px;
  align-items: start;
}
.anfrage-intro { display: grid; gap: 18px; }
.anfrage-intro h2 {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px); line-height: 1.04;
  letter-spacing: -0.02em; text-transform: uppercase;
}
.anfrage-intro p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.form-card { border: var(--border); background: var(--paper-light); padding: 0; }
.form-card-head {
  padding: 14px 22px;
  background: var(--ink); color: var(--paper-light);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  display: grid; grid-template-columns: 1fr auto;
}
.form-card-head .num { color: var(--paper-deep); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.form-field {
  display: grid; gap: 6px; padding: 18px 22px;
  border-right: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
}
.form-field:nth-child(odd) { border-right: 1px solid var(--ink-line); }
.form-field:nth-child(even) { border-right: 0; }
.form-field.is-full { grid-column: 1 / -1; border-right: 0; }
.form-field label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--ink-muted);
}
.form-field label .req { color: var(--signal); }
.form-field input,
.form-field textarea {
  appearance: none; -webkit-appearance: none;
  border: 0; background: transparent;
  font: inherit; font-family: var(--font-mono); color: var(--ink);
  font-size: 14px; padding: 4px 0;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  /* ink-muted @70% lag bei 2.61:1. ink-soft @70% ergibt 4.54:1 und behaelt
     den zurueckgenommenen Platzhalter-Charakter. */
  color: var(--ink-soft); opacity: 0.7;
}
/* outline:none ohne Ersatz liess Tastaturnutzer im Formular blind. Der Ring
   sitzt auf der Zelle statt auf dem randlosen Feld, sonst klebt er am Text. */
.form-field input:focus, .form-field textarea:focus { outline: none; }
.form-field:focus-within {
  background: var(--paper-bright);
  box-shadow: inset 0 0 0 2px var(--blue);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-foot {
  padding: 18px 22px 22px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 16px; align-items: center;
  border-top: 1.5px solid var(--ink);
  background: var(--paper-bright);
}
.form-foot .hint {
  font-size: 11px; letter-spacing: 0.04em; color: var(--ink-muted);
  line-height: 1.5;
}
.form-foot .hint a { color: var(--ink); border-bottom: 1px solid var(--ink-line); }
.form-foot .hint a:hover { color: var(--signal-deep); border-color: var(--signal); }
.form-submit {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  background: var(--signal); color: var(--ink);
  font: inherit; font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 1.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.form-submit::after { content: "▸"; font-size: 10px; }
/* Rueckfall nach dem Absenden: Ist kein Mailprogramm eingerichtet (auf
   Firmenrechnern mit Webmail haeufig), passiert beim mailto-Aufruf sichtbar
   nichts. Die Zeile bietet dann die fertigen Eckdaten zum Kopieren an. */
.form-status {
  grid-column: 1 / -1;
  margin: 0; padding-top: 12px;
  border-top: 1px dashed var(--ink-line);
  font-size: 11px; letter-spacing: 0.04em; line-height: 1.5; color: var(--ink-soft);
}
.form-status[hidden] { display: none; }
.form-status a,
.form-copy {
  font: inherit; color: var(--ink); background: none; padding: 0; cursor: pointer;
  border: 0; border-bottom: 1px solid var(--ink-line);
}
.form-status a:hover,
.form-copy:hover { color: var(--signal-deep); border-color: var(--signal); }
.form-submit:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--signal-deep);
  color: var(--paper-light);
}

/* ───────── KONTAKT ───────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  margin-top: 48px;
}
.contact-card {
  border: var(--border); background: var(--paper-light);
  padding: 0;
  display: flex; flex-direction: column;
}
.contact-card-head {
  padding: 14px 22px; border-bottom: 1.5px solid var(--ink);
  background: var(--ink); color: var(--paper-light);
  font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase;
  display: grid; grid-template-columns: 1fr auto; gap: 12px;
}
.contact-card-head .lbl b { color: var(--paper-deep); }
.contact-card-body { padding: 24px 24px 28px; display: grid; gap: 18px; flex: 1; }
.contact-card-body h3 {
  margin: 0; font-family: var(--font-display); font-size: 24px;
  letter-spacing: -0.01em; text-transform: uppercase;
}
.contact-card-body p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }
.contact-card-lines { display: grid; gap: 0; }
.contact-card-lines .line {
  display: grid; grid-template-columns: 90px 1fr; gap: 12px;
  padding: 10px 0; border-top: 1px solid var(--ink-line);
  font-size: 12.5px;
}
.contact-card-lines .line:first-child { border-top: 1.5px solid var(--ink); padding-top: 14px; }
.contact-card-lines .line:last-child { border-bottom: 1.5px solid var(--ink); padding-bottom: 14px; }
.contact-card-lines .line .k {
  color: var(--ink-muted); font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase; padding-top: 2px;
}
.contact-card-lines .line .v a { border-bottom: 1px solid var(--ink-line); }
.contact-card-lines .line .v a:hover {
  color: var(--signal-deep); border-color: var(--signal);
}
.contact-card-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 4px; }

/* ───────── FOOTER ───────── */
.footer {
  margin-top: 96px;
  border-top: var(--border);
  background: var(--paper-light);
}
.footer-grid {
  max-width: var(--max-w); margin: 0 auto;
  padding: 56px var(--gutter) 32px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px;
}
.footer-brand { display: grid; gap: 14px; }
.footer-brand .brand-mark {
  font-family: var(--font-display); font-size: 18px;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.footer-brand .brand-mark em { font-style: normal; color: var(--blue); }
.footer-brand p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--ink-soft); }

.footer-col { display: grid; gap: 10px; }
.footer-col strong {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 600; margin-bottom: 4px;
}
.footer-col a {
  font-size: 13px; color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
  padding-bottom: 1px; align-self: start;
}
.footer-col a:hover { color: var(--blue-deep); border-color: var(--blue); }
.footer-col.cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.footer-col.cities strong { grid-column: 1 / -1; }

.footer-meta {
  max-width: var(--max-w); margin: 0 auto;
  padding: 22px var(--gutter);
  border-top: 1px solid var(--ink-line);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-muted);
}
.footer-meta .legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-meta .legal a:hover { color: var(--ink); }

/* ════════════════════════════════════════════════════════════════
   LEGAL PAGES — Datenschutz / Impressum / Verantwortung
   Document layout: long-form prose with sheet-style sections
   ════════════════════════════════════════════════════════════════ */

.legal-hero {
  padding: 56px var(--gutter) 32px;
  max-width: var(--max-w); margin: 0 auto;
}
.legal-hero .legal-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px;
  border: var(--border); background: var(--paper-light);
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 24px;
}
.legal-hero .legal-eyebrow::before {
  content: ""; width: 8px; height: 8px;
  background: var(--blue); border: 1.5px solid var(--ink);
}
.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--ink); margin: 0 0 24px;
}
.legal-hero .legal-lead {
  max-width: 64ch;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.legal-hero .legal-lead strong { font-weight: 600; color: var(--ink); }
.legal-hero .legal-stand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-muted);
  padding: 6px 12px;
  border: 1px solid var(--ink-line);
  background: var(--paper-light);
}
.legal-hero .legal-stand b { color: var(--ink); font-weight: 600; }

/* Document body */
.legal-doc {
  max-width: 880px; margin: 0 auto;
  padding: 24px var(--gutter) 96px;
  position: relative;
}

.legal-block {
  padding: 32px 0;
  border-top: 1px solid var(--ink-line);
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 32px;
  align-items: start;
}
.legal-block:first-child { border-top: var(--border); }

.legal-block .num {
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: 0.02em;
  color: var(--blue);
  padding-top: 4px;
  white-space: nowrap;
}

.legal-block .body { display: grid; gap: 14px; }
.legal-block h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  text-transform: uppercase;
  color: var(--ink);
}
.legal-block p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.legal-block p strong { font-weight: 600; color: var(--ink); }
.legal-block p a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink-line);
  transition: color .15s, border-color .15s;
}
.legal-block p a:hover { color: var(--blue-deep); border-color: var(--blue); }
.legal-block ul, .legal-block ol {
  margin: 0; padding: 0 0 0 20px;
  display: grid; gap: 8px;
  font-size: 14.5px; line-height: 1.6;
  color: var(--ink-soft);
}
.legal-block ul li::marker { color: var(--blue); }

/* Data grid (Impressum) — definition list rendered as 2-col table */
.legal-data {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
  border: var(--border);
  background: var(--paper-light);
  margin: 4px 0;
}
.legal-data dt, .legal-data dd {
  margin: 0; padding: 12px 16px;
  border-top: 1px solid var(--ink-line);
  font-size: 13px;
}
.legal-data dt:first-of-type, .legal-data dd:first-of-type { border-top: 0; }
.legal-data dt {
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--paper-bright);
  border-right: 1px solid var(--ink-line);
}
.legal-data dd { color: var(--ink); font-weight: 500; line-height: 1.55; }
.legal-data dd a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink-line);
}
.legal-data dd a:hover { color: var(--blue-deep); border-color: var(--blue); }

@media (max-width: 760px) {
  .hero-actions { grid-template-columns: minmax(0, 1fr); }
  .legal-hero { padding: 32px 20px 16px; }
  .legal-doc { padding: 16px 20px 56px; }
  .legal-block { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 24px 0; }
  /* HAFTUNGSAUSSCHLUSSES und RESPONSIBILITY sind auf 320px breiter als die
     Spalte: Ueberschriften trennen, Seitentitel mit der Breite skalieren
     (RESPONSIBILITY braucht rund das 8,9-Fache der Schriftgroesse). */
  .legal-block h2 { hyphens: auto; overflow-wrap: break-word; }
  .city-display .city-name--page { font-size: clamp(28px, calc(10.5vw - 5px), 40px); }
  /* DATENSCHUTZ misst bei 40px 315px, die Spalte auf 320px nur 288px */
  .legal-hero h1 { font-size: clamp(32px, calc(10.5vw - 2px), 40px); }
  .legal-block .num { padding-top: 0; }
  .legal-data { grid-template-columns: 1fr; }
  .legal-data dt {
    border-right: 0; border-top: 1.5px solid var(--ink);
    padding: 8px 14px;
  }
  .legal-data dt:first-of-type { border-top: 0; }
  .legal-data dd { padding: 10px 14px; }
}

/* ───────── STANDORTPROFIL ───────── */
/* Grid-Item in .location-text (gap: 22px) — kein eigenes margin-top.
   Innenabstaende brauchen .messe-profil als zweite Klasse, sonst gewinnt
   `.location-text p` (0,1,1) gegen die Einzelklasse (0,1,0). */
.messe-profil {
  border: var(--border); background: var(--paper-light);
}
.messe-profil-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 16px; background: var(--ink); color: var(--paper-light);
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.messe-profil-head .num { color: var(--paper-deep); white-space: nowrap; }
.messe-profil-body { padding: 16px; display: grid; gap: 12px; }
.messe-profil .messe-profil-body p {
  margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft);
}
.messe-profil .mp-messen {
  font-family: var(--font-mono); font-size: 12px; line-height: 1.5;
  color: var(--blue); letter-spacing: 0.01em;
}
.messe-profil .mp-messen b, .messe-profil .mp-hinweis b {
  color: var(--ink); font-weight: 600;
}
.messe-profil .mp-hinweis {
  padding-top: 12px; border-top: 1px solid var(--ink-line);
}

/* ───────── LEITMESSEN IM DETAIL ───────── */
/* Volle Breite unter .location-grid. Kacheln mit Haarlinien: jede Kachel
   zieht rechts und unten eine Linie, der Body ragt 1px ueber den Rahmen
   und wird abgeschnitten – so gibt es bei jeder Kachelzahl (1–6) weder
   doppelte Linien noch farbige Leerzellen. */
.messe-detail {
  margin-top: 40px; border: var(--border); background: var(--paper-light); overflow: hidden;
}
.messe-detail-body {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 -1px -1px 0;
}
/* Spaltenzahl nach Messeanzahl (vom Renderer gesetzt): 2 oder 4 Messen
   zweispaltig, damit keine 3+1-Verteilung entsteht; eine Messe einspaltig. */
.messe-detail--c2 .messe-detail-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.messe-detail--c1 .messe-detail-body { grid-template-columns: minmax(0, 1fr); }
.messe-detail .md-item {
  padding: 16px; border-right: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line);
}
.messe-detail .md-item h3 {
  margin: 0 0 4px; font-family: var(--font-display); font-size: 14px;
  line-height: 1.35; letter-spacing: 0.01em; color: var(--ink);
}
.messe-detail .messe-detail-body p {
  margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft);
}
.messe-detail .messe-detail-body .md-meta {
  margin: 0 0 8px; font-family: var(--font-mono); font-size: 11.5px;
  line-height: 1.5; color: var(--blue); letter-spacing: 0.01em;
}
.messe-detail .messe-detail-body .md-facts {
  grid-column: 1 / -1; padding: 12px 16px; border-bottom: 1px solid var(--ink-line);
  font-family: var(--font-mono); font-size: 12px; line-height: 1.55; color: var(--ink);
}
@media (max-width: 1080px) {
  .messe-detail--c3 .messe-detail-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .messe-detail { margin-top: 28px; }
  .messe-detail .messe-detail-body { grid-template-columns: minmax(0, 1fr); }
}

/* ───────── INTERNATIONAL (nur EN-Seiten) ───────── */
/* Baut auf dem Leitmessen-Raster auf (.messe-detail, gerendert von
   scripts/build-international.py). Eigene Regeln nur fuer Einleitung,
   Kachel-Ueberschriften (h4 unter der h3 der Einleitung) und CTA-Zeile.
   Selektoren mit .messe-detail-body, weil ".messe-detail .messe-detail-body p"
   sonst Schriftgroesse und Farbe gewinnt. */
.intl .messe-detail-body .intl-lead {
  grid-column: 1 / -1; padding: 18px 16px 16px;
  border-right: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line);
}
.intl .messe-detail-body .intl-lead h3 {
  margin: 0 0 8px; font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px); line-height: 1.25; letter-spacing: 0.01em; color: var(--ink);
}
.intl .messe-detail-body .intl-lead p { max-width: 72ch; }
.intl .md-item h4 {
  margin: 0 0 4px; font-family: var(--font-display); font-size: 14px;
  line-height: 1.35; letter-spacing: 0.01em; color: var(--ink);
}
.intl .messe-detail-body .intl-cta {
  grid-column: 1 / -1; padding: 12px 16px;
  border-right: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line);
  font-size: 13px;
}
.intl .messe-detail-body .intl-cta a {
  margin-left: 4px; white-space: nowrap; text-decoration: none;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--signal-deep);
}
.intl .messe-detail-body .intl-cta a:hover { text-decoration: underline; }

/* ───────── MESSEKALENDER ───────── */
/* Sitzt als Grid-Item in .location-text (gap: 22px) — deshalb KEIN eigenes
   margin-top, sonst addieren sich Gap und Margin zu ungleichem Abstand.
   Die Innenabstände brauchen .messe-cal als zweite Klasse, weil
   `.location-text p` (0,1,1) sonst `.messe-cal-lead` (0,1,0) überschreibt. */
.messe-cal {
  border: var(--border); background: var(--paper-light);
}
.messe-cal-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  padding: 10px 16px; background: var(--ink); color: var(--paper-light);
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.messe-cal-head .num { color: var(--paper-deep); white-space: nowrap; }
.messe-cal .messe-cal-title {
  margin: 16px 16px 4px; font-family: var(--font-display);
  font-size: 16px; letter-spacing: 0.01em; text-transform: uppercase;
}
.messe-cal .messe-cal-lead {
  margin: 0 16px 14px; font-size: 13px; line-height: 1.55; color: var(--ink-soft);
}
.messe-row {
  display: grid; grid-template-columns: 118px 1fr auto;
  grid-template-areas: "date name cta" "date branch cta";
  gap: 2px 12px; align-items: center;
  padding: 11px 16px; border-top: 1px solid var(--ink-line);
  text-decoration: none; color: inherit;
  transition: background-color .15s ease;
}
/* Abgelaufene Termine blendet blueprint.js aus (data-ende vor heute), damit
   zwischen zwei Builds keine vergangene Messe als "kommend" dasteht. Ohne
   diese Regel gewaenne display:grid gegen das hidden-Attribut. */
.messe-row[hidden] { display: none; }
.messe-row:hover { background: var(--signal-pale); }
.messe-row:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.messe-row .m-date {
  grid-area: date; font-family: var(--font-mono); font-weight: 600;
  font-size: 11.5px; letter-spacing: 0.02em; color: var(--blue);
}
.messe-row .m-name {
  grid-area: name; font-family: var(--font-display);
  font-size: 13.5px; letter-spacing: 0.01em; text-transform: uppercase;
}
.messe-row .m-branch {
  grid-area: branch; font-size: 11px; letter-spacing: 0.03em; color: var(--ink-muted);
}
.messe-row .m-cta {
  grid-area: cta; font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--signal-deep); white-space: nowrap;
  transition: transform .15s ease;
}
.messe-row:hover .m-cta, .messe-row:focus-visible .m-cta { transform: translateX(3px); }
/* Nur auf Mobile stapeln: unter 1080px wird .location-grid einspaltig, der
   Kalender also BREITER — erst unter 760px wird die Zeile wirklich eng. */
@media (max-width: 760px) {
  .messe-row {
    grid-template-columns: 1fr;
    grid-template-areas: "date" "name" "branch" "cta";
    gap: 3px;
  }
  .messe-row .m-cta { margin-top: 5px; }
}
/* ───────── STICKY LEAD BAR (mobile) ───────── */
.sticky-lead {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 30;
  background: var(--ink); color: var(--paper-light);
  padding: 12px 16px;
  border-top: 1.5px solid var(--signal);
  display: none;
  grid-template-columns: 1fr auto; gap: 12px;
  align-items: center;
}
.sticky-lead .sl-copy { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.sticky-lead .sl-cta {
  padding: 10px 16px;
  background: var(--signal); color: var(--ink);
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1.5px solid var(--signal);
}

/* Wer Bewegung reduziert haben will, bekommt die Zustaende trotzdem —
   nur ohne Versatz und ohne Laufzeit. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .nav-cta:hover, .btn-fill:hover, .btn-ghost:hover, .form-submit:hover,
  .spec-card:hover, .process-card:hover, .ref-card:hover { transform: none; }
}

/* ───────── RESPONSIVE ───────── */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .lead-band-inner { grid-template-columns: 1fr; gap: 28px; }
  /* minmax(0,…) statt 1fr: Grid-Items haben min-width:auto und
     schrumpfen sonst nicht unter ihre min-content-Breite — auf 320px
     stand die Karte sonst 20px ueber den Rand hinaus. */
  .spec-cards { grid-template-columns: minmax(0, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .process-card:nth-child(2), .process-card:nth-child(3) { margin-top: 0; }
  .ref-grid { grid-template-columns: 1fr 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  /* minmax(0,…) wie bei .spec-cards — sonst ragen die Karten auf 320px
     6px in den rechten Seitenrand und die Raender wirken unsymmetrisch. */
  .anfrage-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
/* ───────── TABLET-NAVIGATION ─────────
   Die Desktop-Navbar (Brand + 6 Nav-Links + EXPRESS + CTA) braucht rund
   1180px. Die Mobile-Navigation griff bisher erst ab 760px — dazwischen lief
   die Navbar aus dem Viewport heraus und die ganze Seite scrollte horizontal.
   Betroffen war u.a. iPad im Hochformat (768px). Hier wird deshalb bereits ab
   1100px auf die Hamburger-Navigation umgeschaltet; die 760px-Regeln weiter
   unten verfeinern zusaetzlich fuer Smartphones. */
@media (max-width: 1100px) {
  .spec-bar { display: none; }
  .navbar {
    grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 16px 20px;
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 30; background: var(--paper);
    border-bottom: 1px solid var(--ink-line);
  }
  body { padding-top: 72px; }
  html { scroll-padding-top: 80px; }
  .nav-list, .nav-secondary, .nav-cta { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border: 1.5px solid var(--ink);
    background: var(--paper-light); cursor: pointer;
    flex-direction: column; gap: 4px; padding: 0;
  }
  .menu-toggle span {
    width: 18px; height: 2px; background: var(--ink); border-radius: 1px;
    transition: transform .2s, opacity .2s;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .mobile-panel {
    display: block;
    position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
    background: var(--paper); z-index: 25;
    padding: 24px 20px; overflow-y: auto;
    transform: translateY(-100%);
    transition: transform .3s ease, visibility 0s linear .3s;
    border-bottom: var(--border);
    visibility: hidden; pointer-events: none;
  }
  .mobile-panel.is-open {
    transform: translateY(0); visibility: visible; pointer-events: auto;
    transition: transform .3s ease, visibility 0s linear 0s;
  }
  .mobile-panel a {
    display: block; padding: 14px 0; border-bottom: 1px solid var(--ink-line);
    font-size: 16px; letter-spacing: 0.02em;
  }
  .mobile-panel a .num { color: var(--blue); font-weight: 600; margin-right: 12px; }
  .mobile-panel-foot { display: grid; gap: 10px; margin-top: 28px; }
  .mobile-panel-foot a {
    display: inline-flex; justify-content: center; padding: 14px 18px;
    border: 1.5px solid var(--ink); text-transform: uppercase;
    font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  }
  .mobile-panel-foot .cta { background: var(--signal); color: var(--ink); }
}

@media (max-width: 760px) {
  body::before { background-size: 16px 16px, 16px 16px, 160px 160px, 160px 160px; }
  .spec-bar { display: none; }
  .navbar { grid-template-columns: 1fr auto auto; padding: 16px 20px; gap: 12px; }
  .nav-list { display: none; }
  .nav-secondary .ext { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border: 1.5px solid var(--ink);
    background: var(--paper-light); cursor: pointer;
    flex-direction: column; gap: 4px; padding: 0;
  }
  .menu-toggle span {
    width: 18px; height: 2px; background: var(--ink); border-radius: 1px;
    transition: transform .2s, opacity .2s;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .mobile-panel {
    display: block;
    position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
    background: var(--paper); z-index: 25;
    padding: 24px 20px; overflow-y: auto;
    transform: translateY(-100%);
    transition: transform .3s ease, visibility 0s linear .3s;
    border-bottom: var(--border);
    visibility: hidden;
    pointer-events: none;
  }
  .mobile-panel.is-open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform .3s ease, visibility 0s linear 0s;
  }
  .mobile-panel a {
    display: block; padding: 14px 0; border-bottom: 1px solid var(--ink-line);
    font-size: 16px; letter-spacing: 0.02em;
  }
  .mobile-panel a .num { color: var(--blue); font-weight: 600; margin-right: 12px; }
  .mobile-panel-foot { display: grid; gap: 10px; margin-top: 28px; }
  .mobile-panel-foot a {
    display: inline-flex; justify-content: center; padding: 14px 18px;
    border: 1.5px solid var(--ink); text-transform: uppercase;
    font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  }
  .mobile-panel-foot .cta { background: var(--signal); color: var(--ink); }
  .hero { padding: 32px 20px 48px; }
  .city-display .dim { display: none; }
  .lead-band { padding: 0 20px; margin-top: 56px; }
  .lead-band-inner { padding: 40px 0 32px; }
  .section { padding: 64px 20px 16px; }
  .section-head { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ref-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field { border-right: 0; }
  .form-foot { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding: 40px 20px 24px; }
  .footer-col.cities { grid-template-columns: 1fr 1fr; }
  .sticky-lead { display: grid; }
  .footer { margin-bottom: 64px; }

  /* ── Mobile navbar: fixed on top so brand + hamburger stay reachable while scrolling ── */
  .navbar {
    grid-template-columns: minmax(0, 1fr) auto; gap: 12px;
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 30;
    background: var(--paper);
    border-bottom: 1px solid var(--ink-line);
  }
  body { padding-top: 72px; }
  html { scroll-padding-top: 80px; }
  .nav-cta { display: none; }
  .nav-secondary { display: none; }

  /* ── Brand text: slightly more compact for 375px viewports ── */
  .brand .b-l1 { font-size: 14px; letter-spacing: 0.04em; }

  /* ── Sheet title: tighter on mobile ── */

  /* ── city-dim: wrap items, drop slash separators on narrow screens ── */
  .city-dim { flex-wrap: wrap; row-gap: 6px; column-gap: 12px; font-size: 10.5px; }
  .city-dim .sep { display: none; }
  .city-dim::before, .city-dim::after { height: 8px; }

  /* ── Sticky-lead: respect iPhone home-indicator safe area ── */
  .sticky-lead { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .footer { margin-bottom: calc(64px + env(safe-area-inset-bottom)); }

  /* ── Form / input sizing: prevent iOS auto-zoom (≥16px font-size) ── */
  .form-field input, .form-field textarea, .form-field select,
  .hero-form-input { font-size: 16px; }
}

/* Einzeilige Stadtnamen mit neun Buchstaben (NUREMBERG, KARLSRUHE, STUTTGART)
   brauchen rund das 6,9-Fache der Schriftgroesse an Breite. Mit dem festen
   Minimum von 56px ragte NUREMBERG auf 390px 13px ueber den Rand; die Schrift
   folgt deshalb unter 480px der Breite. Zweizeilige Namen (<br>) haben ihre
   eigene Groesse am .city-name. */
@media (max-width: 480px) {
  .city-display { font-size: clamp(40px, calc(14vw - 6px), 56px); }
}

/* ── Extra-narrow breakpoint for iPhone SE / Mini (≤380px) ── */
@media (max-width: 380px) {
  /* "FRIEDRICHSHAFEN?" misst bei 28px 307px, die Spalte auf 320px nur 284px.
     Die Schrift waechst deshalb mit der Breite; die Trennung hilft bei
     deutschen Komposita, ein Stadtname auf Englisch wird nicht getrennt. */
  .section-head h2 { font-size: clamp(22px, 7.2vw, 28px); hyphens: auto; overflow-wrap: break-word; }
  .brand .b-l1 { overflow-wrap: anywhere; }
  .contact-card-lines .line .v { overflow-wrap: anywhere; }
  .hero { padding: 24px 16px 40px; }
  .section { padding: 56px 16px 12px; }
  .legal-hero, .legal-doc { padding-inline: 16px; }
  .brand .b-l1 { font-size: 13px; }
  .city-display .city-name:has(br) { font-size: clamp(40px, 11vw, 84px); }
  .city-dim { flex-direction: column; align-items: flex-start; gap: 4px; }
  .city-dim::before, .city-dim::after { display: none; }
  .sticky-lead { padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
  .sticky-lead .sl-copy { font-size: 10px; }
  .sticky-lead .sl-cta { padding: 9px 12px; font-size: 10.5px; }
}

/* ───────── ANGEBOT UND ANFRAGEFÜHRUNG (2026-09-30) ─────────
   Bloecke aus scripts/build-angebot.py: Plankopf im Hero, Preisblock in den
   Karten, Stand-Planer, Aufruf-Band nach den Referenzen, Schritte neben dem
   Formular. Farbvertrag: Orange nur fuer Handlungen, Blau fuer Daten. */

/* Kopfzeile mitlaufen lassen: Die Navbar war sticky, sass aber in <header>
   und klebte damit nur innerhalb ihrer eigenen Hoehe, also nie. Beim Scrollen
   durch Standort und FAQ gab es auf dem Desktop keinen sichtbaren Knopf. */
@media (min-width: 1101px) {
  header { position: sticky; top: 0; z-index: 40; }
}

/* Plankopf: das Schriftfeld einer technischen Zeichnung, mit echten Angaben */
.plankopf {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  margin: 26px 0 0; max-width: 660px;
  border: var(--border); background: var(--paper-light);
}
.plankopf .pk-cell {
  display: grid; gap: 4px; align-content: center;
  padding: 10px 16px; border-left: 1px solid var(--ink-line);
}
.plankopf .pk-cell:first-child { border-left: 0; }
.plankopf dt {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-muted);
}
.plankopf dd { margin: 0; font-size: 12.5px; line-height: 1.35; color: var(--ink); }
.plankopf .pk-jahr dd {
  font-family: var(--font-display); font-size: 24px; line-height: 1;
  letter-spacing: -0.01em; color: var(--blue);
}
.plankopf dd a { color: var(--ink); border-bottom: 1px solid var(--ink-line); }
.plankopf dd a:hover { color: var(--blue); border-color: var(--blue); }

/* Preisblock in den Wege-Karten */
.preisblock {
  display: grid; gap: 12px;
  padding-top: 18px; border-top: 1px solid var(--ink-line);
}
/* Doppelte Klasse: .spec-card-body p setzt sonst Groesse und Farbe */
.preisblock .pb-preis {
  margin: 0; font-family: var(--font-display); color: var(--ink);
  font-size: clamp(30px, 3vw, 40px); line-height: 1; letter-spacing: -0.02em;
}
.pb-preis .pb-ab {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
  vertical-align: 0.55em; margin-right: 2px;
}
.pb-preis .pb-netto {
  display: block; margin-top: 8px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft);
}
.pb-groessen { width: 100%; border-collapse: collapse; font-size: 13px; }
.pb-groessen caption {
  caption-side: top; text-align: left; padding-bottom: 6px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--ink-muted);
}
.pb-groessen th, .pb-groessen td {
  padding: 7px 0; border-top: 1px solid var(--ink-faint);
  text-align: left; font-weight: 500;
}
.pb-groessen th { width: 34px; font-family: var(--font-display); font-weight: 400; font-size: 14px; color: var(--blue); }
.pb-groessen td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }
.preisblock .pb-inkl, .preisblock .pb-frist { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--ink-soft); }
.pb-inkl b { color: var(--ink); font-weight: 600; }
.spec-card.is-recommended .preisblock { border-top-color: rgba(239, 234, 219, 0.18); }
.spec-card.is-recommended .preisblock .pb-preis { color: var(--paper-light); font-size: clamp(26px, 2.6vw, 34px); text-transform: uppercase; }
.spec-card.is-recommended .pb-preis .pb-netto { color: rgba(239, 234, 219, 0.74); }
.pb-liste { margin: 0; padding: 0; display: grid; gap: 9px; }
.pb-liste li {
  list-style: none; display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px;
  font-size: 13px; line-height: 1.5; color: rgba(239, 234, 219, 0.86);
}
.pb-liste li::before { content: "■"; font-size: 9px; padding-top: 4px; color: var(--paper-deep); }

/* Auswahl-Chips (Stand-Planer und Formular) */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-grid; cursor: pointer; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: grid; gap: 2px; align-content: center;
  padding: 8px 11px; border: 1.5px solid var(--ink); background: var(--paper-bright);
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.2;
  box-shadow: 2px 2px 0 var(--ink-line);
  transition: background .15s, color .15s, box-shadow .15s, transform .15s;
}
.chip span small {
  font-size: 9.5px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-muted);
}
.chip:hover span { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--paper-light); box-shadow: 3px 3px 0 var(--blue); }
.chip input:checked + span small { color: var(--paper-deep); }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Stand-Planer */
.standplaner {
  margin-top: 56px; scroll-margin-top: 110px;
  border: var(--border); background: var(--paper-light); box-shadow: var(--shadow-card);
}
.sp-kopf {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 36px; align-items: baseline;
  padding: 22px 26px; border-bottom: 1.5px solid var(--ink);
}
.sp-kopf h3 {
  margin: 0; font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px);
  line-height: 1.05; letter-spacing: -0.01em; text-transform: uppercase;
}
.sp-kopf p { margin: 0; max-width: 66ch; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }
.sp-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr) minmax(0, 0.9fr); }
.sp-steuerung {
  display: grid; gap: 24px; align-content: start;
  padding: 22px 24px; border-right: 1px solid var(--ink-line);
}
.sp-steuerung fieldset, .form-typ { min-width: 0; margin: 0; border: 0; }
.sp-steuerung fieldset { padding: 0; }
.sp-steuerung legend, .form-typ legend {
  float: left; width: 100%; padding: 0; margin-bottom: 10px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--ink-muted);
}
.sp-steuerung .chip-row, .form-typ .chip-row { clear: both; }
.chip-row-typ { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chip-row-typ .chip { display: grid; }
.chip-row-typ .chip span { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; }
/* Grundriss-Symbol je Standtyp: durchgezogen = Wand, gestrichelt = offen zum Gang
   (vorne unten), wie in der grossen Skizze */
.pikto { width: 20px; height: 13px; box-sizing: border-box; border: 2px solid currentColor; }
.pikto-row { border-bottom-style: dashed; }
.pikto-corner { border-bottom-style: dashed; border-right-style: dashed; }
.pikto-peninsula { border-style: solid dashed dashed; }
.pikto-island { border-style: dashed; }
.sp-plan {
  margin: 0; padding: 14px 16px 12px; display: grid; gap: 8px; align-content: start;
  border-right: 1px solid var(--ink-line); background: var(--paper-bright);
}
.sp-svg { display: block; width: 100%; height: auto; aspect-ratio: 560 / 380; }
.sp-ergebnis { display: grid; gap: 10px; align-content: start; padding: 22px 24px; }
.sp-weg-label {
  margin: 0; font-size: 10px; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--ink-muted);
}
.sp-weg { margin: 0; font-family: var(--font-display); font-size: 22px; line-height: 1.05; text-transform: uppercase; }
.sp-preis { margin: 0; display: grid; gap: 4px; }
.sp-preis b {
  font-family: var(--font-display); font-weight: 400; font-size: 30px;
  line-height: 1; letter-spacing: -0.02em; color: var(--blue);
}
.sp-preis span { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.sp-text { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
.sp-aktionen { display: grid; gap: 14px; margin-top: 6px; }
.sp-extern {
  justify-self: start; padding-bottom: 2px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--ink-line);
}
.sp-extern:hover { color: var(--blue); border-color: var(--blue); }
.sp-extern[hidden], .sp-text[hidden] { display: none; }
.sp-quelle { margin: 4px 0 0; font-size: 10.5px; line-height: 1.5; color: var(--ink-muted); }
/* Zeichnung: Farben ueber Klassen, damit die Skizze dem Farbvertrag folgt */
.sp-svg .raster line { stroke: rgba(26, 77, 140, 0.16); stroke-width: 1; }
.sp-svg .schraffur { stroke: rgba(21, 19, 14, 0.10); stroke-width: 2; }
.sp-svg .flaeche { fill: url(#sp-schraffur); }
.sp-svg .flaeche-grund { fill: var(--paper-light); }
.sp-svg .wand { stroke: var(--ink); stroke-width: 5; stroke-linecap: square; fill: none; }
.sp-svg .gang { stroke: var(--blue); stroke-width: 2; stroke-dasharray: 7 6; }
.sp-svg .gang-text, .sp-svg .typ, .sp-svg .mass text, .sp-svg .skala text {
  font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.12em;
}
.sp-svg .gang-text { fill: var(--blue); font-size: 10px; }
.sp-svg .mass line { stroke: var(--blue); stroke-width: 1; }
.sp-svg .mass .strich { stroke-width: 1.5; }
.sp-svg .mass text { fill: var(--blue); font-size: 11px; letter-spacing: 0.04em; }
.sp-svg .m2 { fill: var(--ink); font-family: var(--font-display); font-size: 28px; }
.sp-svg .typ { fill: var(--ink-soft); font-size: 10px; }
.sp-svg .skala line { stroke: var(--ink); stroke-width: 1.5; }
.sp-svg .skala text { fill: var(--ink-muted); font-size: 10px; font-weight: 500; letter-spacing: 0.04em; }

/* Aufruf nach den Referenzen */
.anfrage-band { max-width: var(--max-w); margin: 72px auto 0; padding: 0 var(--gutter); }
.ab-inner {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto;
  gap: 28px 44px; align-items: center;
  padding: 30px 32px; border: var(--border);
  background: var(--ink); color: var(--paper-light); box-shadow: 6px 6px 0 var(--blue);
}
.ab-titel {
  margin: 0; font-family: var(--font-display); font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.08; letter-spacing: -0.01em; text-transform: uppercase;
}
.ab-sub { margin: 10px 0 0; font-size: 13px; line-height: 1.55; color: rgba(239, 234, 219, 0.78); }
.ab-sub a { color: var(--paper-light); border-bottom: 1px solid rgba(239, 234, 219, 0.4); white-space: nowrap; }
.ab-sub a:hover { color: var(--signal); border-color: var(--signal); }
.ab-label {
  margin: 0 0 8px; font-size: 10px; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--paper-deep);
}
.ab-termine ul { margin: 0; padding: 0; display: grid; gap: 2px; }
.ab-termine li { list-style: none; }
.ab-termine li[hidden] { display: none; }
.ab-termine a {
  display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 10px; align-items: baseline;
  padding: 6px 0; border-bottom: 1px solid rgba(239, 234, 219, 0.16);
  font-size: 12.5px; color: var(--paper-light);
}
.ab-termine a span { font-size: 11.5px; color: var(--paper-deep); }
.ab-termine a b { font-weight: 600; }
.ab-termine a i {
  grid-column: 2; font-style: normal; font-size: 11px; line-height: 1.4;
  color: rgba(239, 234, 219, 0.66);
}
.ab-termine a:hover b { color: var(--signal); }
.ab-inner .btn-fill { background: var(--signal); color: var(--ink); box-shadow: 4px 4px 0 var(--paper-light); }
.ab-inner .btn-fill:hover { box-shadow: 6px 6px 0 var(--paper-deep); }
.ab-inner .btn-fill .b-num, .ab-inner .btn-fill .b-arrow { color: var(--ink); }

/* Schritte neben dem Formular */
.schritte { margin: 8px 0 0 13px; padding: 0; display: grid; border-left: 1.5px solid var(--ink); }
.schritte li { list-style: none; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding: 0 0 18px; }
.schritte li:last-child { padding-bottom: 0; }
.schritte .s-nr {
  display: grid; place-items: center; width: 26px; height: 26px; margin-left: -14px;
  background: var(--paper); border: 1.5px solid var(--ink);
  font-family: var(--font-display); font-size: 12px; color: var(--blue);
}
.anfrage-intro .schritte p { display: grid; gap: 3px; font-size: 13px; line-height: 1.55; }
.schritte b {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink);
}
.anfrage-intro .direkt { font-size: 13px; }
.anfrage-intro .direkt a { color: var(--ink); border-bottom: 1px solid var(--ink-line); white-space: nowrap; }
.anfrage-intro .direkt a:hover { color: var(--signal-deep); border-color: var(--signal); }

/* Formular: Standtyp, und die Trennlinie gehoert zwischen Flaeche und Zeitraum */
.form-typ.form-field { display: block; padding: 18px 22px; }
.form-typ .chip span { padding: 7px 10px; font-size: 11.5px; color: var(--ink); }
.form-typ .chip input:checked + span { color: var(--paper-light); }
.form-grid > .form-field:has(#f-area) { border-right: 1px solid var(--ink-line); }
.form-grid > .form-field:has(#f-timeline) { border-right: 0; }

/* Handy-Leiste: Anrufen */
.sticky-lead { grid-template-columns: minmax(0, 1fr) auto auto; }
.sticky-lead .sl-tel {
  padding: 10px 12px; border: 1.5px solid rgba(239, 234, 219, 0.5);
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--paper-light);
}

/* Auftritt im Hero: Plankopf und Eckdaten setzen nacheinander ein. Die
   H1 und der Nutzensatz (LCP) bleiben sofort sichtbar. */
@media (prefers-reduced-motion: no-preference) {
  .plankopf .pk-cell, .hero .spec-list { animation: pk-auf .5s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .spec-list { animation-delay: .06s; }
  .plankopf .pk-cell:nth-child(1) { animation-delay: .14s; }
  .plankopf .pk-cell:nth-child(2) { animation-delay: .22s; }
  .plankopf .pk-cell:nth-child(3) { animation-delay: .30s; }
  .sp-svg .wand { stroke-dasharray: 1; stroke-dashoffset: 1; animation: sp-zeichnen .5s ease-out forwards; }
  .sp-svg .gang, .sp-svg .flaeche, .sp-svg .mass { animation: sp-ein .4s ease-out both; }
  .sp-svg.sp-ruhig .wand, .sp-svg.sp-ruhig .gang, .sp-svg.sp-ruhig .flaeche, .sp-svg.sp-ruhig .mass { animation: none; stroke-dashoffset: 0; }
}
@keyframes pk-auf { from { opacity: 0; transform: translateY(6px); } }
@keyframes sp-zeichnen { to { stroke-dashoffset: 0; } }
@keyframes sp-ein { from { opacity: 0; } }

@media (max-width: 1080px) {
  .sp-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .sp-ergebnis { grid-column: 1 / -1; border-top: 1px solid var(--ink-line); }
  .sp-plan { border-right: 0; }
  .ab-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ab-inner > .btn-fill { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 760px) {
  .plankopf { grid-template-columns: auto minmax(0, 1fr); }
  .plankopf .pk-cell:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--ink-line); }
  .sp-kopf { grid-template-columns: minmax(0, 1fr); padding: 18px 18px; }
  .sp-grid { grid-template-columns: minmax(0, 1fr); }
  .sp-steuerung { border-right: 0; border-bottom: 1px solid var(--ink-line); padding: 18px; }
  .sp-plan { padding: 12px; }
  .sp-ergebnis { padding: 18px; }
  .anfrage-band { margin-top: 56px; padding: 0 20px; }
  .ab-inner { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; box-shadow: 4px 4px 0 var(--blue); }
  .ab-inner > .btn-fill { justify-self: stretch; }
  .ab-termine a { grid-template-columns: 112px minmax(0, 1fr); }
  /* Die Skizze schrumpft auf rund 60 %: Beschriftung in Nutzereinheiten
     vergroessern, damit sie auf dem Handy bei etwa 10 px landet. */
  .sp-svg .gang-text { font-size: 16px; }
  .sp-svg .mass text { font-size: 17px; }
  .sp-svg .typ { font-size: 15px; }
  .sp-svg .skala text { font-size: 16px; }
  .sp-svg .m2 { font-size: 34px; }
}
/* "Antwort in 48 h" passt neben zwei Knoepfen erst ab gut 430 px in eine Zeile */
@media (max-width: 430px) {
  .sticky-lead { grid-template-columns: auto minmax(0, 1fr); }
  .sticky-lead .sl-copy { display: none; }
  .sticky-lead .sl-cta { text-align: center; }
}
@media (max-width: 380px) {
  .anfrage-band { padding: 0 16px; }
  .plankopf .pk-cell { padding: 9px 12px; }
}

/* ───────── REFRESH (2026-09-30): Leben, Fokus Ausland ─────────
   Bewegung nur ohne Bewegungsreduktion, Einblendungen per Scroll-Zeitleiste
   (CSS, ohne Bibliothek). Browser ohne animation-timeline zeigen alles
   statisch. H1 und Nutzensatz (LCP) bewegen sich nie. */

/* Messe-Puls im Hero: naechste Messe am Standort, Countdown aus blueprint.js */
.label-live { color: var(--ink); transition: background .15s; }
.label-live::before { display: none; }
.label-live:hover { background: var(--paper-bright); }
.label-live b { font-weight: 600; color: var(--blue); }
.live-punkt {
  position: relative; flex: none; width: 8px; height: 8px;
  background: var(--blue); border: 1.5px solid var(--ink);
}
.live-punkt::after {
  content: ""; position: absolute; inset: -5px;
  border: 1.5px solid var(--blue); opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .live-punkt::after { animation: puls 2.4s ease-out infinite; }
}
@keyframes puls {
  0% { opacity: .7; transform: scale(.5); }
  70%, 100% { opacity: 0; transform: scale(1.4); }
}

/* Wegweiser unter dem Plankopf: DE-Seite auf Englisch, EN-Seite auf Deutsch */
.hero-intl { margin: 16px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); }
.hero-intl a {
  color: var(--ink); font-weight: 600; white-space: nowrap;
  border-bottom: 1.5px solid var(--blue); padding-bottom: 1px;
}
.hero-intl a:hover { color: var(--blue); }

/* Countdown und Planungsfenster (Kalender, Aufruf-Band) */
.m-count { display: block; margin-top: 3px; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.m-fenster {
  display: inline-block; margin-top: 5px; padding: 2px 6px;
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--paper-light); background: var(--blue);
}
.messe-row.is-fenster { box-shadow: inset 3px 0 0 var(--blue); }
.ab-termine .m-count { color: rgba(239, 234, 219, 0.6); }
.ab-termine .m-fenster { color: var(--ink); background: var(--paper-deep); }

/* Spickzettel fuer Aussteller aus dem Ausland (EN, direkt unter dem Hero) */
.section-intl { padding-top: 56px; }
.spickzettel {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  border: var(--border); background: var(--paper-light); box-shadow: var(--shadow-card);
}
.sz-kopf { padding: 30px 30px 32px; background: var(--ink); color: var(--paper-light); }
/* Ueberschrift und Knopf laufen beim Lesen der Liste mit (nur nebeneinander) */
.sz-kopf-innen { display: grid; gap: 16px; position: sticky; top: 104px; }
.sz-tag {
  margin: 0; font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--paper-deep);
}
.sz-kopf h2 {
  margin: 0; font-family: var(--font-display); font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.04; letter-spacing: -0.015em; text-transform: uppercase;
}
.sz-kopf p:not(.sz-tag) { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(239, 234, 219, 0.8); }
.sz-kopf .btn-fill {
  justify-self: start; margin-top: 6px;
  background: var(--signal); color: var(--ink); box-shadow: 4px 4px 0 var(--paper-light);
}
.sz-kopf .btn-fill:hover { box-shadow: 6px 6px 0 var(--paper-deep); }
.sz-kopf .btn-fill .b-num, .sz-kopf .btn-fill .b-arrow { color: var(--ink); }
.sz-liste { margin: 0; padding: 10px 30px; list-style: none; display: grid; }
.sz-liste li {
  display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 14px 0; border-bottom: 1px solid var(--ink-faint);
}
.sz-liste li:last-child { border-bottom: 0; }
.sz-haken {
  position: relative; width: 22px; height: 22px; margin-top: 1px;
  border: 1.5px solid var(--ink); background: var(--paper-bright);
}
.sz-haken::after {
  content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px;
  border: solid var(--blue); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.sz-liste p { margin: 0; display: grid; gap: 4px; }
.sz-liste b { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.sz-liste span { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }
.sz-fuss {
  grid-column: 1 / -1; margin: 0; padding: 14px 30px;
  border-top: 1.5px solid var(--ink); background: var(--paper-bright);
  font-size: 12.5px; line-height: 1.55; color: var(--ink-soft);
}

/* Lesefortschritt am unteren Rand der Kopfzeile (Blau = Daten) */
.navbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1.5px; height: 3px;
  background: var(--blue); transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* Abschnitte und Karten tauchen beim Scrollen auf */
    .section-head, .spec-card, .standplaner, .process-card, .ref-group-head, .ref-card,
    .ab-inner, .spickzettel, .place-spec, .messe-cal, .messe-profil, .messe-detail,
    .faq-item, .anfrage-intro, .form-card, .contact-card {
      animation: auftauchen linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
    /* Haken im Spickzettel setzen sich Zeile fuer Zeile */
    .sz-liste li { animation: auftauchen linear both; animation-timeline: view(); animation-range: entry 10% entry 70%; }
    .sz-haken::after { animation: haken linear both; animation-timeline: view(); animation-range: entry 40% entry 100%; }
    /* Referenzen: von der Blaupause zum gebauten Stand */
    .ref-card .ref-img img { animation: entwicklung linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
    /* Lesefortschritt */
    .navbar::after { animation: fortschritt linear both; animation-timeline: scroll(root); }
  }
  @supports (animation-timeline: view()) {
    @media (min-width: 761px) {
      /* Titelbild bewegt sich beim Wegscrollen leicht (Parallaxe, nur transform) */
      .hero-plate-wide .plate-img img { animation: parallaxe linear both; animation-timeline: view(); animation-range: cover 50% cover 100%; }
    }
  }
}
@keyframes auftauchen { from { opacity: 0; transform: translateY(26px); } }
@keyframes haken { from { opacity: 0; transform: rotate(45deg) scale(0.2); } }
@keyframes entwicklung {
  from { filter: grayscale(1) sepia(0.4) hue-rotate(175deg) saturate(1.8) contrast(0.92) brightness(1.04); }
  to { filter: contrast(1.05) saturate(0.92); }
}
@keyframes fortschritt { to { transform: scaleX(1); } }
/* scale 1.08 gibt je Seite 4 % Reserve, die Verschiebung um 3 % bleibt damit im Bild */
@keyframes parallaxe { from { transform: scale(1.08); } to { transform: translateY(-3%) scale(1.08); } }

/* Beim Drucken nichts ausblenden: Scroll-Einblendungen stehen sonst auf 0 */
@media print {
  *, *::before, *::after { animation: none !important; }
}
@media (max-width: 1080px) {
  .spickzettel { grid-template-columns: minmax(0, 1fr); }
  .sz-kopf-innen { position: static; }
  .sz-liste { padding: 6px 24px; }
}
@media (max-width: 760px) {
  .section-intl { padding-top: 40px; }
  .sz-kopf { padding: 24px 20px; }
  .sz-liste { padding: 4px 18px; }
  .sz-fuss { padding: 14px 18px; }
  .hero-intl a { white-space: normal; }
}
