/* Sollmaß – Design „Klar & freundlich“ (Vorschlag 3). Das vorherige Design liegt im Git-Tag design-alt. */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  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: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

:root {
  --ink: #171a1d;
  --text: #3b4350;
  --muted: #5b6472;
  --line: #e6e9ef;
  --line-2: #d5dbe4;
  --bg: #ffffff;
  --soft: #f5f7fa;
  --blue: #2455d6;
  --blue-700: #1c45b4;
  --blue-50: #eef3fe;
  --blue-100: #dde7fd;
  --brand: #1e5790;
  --green: #12834a;
  --green-text: #0f6b3d;
  --green-50: #e8f6ee;
  --amber-50: #fff3de;
  --amber-text: #8a4508;
  --red-50: #fdecea;
  --red-text: #a32a1c;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --w: 77.5rem;
  --gutter: 20px;
  --pad-x: max(var(--gutter), calc((100% - var(--w)) / 2));
  --r-xl: 28px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --control-h: 44px;
  --top-h: 72px;
  --shadow-sm: 0 1px 2px rgb(16 24 40 / 0.05), 0 4px 12px -6px rgb(16 24 40 / 0.08);
  --shadow: 0 1px 2px rgb(16 24 40 / 0.05), 0 14px 34px -14px rgb(16 24 40 / 0.16);
  --shadow-xl: 0 2px 6px rgb(16 24 40 / 0.04), 0 30px 70px -28px rgb(28 52 120 / 0.32);
  --check-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --check-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232455d6' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --check-green: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312834a' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
@media (min-width: 760px) {
  :root { --gutter: 32px; }
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top-h) + 16px);
}
html, body { margin: 0; }
body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 12 5 5;
}
main { overflow-x: clip; }
img { max-width: 100%; height: auto; }
h1, h2, h3 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.022em;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphenate-limit-chars: 10 4 4;
}
p, li, dd, td, th, caption, summary { overflow-wrap: break-word; }
b, strong { font-weight: 700; color: var(--ink); }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--blue-700); }
main a[href^="mailto:"], main a[href^="http"], .foot a[href^="mailto:"] { overflow-wrap: anywhere; }
a[href^="mailto:"], a[href^="tel:"] { -webkit-hyphens: manual; hyphens: manual; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }
.sr-only,
.offscreen {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -200px;
  z-index: 60;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

/* Kopf */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgb(255 255 255 / 0.92);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgb(23 32 52 / 0.08);
}
.top-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 12px;
  min-height: var(--top-h);
  padding-inline: var(--pad-x);
}
.mark {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-right: auto;
  line-height: 0;
  color: var(--ink);
  text-decoration: none;
  border-radius: 10px;
}
.mark .lockup { display: block; width: auto; height: 42px; }
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.nav-btn { display: none; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav > a,
.drop > a:first-child {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  -webkit-hyphens: manual;
  hyphens: manual;
}
.main-nav > a:hover,
.drop:hover > a:first-child,
.drop:focus-within > a:first-child { background: var(--soft); color: var(--ink); }
.main-nav > a[aria-current="page"],
.drop[data-current] > a:first-child { background: var(--blue-50); color: var(--blue-700); }
.drop { position: relative; }
.drop > a:first-child::after {
  content: "";
  width: 7px;
  height: 7px;
  margin: -4px 0 0 9px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
}
.drop-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: -6px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 15rem;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xl);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.drop-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}
.drop:hover > .drop-panel,
.drop:focus-within > .drop-panel { visibility: visible; opacity: 1; transform: none; }
.drop-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.drop-panel a:hover { background: var(--soft); color: var(--ink); }
.drop-panel a[aria-current="page"] { background: var(--blue-50); color: var(--blue-700); }
/* Anmelden für bestehende Kunden: zurückhaltend neben dem Test-Knopf. */
.main-nav a.nav-login {
  margin-left: 6px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-weight: 700;
}
.main-nav a.nav-login:hover { border-color: #aeb7c4; background: #fff; color: var(--ink); }
.main-nav a.nav-cta {
  margin-left: 6px;
  padding: 0 20px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 22px -10px rgb(36 85 214 / 0.65);
}
.main-nav a.nav-cta:hover { background: var(--blue-700); color: #fff; }

.lang { position: relative; margin-left: 2px; }
.lang summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg);
}
.lang summary:hover,
.lang[open] summary { background: var(--soft); color: var(--ink); }
.lang[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 12.5rem;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xl);
}
.lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.lang-menu a span { color: var(--muted); font-size: 0.75rem; font-weight: 700; }
.lang-menu a:hover { background: var(--soft); color: var(--ink); }
.lang-menu a[aria-current="true"] { background: var(--blue-50); color: var(--blue-700); }
.menu-locales { display: none; }

