/* ============================================================
   DOCby.net — Static site styles
   Single stylesheet, no build step. Hand-written, mobile-first.
   Reads from the design system: colours/type tokens inlined here
   so the site is self-contained.
   ============================================================ */

/* ── Webfonts ──────────────────────────────────────────────── */
/* Lokal gehostet (kein Google-Fonts-Abruf, DSGVO). Variable Fonts,
   Subset Latin + Latin Extended, SIL Open Font License. */
@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-vf.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spline Sans Mono";
  src: url("../fonts/spline-sans-mono-vf.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ── Reset & base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(44, 77, 155, 0.22); border-radius: 4px; }

/* ── Tokens ────────────────────────────────────────────────── */
:root {
  /* Brand */
  --blue-50:  #EEF2FA;
  --blue-100: #DBE3F2;
  --blue-200: #B5C2E2;
  --blue-400: #5E76B6;
  --blue-600: #2C4D9B;   /* primary, sampled from logo brushstroke */
  --blue-700: #213C7C;
  --blue-800: #182C5C;
  --blue-900: #111F40;

  /* Sand */
  --sand-50:  #FBF8F2;
  --sand-100: #F4EFE6;
  --sand-200: #E8DFCE;

  /* Slate */
  --white:    #FFFFFF;
  --slate-50:  #F7F8FA;
  --slate-100: #EEF0F4;
  --slate-200: #E2E6EC;
  --slate-300: #C8CFD9;
  --slate-400: #9AA3B2;
  --slate-500: #6B7585;
  --slate-600: #4A5360;
  --slate-700: #323943;
  --slate-800: #1F242C;
  --ink-900:   #0F1419;

  /* Deckkraft der Flächen über dem Mesh-Hintergrund (site.js) */
  --veil:      0.80;
  --veil-dark: 0.86;

  /* Semantic */
  --green-50:  #E9F7EE;
  --green-600: #15803D;
  --amber-50:  #FDF3E1;
  --amber-600: #B86C04;
  --red-50:    #FCE9E9;
  --red-600:   #B22929;

  /* Type */
  --font-sans: "Mulish", "Frutiger", "Frutiger LT Std", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 20, 25, 0.06), 0 1px 1px rgba(15, 20, 25, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 20, 25, 0.06), 0 1px 2px rgba(15, 20, 25, 0.04);
  --shadow-lg: 0 16px 32px rgba(15, 20, 25, 0.08), 0 4px 8px rgba(15, 20, 25, 0.04);
  --shadow-xl: 0 32px 64px rgba(15, 20, 25, 0.10), 0 8px 16px rgba(15, 20, 25, 0.04);
  --ring-focus: 0 0 0 3px rgba(44, 77, 155, 0.22);

  /* Motion */
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --dur: 180ms;

  /* Layout */
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
}

/* ── Document ──────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--white);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── Typography ────────────────────────────────────────────── */
.h-display {
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}
.h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
.h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
.h3 { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; }
.h4 { font-size: 18px; line-height: 1.35; font-weight: 700; }
.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--slate-700); text-wrap: pretty; }
.body { font-size: 16px; line-height: 1.6; color: var(--slate-700); text-wrap: pretty; }
.small { font-size: 14px; line-height: 1.55; color: var(--slate-500); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-700);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--blue-600);
}
.mono { font-family: var(--font-mono); }
.accent { color: var(--blue-600); }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }

/* Product names */
.product-name {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.product-name .suffix { color: var(--blue-600); }
abbr[title] { text-decoration: none; border-bottom: 1px dotted var(--slate-400); cursor: help; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--sand { background: rgb(244 239 230 / var(--veil)); }
.section--ink { background: rgb(15 20 25 / var(--veil-dark)); color: var(--sand-50); }
.section--ink .lede, .section--ink .body { color: var(--slate-300); }
.divider { height: 1px; background: var(--slate-200); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform 80ms var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--blue-600); color: var(--white); }
.btn--primary:hover { background: var(--blue-700); }
.btn--ink { background: var(--ink-900); color: var(--sand-50); }
.btn--ink:hover { background: var(--slate-800); }
.btn--ghost { background: transparent; color: var(--ink-900); border-color: var(--slate-300); }
.btn--ghost:hover { background: var(--slate-100); border-color: var(--slate-400); }
.btn--light { background: var(--white); color: var(--ink-900); border-color: var(--slate-200); }
.btn--light:hover { background: var(--slate-50); }
.btn--lg { padding: 16px 26px; font-size: 16px; border-radius: 14px; }
.btn--sm { padding: 9px 14px; font-size: 13px; border-radius: 10px; }
.btn .arrow { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ── Top utility bar ───────────────────────────────────────── */
.utility {
  background: var(--ink-900);
  color: var(--slate-300);
  font-size: 13px;
}
.utility .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.utility a { color: inherit; }
.utility a:hover { color: var(--white); }
.utility-left { display: flex; align-items: center; gap: 18px; flex-wrap: nowrap; white-space: nowrap; }
.utility-right { display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; white-space: nowrap; }
.utility-left a { display: inline-flex; align-items: center; white-space: nowrap; }
.utility-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--slate-700);
  border-radius: 999px;
  color: var(--slate-200);
}
.utility-badge svg { width: 12px; height: 12px; color: var(--green-600); }
@media (max-width: 900px) { .utility-left .phone-label { display: none; } }

/* ── Header / nav ──────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(15, 20, 25, 0.06);
}
.header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}
/* Logo nie stauchen: der Link darf im Flex-Layout nicht schrumpfen */
.header__logo { flex-shrink: 0; }
.header__logo img {
  height: 34px;
  width: auto;
  aspect-ratio: 6290 / 2115;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav a, .nav .has-submenu > button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-900);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav a:hover, .nav .has-submenu > button:hover { background: rgba(15, 20, 25, 0.05); }
.nav .has-submenu { position: relative; }
.nav .has-submenu > button svg { width: 12px; height: 12px; transition: transform var(--dur) var(--ease); }
.nav .has-submenu[aria-expanded="true"] > button svg { transform: rotate(180deg); }
.nav .submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 8px;
  min-width: 320px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.nav .has-submenu[aria-expanded="true"] .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.submenu a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 500;
  width: 100%;
}
.submenu a span { font-size: 13px; color: var(--slate-500); font-weight: 400; }
.header__cta { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; }

/* Menü-Symbol statt Navigation bis 1239px: die DE-Navigation braucht ~1205px */
@media (max-width: 1239px) {
  .header .container { gap: 16px; }
  .nav { display: none; }
  .header__cta .btn--ghost { display: none; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--slate-200);
  }
  .menu-toggle svg { width: 20px; height: 20px; }
  /* Mobile drawer */
  body.menu-open { overflow: hidden; }
  body.menu-open .header .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: fixed;
    inset: 60px 0 0 0;
    background: var(--white);
    padding: 24px var(--gutter);
    overflow-y: auto;
    z-index: 40;
  }
  body.menu-open .header .nav a,
  body.menu-open .header .nav .has-submenu > button {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 17px;
  }
  body.menu-open .nav .submenu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 4px 0 4px 16px;
    background: transparent;
  }
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(64px, 9vw, 112px) 0 clamp(80px, 10vw, 128px);
  overflow: hidden;
}
/* Foto mit Sand-Verlauf als eigene Ebene, damit es über dem Mesh durchscheinen kann */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(100deg, var(--sand-100) 0%, rgba(244, 239, 230, 0.92) 38%, rgba(244, 239, 230, 0.55) 68%, rgba(244, 239, 230, 0.25) 100%),
    url("../img/hero/brawo-fmz.jpg");
  background-size: auto, cover;
  background-position: center top, center 22%;
  background-repeat: no-repeat, no-repeat;
  opacity: var(--veil);
  pointer-events: none;
}
/* Punktraster + Übergang nach unten */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgb(200 207 217 / 0.10) 1.1px, transparent 1.1px),
    linear-gradient(180deg, rgba(244, 239, 230, 0) 0%, rgb(244 239 230 / var(--veil)) 100%);
  background-size: 18px 18px, 100% 180px;
  background-position: 0 0, bottom;
  background-repeat: repeat, no-repeat;
  pointer-events: none;
}
@media (max-width: 720px) {
  .hero::before {
    background-image:
      linear-gradient(180deg, rgba(244, 239, 230, 0.92) 0%, rgba(244, 239, 230, 0.78) 55%, rgba(244, 239, 230, 0.55) 100%),
      url("../img/hero/brawo-fmz.jpg");
    background-position: center top, center 28%;
  }
}
.hero__inner { position: relative; }
.hero__doc {
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.2vw, 14px);
  font-weight: 600;
  color: var(--slate-600);
  margin-bottom: 32px;
}
.hero__doc strong { font-weight: 700; color: var(--blue-700); }
.hero__doc span { display: inline-flex; align-items: center; gap: 6px; }
.hero__doc span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--blue-600);
  display: inline-block;
}
.hero__title { font-size: clamp(36px, 5.5vw, 68px); max-width: 980px; margin-bottom: 24px; }
.hero__sub { max-width: 640px; margin-bottom: 36px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__meta {
  margin-top: 56px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--slate-600);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--blue-600); }

