/* =========================================================
   SIALTA Technologies – Stylesheet
   Tokens → Basis → Komponenten → Abschnitte → Bewegung
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  /* Farben */
  --paper: #EEE8DE;
  --paper-2: #E4DCCD;
  --paper-3: #D3C8B5;
  --panel: #F8F4EC;
  --field: #FFFDF8;
  --graphite: #1C2024;
  --graphite-2: #2A2F35;
  --graphite-3: #3A4047;
  --muted: #5A6067;
  --muted-on-dark: #A9AEB4;
  --cobalt: #1D4ED8;
  --cobalt-deep: #1740B4;
  --cobalt-light: #7A9BFF;
  --line: rgba(60, 48, 30, .15);
  --line-strong: rgba(48, 40, 28, .3);
  --line-dark: rgba(243, 241, 236, .16);
  --danger: #B42318;
  --success: #1F6B3A;

  /* Typografie */
  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --fs-body: clamp(1rem, .96rem + .2vw, 1.125rem);
  --fs-small: .875rem;
  --fs-lead: clamp(1.125rem, 1.05rem + .4vw, 1.375rem);
  --fs-d3: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem);
  --fs-d2: clamp(2.25rem, 1.5rem + 3.2vw, 4.25rem);
  --fs-d1: clamp(2.75rem, 1.6rem + 5vw, 6.25rem);
  --fs-hero: clamp(2.6rem, 0.9rem + 6.2vw, 7.25rem);

  /* Layout */
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1440px;
  --section: clamp(88px, 11vw, 168px);
  --header-h: 72px;
  --radius-s: 4px;
  --radius-m: 12px;
  --radius-l: 18px;
  --shadow-soft: 0 1px 2px rgba(60, 45, 25, .05), 0 18px 40px -24px rgba(60, 45, 25, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .site-footer { position: relative; z-index: 1; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 2px;
}
.section--dark :focus-visible, .site-footer :focus-visible, .package--dark :focus-visible { outline-color: var(--cobalt-light); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--graphite); color: var(--paper);
  padding: 12px 18px; border-radius: var(--radius-s); text-decoration: none;
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); }

.display-1, .display-2, .display-3 {
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -.035em;
  line-height: .98;
  text-wrap: balance;
}
.display-1 { font-size: var(--fs-d1); }
.display-2 { font-size: var(--fs-d2); }
.display-3 { font-size: var(--fs-d3); line-height: 1.04; letter-spacing: -.025em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 38ch; color: var(--graphite-2); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }

/* ---------- Wortmarke ---------- */
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.wordmark__name {
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -.045em;
  font-size: 1.6rem;
}
.wordmark__dot { color: var(--cobalt); }
.wordmark__sub {
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .02em;
  margin-top: 4px;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--graphite); --bd: var(--graphite);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1.5px solid var(--bd);
  border-radius: var(--radius-s);
  background: var(--bg);
  color: var(--fg);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn--primary { --bg: var(--cobalt); --fg: #fff; --bd: var(--cobalt); }
.btn--primary:hover { --bg: var(--cobalt-deep); --bd: var(--cobalt-deep); }
.btn--ghost:hover, .btn--line:hover { --bg: var(--graphite); --fg: var(--paper); }
.btn--line { --bd: var(--line-strong); width: 100%; justify-content: space-between; }
.btn--line::after, .btn--light::after {
  content: ""; width: 18px; height: 1.5px; background: currentColor;
  transition: width .3s var(--ease);
}
.btn--line:hover::after, .btn--light:hover::after { width: 30px; }
.btn--light { --bg: var(--paper); --fg: var(--graphite); --bd: var(--paper); }
.btn--light:hover { --bg: #fff; --bd: #fff; }
.btn--small { min-height: 42px; padding: 10px 18px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(238, 232, 222, .84);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 32px;
}
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  display: block; padding: 10px 14px;
  font-size: .9375rem; font-weight: 500;
  text-decoration: none;
  position: relative;
}
.nav__list a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px;
  height: 1.5px; background: var(--cobalt);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__list a:hover::after, .nav__list a[aria-current]::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  margin-left: auto;
  align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 4px 8px 12px;
  background: none; border: 0; cursor: pointer;
  font-weight: 600;
}
.menu-toggle__icon { width: 22px; height: 12px; position: relative; }
.menu-toggle__icon span {
  position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle__icon span:first-child { top: 0; }
.menu-toggle__icon span:last-child { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:last-child { top: 5px; transform: rotate(-45deg); }

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--paper);
  height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
  overflow-y: auto;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}
