/* ==========================================================================
   AI Innovation Manager im Retail-Banking – Stylesheet
   Richtung „Atelier“: hell, editorial, Grotesk-Typografie, Koralle als Akzent.
   Keine externen Abhängigkeiten; Schriften liegen unter assets/fonts/.
   ========================================================================== */

/* ---------- Schriften (lokal, SIL Open Font License) ---------- */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-tight-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-tight-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

/* ---------- Gestaltungs-Variablen ---------- */
:root {
  --bg: #f3f2ee;            /* warmes Off-White */
  --surface: #ffffff;
  --ink: #111111;
  --ink-2: #3a3a3a;
  --muted: #666666;
  --line: #e2e0da;
  --dark: #121212;          /* dunkle Abschnitte */
  --dark-2: #1c1c1c;
  --on-dark: #f3f2ee;
  --on-dark-2: #b9b7b1;
  --line-dark: rgba(243, 242, 238, .14);

  --accent: #e2582e;        /* Koralle – Flächen, Punkte, Icons */
  --accent-strong: #c4421b; /* Koralle für Buttons mit weißer Schrift */
  --accent-text: #b33a14;   /* Koralle für kleine Schrift auf Hell */
  --accent-soft: #fbe7df;
  --accent-on-dark: #f08a68;

  --display: "Inter Tight", "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --shell: min(1280px, calc(100% - 80px));
  --header-h: 80px;
  --r-img: 8px;
  --r-card: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; overflow-wrap: break-word; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent-soft); }

