/* =========================================================
   Revalis Commerce — Curated Technical Commerce
   v.20260531a — Section-by-section polish
   ========================================================= */

:root {
  --bg: #f4f1ea;
  --surface: #ffffff;
  --surface-soft: #ece9df;

  /* Central ink palette — the footer charcoal is now the system dark */
  --ink: #1c1a17;
  --ink-soft: #2a2622;

  --text: #141b2d;
  --text-soft: #2d3447;
  --muted: #5e6677;

  --line: rgba(20, 27, 45, 0.10);
  --line-strong: rgba(20, 27, 45, 0.16);
  --border: var(--line);

  /* Warm accent */
  --brown: #a75b2a;
  --accent-warm: #a75b2a;

  /* Aliases — kill SaaS-blue site-wide; everything resolves to warm ink */
  --blue: var(--ink);
  --blue-dark: var(--ink-soft);
  --dark: var(--ink);
  --dark-2: var(--ink-soft);
  --green: #40ff88;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(20, 27, 45, 0.04);
  --shadow: 0 12px 40px rgba(20, 27, 45, 0.08);
  --shadow-lg: 0 24px 80px rgba(20, 27, 45, 0.12);
}

/* ====== Reset ====== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
ul, ol { list-style: none; padding: 0; margin: 0; }
dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
::selection { background: var(--text); color: var(--bg); }

a:focus-visible, button:focus-visible, .btn:focus-visible, label:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--text); color: #fff;
  padding: 12px 16px; z-index: 1000; font-size: 14px;
  border-radius: 8px;
}
.skip-link:focus { left: 16px; top: 16px; }

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* =========================================================
   HEADER — ruhig, sticky, hochwertig
   ========================================================= */
.site-header {
  background: rgba(244, 241, 234, 0.85);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}
