/* =========================================================================
   WLD Nord GmbH — "Steel & Signal" identity
   Self-hosted fonts, no external requests. DSGVO-clean by construction.
   ========================================================================= */

/* ---- Fonts (self-hosted, latin subset) ---------------------------------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
/* Zilla Slab — heritage slab serif, echoes the WLD Nord logo lettering */
@font-face {
  font-family: "Zilla Slab";
  src: url("fonts/zilla-slab-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("fonts/zilla-slab-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---- Tokens ------------------------------------------------------------- */
:root {
  /* Monochrome identity, matched to the black & white WLD Nord logo */
  --ink:        #14181b;   /* near-black            */
  --steel:      #2b3034;   /* dark neutral graphite */
  --steel-soft: #6c7176;   /* muted neutral grey    */
  --paper:      #f3f4f5;   /* near-white light bg    */
  --white:      #ffffff;
  --signal:     #06b6d4;   /* WLD Nord cyan accent */
  --signal-deep:#0e7490;   /* deep teal — readable on white */
  --line:       #e1e4e6;   /* hairline              */
  --ok:         #2e7d5b;

  --display: "Zilla Slab", Georgia, "Times New Roman", ui-serif, serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1140px;
  --gap: clamp(1rem, 4vw, 2.5rem);
  --radius: 4px;
  --header-h: 80px;        /* height reserved for the fixed navbar */
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }

/* ---- Layout helpers ----------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #e9eaeb; }
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  font-family: var(--body);
  font-weight: 600; font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--signal-deep);
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 7px; background:
  repeating-linear-gradient(90deg, var(--signal) 0 4px, transparent 4px 7px);
  border-top: 2px solid var(--signal); border-bottom: 2px solid var(--signal);
  box-sizing: content-box; }
.section--ink .eyebrow, .hero .eyebrow, .page-head .eyebrow { color: var(--signal); }

/* brand word "Nord" in the accent colour throughout the site */
.nord { color: var(--signal-deep); }
.hero .nord, .page-head .nord, .section--ink .nord, .site-footer .nord { color: var(--signal); }

/* ---- THE SIGNATURE: the rail line --------------------------------------- */
/* two parallel rails with periodic sleeper ticks, used as a divider        */
.rail {
  --rail-color: var(--steel);
  position: relative; height: 14px; border: 0; margin: 0; padding: 0;
  background:
    linear-gradient(var(--rail-color), var(--rail-color)) left 0    / 100% 2px no-repeat,
    linear-gradient(var(--rail-color), var(--rail-color)) left 12px / 100% 2px no-repeat;
}
.rail::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg,
     var(--rail-color) 0 2px, transparent 2px 30px);
  opacity: .55;
}
.rail--signal { --rail-color: var(--signal); }
.section--ink .rail { --rail-color: #444b50; }

/* little locomotive that rides the rails as you scroll */
.rail-wrap { position: relative; }
.rail-train {
  position: absolute; left: 0; bottom: 3px; width: 100px; height: 62px;
  background: url(/assets/nur-lok-cyan.svg) center bottom / contain no-repeat;
  pointer-events: none; will-change: transform; z-index: 1;
}
@media (max-width: 560px){ .rail-train { width: 76px; height: 48px; } }
@media (prefers-reduced-motion: reduce){ .rail-train { display: none; } }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--body); font-weight: 600; font-size: .98rem;
  padding: .8rem 1.4rem; border-radius: var(--radius);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--signal); color: var(--ink); }
.btn--primary:hover { background: var(--signal-deep); color: #fff;
  transform: translateY(-1px); box-shadow: 0 8px 20px rgba(6,182,212,.28); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--steel); }
.section--ink .btn--ghost, .hero .btn--ghost, .page-head .btn--ghost, .consent-banner .btn--ghost {
  color: #fff; border-color: #444b50; }
.btn--ghost:hover { border-color: var(--signal); color: var(--signal-deep); }
.section--ink .btn--ghost:hover, .hero .btn--ghost:hover, .page-head .btn--ghost:hover,
.consent-banner .btn--ghost:hover { color: var(--signal); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--signal); outline-offset: 2px;
}

/* ---- Skip link (hidden until keyboard focus) ---------------------------- */
.skip-link {
  position: absolute; left: 8px; top: -52px; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem;
  border-radius: var(--radius); font-weight: 600; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 8px; }

