/* TechBridge — Munich operating desk
   See DESIGN.md for tokens and rules. */

:root {
  --navy: #1b2a4a;
  --navy-deep: #121c33;
  --navy-mid: #24365c;
  --orange: #d9752b;
  --orange-hover: #c46622;
  --orange-soft: rgba(217, 117, 43, 0.12);
  --bg: #eef1f5;
  --bg-elevated: #f7f8fb;
  --surface: #ffffff;
  --ink: #151b28;
  --muted: #5c6578;
  --line: #d5dae3;
  --line-strong: #b8c0ce;
  --success: #1f6b3a;
  --danger: #b42318;
  --radius: 6px;
  --radius-sm: 4px;
  --radius-lg: 10px;
  --shadow: 0 1px 0 rgba(27, 42, 74, 0.06), 0 12px 28px rgba(27, 42, 74, 0.07);
  --header-h: 70px;
  --wrap: 1140px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 120ms;
  --dur: 220ms;
  --dur-slow: 400ms;
  --font-display: "Bricolage Grotesque", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--ink);
  background:
    var(--grain),
    linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 28%, var(--bg) 100%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--navy);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--orange);
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -56px;
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  z-index: 100;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ——— Header ——— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 251, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(18, 28, 51, 0.06);
  background: rgba(255, 255, 255, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand img,
.brand svg {
  width: 40px;
  height: 40px;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  color: var(--orange);
  font-weight: 500;
  line-height: 1;
}

.wordmark strong {
  color: var(--navy);
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
  margin-right: 0.35rem;
}

.nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  width: 42px;
  height: 42px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  margin: 4px auto;
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) linear;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.lang-switch button {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 7px 10px;
  cursor: pointer;
  color: var(--muted);
  transition: background var(--dur-fast) linear, color var(--dur-fast) linear;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
}

/* ——— Buttons ——— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  padding: 0.72rem 1.2rem;
  min-height: 44px;
  font: inherit;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.98rem;
  letter-spacing: -0.015em;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-link {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  min-height: 0;
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.btn-link:hover {
  color: var(--navy);
}

/* ——— Hero (brand-first, full-bleed) ——— */

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(92vh, 760px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  padding: clamp(4.5rem, 10vh, 7rem) 0 clamp(3.5rem, 8vh, 5.5rem);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.02);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.2%, -0.6%, 0); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(18, 28, 51, 0.94) 0%, rgba(27, 42, 74, 0.78) 46%, rgba(27, 42, 74, 0.38) 100%),
    linear-gradient(0deg, rgba(18, 28, 51, 0.55) 0%, transparent 42%);
}

.hero .wrap {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 1.35rem;
  text-decoration: none;
  color: inherit;
}

.hero-brand img {
  width: 52px;
  height: 52px;
}

.hero-brand .wordmark {
  font-size: clamp(2rem, 4.8vw, 2.85rem);
  font-weight: 500;
}

.hero-brand .wordmark strong {
  color: #fff;
  font-weight: 750;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 18ch;
}

html[data-lang="de"] .hero h1 {
  max-width: 22ch;
}

.hero p.lede {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.84);
  max-width: 40ch;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.hero-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  max-width: 44ch;
}

/* ——— Dual path (no overlapping cards) ——— */

.dual-path {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.dual-path article {
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2.25rem);
}

.dual-path article + article {
  border-left: 1px solid var(--line);
}

.dual-path h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.dual-path p {
  margin: 0 0 1.2rem;
  color: var(--muted);
  max-width: 38ch;
  text-wrap: pretty;
}

/* ——— Sections ——— */

.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  position: relative;
}

.section.tight {
  padding-block: clamp(2.75rem, 5vw, 3.75rem);
}

.section.band {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.88);
}

.section.band h2,
.section.band .section-lead {
  color: #fff;
}

.section.band .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.section.surface {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  letter-spacing: -0.03em;
  color: var(--navy);
  text-wrap: balance;
}

.section-lead {
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 2rem;
  text-wrap: pretty;
}

.section-rule {
  width: 3rem;
  height: 3px;
  background: var(--orange);
  margin: 0 0 1.25rem;
  border: 0;
}

/* ——— Steps / services (ruled, not card grids) ——— */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  padding: 1.5rem 1.25rem 0.25rem 0;
  border-right: 1px solid var(--line);
  background: transparent;
}

