/* klever-2026.css – Klever Beratung Redesign (lila, Arial, hell/dunkel). Handgeschrieben, keine Frameworks. */

/* ---------- Tokens ---------- */
:root {
  --bg: #FFFFFF;
  --bg-2: #FFFFFF;
  --head: #2E1065;
  --head-fg: #FFFFFF;
  --head-fg-2: #E4DDF8;
  --head-line: rgba(255,255,255,.16);
  --head-hover: rgba(255,255,255,.1);
  --num: #5B21B6;
  --ink: #111318;
  --ink-2: #444B57;
  --violet: #6D28D9;
  --violet-deep: #5B21B6;
  --on-violet: #FFFFFF;
  --lilac: #C4B5FD;
  --lilac-2: #A78BFA;
  --line: #D9CCF5;
  --band: #2E1065;
  --band-fg: #FFFFFF;
  --band-num: #C4B5FD;
  --field-bg: #FFFFFF;
  --focus: #6D28D9;
  --ok-bg: #E7F6EC;
  --ok-fg: #14532D;
  --container: 1200px;
  --gutter: 16px;
  --sec: 72px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  :root {
    --bg: #150A33;
    --bg-2: #150A33;
    --head: #241052;
    --head-fg: #FFFFFF;
    --head-fg-2: #E4DDF8;
    --head-line: rgba(255,255,255,.14);
    --head-hover: rgba(255,255,255,.08);
    --num: #C4B5FD;
    --ink: #F3EEFF;
    --ink-2: #CFC4EA;
    --violet: #C4B5FD;
    --violet-deep: #C4B5FD;
    --on-violet: #2E1065;
    --lilac: #8B6FE0;
    --lilac-2: #5B3FB0;
    --line: #3A2470;
    --band: #241052;
    --band-fg: #FFFFFF;
    --band-num: #C4B5FD;
    --field-bg: #1F1147;
    --focus: #C4B5FD;
    --ok-bg: #163B2A;
    --ok-fg: #D3F4DF;
    color-scheme: dark;
  }
}
@media (min-width: 720px) { :root { --gutter: 32px; --sec: 96px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; --sec: 112px; } }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
html.kv-noscroll, html.kv-noscroll body { overflow: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0 0 .6em; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
h1 { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.25rem); line-height: 1.02; letter-spacing: -.03em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.75rem); line-height: 1.1; letter-spacing: -.02em; }
h3 { font-size: 1.375rem; line-height: 1.25; letter-spacing: -.01em; }
h4 { font-size: 1.125rem; line-height: 1.3; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--violet-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 700; }
small, .small { font-size: 1rem; }
.lead { font-size: 1.25rem; line-height: 1.5; color: var(--ink); max-width: 36em; }
.muted { color: var(--ink-2); }
.prose { max-width: 66ch; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lilac); color: #2E1065; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 16px; top: -80px; z-index: 1000; padding: 12px 18px; background: #C4B5FD; color: #2E1065; border-radius: 6px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Listen mit Doppel-Chevron ---------- */
.kv-list, .kv-list-cols { list-style: none; margin: 0 0 1.25em; padding: 0; }
.kv-list li, .kv-list-cols li { position: relative; padding-left: 1.9em; margin: 0 0 .55em; }
.kv-list li::before, .kv-list-cols li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1.15em; height: 1.15em;
  background: var(--violet-deep);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5l7 7-7 7M13 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5l7 7-7 7M13 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center / contain;
}
.kv-list-cols { columns: 2; column-gap: 2.5rem; }
.toc { margin: 0; }
@media (min-width: 600px) { .toc { columns: 2; column-gap: 2rem; } }
.kv-list-cols li { break-inside: avoid; }
@media (max-width: 599px) { .kv-list-cols { columns: 1; } }
ol.kv-ol { margin: 0 0 1.25em; padding-left: 1.4em; }
ol.kv-ol li { margin-bottom: .5em; padding-left: .3em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: .7rem 1.4rem; border-radius: 6px; border: 2px solid transparent;
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--violet); color: var(--on-violet); border-color: var(--violet); }
.btn-primary:hover { background: var(--violet-deep); border-color: var(--violet-deep); }
@media (prefers-color-scheme: dark) and (max-width: 0px) { .btn-primary:hover { background: #DDD3FF; border-color: #DDD3FF; } }
.btn-secondary { background: transparent; color: var(--violet-deep); border-color: var(--violet-deep); }
.btn-secondary:hover { background: rgba(109,40,217,.08); }
@media (prefers-color-scheme: dark) and (max-width: 0px) { .btn-secondary:hover { background: rgba(196,181,253,.12); } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 1.6rem; }
.hero .btn-primary, .kv-nav__cta .btn { background: #C4B5FD; color: #2E1065; border-color: #C4B5FD; }
.hero .btn-primary:hover, .kv-nav__cta .btn:hover { background: #DDD3FF; border-color: #DDD3FF; }
.hero .btn-secondary { color: #FFFFFF; border-color: #C4B5FD; }
.hero .btn-secondary:hover { background: rgba(196,181,253,.16); }

/* ---------- Header: dunkle Tinte, geht nahtlos in den Hero über ---------- */
.kv-header { position: sticky; top: 0; z-index: 50; background: var(--head); color: var(--head-fg); }
.kv-header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.kv-logo { display: inline-flex; align-items: center; flex: 0 0 auto; padding: 6px 0; }
.kv-logo img { height: 40px; width: auto; }
@media (min-width: 1100px) { .kv-logo img { height: 46px; } }
.kv-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px;
  border: 2px solid #C4B5FD; border-radius: 6px; background: transparent; color: #FFFFFF;
  font: inherit; font-weight: 700; cursor: pointer;
}
.kv-toggle .bars { position: relative; width: 20px; height: 14px; }
.kv-toggle .bars::before, .kv-toggle .bars::after, .kv-toggle .bars span { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; border-radius: 1px; }
.kv-toggle .bars::before { top: 0; } .kv-toggle .bars span { top: 6px; } .kv-toggle .bars::after { top: 12px; }
.is-open .kv-toggle .bars::before { top: 6px; transform: rotate(45deg); }
.is-open .kv-toggle .bars::after { top: 6px; transform: rotate(-45deg); }
.is-open .kv-toggle .bars span { opacity: 0; }

.kv-nav ul { list-style: none; margin: 0; padding: 0; }
.kv-nav a { text-decoration: none; color: var(--head-fg); font-weight: 700; }
.kv-nav .sub a { font-weight: 400; }
.kv-nav a[aria-current="page"], .kv-nav .is-current > a { color: #FFFFFF; box-shadow: inset 0 -3px 0 #C4B5FD; }
.kv-nav .kv-nav__cta a.btn, .kv-nav .kv-nav__cta a.btn:hover { color: #2E1065; box-shadow: none; }
.sub-toggle { display: none; }

/* mobil: Panel unter dem Header, gleiche dunkle Fläche */
@media (max-width: 1023px) {
  .kv-nav { display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0; overflow-y: auto; background: var(--head); padding: 8px var(--gutter) 40px; border-top: 1px solid var(--head-line); }
  .is-open .kv-nav { display: block; }
  .kv-nav > ul > li { border-bottom: 1px solid var(--head-line); }
  .kv-nav > ul > li > a { display: block; padding: 15px 0; font-size: 1.125rem; }
  .kv-nav .sub { padding: 0 0 10px 18px; }
  .kv-nav .sub a { display: block; padding: 9px 0; color: var(--head-fg-2); }
  .kv-nav__cta { border-bottom: 0 !important; padding-top: 18px; }
  .kv-nav__cta .btn { width: 100%; }
}
/* desktop */
@media (min-width: 1024px) {
  .kv-toggle { display: none; }
  .kv-nav { display: block; }
  .kv-nav > ul { display: flex; align-items: center; gap: 4px; }
  .kv-nav > ul > li { position: relative; }
  .kv-nav > ul > li > a { display: inline-block; padding: 10px 11px; border-radius: 4px; font-size: 1rem; }
  .kv-nav > ul > li > a:hover { background: var(--head-hover); }
  .kv-nav a[aria-current="page"], .kv-nav .is-current > a { box-shadow: inset 0 -3px 0 #C4B5FD; border-radius: 4px 4px 0 0; }
  .sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-left: -6px; border: 0; background: transparent; color: var(--head-fg); cursor: pointer; border-radius: 4px; }
  .sub-toggle::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
  .kv-nav .sub { display: none; position: absolute; left: 0; top: 100%; min-width: 280px; padding: 8px; background: var(--head); border: 1px solid var(--head-line); border-radius: 0 0 8px 8px; z-index: 60; }
  .kv-nav .sub a { display: block; padding: 10px 12px; border-radius: 4px; color: var(--head-fg); }
  .kv-nav .sub a:hover { background: var(--head-hover); }
  .has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { display: block; }
  .kv-nav__cta { margin-left: 10px; }
  .kv-nav__cta .btn { min-height: 44px; padding: .55rem 1.1rem; }
  .kv-nav__cta .btn[aria-current] { box-shadow: none; }
}
@media (min-width: 1024px) and (max-width: 1199px) { .kv-nav > ul > li > a { padding: 10px 8px; font-size: .9375rem; } }

/* ---------- Sektionen ---------- */
.sec { padding: var(--sec) 0; }
.sec-tint { border-top: 1px solid var(--line); }
.sec-head { max-width: 40em; margin-bottom: 2.2rem; }
.sec-head p { font-size: 1.125rem; color: var(--ink-2); }
.band { border-top: 1px solid var(--line); padding: calc(var(--sec) * .8) 0; }
.grid-2 { display: grid; gap: 28px; }
.grid-3 { display: grid; gap: 28px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 40px; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split-rev > :first-child { order: 2; } }
.split .pic img { border-radius: 10px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split .pic--wide img { aspect-ratio: 16 / 10; }

/* ---------- Hero mit Chevron-Schnitt ---------- */
.hero { background: var(--head); color: var(--head-fg); padding: calc(var(--sec) * .4) 0 calc(var(--sec) * .85); }
.hero h1 { color: #FFFFFF; }
.hero .lead { color: var(--head-fg-2); }
.hero__in { display: grid; gap: 36px; align-items: center; }
.hero__text .lead { margin-top: 1.1rem; }
.hero-fig { position: relative; margin: 0; }
.hero-fig::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -4%; width: 28%; background: #C4B5FD;
  clip-path: polygon(0 0, 22% 0, 100% 50%, 22% 100%, 0 100%, 78% 50%);
}
.hero-fig img { position: relative; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0 10px 10px 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 22% 50%); }
@media (min-width: 900px) {
  .hero { padding-top: calc(var(--sec) * .55); }
  .hero__in { grid-template-columns: minmax(0, 12fr) minmax(0, 9fr); gap: 56px; }
  .hero-fig img { aspect-ratio: 5 / 4; }
  .hero-fig::before { left: -9%; width: 32%; clip-path: polygon(0 0, 28% 0, 100% 50%, 28% 100%, 0 100%, 72% 50%); }
}
.hero--sub { padding-bottom: calc(var(--sec) * .7); }
.hero--sub h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.5rem); }
.hero--sub .hero-fig img { aspect-ratio: 16 / 10; }
@media (min-width: 900px) { .hero--sub .hero__in { grid-template-columns: minmax(0, 13fr) minmax(0, 9fr); } .hero--sub .hero-fig img { aspect-ratio: 4 / 3; } }
.hero--plain { padding-bottom: calc(var(--sec) * .5); }
.hero--plain .hero__in { grid-template-columns: 1fr; }

/* ---------- Leistungsfelder ---------- */
.fields { display: grid; gap: 16px; }
@media (min-width: 720px) { .fields { grid-template-columns: 1fr 1fr; gap: 24px; } }
.field { border: 1px solid var(--line); border-radius: 10px; padding: 28px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.field__icon { width: 44px; height: 44px; color: var(--violet-deep); margin-bottom: 4px; }
.field__icon svg { width: 44px; height: 44px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.field h3 { margin: 0; }
.field p { margin: 0; color: var(--ink-2); }
.field a { margin-top: auto; padding: 10px 0; font-weight: 700; align-self: flex-start; }
@media (min-width: 720px) { .field { padding: 34px 32px 30px; } }

/* ---------- Leistungsfelder als Zeilen mit Schema ---------- */
.felder { list-style: none; margin: 0; padding: 0; }
.feld { display: grid; gap: 14px 32px; padding: 30px 0; border-top: 2px solid var(--line); }
.feld:last-child { border-bottom: 2px solid var(--line); }
.feld h3 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem); letter-spacing: -.02em; margin: 0; position: relative; padding-left: 1.4em; }
.feld h3::before { content: ""; position: absolute; left: 0; top: .18em; width: 1em; height: 1em; background: var(--violet-deep);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5l7 7-7 7M13 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5l7 7-7 7M13 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center / contain; }
.feld p { margin: 0 0 10px; color: var(--ink-2); max-width: 46ch; }
.feld a { font-weight: 700; display: inline-block; padding: 6px 0; }
.schema { width: 100%; max-width: 380px; height: auto; color: var(--violet-deep); }
.schema .l { stroke: var(--lilac); }
.schema .f { fill: var(--bg-2); }
.schema .f2 { fill: var(--lilac); }
.schema text { font: 700 12px Arial, Helvetica, sans-serif; fill: currentColor; }
@media (min-width: 720px) {
  .feld { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 4fr); align-items: center; padding: 36px 0; }
  .feld .schema { justify-self: end; }
}
@media (max-width: 719px) { .feld .schema { max-width: 340px; order: 3; } }

/* ---------- Hero-Fakten ---------- */
.hero-facts { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 8px; max-width: 34em; }
.hero-facts li { position: relative; padding-left: 1.7em; color: var(--head-fg-2); }
.hero-facts li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1em; height: 1em; background: #C4B5FD;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5l7 7-7 7M13 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5l7 7-7 7M13 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center / contain; }

/* ---------- Problem / Vorgehen / Ergebnis (asymmetrisch) ---------- */
.pve { display: grid; gap: 28px; }
.pve__text { display: grid; gap: 28px; }
.pve__result { border: 2px solid var(--lilac); border-radius: 10px; padding: 32px 28px; }
.pve__result h2 { color: var(--violet-deep); }
@media (min-width: 900px) { .pve { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; } .pve__text { grid-template-columns: 1fr 1fr; gap: 40px; } }

/* ---------- Grundsaetze ---------- */
.grundsaetze { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.grundsaetze li { position: relative; padding-left: 2.2em; }
.grundsaetze li::before { content: ""; position: absolute; left: 0; top: .15em; width: 1.5em; height: 1.5em; background: var(--violet-deep);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5l7 7-7 7M13 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5l7 7-7 7M13 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center / contain; }
.grundsaetze h3 { margin: 0 0 4px; }
.grundsaetze p { margin: 0; color: var(--ink-2); }

/* ---------- Prozesspfad (echte Reihenfolge) ---------- */
.path { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.path li { position: relative; padding-left: 60px; counter-increment: step; }
.path li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--violet); color: var(--on-violet); font-weight: 700; font-size: 1.125rem; display: flex; align-items: center; justify-content: center; }
.path li::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: -16px; width: 2px; background: var(--line); }
.path li:last-child::after { display: none; }
.path h3 { margin: 6px 0 4px; font-size: 1.1875rem; }
.path p { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) {
  .path { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .path li { padding-left: 0; padding-top: 62px; }
  .path li::after { left: 54px; right: -28px; top: 21px; bottom: auto; height: 2px; width: auto; }
}
.path--5 { }
@media (min-width: 900px) { .path--5 { grid-template-columns: repeat(5, 1fr); } }
.path--v { }
@media (min-width: 900px) { .path--v { grid-template-columns: 1fr; gap: 22px; } .path--v li { padding-left: 64px; padding-top: 0; } .path--v li::after { left: 21px; top: 50px; bottom: -22px; width: 2px; height: auto; right: auto; } .path--v h3 { font-size: 1.375rem; } }
.path--v p { max-width: 60ch; }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; gap: 28px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.stat { border-left: 3px solid var(--lilac); padding-left: 20px; }
.stat__num { display: block; font-size: clamp(2.75rem, 2rem + 3vw, 4.25rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--num); margin-bottom: 8px; }
.stat__label { display: block; font-size: 1.125rem; font-weight: 700; }
.stat__sub { display: block; margin-top: 4px; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 700; font-size: 1.125rem; list-style: none; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 auto; width: 12px; height: 12px; margin-right: 4px; border-right: 2px solid var(--violet-deep); border-bottom: 2px solid var(--violet-deep); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--violet-deep); }
.faq .faq__a { padding: 0 0 20px; max-width: 66ch; color: var(--ink-2); }
.faq .faq__a p { margin-bottom: .8em; }

/* ---------- Fakten-Kasten ---------- */
.facts { border: 1px solid var(--line); border-radius: 10px; padding: 26px 24px; margin: 0; }
.facts dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; }
.facts dt { font-weight: 700; color: var(--ink-2); }
.facts dd { margin: 0; }
@media (max-width: 479px) { .facts dl { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; } }
.facts h2, .facts h3 { margin-bottom: 14px; }

/* ---------- Tabellen ---------- */
.tbl { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; font-size: 1rem; }
@media (max-width: 599px) {
  .tbl--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl--stack tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .tbl--stack th, .tbl--stack td { display: block; border: 0; padding: 4px 0; }
  .tbl--stack td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--ink-2); }
}
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { color: var(--ink-2); font-weight: 700; }
.tbl thead th { border-bottom: 2px solid var(--lilac); }
.tbl td.num { font-weight: 700; text-align: right; white-space: nowrap; }
.tbl-wrap { overflow-x: auto; }