.mobile-menu__list { margin: 8px 0 24px; }
.mobile-menu__list a {
  display: block; padding: 16px 0;
  font-size: 1.5rem; font-weight: 700; font-stretch: 110%; letter-spacing: -.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 959px) {
  .nav, .site-header__cta { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(48% 55% at 92% 0%, rgba(29, 78, 216, .075), transparent 100%),
    radial-gradient(42% 50% at 0% 32%, rgba(201, 168, 118, .26), transparent 100%);
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(36px, 5vw, 80px));
  padding-bottom: clamp(48px, 6vw, 88px);
}
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: clamp(36px, 4vw, 56px);
}
.hero__title {
  grid-column: 1 / -1;
  font-size: var(--fs-hero);
  font-weight: 850;
  font-stretch: 118%;
  letter-spacing: -.05em;
  line-height: .9;
}
.hero__line { display: block; }
.hero__line + .hero__line { padding-left: clamp(0px, 8vw, 140px); }
.hero__intro { grid-column: 1 / span 6; align-self: end; }
.hero__lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 34ch; color: var(--graphite-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__index {
  grid-column: 8 / -1;
  align-self: end;
  border-top: 1px solid var(--line-strong);
}
.index-link {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding .3s var(--ease);
}
.index-link::after {
  content: ""; grid-column: 2; grid-row: 1;
  width: 10px; height: 10px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(135deg) translate(-2px, 2px);
  transition: transform .3s var(--ease), color .3s;
}
.index-link__title { font-weight: 700; font-size: 1.25rem; font-stretch: 110%; letter-spacing: -.015em; }
.index-link__text { grid-column: 1 / -1; font-size: .9375rem; color: var(--muted); }
.index-link:hover { padding-left: 10px; }
.index-link:hover::after { color: var(--cobalt); transform: rotate(135deg) translate(-5px, 5px); }

@media (max-width: 899px) {
  .hero__intro, .hero__index { grid-column: 1 / -1; }
  .hero__line + .hero__line { padding-left: 0; }
}

/* ---------- Bildblock mit Aussagen ---------- */
.showcase { padding-bottom: clamp(24px, 3vw, 40px); }
.showcase__media { overflow: hidden; border-radius: var(--radius-l); box-shadow: var(--shadow-soft); background: var(--paper-2); }
.showcase__media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 55% 50%; }
.showcase__statements {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  margin-top: clamp(28px, 3.5vw, 48px);
}
.showcase__statements li {
  padding-top: 18px; border-top: 1.5px solid var(--line-strong);
  font-size: clamp(1.375rem, 1rem + 1.2vw, 2rem);
  font-weight: 800; font-stretch: 112%; letter-spacing: -.03em; line-height: 1.1;
  text-wrap: balance;
}
.showcase__statements li:first-child { border-top-color: var(--cobalt); }
@media (max-width: 899px) {
  .showcase__media img { aspect-ratio: 3 / 2; }
  .showcase__statements { grid-template-columns: 1fr; gap: 0; }
  .showcase__statements li { padding: 16px 0; border-top-width: 1px; border-top-color: var(--line); }
  .showcase__statements li:first-child { border-top: 1.5px solid var(--cobalt); }
}
@media (max-width: 599px) {
  .showcase__media { border-radius: var(--radius-m); }
  .showcase__media img { aspect-ratio: 4 / 5; object-position: 66% 50%; }
}