.step:last-child {
  border-right: 0;
  padding-right: 0;
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.step h3,
.service h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.step p,
.service p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 2rem;
}

.service {
  padding: 0;
  background: transparent;
  border: 0;
}

.service::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--navy);
  margin-bottom: 0.9rem;
}

.who-we-work {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  max-width: 46rem;
  display: grid;
  gap: 0.75rem;
  align-items: start;
}

.who-we-work h3 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.who-we-work p {
  margin: 0;
  color: var(--muted);
}

/* ——— Cycle chart ——— */

.chart {
  max-width: 40rem;
}

.chart-row {
  display: grid;
  grid-template-columns: minmax(8rem, 10.5rem) 1fr;
  gap: 1rem;
  align-items: center;
  margin: 1rem 0;
}

.chart-row > span {
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--navy);
  font-size: 0.95rem;
  letter-spacing: -0.015em;
}

.section.band .chart-row > span {
  color: #fff;
}

.bar-track {
  background: rgba(27, 42, 74, 0.08);
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 2.35rem;
}

.section.band .bar-track {
  background: rgba(255, 255, 255, 0.1);
}

.bar {
  background: #8b95a8;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.85rem;
  padding: 0.55rem 0.9rem;
  width: 0;
  min-width: 5.5rem;
  border-radius: var(--radius-sm);
  transition: width 900ms var(--ease);
}

.bar.is-inview {
  width: var(--w);
}

.bar-accent {
  background: var(--orange);
}

.chart-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 1rem 0 0;
}

.section.band .chart-note {
  color: rgba(255, 255, 255, 0.55);
}

/* ——— Agent / media split ——— */

.media-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}

.media-frame {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-frame figcaption {
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.journey {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
  margin-top: 1.5rem;
}

.journey .step {
  border: 0;
  padding: 0;
}

.journey .step-num {
  margin-bottom: 0.4rem;
}

/* ——— Talent Bench (dense directory) ——— */

.bench-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  align-items: end;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.bench-toolbar label {
  display: grid;
  gap: 0.3rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.bench-toolbar select,
.form input:not([type="checkbox"]):not([type="hidden"]):not([type="file"]),
.form select,
.form textarea {
  font: inherit;
  font-family: var(--font-body);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.65rem 0.75rem;
  background: var(--surface);
  width: 100%;
  transition: border-color var(--dur-fast) linear, box-shadow var(--dur-fast) linear;
}

.bench-toolbar select {
  width: auto;
  min-width: 11rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink);
}

.bench-toolbar select:focus,
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.12);
  outline: none;
}

.bench-count {
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--navy);
  font-size: 0.95rem;
  align-self: center;
  white-space: nowrap;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.profile {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr) auto auto;
  gap: 0.85rem 1.25rem;
  align-items: center;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.profile:last-child {
  border-bottom: 0;
}

.profile:hover {
  background: var(--bg-elevated);
}

.profile h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.15rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  background: var(--bg);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.15rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.avail {
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--orange);
  font-size: 0.88rem;
  white-space: nowrap;
}

.profile .btn {
  justify-self: end;
  padding: 0.5rem 0.85rem;
  min-height: 40px;
  font-size: 0.88rem;
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 2.5rem 1.5rem;
  margin: 0;
}

/* ——— Partners ——— */

.partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.partner {
  background: var(--surface);
  padding: 1.25rem 1.15rem 1.35rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 11rem;
  transition: background var(--dur) var(--ease);
}

.partner:hover {
  background: var(--bg-elevated);
  color: inherit;
}

.partner img {
  height: 32px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.partner strong {
  font-family: var(--font-display);
  color: var(--navy);
  letter-spacing: -0.02em;
}

.partner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: auto;
}

/* ——— Forms ——— */

.forms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: var(--shadow);
}

.form h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.form > p {
  margin: 0 0 1.15rem;
  color: var(--muted);
}

.form label {
  display: block;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.86rem;
  letter-spacing: -0.01em;
  margin: 0.85rem 0 0.35rem;
  color: var(--ink);
}

.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form .hint {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 400;
  font-family: var(--font-body);
}