@media (max-width: 1079.98px) {
  .nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 18px 0 16px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
  }
  .nav-bars,
  .nav-bars::before,
  .nav-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s, background-color 0.2s;
  }
  .nav-bars { position: relative; }
  .nav-bars::before,
  .nav-bars::after { content: ""; position: absolute; left: 0; }
  .nav-bars::before { top: -6px; }
  .nav-bars::after { top: 6px; }
  .nav-toggle:checked + .nav-btn .nav-bars { background: transparent; }
  .nav-toggle:checked + .nav-btn .nav-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle:checked + .nav-btn .nav-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav-toggle:focus-visible + .nav-btn { outline: 3px solid var(--blue); outline-offset: 3px; }
  .mark { min-height: var(--top-h); }
  .main-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--top-h));
    overflow-y: auto;
    padding: 4px 0 24px;
    overscroll-behavior: contain;
  }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  body:has(.nav-toggle:checked) { overflow: hidden; }
  .main-nav > a,
  .drop > a:first-child {
    display: flex;
    min-height: 56px;
    padding: 0 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.0625rem;
    font-weight: 700;
    white-space: normal;
  }
  .main-nav > a:hover,
  .drop:hover > a:first-child,
  .drop:focus-within > a:first-child { background: transparent; }
  .main-nav > a[aria-current="page"],
  .drop[data-current] > a:first-child { background: transparent; color: var(--blue); }
  .drop > a:first-child::after { display: none; }
  .drop-panel {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
    gap: 2px 8px;
    min-width: 0;
    padding: 6px 0 10px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .drop-panel::before { display: none; }
  .drop-panel a { padding: 0 10px; color: var(--text); white-space: normal; }
  .lang { display: none; }
  .menu-locales { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
  .menu-locales a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
  }
  .menu-locales a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
  .main-nav a.nav-cta,
  .main-nav a.nav-login {
    justify-content: center;
    min-height: 52px;
    margin: 18px 0 0;
    border-bottom: 0;
    border-radius: 999px;
  }
  .main-nav a.nav-login {
    order: 1;
    margin-bottom: 0;
    border: 1px solid var(--line-2);
  }
  .main-nav a.nav-cta { order: 2; margin-top: 10px; }
}
@media (max-width: 479.98px) {
  .mark .lockup { height: 36px; }
  .nav-btn { padding: 0 14px; }
}