/* ---------- Nutzen ---------- */
.benefits__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px;
}
.benefits__head { grid-column: 1 / span 5; align-self: start; position: sticky; top: calc(var(--header-h) + 40px); }
.benefits__head .lead { margin-top: 28px; }
.benefits__list { grid-column: 7 / -1; border-top: 1px solid var(--line-strong); }
.benefit {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px 32px;
  padding: 32px 0 34px;
  border-bottom: 1px solid var(--line);
}
.benefit dt { font-weight: 700; font-size: 1.25rem; font-stretch: 108%; letter-spacing: -.015em; line-height: 1.25; }
.benefit dd { color: var(--graphite-2); }
@media (max-width: 899px) {
  .benefits__head, .benefits__list { grid-column: 1 / -1; position: static; }
}
@media (max-width: 599px) {
  .benefit { grid-template-columns: 1fr; padding: 24px 0 26px; }
}

/* ---------- Pakete ---------- */
.packages { background: var(--paper-2); }
.packages__intro {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px;
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 104px);
}
.packages__text { grid-column: 1 / span 5; padding-bottom: 8px; }
.packages__text .lead { margin-top: 28px; }
.packages__media {
  grid-column: 7 / -1;
  overflow: hidden; border-radius: var(--radius-l); box-shadow: var(--shadow-soft);
}
.packages__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 40%; }
@media (max-width: 899px) {
  .packages__text, .packages__media { grid-column: 1 / -1; }
  .packages__media { border-radius: var(--radius-m); }
  .packages__media img { aspect-ratio: 3 / 2; }
}

