/* ==========================================================================
   GÜHH – Güterkraftverkehr Hamburg Holstein GmbH
   Relaunch 2026 – shared stylesheet
   Vanilla CSS, no build step. Light corporate theme.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand ---------------------------------------------------------------- */
  --brand-900: #0c2743;
  --brand-800: #113453;
  --brand-700: #163f68;
  --brand-600: #1c4c7c; /* original corporate blue */
  --brand-500: #2a659d;
  --brand-300: #7ea6cd;
  --brand-100: #dbe7f3;
  --brand-050: #f1f6fb;

  --accent-600: #8f5104; /* AA-safe accent text on white */
  --accent-500: #d97904;
  --accent-400: #fa9126; /* original corporate orange */
  --accent-200: #ffd8ab;
  --accent-050: #fff5e9;

  /* Neutrals ------------------------------------------------------------- */
  --ink-900: #14181d;
  --ink-700: #333a42;
  --ink-500: #5b646e;
  --ink-400: #646f7a; /* AA-safe on white and on the light surfaces */
  --line: #e2e7ec;
  --line-soft: #eef1f5;
  --surface: #ffffff;
  --surface-2: #f6f8fa;
  --surface-3: #eef2f6;

  /* Typography ----------------------------------------------------------- */
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Archivo", "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-h4: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  --fs-h3: clamp(1.25rem, 1.12rem + 0.6vw, 1.5rem);
  --fs-h2: clamp(1.6rem, 1.28rem + 1.45vw, 2.5rem);
  --fs-h1: clamp(2rem, 1.4rem + 2.7vw, 3.5rem);
  --fs-hero: clamp(1.9rem, 1.05rem + 3.6vw, 4rem);

  /* Space ---------------------------------------------------------------- */
  --space-section: clamp(3.5rem, 2rem + 6vw, 7rem);
  --space-gap: clamp(1.25rem, 0.8rem + 1.6vw, 2.5rem);
  --container: 1240px;
  --container-narrow: 860px;
  --gutter: clamp(1.15rem, 0.6rem + 2.2vw, 2.5rem);

  /* Effects -------------------------------------------------------------- */
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(12, 39, 67, 0.06), 0 2px 8px rgba(12, 39, 67, 0.05);
  --shadow-md: 0 4px 12px rgba(12, 39, 67, 0.07), 0 14px 34px rgba(12, 39, 67, 0.08);
  --shadow-lg: 0 8px 20px rgba(12, 39, 67, 0.09), 0 28px 60px rgba(12, 39, 67, 0.12);
  --ring: 0 0 0 3px rgba(42, 101, 157, 0.35);

  --header-h: 128px;
  --header-h-condensed: 68px;
  --ease: cubic-bezier(0.22, 0.7, 0.32, 1);
}