/* Knöpfe und Kicker */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-hyphens: manual;
  hyphens: manual;
  box-shadow: 0 10px 22px -10px rgb(36 85 214 / 0.65);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn:hover { background: var(--blue-700); border-color: var(--blue-700); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: #fff; border-color: var(--line-2); color: var(--ink); box-shadow: none; }
.btn.ghost:hover { background: #fff; border-color: #aeb7c4; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 22px;
  height: 10px;
  background:
    linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 0 / 2px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 2px 100% no-repeat;
}

/* Startseite: Hero mit Vorgangskarte */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(40px, 6vw, 88px) var(--pad-x) clamp(80px, 8vw, 120px);
  background:
    radial-gradient(60% 55% at 88% 8%, rgb(36 85 214 / 0.14), transparent 70%),
    radial-gradient(45% 45% at 2% 38%, rgb(18 131 74 / 0.08), transparent 72%),
    linear-gradient(180deg, #fff 0%, #f6f8fc 100%);
}
.hero.os {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero .eyebrow {
  display: inline-flex;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 6px 16px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0;
}
.hero .eyebrow::before {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background:
    linear-gradient(var(--blue), var(--blue)) 50% 50% / 12px 2px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 8px 50% / 2px 8px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 18px 50% / 2px 8px no-repeat,
    var(--blue-50);
}
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(1.7rem, 10vw - 5px, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.036em;
  -webkit-hyphens: manual;
  hyphens: manual;
}
@media (min-width: 1080px) {
  .hero h1 { font-size: clamp(2.8rem, 4.4vw, 3.75rem); }
}
.hero .deck {
  max-width: 36em;
  margin: 0 0 32px;
  color: var(--text);
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
  line-height: 1.62;
}
.hero .actions .btn { min-height: 56px; padding: 15px 28px; font-size: 1.0625rem; }

.werk {
  position: relative;
  min-width: 0;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-xl);
}
.hero .werk { margin-top: 24px; }
.hero .werk::before,
.hero .werk::after {
  content: "";
  position: absolute;
  z-index: -1;
  height: 120px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
}
.hero .werk::before { top: -24px; left: 9%; right: 9%; opacity: 0.55; }
.hero .werk::after { top: -12px; left: 4.5%; right: 4.5%; opacity: 0.85; box-shadow: var(--shadow-sm); }
.werk-kicker {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.werk-title,
.werk h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.3rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.012em;
}
.werk-pipe {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 8px;
  padding: 14px 4px 12px;
  border-radius: var(--r-md);
  background: var(--soft);
}
.werk-pipe i {
  counter-increment: step;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  -webkit-hyphens: manual;
  hyphens: manual;
}
.werk-pipe i::before {
  content: counter(step);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid #cbd2dc;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}
.werk-pipe i + i::after {
  content: "";
  position: absolute;
  top: 13px;
  left: calc(-50% + 20px);
  right: calc(50% + 20px);
  height: 2px;
  border-radius: 2px;
  background: #d3d9e2;
}
.werk-pipe i.on { color: var(--green-text); }
.werk-pipe i.on::before { content: ""; border-color: var(--green); background: var(--green) var(--check-white) center / 14px no-repeat; }
.werk-pipe i.on + i::after { background: var(--green); }
.werk-pipe i.on + i:not(.on) { color: var(--blue); }
.werk-pipe i.on + i:not(.on)::before { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 5px rgb(36 85 214 / 0.14); }
.werk-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 14px;
  padding: 12px 10px;
  border-top: 1px solid var(--line);
}
.werk-pipe + .werk-row,
.werk-title + .werk-row { border-top: 0; }
.werk-row b { color: var(--muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; }
.werk-row span { color: var(--ink); font-size: 0.9375rem; font-weight: 600; line-height: 1.42; }
.werk-row[data-icon] { grid-template-columns: 40px minmax(0, 1fr); align-items: center; }
.werk-row[data-icon] > * { grid-column: 2; }
.werk-row[data-icon]::before {
  content: "";
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--soft) var(--icon) center / 20px no-repeat;
}
.werk-row[data-icon="mail"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171a1d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='M4 7.5l8 5.5 8-5.5'/%3E%3C/svg%3E"); }
.werk-row[data-icon="ruler"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171a1d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 16.5l13-13 4 4-13 13z'/%3E%3Cpath d='M7.5 12.5l2 2M10.5 9.5l2 2M13.5 6.5l2 2'/%3E%3C/svg%3E"); }
.werk-row[data-icon="doc"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232455d6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E"); }
.werk-row[data-icon="cal"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171a1d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.werk-row[data-icon="card"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171a1d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2.5'/%3E%3Cpath d='M3 10h18M7 15h3'/%3E%3C/svg%3E"); }
.werk-row.is-focus {
  margin-block: 4px;
  border-top-color: transparent;
  border-radius: var(--r-md);
  background: var(--blue-50);
}
.werk-row.is-focus + .werk-row { border-top-color: transparent; }
.werk-row.is-focus::before { background-color: #fff; }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 4px;
  border-radius: 999px;
  background: var(--soft);
}
.tabs button {
  min-height: var(--control-h);
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.schnur { display: none; }

.facts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  width: min(100% - 2 * var(--gutter), var(--w));
  margin: -48px auto 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.facts span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}
.facts span::before {
  content: "";
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--blue-50) var(--check-blue) center / 18px no-repeat;
}
/* Fläche hinter der Leiste: liegt unter Hero und nächstem Abschnitt, füllt nur die Lücke daneben. */
.facts::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: -4px;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  background: var(--soft);
}
.facts a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--blue); font-weight: 700; }

/* Seitenkopf der Unterseiten */
.page-head {
  padding: clamp(36px, 6vw, 80px) var(--pad-x) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(55% 70% at 92% 0%, rgb(36 85 214 / 0.11), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgb(18 131 74 / 0.06), transparent 72%),
    linear-gradient(180deg, #fff 0%, #f6f8fc 100%);
}
.page-head h1 {
  max-width: 22ch;
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 10vw - 5px, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.034em;
}
.page-head .lede {
  max-width: 44rem;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.62;
}
.page-head .lede + .lede { margin-top: 12px; }
.page-head .actions { margin-top: 26px; }
.crumb {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}
.crumb a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--blue); }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.subnav a:hover { border-color: #aeb7c4; color: var(--ink); }
.subnav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Abschnitte */
.slab { background: var(--soft); }
.slab + .slab { border-top: 1px solid var(--line); }
.band { padding: clamp(56px, 7vw, 108px) var(--pad-x); }
.band h2 {
  max-width: 26ch;
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 1.1rem + 2.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.band .lede {
  max-width: 46rem;
  margin: 0 0 32px;
  color: var(--text);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.62;
}
.band > p:not([class]),
.band > ul:not([class]) { max-width: 46rem; }
.band > ul:not([class]) { padding-left: 1.2rem; }
.band > ul:not([class]) li { margin: 8px 0; }
.band + .band {
  background-image: linear-gradient(var(--line), var(--line));
  background-position: top center;
  background-size: min(100% - 2 * var(--gutter), var(--w)) 1px;
  background-repeat: no-repeat;
}

:root {
  --arrow-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232455d6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --cross-red: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a32a1c' stroke-width='2.8' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
  --panel-blue:
    radial-gradient(50% 70% at 0% 100%, rgb(18 131 74 / 0.28), transparent 70%),
    linear-gradient(135deg, #2455d6 0%, #1b40ad 100%);
}

/* Kacheln */
.tiles,
.band:has(> .mod) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.band:has(> .mod) > h2,
.band:has(> .mod) > .lede { grid-column: 1 / -1; }
.mod {
  min-width: 0;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.band .mod h2 {
  max-width: none;
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.016em;
}
.mod p { margin: 0; color: var(--text); }
.mod ul { margin: 0; padding-left: 1.15rem; color: var(--text); }
.mod li { margin: 6px 0; }
.mod li::marker { color: var(--blue); }
.mod p + p,
.mod ul + p,
.mod p + ul { margin-top: 12px; }
.mod .btn { margin-top: 4px; }
.band .mod .lede { max-width: none; margin: 12px 0 0; font-size: 1rem; }
.mod code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--ink);
  font-size: 0.9em;
}

.kette {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 20px;
}
.kette article {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.kette article::before {
  content: "";
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 16px;
  background:
    linear-gradient(var(--blue), var(--blue)) 50% 50% / 22px 2px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 15px 50% / 2px 12px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 35px 50% / 2px 12px no-repeat,
    var(--blue-50);
}
.kette article:last-child::before {
  background:
    linear-gradient(var(--green), var(--green)) 50% 50% / 22px 2px no-repeat,
    linear-gradient(var(--green), var(--green)) 15px 50% / 2px 12px no-repeat,
    linear-gradient(var(--green), var(--green)) 35px 50% / 2px 12px no-repeat,
    var(--green-50);
}
.kette b { display: block; color: var(--ink); font-size: 1.25rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.016em; }
.kette p { margin: 8px 0 0; font-size: 1rem; }
.kette .dim {
  position: absolute;
  top: 38px;
  right: 24px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.4;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 20px;
}
.pillars article {
  min-width: 0;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.pillars article > b {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.016em;
}
.pillars article > b::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--blue); }
.pillars p { margin: 0; font-size: 1rem; }
.pillars p + p { margin-top: 14px; }
.pillars a { font-weight: 700; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
a.card:hover { border-color: var(--blue-100); box-shadow: var(--shadow); color: inherit; transform: translateY(-2px); }
.card > b { display: block; margin-bottom: 8px; color: var(--ink); font-size: 1.1875rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.014em; }
.card p { flex: 1; margin: 0; color: var(--text); font-size: 1rem; }
.card .go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--blue);
  font-size: 0.9375rem;
  font-weight: 700;
}
.card .go::after { content: ""; width: 16px; height: 16px; background: var(--arrow-blue) center / contain no-repeat; transition: transform 0.2s; }
a.card:hover .go::after { transform: translateX(3px); }
.gewerke-grid { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }

/* App-Bilder mit Musterdaten (scripts/lib/shots.mjs): nur, wenn Bilder in public/shots liegen */
.shots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  align-items: start;
  margin-top: 28px;
}
.shot { margin: 0; min-width: 0; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--soft);
  box-shadow: var(--shadow-sm);
}
.shot-phone img { max-width: 15rem; margin-inline: auto; }
.shot figcaption { margin-top: 10px; color: var(--muted); font-size: 0.9375rem; text-align: center; }