.package-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px);
}
.package {
  display: flex; flex-direction: column;
  padding: clamp(26px, 2.4vw, 36px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.package:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(60, 45, 25, .06), 0 26px 50px -26px rgba(60, 45, 25, .38); }
.package--dark { background: var(--graphite); color: var(--paper); border-color: var(--graphite); }
.package__num {
  display: block;
  font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums;
  color: var(--cobalt);
  margin-bottom: 40px;
}
.package--dark .package__num { color: var(--cobalt-light); }
.package__name {
  font-size: clamp(1.75rem, 1.3rem + 1.3vw, 2.5rem);
  font-weight: 800; font-stretch: 115%; letter-spacing: -.035em; line-height: 1;
}
@media (min-width: 900px) { .package__name { min-height: 2em; } }
.package__claim { margin-top: 14px; font-size: 1.0625rem; line-height: 1.45; max-width: 28ch; }
.package--dark .package__claim { color: var(--paper); }
.scope { display: flex; align-items: center; gap: 4px; margin-top: 24px; }
.scope span { width: 22px; height: 4px; background: var(--paper-3); }
.scope span.is-on { background: var(--graphite); }
.package--dark .scope span { background: var(--graphite-3); }
.package--dark .scope span.is-on { background: var(--cobalt-light); }
.scope em { font-style: normal; font-size: .8125rem; margin-left: 10px; color: var(--muted); }
.package--dark .scope em { color: var(--muted-on-dark); }
.package__list { margin: 32px 0 40px; flex: 1; }
.package__list li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-top: 1px solid var(--line);
  font-size: .96875rem; line-height: 1.45;
}
.package--dark .package__list li { border-top-color: var(--line-dark); color: #E4E2DD; }
.package__list li::before {
  content: ""; position: absolute; left: 0; top: 1.15em;
  width: 9px; height: 1.5px; background: var(--cobalt);
}
.package--dark .package__list li::before { background: var(--cobalt-light); }

@media (max-width: 899px) {
  .package-grid { grid-template-columns: 1fr; }
  .package__num { margin-bottom: 20px; }
}

/* ---------- Digitale Lösungen / Schema ---------- */
.solutions__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px;
  align-items: center;
}
.solutions__text { grid-column: 1 / span 5; }
.solutions__text > * + * { margin-top: 24px; }
.solutions__text p { max-width: 46ch; }
.ticks li {
  position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--line);
  max-width: 46ch;
}
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 1.15em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--cobalt); border-bottom: 2px solid var(--cobalt);
  transform: rotate(-45deg);
}
.schema { grid-column: 7 / -1; }
.schema__stage {
  display: grid;
  box-shadow: inset 0 0 0 1px var(--line);
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  grid-template-rows: auto 28px auto;
  grid-template-areas:
    "form  l1  rec"
    ".     .   l2"
    "pipe  pipe pipe";
  align-items: center;
  padding: clamp(20px, 3vw, 40px);
  background-color: var(--paper-2);
  border-radius: var(--radius-l);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
}
.schema__card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 1px 0 rgba(28, 32, 36, .04), 0 12px 32px -18px rgba(28, 32, 36, .35);
  font-size: .8125rem;
}
.schema__form { grid-area: form; overflow: hidden; }
.schema__bar {
  display: flex; align-items: center; gap: 5px; padding: 9px 12px;
  border-bottom: 1px solid var(--line); background: var(--paper);
  font-size: .75rem; color: var(--muted);
}
.schema__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--paper-3); }
.schema__bar span { margin-left: 8px; }
.schema__body { display: grid; gap: 5px; padding: 14px; }
.schema__label { font-size: .6875rem; color: var(--muted); margin-top: 3px; }
.schema__field { height: 22px; border: 1px solid var(--line); border-radius: 3px; background: #fff; }
.schema__field--select { display: flex; align-items: center; padding: 0 8px; font-size: .75rem; }
.schema__button {
  margin-top: 10px; padding: 7px 10px; text-align: center;
  background: var(--cobalt); color: #fff; border-radius: 3px; font-weight: 600; font-size: .75rem;
}
.schema__link { position: relative; height: 1.5px; background: var(--graphite); }
.schema__stage > .schema__link:nth-of-type(1) { grid-area: l1; }
.schema__stage > .schema__link:nth-of-type(2) {
  grid-area: l2; width: 1.5px; height: 100%; justify-self: center;
}
.schema__pulse {
  position: absolute; top: 50%; left: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  border-radius: 50%; background: var(--cobalt);
}
.schema__stage > .schema__link:nth-of-type(2) .schema__pulse { left: 50%; top: 0; }
.schema__record { grid-area: rec; padding: 14px; }
.schema__record-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .875rem; margin-bottom: 10px; }
.schema__badge { background: var(--cobalt); color: #fff; font-size: .6875rem; font-weight: 600; padding: 2px 7px; border-radius: 3px; }
.schema__record dl div { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); }
.schema__record dt { color: var(--muted); }
.schema__record dd { font-weight: 600; text-align: right; }
.schema__pipeline {
  grid-area: pipe; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px;
}
.schema__col { display: grid; align-content: start; gap: 6px; padding: 8px; background: var(--paper); border-radius: 5px; min-height: 92px; }
.schema__col span { font-size: .6875rem; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.schema__col i { display: block; height: 22px; border-radius: 3px; background: #fff; border: 1px solid var(--line); }
.schema__col i.is-hot { border-color: var(--cobalt); box-shadow: inset 3px 0 0 var(--cobalt); }
.schema figcaption { margin-top: 14px; font-size: var(--fs-small); color: var(--muted); max-width: 60ch; }

@media (max-width: 899px) {
  .solutions__text, .schema { grid-column: 1 / -1; }
}
@media (max-width: 519px) {
  .schema__stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto 24px auto 24px auto;
    grid-template-areas: "form" "l1" "rec" "l2" "pipe";
  }
  .schema__stage > .schema__link:nth-of-type(1) { width: 1.5px; height: 100%; justify-self: center; }
  .schema__stage > .schema__link:nth-of-type(1) .schema__pulse { left: 50%; top: 0; }
}

/* ---------- KI-Workshops ---------- */
.section--dark { background: var(--graphite); color: var(--paper); }
.section--dark .lead { color: #D9D7D1; }
.ai__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  column-gap: clamp(32px, 4.5vw, 72px); row-gap: 40px;
  align-items: center;
}
.ai__media { overflow: hidden; border-radius: var(--radius-l); }
.ai__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 40% 45%; }
.ai__head { max-width: 620px; }
.ai__head .display-1 { font-size: clamp(2.6rem, 1.2rem + 3.2vw, 4.75rem); }
.ai__head .display-1 span { display: block; }
.ai__head .lead { margin-top: 32px; max-width: 36ch; }
.ai__body {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px;
  margin-top: clamp(64px, 8vw, 120px);
}
.ai__formats { grid-column: 1 / span 6; display: grid; gap: 0; border-top: 1px solid var(--line-dark); align-self: start; }
.format { padding: 32px 0; border-bottom: 1px solid var(--line-dark); }
.format h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.025em; line-height: 1.1; }
.format p { margin-top: 14px; color: #CFCDC7; max-width: 52ch; }
.ai__topics { grid-column: 8 / -1; }
.ai__topics-title { font-size: 1rem; font-weight: 600; color: var(--muted-on-dark); margin-bottom: 18px; }
.topics li {
  position: relative;
  padding: 14px 0 14px 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 1.0625rem;
}
.topics li:last-child { border-bottom: 1px solid var(--line-dark); }
.topics li::before {
  content: ""; position: absolute; left: 0; top: 1.4em;
  width: 10px; height: 1.5px; background: var(--cobalt-light);
}
.ai__note { margin: 24px 0 32px; font-size: var(--fs-small); color: var(--muted-on-dark); max-width: 48ch; }

@media (max-width: 1099px) {
  .ai__top { grid-template-columns: 1fr; }
  .ai__head { max-width: none; }
  .ai__media img { aspect-ratio: 16 / 9; }
}
@media (max-width: 899px) {
  .ai__formats, .ai__topics { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .ai__media { border-radius: var(--radius-m); }
  .ai__media img { aspect-ratio: 4 / 3; object-position: 30% 40%; }
}

/* ---------- Ablauf ---------- */
.process__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 24px; align-items: end; }
.process__head h2 { grid-column: 1 / span 7; }
.process__head .lead { grid-column: 9 / -1; }
.steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  margin-top: clamp(48px, 6vw, 88px);
  counter-reset: step;
}
.step { position: relative; padding-top: 28px; border-top: 1.5px solid var(--line-strong); }
.step::before {
  content: ""; position: absolute; top: -1.5px; left: 0; height: 1.5px; width: 100%;
  background: var(--cobalt); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.step:hover::before { transform: scaleX(1); }
.step__num {
  display: block; font-size: clamp(3rem, 2rem + 3vw, 5rem); font-weight: 300; font-stretch: 80%;
  line-height: 1; letter-spacing: -.04em; color: var(--graphite);
  font-variant-numeric: tabular-nums;
  margin-bottom: 24px;
}
.step h3 { font-size: 1.25rem; font-weight: 700; font-stretch: 108%; letter-spacing: -.015em; line-height: 1.2; }
.step p { margin-top: 10px; color: var(--graphite-2); max-width: 30ch; }
.process__note { margin-top: 48px; max-width: 60ch; }
@media (max-width: 899px) {
  .process__head h2, .process__head .lead { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}
@media (max-width: 599px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; padding: 22px 0 26px; }
  .step__num { grid-row: span 2; font-size: 2.5rem; margin: 0; }
  .step p { margin-top: 6px; }
}

/* ---------- Anfrage ---------- */
.contact { background: var(--paper-2); }
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.contact__intro { grid-column: 1 / span 5; }
.contact__intro h2 { margin-bottom: 40px; }
.offer { padding: 24px 0; border-top: 1px solid var(--line-strong); }
.offer h3 { font-size: 1.25rem; font-weight: 700; font-stretch: 108%; letter-spacing: -.015em; }
.offer p { margin-top: 8px; max-width: 44ch; }
.offer .small { margin-top: 12px; }
.contact__panel {
  grid-column: 7 / -1;
  background: var(--panel);
  border-radius: var(--radius-l);
  padding: clamp(22px, 3.4vw, 48px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
@media (max-width: 899px) {
  .contact__intro, .contact__panel { grid-column: 1 / -1; }
}

.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 599px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field__label { font-weight: 600; font-size: .9375rem; }
.field__opt { font-weight: 400; color: var(--muted); }
.field__input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: var(--field);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-s);
  font-size: 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
textarea.field__input { resize: vertical; min-height: 128px; line-height: 1.5; }
.field__input::placeholder { color: #8A8F95; }
.field__input:hover { border-color: var(--graphite-3); }
.field__input:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(29, 78, 216, .2); }
.field__input[aria-invalid="true"] { border-color: var(--danger); }
.field__input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .18); }
.field__error { color: var(--danger); font-size: .875rem; font-weight: 500; }
.field__error:empty { display: none; }
.field__hint { font-size: .875rem; color: var(--muted); }
.select { position: relative; }
.select select { appearance: none; padding-right: 44px; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}

.choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice legend { padding: 0; margin-bottom: 10px; }
.choice__options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 479px) { .choice__options { grid-template-columns: 1fr; } }
.choice__option { position: relative; display: block; cursor: pointer; }
.choice__option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__option span {
  display: grid; gap: 2px; height: 100%;
  padding: 14px 16px 14px 46px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-s);
  background: var(--field);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
  position: relative;
}
.choice__option span::before {
  content: ""; position: absolute; left: 16px; top: 17px;
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--graphite-3); background: #fff;
  transition: box-shadow .2s var(--ease), border-color .2s;
}
.choice__option strong { font-weight: 600; font-size: .96875rem; line-height: 1.3; }
.choice__option small { font-size: .8125rem; color: var(--muted); }
.choice__option:hover span { border-color: var(--graphite-3); }
.choice__option input:checked + span { border-color: var(--cobalt); background: #F4F7FF; }
.choice__option input:checked + span::before { border-color: var(--cobalt); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--cobalt); }
.choice__option input:focus-visible + span { outline: 2px solid var(--cobalt); outline-offset: 3px; }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__privacy { font-size: .875rem; color: var(--muted); max-width: 60ch; }
.form__privacy a { color: var(--graphite); text-underline-offset: 3px; }
.form__actions { display: flex; }
.btn--submit { min-width: 220px; }
.btn__spinner {
  display: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff;
  animation: spin .8s linear infinite;
}
.btn--submit[aria-busy="true"] { cursor: progress; opacity: .9; }
.btn--submit[aria-busy="true"] .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 599px) { .btn--submit { width: 100%; } }