/* --------------------------------------------------------------------------
   2. Base / reset add-ons
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h-condensed) + 1.5rem);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink-700);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.7;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--brand-900);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-600); }

strong { color: var(--brand-900); font-weight: 650; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

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

::selection { background: var(--brand-100); color: var(--brand-900); }

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  z-index: 999;
  background: var(--brand-600);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.18s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

.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;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}
.container--narrow { width: min(100% - (var(--gutter) * 2), var(--container-narrow)); }

.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(2.5rem, 1.6rem + 3.4vw, 4.5rem); }
.section--muted { background: var(--surface-2); }
.section--brandtint {
  background:
    radial-gradient(120% 90% at 100% 0%, var(--brand-050) 0%, transparent 60%),
    var(--surface);
}

.stack > * + * { margin-top: 1.1rem; }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 1.2rem + 2.4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin: 0 0 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent-400);
  border-radius: 2px;
}
.section-head--center .eyebrow { justify-content: center; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--ink-700);
}

.rule {
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent-400);
  border: 0;
  margin: 0 0 1.6rem;
}
.section-head--center .rule { margin-inline: auto; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand-600);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border: 2px solid var(--btn-bd);
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--btn-fg);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--primary { --btn-bg: var(--brand-600); --btn-fg: #fff; }
.btn--primary:hover { --btn-bg: var(--brand-800); }

.btn--accent { --btn-bg: var(--accent-400); --btn-fg: #2b1a04; }
.btn--accent:hover { --btn-bg: #ffa544; --btn-fg: #2b1a04; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--brand-700);
  --btn-bd: var(--brand-300);
}
.btn--ghost:hover { --btn-bg: var(--brand-050); --btn-fg: var(--brand-800); --btn-bd: var(--brand-500); }

.btn--onDark {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}
.btn--onDark:hover { --btn-bg: #fff; --btn-fg: var(--brand-900); --btn-bd: #fff; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.9rem;
}
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-600);
  text-decoration: none;
}
.link-arrow svg { width: 1em; height: 1em; transition: transform 0.2s var(--ease); }
.link-arrow:hover { color: var(--accent-600); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.site-header.is-condensed {
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 6px 24px rgba(12, 39, 67, 0.09);
}

/* Utility bar */
.topbar {
  background: var(--brand-800);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-xs);
  max-height: 46px;
  overflow: hidden;
  transition: max-height 0.3s var(--ease), opacity 0.25s var(--ease);
}
.site-header.is-condensed .topbar { max-height: 0; opacity: 0; }

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem 1.15rem;
  min-height: 46px;
  padding-block: 0.3rem;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--accent-200); text-decoration: underline; }

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}
.topbar__item svg { width: 14px; height: 14px; opacity: 0.85; flex: none; }

.topbar__sep {
  width: 1px;
  height: 15px;
  background: rgba(255, 255, 255, 0.28);
}

.langswitch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.langswitch [aria-current="true"] {
  color: var(--accent-400);
  font-weight: 700;
  text-decoration: none;
}
.langswitch__sep { color: rgba(255, 255, 255, 0.4); }

/* On narrow screens the utility bar wraps onto two lines – give it the room */
@media (max-width: 760px) {
  .topbar { max-height: 116px; }
  .topbar__inner { justify-content: center; gap: 0.25rem 0.9rem; padding-block: 0.5rem; }
  .topbar__sep { display: none; }
  .langswitch { flex-basis: 100%; justify-content: center; }
}

/* Header bar */
.headerbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 82px;
  transition: min-height 0.3s var(--ease);
}
.site-header.is-condensed .headerbar { min-height: 66px; }

/* Brand logo (header + footer) — original GÜHH logo files */
.brandlogo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 0.2rem 0;
  flex: none;
}
.brandlogo img {
  display: block;
  width: auto;
  height: clamp(40px, 2.4rem + 1.2vw, 56px);
  transition: height 0.3s var(--ease);
}
.site-header.is-condensed .brandlogo img { height: clamp(34px, 2rem + 0.9vw, 44px); }
.brandlogo--footer img {
  height: 58px;
  border-radius: 6px;
}

/* Wordmark (still used inside the dark mobile navigation panel) */
.wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  line-height: 1;
  padding: 0.2rem 0;
}
.wordmark__mark {
  display: flex;
  align-items: baseline;
  gap: 0.42rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.35rem + 1vw, 2.15rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--brand-700);
  transition: font-size 0.3s var(--ease);
}
.wordmark__mark::after {
  content: "";
  width: 0.34em;
  height: 0.34em;
  border-radius: 50%;
  background: var(--accent-400);
  flex: none;
}
.wordmark__sub {
  font-size: clamp(0.58rem, 0.5rem + 0.24vw, 0.7rem);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-400);
  transition: opacity 0.25s var(--ease);
}
.site-header.is-condensed .wordmark__mark { font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.7rem); }

/* Desktop nav */
.nav { display: none; }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, -0.3rem + 1.6vw, 1.1rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  position: relative;
  display: block;
  padding: 0.75rem 0.7rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-800);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.18s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.35rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s var(--ease);
}
.nav__link:hover { color: var(--brand-600); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--brand-600); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header__cta { display: none; }

