/* =============================================================
   pr0t0n — Corporate Design
   Schwarz / Weiß + Akzent "Industrie-Grün" (#0B7A52)
   Selbst gehostete Fonts (DSGVO-konform, keine externen Requests)
   ============================================================= */

/* --- 1. Fonts ------------------------------------------------ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/jetbrainsmono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/jetbrainsmono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- 2. Design Tokens ---------------------------------------- */
:root {
  /* Schwarz / Grau / Weiß */
  --ink-900: #08090a;
  --ink-800: #131519;
  --ink-700: #1f2228;
  --ink-600: #363b44;
  --ink-500: #5a616c;
  --ink-400: #7d858f;
  --ink-300: #a6adb6;

  --paper: #ffffff;
  --paper-2: #f7f8fa;
  --paper-3: #eef0f4;

  --line: #e3e6ea;
  --line-strong: #cfd4da;

  /* Akzent: Industrie-Grün — trägt das Hauptargument Nachhaltigkeit.
     Bewusst tief und entsättigt, damit es technisch bleibt und nicht "Bio-Laden". */
  --accent: #0b7a52;
  --accent-600: #075e3f;
  --accent-300: #4bdb9b;
  --accent-050: #e8f6ef;

  /* Semantik (wird in dunklen Sektionen überschrieben) */
  --bg: var(--paper);
  --fg: var(--ink-900);
  --fg-muted: var(--ink-500);
  --border: var(--line);
  --card: var(--paper);

  --font-sans: 'Inter', ui-sans-serif, -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --container: 1200px;
  --gutter: 24px;
  --header-h: 72px;

  --shadow-sm: 0 1px 2px rgba(8, 9, 10, 0.05);
  --shadow: 0 4px 16px -4px rgba(8, 9, 10, 0.08), 0 2px 4px rgba(8, 9, 10, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(8, 9, 10, 0.18);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- 3. Reset ------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
/* <picture> ist nur ein Wrapper – der Rahmen soll das <img> bleiben */
picture { display: contents; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 999;
  padding: 12px 18px;
  background: var(--ink-900);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --- 4. Typografie ------------------------------------------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.7rem); letter-spacing: -0.038em; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.1vw, 2.85rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); }
h4 { font-size: 1rem; }

p { text-wrap: pretty; }

.lead {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  line-height: 1.65;
  color: var(--fg-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.mono { font-family: var(--font-mono); }

/* --- 5. Layout ----------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 8vw, 116px); }
.section--tight { padding-block: clamp(48px, 5vw, 72px); }
.section--paper { background: var(--paper-2); }

/* Token-Umkehr für alle dunklen Bereiche */
.section--dark,
.hero,
.cta-banner {
  --fg: #ffffff;
  --fg-muted: #9aa2ad;
  --border: rgba(255, 255, 255, 0.12);
  --card: rgba(255, 255, 255, 0.035);
}
.section--dark {
  --bg: var(--ink-900);
  background: var(--bg);
  color: var(--fg);
}
.section--dark .eyebrow,
.cta-banner .eyebrow { color: var(--accent-300); }

.section-head { max-width: 62ch; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin-block: 18px 16px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Dezentes technisches Raster als Hintergrund */
.blueprint {
  position: relative;
  isolation: isolate;
}
.blueprint::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, currentColor 1px, transparent 1px),
    linear-gradient(to bottom, currentColor 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.045;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}

/* --- 6. Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(11, 122, 82, 0.3);
}
.btn--primary:hover {
  background: var(--accent-600);
  box-shadow: 0 6px 20px -6px rgba(11, 122, 82, 0.65);
}

.btn--dark { background: var(--ink-900); color: #fff; }
.btn--dark:hover { background: var(--ink-700); }

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.btn--ghost:hover { background: var(--paper-2); border-color: var(--line-strong); }
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover,
.cta-banner .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--light { background: #fff; color: var(--ink-900); }
.btn--light:hover { background: var(--paper-3); }

.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* Textlink mit Pfeil */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--accent);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.section--dark .link-arrow { color: var(--accent-300); }

/* --- 7. Utility-Leiste + Header ------------------------------ */
.utilitybar {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.utilitybar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}
.utilitybar__items { display: flex; align-items: center; gap: 22px; }
.utilitybar__item,
.utilitybar__item a { display: inline-flex; align-items: center; gap: 8px; }
.utilitybar a:hover { color: #fff; }
.utilitybar svg { width: 14px; height: 14px; opacity: 0.7; }

.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #24d17e;
  box-shadow: 0 0 0 3px rgba(36, 209, 126, 0.2);
  flex: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(8, 9, 10, 0.05);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 26px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-500);
  transition: color 0.16s var(--ease), background 0.16s var(--ease);
}
.nav a:hover { color: var(--ink-900); background: var(--paper-2); }
.nav a.is-active { color: var(--ink-900); font-weight: 600; }
.nav a.is-active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.header__cta { display: flex; align-items: center; gap: 10px; flex: none; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 17px; height: 1.5px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform 0.22s var(--ease), background 0.15s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 17px; height: 1.5px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform 0.22s var(--ease), top 0.22s var(--ease);
}
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after { top: 5.5px; }
.nav-toggle[aria-expanded='true'] span { background: transparent; }
.nav-toggle[aria-expanded='true'] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] span::after { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { padding-block: 12px 20px; }
.mobile-nav a {
  display: block;
  padding: 14px 4px;
  font-size: 1.05rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 20px; }

/* --- 8. Hero -------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink-900);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  opacity: 0.62;
  filter: grayscale(0.5) contrast(1.12);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(103deg, var(--ink-900) 18%, rgba(8, 9, 10, 0.82) 46%, rgba(8, 9, 10, 0.34) 100%),
    linear-gradient(to top, var(--ink-900) 1%, transparent 38%);
}
.hero__grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, #000 10%, transparent 70%);
  -webkit-mask-image: linear-gradient(to right, #000 10%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 56px;
  padding-block: clamp(72px, 9vw, 132px);
}

.hero__eyebrow { color: var(--accent-300); }
.hero h1 { margin-block: 22px 24px; }
.hero h1 .accent {
  background: linear-gradient(100deg, #fff 25%, var(--accent-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { color: rgba(255, 255, 255, 0.74); max-width: 54ch; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
}
.hero__trust svg { width: 14px; height: 14px; color: var(--accent-300); flex: none; }

/* Technische Karte im Hero */
.spec-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 32px 64px -24px rgba(0, 0, 0, 0.7);
}
.spec-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.spec-card__head h2,
.spec-card__head p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.spec-card__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
}