.site-header__inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 28px;
  padding: 18px 0;
  min-height: 64px;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--text);
}
.brand__mark {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand__text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex; align-items: center; gap: 24px;
  font-size: 14px; font-weight: 500;
}
.site-nav a {
  color: var(--text-soft);
  transition: color 180ms ease;
}
.site-nav a:hover { color: var(--blue); }
.site-nav a[aria-current="page"] { color: var(--blue); }
.site-nav a.nav-legal {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.site-nav a.nav-legal:hover { color: var(--blue); }
.nav-sep {
  display: inline-block; width: 1px; height: 16px;
  background: var(--line-strong);
}
.nav-toggle, .nav-toggle-label { display: none; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
.kicker {
  margin: 0 0 18px;
  color: var(--brown);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker--dark { color: #8fa7ff; }

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: var(--text);
}
h1 span {
  display: block;
  margin-top: 4px;
  font-style: italic;
  color: var(--text);
  opacity: 0.55;
  font-weight: 400;
  font-size: clamp(38px, 5vw, 72px);
  letter-spacing: -0.035em;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--text);
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--text);
}

/* =========================================================
   BUTTONS — einheitlich
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--text); color: #fff; border-color: var(--text); }
.btn--primary:hover { background: #000; border-color: #000; }
.btn--secondary { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--text); background: rgba(20, 27, 45, 0.03); }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 110px 0; }

/* =========================================================
   HERO — kontrolliert, ausgewogen, vertikal zentriert
   ========================================================= */
.hero {
  padding: 110px 0 50px;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 56px;
  align-items: center;
}
.hero__copy { max-width: 580px; }
.hero__lead {
  margin: 28px 0 0;
  max-width: 540px;
  color: var(--muted);
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.6;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}
.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.hero__pills span {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* =========================================================
   COMMERCE MAP CARD — Hero visual (abstrakt, strategisch)
   ========================================================= */
.map-card {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.map-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), rgba(36, 88, 255, 0.20), transparent);
}
.map-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 4px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.map-card__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: rgba(255,255,255,0.96);
}
.map-card__sub {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
}
.map-list {
  display: grid;
  gap: 0;
  padding: 2px 0;
}
.map-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 200ms ease, border-radius 200ms ease;
}
.map-row:last-child { border-bottom: 0; }
.map-row strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: rgba(255,255,255,0.95);
}
.map-row span {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.45;
}
.map-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 18px 4px 2px;
  margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.map-card__chips span {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.62);
  border: 1px solid rgba(255,255,255,0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section-head {
  max-width: 740px;
  margin-bottom: 56px;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head p:not(.kicker) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  max-width: 620px;
}
.section-head--center p:not(.kicker) { margin-inline: auto; }

/* =========================================================
   COLLECTIONS — editorial bento, two feature tiles
   ========================================================= */
.collections { padding-top: 70px; padding-bottom: 110px; }
.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.collection-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 28px 24px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  min-height: 170px;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
  overflow: hidden;
}
.collection-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.collection-card--large {
  grid-column: span 2;
  padding: 36px 38px 32px;
  min-height: 230px;
  background:
    radial-gradient(800px 260px at 95% -10%, rgba(167, 91, 42, 0.08), transparent 60%),
    var(--surface);
}
.collection-card--dark {
  background:
    radial-gradient(700px 280px at 92% -10%, rgba(167, 91, 42, 0.18), transparent 55%),
    var(--ink);
  color: #fff;
  border-color: transparent;
}
.collection-card--dark h3 { color: #fff; }
.collection-card--dark .coll-types { color: rgba(255,255,255,0.62); }
.collection-card--dark .coll-sub {
  color: rgba(255,255,255,0.50);
  border-top-color: rgba(255,255,255,0.10);
}
.collection-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -0.022em;
  font-weight: 500;
  margin: 0;
}
.collection-card--large h3 {
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1.0;
  max-width: 12ch;
}
.coll-types {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0;
  line-height: 1.5;
  font-weight: 500;
}
.collection-card--large .coll-types {
  margin-top: 22px;
  font-size: 16px;
  font-weight: 600;
}
.coll-sub {
  margin: auto 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.collection-card--large .coll-sub { margin-top: 24px; }

/* =========================================================
   SYSTEM — editorial flow, no SaaS dots, flat bg
   ========================================================= */
.system {
  background: transparent;
  padding-top: 40px;
  padding-bottom: 70px;
}
.system .section-head { margin-bottom: 30px; }
.system h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.system .section-head p:not(.kicker) {
  font-size: 16px;
  margin-top: 14px;
  max-width: 520px;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0 14px;
  position: relative;
  margin-top: 0;
}
.process-line::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.process-step {
  padding: 0;
  background: transparent;
  border: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 1;
}
.process-step span {
  display: block;
  margin: 0 0 26px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--brown);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
}
.process-step h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 22px 0 6px;
  color: var(--text);
}
.process-step p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

/* =========================================================
   PRINCIPLES — editorial off-white, 3 light + 1 dark accent
   ========================================================= */
.data-layer {
  background: transparent;
  color: var(--text);
  padding-top: 70px;
  padding-bottom: 90px;
}
.data-layer .section-head { margin-bottom: 36px; }
.data-layer .section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  max-width: 19ch;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.data-layer .section-head p:not(.kicker) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 520px;
  margin: 14px auto 0;
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
}
.principle {
  padding: 34px 36px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}
.principle:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.principle h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 10px;
}
.principle p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}

/* Dark highlight card — subtle brown accent */
.principle--dark {
  background: var(--dark);
  border-color: transparent;
  position: relative;
  overflow: hidden;
}
.principle--dark::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 22%;
  height: 1.5px;
  background: rgba(167, 91, 42, 0.55);
}
.principle--dark h3 { color: #fff; }
.principle--dark p { color: rgba(255,255,255,0.65); }
.principle--dark:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
}

/* =========================================================
   QUALITY — radikal kürzer
   ========================================================= */
.quality { padding: 50px 0 90px; }
.quality__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}
.quality h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.028em;
  line-height: 1.08;
  max-width: 14ch;
}
.quality p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.55;
  max-width: 460px;
}
.quality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.quality-grid div {
  padding: 22px 26px;
  min-height: 0;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.quality-grid div:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.quality-grid div::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 1.5px;
  background: var(--brown);
  opacity: 0.55;
  border: 0;
  position: static;
  transform: none;
}