/* Hamburger */
.navtoggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.62rem 0.85rem;
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-sm);
  color: var(--brand-800);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.navtoggle:hover { background: var(--brand-100); }
.navtoggle__bars { display: grid; gap: 4px; }
.navtoggle__bars span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

@media (min-width: 1000px) {
  .nav { display: block; }
  .navtoggle { display: none; }
}
@media (min-width: 1180px) {
  .header__cta { display: inline-flex; }
}

/* Mobile nav dialog */
.mobilenav {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  background: var(--brand-900);
  color: #fff;
}
.mobilenav::backdrop { background: rgba(8, 22, 38, 0.6); }
.mobilenav__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.25rem var(--gutter) 2.5rem;
}
.mobilenav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.mobilenav .wordmark__mark { color: #fff; }
.mobilenav .wordmark__sub { color: rgba(255, 255, 255, 0.55); }
.mobilenav__close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}
.mobilenav__close:hover { background: rgba(255, 255, 255, 0.16); }
.mobilenav__close svg { width: 20px; height: 20px; }

.mobilenav__list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}
.mobilenav__list a {
  display: block;
  padding: 0.95rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobilenav__list a:hover,
.mobilenav__list a[aria-current="page"] { color: var(--accent-400); }

.mobilenav__meta {
  margin-top: auto;
  padding-top: 2rem;
  display: grid;
  gap: 0.7rem;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.72);
}
.mobilenav__meta a { color: #fff; }

/* --------------------------------------------------------------------------
   6. Image placeholders  (NO real images anywhere – drop-in slots)
   -------------------------------------------------------------------------- */
.img-placeholder {
  --ph-ratio: 16 / 10;
  position: relative;
  margin: 0;
  aspect-ratio: var(--ph-ratio);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px dashed var(--brand-300);
  background-color: var(--brand-050);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(28, 76, 124, 0.075) 0 12px,
    rgba(28, 76, 124, 0) 12px 26px
  );
  display: grid;
  place-items: center;
  isolation: isolate;
}
.img-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 80% at 50% 0%, rgba(255, 255, 255, 0.72), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.img-placeholder__inner {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  text-align: center;
  padding: 1.5rem 1.25rem;
  max-width: 34ch;
}
.img-placeholder__icon {
  width: clamp(30px, 5vw, 44px);
  height: auto;
  color: var(--brand-500);
  opacity: 0.65;
}
.img-placeholder__id {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand-600);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
}
.img-placeholder__desc {
  display: block;
  margin-top: 0.5rem;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--brand-700);
}
.img-placeholder--wide { --ph-ratio: 21 / 9; }
.img-placeholder--square { --ph-ratio: 1 / 1; }
.img-placeholder--portrait { --ph-ratio: 4 / 5; }
.img-placeholder--tall { --ph-ratio: 3 / 4; }

/* Filled slot: a real photo sits on top of the placeholder frame. The dashed
   pattern stays behind it, so a missing file degrades to the old placeholder
   look instead of leaving a hole. */
.img-placeholder--filled {
  border-style: solid;
  border-color: var(--line-soft);
  background-color: var(--brand-050);
}
.img-placeholder--filled > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--img-pos, center);
  display: block;
  border-radius: inherit;
}

/* Background variant (hero / parallax band) — keeps only a discreet badge */
.ph-bg {
  position: relative;
  background-color: var(--brand-800);
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.05) 0 18px,
      rgba(255, 255, 255, 0) 18px 40px
    ),
    linear-gradient(160deg, var(--brand-700) 0%, var(--brand-900) 60%, #071b2f 100%);
  isolation: isolate;
}
.ph-badge {
  position: absolute;
  right: clamp(0.75rem, 2vw, 1.5rem);
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  z-index: 3;
  max-width: min(88vw, 30rem);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(6, 20, 35, 0.55);
  border: 1px dashed rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.7rem;
  line-height: 1.35;
  letter-spacing: 0.02em;
}
/* Real photos for the two full-bleed backgrounds. The gradient of .ph-bg
   stays as the background-color fallback if an image is ever missing. */