/* ---------- Projektdauer-Balken ---------- */
.dur { margin: 0 0 1.5rem; }
.dur__bar { display: flex; border-radius: 6px; overflow: hidden; }
.dur__bar span { flex: var(--w) 1 auto; min-width: max-content; display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 12px; font-size: 1rem; font-weight: 700; color: #2E1065; white-space: nowrap; }
.dur__bar span:nth-child(1) { background: #E4DBFC; }
.dur__bar span:nth-child(2) { background: #D3C7FA; }
.dur__bar span:nth-child(3) { background: #C4B5FD; }
.dur__note { color: var(--ink-2); font-size: 1rem; }
@media (max-width: 599px) {
  .dur__bar { flex-direction: column; gap: 6px; overflow: visible; border-radius: 0; }
  .dur__bar span { width: max(52%, calc(var(--w) / var(--total) * 100%)); justify-content: flex-start; border-radius: 6px; min-height: 46px; }
}

/* ---------- Projekte (Steckbriefe) ---------- */
.case { padding: 32px 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; padding-top: 0; }
.case h2 { font-size: 1.5rem; margin-bottom: 14px; }
.case dl { margin: 0; display: grid; gap: 12px 24px; }
.case dt { font-weight: 700; color: var(--ink-2); }
.case dd { margin: 0; max-width: 66ch; }
@media (min-width: 720px) { .case dl { grid-template-columns: 150px 1fr; } }
.case__result { display: inline-block; margin-top: 14px; padding: 10px 14px; border-radius: 6px; border: 1px solid var(--lilac); color: var(--violet-deep); font-weight: 700; }

/* ---------- Teamstruktur ---------- */
.team { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .team { grid-template-columns: 1fr 1fr; gap: 14px 24px; } }
.team li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.team .n { font-weight: 700; font-size: 1.375rem; color: var(--violet-deep); white-space: nowrap; }

/* ---------- Formular ---------- */
.form { display: grid; gap: 18px; }
@media (min-width: 600px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.form label { display: block; font-weight: 700; margin-bottom: 6px; }
.form input, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--field-bg); border: 2px solid var(--line); border-radius: 6px;
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--violet-deep); }
.form .hint { color: var(--ink-2); font-size: 1rem; }
.status { padding: 16px 18px; border-radius: 6px; background: var(--ok-bg); color: var(--ok-fg); font-weight: 700; margin-bottom: 1.5rem; }
.status--err { background: var(--err-bg, #FDECEC); color: var(--err-fg, #7A1E1E); font-weight: 400; }
.status--err li::before { background: currentColor; }
@media (prefers-color-scheme: dark) and (max-width: 0px) { .status--err { background: #3B1A1A; color: #FAD4D4; } }
.form [aria-invalid="true"] { border-color: #C0392B; }
.contact-side { border: 1px solid var(--line); border-radius: 10px; padding: 28px 26px; }
.contact-side h2 { font-size: 1.5rem; }
.contact-side address { font-style: normal; margin-bottom: 1.1em; }

/* ---------- CTA-Band ---------- */
.cta { }
.cta__in { display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .cta__in { grid-template-columns: 1fr auto; gap: 40px; } }
.cta h2 { margin-bottom: .3em; }
.cta p { max-width: 40em; margin: 0; }

/* ---------- Footer ---------- */
.kv-footer { background: #2E1065; color: #E4DDF8; padding: 56px 0 28px; margin-top: 0; border-top: 1px solid var(--line); }
@media (prefers-color-scheme: dark) and (max-width: 0px) { .kv-footer { background: #0F0724; border-top: 1px solid var(--line); } }
.kv-footer a { color: #FFFFFF; text-decoration: none; }
.kv-footer a:hover { text-decoration: underline; }
.kv-footer__grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .kv-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; } }
.kv-footer__brand img { height: 40px; width: auto; margin-bottom: 18px; }
.kv-footer__brand p { max-width: 34em; color: #E4DDF8; }
.kv-footer h2 { font-size: 1.0625rem; color: #FFFFFF; margin-bottom: 12px; }
.kv-footer ul { list-style: none; margin: 0; padding: 0; }
.kv-footer li { margin: 0; }
.kv-footer li a { display: inline-block; padding: 7px 0; }
.kv-footer__bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(196,181,253,.3); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 1rem; color: #E4DDF8; }
.kv-footer__bottom button { background: none; border: 0; padding: 8px 0; font: inherit; color: #FFFFFF; cursor: pointer; text-decoration: underline; }
address { font-style: normal; }

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Druck ---------- */
@media print { .kv-header, .kv-footer, .skip-link { display: none; } body { background: #fff; color: #000; } }

/* ---------- Zitate ---------- */
.quote { margin: 0 0 18px; padding: 22px 24px; border: 1px solid var(--line); border-left: 4px solid var(--lilac); border-radius: 0 10px 10px 0; }
.quote p { font-size: 1.125rem; line-height: 1.5; margin: 0 0 10px; }
.quote footer { font-size: 1rem; color: var(--ink-2); }

/* ---------- Kontakt-Raster ---------- */
.contact-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 56px; } }