.form__summary {
  padding: 16px 18px; border-radius: var(--radius-s);
  background: #FDF1EF; border: 1px solid rgba(180, 35, 24, .35); color: var(--danger);
}
.form__summary:focus { outline: 2px solid var(--danger); outline-offset: 2px; }
.form__summary p { font-weight: 600; }
.form__summary ul { margin: 6px 0 0; padding-left: 18px; }
.form__summary a { color: inherit; }
.form__status:empty { display: none; }
.form__status { padding: 16px 18px; border-radius: var(--radius-s); font-size: .9375rem; }
.form__status.is-error { background: #FDF1EF; border: 1px solid rgba(180, 35, 24, .35); color: #7A1810; }
.form__status.is-notice { background: #FFF8E6; border: 1px solid #E3C77A; color: #5A4300; }
.form__status strong { display: block; margin-bottom: 4px; }

.form-success { padding: 8px 0; }
.form-success:focus { outline: none; }
.form-success h3 { font-size: var(--fs-d3); font-weight: 800; font-stretch: 112%; letter-spacing: -.03em; line-height: 1.05; }
.form-success p { margin: 18px 0 28px; max-width: 44ch; }
.form-success::before {
  content: ""; display: block; width: 44px; height: 24px; margin-bottom: 28px;
  border-left: 3px solid var(--success); border-bottom: 3px solid var(--success);
  transform: rotate(-45deg) translate(6px, -2px);
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }
.faq__title { grid-column: 1 / span 4; }
.faq__list { grid-column: 6 / -1; border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0;
  font-weight: 700; font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); font-stretch: 106%; letter-spacing: -.01em; line-height: 1.3;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--cobalt); }