/* RELAX prompt cards (the 3 hero questions) */
.relax-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 64px;
  position: relative;
}
@media (max-width: 880px) { .relax-cards { grid-template-columns: 1fr; } }
.relax-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  text-decoration: none;
  color: inherit;
}
.relax-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
}
.relax-card__word {
  font-size: 32px;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--blue-600);
  line-height: 1;
}
.relax-card__q {
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink-900);
  font-weight: 500;
  text-wrap: pretty;
}
.relax-card__cta {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.relax-card:hover .relax-card__cta .arrow { transform: translateX(3px); }
.relax-card__cta .arrow { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }

/* ── Trust strip ───────────────────────────────────────────── */
.trust {
  padding: 36px 0;
  background: rgb(255 255 255 / var(--veil));
  border-bottom: 1px solid var(--slate-100);
}
.trust__lead {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
  text-align: center;
  margin-bottom: 24px;
}
.trust__row {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
  align-items: center;
  color: var(--slate-500);
  font-size: 15px;
  font-weight: 600;
}
.trust__row > span,
.trust__row > .trust__logo { opacity: 0.85; transition: opacity var(--dur) var(--ease), filter var(--dur) var(--ease); }
.trust__row > .trust__logo {
  display: inline-flex;
  align-items: center;
  height: 32px;
}
.trust__row > .trust__logo img {
  max-height: 32px;
  width: auto;
  filter: grayscale(1);
  mix-blend-mode: multiply;
  transition: filter var(--dur) var(--ease);
}
.trust__row > .trust__logo:hover img { filter: grayscale(0); }
.trust__row > .trust__logo:hover { opacity: 1; }

/* ── Section header (eyebrow + h2 + lede) ──────────────────── */
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head .h2 { margin-bottom: 16px; }

/* ── Product split (two big tiles) ─────────────────────────── */
.product-split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .product-split { grid-template-columns: 1fr; } }
@media (min-width: 1101px) {
  .product-split .product-tile { padding: 32px; }
  .product-split .product-tile__list { grid-template-columns: 1fr; }
}
.product-tile {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.product-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.product-tile__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue-600);
  text-transform: uppercase;
}
.product-tile__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.product-tile__title .accent { color: var(--blue-600); }
.product-tile__body { color: var(--slate-700); line-height: 1.55; }
.product-tile__list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 14px;
}
.product-tile__list li {
  font-size: 14px;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-tile__list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--blue-600);
}
.product-tile__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--blue-600);
  padding-top: 8px;
}
.product-tile__cta .arrow { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.product-tile:hover .product-tile__cta .arrow { transform: translateX(3px); }

/* ── Stats band ────────────────────────────────────────────── */
.stats {
  background: rgb(15 20 25 / var(--veil-dark));
  color: var(--sand-50);
  padding: clamp(64px, 9vw, 96px) 0;
}
.stats__lead {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue-400);
  margin-bottom: 40px;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 48px;
}
@media (max-width: 900px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .stats__grid { grid-template-columns: 1fr; } }
.stats__num {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--sand-50);
}
.stats__num .unit { color: var(--blue-400); font-size: 0.55em; font-weight: 700; }
.stats__label { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--slate-400); max-width: 220px; }