/* =========================================================
   COMPANY — identity card, flat off-white bg
   ========================================================= */
.company { background: transparent; }
.company__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
}
.company h2 { max-width: 14ch; }
.company p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 460px;
}

.company-card {
  padding: 34px 36px 32px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 460px;
}
.company-card__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.company-card__brand {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.1;
  color: var(--text);
}
.company-card__role {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.company-card__loc {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.company-card__meta {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.company-card__meta p {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  color: var(--text-soft);
  letter-spacing: 0.005em;
}
.company-card__meta a {
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}
.company-card__meta a:hover {
  color: var(--brown);
  border-bottom-color: var(--brown);
}

/* =========================================================
   CONTACT — starker Abschluss
   ========================================================= */
.contact { padding-bottom: 80px; padding-top: 80px; }
.contact__box {
  position: relative;
  overflow: hidden;
  padding: 56px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(600px 300px at 90% 15%, rgba(167, 91, 42, 0.06), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: left;
  max-width: 880px;
  margin: 0 auto;
}
.contact__box::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 22%;
  height: 1.5px;
  background: rgba(167, 91, 42, 0.55);
}
.contact__box .kicker { margin-bottom: 14px; }
.contact__box h2 {
  font-size: clamp(32px, 4vw, 56px);
  max-width: 660px;
}
.contact__box p {
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  max-width: 540px;
}
.contact__box .hero__actions { margin-top: 0; }

/* =========================================================
   FOOTER — warm charcoal, brown accents, no blue
   ========================================================= */
.site-footer {
  background: #1c1a17;
  color: rgba(255,255,255,0.78);
  padding: 72px 0 32px;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.site-footer a {
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}
.site-footer a:hover {
  color: #fff;
  border-bottom-color: rgba(212, 165, 130, 0.45);
}

/* Top brand block */
.site-footer__top {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.site-footer__brand-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.site-footer__logo {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.92;
}
.site-footer__brand {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.1;
  color: #fff;
}
.site-footer__tagline {
  margin: 6px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 17px;
  letter-spacing: -0.012em;
  color: rgba(255,255,255,0.50);
}

/* 3-col grid */
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.site-footer__cols p {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.55;
}
.site-footer__cols address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.80);
}
.site-footer__label {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(214, 142, 95, 0.85) !important;
  margin-bottom: 14px !important;
  font-weight: 600;
}

/* Base / colophon */
.site-footer__base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11.5px;
  color: rgba(255,255,255,0.40);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =========================================================
   LEGAL PAGES — warm editorial (kein Blau)
   ========================================================= */
.legal {
  padding: 72px 0 110px;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.legal .page-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.032em;
  color: var(--ink);
  margin: 0 0 16px;
}
.legal .page-subtitle {
  font-size: 16.5px;
  color: var(--muted);
  margin: 0 0 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  line-height: 1.55;
}
.legal h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 500;
  margin: 48px 0 14px;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.legal h3 {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--brown);
  margin: 30px 0 10px;
}
.legal h4 {
  font-size: 15.5px;
  font-weight: 700;
  margin: 22px 0 8px;
  color: var(--ink);
}
.legal p, .legal li {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.legal ul, .legal ol {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 18px;
  color: var(--ink-soft);
}
.legal li { margin-bottom: 6px; }
.legal ul li::marker { color: var(--brown); }
.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(167, 91, 42, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}
.legal a:hover {
  color: var(--brown);
  text-decoration-color: var(--brown);
}
.legal strong { font-weight: 700; color: var(--ink); }
.legal .meta-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brown);
  padding: 22px 26px;
  margin: 24px 0;
  font-size: 14.5px;
  border-radius: 0 12px 12px 0;
  box-shadow: var(--shadow-sm);
}
.legal .meta-block p {
  margin: 0 0 6px;
  color: var(--ink-soft);
}
.legal .meta-block p:last-child { margin: 0; }
.legal table.subprocessor {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-size: 14px;
}
.legal table.subprocessor th,
.legal table.subprocessor td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-soft);
}
.legal table.subprocessor th {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 700;
  color: var(--brown);
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
}
.legal .last-updated {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin: 64px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero__inner { gap: 40px; }
}