.ph-bg--hero,
.ph-bg--band {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.ph-bg--hero { background-image: url("images/hero-hafen-lkw.jpg"); }
.ph-bg--band { background-image: url("images/band-lkw-flughafen.jpg"); background-position: center 62%; }

.ph-badge svg { width: 14px; height: 14px; flex: none; opacity: 0.85; }
.ph-badge b {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-400);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(430px, 70vh, 680px);
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 20, 35, 0.86) 0%, rgba(6, 20, 35, 0.6) 55%, rgba(6, 20, 35, 0.42) 100%);
  z-index: 1;
}
/* Narrow screens: the headline spans the full width, so the scrim has to be
   even instead of fading out towards the right. */
@media (max-width: 899px) {
  .hero::before {
    background: linear-gradient(180deg, rgba(6, 20, 35, 0.72) 0%, rgba(6, 20, 35, 0.66) 50%, rgba(6, 20, 35, 0.78) 100%);
  }
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(4rem, 2rem + 8vw, 7.5rem);
  max-width: 56rem;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-family: var(--font-display);
  font-size: clamp(0.66rem, 0.58rem + 0.32vw, 0.8125rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.4rem;
}
.hero__eyebrow span {
  background: var(--accent-400);
  color: #2b1a04;
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
}
.hero h1 {
  color: #fff;
  font-size: var(--fs-hero);
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}
.hero__sub {
  font-size: clamp(1.05rem, 0.95rem + 0.7vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 44ch;
  margin-bottom: 0;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 2;
  display: none;
  color: rgba(255, 255, 255, 0.7);
}
@media (min-width: 900px) { .hero__scroll { display: block; } }
.hero__scroll svg { width: 22px; height: 22px; animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* Page hero for sub pages */
.pagehead {
  position: relative;
  color: #fff;
  padding-block: clamp(3rem, 2rem + 5vw, 5.5rem);
  background:
    radial-gradient(120% 140% at 88% 0%, rgba(250, 145, 38, 0.22) 0%, transparent 55%),
    linear-gradient(120deg, var(--brand-800) 0%, var(--brand-900) 100%);
  overflow: hidden;
}
.pagehead::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.045) 0 16px,
    rgba(255, 255, 255, 0) 16px 38px
  );
  pointer-events: none;
}
.pagehead__inner { position: relative; z-index: 1; max-width: 62ch; }
.pagehead h1 { color: #fff; margin-bottom: 0.5rem; }
.pagehead p { color: rgba(255, 255, 255, 0.82); font-size: var(--fs-lead); margin: 0; }
.pagehead .eyebrow { color: var(--accent-400); }
.pagehead .eyebrow::before { background: var(--accent-400); }

.breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-400); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.5; }

/* --------------------------------------------------------------------------
   8. Grids, cards
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--space-gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }

.split {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 1fr; }
  .split--media-first > :first-child { order: 2; }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-400), var(--brand-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
a.card:hover,
a.card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-100);
}
a.card:hover::before,
a.card:focus-visible::before { transform: scaleX(1); }

.card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
  color: var(--brand-600);
  flex: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.card__icon svg { width: 27px; height: 27px; }
a.card:hover .card__icon { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }

.card h3 { margin: 0; font-size: var(--fs-h4); }
.card p { font-size: var(--fs-sm); color: var(--ink-500); line-height: 1.65; margin: 0; }
.card__more {
  margin-top: auto;
  padding-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-600);
}
.card__more svg { width: 0.95em; height: 0.95em; transition: transform 0.2s var(--ease); }
a.card:hover .card__more { color: var(--accent-600); }
a.card:hover .card__more svg { transform: translateX(4px); }

.card--feature { --ph-ratio: 16 / 9; padding: 0; gap: 0; }
.card--feature .img-placeholder { border: 0; border-radius: 0; border-bottom: 1px dashed var(--brand-300); }
.card--feature .card__body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  flex: 1;
}

/* Compact mode card */
.modecard {
  display: flex;
  gap: 1.05rem;
  align-items: flex-start;
  padding: 1.35rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.modecard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-100);
}
.modecard__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-050);
  color: var(--accent-600);
  border: 1px solid var(--accent-200);
  flex: none;
}
.modecard__icon svg { width: 22px; height: 22px; }
.modecard h3 { font-size: 1.02rem; margin: 0 0 0.3rem; }
.modecard p { margin: 0; font-size: var(--fs-sm); color: var(--ink-500); line-height: 1.6; }