/* ── Why grid (warum-docby.net reasons) ────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.why-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
}
.why-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-card__icon svg { width: 22px; height: 22px; stroke-width: 2; }
.why-card__title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.why-card__body { font-size: 14.5px; line-height: 1.55; color: var(--slate-600); }

/* ── Letter / founder statement ────────────────────────────── */
.letter {
  background: rgb(251 248 242 / var(--veil));
  border-top: 1px solid var(--sand-200);
  border-bottom: 1px solid var(--sand-200);
  padding: clamp(72px, 10vw, 112px) 0;
}
.letter__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}
.letter__quote-mark {
  font-family: var(--font-mono);
  color: var(--blue-600);
  font-size: 60px;
  line-height: 0.8;
  font-weight: 800;
  margin-bottom: 24px;
}
.letter__body {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.55;
  color: var(--ink-900);
  text-wrap: pretty;
  font-weight: 400;
}
.letter__body p + p { margin-top: 18px; }
.letter__body em { font-style: normal; color: var(--blue-700); font-weight: 600; }
.letter__sig {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}
.letter__sig-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--blue-600);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.letter__sig-meta { display: flex; flex-direction: column; gap: 2px; }
.letter__sig-name { font-weight: 700; font-size: 16px; }
.letter__sig-role { font-size: 13px; color: var(--slate-500); }

/* ── Projects showcase ─────────────────────────────────────── */
.projects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1024px) { .projects { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .projects { grid-template-columns: 1fr; } }
.project-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 132px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  text-decoration: none;
  color: inherit;
}
.project-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
}
.project-card__cat {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.project-card__title {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink-900);
  text-wrap: pretty;
}
.project-card__meta {
  margin-top: auto;
  font-size: 12.5px;
  color: var(--slate-500);
  font-family: var(--font-mono);
  font-weight: 500;
}

/* Visual variant with hero image on top (used on referenzen.html) */
.project-card--visual {
  padding: 0;
  overflow: hidden;
  min-height: 0;
}
.project-card--visual .project-card__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--slate-100);
  transition: transform 400ms var(--ease);
}
.project-card--visual:hover .project-card__img { transform: scale(1.03); }
.project-card--visual .project-card__body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.project-card--visual .project-card__meta { margin-top: 4px; }

/* Projekt-Panel (native <dialog>, Inhalt aus build_ref_dialogs.py) */
.ref-dialog {
  width: min(880px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--white);
  color: var(--ink-900);
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.ref-dialog::backdrop { background: rgba(15, 20, 25, 0.55); }
body:has(.ref-dialog[open]) { overflow: hidden; }
.ref-dialog__close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px -56px 0;
  z-index: 1;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-900);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.ref-dialog__close:hover { background: var(--slate-100); }
.ref-dialog__close svg { width: 20px; height: 20px; }
.ref-dialog__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  background: var(--slate-100);
}
.ref-dialog__body { padding: clamp(22px, 4vw, 40px); display: flex; flex-direction: column; gap: 10px; }
.ref-dialog__title { font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; text-wrap: balance; }
.ref-dialog__meta { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--slate-500); }
.ref-dialog__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 18px; }
.ref-dialog__cols .voice__role { margin-bottom: 14px; }
.ref-dialog__quotes-h { margin-top: 26px; }
.ref-dialog .voices { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.ref-dialog .voice { background: var(--sand-50); }
.ref-dialog .voice__quote { font-size: 15.5px; }
.ref-dialog__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 720px) {
  .ref-dialog { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .ref-dialog__cols { grid-template-columns: 1fr; }
  .ref-dialog .voices { grid-template-columns: 1fr; }
}

/* ── Testimonials ──────────────────────────────────────────── */
.testimonial {
  background: var(--white);
  padding: clamp(72px, 10vw, 128px) 0;
}
.testimonial__inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.testimonial__mark {
  color: var(--blue-600);
  margin-bottom: 28px;
  display: inline-flex;
}
.testimonial__mark svg { width: 36px; height: 36px; }
.testimonial__quote {
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: var(--ink-900);
  text-wrap: balance;
}
.testimonial__attrib {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.testimonial__name { font-size: 15px; font-weight: 700; }
.testimonial__role { font-size: 13.5px; color: var(--slate-500); }
.testimonial__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}
.testimonial__dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--slate-300);
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  border: 0; padding: 0;
}
.testimonial__dot.active { background: var(--blue-600); width: 22px; }

