/* =========================================================
   beDARTS — shared stylesheet
   Palette and geometry are taken directly from the logo:
   violet "be", navy wordmark, sky-blue cloud, bronze arcs.
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,100..900&family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&display=swap");

:root {
  /* Brand */
  --navy: #002061;
  --navy-lift: #0a2e7a;
  --violet: #b30dfc;
  --sky: #78d3ef;
  --bronze: #c87224;

  /* Neutrals */
  --ink: #0b1533;
  --muted: #5a6683;
  --paper: #f4f5f8;
  --surface: #ffffff;
  --line: rgba(0, 32, 97, 0.14);
  --line-strong: rgba(0, 32, 97, 0.32);

  /* Type */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --shell: min(1180px, 100% - 2.5rem);
  --pad-y: clamp(4.5rem, 8vw, 7rem);
  --radius: 3px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--violet); }

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

.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: var(--pad-y); }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
[id] { scroll-margin-top: 92px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Type ---------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-variation-settings: "wdth" 116;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.02;
  margin: 0;
  color: var(--navy);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.2rem; line-height: 1.25; font-variation-settings: "wdth" 108; }

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

.lede {
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  flex: none;
}

.section-intro { max-width: 52ch; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.section-intro p { color: var(--muted); margin-top: 1.1rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 500 0.98rem/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease,
              border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover {
  background: var(--navy-lift);
  color: #fff;
  box-shadow: 0 14px 28px -16px rgba(0, 32, 97, 0.8);
}

.btn--ghost { border-color: var(--line-strong); color: var(--navy); background: transparent; }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); background: rgba(0, 32, 97, 0.04); }

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

/* Ghost button sitting on the navy band */
.btn--on-navy { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--on-navy:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.1); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 245, 248, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 22px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a {
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  padding-block: 0.35rem;
}
.site-nav a:hover { color: var(--navy); }
.site-nav a[aria-current="page"] { color: var(--navy); font-weight: 500; }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--violet);
}
.site-nav .btn { padding: 0.6rem 1.25rem; font-size: 0.9rem; }

/* Language switch */
.langswitch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.langswitch a { color: var(--muted); text-decoration: none; }
.langswitch a:hover { color: var(--navy); }
.langswitch a[aria-current] {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--violet);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.langswitch > span { color: var(--line-strong); }
.site-nav .btn:hover { color: #fff; }

/* ---------- Hero + target signature ---------- */

.hero { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4rem, 8vw, 6.5rem); }
.hero .shell {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { max-width: 12ch; }
.hero .lede { margin-top: 1.6rem; }

.target { position: relative; aspect-ratio: 1; width: 100%; max-width: 440px; margin-inline: auto; }
.target svg { width: 100%; height: 100%; overflow: visible; }
.target__mark {
  position: absolute;
  top: 50%; left: 50%;
  width: 34%;
  transform: translate(-50%, -50%);
}
.target__ring { transform-origin: 240px 240px; }
.target__ring--a { animation: spin 84s linear infinite; }
.target__ring--b { animation: spin 116s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Cards ---------- */

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 36px -26px rgba(0, 32, 97, 0.7);
}
.card h3 { margin-bottom: 0.7rem; }
.card p { color: var(--muted); font-size: 0.985rem; margin: 0; }

/* ---------- Process: rings close in on the target ---------- */

.process { position: relative; }
.process .step { position: relative; padding-top: 0.5rem; }
.process .step h3 { margin: 1.15rem 0 0.6rem; }
.process .step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.rings { width: 52px; height: 52px; }
.rings circle { fill: none; stroke: var(--line-strong); stroke-width: 2; }
.rings .bull { fill: var(--line-strong); stroke: none; }
.rings--1 .r1,
.rings--2 .r2,
.rings--3 .r3 { stroke: var(--bronze); stroke-width: 4; }
.rings--4 .bull { fill: var(--violet); }

/* ---------- Capability chips ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.chips li {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
}

/* ---------- Navy call-to-action band ---------- */

.band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}
.band h2 { color: #fff; max-width: 18ch; }
.band p { max-width: 46ch; margin-top: 1.1rem; }
.band a { color: #fff; }
.band a:hover { color: var(--sky); }
.band__arcs {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 460px;
  opacity: 0.22;
  pointer-events: none;
}

/* ---------- Page head (inner pages) ---------- */

.pagehead {
  border-bottom: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 4.75rem) clamp(2.5rem, 5vw, 3.5rem);
}
.pagehead .lede { margin-top: 1.4rem; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: 400 1rem/1.5 var(--body);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.78rem 0.9rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(179, 13, 252, 0.14);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.15rem; }

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--muted);
  margin: 1.5rem 0 0;
}
.consent input { margin-top: 0.28rem; flex: none; width: 1rem; height: 1rem; accent-color: var(--violet); }

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1.1rem;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 2.5vw, 2rem);
}
.info-card + .info-card { margin-top: 1.25rem; }
.info-card h3 { margin-bottom: 1.1rem; }
.info-list { margin: 0; padding: 0; list-style: none; font-size: 0.95rem; }
.info-list li { padding-block: 0.55rem; border-top: 1px solid var(--line); }
.info-list li:first-child { border-top: 0; padding-top: 0; }
.info-list .k {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

/* ---------- Legal / Impressum ---------- */

.legal { max-width: 68ch; }
.legal h2 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1.02rem; margin-top: 1.8rem; margin-bottom: 0.5rem; }
.legal p, .legal li { color: var(--muted); font-size: 0.985rem; }
.legal ul { margin: 0 0 1.1rem; padding-left: 1.15rem; }
.legal li { margin-bottom: 0.35rem; }
.legal li::marker { color: var(--bronze); }
.legal small { display: inline-block; margin-top: 0.35rem; line-height: 1.55; }
.legal address { font-style: normal; color: var(--ink); line-height: 1.8; }
.legal .en {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--bronze);
  display: block;
  margin-bottom: 0.55rem;
}

.ph {
  background: rgba(179, 13, 252, 0.08);
  border-bottom: 1px dashed var(--violet);
  color: var(--navy);
  font-family: var(--mono);
  font-size: 0.86em;
  padding: 0.05em 0.3em;
}

.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--violet);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin-bottom: 2.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  padding-block: clamp(3rem, 5vw, 4rem) 2rem;
  font-size: 0.92rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.site-footer a:hover { color: var(--sky); }
.site-footer img { height: 26px; width: auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-top p { margin-top: 1.2rem; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero .shell { grid-template-columns: 1fr; }
  .hero h1 { max-width: 100%; }
  .target { max-width: 300px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .band__arcs { display: none; }
}

@media (max-width: 620px) {
  :root { --shell: min(1180px, 100% - 2rem); }
  .site-nav { gap: 1.1rem; }
  .site-nav .nav-link { display: none; }
  .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

@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;
  }
  .btn:hover, .card:hover { transform: none; }
}