.sr-only { 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-link { position: fixed; left: 16px; top: -100px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; }
.skip-link:focus { top: 16px; }
.shell { width: var(--shell); margin-inline: auto; }
.nowrap { white-space: nowrap; }

/* ---------- Typografie ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.dark .kicker { color: var(--on-dark-2); }
.label { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 500; color: var(--accent-text); }
.dark .label { color: var(--accent-on-dark); }

.display { font-family: var(--display); font-weight: 600; font-size: clamp(44px, 6.6vw, 92px); line-height: .96; letter-spacing: -.045em; }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -.035em; }
.h3 { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.25; letter-spacing: -.015em; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-2); }
.dark .lead { color: var(--on-dark-2); }

.section { padding-block: clamp(80px, 9vw, 136px); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead { margin-top: 20px; }
.section-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 64px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head-row .h2 { max-width: 760px; }
.section-head-row .lead { max-width: 440px; }

.bg-surface { background: var(--surface); }
.dark { background: var(--dark); color: var(--on-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-accent { background: var(--accent-strong); color: #fff; }
.btn-accent:hover { background: #a9380f; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #333; }
.btn-line { border-color: #c9c7c0; color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.dark .btn-line { border-color: rgba(243, 242, 238, .35); color: var(--on-dark); }
.dark .btn-line:hover { border-color: var(--on-dark); }
.actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Icons ---------- */
.icon { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 20px; height: 20px; }
.dark .icon { stroke: var(--accent-on-dark); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(243, 242, 238, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.site-header.is-scrolled { border-color: var(--line); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.wordmark-name { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -.02em; }
.wordmark-name::after { content: "."; color: var(--accent); }
.wordmark-sub { margin-top: 3px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink-2); padding-block: 6px; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .nav-cta { background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; }
.nav a.nav-cta, .nav a.nav-cta[aria-current="page"] { color: #fff; }
.nav a.nav-cta:hover { background: var(--accent-strong); color: #fff; }

.menu-toggle { display: none; width: 48px; height: 48px; margin-right: -10px; border: 0; background: transparent; cursor: pointer; position: relative; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { position: absolute; left: 13px; width: 22px; height: 1.6px; background: var(--ink); content: ""; transition: transform .25s var(--ease); }
.menu-toggle span { top: 23px; }
.menu-toggle span::before { left: 0; top: -7px; }
.menu-toggle span::after { left: 0; top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Bild mit KI-Hinweis ---------- */
.media { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-img); background: #dcdad4; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-note { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .82); color: #333; font-size: 11.5px; font-weight: 500; line-height: 1.4; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 5vw, 72px) 0 clamp(40px, 4vw, 56px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: end; }
.hero .display em { font-style: normal; color: var(--muted); }
.hero .lead { margin-top: 30px; max-width: 580px; }
.hero .media { height: clamp(420px, 46vw, 640px); }
.hero .media img { object-position: 64% 50%; }

.stats { padding-bottom: clamp(56px, 7vw, 96px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.stat { padding: 24px 24px 0 0; }
.stat + .stat { padding-left: 24px; }
.stat b { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.1; letter-spacing: -.03em; white-space: nowrap; }
.stat:last-child b { color: var(--accent); }
.stat span { display: block; margin-top: 10px; font-size: 15px; color: var(--ink-2); }

/* ---------- Teilnahme (geschlossene Gruppe) ---------- */
.format-wrap { padding-bottom: clamp(56px, 7vw, 96px); }
.format-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 18px; background: var(--dark); color: var(--on-dark); }
.format-card .label { color: var(--accent-on-dark); }
.format-card .lead { margin-top: 20px; color: var(--on-dark-2); }
.format-list li { list-style: none; display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--line-dark); }
.format-list li:first-child { border-top: 0; padding-top: 0; }
.format-list li:last-child { padding-bottom: 0; }
.format-list .icon { stroke: var(--accent-on-dark); margin-top: 2px; }
.format-list h3 { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -.015em; margin-bottom: 4px; }
.format-list p { color: var(--on-dark-2); font-size: 15.5px; }

/* ---------- Überblick ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split .lead { margin-top: 24px; }
.split .media { aspect-ratio: 3 / 2; }

.facts { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); }
.facts + .facts { margin-top: clamp(48px, 6vw, 80px); }
.facts .h3 { font-size: clamp(24px, 2.4vw, 30px); }
.facts .lead { margin-top: 14px; font-size: 17px; }
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.check-list li { list-style: none; display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; line-height: 1.45; }
.check-list li .icon { width: 20px; height: 20px; margin-top: 1px; }
.check-list li.is-highlight { color: var(--accent-text); }

/* ---------- Toolbox ---------- */
.columns-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--surface); border-radius: var(--r-card); padding: 30px 28px; }
.card .icon { margin-bottom: 28px; }
.card h3 { font-family: var(--display); font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; margin-bottom: 10px; }
.card p { font-size: 15.5px; color: var(--ink-2); }

/* ---------- 360°-Kompetenzen (dunkel) ---------- */
.competence { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.competence .media { aspect-ratio: 1 / 1; }
.competence .lead { margin-top: 22px; }
.competence-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 44px; }
.competence-list li { list-style: none; padding: 24px 0; border-top: 1px solid var(--line-dark); }
.competence-list h3 { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -.015em; margin-bottom: 8px; }
.competence-list p { color: var(--on-dark-2); font-size: 15.5px; }

/* ---------- Module ---------- */
.band { margin-bottom: clamp(56px, 7vw, 96px); }
.band .media { height: clamp(260px, 32vw, 460px); }
.modules-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.modules-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.modules-intro .lead { margin-top: 20px; }
.phase-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.phase-tabs button { min-height: 44px; padding: 0 18px; border: 1px solid #c9c7c0; border-radius: 999px; background: transparent; font-size: 14.5px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.phase-tabs button:hover { border-color: var(--ink); }
.phase-tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.phase + .phase { margin-top: 44px; }
.phase-title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.phase-title span { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.module { border-bottom: 1px solid var(--line); }
.module summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 52px minmax(0, 1fr) 28px; gap: 18px; align-items: center; padding: 20px 0; }
.module summary::-webkit-details-marker { display: none; }
.module-no { font-size: 14px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.module-title { font-size: 18px; font-weight: 600; line-height: 1.35; transition: color .2s; }
.module-tools { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--muted); }
.module summary:hover .module-title { color: var(--accent-text); }
.toggle { width: 26px; height: 26px; position: relative; justify-self: end; border-radius: 50%; border: 1px solid #c9c7c0; transition: background .2s, border-color .2s; }
.toggle::before, .toggle::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; height: 1.4px; background: var(--ink); transition: transform .25s var(--ease); }
.toggle::after { transform: rotate(90deg); }
details[open] > summary .toggle { background: var(--ink); border-color: var(--ink); }
details[open] > summary .toggle::before, details[open] > summary .toggle::after { background: #fff; }
details[open] > summary .toggle::after { transform: rotate(0deg); }
.module-body { padding: 0 46px 24px 70px; }
.module-body li { list-style: none; position: relative; padding: 4px 0 4px 18px; color: var(--ink-2); font-size: 16px; }
.module-body li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.note { margin-top: 36px; display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; background: var(--accent-soft); border-radius: var(--r-card); }
.note p { color: var(--ink-2); }
.note strong { color: var(--ink); }

/* ---------- Follow-up ---------- */
.bonus-card { display: flex; flex-direction: column; }
.bonus-meta { display: inline-block; align-self: flex-start; margin: -2px 0 14px; padding: 3px 10px; border-radius: 999px; background: var(--bg); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.bonus-card ul { margin-top: 12px; }
.bonus-card li { list-style: none; font-size: 15px; color: var(--ink-2); padding: 3px 0 3px 16px; position: relative; }
.bonus-card li::before { content: ""; position: absolute; left: 0; top: .8em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ---------- Tools (dunkel) ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tool-group { background: var(--dark-2); border: 1px solid var(--line-dark); border-radius: var(--r-card); padding: 26px 24px; }
.tool-group h3 { font-size: 13.5px; font-weight: 500; color: var(--accent-on-dark); margin-bottom: 16px; }
.tool-group li { list-style: none; font-family: var(--display); font-size: 19px; font-weight: 500; line-height: 1.6; letter-spacing: -.01em; }

/* ---------- Anwendungsfälle ---------- */
.usecases { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.usecases-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.usecases-aside .lead { margin-top: 20px; }
.usecases-aside .media { aspect-ratio: 4 / 5; margin-top: 36px; }
.usecases-aside .media img { object-position: 42% 50%; }
.usecase-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.usecase-list li { list-style: none; padding: 26px 0; border-top: 1px solid var(--line); }
.usecase-list h3 { font-family: var(--display); font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; margin-bottom: 8px; }
.usecase-list p { font-size: 15.5px; color: var(--ink-2); }

/* ---------- Vorteile ---------- */
.benefits { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.benefit { padding: 30px 24px 0 0; }
.benefit + .benefit { padding-left: 24px; border-left: 1px solid var(--line); }
.benefit .icon { margin-bottom: 26px; }
.benefit h3 { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -.015em; margin-bottom: 10px; }
.benefit p { font-size: 15.5px; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(36px, 6vw, 96px); }
.faq-layout .lead { margin-top: 20px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--ink); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-size: 18px; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-text); }
.faq-item summary .toggle { flex: none; }
.faq-item p { padding: 0 56px 24px 0; color: var(--ink-2); }

/* ---------- Kontakt-CTA ---------- */
.cta { padding-block: clamp(24px, 3vw, 40px) clamp(80px, 9vw, 120px); }
.cta-card { position: relative; overflow: hidden; border-radius: 18px; min-height: 560px; display: flex; align-items: center; justify-content: flex-end; background: #e9e6df; }
.cta-card .media { position: absolute; inset: 0; border-radius: 0; }
.cta-card .media img { object-position: 0% 50%; }
.cta-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(243, 242, 238, 0) 30%, rgba(243, 242, 238, .78) 58%, rgba(243, 242, 238, .92) 100%); }
.cta-card .media-note { left: 14px; right: auto; z-index: 1; }
.cta-box { position: relative; z-index: 1; width: min(560px, 100%); padding: clamp(32px, 5vw, 64px); }
.cta-box .lead { margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-2); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 72px 48px; }
.site-footer .wordmark-name { color: var(--on-dark); }
.site-footer .wordmark-sub { color: var(--on-dark-2); }
.site-footer h2 { font-size: 14px; font-weight: 500; color: var(--accent-on-dark); margin-bottom: 14px; }
.site-footer li { list-style: none; padding: 3px 0; }
.site-footer a { text-decoration: none; color: var(--on-dark); }
.site-footer a:hover { text-decoration: underline; }
.footer-about { margin-top: 16px; max-width: 360px; }
.footer-logos { display: flex; flex-wrap: wrap; gap: 12px; padding-bottom: 40px; }
.logo-tile { display: flex; align-items: center; justify-content: center; width: 210px; height: 88px; padding: 14px 20px; background: #fff; border-radius: 10px; }
.logo-tile img { width: auto; max-width: 100%; max-height: 100%; }
a.logo-tile:hover { box-shadow: 0 0 0 2px var(--accent-on-dark); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 22px 28px; border-top: 1px solid var(--line-dark); font-size: 13.5px; }

/* ---------- Unterseiten ---------- */
.page-hero { padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 64px); }
.page-hero .display { font-size: clamp(40px, 5.6vw, 76px); }
.page-hero .lead { margin-top: 24px; max-width: 680px; }
.breadcrumb { margin-bottom: 28px; font-size: 14px; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li { list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--accent); }
.page-body { background: var(--surface); }

.legal { max-width: 780px; }
.legal h2 { margin: 52px 0 12px; font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.25; letter-spacing: -.02em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal ul, .legal address { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { margin-top: 10px; }
.legal li { list-style: none; position: relative; padding: 4px 0 4px 18px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal address { font-style: normal; }
.legal a { color: var(--ink); }
.legal .stand { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }

/* Kontaktformular */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14.5px; font-weight: 500; }
.field input, .field textarea { width: 100%; min-height: 54px; padding: 14px 16px; border: 1px solid #cfccc4; border-radius: 10px; background: var(--bg); font-size: 16.5px; line-height: 1.4; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px var(--accent-soft); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #b3261e; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy-note, .form-footnote, .captcha-field small { font-size: 14px; color: var(--muted); }
.captcha-field { display: grid; gap: 8px; }
.captcha-field > span { font-size: 14.5px; font-weight: 500; }
.captcha-field altcha-widget { display: block; max-width: 100%; --altcha-border-radius: 10px; --altcha-color-border: #cfccc4; --altcha-color-base: #ffffff; --altcha-max-width: 100%; }
#anfrage-status { scroll-margin-top: calc(var(--header-h) + 24px); }
.form-status { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: 12px; margin-bottom: 28px; font-size: 16.5px; line-height: 1.5; }
.form-status:focus { outline: none; }
.form-status:focus-visible { outline: none; }
.form-status.success { background: #bfe3b5; border: 1px solid #7fbf72; color: #10301a; box-shadow: 0 6px 20px rgba(46, 125, 50, .18); }
.form-status.error { background: #f8d3c4; border: 1px solid #e59a7c; color: #4a160a; }
.form-status strong { display: block; margin-bottom: 2px; font-size: 18px; }
.form-status .status-icon { width: 26px; height: 26px; margin-top: 1px; stroke: #1e6b2a; stroke-width: 2.2; }
.contact-card { background: var(--bg); border-radius: var(--r-card); padding: 30px; }
.contact-card + .contact-card { margin-top: 16px; }
.contact-card h2 { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -.015em; margin-bottom: 12px; }
.contact-card address, .contact-card p { font-style: normal; color: var(--ink-2); }
.contact-card ul { margin-top: 14px; }
.contact-card li { list-style: none; display: flex; gap: 12px; align-items: center; padding: 6px 0; }
.contact-card a { text-decoration: none; font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }

.notfound { min-height: 62vh; display: flex; align-items: center; }

/* ---------- Einblenden ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- Responsiv ---------- */
@media (max-width: 1180px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
  .stat b { font-size: 30px; }
  .nav { gap: 22px; }
  .columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tools-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefit:nth-child(4) { padding-left: 0; border-left: 0; }
  .benefit:nth-child(n+4) { border-top: 1px solid var(--line); margin-top: 28px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; --shell: calc(100% - 48px); }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 20px 24px 40px; background: var(--bg); overflow-y: auto; font-family: var(--display); font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav .nav-cta { margin-top: 28px; text-align: center; font-family: var(--sans); font-size: 17px; letter-spacing: 0; padding: 16px; border: 0; }

  .hero-grid, .format-card, .split, .facts, .competence, .modules-layout, .usecases, .faq-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .hero .media { height: auto; aspect-ratio: 4 / 5; max-height: 640px; }
  .modules-intro, .usecases-aside { position: static; }
  .usecases-aside .media, .competence .media { aspect-ratio: 16 / 10; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
  .cta-card { min-height: 0; flex-direction: column; align-items: stretch; background: var(--surface); }
  .cta-card .media { position: relative; inset: auto; aspect-ratio: 3 / 2; }
  .cta-card .media::after { display: none; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 32px); }
  body { font-size: 16.5px; }
  h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; }
  .actions .btn { width: 100%; }
  .check-list, .competence-list, .usecase-list, .field-row { grid-template-columns: minmax(0, 1fr); }
  .columns-4, .tools-grid, .benefits, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .benefit { padding-left: 0 !important; border-left: 0 !important; }
  .benefit + .benefit { border-top: 1px solid var(--line); margin-top: 24px; }
  .stats-grid { grid-template-columns: minmax(0, 1fr); }
  .stat, .stat + .stat { padding: 18px 0; margin-top: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .stat b { font-size: 30px; }
  .stat span { margin-top: 4px; }
  .module summary { grid-template-columns: 36px minmax(0, 1fr) 26px; gap: 12px; }
  .module-title { font-size: 16.5px; }
  .module-body { padding: 0 0 22px 48px; }
  .faq-item p { padding-right: 0; }
  .contact-card { padding: 24px; }
  .logo-tile { width: calc(50% - 6px); height: 76px; padding: 10px 12px; }
}

/* ---------- Druck ---------- */
@media print {
  .site-header, .site-footer, .phase-tabs, .menu-toggle, .media { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .dark { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
}