/* ── Final CTA band ────────────────────────────────────────── */
.cta-band { background: rgb(255 255 255 / var(--veil)); padding: clamp(72px, 10vw, 128px) 0; }
.cta-band__inner {
  background: rgb(244 239 230 / var(--veil));
  border-radius: 28px;
  padding: clamp(48px, 7vw, 80px) clamp(32px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}
.cta-band__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--slate-300) 1.1px, transparent 1.1px);
  background-size: 18px 18px;
  opacity: 0.22;
  pointer-events: none;
}
.cta-band__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 880px) { .cta-band__grid { grid-template-columns: 1fr; } }
.cta-band__title { font-size: clamp(30px, 4.5vw, 44px); letter-spacing: -0.02em; font-weight: 700; line-height: 1.1; text-wrap: balance; }
.cta-band__sub { margin-top: 18px; color: var(--slate-700); font-size: 16.5px; line-height: 1.55; max-width: 520px; }
.cta-band__form {
  background: var(--white);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-band__form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
}
.cta-band__form input, .cta-band__form textarea {
  font-family: inherit;
  font-size: 14.5px;
  padding: 11px 13px;
  border: 1px solid var(--slate-300);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink-900);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.cta-band__form input:focus, .cta-band__form textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: var(--ring-focus);
}
.cta-band__form .submit-row { margin-top: 4px; }
.cta-band__form .submit-row .btn { width: 100%; }
.cta-band__form .legal { font-size: 11.5px; color: var(--slate-500); line-height: 1.5; margin: 0; }
.cta-band__success {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0;
  align-items: center;
  text-align: center;
}
.cta-band__success svg { width: 36px; height: 36px; color: var(--green-600); }
.cta-band__success[hidden] { display: none; }

/* ── DOC.mobile page specifics ─────────────────────────────── */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1024px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .benefit-grid { grid-template-columns: 1fr; } }
.benefit-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.benefit-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--slate-300); }
.benefit-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue-600);
}
.benefit-card__title { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.benefit-card__body { font-size: 14px; line-height: 1.55; color: var(--slate-600); }

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--slate-200);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  overflow: hidden;
}
@media (max-width: 1024px) { .module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .module-grid { grid-template-columns: 1fr; } }
.module {
  background: var(--white);
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--dur) var(--ease);
}
.module:hover { background: var(--slate-50); }
.module__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
}
.module__icon svg { width: 20px; height: 20px; stroke-width: 2; }
.module__title { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.module__body { font-size: 13.5px; line-height: 1.55; color: var(--slate-600); }

/* Stakeholder voice grid */
.voices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 720px) { .voices { grid-template-columns: 1fr; } }
.voice {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.voice__role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue-600);
}
.voice__quote { font-size: 17px; line-height: 1.45; color: var(--ink-900); font-weight: 500; text-wrap: pretty; }
.voice__attrib { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.voice__attrib-avatar {
  width: 34px; height: 34px;
  border-radius: 999px;
  background: var(--sand-100);
  color: var(--blue-700);
  font-weight: 700;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.voice__attrib-name { font-size: 13.5px; font-weight: 600; color: var(--ink-900); }
.voice__attrib-sub { font-size: 12px; color: var(--slate-500); }

/* Page-level hero variant for non-home pages */
.subhero {
  position: relative;
  background: rgb(244 239 230 / var(--veil));
  padding: clamp(72px, 10vw, 128px) 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
}
.subhero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--slate-300) 1.1px, transparent 1.1px);
  background-size: 18px 18px;
  opacity: 0.22;
  pointer-events: none;
}
.subhero__inner { position: relative; max-width: 880px; }
.subhero__crumbs {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--slate-600);
  margin-bottom: 28px;
}
.subhero__crumbs a { color: inherit; }
.subhero__crumbs a:hover { color: var(--blue-600); }
.subhero__crumbs .sep { margin: 0 8px; color: var(--slate-400); }