/* ---- Header (transparent over hero, solid on scroll) -------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-stuck {
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom-color: var(--line); box-shadow: 0 6px 22px rgba(20,24,27,.07);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h); padding-block: .65rem; }
body.plain-top { padding-top: var(--header-h); }   /* pages with no dark hero */

/* brand: white loco over the hero, ink loco when the bar is solid */
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none;
  line-height: 1; }
.brand__mark { height: 48px; width: auto; display: block; }          /* footer: single static mark */
.brand__marks { position: relative; flex: none; width: 76px; height: 48px; }
.brand__marks .brand__mark { position: absolute; top: 0; left: 0; transition: opacity .3s ease; } /* navbar: stacked crossfade */
.brand__marks .brand__mark--dark { opacity: 0; }
.is-stuck .brand__marks .brand__mark--dark { opacity: 1; }
.is-stuck .brand__marks .brand__mark--light { opacity: 0; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.42rem;
  letter-spacing: -0.01em; color: #fff; transition: color .3s ease; }
.brand__name b { color: var(--signal); font-weight: 700; transition: color .3s ease; }
.is-stuck .brand__name { color: var(--ink); }
.is-stuck .brand__name b { color: var(--signal-deep); }
@media (max-width: 400px){
  .brand__marks { width: 64px; height: 40px; }
  .brand__mark { height: 40px; }
  .brand__name { font-size: 1.25rem; }
}

/* nav links with an animated cyan underline */
.nav { display: flex; align-items: center; gap: .35rem; }
.nav a:not(.btn) { position: relative; text-decoration: none; font-weight: 500; font-size: .96rem;
  color: rgba(255,255,255,.82); padding: .5rem .7rem; transition: color .2s ease; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .26rem;
  height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease; }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { color: #fff; }
.nav a:not(.btn):hover::after, .nav a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }
.is-stuck .nav a:not(.btn) { color: var(--steel); }
.is-stuck .nav a:not(.btn):hover, .is-stuck .nav a:not(.btn)[aria-current="page"] { color: var(--ink); }
.nav .btn { margin-left: .4rem; padding: .55rem 1rem; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem;
  color: #fff; transition: color .3s ease; }
.is-stuck .nav-toggle { color: var(--ink); }
.nav-toggle svg { display: block; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column;
    align-items: stretch; gap: 0; background: var(--white);
    border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1rem;
    box-shadow: 0 12px 24px rgba(20,24,27,.10);
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  /* dropdown panel is always light → force dark link colours regardless of header state */
  .nav a:not(.btn), .is-stuck .nav a:not(.btn) { color: var(--steel);
    padding: .9rem .4rem; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"],
  .is-stuck .nav a:not(.btn):hover { color: var(--ink); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: .8rem 0 0; justify-content: center; }
}

/* ---- Hero --------------------------------------------------------------- */
.hero { background: var(--ink); color: #e9eaeb; position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  min-height: 100vh; min-height: 100svh;   /* Hero füllt den ersten Screen → die Schiene darunter startet unter der Falz, die Scroll-Lok beginnt wieder ganz links */
  padding-top: calc(var(--header-h) + clamp(1.5rem, 5vw, 3rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); color: #fff; }
.hero h1 .amber { color: var(--signal); }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: #b9bcbe; margin: 1.4rem 0 2rem;
  max-width: 38ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__meta { margin-top: 2.4rem; display: flex; gap: 2rem; flex-wrap: wrap; }
.hero__meta div { border-left: 2px solid var(--signal); padding-left: .8rem; }
.hero__meta b { font-family: var(--display); font-size: 1.5rem; color: #fff; display: block; }
.hero__meta small { color: #9a9ea1; font-size: .82rem; }

/* hero process flow (Arbeitnehmerüberlassung) */
.flow { width: 100%; max-width: 440px; margin-inline: auto; }
.flow__title { font-family: var(--display); font-weight: 700; color: #fff;
  font-size: 1.15rem; margin: 0 0 1.5rem; }
/* animierter Ablauf auf vertikaler Schiene — ein Zug fährt die Stationen ab.
   Reine CSS-Animation, keine Cookies/JS. Ersetzt die frühere statische Liste. */
.track { position: relative; display: grid; grid-template-rows: repeat(6, 1fr);
  height: 27rem; }

/* die Schiene: zwei Profile (links/rechts) + Schwellen-Raster dazwischen */
.track__line { position: absolute; left: 18px; top: 6px; bottom: 6px; width: 14px;
  transform: translateX(-50%); opacity: .6;
  border-left: 3px solid var(--steel-soft); border-right: 3px solid var(--steel-soft);
  background-image: repeating-linear-gradient(180deg, var(--steel-soft) 0 3px, transparent 3px 24px);
  background-position: center; }

.stop { position: relative; display: flex; flex-direction: column; justify-content: center;
  padding-left: 52px; min-width: 0; }
.stop__dot { position: absolute; left: 18px; top: 50%; transform: translate(-50%, -50%);
  width: 18px; height: 18px; border-radius: 50%; z-index: 2;
  background: var(--ink); border: 2.5px solid var(--steel-soft);
  transition: background .3s, border-color .3s; }
.stop__dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--signal); opacity: 0; }
.stop__num { display: block; font-family: var(--display); font-weight: 700;
  font-size: .72rem; letter-spacing: .14em; color: var(--steel-soft); margin-bottom: .15rem;
  transition: color .3s; }
.stop__name { font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  line-height: 1.15; margin: 0 0 .15rem; color: #fff; }
.stop__desc { margin: 0; font-size: .86rem; line-height: 1.4; color: #9fa6ab; }

/* der fahrende Zug (Aufsicht), hält an jeder der 6 Stationen */
.train { position: absolute; left: 18px; top: 0; transform: translate(-50%, -50%);
  width: 26px; height: 40px; z-index: 3; pointer-events: none; color: var(--signal);
  filter: drop-shadow(0 0 7px rgba(6,182,212,.7));
  animation: train-run 13s cubic-bezier(.65,0,.35,1) infinite; }
.train svg { display: block; width: 100%; height: 100%; }

@keyframes train-run {
  0%  { top: 8.333%; }   4%  { top: 8.333%; }
  15% { top: 25%; }      19% { top: 25%; }
  30% { top: 41.667%; }  34% { top: 41.667%; }
  45% { top: 58.333%; }  49% { top: 58.333%; }
  60% { top: 75%; }      64% { top: 75%; }
  75% { top: 91.667%; }  83% { top: 91.667%; }
  100%{ top: 8.333%; }
}

/* Stationen leuchten in Reihenfolge auf, synchron zur Zugankunft */
.stop__dot { animation: stop-glow 13s ease-in-out infinite; }
.stop:nth-of-type(1) .stop__dot { animation-delay: 0s;    }
.stop:nth-of-type(2) .stop__dot { animation-delay: 1.95s; }
.stop:nth-of-type(3) .stop__dot { animation-delay: 3.9s;  }
.stop:nth-of-type(4) .stop__dot { animation-delay: 5.85s; }
.stop:nth-of-type(5) .stop__dot { animation-delay: 7.8s;  }
.stop:nth-of-type(6) .stop__dot { animation-delay: 9.75s; }
@keyframes stop-glow {
  0%       { background: var(--ink);    border-color: var(--steel-soft); }
  3%       { background: var(--signal); border-color: var(--signal); }
  13%      { background: var(--signal); border-color: var(--signal); }
  20%,100% { background: var(--ink);    border-color: var(--steel-soft); }
}
.stop:nth-of-type(1) .stop__dot::after { animation: ring 13s ease-in-out infinite 0s;    }
.stop:nth-of-type(2) .stop__dot::after { animation: ring 13s ease-in-out infinite 1.95s; }
.stop:nth-of-type(3) .stop__dot::after { animation: ring 13s ease-in-out infinite 3.9s;  }
.stop:nth-of-type(4) .stop__dot::after { animation: ring 13s ease-in-out infinite 5.85s; }
.stop:nth-of-type(5) .stop__dot::after { animation: ring 13s ease-in-out infinite 7.8s;  }
.stop:nth-of-type(6) .stop__dot::after { animation: ring 13s ease-in-out infinite 9.75s; }
@keyframes ring {
  0%,3% { opacity: 0;  transform: scale(1); }
  6%    { opacity: .9; transform: scale(1); }
  20%   { opacity: 0;  transform: scale(2.3); }
  100%  { opacity: 0; }
}

/* Reduced Motion: keine Bewegung — alle Stationen statisch leuchtend, Zug aus */
@media (prefers-reduced-motion: reduce) {
  .train { display: none; }
  .stop__dot { animation: none; background: var(--signal); border-color: var(--signal); }
  .stop__dot::after { animation: none; opacity: 0; }
}

/* media facade (consent-gated video) */
.facade { position: relative; aspect-ratio: 16/10; border-radius: 6px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 70% 0%, #23282c 0%, #14181b 60%),
    var(--ink);
  border: 1px solid #2b3034; display: grid; place-items: center; }
.facade__rails { position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, transparent 49%, rgba(237,155,17,.25) 49% 51%, transparent 51%);
  -webkit-mask: linear-gradient(#000, transparent 85%); mask: linear-gradient(#000, transparent 85%);
  transform: perspective(600px) rotateX(58deg) scale(1.6); transform-origin: bottom; opacity: .6; }
.facade__play {
  position: relative; z-index: 2; display: inline-flex; flex-direction: column; align-items: center;
  gap: .6rem; background: none; border: 0; color: #fff; cursor: pointer; padding: 1rem;
}
.facade__play .disc { width: 64px; height: 64px; border-radius: 50%; background: var(--signal);
  color: var(--ink); display: grid; place-items: center; transition: transform .15s ease; }
.facade__play:hover .disc { transform: scale(1.06); }
.facade__play small { font-size: .78rem; color: #b9bcbe; max-width: 24ch; text-align: center; }
.facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; }
  .facade { order: -1; }
}

/* ---- Tiles (benefits / services) --------------------------------------- */
.lede { font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-family: var(--display); font-weight: 500;
  line-height: 1.3; max-width: 34ch; color: var(--ink); }
.section__head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap);
  align-items: end; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section__head p { margin: 0; color: var(--steel); }
@media (max-width: 760px){ .section__head { grid-template-columns: 1fr; } }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.tile { background: var(--white); padding: 1.8rem 1.6rem; }
.tile .num { font-family: var(--display); font-weight: 700; color: var(--signal-deep);
  font-size: .9rem; letter-spacing: .05em; }
.tile h3 { font-size: 1.18rem; margin: .5rem 0 .55rem; }
.tile p { margin: 0; color: var(--steel); font-size: .97rem; }
.section--ink .tile { background: #1b2024; }
.section--ink .tile p { color: #b6b9bb; }
@media (max-width: 860px){ .tiles { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .tiles { grid-template-columns: 1fr; } }

/* ---- Partners ----------------------------------------------------------- */
.partners { list-style: none; margin: 1.4rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(1.6rem, 5vw, 3.4rem); }
.partners li { display: flex; }
.partners a { display: inline-flex; align-items: center; }
.partners img { height: 30px; width: auto; opacity: .42;
  transition: opacity .18s ease, transform .18s ease; }
.partners a:hover img, .partners a:focus-visible img { opacity: 1; transform: translateY(-1px); }
@media (max-width: 560px){ .partners img { height: 26px; } }

/* ---- Generic page header (subpages) ------------------------------------- */
.page-head { background: var(--ink); color: #e9eaeb;
  padding-top: calc(var(--header-h) + clamp(1.4rem, 4vw, 2.2rem));
  padding-bottom: clamp(2.8rem, 6vw, 4.5rem); }
.page-head h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3rem); }
.page-head p { color: #b9bcbe; max-width: 56ch; margin: 1rem 0 0; }

/* ---- Prose / profile ---------------------------------------------------- */
.prose { max-width: 64ch; }
.prose p { color: var(--steel); margin: 0 0 1.1rem; }
.prose p:first-child { font-size: 1.15rem; color: var(--ink); }

/* ---- Team --------------------------------------------------------------- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.member { background: var(--white); padding: 1.5rem 1.4rem; }
.member .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--paper);
  border: 2px solid var(--signal); display: grid; place-items: center; font-family: var(--display);
  font-weight: 700; color: var(--steel); margin-bottom: .9rem; }
.member b { display: block; font-family: var(--display); }
.member small { color: var(--steel-soft); }

/* ---- Service list (leistungen) ------------------------------------------ */
.svc { border-top: 1px solid var(--line); }
.svc__row { display: grid; grid-template-columns: 3rem 1fr; gap: 1.2rem;
  padding: 1.6rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.svc__row .idx { font-family: var(--display); font-weight: 700; color: var(--signal-deep); }
.svc__row h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.svc__row p { margin: 0; color: var(--steel); max-width: 62ch; }

/* ---- Contact cards ------------------------------------------------------ */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 760px){ .cards { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: 8px; padding: 1.8rem; background: var(--white); }
.card.badge24 { border-color: var(--signal); }
.card h3 { font-size: 1.2rem; }
.card .tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--signal-deep); margin-bottom: .6rem; }
.card address { font-style: normal; color: var(--steel); line-height: 1.8; margin-top: .4rem; }
.card a { color: var(--steel); }
.card a:hover { color: var(--signal-deep); }

/* ---- Forms -------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; max-width: 560px; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--ink); width: 100%;
}
.field--file input { padding: .6rem; background: var(--paper); }
.field .hint { font-size: .82rem; color: var(--steel-soft); }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start;
  font-size: .9rem; color: var(--steel); }
.consent input { margin-top: .25rem; }
.consent a { color: var(--signal-deep); }

/* ---- Map facade --------------------------------------------------------- */
.map-facade { position: relative; aspect-ratio: 16/7; border: 1px solid var(--line);
  border-radius: 8px; overflow: hidden; background: var(--paper); display: grid; place-items: center;
  text-align: center; }
.map-facade__grid { position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px; }
.map-facade .inner { position: relative; z-index: 2; padding: 1.5rem; }
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- CTA strip ---------------------------------------------------------- */
.cta-strip { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }
.cta-strip h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
@media (max-width: 700px){ .cta-strip { grid-template-columns: 1fr; } }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #b0b3b5; padding-block: clamp(2.5rem, 6vw, 4rem) 2rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { font-family: var(--body); font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase; color: #888c8f; margin: 0 0 1rem; }
.site-footer a { color: #d4d6d8; text-decoration: none; }
.site-footer a:hover { color: var(--signal); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer .brand__name { color: #fff; font-size: 1.32rem; }
.site-footer .brand__name b { color: var(--signal); }
.site-footer address { font-style: normal; line-height: 1.8; margin-top: .7rem; font-size: .94rem; }
.foot-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid #2b3034; font-size: .85rem;
  color: #888c8f; }
@media (max-width: 720px){ .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .site-footer .col-brand { grid-column: 1 / -1; } }

/* ---- Cookie consent banner ----------------------------------------------
   Hidden by default (no JS = no tracking); shown by main.js only while
   consent hasn't been decided yet, and never shown again once it has.   */
.consent-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--ink); border-top: 1px solid #2b3034;
  box-shadow: 0 -6px 22px rgba(20,24,27,.18);
}
.consent-banner[hidden] { display: none; }
.consent-banner__inner {
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem;
  align-items: center; justify-content: space-between;
  padding-block: 1.1rem;
}
.consent-banner__inner p { margin: 0; flex: 1 1 320px; font-size: .92rem; color: #c7cacd; }
.consent-banner__inner a { color: var(--signal); }
.consent-banner__actions { display: flex; gap: .7rem; flex: 0 0 auto; }
@media (max-width: 560px){
  .consent-banner__actions { width: 100%; }
  .consent-banner__actions .btn { flex: 1 1 0; justify-content: center; }
}

/* ---- Legal pages -------------------------------------------------------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.4rem; margin: 2.4rem 0 .8rem; }
.legal h3 { font-size: 1.08rem; margin: 1.6rem 0 .5rem; font-family: var(--body); font-weight: 600; }
.legal p, .legal li { color: var(--steel); line-height: 1.7; }
.legal p { margin: 0 0 1rem; }
.legal ul { margin: .2rem 0 1.2rem; padding-left: 1.25rem; }
.legal li { margin: .35rem 0; }
.legal a { color: var(--signal-deep); }
.legal a:hover { color: var(--signal); }

/* callout / note box on the legal pages */
.note { background: #ecfbfe; border: 1px solid #b8ebf4; border-left: 4px solid var(--signal);
  padding: 1rem 1.2rem; margin: 1.4rem 0; border-radius: 6px; color: var(--steel);
  font-size: .95rem; line-height: 1.7; }
.note strong { color: var(--ink); }