/* --------------------------------------------------------------------------
   9. Trust band + stats
   -------------------------------------------------------------------------- */
.band {
  position: relative;
  color: #fff;
  text-align: center;
  padding-block: clamp(4rem, 2.5rem + 6vw, 7rem);
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 35, 0.6), rgba(6, 20, 35, 0.76));
  z-index: 1;
}
.band__inner { position: relative; z-index: 2; }
.band h2 {
  color: #fff;
  font-size: clamp(1.7rem, 1.25rem + 2vw, 3rem);
  margin-bottom: 0.5rem;
}
.band__claim {
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.4rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 46ch;
  margin-inline: auto;
}

.stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 3.75rem);
}
.stat {
  padding: 1.4rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.15rem);
  font-weight: 800;
  color: var(--accent-400);
  line-height: 1.1;
}
.stat__label {
  display: block;
  margin-top: 0.35rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

/* Stat strip on light background */
.statstrip {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.statstrip > div { background: var(--surface); padding: 1.5rem 1.4rem; }
.statstrip .stat__num { color: var(--brand-600); }
.statstrip .stat__label { color: var(--ink-500); }

/* --------------------------------------------------------------------------
   10. CTA band
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  background:
    radial-gradient(90% 160% at 12% 0%, rgba(255, 255, 255, 0.45) 0%, transparent 55%),
    linear-gradient(100deg, var(--accent-400) 0%, #ffb257 100%);
  color: #2b1a04;
  overflow: hidden;
}
.cta__inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding-block: clamp(2.5rem, 1.6rem + 3.4vw, 4rem);
}
@media (min-width: 860px) {
  .cta__inner { grid-template-columns: 1fr auto; gap: 2.5rem; }
}
.cta h2 { color: #2b1a04; margin: 0 0 0.35rem; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); }
.cta p { margin: 0; color: #4a3007; font-size: var(--fs-lead); max-width: 52ch; }
.cta .btn--primary { --btn-bg: var(--brand-800); }
.cta .btn--primary:hover { --btn-bg: var(--brand-900); }
.cta .btn--ghost { --btn-fg: #2b1a04; --btn-bd: rgba(43, 26, 4, 0.4); }
.cta .btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.55); --btn-fg: #2b1a04; --btn-bd: #2b1a04; }
.cta .btn-row { margin-top: 0; }

/* --------------------------------------------------------------------------
   11. Leistungen page
   -------------------------------------------------------------------------- */
.subnav {
  position: sticky;
  top: var(--header-h-condensed);
  z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.subnav__inner {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-block: 0.6rem;
  -webkit-overflow-scrolling: touch;
}
.subnav__inner::-webkit-scrollbar { height: 5px; }
.subnav__inner::-webkit-scrollbar-thumb { background: var(--brand-100); border-radius: 3px; }
.subnav a {
  flex: none;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--brand-800);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.subnav a:hover { background: var(--brand-050); border-color: var(--brand-100); }
.subnav a.is-active {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
}

.service {
  padding-block: clamp(3rem, 2rem + 3.6vw, 5rem);
  border-top: 1px solid var(--line-soft);
  scroll-margin-top: calc(var(--header-h-condensed) + 66px);
}
.service--first { border-top: 0; }
.service--alt { background: var(--surface-2); }

.service__grid {
  display: grid;
  gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .service__grid { grid-template-columns: 1fr 1fr; }
  .service--media-first .service__media { order: -1; }
}
.service__num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent-600);
}
.service h2 { margin: 0.35rem 0 1rem; }

.ticklist {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.ticklist li {
  position: relative;
  padding-left: 2rem;
  line-height: 1.55;
}
.ticklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--accent-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f5104' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.72rem no-repeat;
  border: 1px solid var(--accent-200);
}
.ticklist--cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }

.taglist {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
}
.taglist li {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
  font-size: var(--fs-sm);
  color: var(--brand-800);
}

.subhead {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin: 1.6rem 0 0.15rem;
}

/* --------------------------------------------------------------------------
   12. Über uns
   -------------------------------------------------------------------------- */
.principle {
  padding: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent-400);
  box-shadow: var(--shadow-sm);
}
.principle h3 { margin-bottom: 0.6rem; }
.principle__no {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--brand-050);
  color: var(--brand-600);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.pullquote {
  margin: 0;
  padding: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem);
  background: var(--brand-050);
  border-left: 4px solid var(--accent-400);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + 0.7vw, 1.5rem);
  line-height: 1.45;
  color: var(--brand-900);
  font-weight: 600;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.6rem;
  border-left: 2px solid var(--brand-100);
  display: grid;
  gap: 1.6rem;
}
.timeline li { position: relative; }
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1.6rem - 7px);
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-400);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--accent-200);
}
.timeline__year {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--brand-600);
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   13. Kontakt page
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: clamp(1.75rem, 1rem + 3vw, 3rem);
  align-items: start;
}
@media (min-width: 940px) {
  .contact-grid { grid-template-columns: 1.15fr 0.85fr; }
}

.infocard {
  padding: clamp(1.6rem, 1.2rem + 1.4vw, 2.35rem);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.infocard h2 { font-size: var(--fs-h3); letter-spacing: 0.02em; }
.infocard h2 span { display: block; }

.contactlist {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.contactlist li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contactlist__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand-600);
}
.contactlist__icon svg { width: 19px; height: 19px; }
.contactlist__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-400);
  margin-bottom: 0.1rem;
}
.contactlist address { font-style: normal; line-height: 1.55; }
.contactlist a { text-decoration: none; }
.contactlist a:hover { text-decoration: underline; }

/* Form */
.form {
  padding: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.form__grid { display: grid; gap: 1.15rem; }
@media (min-width: 620px) {
  .form__grid--2 { grid-template-columns: 1fr 1fr; }
}
.field { display: grid; gap: 0.4rem; }
.field label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand-900);
}
.field .req { color: var(--accent-600); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--ink-900);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease);
}
.field textarea { min-height: 10rem; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand-500);
  box-shadow: var(--ring);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-400); }

.checkfield {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--ink-500);
}
.checkfield input { width: 1.15rem; height: 1.15rem; margin-top: 0.25rem; flex: none; accent-color: var(--brand-600); }

.form__note {
  margin-top: 1.2rem;
  font-size: var(--fs-xs);
  color: var(--ink-400);
}
.formnotice {
  margin-top: 1.2rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--accent-050);
  border: 1px solid var(--accent-200);
  color: #5a3a06;
  font-size: var(--fs-sm);
  display: none;
}
.formnotice.is-visible { display: block; }

.demo-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--brand-050);
  border: 1px dashed var(--brand-300);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 1rem;
}