/* Two-up split: text + image */
.split-2up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 880px) { .split-2up { grid-template-columns: 1fr; } }
.split-2up__visual {
  background: var(--sand-50);
  border-radius: 24px;
  border: 1px solid var(--slate-200);
  padding: 40px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.split-2up__visual--ink { background: var(--ink-900); color: var(--sand-50); border-color: transparent; }
.split-2up__visual--ink .schematic { color: var(--blue-400); }
.split-2up__visual--stack {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
}

/* DOC.mobile schematic — a simple ASCII-flavoured block */
.schematic {
  display: grid;
  gap: 10px;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-700);
}
.schematic-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.schematic-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.schematic-box.accent { background: var(--blue-50); border-color: var(--blue-200); color: var(--blue-700); }
.schematic-box .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--blue-600); flex: 0 0 auto; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: rgb(255 255 255 / var(--veil));
  padding: clamp(64px, 8vw, 96px) 0 40px;
  border-top: 1px solid var(--slate-100);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(5, 1fr);
  gap: 36px;
  margin-bottom: 64px;
}
@media (max-width: 1200px) { .footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; } .footer__brand { grid-column: span 4; } }
@media (max-width: 1024px) { .footer__grid { grid-template-columns: 1fr 1fr 1fr; } .footer__brand { grid-column: span 3; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: span 2; } }
.footer__logo img { height: 30px; width: auto; aspect-ratio: 6290 / 2115; margin-bottom: 14px; }
.footer__about { font-size: 14.5px; color: var(--slate-600); line-height: 1.55; max-width: 320px; }
.footer__contact { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--slate-600); }
.footer__contact .row { display: flex; align-items: center; gap: 8px; }
.footer__contact svg { width: 14px; height: 14px; color: var(--slate-400); flex: 0 0 auto; }
.footer__col-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 14px;
}
.footer__col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--slate-700);
  transition: color var(--dur) var(--ease);
}
.footer__col a:hover { color: var(--blue-600); }
.footer__bottom {
  padding-top: 28px;
  border-top: 1px solid var(--slate-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--slate-500);
}
.footer__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  color: var(--slate-700);
}
.footer__badge svg { width: 12px; height: 12px; color: var(--green-600); }

/* ── Utility / motion ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 480ms var(--ease), transform 480ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--ink-900);
  color: var(--sand-50);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform var(--dur) var(--ease);
  z-index: 100;
}
.skip-link:focus-visible { transform: translateY(0); }

/* ── Mega-Menu (multi-column dropdown for Lösungen) ────────── */
.nav .submenu--mega {
  min-width: min(720px, 90vw);
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 22px;
}
.nav .submenu--mega .mega-col-title {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
  padding: 4px 12px 0;
}
.nav .submenu--mega .mega-col-title + .mega-col-title { margin-top: 8px; }
.nav .submenu--mega a {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
}
.nav .submenu--mega .mega-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--blue-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav .submenu--mega .mega-icon svg { width: 16px; height: 16px; stroke-width: 2; }
.nav .submenu--mega .mega-text { display: flex; flex-direction: column; gap: 2px; }
.nav .submenu--mega .mega-text strong { font-weight: 600; font-size: 14.5px; color: var(--ink-900); }
.nav .submenu--mega .mega-text span { font-size: 12.5px; color: var(--slate-500); font-weight: 400; line-height: 1.45; }