@media (max-width: 980px) {
  .hero__inner,
  .quality__inner,
  .company__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-card--large { grid-column: span 2; padding: 32px 32px 28px; }
  .collection-card--large h3 { font-size: 42px; }
  /* Process: vertikal mit linker Linie (keine Dots) */
  .process-line {
    grid-template-columns: 1fr;
    gap: 0;
    margin-left: 0;
  }
  .process-line::before {
    top: 14px;
    bottom: 14px;
    left: 0;
    right: auto;
    width: 1px;
    height: auto;
    background: var(--line);
  }
  .process-step {
    padding: 16px 16px 16px 28px;
  }
  .process-step span {
    margin: 0 0 6px;
  }
  .process-step h3 {
    margin: 4px 0 4px;
  }
  .map-row { grid-template-columns: 100px 1fr; gap: 12px; padding: 12px 4px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 32px, 1200px); }
  .site-header__inner { padding: 14px 0; min-height: 56px; }
  .brand__text { font-size: 17px; }

  .nav-toggle-label {
    display: inline-flex; flex-direction: column;
    justify-content: center; gap: 5px;
    width: 40px; height: 40px;
    cursor: pointer; z-index: 70;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    align-items: center;
    background: var(--surface);
  }
  .nav-toggle-label span {
    display: block; height: 1.5px; width: 18px;
    background: var(--text); border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start;
    gap: 0;
    background: var(--surface);
    padding: 14px 24px 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 36px rgba(20, 27, 45, 0.06);
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav a {
    width: 100%; padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav a.nav-legal { font-size: 13px; }
  .site-nav .nav-sep { display: none; }

  .hero { padding: 60px 0 50px; }
  .hero__inner { gap: 30px; }
  .hero__lead { font-size: 16.5px; }

  .section { padding: 70px 0; }
  .collections, .system, .data-layer, .company, .quality, .contact {
    padding-top: 70px; padding-bottom: 70px;
  }
  .section-head { margin-bottom: 36px; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }

  .collection-grid { grid-template-columns: 1fr; gap: 10px; }
  .collection-card { padding: 24px 26px; min-height: 140px; }
  .collection-card--large { grid-column: span 1; padding: 28px 28px 26px; min-height: 200px; }
  .collection-card h3 { font-size: 26px; }
  .collection-card--large h3 { font-size: 36px; }
  .collection-card--large .coll-types { font-size: 15px; }

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

  .contact__box { padding: 32px 24px; }
  .company-card { padding: 28px 26px; max-width: none; }
  .company-card__brand { font-size: 23px; }

  .map-card { padding: 18px; }
  .map-row strong { font-size: 16px; }

  .principle { padding: 24px 22px; }
  .principle h3 { font-size: 21px; }

  .site-footer__cols { grid-template-columns: 1fr; gap: 24px; }
  .site-footer__base { flex-direction: column; gap: 6px; }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(40px, 11vw, 56px); }
  h1 span { font-size: clamp(34px, 9vw, 48px); }
  h2 { font-size: clamp(28px, 7vw, 36px); }
  .map-card__head { flex-wrap: wrap; gap: 4px 14px; }
  .map-card__title { font-size: 15px; }
  .map-card__sub { text-align: left; }
  .map-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
  .dot { animation: none; }
}

/* =========================================================
   Micro-Interactions — JS-driven (v.20260531-02)
   ========================================================= */

/* Header scroll state */
.site-header { transition: padding 220ms ease, box-shadow 220ms ease; }
body.is-scrolled .site-header {
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(28, 26, 23, 0.04);
}
body.is-scrolled .site-header__inner {
  padding-top: 12px;
  padding-bottom: 12px;
  min-height: 56px;
}

/* Section reveal (only when JS is active) */
html.js .js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
html.js .js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html.js .js-reveal,
  html.js .js-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Card hover spotlight (desktop / fine pointer only) */
