/* Meridian Move — Talent & Relocation zwischen Deutschland und den VAE
   Motiv: der Meridian. Frankfurt liegt auf 8,7° Ost, Dubai auf 55,3° Ost.
   Die Gradskala zieht sich als Leitelement durch alle Seiten. */

:root {
  --night: #0a1a22;
  --night-2: #102b36;
  --night-3: #17414f;
  --sand: #efe6d8;
  --sand-dim: #a8b6ba;
  --brass: #c9a44c;
  --tide: #5cb0a8;
  --line: rgba(239, 230, 216, 0.14);

  --display: 'Bricolage Grotesque', 'Trebuchet MS', sans-serif;
  --body: 'Source Sans 3', system-ui, sans-serif;
  --data: 'IBM Plex Mono', ui-monospace, monospace;

  --wrap: 1080px;
  --step: clamp(3rem, 7vw, 6rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night);
  color: var(--sand);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* ---------- Kopfzeile ---------- */

.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  letter-spacing: -0.02em; text-decoration: none;
}
.brand svg { width: 26px; height: 26px; flex: none; color: var(--sand); }
.brand span { color: var(--brass); }
.nav { display: flex; gap: 1.5rem; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--sand-dim); }
.nav a:hover, .nav a[aria-current='page'] { color: var(--sand); }

/* ---------- Gradskala: das Leitelement ---------- */

.meridian { position: relative; height: 64px; margin: 2.5rem 0; }
.meridian__rail {
  position: absolute; inset-block: 50% auto; top: 50%; left: 0; right: 0;
  height: 1px; background: var(--line);
}
.meridian__ticks { position: absolute; inset: 0; display: flex; justify-content: space-between; }
.meridian__ticks i { width: 1px; height: 10px; align-self: center; background: var(--line); }
.meridian__ticks i:nth-child(5n + 1) { height: 20px; background: rgba(239, 230, 216, 0.3); }
.meridian__span {
  position: absolute; top: 50%; height: 2px; background: var(--brass);
  transform: translateY(-50%); transition: width 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.meridian__pin {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; gap: 0;
}
.meridian__pin::before {
  content: ''; width: 9px; height: 9px; border-radius: 50%;
  background: var(--brass); box-shadow: 0 0 0 5px rgba(201, 164, 76, 0.16);
}
.meridian__label {
  position: absolute; top: calc(50% + 16px); transform: translateX(-50%);
  font-family: var(--data); font-size: 0.7rem; letter-spacing: 0.08em;
  color: var(--sand-dim); white-space: nowrap; text-transform: uppercase;
}

/* ---------- Typografie ---------- */

.eyebrow {
  font-family: var(--data); font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--brass); margin: 0 0 1rem;
}
h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.4rem, 6.5vw, 4.2rem); line-height: 1.02;
  letter-spacing: -0.035em; margin: 0 0 1.25rem; text-wrap: balance;
}
h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.12;
  letter-spacing: -0.025em; margin: 0 0 1rem;
}
h3 { font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin: 0 0 0.4rem; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--sand-dim); max-width: 56ch; }
.section { padding-block: var(--step); border-top: 1px solid var(--line); }
.muted { color: var(--sand-dim); }
.fine { font-size: 0.85rem; color: var(--sand-dim); line-height: 1.55; }

/* ---------- Schaltflächen ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.5rem; border-radius: 2px; border: 1px solid var(--brass);
  background: var(--brass); color: var(--night); text-decoration: none;
  font-weight: 600; font-size: 0.98rem; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); background: #d8b45f; }
.btn--ghost { background: transparent; color: var(--sand); border-color: var(--line); }
.btn--ghost:hover { background: rgba(239, 230, 216, 0.06); border-color: var(--sand-dim); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

/* ---------- Karten und Raster ---------- */

.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  padding: 1.5rem; background: var(--night-2); border: 1px solid var(--line);
  border-radius: 3px;
}
.card__num {
  font-family: var(--data); font-size: 0.72rem; letter-spacing: 0.14em;
  color: var(--brass); display: block; margin-bottom: 0.75rem;
}

.job {
  display: block; padding: 1.25rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.job:hover .job__title { color: var(--brass); }
.job__title { font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.015em; }
.job__meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 0.4rem;
  font-family: var(--data); font-size: 0.78rem; color: var(--sand-dim);
}
.flag { color: var(--brass); }

/* ---------- Formulare ---------- */

.field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
.field > label { font-size: 0.88rem; color: var(--sand-dim); }
input, select, textarea {
  width: 100%; padding: 0.75rem 0.9rem; border-radius: 2px;
  border: 1px solid var(--line); background: rgba(10, 26, 34, 0.6);
  color: var(--sand); font-family: var(--body); font-size: 1rem;
}
input[type='checkbox'] { width: auto; accent-color: var(--brass); }
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; }
.check span { font-size: 0.88rem; color: var(--sand-dim); line-height: 1.5; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 1.1rem; }

.notice { padding: 1rem 1.1rem; border-left: 2px solid var(--brass); background: var(--night-2); font-size: 0.92rem; }
.notice--ok { border-color: var(--tide); }
.notice--bad { border-color: #d1706a; }

/* ---------- Zahlen ---------- */

.figure { font-family: var(--data); font-size: clamp(1.8rem, 4.5vw, 2.6rem); letter-spacing: -0.03em; }
.figure--gain { color: var(--tide); }
.figure__label { font-family: var(--data); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sand-dim); }

/* ---------- Fußzeile ---------- */

footer { border-top: 1px solid var(--line); padding-block: 2.5rem; margin-top: var(--step); }
footer .fine a { color: var(--sand-dim); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