@media (max-width: 1239px) {
  body.menu-open .nav .submenu--mega {
    grid-template-columns: 1fr;
    padding: 4px 0 4px 16px;
  }
}

/* ── Branchen card grid (für Branchen-Seiten und Submenu) ──── */
.branchen-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .branchen-cards { grid-template-columns: 1fr; } }
.branche-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  text-decoration: none;
  color: inherit;
}
.branche-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--slate-300); }
.branche-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.branche-card__title { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.branche-card__body { font-size: 14.5px; line-height: 1.55; color: var(--slate-600); }
.branche-card__list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 6px; }
.branche-card__list li {
  font-size: 13.5px;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 8px;
}
.branche-card__list li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--blue-600);
  flex: 0 0 auto;
}
.branche-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-600);
}
.branche-card__cta .arrow { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.branche-card:hover .branche-card__cta .arrow { transform: translateX(3px); }

/* ── FAQ accordion ─────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 0; max-width: 880px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--slate-200);
}
.faq-item:first-child { border-top: 1px solid var(--slate-200); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 400;
  color: var(--blue-600);
  flex: 0 0 auto;
  transition: transform var(--dur) var(--ease);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--slate-700);
  max-width: 760px;
}
.faq-item ul {
  padding: 0 0 22px 22px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--slate-700);
  max-width: 760px;
}

/* ── Pricing / Tier-Karten ─────────────────────────────────── */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.tier {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.tier--featured {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 1px var(--blue-600), var(--shadow-lg);
}
.tier--featured::before {
  content: "Empfohlen";
  position: absolute;
  top: -12px; left: 30px;
  background: var(--blue-600);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.tier__name { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-600); }
.tier__price {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
}
.tier__price .currency { font-size: 22px; font-weight: 700; color: var(--slate-500); margin-right: 4px; }
.tier__price .period { font-size: 14px; font-weight: 500; color: var(--slate-500); margin-left: 6px; }
.tier__lede { font-size: 14.5px; color: var(--slate-600); line-height: 1.55; }
.tier__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.tier__list li {
  font-size: 14.5px;
  color: var(--ink-900);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}
.tier__list li::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  background: var(--green-600);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat;
}
.tier__cta { margin-top: auto; }
.tier__cta .btn { width: 100%; }

/* ── Download-Liste ────────────────────────────────────────── */
.download-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 720px) { .download-list { grid-template-columns: 1fr; } }
.download-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.download-row:hover { border-color: var(--blue-600); background: var(--blue-50); }
.download-row__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
}
.download-row__icon svg { width: 20px; height: 20px; stroke-width: 1.8; }
.download-row__meta { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.download-row__title { font-size: 15px; font-weight: 600; color: var(--ink-900); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.download-row__sub { font-size: 12.5px; color: var(--slate-500); font-family: var(--font-mono); }
.download-row__arrow { color: var(--blue-600); flex: 0 0 auto; }
.download-row__arrow svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.download-row:hover .download-row__arrow svg { transform: translateX(3px); }

/* ── Filter-Tabs (Referenzen) ──────────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}
.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--slate-700);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.filter-tab:hover { border-color: var(--slate-300); background: var(--slate-50); }
.filter-tab.is-active { background: var(--ink-900); color: var(--sand-50); border-color: var(--ink-900); }
.filter-tab .count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-500);
  padding: 1px 6px;
  background: var(--slate-100);
  border-radius: 999px;
}
.filter-tab.is-active .count { background: var(--slate-700); color: var(--slate-300); }
.project-card[hidden] { display: none; }

/* ── Long-form prose (Rechtsseiten, Pressemeldungen) ───────── */
.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 48px 0 16px;
  line-height: 1.2;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 28px 0 10px;
}
.prose p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-700);
  margin: 0 0 14px;
  text-wrap: pretty;
}
.prose ul, .prose ol {
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-700);
  margin: 0 0 14px;
  padding-left: 22px;
}
.prose li { margin: 6px 0; }
.prose a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--blue-700); }
.prose strong { color: var(--ink-900); font-weight: 700; }
.prose hr { border: 0; height: 1px; background: var(--slate-200); margin: 36px 0; }
.prose dl { font-size: 15.5px; line-height: 1.6; color: var(--slate-700); }
.prose dt { font-weight: 700; color: var(--ink-900); margin-top: 14px; }
.prose dd { margin: 0 0 8px; }