.form label.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  column-gap: 0.75rem;
  align-items: start;
  margin: 0.85rem 0 0.5rem;
  font-weight: 400;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
}

.form label.consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 3px;
  background: #fff;
  display: grid;
  place-content: center;
  cursor: pointer;
}

.form label.consent input[type="checkbox"]::after {
  content: "";
  width: 10px;
  height: 6px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}

.form label.consent input[type="checkbox"]:checked {
  background: var(--navy);
  border-color: var(--navy);
}

.form label.consent input[type="checkbox"]:checked::after {
  opacity: 1;
}

.form label.consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.form .btn {
  margin-top: 0.85rem;
  width: 100%;
}

.form .media-frame {
  margin-bottom: 1rem;
  box-shadow: none;
}

.form .media-frame img {
  aspect-ratio: 16 / 9;
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 1.4em;
  font-weight: 650;
  font-family: var(--font-display);
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.form-status.ok {
  color: var(--success);
}

.form-status.err {
  color: var(--danger);
}

.file-input {
  font-weight: 400 !important;
  font-family: var(--font-body) !important;
  padding: 0.45rem 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* ——— Contact ——— */

.contact-panel {
  display: grid;
  gap: 1.25rem;
  max-width: 36rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* ——— Legal / 404 ——— */

.legal {
  padding: 3rem 0 5rem;
}

.legal h1 {
  font-family: var(--font-display);
  color: var(--navy);
  margin-top: 0;
  letter-spacing: -0.03em;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.legal h2 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.1rem;
  margin-top: 1.75rem;
  letter-spacing: -0.02em;
}

.legal p,
.legal li {
  color: #3a4254;
  max-width: 72ch;
}

.page-404 {
  min-height: calc(100vh - var(--header-h) - 140px);
  display: grid;
  place-content: center;
  text-align: left;
  padding: 4rem 0;
}

.page-404 .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--orange);
  margin: 0 0 0.75rem;
}

.page-404 h1 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}

.page-404 p {
  color: var(--muted);
  max-width: 36ch;
  margin: 0 0 1.5rem;
}

/* ——— Footer ——— */

.site-footer {
  background:
    var(--grain),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 2.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.site-footer .wordmark strong {
  color: #fff;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #f0c09a;
}

.legal-links {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.legal-links a {
  font-weight: 600;
  font-size: 0.95rem;
}

.copy {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 62ch;
}

/* ——— i18n ——— */

html.i18n-pending [data-i18n],
html.i18n-pending [data-i18n-html] {
  visibility: hidden;
}

[data-lang-panel] {
  display: none;
}

html[data-lang="de"] [data-lang-panel="de"],
html[data-lang="en"] [data-lang-panel="en"] {
  display: block;
}

/* ——— Reduced motion ——— */

@media (prefers-reduced-motion: reduce) {
  .hero-media img {
    animation: none;
    transform: none;
  }

  .bar {
    transition: none;
    width: var(--w);
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ——— Responsive ——— */

@media (max-width: 980px) {
  .dual-path,
  .steps,
  .services,
  .forms,
  .form .row,
  .media-split,
  .partners,
  .chart-row,
  .profile {
    grid-template-columns: 1fr;
  }

  .dual-path article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 1.25rem 0;
  }

  .step:last-child {
    border-bottom: 0;
  }

  .profile {
    gap: 0.55rem;
  }

  .profile .btn {
    justify-self: start;
  }

  .avail {
    white-space: normal;
  }

  .header-tools {
    margin-left: auto;
  }

  .nav {
    margin-left: 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    gap: 0.15rem;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a,
  .nav .btn {
    width: 100%;
    justify-content: flex-start;
    padding: 0.7rem 0.5rem;
  }

  .hero {
    min-height: 0;
    align-items: center;
    padding: 3.5rem 0 3.25rem;
  }

  .hero-brand .wordmark {
    font-size: 1.85rem;
  }

  .journey {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 1.5rem));
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bench-count {
    margin-left: 0;
    width: 100%;
  }
}

/* Print */
@media print {
  .site-header,
  .nav-toggle,
  .hero-media,
  .hero-shade {
    display: none !important;
  }

  .hero {
    color: #000;
    min-height: 0;
    padding: 1rem 0;
  }

  body {
    background: #fff;
  }
}