.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
}
.spec-row:last-of-type { border-bottom: none; }
.spec-row dt { color: rgba(255, 255, 255, 0.55); }
.spec-row dd {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #fff;
  text-align: right;
}
.spec-card .btn { margin-top: 18px; }

/* --- 9. Kennzahlen-Leiste ------------------------------------- */
.metrics {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.metric {
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}
.metric:last-child { border-right: none; }
.metric__value {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}
.metric__value span { color: var(--accent); }
.metric__label {
  margin-top: 4px;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

/* --- 10. Karten ---------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
}
.section--dark .card:hover { border-color: rgba(255, 255, 255, 0.25); }

.card__media {
  aspect-ratio: 16 / 10;
  background: var(--paper-3);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.45s var(--ease), transform 0.6s var(--ease);
}
.card:hover .card__media img { filter: grayscale(0) contrast(1.02); transform: scale(1.04); }

.card__body { display: flex; flex-direction: column; flex: 1; padding: 28px; }
.card__body h3 { margin-bottom: 12px; }
.card__body p { color: var(--fg-muted); font-size: 0.9375rem; }
.card__body .link-arrow { margin-top: auto; padding-top: 22px; }

.card__index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 18px;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--accent-050);
  color: var(--accent);
  border: 1px solid rgba(11, 122, 82, 0.14);
}
.icon-box svg { width: 16px; height: 16px; }
.section--dark .icon-box {
  background: rgba(75, 219, 155, 0.12);
  border-color: rgba(75, 219, 155, 0.22);
  color: var(--accent-300);
}

/* Feature-Liste in Karten */
.feature-list { margin-top: 20px; display: grid; gap: 9px; }
.feature-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.875rem;
  color: var(--fg-muted);
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 9px; height: 1.5px;
  background: var(--accent);
}

/* --- 11. Prozess ---------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 34px 28px 34px 0;
  border-top: 2px solid var(--border);
}
.step + .step { padding-left: 28px; }
.step::before {
  counter-increment: step;
  content: '0' counter(step);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
}
.step::after {
  content: '';
  position: absolute;
  top: -5px; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.step + .step::after { left: 28px; }
.step h3 { font-size: 1.05rem; margin-bottom: 10px; }
.step p { font-size: 0.9rem; color: var(--fg-muted); }

/* --- 12. Split-Sektion (Technik) ------------------------------ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  /* Oben ausrichten: die Spalten sind unterschiedlich hoch, zentriert
     entstünde über und unter der kürzeren Spalte toter Raum. */
  align-items: start;
}
.split__media {
  /* Läuft beim Scrollen mit, solange die Textspalte höher ist. */
  position: sticky;
  top: calc(var(--header-h) + 28px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--ink-900);
}
.split__media img {
  width: 100%;
  height: auto; /* sonst gewinnt das height-Attribut gegen aspect-ratio */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  transition: filter 0.5s var(--ease);
}
.split__media:hover img { filter: grayscale(0) contrast(1.02); }
.split__media figcaption {
  position: absolute;
  left: 16px; bottom: 16px;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  background: rgba(8, 9, 10, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.datasheet {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
}
.datasheet__head {
  padding: 16px 22px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.section--dark .datasheet__head { background: rgba(255, 255, 255, 0.04); }
.datasheet dl { padding-inline: 22px; }
.datasheet .spec-row { border-color: var(--border); }
.datasheet .spec-row dt { color: var(--fg-muted); }
.datasheet .spec-row dd { color: var(--fg); }

/* Material-Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease),
    background 0.18s var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-050); }
.section--dark .chip:hover {
  background: rgba(75, 219, 155, 0.1);
  border-color: var(--accent-300);
  color: var(--accent-300);
}

/* Öko-Kennzeichnung an Werkstoff-Chips */
.chip--eco {
  border-color: rgba(11, 122, 82, 0.32);
  background: var(--accent-050);
  color: var(--accent-600);
}
.chip--eco::before { content: '\25CF'; margin-right: 7px; font-size: 0.6em; vertical-align: 0.25em; }
.section--dark .chip--eco {
  border-color: rgba(75, 219, 155, 0.32);
  background: rgba(75, 219, 155, 0.1);
  color: var(--accent-300);
}

/* --- 12b. Nachhaltigkeits-Säulen ------------------------------ */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pillar {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  overflow: hidden;
}
.pillar::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent);
}
.section--dark .pillar::after { background: var(--accent-300); }
.pillar h3 { margin-bottom: 10px; }
.pillar p { color: var(--fg-muted); font-size: 0.9375rem; }
.pillar__metric {
  display: block;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}
.section--dark .pillar__metric { color: var(--accent-300); }

/* --- 12c. Prüfliste (Qualität / Einkauf) ---------------------- */
.checklist { display: grid; gap: 16px; }
.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.9375rem;
}
.checklist svg {
  width: 17px; height: 17px;
  flex: none;
  margin-top: 3px;
  color: var(--accent);
}
.section--dark .checklist svg { color: var(--accent-300); }
.checklist strong { display: block; font-weight: 600; margin-bottom: 2px; }
.checklist span { color: var(--fg-muted); }