/* ── Address / contact info card ───────────────────────────── */
.contact-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  padding: 32px 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: var(--shadow-sm);
}
.contact-card__row { display: flex; align-items: flex-start; gap: 14px; }
.contact-card__icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card__icon svg { width: 18px; height: 18px; stroke-width: 2; }
.contact-card__title { font-size: 12px; font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-500); font-weight: 600; }
.contact-card__value { font-size: 15.5px; color: var(--ink-900); font-weight: 500; margin-top: 4px; line-height: 1.45; }
.contact-card__value a { color: var(--blue-600); }

/* ── EN-Toggle / Sprachumschalter ──────────────────────────── */
.lang-switch {
  display: inline-flex;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  margin-left: 8px;
}
.lang-switch a {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--slate-500);
}
.lang-switch a.is-active { background: var(--slate-700); color: var(--white); }
/* Überschreibt .utility a:hover (weiß) — sonst weiß auf weißem Pill-Hintergrund */
.lang-switch a:hover { color: var(--ink-900); }
.lang-switch a.is-active:hover { color: var(--white); }
@media (max-width: 720px) {
  .lang-switch { font-size: 11px; padding: 2px; }
  .lang-switch a { padding: 4px 8px; }
}

/* ── Sub-page CTA: anchor strip ────────────────────────────── */
.anchor-nav {
  position: sticky;
  top: 60px;
  z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
}
.anchor-nav__inner {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 500;
  scrollbar-width: none;
}
.anchor-nav__inner::-webkit-scrollbar { display: none; }
.anchor-nav__inner a {
  color: var(--slate-600);
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.anchor-nav__inner a:hover, .anchor-nav__inner a.is-active { color: var(--blue-600); border-color: var(--blue-600); }
@media (max-width: 720px) { .anchor-nav { display: none; } }

/* ── 404 page ──────────────────────────────────────────────── */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(244 239 230 / var(--veil));
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.error-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--slate-300) 1.1px, transparent 1.1px);
  background-size: 18px 18px;
  opacity: 0.22;
}
.error-page__code {
  font-family: var(--font-mono);
  font-size: 120px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--blue-600);
  line-height: 1;
  margin-bottom: 20px;
  position: relative;
}
.error-page__inner { position: relative; max-width: 540px; margin: 0 auto; }

/* ── Process steps ─────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-increment: step;
  position: relative;
}
.step__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-600);
}
.step__num::before { content: "0" counter(step) " - "; }
.step__title { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.step__body { font-size: 14px; line-height: 1.55; color: var(--slate-600); }

/* ── Sub-page lead box (lede + meta) ───────────────────────── */
.subhero__title { font-size: clamp(32px, 5vw, 56px); margin-bottom: 20px; }
/* Eyebrow oben enthält Lösungs-Eigennamen (DOC.mobile, DOC.ai …) – nicht in Großschrift setzen */
.subhero .eyebrow { text-transform: none; letter-spacing: 0.01em; }
.subhero__sub { margin-bottom: 28px; max-width: 640px; }
.subhero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.subhero__meta {
  margin-top: 36px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--slate-600);
}
.subhero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.subhero__meta svg { width: 14px; height: 14px; color: var(--blue-600); }

/* ── Quote inline (small variant for in-content) ───────────── */
.callout {
  background: var(--blue-50);
  border-left: 3px solid var(--blue-600);
  padding: 24px 28px;
  border-radius: 0 14px 14px 0;
  margin: 32px 0;
}
.callout__lead { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-700); margin-bottom: 8px; }
.callout__body { font-size: 16px; line-height: 1.55; color: var(--ink-900); }
.callout__body strong { color: var(--blue-700); }