.callout {
  text-align: center;
  padding: clamp(1.8rem, 1.2rem + 2vw, 3rem);
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius);
}
.callout p {
  font-size: clamp(1.05rem, 0.95rem + 0.65vw, 1.45rem);
  color: var(--brand-900);
  max-width: 56ch;
  margin-inline: auto;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   14. Preisrechner widget
   -------------------------------------------------------------------------- */
.widget-shell {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.widget-shell__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.15rem;
  background: var(--brand-800);
  color: #fff;
}
.widget-shell__bar strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.widget-shell__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent-400); flex: none;
}
.widget-shell__hint {
  margin-left: auto;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.7);
}
.widget-shell__stage {
  position: relative;
  min-height: 420px;
  display: grid;
}
/* Fallback panel sits behind the live widget */
.widget-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background-color: var(--brand-050);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(28, 76, 124, 0.07) 0 12px,
    rgba(28, 76, 124, 0) 12px 26px
  );
  z-index: 0;
}
.widget-fallback__inner { max-width: 44ch; display: grid; gap: 0.75rem; justify-items: center; }
.widget-fallback svg { width: 42px; height: 42px; color: var(--brand-500); opacity: 0.7; }
.widget-fallback p { font-size: var(--fs-sm); color: var(--brand-700); margin: 0; }
pamyra-4u {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 420px;
  width: 100%;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.steps li {
  position: relative;
  padding: 1.5rem 1.4rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-400);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.steps h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.steps p { font-size: var(--fs-sm); color: var(--ink-500); margin: 0; }

/* --------------------------------------------------------------------------
   15. Legal / prose pages
   -------------------------------------------------------------------------- */
.prose { max-width: 78ch; }
.prose h2 {
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.6rem);
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: var(--fs-h4); margin-top: 2rem; }
.prose p { font-size: 1rem; line-height: 1.75; color: var(--ink-700); }
.prose ul { padding-left: 1.25rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 0.45rem; line-height: 1.65; }
.prose a { word-break: break-word; }

.legalcard {
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 1.75rem;
}
.legalcard h2 {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  font-size: var(--fs-h4);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.legalcard address { font-style: normal; line-height: 1.7; }

.datagrid {
  display: grid;
  gap: 0.9rem 1.5rem;
  margin: 0;
}
@media (min-width: 640px) {
  .datagrid { grid-template-columns: minmax(11rem, 15rem) 1fr; }
}
.datagrid dt {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--brand-900);
}
.datagrid dd { margin: 0; color: var(--ink-700); }
@media (max-width: 639px) {
  .datagrid dd { margin-bottom: 0.4rem; }
}

.toc {
  padding: 1.5rem 1.6rem;
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
}
.toc h2 {
  margin: 0 0 0.9rem;
  padding: 0;
  border: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-700);
}
.toc ol {
  margin: 0;
  padding-left: 1.15rem;
  columns: 2;
  column-gap: 2rem;
  font-size: var(--fs-sm);
}
@media (max-width: 640px) { .toc ol { columns: 1; } }
.toc li { margin-bottom: 0.35rem; break-inside: avoid; }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--brand-900);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-sm);
}
.site-footer__main {
  padding-block: clamp(3rem, 2rem + 4vw, 4.75rem);
  display: grid;
  gap: clamp(2rem, 1.2rem + 2.6vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
@media (min-width: 1080px) {
  .site-footer__main { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.25fr; }
}
.site-footer h2 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.15rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.site-footer a:hover { color: var(--accent-400); text-decoration: underline; }
.site-footer .wordmark__mark { color: #fff; }
.site-footer .wordmark__sub { color: rgba(255, 255, 255, 0.5); }

.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }

.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.95rem; }
.footer-contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 0.28rem; color: var(--accent-400); }
.footer-contact address { font-style: normal; line-height: 1.6; }

.site-footer__blurb { line-height: 1.65; margin: 1.35rem 0 1.5rem; max-width: 40ch; }

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
}
.site-footer__bottom a { color: rgba(255, 255, 255, 0.75); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; margin: 0; padding: 0; }

.map-note {
  margin-top: 0.9rem;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
}
.site-footer .img-placeholder {
  border-color: rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.05);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.07) 0 10px,
    rgba(255, 255, 255, 0) 10px 22px
  );
}
.site-footer .img-placeholder::after { display: none; }
.site-footer .img-placeholder__icon { color: rgba(255, 255, 255, 0.6); }
.site-footer .img-placeholder__desc { color: rgba(255, 255, 255, 0.65); }
.site-footer .img-placeholder__id { background: var(--accent-400); color: #2b1a04; }

/* --------------------------------------------------------------------------
   17. Scroll reveal + motion
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   18. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .cta, .subnav, .mobilenav, .hero__scroll { display: none !important; }
  body { color: #000; }
  .img-placeholder { break-inside: avoid; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