/* Startseite: KI-Agenten als blaue Fläche */
.ink { padding: clamp(8px, 2vw, 24px) var(--pad-x); }
.ink .band {
  padding: clamp(28px, 5vw, 64px);
  border-radius: 32px;
  color: #eef2ff;
  background: var(--panel-blue);
  box-shadow: var(--shadow-xl);
}
.ink h2 { color: #fff; }
.ink .lede,
.ink p { color: #eef2ff; }
.ink a { color: #fff; font-weight: 700; }
.ink a:hover { color: var(--blue-100); }
.ink :focus-visible { outline-color: #fff; }
.ink .band > p:last-child { margin: 24px 0 0; }
.agents { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ink .card { border-color: rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.08); box-shadow: none; color: #fff; }
.ink .card p { color: #fff; }
.agents .card > b {
  width: fit-content;
  margin-bottom: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.16);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.agents .card strong { display: block; margin: 0 0 6px; color: #fff; font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.012em; }
.ink .agents .card:last-child { border-color: #fff; background: #fff; }
.ink .agents .card:last-child > b { background: var(--green-50); color: var(--green-text); }
.ink .agents .card:last-child strong { color: var(--ink); }
.ink .agents .card:last-child p { color: var(--text); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split:has(.anfrage-form) { align-items: start; }
.split > * { min-width: 0; }
.split .lede { margin-bottom: 20px; }
.split h2 { max-width: 20ch; }

.recipes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 12px;
}
.recipes ol { display: contents; margin: 0; padding: 0; }
.recipes li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--text);
  list-style: none;
}
.recipes b { color: var(--ink); }
.recipes .n {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-sm);
  background: var(--blue-50);
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 800;
}

.surface,
.notice {
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-xl);
}
.notice { max-width: 44rem; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.host-pin { align-self: center; }
.host-pin .eyebrow { margin-bottom: 12px; }
.host-pin b { display: block; margin: 0 0 12px; color: var(--ink); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.host-pin p:not(.eyebrow) { position: relative; margin: 0; padding: 10px 0 10px 32px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.host-pin p:not(.eyebrow)::before { content: ""; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border-radius: 999px; background: var(--green-50) var(--check-green) center / 12px no-repeat; }

/* Preise */
.checks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 34px; color: var(--text); line-height: 1.55; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--green) var(--check-white) center / 13px no-repeat;
}
.checks b { color: var(--ink); }

.price-block {
  position: relative;
  min-width: 0;
  padding: clamp(26px, 3vw, 38px);
  border: 2px solid var(--blue);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-xl);
}
.price-block.app { border: 1px solid var(--line); }
.price-block .eyebrow { margin-bottom: 18px; }
.price-block .amount {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.2rem, 2.2rem + 3vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}
.price-block .amount .was {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: line-through;
}
.price-block .per {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
}
.price-block .vat { margin: 10px 0 0; color: var(--text); font-size: 0.9375rem; }
.price-block .checks { margin-top: 18px; }
/* Laufzeit, Kündigung, Daten: drei Sätze unter den Lizenzpreisen (Preisseite). */
.checks.terms { margin-top: 26px; max-width: 72ch; }

.price-duo,
.license-vs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.license-vs article {
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  border: 2px solid var(--blue);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-xl);
}
.license-vs article.field { border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.license-vs h3 { margin: 0; font-size: 1.5rem; letter-spacing: -0.02em; }
.license-vs .amt {
  margin: 16px 0 14px;
  color: var(--ink);
  font-size: clamp(3rem, 2.4rem + 2vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}
.license-vs .amt .per {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
}
.license-vs .who { margin: 0 0 18px; color: var(--text); }
.license-vs .lane { margin: 20px 0 6px; color: var(--muted); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.01em; }
.license-vs ul { margin: 0; padding: 0; list-style: none; }
.license-vs li { position: relative; padding: 9px 0 9px 32px; border-top: 1px solid var(--line); color: var(--ink); }
.license-vs li::before { content: ""; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 999px; }
.license-vs .can li::before { background: var(--green-50) var(--check-green) center / 12px no-repeat; }
.license-vs .not li { color: var(--muted); }
.license-vs .not li::before { background: var(--red-50) var(--cross-red) center / 10px no-repeat; }

.cta-band { padding: 0 var(--pad-x) clamp(40px, 6vw, 88px); }
.cta-band .band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 40px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 32px;
  color: #eef2ff;
  background: var(--panel-blue);
  box-shadow: var(--shadow-xl);
}
.cta-band h2 { max-width: none; margin: 0; color: #fff; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); }
.cta-band p { max-width: 62ch; margin: 8px 0 0; color: #eef2ff; }
.cta-band .btn { border-color: #fff; background: #fff; color: var(--blue-700); box-shadow: none; }
.cta-band .btn:hover { border-color: var(--blue-50); background: var(--blue-50); color: var(--blue-700); }
.cta-band :focus-visible { outline-color: #fff; }

/* Tabellen */
:root {
  --st-yes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%2312834a'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --st-mid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23b7791f'/%3E%3Cpath d='M7.5 12h9' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
  --st-no: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23a32a1c'/%3E%3Cpath d='M8.5 8.5l7 7M15.5 8.5l-7 7' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  color: var(--text);
  font-size: 0.96875rem;
  line-height: 1.5;
}
.compare caption {
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: left;
}
.compare th,
.compare td {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.compare th:first-child { padding-left: 28px; }
.compare th:last-child,
.compare td:last-child { padding-right: 28px; }
.compare thead th {
  border-top: 0;
  background: var(--soft);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 800;
}
.compare tbody th { color: var(--ink); font-weight: 700; }
.compare td.yes,
.compare td.mid,
.compare td.no {
  padding-left: 50px;
  background-position: 20px 18px;
  background-size: 20px 20px;
  background-repeat: no-repeat;
  color: var(--ink);
  font-weight: 600;
}
.compare td.yes { background-image: var(--st-yes); }
.compare td.mid { background-image: var(--st-mid); }
.compare td.no { background-image: var(--st-no); color: var(--muted); }
.compare.matrix { font-size: 0.9375rem; }
.compare.matrix th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 11rem;
  background: #fff;
  box-shadow: 1px 0 0 var(--line);
}
.compare.matrix thead th:first-child { background: var(--soft); }
.compare.matrix tr.sec th {
  position: static;
  padding-top: 22px;
  padding-bottom: 10px;
  background: #fff;
  box-shadow: none;
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.compare.vendors thead th:nth-child(2) { background: var(--blue); color: #fff; }
.compare.vendors td[data-label="Sollmaß"] { background-color: rgb(36 85 214 / 0.05); color: var(--ink); font-weight: 600; }
@media (min-width: 760px) {
  .compare.vendors thead th:nth-child(1) { width: 17%; }
  .compare.vendors thead th:nth-child(2) { width: 25%; }
  .compare.checklist thead th:nth-child(1) { width: 22%; }
  .compare.checklist thead th:nth-child(2) { width: 36%; }
}
@media (max-width: 759.98px) {
  /* Tabellen werden Karten: Zeilenkopf oben, jede Zelle mit ihrer Spaltenüberschrift (data-label aus dem Build). */
  .scroll { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .scroll .compare,
  .scroll .compare caption,
  .scroll .compare tbody,
  .scroll .compare tr,
  .scroll .compare th,
  .scroll .compare td { display: block; width: auto; }
  .scroll .compare { background: transparent; font-size: 0.96875rem; }
  .scroll .compare caption {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
  }
  .scroll .compare thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .scroll .compare tbody tr {
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
  }
  .scroll .compare tbody th,
  .scroll .compare.matrix tbody th:first-child {
    position: static;
    min-width: 0;
    padding: 16px 20px;
    border-top: 0;
    background: var(--soft);
    box-shadow: none;
    color: var(--ink);
    font-size: 1.0625rem;
    font-weight: 800;
  }
  .scroll .compare td { padding: 14px 20px; }
  .scroll .compare td.yes,
  .scroll .compare td.mid,
  .scroll .compare td.no { padding-left: 20px; padding-right: 54px; background-position: right 20px top 15px; }
  .scroll .compare td::before {
    content: attr(data-label);
    content: attr(data-label) / "";
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.01em;
  }
  .scroll .compare td:not([data-label])::before { content: none; }
  .scroll .compare tbody tr.sec { margin: 30px 0 0; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .scroll .compare tbody tr.sec th,
  .scroll .compare.matrix tbody tr.sec th { padding: 0 4px; background: transparent; color: var(--blue); font-size: 0.9375rem; }
  .scroll .compare.vendors td[data-label="Sollmaß"] { background-color: var(--blue-50); box-shadow: inset 4px 0 0 var(--blue); }
  .scroll .compare.vendors td[data-label="Sollmaß"]::before { color: var(--blue-700); }
  /* Lizenzmatrix: kurze Werte neben der Spaltenüberschrift */
  .scroll .compare.matrix:not(.vendors) td {
    display: grid;
    grid-template-columns: minmax(5.5rem, 34%) minmax(0, 1fr);
    gap: 4px 14px;
    align-items: baseline;
  }
  .scroll .compare.matrix:not(.vendors) td::before { margin: 0; }
}

/* Fragen */
.band.faq { display: flow-root; }
.faq > .lede { margin-bottom: 24px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq details + details { margin-top: 12px; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 12px 16px 12px 24px;
  border-radius: var(--r-lg);
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat,
    var(--soft);
}
.faq details[open] summary::after { background: linear-gradient(#fff, #fff) center / 14px 2px no-repeat, var(--blue); }
.faq details > :not(summary) { max-width: 68ch; margin: 0; padding: 0 24px 22px; color: var(--text); }
@media (min-width: 1024px) {
  .faq > h2,
  .faq > .lede { float: left; clear: left; width: 34%; }
  .faq > details { margin-left: 40%; }
}

/* Anfrage */
.anfrage-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 40px clamp(32px, 5vw, 72px);
  align-items: start;
  padding: clamp(36px, 6vw, 80px) var(--pad-x) clamp(56px, 7vw, 108px);
  background:
    radial-gradient(55% 70% at 92% 0%, rgb(36 85 214 / 0.11), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgb(18 131 74 / 0.06), transparent 72%),
    linear-gradient(180deg, #fff 0%, #f6f8fc 100%);
}
.anfrage-copy { min-width: 0; }
.anfrage-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 10vw - 5px, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.034em;
}
.anfrage-copy .lede { max-width: 32rem; margin: 0 0 14px; color: var(--text); font-size: 1.0625rem; }
.anfrage-form {
  min-width: 0;
  padding: clamp(20px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-xl);
}
.lead { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lead .row { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lead .row > span:first-child { color: var(--ink); font-size: 0.9375rem; font-weight: 700; }
.lead .row-text,
.lead .row-check,
.lead-bot,
.lead-privacy,
.lead-bar { grid-column: 1 / -1; }
.lead input:not([type="checkbox"]),
.lead textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1.5px solid #858e9c;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lead textarea { min-height: 132px; resize: vertical; }
.lead input:not([type="checkbox"]):hover,
.lead textarea:hover { border-color: var(--muted); }
.lead input:not([type="checkbox"]):focus,
.lead textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(36 85 214 / 0.2); }
.lead .check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
  color: var(--ink);
  font-size: 0.96875rem;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
}
.lead .check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--blue); }
.lead .check:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.lead-bot:empty { display: none; }
.lead-bot .cf-turnstile { margin: 0; }
.lead-privacy { margin: 0; color: var(--muted); font-size: 0.875rem; line-height: 1.55; }
.lead-privacy a { color: inherit; }
.lead-bar {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px 18px;
  padding-top: 4px;
}
.lead-status { flex: 1 1 14rem; margin: 0; color: var(--red-text); font-weight: 600; }
.lead-bar .btn { min-width: 12rem; min-height: 52px; }
.lead-thanks { padding: 20px 22px; border-radius: var(--r-md); background: var(--green-50); }
.lead-thanks-copy { margin: 0; color: var(--green-text); font-size: 1.1875rem; line-height: 1.5; }
.lead-thanks-copy strong { color: var(--green-text); }
.lead-thanks-copy a { color: var(--green-text); }

/* Lizenzrechner */
.lic,
.calc {
  display: grid;
  gap: 12px;
  max-width: 36rem;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow);
}
.lic .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lic label,
.calc label { color: var(--ink); font-weight: 700; }
.lic input[type="number"] {
  width: 6rem;
  min-height: 48px;
  padding: 6px 10px;
  border: 1.5px solid #858e9c;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
}
.lic input[type="number"]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(36 85 214 / 0.2); }
.lic input[type="range"] { display: block; width: 100%; height: 44px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.lic .out,
.calc .out { margin: 6px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text); }
.calc strong { color: var(--ink); }
.quote-list { display: grid; gap: 10px; max-width: 64rem; margin-top: 22px; }
.quote {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr) auto;
  gap: 6px 20px;
  align-items: center;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.quote.win { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 1px var(--blue); }
.quote b { color: var(--ink); font-weight: 800; }
.quote p { grid-column: 2; margin: 0; color: var(--text); font-size: 0.9375rem; line-height: 1.5; }
.quote .sum { grid-column: 3; grid-row: 1; color: var(--ink); font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tiny { font-size: 0.875rem; }

/* Footer */
.foot {
  padding: clamp(56px, 6vw, 88px) var(--pad-x) 0;
  border-top: 1px solid var(--line);
  background: #fff;
  -webkit-hyphens: manual;
  hyphens: manual;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 4fr);
  gap: 40px 48px;
  align-items: start;
}
.foot-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px 24px;
}
.foot-brand .mark { margin-bottom: 14px; }
.foot-brand .lockup { height: 44px; }
.foot-brand p { max-width: 26rem; margin: 0 0 12px; color: var(--text); font-size: 0.9375rem; line-height: 1.6; }
.foot ul { display: grid; margin: 0; padding: 0; list-style: none; }
.foot-brand ul { gap: 0; }
.foot-brand ul a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.foot-brand ul a:hover { color: var(--blue); }
.foot .label { margin: 0 0 6px; color: var(--ink); font-size: 0.875rem; font-weight: 800; letter-spacing: 0.01em; line-height: 1.4; }
.foot-col a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}
.foot-col a:hover { color: var(--blue); }
.foot-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.foot-bar p { margin: 0; color: var(--muted); }
.foot-locales { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-locales span { display: none; }
.foot-locales a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
}
.foot-locales a:hover { border-color: #aeb7c4; color: var(--ink); }
.foot-locales a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Einwilligungen (src/js/consent.js) */
.consent-banner {
  position: fixed;
  z-index: 50;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  max-width: 46rem;
  margin: 0 auto;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 60px -24px rgb(16 24 40 / 0.45);
}
.consent-banner p { margin: 0 0 14px; color: var(--text); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.consent-banner .consent-actions { margin-top: 0; }
.consent-actions .btn { flex: 1 1 9rem; }
.consent-dialog {
  width: min(42rem, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 80px -30px rgb(16 24 40 / 0.55);
}
.consent-dialog::backdrop { background: rgb(23 26 29 / 0.5); }
.consent-dialog-inner { position: relative; padding: 28px 26px 24px; }
.consent-dialog h2 { margin: 0 48px 10px 0; font-size: 1.4rem; letter-spacing: -0.02em; }
.consent-dialog p { margin: 0 0 12px; color: var(--text); }
.consent-dialog .consent-actions {
  position: sticky;
  bottom: 0;
  margin: 16px -26px -24px;
  padding: 14px 26px 24px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.consent-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.consent-x:hover { background: var(--soft); }
.consent-cat { padding: 14px 0 4px; border-top: 1px solid var(--line); }
.consent-cat-head { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 700; cursor: pointer; }
.consent-cat-head input { width: 22px; height: 22px; margin: 0; accent-color: var(--blue); }
.consent-cat-head small { margin-left: auto; color: var(--muted); font-weight: 600; }
.consent-services { margin: 0 0 10px; padding-left: 1.1rem; color: var(--text); font-size: 0.9rem; }
.consent-services li { margin: 4px 0; }
.consent-none { padding: 12px 14px; border-radius: 14px; background: var(--soft); }

/* Breiten */
@media (min-width: 1080px) {
  .nav-toggle { display: none; }
}
@media (max-width: 1079.98px) {
  .hero.os { grid-template-columns: minmax(0, 1fr); }
  .hero.os .werk { width: 100%; max-width: 36rem; }
  .agents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 979.98px) {
  .split,
  .cta-band .band,
  .anfrage-split,
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles,
  .band:has(> .mod),
  .cards,
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split h2 { max-width: 26ch; }
}
@media (max-width: 759.98px) {
  .kette,
  .pillars,
  .cards,
  .cards.two,
  .gewerke-grid,
  .agents,
  .recipes,
  .tiles,
  .band:has(> .mod),
  .license-vs,
  .price-duo { grid-template-columns: minmax(0, 1fr); }
  .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .ink .band,
  .cta-band .band { border-radius: 24px; }
  .quote { grid-template-columns: minmax(0, 1fr) auto; }
  .quote p { grid-column: 1 / -1; grid-row: 2; }
  .quote .sum { grid-column: 2; }
  .werk-pipe i { font-size: 0.75rem; }
  .werk-pipe i + i::after { left: calc(-50% + 18px); right: calc(50% + 18px); }
  .faq summary { padding-left: 20px; padding-right: 12px; }
  .faq details > :not(summary) { padding: 0 20px 20px; }
  .page-head h1,
  .hero h1,
  .anfrage-copy h1 { max-width: none; }
}
@media (max-width: 559.98px) {
  .facts { grid-template-columns: minmax(0, 1fr); margin-top: -40px; }
  .hero .eyebrow { border-radius: 18px; }
  .actions .btn { flex: 1 1 100%; }
  .lead { grid-template-columns: minmax(0, 1fr); }
  .lead-bar .btn { width: 100%; }
  .lic .row { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .btn:hover,
  a.card:hover { transform: none; }
}

@media print {
  .top, .foot, .skip, .nav-btn, .consent-banner, .consent-dialog { display: none; }
  body { background: #fff; }
  .hero, .page-head, .anfrage-split { background: none; }
}
