/* ITC — editorial dark, technical minimal */
:root {
  --bg: #0e1012;
  --bg-2: #15181b;
  --surface: #1a1e22;
  --line: #262b30;
  --line-2: #333940;
  --fg: #f2f1ec;
  --fg-dim: #a7adb3;
  --fg-mute: #6b7278;
  --accent: #c7f24a;
  --accent-ink: #0e1012;
  --danger: #ff6b5a;
  --success: #6ad49a;

  --f-sans: "Inter Tight", Inter, -apple-system, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --f-serif: "Instrument Serif", "Times New Roman", serif;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;

  --max: 1320px;
  --pad: clamp(20px, 4vw, 56px);

  --ease: cubic-bezier(.2,.7,.2,1);
}

:root[data-theme="light"] {
  --bg: #f4f2ec;
  --bg-2: #ecebe4;
  --surface: #ffffff;
  --line: #dedcd3;
  --line-2: #c7c5ba;
  --fg: #0e1012;
  --fg-dim: #4a4f55;
  --fg-mute: #7a8088;
  --accent-ink: #0e1012;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}

img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.mono { font-family: var(--f-mono); font-feature-settings: "ss01"; letter-spacing: 0; }
.serif { font-family: var(--f-serif); font-style: italic; letter-spacing: -0.02em; }

.container { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }

/* Eyebrow label */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 2px;
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--fg);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: all .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn .arrow { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.btn:hover { border-color: var(--fg); }
.btn:hover .arrow { transform: translate(2px, -2px); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn-primary:hover { filter: brightness(1.05); border-color: var(--accent); }
.btn-ghost { padding: 10px 14px; border-color: transparent; color: var(--fg-dim); }
.btn-ghost:hover { color: var(--fg); border-color: var(--line-2); }

/* Section chrome */
section { position: relative; padding-block: clamp(80px, 10vw, 140px); }
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 56px;
  align-items: end;
}
@media (max-width: 780px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}
.section-head h2 {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 12px 0 0;
  max-width: 18ch;
  text-wrap: pretty;
}
.section-head .lead {
  color: var(--fg-dim);
  font-size: clamp(16px, 1.3vw, 19px);
  max-width: 52ch;
}

/* Utility */
.hr { height: 1px; background: var(--line); border: 0; }
.col-line { border-left: 1px solid var(--line); padding-left: 20px; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Selection */
::selection { background: var(--accent); color: var(--accent-ink); }

/* Focus */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Scrollbar (webkit) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; }
::-webkit-scrollbar-track { background: transparent; }

/* Language toggling */
[data-lang="en"] .lang-de { display: none !important; }
[data-lang="de"] .lang-en { display: none !important; }
[data-lang="de"] .lang-de { display: revert !important; }

/* Inner page hero */
.page-hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 0%, color-mix(in oklab, var(--accent) 8%, transparent), transparent 60%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 16px 0 24px;
  max-width: 16ch;
}
.page-hero .lead {
  color: var(--fg-dim);
  font-size: clamp(17px, 1.4vw, 20px);
  max-width: 52ch;
  line-height: 1.55;
}

/* Content section */
.content-section {
  padding-block: clamp(60px, 8vw, 120px);
}
.content-section + .content-section {
  border-top: 1px solid var(--line);
}

/* 2-col layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 780px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

/* Value grid */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 780px) { .value-grid { grid-template-columns: 1fr 1fr; } }
.value-item {
  background: var(--bg-2);
  padding: 28px 24px;
}
.value-item h4 {
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 12px 0 8px;
  font-weight: 500;
}
.value-item p {
  font-size: 14px;
  color: var(--fg-dim);
  margin: 0;
  line-height: 1.55;
}
.value-num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-mute);
  font-family: var(--f-mono);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--fg); }
.breadcrumb .sep { opacity: .4; }
