/* Carbox · öffentliche Seite
 *
 * Übernimmt Farbwerte und Typografie aus dem Prototyp (Carbox.dc.html), nur
 * als Klassen statt als style="..."-Attribute an jedem Element.
 */

:root {
  --bg: oklch(0.975 0.004 85);
  --bg-blur: oklch(0.975 0.004 85 / 0.92);
  --surface: oklch(1 0 0);
  --stripe: oklch(0.93 0.006 260);
  --line: oklch(0.9 0.006 260);
  --line-soft: oklch(0.92 0.006 260);
  --line-strong: oklch(0.86 0.008 260);
  --ink: oklch(0.24 0.012 260);
  --body-strong: oklch(0.32 0.015 260);
  --body: oklch(0.4 0.015 260);
  --muted: oklch(0.45 0.015 260);
  --muted2: oklch(0.5 0.015 260);
  --muted3: oklch(0.55 0.015 260);
  --muted4: oklch(0.58 0.015 260);
  --accent: oklch(0.52 0.14 258);
  --accent-hover: oklch(0.42 0.13 258);
  --accent-line: oklch(0.85 0.05 258);
  --on-accent: oklch(1 0 0);
  --band: oklch(0.24 0.012 260);
  --on-band: oklch(1 0 0);
  --band-muted: oklch(0.78 0.02 258);
  --band-btn: oklch(1 0 0);
  --band-btn-ink: oklch(0.24 0.012 260);
  --selection: oklch(0.9 0.05 258);
  --shadow: oklch(0.24 0.012 260 / 0.06);

  --sans: 'Archivo', 'Segoe UI', Helvetica, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', 'Cascadia Mono', Consolas, 'Courier New', monospace;
}

html[data-theme="dark"] {
  --bg: oklch(0.17 0.008 265);
  --bg-blur: oklch(0.17 0.008 265 / 0.92);
  --surface: oklch(0.215 0.009 265);
  --stripe: oklch(0.3 0.012 265);
  --line: oklch(0.3 0.012 265);
  --line-soft: oklch(0.28 0.012 265);
  --line-strong: oklch(0.38 0.014 265);
  --ink: oklch(0.95 0.006 265);
  --body-strong: oklch(0.9 0.008 265);
  --body: oklch(0.84 0.01 265);
  --muted: oklch(0.74 0.012 265);
  --muted2: oklch(0.7 0.012 265);
  --muted3: oklch(0.66 0.012 265);
  --muted4: oklch(0.6 0.012 265);
  --accent: oklch(0.74 0.13 258);
  --accent-hover: oklch(0.83 0.1 258);
  --accent-line: oklch(0.42 0.08 258);
  --on-accent: oklch(0.16 0.01 265);
  --band: oklch(0.28 0.05 262);
  --on-band: oklch(0.97 0.006 265);
  --band-muted: oklch(0.82 0.03 262);
  --band-btn: oklch(0.74 0.13 258);
  --band-btn-ink: oklch(0.16 0.01 265);
  --selection: oklch(0.42 0.09 258);
  --shadow: oklch(0 0 0 / 0.3);
}

* { box-sizing: border-box; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); -webkit-font-smoothing: antialiased; text-wrap: pretty;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
::selection { background: var(--selection); }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--bg-blur); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { padding-top: 16px; padding-bottom: 16px; display: flex; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand-mark {
  width: 32px; height: 32px; background: var(--accent); color: var(--on-accent);
  font-family: var(--mono); font-weight: 500; font-size: 13px;
  display: flex; align-items: center; justify-content: center; border-radius: 3px;
}
.brand-word { font-weight: 700; font-size: 18px; letter-spacing: 0.1em; }
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; flex-wrap: wrap; }
.site-nav a { color: var(--muted); font-size: 14px; font-weight: 500; }
.site-nav a:hover { color: var(--accent); }
.theme-btn {
  background: transparent; border: 1px solid var(--line-strong); color: var(--muted2);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 9px 12px; border-radius: 3px;
}
.cta { background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 14px; padding: 11px 18px; border-radius: 3px; }
.cta:hover { color: var(--on-accent); }

/* Mitarbeiterbereich in der Kopfzeile: gleiche Höhe und Form wie der
   Theme-Umschalter daneben, damit die beiden als Paar lesbar sind und der
   Akzent dem Kunden-CTA vorbehalten bleibt. */
.staff-btn {
  border: 1px solid var(--line-strong); color: var(--muted2);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 9px 12px; border-radius: 3px; white-space: nowrap;
}
.staff-btn:hover { color: var(--accent); border-color: var(--accent-line); }

section { border-bottom: 1px solid var(--line); }
section.surface { background: var(--surface); }
section .wrap { padding-top: 80px; padding-bottom: 80px; }