.faq__answer { padding: 0 48px 28px 0; }
.faq__answer p { max-width: 62ch; color: var(--graphite-2); }
@media (max-width: 899px) {
  .faq__title, .faq__list { grid-column: 1 / -1; }
  .faq__answer { padding-right: 0; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--graphite); color: var(--paper);
  padding: clamp(72px, 9vw, 128px) 0 calc(28px + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; }
.site-footer__claim { font-size: var(--fs-d3); font-weight: 700; font-stretch: 110%; letter-spacing: -.025em; line-height: 1.1; max-width: 22ch; }
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.site-footer__nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-footer__nav a { text-decoration: none; color: #D9D7D1; padding: 6px 0; display: inline-block; }
.site-footer__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer__mark {
  margin: clamp(48px, 7vw, 96px) 0 0;
  font-weight: 900; font-stretch: 125%;
  font-size: clamp(3.5rem, 18.5vw, 19rem);
  letter-spacing: -.06em; line-height: .78;
  white-space: nowrap;
  margin-left: -.04em;
}
.site-footer__mark .wordmark__dot { color: var(--cobalt-light); }
.site-footer__legal { margin-top: 32px; font-size: var(--fs-small); color: var(--muted-on-dark); }

/* ---------- Rechtliche Unterseiten ---------- */
.legal { padding-top: calc(var(--header-h) + 72px); padding-bottom: var(--section); }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: var(--fs-d2); font-weight: 800; font-stretch: 112%; letter-spacing: -.035em; line-height: 1; margin-bottom: 32px; }
.legal h2 { font-size: 1.375rem; font-weight: 700; margin: 40px 0 12px; }
.legal p, .legal li { max-width: 68ch; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 12px 0; }
.placeholder {
  background: #FFF2C2; color: #4D3A00; padding: 1px 6px; border-radius: 3px;
  font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.legal-alert {
  border: 1.5px solid #E3C77A; background: #FFF8E6; color: #5A4300;
  padding: 18px 20px; border-radius: var(--radius-s); margin-bottom: 40px;
}
.legal-back { display: inline-block; margin-top: 48px; }

/* ---------- Dezente Einblendungen ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.legal h3 { font-size: 1.125rem; font-weight: 700; margin: 32px 0 10px; }
.legal h4 { font-size: 1rem; font-weight: 700; margin: 24px 0 8px; }
.legal h4.legal-provider { font-size: 1.0625rem; color: var(--cobalt); }
.legal h5 { font-size: .9375rem; font-weight: 600; margin: 18px 0 6px; color: var(--graphite-2); }
.legal p { margin-top: 10px; overflow-wrap: anywhere; }
.legal a { text-underline-offset: 3px; }
.legal-address { font-weight: 500; }
.legal-credit { margin-top: 48px !important; font-size: var(--fs-small); color: var(--muted); }
.legal-toc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 20px 24px; margin-bottom: 40px; }
.legal-toc p { margin: 0 0 8px; font-weight: 700; }
.legal-toc ol { margin: 0; padding-left: 20px; }
.legal-toc li { padding: 3px 0; }
.legal h1, .legal h2, .legal h3, .legal h4 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

.legal h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); }
.site-header .btn--line { width: auto; margin-left: auto; gap: 16px; }
.btn--line.legal-back { width: auto; gap: 16px; }
.site-footer--legal { padding-top: 56px; }
.site-footer--legal .site-footer__nav { margin-top: 0; border-top: 0; padding-top: 0; }
@media (max-width: 599px) { .legal h1 { font-size: 2.125rem; overflow-wrap: normal; } }