/* Ehrlicher Hinweis-Kasten (z. B. "keine ISO-Zertifizierung") */
.note-box {
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--card);
  font-size: 0.9rem;
  color: var(--fg-muted);
}
.note-box strong { color: var(--fg); }
.section--dark .note-box { border-left-color: var(--accent-300); }

/* --- 12d. Team ------------------------------------------------ */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.person {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  transition: border-color 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.person:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.person__initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--ink-900);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.section--dark .person__initials { background: #fff; color: var(--ink-900); }
.person__name { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; }
.person__role {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.section--dark .person__role { color: var(--accent-300); }
.person__quals { margin-top: 18px; display: grid; gap: 7px; }
.person__quals li {
  position: relative;
  padding-left: 20px;
  font-size: 0.875rem;
  color: var(--fg-muted);
}
.person__quals li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62em;
  width: 9px; height: 1.5px;
  background: var(--accent);
}
.person__contact {
  margin-top: auto;
  padding-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
}
.person__contact svg { width: 15px; height: 15px; }
.person__contact:hover { color: var(--accent-600); }

/* --- 13. Branchen --------------------------------------------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tile {
  background: var(--bg);
  padding: 30px 26px;
  transition: background 0.2s var(--ease);
}
.tile:hover { background: var(--paper-2); }
.section--dark .tile:hover { background: rgba(255, 255, 255, 0.04); }
.tile svg { width: 16px; height: 16px; color: var(--accent); margin-bottom: 14px; }
.section--dark .tile svg { color: var(--accent-300); }
.tile h3 { font-size: 1rem; margin-bottom: 7px; }
.tile p { font-size: 0.875rem; color: var(--fg-muted); }

/* --- 14. FAQ -------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
  transition: color 0.18s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: '';
  flex: none;
  width: 11px; height: 11px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary { color: var(--accent); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details p {
  padding-bottom: 26px;
  max-width: 72ch;
  color: var(--fg-muted);
  font-size: 0.9375rem;
}

/* --- 15. Kontakt ---------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

.contact-info { display: grid; gap: 14px; margin-top: 34px; }
.contact-info__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.2s var(--ease);
}
.contact-info__item:hover { border-color: var(--line-strong); }
.contact-info__item svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 4px; }
.section--dark .contact-info__item svg { color: var(--accent-300); }
.contact-info__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.contact-info__value { font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; }
a.contact-info__item:hover .contact-info__value { color: var(--accent); }

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 40px);
  box-shadow: var(--shadow);
}
.section--dark .form-card { box-shadow: none; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.field label .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.section--dark .field input,
.section--dark .field select,
.section--dark .field textarea { background: rgba(255, 255, 255, 0.04); }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-400); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(11, 122, 82, 0.14);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%237d858f' stroke-width='1.6'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
}

.consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.8125rem;
  color: var(--fg-muted);
  line-height: 1.55;
}
.consent input {
  width: 16px; height: 16px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--accent);
}
.consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.form-note {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-align: center;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  background: var(--accent-050);
  border: 1px solid rgba(11, 122, 82, 0.2);
  color: var(--accent-600);
}
.form-status.is-visible { display: block; }
.form-status--error {
  background: #fff7ed;
  border-color: #fdba74;
  color: #9a3412;
}
.section--dark .form-status--error,
.section--paper .form-status--error {
  background: #fff7ed;
  border-color: #fdba74;
  color: #9a3412;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn:disabled:hover { transform: none; box-shadow: none; }
.section--dark .form-status {
  background: rgba(75, 219, 155, 0.1);
  border-color: rgba(75, 219, 155, 0.25);
  color: var(--accent-300);
}

/* --- 16. CTA-Banner ------------------------------------------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--ink-900);
  color: #fff;
  padding: clamp(38px, 5vw, 64px);
  overflow: hidden;
  isolation: isolate;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 300px at 88% 15%, rgba(11, 122, 82, 0.4), transparent 65%),
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner__text { flex: 1 1 380px; }
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { color: rgba(255, 255, 255, 0.7); max-width: 46ch; }
.cta-banner .btn-row { display: flex; gap: 12px; flex-wrap: wrap; flex: 0 1 auto; }

/* --- 17. Footer ----------------------------------------------- */
.footer {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.875rem;
  padding-block: clamp(52px, 6vw, 76px) 0;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 44px;
  padding-bottom: 48px;
}
.footer__brand img { height: 24px; width: auto; filter: invert(1) brightness(2); }
.footer__brand p { margin-top: 18px; max-width: 34ch; line-height: 1.6; }
.footer h4 {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer ul { display: grid; gap: 11px; }
.footer a { transition: color 0.16s var(--ease); }
.footer a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
}
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }

.social { display: flex; gap: 10px; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.social a:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }
.social svg { width: 15px; height: 15px; }

/* --- 18. Rechtsseiten (Impressum / Datenschutz) --------------- */
.page-head {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 84px);
}
.page-head h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); margin-top: 16px; }

.prose { max-width: 76ch; padding-block: clamp(48px, 6vw, 80px); }
.prose h2 {
  font-size: 1.4rem;
  margin-top: 48px;
  margin-bottom: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.prose h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.prose h3 { font-size: 1.05rem; margin-top: 28px; margin-bottom: 8px; }
.prose p, .prose li { color: var(--ink-600); font-size: 0.9375rem; line-height: 1.72; }
.prose p + p { margin-top: 14px; }
.prose ul { margin-top: 12px; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65em;
  width: 8px; height: 1.5px;
  background: var(--accent);
}
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose address { font-style: normal; margin-top: 12px; line-height: 1.72; color: var(--ink-600); }

.todo {
  display: block;
  margin-top: 14px;
  padding: 14px 16px;
  border-left: 3px solid #f59e0b;
  background: #fffbeb;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.8125rem;
  color: #92400e;
}
.todo strong { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; }

/* --- 19. Scroll-Reveal ---------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* --- 20. Responsive ------------------------------------------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .spec-card { max-width: 520px; }
  .metrics__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(odd) { padding-left: 0; }
  .step:nth-child(odd)::after { left: 0; }
  .step:nth-child(even) { padding-left: 28px; }
  .step:nth-child(even)::after { left: 28px; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
}

@media (max-width: 900px) {
  .nav, .header__cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split__media { position: static; } /* einspaltig ist Sticky sinnlos */
  .contact { grid-template-columns: 1fr; }
  .utilitybar__items .utilitybar__item--hide-sm { display: none; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; padding-right: 0; }
  .step::after, .step + .step::after { left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .hero__actions .btn,
  .cta-banner .btn-row .btn { width: 100%; }
  .cta-banner .btn-row { width: 100%; }
  .metrics__grid { grid-template-columns: 1fr; }
  .metric { border-right: none; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: none; }
  .footer__top { grid-template-columns: 1fr; }
  .brand__tag { display: none; }
  .utilitybar { display: none; }
}

/* --- 21. Motion / Print --------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .utilitybar, .footer, .cta-banner, .nav-toggle, .hero__bg { display: none !important; }
  body { color: #000; background: #fff; }
  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 0.75em; }
}