.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted3);
}
.eyebrow.accent { color: var(--accent); }
h2.section-title { margin: 16px 0 0; font-size: 40px; line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; }
.lead { margin: 0; max-width: 420px; font-size: 15px; line-height: 1.65; color: var(--muted); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: center; }
.hero .wrap { padding-top: 84px; padding-bottom: 72px; }
.hero-rule { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.hero-rule i { width: 24px; height: 1px; background: var(--accent); display: block; }
h1.hero-title { margin: 0; font-size: 62px; line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; }
.hero-text { margin: 26px 0 0; max-width: 520px; font-size: 18px; line-height: 1.62; color: var(--muted); }
.hero-buttons { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.btn-primary { background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 15px; padding: 15px 26px; border-radius: 3px; }
.btn-primary:hover { color: var(--on-accent); }
.btn-secondary { border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 15px; padding: 15px 26px; border-radius: 3px; }
.hero-facts { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 44px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted2); }

.placeholder {
  background-color: var(--surface);
  background-image: repeating-linear-gradient(135deg, var(--stripe) 0 2px, transparent 2px 11px);
  border: 1px solid var(--line); border-radius: 4px;
  display: flex; align-items: flex-end; padding: 16px;
}
.placeholder span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted2); background: var(--surface); border: 1px solid var(--line); padding: 6px 9px;
}
.ratio-4-5 { aspect-ratio: 4/5; }
.ratio-3-2 { aspect-ratio: 3/2; }
.ratio-1-1 { aspect-ratio: 1/1; }

.hero-badge {
  position: absolute; left: -20px; bottom: 40px;
  background: var(--band); color: var(--on-band);
  padding: 16px 20px; max-width: 240px; border-radius: 3px;
}
.hero-badge .kick { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--band-muted); }
.hero-badge .name { font-weight: 700; font-size: 17px; margin-top: 4px; }

/* Karten & Raster */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 30px; display: flex; flex-direction: column; gap: 22px; position: relative; }
.card.is-featured { border-color: var(--accent); box-shadow: 0 1px 3px var(--shadow); }
.card h3 { margin: 0; font-size: 22px; font-weight: 700; }
.card p { margin: 8px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted2); }
.price-block { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 16px 0; }
.price-block .kick { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted3); }
.price-block .value { font-family: var(--mono); font-size: 26px; font-weight: 500; margin-top: 6px; }
.card-list { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--body); }
.badge {
  position: absolute; top: 0; right: 0;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 0 4px 0 4px;
}

.hint-box {
  margin-top: 20px; background: var(--surface);
  border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 3px;
  padding: 22px 26px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center;
}
.hint-box .kick { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.hint-box p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; margin-top: 40px; }
.steps > div { background: var(--surface); padding: 28px; }
.steps .num { font-family: var(--mono); font-size: 24px; font-weight: 500; color: var(--accent); }
.steps h3 { margin: 16px 0 0; font-size: 18px; font-weight: 700; }
.steps p { margin: 9px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }

.prose p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 18px 0 0; }
.prose p:first-child { font-size: 17px; line-height: 1.7; color: var(--body-strong); margin-top: 0; }
.quote { margin-top: 30px; border-left: 2px solid var(--accent); padding: 4px 0 4px 20px; }
.quote p { margin: 0; font-size: 18px; line-height: 1.55; font-weight: 500; color: var(--ink); }
.quote .who { margin: 10px 0 0; font-family: var(--mono); font-size: 12px; color: var(--muted2); }

.datasheet { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; margin-top: 30px; }
.datasheet > div { background: var(--surface); padding: 16px 20px; display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; }
.datasheet .kick { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted3); }
.datasheet span:last-child { font-size: 15px; }

.profile { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.profile .body { padding: 24px; }
.profile h3 { margin: 0; font-size: 22px; font-weight: 700; }
.profile .role { margin: 6px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.profile p.text { margin: 14px 0 0; font-size: 15px; line-height: 1.65; color: var(--muted); }

.jobs-card { border: 1px solid var(--line); border-radius: 4px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.jobs-card h3 { margin: 0; font-size: 19px; font-weight: 700; }
.jobs-card .count {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent-line); padding: 4px 8px;
}
.jobs-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.jobs-req { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted2); border-top: 1px solid var(--line-soft); padding-top: 14px; }

.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; }
.faq > div { background: var(--surface); padding: 28px; }
.faq h3 { margin: 0; font-size: 17px; font-weight: 700; }
.faq p { margin: 10px 0 0; font-size: 15px; line-height: 1.65; color: var(--muted); }

.band { background: var(--band); color: var(--on-band); border-bottom: none; }
.band .wrap { padding-top: 56px; padding-bottom: 56px; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.band h2 { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.band p { margin: 10px 0 0; font-size: 15px; color: var(--band-muted); }
.band a.cta { background: var(--band-btn); color: var(--band-btn-ink); font-size: 15px; padding: 15px 26px; }

footer .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer .brand-mark { width: 26px; height: 26px; font-size: 11px; }
footer .brand-word { font-size: 14px; }
.staff-link {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted3); border: 1px solid var(--line); border-radius: 3px; padding: 8px 12px;
}
.footer-note { margin: 0; font-family: var(--mono); font-size: 11px; line-height: 1.7; color: var(--muted4); max-width: 600px; }

@media (max-width: 980px) {
  .hero, .cols-2, .faq { grid-template-columns: 1fr; gap: 32px; }
  .cols-3, .steps { grid-template-columns: 1fr; }
  h1.hero-title { font-size: 40px; }
  h2.section-title { font-size: 30px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  section .wrap { padding-top: 48px; padding-bottom: 48px; }
  .hero-badge { position: static; margin-top: 16px; max-width: none; }
}