.js-glow-card {
  position: relative;
  isolation: isolate;
}
.js-glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%),
    rgba(28, 26, 23, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 320ms ease;
  z-index: 1;
}
.js-glow-card > * { position: relative; z-index: 2; }
.js-glow-card:hover::after { opacity: 1; }
.principle--dark.js-glow-card::after,
.collection-card--dark.js-glow-card::after {
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.05), transparent 60%);
}
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .js-glow-card::after { display: none; }
}

/* Hero map subtle tilt */
.js-tilt {
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .js-tilt { transform: none !important; }
}

/* System timeline — warm hover state on each step */
.process-step span,
.process-step h3 { transition: color 220ms ease; }
.process-step h3 { position: relative; }
.process-step h3::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 14px;
  height: 1.5px;
  background: var(--accent-warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.process-step:hover h3::after { transform: scaleX(1); }
.process-step:hover h3 { color: var(--ink); }
.process-step:hover span { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .process-step h3::after { transition: none; }
}

/* Button hover refinement — warm ink instead of bright */
.btn--primary:hover { background: var(--ink); border-color: var(--ink); }
.btn--secondary:hover {
  background: rgba(28, 26, 23, 0.04);
  border-color: var(--ink);
  color: var(--ink);
}

/* =========================================================
   Wow-Layer — Hero Entrance, Scroll Progress, Cursor Blob
   v.20260531-03
   ========================================================= */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, rgba(167, 91, 42, 0.85), rgba(167, 91, 42, 0.55));
  z-index: 100;
  pointer-events: none;
  transition: width 100ms linear;
}

/* Magnetic CTA: override universal .btn:hover translateY since JS owns transform */
.js-magnetic {
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), background 200ms ease, color 200ms ease, border-color 200ms ease;
  will-change: transform;
}
.btn.js-magnetic:hover { transform: translate3d(0, 0, 0); }
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .js-magnetic { transition: background 200ms ease, color 200ms ease, border-color 200ms ease; }
}

/* Hero entrance choreography (runs only when html.js-animate is set inline in <head>) */
.hero-map-wrap { display: contents; }

html.js-animate .hero .kicker,
html.js-animate .hero h1,
html.js-animate .hero h1 span,
html.js-animate .hero__lead,
html.js-animate .hero__actions,
html.js-animate .hero__pills,
html.js-animate .hero-map-wrap > .map-card {
  opacity: 0;
  will-change: opacity, transform;
}

html.js-animate .hero .kicker {
  transform: translateY(14px);
  animation: heroFade 800ms cubic-bezier(0.16, 1, 0.3, 1) 80ms forwards;
}
html.js-animate .hero h1 {
  transform: translateY(24px);
  animation: heroFade 1000ms cubic-bezier(0.16, 1, 0.3, 1) 200ms forwards;
}
html.js-animate .hero h1 span {
  transform: translateY(24px);
  animation: heroFade 1000ms cubic-bezier(0.16, 1, 0.3, 1) 380ms forwards;
}
html.js-animate .hero__lead {
  transform: translateY(20px);
  animation: heroFade 900ms cubic-bezier(0.16, 1, 0.3, 1) 520ms forwards;
}
html.js-animate .hero__actions {
  transform: translateY(18px);
  animation: heroFade 850ms cubic-bezier(0.16, 1, 0.3, 1) 700ms forwards;
}
html.js-animate .hero__pills {
  transform: translateY(14px);
  animation: heroFade 800ms cubic-bezier(0.16, 1, 0.3, 1) 860ms forwards;
}
html.js-animate .hero-map-wrap > .map-card {
  transform: translateY(36px) scale(0.96);
  animation: heroMapEntry 1200ms cubic-bezier(0.16, 1, 0.3, 1) 340ms forwards;
}

@keyframes heroFade {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroMapEntry {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html.js-animate .hero .kicker,
  html.js-animate .hero h1,
  html.js-animate .hero h1 span,
  html.js-animate .hero__lead,
  html.js-animate .hero__actions,
  html.js-animate .hero__pills,
  html.js-animate .hero-map-wrap > .map-card {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
