/* ==========================================================================
   Webdesign Wolfsburg – Stylesheet
   Orientiert an den Brand Guidelines der Stadt Wolfsburg (Okt. 2025):
   Primär- und Sekundärfarben als Themenfarben je Leistungsbereich, jeweils nur
   mit Schwarz/Weiß kombiniert (max. zwei Farben pro Modul). Signalfarben nur
   für Störer. Baloo 2 für Überschriften, Vorspänne und Oberfläche, Lora für
   längeren Fließtext, Barlow Condensed als freier Ersatz für PF DIN / Aptly.
   ========================================================================== */

:root {
  --allerblau: #4678A0;
  --rasengruen: #96A532;
  --petrol: #0F7879;
  --wald: #06373C;
  --orange: #FA7800;
  --rose: #F5A0B0;
  --sonne: #FFCE00;
  --taupe: #B4B4A0;
  --moosgrau: #737D78;
  --neongruen: #BEF500;

  --schwarz: #000;
  --anthrazit: #2F2F2F;
  --muted: #5A5A5A;
  --hellgrau: #BBBCBC;
  --surface: #F3F3F1;
  --surface-2: #E6E6E3;
  --weiss: #fff;

  --text: var(--anthrazit);
  --link: var(--allerblau);
  --focus: var(--schwarz);

  --font-head: "Baloo 2", "Arial Rounded MT Bold", Arial, sans-serif;
  --font-body: "Lora", Georgia, "Times New Roman", serif;
  --font-cond: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-s: 10px; --r-m: 16px; --r-l: 24px;
  --ramp: clamp(18px, 3.4vw, 56px);
  --space: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 10px 30px rgba(0,0,0,.08);
  --shadow-l: 0 2px 6px rgba(0,0,0,.06), 0 30px 70px rgba(6,55,60,.22);
  --wolf: url("../img/bildmarke.svg");

  /* Standard-Thema */
  --t: var(--allerblau); --t-ink: #fff; --t-tint: #DAE4EC; --t-tint40: #B5C9D9;
}

/* Themenfarben: Fläche, Schrift darauf (nach WCAG-Kontrast), Aufhellungen 20/40 % */
.t-allerblau  { --t: #4678A0; --t-ink: #fff; --t-tint: #DAE4EC; --t-tint40: #B5C9D9; }
.t-rasengruen { --t: #96A532; --t-ink: #000; --t-tint: #EAEDD6; --t-tint40: #D5DBAD; }
.t-petrol     { --t: #0F7879; --t-ink: #fff; --t-tint: #CFE4E4; --t-tint40: #9FC9C9; }
.t-wald       { --t: #06373C; --t-ink: #fff; --t-tint: #CDD7D8; --t-tint40: #9BAFB1; }
.t-orange     { --t: #FA7800; --t-ink: #000; --t-tint: #FEE4CC; --t-tint40: #FDC999; }
.t-rose       { --t: #F5A0B0; --t-ink: #000; --t-tint: #FDECEF; --t-tint40: #FBD9DF; }
.t-sonne      { --t: #FFCE00; --t-ink: #000; --t-tint: #FFF5CC; --t-tint40: #FFEB99; }
.t-taupe      { --t: #B4B4A0; --t-ink: #000; --t-tint: #F0F0EC; --t-tint40: #E1E1D9; }
.t-moosgrau   { --t: #737D78; --t-ink: #000; --t-tint: #E3E5E4; --t-tint40: #C7CBC9; }
.t-anthrazit  { --t: #2F2F2F; --t-ink: #fff; --t-tint: #EAEAEA; --t-tint40: #ACACAC; }

/* Schriftgröße / Kontrast (Leiste oben) */
html { font-size: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html[data-fontsize="1"] { font-size: 112.5%; }
html[data-fontsize="2"] { font-size: 125%; }
html[data-contrast="hoch"] { --muted: #000; --text: #000; --surface: #fff; --link: #003A66; }
html[data-contrast="hoch"] :is(.tile, .faq details, .form-card, .format, .audience, .lab__preview) { box-shadow: inset 0 0 0 2px #000 !important; }
html:has(dialog[open]) { overflow: hidden; }

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

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--weiss); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
:is(.on-color, .site-footer, .servicebar) :focus-visible { outline-color: #fff; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head); font-weight: 600; line-height: 1.08; letter-spacing: -.012em;
  margin: 0 0 .5em; color: inherit; text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); line-height: 1.18; }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space) 0; position: relative; }
.section-head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; }
.section-head--split > div { max-width: 760px; }

/* Kleine Rampe als Markierung über Abschnittsüberschriften */
.kicker { display: block; font: 500 1rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 16px; }
.kicker::before { content: ""; display: block; width: 56px; height: 12px; margin-bottom: 14px; background: var(--t); clip-path: polygon(0 45%, 100% 0, 100% 100%, 0 100%); }
.on-color .kicker { color: inherit; }
.on-color .kicker::before { background: currentColor; }
.lead { font: 400 clamp(1.15rem, 1rem + .5vw, 1.4rem)/1.5 var(--font-head); color: var(--muted); max-width: 64ch; }
.on-color .lead { color: inherit; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: #000; color: #fff; padding: .7rem 1rem; border-radius: 8px; font: 600 1rem var(--font-head); }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: #000; --b-fg: #fff;
  display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap;
  font: 600 1.05rem/1 var(--font-head); padding: .95rem 1.35rem .85rem; border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg); border: 2px solid var(--b-bg); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--theme { --b-bg: var(--t); --b-fg: var(--t-ink); }
.btn--theme:hover { --b-bg: #000; --b-fg: #fff; }
.btn--dark:hover { --b-bg: var(--allerblau); }
.btn--ghost { --b-bg: transparent; --b-fg: currentColor; border-color: currentColor; }
.btn--ghost:hover { --b-bg: #000; --b-fg: #fff; border-color: #000; }
.btn--light { --b-bg: #fff; --b-fg: #000; }
.btn--light:hover { --b-bg: #000; --b-fg: #fff; border-color: #000; }
.on-color .btn--ghost:hover { --b-bg: #fff; --b-fg: #000; border-color: #fff; }
.btn--round { width: 52px; height: 52px; padding: 0; justify-content: center; }

/* ---------- Service-Leiste ---------- */
.servicebar { background: #000; color: #fff; font: 500 .95rem/1 var(--font-cond); letter-spacing: .03em; }
.servicebar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 8px 20px; min-height: 40px; flex-wrap: wrap; }
.servicebar ul { list-style: none; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.servicebar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.servicebar a:hover { text-decoration: underline; }
.servicebar svg { width: 18px; height: 18px; }
.a11y-tools { display: inline-flex; align-items: center; gap: 4px; }
.a11y-tools button { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.4); border-radius: 6px; min-width: 32px; height: 28px; padding: 0 8px; cursor: pointer; font: 500 .9rem var(--font-cond); }
.a11y-tools button[aria-pressed="true"] { background: #fff; color: #000; }
@media (max-width: 560px) { .servicebar .hide-s { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid var(--surface-2); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.brand { display: block; padding: 8px 0; margin-right: auto; }
.brand img { height: 32px; width: auto; }
.quicknav { display: flex; gap: 4px; list-style: none; }
.quicknav a { display: block; padding: 10px 14px 8px; border-radius: 999px; color: #000; text-decoration: none; font: 500 1.02rem/1 var(--font-head); }
.quicknav a:hover { background: var(--surface); }
.quicknav a[aria-current="true"] { background: var(--surface-2); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.burger { display: grid; gap: 5px; width: 20px; }
.burger i { display: block; height: 2px; background: currentColor; border-radius: 2px; transform-origin: left; transition: transform .25s var(--ease); }
.burger i:last-child { transform: scaleX(.65); }
.menu-btn:hover .burger i:last-child { transform: none; }
@media (max-width: 1100px) { .quicknav { display: none; } }
@media (max-width: 620px) {
  .header-actions .btn--theme { display: none; }
  .brand img { height: 24px; }
  .site-header .wrap { min-height: 68px; }
}

/* ==========================================================================
   Menü-Dialog: links Leistungsbereiche, rechts deren Leistungen
   ========================================================================== */
.menu { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #fff; color: #000; overflow-y: auto; overscroll-behavior: contain; }
.menu::backdrop { background: rgba(0,0,0,.5); backdrop-filter: blur(4px); }
.menu[open] { animation: menu-in .35s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }
.menu__top { position: sticky; top: 0; z-index: 2; background: #fff; border-bottom: 1px solid var(--surface-2); }
.menu__top .wrap { display: flex; align-items: center; gap: 20px; min-height: 80px; }
.menu__top .brand img { height: 30px; }
.menu-search { flex: 0 1 420px; position: relative; }
.menu-search input { width: 100%; height: 48px; border-radius: 999px; border: 2px solid var(--surface-2); background: var(--surface); padding: 0 18px 0 46px; font: 500 1rem var(--font-head); color: #000; }
.menu-search input:focus { outline: none; border-color: #000; background: #fff; }
.menu-search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--muted); }
.menu__body { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 64px; }
@media (min-width: 900px) {
  .menu__body { grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
  .menu__topics { position: sticky; top: 108px; }
}
.menu__label { font: 600 .9rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 12px 16px; }
.menu__topics > ul { list-style: none; display: grid; gap: 4px; }
.menu__topic { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer; padding: 14px 16px 12px; border: 0; border-radius: 14px; background: transparent; font: 600 1.2rem/1.2 var(--font-head); }
.menu__topic:hover { background: var(--surface); }
.menu__topic.is-active { background: var(--t-tint); }
.menu__swatch { flex: none; width: 18px; height: 18px; border-radius: 6px; background: var(--t); margin-top: -2px; }
.menu__count { margin-left: auto; font: 500 .95rem var(--font-cond); color: var(--muted); }
.menu__chev { width: 18px; height: 18px; flex: none; opacity: .45; }
.menu__topic.is-active .menu__chev { opacity: 1; }
.menu__more { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0 16px; }
.menu__more a { display: inline-flex; padding: 7px 15px 5px; border: 2px solid var(--surface-2); border-radius: 999px; text-decoration: none; color: #000; font: 500 1rem/1.3 var(--font-head); }
.menu__more a:hover { border-color: #000; }
.menu__contact { margin: 28px 0 0 16px; font: 500 1rem/1.5 var(--font-head); color: var(--muted); }
.menu__contact a { color: #000; }

.menu__panel { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-l); background: var(--surface); padding: clamp(24px, 3.5vw, 52px); min-height: 62vh; }
.menu__panel.is-topic { background: var(--t-tint); }
.menu__panel.is-topic::after { content: ""; position: absolute; z-index: -1; right: -40px; bottom: -60px; width: 360px; height: 300px; background: var(--t); opacity: .16; mask: var(--wolf) center / contain no-repeat; -webkit-mask: var(--wolf) center / contain no-repeat; }
.menu__back { display: none; }
.menu__no { font: italic 500 1.05rem/1 var(--font-cond); letter-spacing: .06em; margin: 0 0 10px; }
.menu__heading { font-size: clamp(2rem, 1.5rem + 2vw, 3.4rem); line-height: 1.02; margin-bottom: 12px; }
.menu__heading:focus { outline: none; }
.menu__intro { font: 400 1.2rem/1.45 var(--font-head); max-width: 40rem; margin-bottom: 20px; }
.menu__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.menu__sections { list-style: none; columns: 3 220px; column-gap: 40px; margin-top: 36px; }
.menu__section { break-inside: avoid; padding-bottom: 28px; }
.menu__section h3 { font-size: 1.2rem; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.menu__section h3::before { content: ""; width: 22px; height: 8px; background: var(--t); clip-path: polygon(0 45%, 100% 0, 100% 100%, 0 100%); flex: none; }
.menu__links { list-style: none; display: grid; gap: 2px; }
.menu__links a, .menu__results a {
  display: flex; text-decoration: none; align-items: center; gap: 10px; width: 100%; text-align: left; cursor: pointer; border: 0; background: transparent;
  padding: 7px 10px; margin-left: -10px; border-radius: 10px; font: 400 1.05rem/1.3 var(--font-head); color: #000;
}
.menu__links a::after, .menu__results a::after {
  content: ""; flex: none; width: 15px; height: 15px; margin-left: auto; background: currentColor; opacity: 0; transform: translateX(-6px);
  -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='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  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='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: opacity .2s, transform .25s var(--ease);
}
.menu__links a:hover, .menu__results a:hover { background: rgba(255,255,255,.8); }
.menu__links a:hover::after, .menu__results a:hover::after, .menu__links a:focus-visible::after { opacity: 1; transform: none; }
.menu__section h3 a { color: inherit; text-decoration: none; }
.menu__section h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.menu__welcome { max-width: 46rem; }
.menu__welcome-title { font: 600 clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem)/1.08 var(--font-head); margin-bottom: 12px; }
.menu__welcome p { font: 400 1.15rem/1.5 var(--font-head); color: var(--muted); }
.menu__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 28px; }
.menu__grid button {
  position: relative; overflow: hidden; text-align: left; cursor: pointer; border: 0; border-radius: 16px; padding: 18px 18px 16px; min-height: 124px;
  background: var(--t); color: var(--t-ink); font: 600 1.15rem/1.15 var(--font-head); display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .25s var(--ease);
}
.menu__grid button:hover { transform: translateY(-3px) rotate(-.6deg); }
.menu__grid small { font: italic 500 .95rem/1 var(--font-cond); letter-spacing: .05em; }
.menu__results { list-style: none; display: grid; gap: 4px; margin-top: 16px; }
.menu__results a { margin-left: 0; background: #fff; padding: 12px 14px; }
.menu__results .sw { width: 12px; height: 12px; border-radius: 4px; background: var(--t); flex: none; }
.menu__results small { font: 500 .95rem var(--font-cond); color: var(--muted); }
.menu__empty { font: 500 1.1rem var(--font-head); }
.menu-search--mobile { display: none; }

@media (max-width: 899px) {
  .menu.has-active .menu__topics { display: none; }
  .menu:not(.has-active) .menu__panel:not(.is-search) { display: none; }
  .menu.is-searching .menu__topics > :not(.menu-search--mobile) { display: none; }
  .menu__panel { min-height: 0; }
  .menu__back { display: inline-flex; align-items: center; gap: 6px; border: 0; background: #fff; border-radius: 999px; padding: 8px 14px 6px; margin-bottom: 18px; font: 600 1rem var(--font-head); cursor: pointer; }
  .menu__back svg { width: 16px; height: 16px; }
  .menu__top .menu-search { display: none; }
  .menu-search--mobile { display: block; margin: 0 0 18px; }
}

/* ==========================================================================
   HERO: Motiv (Themenfarbe) · Punchline · Störer · Rampe
   ========================================================================== */
.hero { position: relative; isolation: isolate; background: var(--t); color: var(--t-ink); overflow: hidden; }
/* verhindert eine Pixelkante der Themenfarbe unter der Rampe */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: #fff; z-index: 3; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; padding-top: clamp(56px, 7vw, 104px); padding-bottom: calc(var(--ramp) + clamp(96px, 9vw, 128px)); }
.hero__text { animation: rise .7s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--t); color: #000; border-radius: 999px; padding: 5px 14px 3px; font: 600 1rem/1.3 var(--font-head); margin: 0 0 18px; }
.pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--t); }
.pill--on-color { border-color: currentColor; color: inherit; margin-bottom: 28px; }
.pill--on-color::before { background: currentColor; }
.hero h1 { font-size: clamp(2.7rem, 1.2rem + 4.8vw, 5.6rem); line-height: .98; letter-spacing: -.025em; margin: 0 0 .45em; max-width: 11ch; }
.hero h1 em { font-style: normal; background: linear-gradient(#fff, #fff) 0 58% / 100% .8em no-repeat; color: var(--t); padding: 0 .1em; border-radius: .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero__sub { font: 400 clamp(1.15rem, 1rem + .6vw, 1.45rem)/1.45 var(--font-head); max-width: 34ch; margin: 0 0 34px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Bildwelt: ein Beispielportal, davor das Smartphone */
.hero__visual { position: relative; animation: rise .8s .12s var(--ease) both; }
.browser { position: relative; width: 112%; background: #fff; color: #000; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px rgba(6,55,60,.28); font-family: var(--font-head); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--surface); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--hellgrau); }
.browser__bar span { margin-left: 10px; flex: 1; max-width: 55%; background: #fff; border-radius: 999px; padding: 2px 14px; font: 500 .8rem/1.6 var(--font-cond); color: var(--muted); letter-spacing: .04em; }
.mini-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; font-size: .95rem; font-weight: 700; }
.mini-logo { display: flex; align-items: center; gap: 9px; }
.mini-logo b { width: 24px; height: 24px; border-radius: 7px; background: var(--petrol); }
.mini-menu { background: #000; color: #fff; border-radius: 999px; padding: 4px 14px 3px; font-size: .78rem; }
.mini-hero { background: var(--petrol); padding: 28px 24px 52px; }
.mini-stage { background: #fff; border-radius: 14px; padding: 18px 20px; width: 72%; }
.mini-pill { display: inline-block; border: 1.5px solid var(--petrol); border-radius: 999px; font-size: .7rem; padding: 1px 9px 0; margin-bottom: 8px; }
.mini-stage strong { display: block; font-size: clamp(1.1rem, .8rem + .8vw, 1.5rem); line-height: 1.05; margin-bottom: 12px; }
.mini-search { display: flex; align-items: center; justify-content: space-between; border: 1.5px solid var(--surface-2); border-radius: 999px; padding: 5px 5px 5px 14px; font-size: .75rem; color: var(--muted); }
.mini-search b { width: 26px; height: 26px; border-radius: 50%; background: var(--petrol); }
.mini-tiles { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 30px 24px 24px; margin-top: -22px; background: #fff; clip-path: polygon(0 22px, 100% 0, 100% 100%, 0 100%); }
.mini-tiles div { border-radius: 12px; padding: 14px 12px 12px; min-height: 92px; font-size: .82rem; font-weight: 600; line-height: 1.15; display: flex; flex-direction: column; justify-content: space-between; background: var(--t-tint); }
.mini-tiles svg { width: 22px; height: 22px; color: #000; }

.phone { position: absolute; right: 2%; bottom: -12%; width: 27%; aspect-ratio: 9 / 18; background: #111; border-radius: 30px; padding: 7px; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.phone__screen { height: 100%; background: #fff; color: #000; border-radius: 24px; overflow: hidden; font-family: var(--font-head); padding: 24px 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.p-title { font-size: .95rem; font-weight: 700; line-height: 1.1; }
.p-sub { font: 500 .72rem/1.2 var(--font-cond); color: var(--muted); letter-spacing: .03em; }
.p-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.p-days span, .p-slots span { border-radius: 8px; background: var(--surface); text-align: center; font-size: .68rem; font-weight: 600; padding: 6px 0 4px; line-height: 1.15; }
.p-days span b { display: block; font-size: 1rem; }
.p-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.p-days .is-on, .p-slots .is-on { background: var(--rasengruen); color: #000; }
.p-btn { margin-top: auto; background: #000; color: #fff; border-radius: 999px; text-align: center; font-size: .72rem; font-weight: 600; padding: 9px 0 7px; }

/* Störer: Signalfarbe, kursive Akzentschrift in Versalien */
.stoerer { position: absolute; z-index: 2; left: -6%; top: -30px; margin: 0; background: var(--neongruen); color: #000; rotate: -4deg; font: italic 600 1rem/1.05 var(--font-cond); text-transform: uppercase; letter-spacing: .02em; padding: 11px 16px 9px; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.stoerer strong { display: block; font-size: 1.45rem; }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; padding-bottom: calc(var(--ramp) + 110px); }
  .hero__visual { max-width: 620px; width: 92%; margin: 16px 0 0 auto; }
  .browser { width: 100%; }
}
@media (max-width: 560px) {
  .hero__visual { width: 100%; margin-top: 28px; }
  .mini-head { padding: 10px 14px; font-size: .8rem; }
  .mini-hero { padding: 16px 14px 36px; }
  .mini-stage { width: 86%; padding: 12px 14px; }
  .mini-tiles { gap: 6px; padding: 24px 14px 14px; }
  .mini-tiles div { min-height: 64px; font-size: .68rem; padding: 10px 8px 8px; }
  .hero__inner { padding-bottom: calc(var(--ramp) + 150px); }
  .phone { right: -2%; bottom: -8%; width: 34%; border-radius: 22px; padding: 5px; }
  .phone__screen { border-radius: 18px; padding: 14px 8px 8px; gap: 6px; }
  .p-title { font-size: .72rem; } .p-sub { font-size: .58rem; }
  .p-days span, .p-slots span { font-size: .56rem; } .p-days span b { font-size: .8rem; }
  .p-btn { font-size: .56rem; }
  .stoerer { left: -2%; top: -24px; font-size: .82rem; }
  .stoerer strong { font-size: 1.1rem; }
}

/* Rampe: leicht ansteigende weiße Fläche am unteren Rand des Motivs */
.rampe { position: relative; z-index: 4; height: calc(var(--ramp) + 70px); background: #fff; margin-top: calc(var(--ramp) * -1 - 70px); clip-path: polygon(0 var(--ramp), 100% 0, 100% 100%, 0 100%); }

/* Standards-Leiste: sitzt auf der Kante zwischen Motiv und Inhalt */
.proofbar-wrap { position: relative; z-index: 6; margin-top: -112px; }
.proofbar { display: grid; grid-template-columns: auto 1fr; gap: 16px 32px; align-items: center; background: #fff; border-radius: var(--r-l); padding: 22px 28px; box-shadow: 0 24px 60px rgba(6,55,60,.16), 0 2px 6px rgba(0,0,0,.05); }
.proofbar__label { margin: 0; max-width: 9ch; font: 600 .95rem/1.15 var(--font-cond); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.proofbar__list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; }
.proofbar__list li { display: flex; gap: 12px; align-items: center; font: 400 .95rem/1.3 var(--font-head); color: var(--muted); }
.proofbar__list strong { display: block; color: #000; font-weight: 600; font-size: 1.02rem; }
.proofbar__ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--allerblau); color: #fff; }
.proofbar__ic svg { width: 22px; height: 22px; }
@media (max-width: 1100px) { .proofbar { grid-template-columns: 1fr; } .proofbar__label { max-width: none; } .proofbar__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .proofbar { padding: 18px; } .proofbar__list { grid-template-columns: 1fr; gap: 12px; } .proofbar-wrap { margin-top: -70px; } }
/* Leistungen schließen direkt an die Leiste an */
.proofbar-wrap + .section { padding-top: clamp(48px, 6vw, 80px); }

/* ---------- Leistungen: Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: tile; }
@media (max-width: 1000px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } }
.tile { counter-increment: tile; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 14px; min-height: 21rem; padding: 26px 26px 24px; border-radius: var(--r-l); background: var(--t-tint); color: #000; transition: background-color .3s, color .3s; }
.tile::before { content: counter(tile, decimal-leading-zero) " /"; font: italic 500 1.05rem/1 var(--font-cond); letter-spacing: .06em; }
.tile h3 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); line-height: 1.05; margin: 0; padding-right: 60px; }
.tile p { font: 400 1.08rem/1.45 var(--font-head); margin: 0; max-width: 38ch; }
.tile .btn--round { position: absolute; top: 20px; right: 20px; --b-bg: transparent; --b-fg: currentColor; border-color: currentColor; pointer-events: none; }
.tile .btn--round svg { width: 20px; height: 20px; }
.tile:hover .btn--round { transform: rotate(-45deg); }
.tile:hover .btn--round svg { transform: none; }
.tile__chips { position: relative; z-index: 1; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.tile__chips a { text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; padding: 5px 13px 3px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255,255,255,.88); color: #000; font: 500 .98rem/1.2 var(--font-head); transition: background-color .15s, color .15s; }
.tile__chips a:hover { background: #000; color: #fff; }
.tile__chips .more { background: transparent; color: inherit; font: italic 600 1rem/1.2 var(--font-cond); letter-spacing: .03em; text-decoration: underline; text-underline-offset: 4px; }
.tile__chips .more:hover { background: transparent; color: inherit; text-decoration-thickness: 2px; }
.tile__open { position: absolute; inset: 0; z-index: 0; border: 0; background: transparent; cursor: pointer; border-radius: inherit; }
.tile__open:focus-visible { outline-offset: -5px; outline-color: currentColor; }
.tile > :not(.tile__open):not(.btn--round) { position: relative; z-index: 1; pointer-events: none; }
.tile > .btn--round { z-index: 1; }
.tile > .tile__chips { pointer-events: auto; }
.tile--hero { grid-column: span 2; background: var(--t); color: var(--t-ink); min-height: 25rem; }
.tile--hero h3 { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); }
.tile--hero p { font-size: 1.25rem; }
.tile:not(.tile--hero):not(.tile--cta):hover { background: var(--t); color: var(--t-ink); }
.tile--cta { background: #000; color: #fff; }
.tile--cta::before { content: "Ihr Thema fehlt?"; font-style: italic; }
.tile--cta .btn { pointer-events: auto; align-self: flex-start; margin-top: auto; }
@media (max-width: 1000px) { .tile--hero { grid-column: 1 / -1; } }

/* ---------- Versprechen als ein Satz ---------- */
.statement { padding-top: clamp(24px, 3vw, 40px); }
.statement__text { font: 600 clamp(1.75rem, 1.1rem + 2.5vw, 3.3rem)/1.22 var(--font-head); letter-spacing: -.015em; color: var(--anthrazit); max-width: 24em; margin: 0; text-wrap: pretty; }
.statement mark { color: inherit; background: linear-gradient(transparent 48%, var(--t-tint40) 48%, var(--t-tint40) 84%, transparent 84%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Farbflächen mit Rampen-Kanten ---------- */
.band { background: var(--t); color: var(--t-ink); }
.band--slant { clip-path: polygon(0 var(--ramp), 100% 0, 100% calc(100% - var(--ramp)), 0 100%); padding-block: calc(var(--space) + var(--ramp)); }
.band--gray { background: var(--surface); clip-path: polygon(0 var(--ramp), 100% 0, 100% 100%, 0 100%); padding-top: calc(var(--space) + var(--ramp)); }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; display: grid; gap: 12px; counter-reset: c; }
.checklist li { counter-increment: c; display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 22px 20px; border-radius: var(--r-m); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.22); transition: background-color .2s; }
.checklist li:hover { background: rgba(255,255,255,.12); }
.checklist li::before { content: counter(c, decimal-leading-zero); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: #000; font: 700 1.1rem var(--font-head); }
.checklist h3 { font-size: 1.25rem; margin: 2px 0 4px; }
.checklist p { margin: 0; font-size: 1rem; }

/* ---------- CD-Labor ---------- */
.lab { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .lab { grid-template-columns: 1fr; } }
.lab__group { margin-bottom: 22px; }
.lab__group h3 { font: 600 .95rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 10px; }
.swatches { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 6px 14px 6px 6px; border-radius: 999px; cursor: pointer; border: 2px solid var(--surface-2); background: #fff; font: 500 1rem/1 var(--font-head); color: #000; transition: border-color .15s, transform .2s var(--ease); }
.swatch i { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.swatch:hover { transform: translateY(-2px); border-color: var(--hellgrau); }
.swatch[aria-pressed="true"] { border-color: #000; box-shadow: 0 0 0 2px #000; }
.lab__readout { margin-top: 8px; border-radius: var(--r-m); background: var(--surface); padding: 20px 22px; display: grid; gap: 10px; }
.lab__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 500 1.05rem/1.3 var(--font-head); flex-wrap: wrap; }
.lab__row > span:first-child { color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 12px 2px; font: 600 .98rem/1.3 var(--font-cond); letter-spacing: .03em; white-space: nowrap; }
.badge--ok { background: #000; color: #fff; }
.badge--no { background: #fff; color: #000; border: 1.5px solid #000; }
.lab__note { font: 400 1rem/1.5 var(--font-head); color: var(--muted); margin: 6px 0 0; }

.lab__preview { --pv: var(--allerblau); --pv-ink: #fff; --pv-tint: #DAE4EC; border-radius: var(--r-l); overflow: hidden; background: #fff; box-shadow: var(--shadow-l); font-family: var(--font-head); color: #000; position: sticky; top: 104px; }
.pv-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--surface); }
.pv-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--hellgrau); }
.pv-bar span { margin-left: 10px; background: #fff; border-radius: 999px; padding: 2px 14px; font: 500 .8rem/1.6 var(--font-cond); color: var(--muted); }
.pv-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; font-weight: 700; }
.pv-head .mini-logo b { background: var(--pv); width: 24px; height: 24px; border-radius: 7px; transition: background-color .4s; }
.pv-head .mini-menu { font-size: .8rem; padding: 5px 14px 3px; }
.pv-hero { position: relative; overflow: hidden; background: var(--pv); color: var(--pv-ink); padding: 28px 22px 70px; transition: background-color .4s, color .4s; }
.pv-stage { position: relative; z-index: 1; background: #fff; color: #000; border-radius: 16px; padding: 20px 22px; max-width: 80%; }
.pv-stage .pill { font-size: .8rem; padding: 2px 10px 0; margin-bottom: 10px; border-color: var(--pv); transition: border-color .4s; }
.pv-stage .pill::before { background: var(--pv); }
.pv-stage strong { display: block; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); line-height: 1.04; margin-bottom: 14px; }
.pv-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--pv); color: var(--pv-ink); border-radius: 999px; padding: 9px 16px 7px; font-size: .9rem; font-weight: 600; transition: background-color .4s, color .4s; }
.pv-btn svg { width: 16px; height: 16px; }
.pv-stoerer { position: absolute; z-index: 2; right: 18px; bottom: 34px; background: var(--pv-signal, var(--neongruen)); color: var(--pv-signal-ink, #000); rotate: -4deg; font: italic 600 .85rem/1.05 var(--font-cond); text-transform: uppercase; padding: 8px 12px 6px; transition: background-color .4s, color .4s; }
.pv-ramp { position: relative; z-index: 1; background: #fff; margin-top: -30px; clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%); padding: 42px 22px 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pv-ramp div { border-radius: 12px; background: var(--pv-tint); padding: 14px 12px 12px; min-height: 86px; font-size: .88rem; font-weight: 600; line-height: 1.15; display: flex; flex-direction: column; justify-content: space-between; transition: background-color .4s; }
.pv-ramp svg { width: 20px; height: 20px; }

/* ---------- Formate ---------- */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .formats { grid-template-columns: 1fr; } }
.format { position: relative; border-radius: var(--r-l); background: #fff; padding: 30px 28px 34px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.format::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--t); clip-path: polygon(0 55%, 100% 0, 100% 100%, 0 100%); }
.format__tag { align-self: flex-start; background: var(--t); color: var(--t-ink); border-radius: 999px; padding: 4px 12px 2px; font: italic 600 .95rem/1.3 var(--font-cond); text-transform: uppercase; letter-spacing: .04em; }
.format h3 { font-size: 1.8rem; margin: 4px 0 0; }
.format > p { font: 400 1.1rem/1.45 var(--font-head); color: var(--muted); margin: 0; }
.format ul { list-style: none; display: grid; gap: 8px; margin: 6px 0 14px; }
.format li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font: 400 1.02rem/1.4 var(--font-head); }
.format li svg { width: 20px; height: 20px; margin-top: 2px; }
.format .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Vorgehen ---------- */
.process { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; }
.process li { position: relative; padding-right: 18px; }
.process .num { counter-increment: step; display: flex; align-items: center; height: 64px; margin-bottom: 20px; position: relative; }
.process .num::before { content: "0" counter(step); width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; position: relative; z-index: 1; background: var(--t); color: var(--t-ink); font: 700 1.35rem var(--font-head); }
.process .num::after { content: ""; position: absolute; left: 64px; right: 0; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, #000 0 6px, transparent 6px 12px); opacity: .35; }
.process li:last-child .num::after { display: none; }
.process h3 { font-size: 1.3rem; }
.process p { font: 400 1.02rem/1.45 var(--font-head); color: var(--muted); }
@media (max-width: 960px) {
  .process { grid-template-columns: 1fr; }
  .process li { display: grid; grid-template-columns: 64px 1fr; gap: 0 20px; padding: 0 0 22px; }
  .process .num { grid-row: span 2; margin: 0; }
  .process .num::after { left: 31px; right: auto; top: 64px; bottom: -22px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #000 0 6px, transparent 6px 12px); }
}

/* ---------- Zielgruppen ---------- */
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 960px) { .audiences { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .audiences { grid-template-columns: 1fr; } }
.audience { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: var(--r-m); background: #fff; box-shadow: var(--shadow); font: 600 1.15rem/1.2 var(--font-head); }
.audience .ic { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--t); color: var(--t-ink); }
.audience svg { width: 26px; height: 26px; }
.audience small { display: block; font: 400 .98rem/1.35 var(--font-head); color: var(--muted); margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: var(--r-m); box-shadow: var(--shadow); interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow-y: clip; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 70px 20px 26px; position: relative; font: 600 1.2rem/1.3 var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details > div { padding: 0 26px 24px; }
.faq details > div p:last-child { margin: 0; }

/* ---------- Kontakt ---------- */
.contact.band--slant { margin-top: calc(var(--ramp) * -1); clip-path: polygon(0 var(--ramp), 100% 0, 100% 100%, 0 100%); }
.contact .split { align-items: center; }
.contact-facts { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.contact-facts li { display: flex; gap: 14px; align-items: center; font: 500 1.2rem var(--font-head); }
.contact-facts svg { width: 26px; height: 26px; flex: none; }
.contact-facts a { color: inherit; }
.form-card { position: relative; background: #fff; color: #000; border-radius: var(--r-l); padding: clamp(22px, 4vw, 40px); box-shadow: 0 30px 70px rgba(0,0,0,.25); }
.form-card h3 { margin-bottom: 1rem; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
label { font: 600 1rem var(--font-head); }
label .opt { font: 400 .95rem var(--font-cond); color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { font: 400 1rem var(--font-head); color: #000; width: 100%; border: 2px solid var(--hellgrau); border-radius: 12px; padding: .75rem .9rem .6rem; background: #fff; }
input:focus, select:focus, textarea:focus { border-color: #000; outline: 3px solid var(--t-tint40); outline-offset: 0; }
textarea { min-height: 130px; resize: vertical; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin: 6px 0 20px; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: #000; }
.check label { font: 400 .98rem/1.45 var(--font-head); }
.check a { color: #000; }
.form-hint { font: 400 .92rem/1.4 var(--font-head); color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #EAEDD6; color: #000; display: none; font-family: var(--font-head); }
.form-status.is-visible { display: block; }
.error-text { color: #B00020; font: 600 .92rem var(--font-cond); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--anthrazit); color: rgba(255,255,255,.9); clip-path: polygon(0 var(--ramp), 100% 0, 100% 100%, 0 100%); margin-top: calc(var(--ramp) * -1); padding: calc(var(--ramp) + 64px) 0 28px; font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer .btn { color: var(--b-fg); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; padding-bottom: 44px; margin-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.16); }
.footer-top__kicker { margin: 0 0 8px; font: 600 .95rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .12em; color: var(--neongruen); }
.footer-top__title { margin: 0; max-width: 18ch; font: 600 clamp(1.8rem, 1.2rem + 2vw, 2.8rem)/1.05 var(--font-head); color: #fff; }
.footer-top__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.footer-contact { display: inline-flex; align-items: center; gap: 10px; font: 500 1.08rem/1.3 var(--font-head); text-decoration: none; }
.footer-contact:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-contact svg { width: 22px; height: 22px; }
body:has(#kontaktformular) .footer-top { display: none; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1.05fr 1.15fr .85fr .95fr; gap: 40px 32px; padding-bottom: 48px; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand__logo { display: block; width: min(250px, 100%); margin-bottom: 18px; }
.footer-brand__logo img { width: 100%; height: auto; }
.footer-brand > p { margin: 0 0 18px; max-width: 30ch; font: 400 1.02rem/1.5 var(--font-head); color: rgba(255,255,255,.82); }
.footer-brand__contact { gap: 10px !important; }
.site-footer h2 { font: 600 .95rem/1 var(--font-cond); color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; font: 400 1.02rem/1.35 var(--font-head); }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.f-topic { display: inline-flex; align-items: center; gap: 10px; }
.f-topic::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--t); flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); font: 500 .98rem/1.3 var(--font-cond); letter-spacing: .03em; }
.footer-bottom__legal { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-bottom__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.footer-badges { display: flex !important; flex-wrap: wrap; gap: 6px !important; font: 600 .85rem/1 var(--font-cond) !important; text-transform: uppercase; letter-spacing: .08em; }
.footer-badges li { border: 1.5px solid rgba(255,255,255,.35); border-radius: 999px; padding: 5px 10px 4px; }
.footer-bottom .disclaimer { color: rgba(255,255,255,.78); }
.totop { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 600 1rem/1 var(--font-head); }
.totop svg { width: 16px; height: 16px; rotate: -90deg; }
.totop:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Unterseiten ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--t); color: var(--t-ink); padding: clamp(48px, 7vw, 96px) 0 calc(clamp(48px, 7vw, 96px) + var(--ramp)); }
.page-hero::after { content: ""; position: absolute; z-index: -1; right: max(-6%, calc((100vw - var(--wrap)) / 2 - 60px)); top: 10%; height: 120%; aspect-ratio: 375/287; background: currentColor; opacity: .1; -webkit-mask: var(--wolf) center/contain no-repeat; mask: var(--wolf) center/contain no-repeat; }
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); margin: 0; max-width: 18ch; }
.page-ramp { height: calc(var(--ramp) + 2px); margin-top: calc(var(--ramp) * -1 - 1px); background: #fff; clip-path: polygon(0 100%, 100% 0, 100% 100%); position: relative; }
.prose { max-width: 780px; padding: clamp(32px, 5vw, 64px) 0 calc(var(--space) + var(--ramp)); }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); margin-top: 2.2rem; }
.prose .placeholder { background: var(--neongruen); padding: 0 .3em; border-radius: 3px; font: 600 1em var(--font-cond); }
.ls-text { font: 400 1.35rem/1.65 var(--font-head); }
.ls-text p { margin-bottom: 1.2em; }


/* ---------- Chips (Sprungmarken, Schnellzugriffe) ---------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 16px 4px; border-radius: 999px; border: 2px solid var(--surface-2); background: #fff; color: #000; text-decoration: none; font: 500 1.02rem/1.2 var(--font-head); transition: background-color .15s, border-color .15s, color .15s; }
.chip::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--t); flex: none; }
.chip:hover { background: var(--t); border-color: var(--t); color: var(--t-ink); }
.chip:hover::before { background: currentColor; }


/* ---------- Haltung: Barrierefreiheit von Grund auf ---------- */
.basis { border-radius: var(--r-l); background: var(--t-tint); padding: clamp(24px, 3vw, 40px); }
.basis__title { font-size: 1.35rem; margin-bottom: 18px; }
.basis__list { list-style: none; display: grid; gap: 14px; }
.basis__list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; font: 400 1.05rem/1.45 var(--font-head); }
.basis__list svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--t); color: var(--t-ink); }
.basis__list strong { display: block; font-weight: 600; font-size: 1.12rem; }
.basis__note { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--t-tint40); font: 400 1.05rem/1.45 var(--font-head); }

/* ---------- Gestaltung: Live-Demo verschachtelter Akkordeons ---------- */
.split--demo { align-items: center; }
.chips--static { margin-top: 8px; }
.chips--static .chip { cursor: default; }
.chips--static .chip:hover { background: #fff; border-color: var(--surface-2); color: #000; }
.chips--static .chip:hover::before { background: var(--t); }
.demo-hint { margin: 22px 0 0; font: italic 500 1.05rem/1.3 var(--font-cond); letter-spacing: .02em; color: var(--muted); }
.demo { background: #fff; border-radius: var(--r-l); box-shadow: var(--shadow-l); padding: 0 0 18px; overflow: hidden; font-family: var(--font-head); }
.demo__bar { margin: 0 0 14px; padding: 12px 20px; background: #000; color: #fff; font: 600 1rem/1.2 var(--font-head); display: flex; gap: 12px; align-items: center; }
.demo__bar span { font: italic 500 .9rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .06em; background: var(--t); color: var(--t-ink); padding: 4px 8px 3px; border-radius: 6px; }
.acc { margin: 0 18px 10px; border-radius: 14px; background: var(--surface); interpolate-size: allow-keywords; }
.acc::details-content { block-size: 0; overflow-y: clip; transition: block-size .3s var(--ease), content-visibility .3s allow-discrete; }
.acc[open]::details-content { block-size: auto; }
.acc > summary { list-style: none; cursor: pointer; position: relative; padding: 14px 52px 12px 18px; font: 600 1.1rem/1.3 var(--font-head); }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: ""; position: absolute; right: 14px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--t) 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'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .3s var(--ease); }
.acc[open] > summary::after { transform: rotate(135deg); }
.acc__body { padding: 0 18px 16px; font-size: 1rem; line-height: 1.5; }
.acc__body p { margin: 0 0 12px; }
.acc--inner { margin: 0 0 10px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--surface-2); }
.acc--inner > summary { font-size: 1rem; }
.acc--inner > summary::after { background-color: var(--t-tint40); }
.cols { display: grid; gap: 10px; margin-bottom: 10px; }
.cols--2 { grid-template-columns: 1fr 1fr; }
.cols--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 520px) { .cols--2, .cols--3 { grid-template-columns: 1fr; } }
.demo-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.demo-table th, .demo-table td { background: #fff; }
.demo-table caption { text-align: left; font: 600 .85rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .08em; padding: 0 0 8px; color: var(--muted); }
.demo-table th, .demo-table td { padding: 8px 12px; text-align: left; border-top: 1px solid var(--surface-2); }
.demo-table th { font-weight: 600; }
.demo-card { display: flex; flex-direction: column; gap: 3px; background: #fff; border-radius: 12px; padding: 14px 14px 12px; font-size: .95rem; }
.demo-card strong { font-size: 1.05rem; }
.demo-btn { align-self: flex-start; margin-top: 8px; background: #000; color: #fff; border-radius: 999px; padding: 6px 14px 4px; font-weight: 600; font-size: .88rem; }
.demo-tile { background: var(--t-tint); border-radius: 12px; padding: 12px; font-size: .9rem; line-height: 1.3; }
.demo-tile strong { display: block; font-size: 1rem; }
@media print { .acc::details-content { block-size: auto; content-visibility: visible; } }

/* ---------- Dokumente: Ablauf und Referenz ---------- */
.pipeline { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.pipeline li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 20px 20px; border-radius: var(--r-m); background: var(--surface); }
.pipeline li:not(:last-child)::after { content: ""; position: absolute; z-index: 1; right: -15px; top: 30px; width: 18px; height: 18px; border-radius: 50%; background: var(--t) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center/12px no-repeat; }
.pipeline__no { font: italic 600 1rem/1 var(--font-cond); letter-spacing: .06em; color: var(--muted); }
.pipeline h3 { font-size: 1.3rem; margin: 0; }
.pipeline p { margin: 0; font: 400 1rem/1.45 var(--font-head); color: var(--text); }
.pipeline__tag { margin-top: auto; align-self: flex-start; background: var(--t); color: var(--t-ink); border-radius: 999px; padding: 4px 11px 2px; font: italic 600 .88rem/1.3 var(--font-cond); text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 1000px) {
  .pipeline { grid-template-columns: 1fr; }
  .pipeline li:not(:last-child)::after { right: auto; left: 28px; top: auto; bottom: -15px; transform: rotate(90deg); }
}
.dok { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px; margin-top: 16px; align-items: start; }
@media (max-width: 900px) { .dok { grid-template-columns: 1fr; } }
.dok__honest { border-radius: var(--r-l); border: 2px solid var(--surface-2); padding: clamp(24px, 3vw, 36px); }
.dok__honest h3 { font-size: 1.35rem; }
.dok__honest p { margin: 0; font: 400 1.08rem/1.5 var(--font-head); }
.dok__ref { position: relative; overflow: hidden; border-radius: var(--r-l); padding: clamp(26px, 3.4vw, 44px); }
.dok__label { margin: 0 0 10px; font: italic 600 1rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .06em; color: var(--neongruen); }
.dok__ref h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.08; max-width: 22ch; }
.dok__ref > p { font: 400 1.1rem/1.5 var(--font-head); max-width: 52ch; }
.dok__ref ul { list-style: none; display: grid; gap: 8px; margin: 6px 0 24px; }
.dok__ref li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font: 400 1.04rem/1.4 var(--font-head); }
.dok__ref li svg { width: 20px; height: 20px; margin-top: 2px; color: var(--neongruen); }


/* ---------- Relaunch ohne 404 ---------- */
.pipeline--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.band--gray .pipeline li { background: #fff; }
@media (max-width: 1000px) { .pipeline--4 { grid-template-columns: 1fr; } }
.redirects { margin-top: 16px; border-radius: var(--r-l); background: #fff; box-shadow: var(--shadow); padding: clamp(20px, 3vw, 36px); }
.redirects__head { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 16px; }
.redirects__title { margin: 0; font: 600 1.35rem/1.2 var(--font-head); }
.redirects__title span { display: block; font: italic 500 .95rem/1.3 var(--font-cond); letter-spacing: .04em; color: var(--muted); }
.redirects__stats { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; }
.redirects__stats li { background: var(--t-tint); border-radius: 999px; padding: 6px 14px 4px; font: 500 1rem/1.2 var(--font-head); }
.redirects__stats strong { font-weight: 700; }
.redirects__scroll { overflow-x: auto; border-radius: 12px; border: 1.5px solid var(--surface-2); }
.redirects__table { width: 100%; min-width: 760px; border-collapse: collapse; font: 400 .98rem/1.35 var(--font-head); }
.redirects__table th { text-align: left; font: 600 .9rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 14px 10px; background: var(--surface); }
.redirects__table td { padding: 11px 14px 9px; border-top: 1px solid var(--surface-2); vertical-align: middle; }
.redirects__table td:nth-child(2) code::before { content: "→ "; color: var(--t); font-weight: 700; }
.redirects__table code { font: 500 .92rem/1.3 ui-monospace, "Cascadia Mono", Consolas, monospace; word-break: break-all; }
.status { display: inline-block; background: var(--rasengruen); color: #000; border-radius: 6px; padding: 3px 8px 2px; font: 700 .85rem/1.2 var(--font-head); }
.redirects__note { margin: 18px 0 20px; max-width: 70ch; font: 400 1.05rem/1.5 var(--font-head); color: var(--muted); }


/* ---------- Plattform: viele Auftritte, eine Instanz ---------- */
.split--platform { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; }
.compare { margin: 6px 0 22px; border-radius: var(--r-m); background: #fff; overflow: hidden; font-family: var(--font-head); }
.compare > div { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 12px; padding: 11px 18px 9px; border-top: 1px solid var(--surface-2); align-items: baseline; }
.compare > div:first-child { border-top: 0; }
.compare dt { font-weight: 600; font-size: 1rem; }
.compare dd { margin: 0; font-size: 1rem; color: var(--muted); }
.compare dd:last-child { color: #000; font-weight: 600; display: flex; gap: 8px; }
.compare dd:last-child::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: var(--rasengruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/11px no-repeat; }
.compare__head { background: var(--surface); }
.compare__head dd { font: 600 .9rem/1 var(--font-cond) !important; text-transform: uppercase; letter-spacing: .08em; color: var(--muted) !important; }
.compare__head dd:last-child::before { display: none; }
@media (max-width: 520px) { .compare > div { grid-template-columns: 1fr 1fr; } .compare dt { grid-column: 1 / -1; } }
.platform-note { margin: 0 0 22px; font: 400 1.05rem/1.5 var(--font-head); }
.platform-note a { color: inherit; }

.platform { margin: 0; }
.platform__sites { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; position: relative; padding-bottom: 26px; }
.platform__sites::after { content: ""; position: absolute; left: 16%; right: 16%; bottom: 0; height: 26px; border-left: 2px dashed var(--hellgrau); border-right: 2px dashed var(--hellgrau); }
.site { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); min-height: 150px; }
.site::after { content: ""; position: absolute; left: 50%; bottom: -26px; height: 26px; border-left: 2px dashed var(--hellgrau); }
.site:nth-child(-n+3)::after { display: none; }
.site__url { padding: 7px 10px 5px; background: var(--surface); font: 500 .82rem/1.3 var(--font-cond); letter-spacing: .03em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site__hero { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px 16px; background: var(--t); color: var(--t-ink); }
.site__hero small { font: 600 .8rem/1.2 var(--font-cond); text-transform: uppercase; letter-spacing: .08em; }
.site__hero strong { font: 600 1.02rem/1.1 var(--font-head); }
.site__lines { display: grid; gap: 6px; padding: 12px; }
.site__lines i { display: block; height: 6px; border-radius: 3px; background: var(--surface-2); }
.site__lines i:last-child { width: 60%; }
/* eigene Themes je Auftritt – gleiche Technik, anderer Charakter */
.theme-museum .site__hero strong { font: italic 400 1.15rem/1.15 var(--font-body); }
.theme-museum .site__hero { border-radius: 0; }
.theme-baeder .site__hero strong { font-size: 1.1rem; }
.theme-baeder .site__lines i { border-radius: 999px; background: var(--t-tint); }
.theme-kita .site__hero { border-radius: 0 0 22px 22px; }
.theme-kita .site__hero strong { font-weight: 700; }
.theme-kampagne .site__hero strong { font: italic 600 1.25rem/1 var(--font-cond); text-transform: uppercase; }
.theme-kampagne .site__hero { clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); padding-bottom: 22px; }
.theme-wirtschaft .site__hero strong { font: 500 1.05rem/1.1 var(--font-cond); text-transform: uppercase; letter-spacing: .04em; }
.theme-wirtschaft .site__lines i { border-radius: 0; }
.platform__base { border-radius: var(--r-m); background: var(--t); color: var(--t-ink); padding: 18px 20px 16px; }
.platform__base-title { margin: 0 0 12px; font: 600 1.3rem/1.15 var(--font-head); }
.platform__base-title span { display: block; font: italic 500 1rem/1.3 var(--font-cond); letter-spacing: .03em; opacity: .9; }
.platform__base ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.platform__base li { border: 1.5px solid rgba(255,255,255,.45); border-radius: 999px; padding: 4px 12px 2px; font: 500 .92rem/1.3 var(--font-head); }
.platform figcaption { margin-top: 12px; font: italic 500 .98rem/1.35 var(--font-cond); letter-spacing: .02em; color: var(--muted); }
@media (max-width: 900px) { .split--platform { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .platform__sites { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site:nth-child(-n+3)::after { display: block; }
  .site:nth-child(-n+4)::after { display: none; }
}


/* ---------- Plakatwand: Plakatsystem des CD (DIN-Hochformat) ---------- */
.posterwall { overflow: hidden; }
.posterwall__tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.posterwall__nav { display: flex; gap: 8px; }
.posterwall__nav .btn--round { width: 48px; height: 48px; }
.posterwall .btn--ghost[aria-pressed="true"] { --b-bg: #000; --b-fg: #fff; border-color: #000; }
.posterwall__scroller { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); padding: 8px 0 28px; scrollbar-width: thin; }
.posterwall__scroller:focus-visible { outline-offset: -4px; }
.posterwall__list { list-style: none; display: flex; gap: 20px; width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.poster { --p-w: clamp(250px, 24vw, 320px); position: relative; flex: none; width: var(--p-w); aspect-ratio: 1 / 1.414; scroll-snap-align: start; background: var(--t); color: #000; overflow: hidden; box-shadow: var(--shadow-l); container-type: inline-size; }
.poster__motif { position: absolute; inset: 0; }
.poster__motif svg { width: 100%; height: 100%; display: block; }
.motif-wolf .poster__motif { background: var(--p2); -webkit-mask: var(--wolf) 120% 120% / 95% no-repeat; mask: var(--wolf) 120% 120% / 95% no-repeat; }
.motif-wolf .poster__motif svg { display: none; }
/* Bühne: oberes Drittel, halbtransparent (Deckkraft ≥ 50 %) */
.poster__buehne { position: absolute; left: 0; right: 0; top: 7%; height: 27%; background: rgba(255,255,255,.88); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4cqi; padding: 0 7cqi; text-align: center; }
.poster__url { font: 600 3.6cqi/1 var(--font-head); border: 1.5px solid currentColor; border-radius: 999px; padding: 1.2cqi 3cqi .8cqi; }
.poster__punch { margin: 0; font: 600 9.4cqi/1.02 var(--font-head); letter-spacing: -.01em; text-wrap: balance; }
/* Störer: Signalfarbe, kursiv, im unteren Drittel linksbündig */
.poster__stoerer { position: absolute; left: 7cqi; bottom: 27%; margin: 0; background: var(--neongruen); color: #000; rotate: -4deg; font: italic 600 4.6cqi/1.05 var(--font-cond); text-transform: uppercase; padding: 2.4cqi 3.4cqi 2cqi; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
/* Rampe: leicht ansteigend, Copy links, Wort-Bildmarke (Version B) rechts */
.poster__rampe { position: absolute; left: 0; right: 0; bottom: 0; height: 21%; background: #fff; clip-path: polygon(0 26%, 100% 0, 100% 100%, 0 100%); display: flex; align-items: flex-end; justify-content: space-between; gap: 4cqi; padding: 0 6cqi 6cqi; }
.poster__rampe p { margin: 0; flex: 1; font: 400 3.6cqi/1.3 var(--font-head); }
.poster__logo { flex: none; background: var(--t); padding: 2cqi 2.6cqi; border-radius: 1.6cqi; }
.poster__logo img { width: 30cqi; height: auto; display: block; }

/* Gestaltungsraster einblenden */
.show-grid [data-label] { outline: 2px dashed #E6007E; outline-offset: -2px; }
.show-grid [data-label]::after {
  content: attr(data-label); position: absolute; z-index: 5; left: 4px; top: 4px; background: #E6007E; color: #fff;
  font: 600 11px/1 var(--font-head); padding: 3px 6px 2px; border-radius: 3px; rotate: 0deg; text-transform: none; letter-spacing: 0; font-style: normal;
}
.show-grid .poster__url, .show-grid .poster__punch, .show-grid .poster__logo, .show-grid .poster__stoerer { position: relative; }
.show-grid .poster__stoerer { position: absolute; }
.show-grid .poster__rampe::after { top: auto; bottom: 4px; }
.show-grid .poster::before { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(transparent calc(33.33% - 1px), rgba(230,0,126,.7) calc(33.33% - 1px), rgba(230,0,126,.7) 33.33%, transparent 33.33%, transparent calc(66.66% - 1px), rgba(230,0,126,.7) calc(66.66% - 1px), rgba(230,0,126,.7) 66.66%, transparent 66.66%); }
@media (prefers-reduced-motion: no-preference) { .poster { transition: transform .35s var(--ease); } .poster:hover { transform: translateY(-6px) rotate(-.6deg); } }


/* ---------- Hero-Mockup: abheben vom Allerblau ---------- */
.hero .browser { outline: 12px solid rgba(255,255,255,.22); outline-offset: 0; }
.hero .mini-hero { background: var(--rasengruen); }
.hero .mini-logo b, .hero .mini-search b { background: var(--rasengruen); }
.hero .mini-search b { background: #000; }
.hero .mini-pill { border-color: #000; }
.hero .mini-tiles div { background: var(--surface); }
.hero .phone { outline: 10px solid rgba(255,255,255,.22); }

/* ---------- Leistungen: CTA-Kachel als Band über die ganze Breite ---------- */
.tile--cta { grid-column: 1 / -1; min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.tile--cta::before { flex-basis: 100%; }
.tile--cta h3 { padding-right: 0; }
.tile--cta p { flex: 1 1 320px; }
.tile--cta .btn { margin-top: 0; }

/* ---------- Schnittstellen, KI & Apps ---------- */
.hub { margin: 0 0 16px; display: grid; grid-template-columns: 1fr minmax(220px, .8fr) 1fr; gap: 0; align-items: center; }
.hub__label { margin: 0 0 12px; font: 600 .95rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.8); }
.hub__col ul { list-style: none; display: grid; gap: 8px; }
.hub__col li { position: relative; border: 1.5px solid rgba(255,255,255,.3); border-radius: 12px; padding: 11px 16px 9px; font: 500 1.02rem/1.3 var(--font-head); }
.hub__col li::after { content: ""; position: absolute; top: 50%; right: -32px; width: 32px; border-top: 2px dashed rgba(255,255,255,.35); }
.hub__col--out { padding-left: 32px; }
.hub__col--out li::after { right: auto; left: -34px; }
.hub__col:first-child { padding-right: 32px; }
.hub__core { position: relative; z-index: 1; border-radius: var(--r-l); background: #fff; color: #000; padding: 28px 22px; text-align: center; box-shadow: 0 0 0 10px rgba(255,255,255,.12); }
.hub__core .hub__label { color: var(--muted); }
.hub__core strong { display: block; font: 600 clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem)/1.05 var(--font-head); margin-bottom: 8px; }
.hub__core span { font: italic 500 1rem/1.3 var(--font-cond); letter-spacing: .03em; color: var(--muted); }
.hub__col--out li:nth-child(4) { background: var(--neongruen); border-color: var(--neongruen); color: #000; }
@media (max-width: 900px) {
  .hub { grid-template-columns: 1fr; gap: 28px; }
  .hub__col:first-child, .hub__col--out { padding: 0; }
  .hub__col li::after { display: none; }
  .hub__core::before, .hub__core::after { content: ""; position: absolute; left: 50%; height: 28px; border-left: 2px dashed rgba(255,255,255,.35); }
  .hub__core::before { top: -38px; } .hub__core::after { bottom: -38px; }
}
.caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 36px 0 16px; }
@media (max-width: 1000px) { .caps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } }
.cap { border-radius: var(--r-m); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); padding: 22px 22px 20px; }
.cap h3 { font-size: 1.45rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.cap h3::before { content: ""; width: 26px; height: 9px; background: var(--neongruen); clip-path: polygon(0 45%, 100% 0, 100% 100%, 0 100%); flex: none; }
.cap p { margin: 0; font: 400 1.02rem/1.5 var(--font-head); }
.mcp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; border-radius: var(--r-l); background: #fff; color: #000; padding: clamp(24px, 3.4vw, 44px); }
@media (max-width: 900px) { .mcp { grid-template-columns: 1fr; } }
.mcp__label { margin: 0 0 10px; font: italic 600 1rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mcp h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.08; }
.mcp__text > p:not(.mcp__label) { font: 400 1.08rem/1.5 var(--font-head); color: var(--muted); }
.mcp .btn--light { --b-bg: #000; --b-fg: #fff; }
.mcp .btn--light:hover { --b-bg: var(--allerblau); border-color: var(--allerblau); }
.chat { display: grid; gap: 10px; border-radius: var(--r-m); background: var(--surface); padding: 18px; font-family: var(--font-head); }
.chat p { margin: 0; }
.chat__msg { max-width: 88%; border-radius: 16px; padding: 12px 16px 10px; font-size: 1.02rem; line-height: 1.45; }
.chat__msg--user { justify-self: end; background: #000; color: #fff; border-bottom-right-radius: 4px; }
.chat__msg--bot { background: #fff; border-bottom-left-radius: 4px; box-shadow: var(--shadow); }
.chat__msg small { display: block; margin-top: 6px; font: 500 .92rem/1.3 var(--font-cond); color: var(--muted); letter-spacing: .02em; }
.chat__tool { background: #fff; border-radius: 8px; padding: 9px 12px 8px; box-shadow: inset 0 0 0 1.5px var(--surface-2); }
.chat__tool span { display: flex; align-items: center; gap: 6px; font: 600 .82rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 5px; }
.chat__tool span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--neongruen); box-shadow: 0 0 0 2px #000; }
.chat__tool code { font: 500 .88rem/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; word-break: break-word; }

/* ---------- Rollen: umsetzen, gemeinsam, beraten ---------- */
.roles { margin-top: 16px; border-radius: var(--r-l); background: #fff; box-shadow: var(--shadow); padding: clamp(22px, 3vw, 34px); display: grid; grid-template-columns: auto 1fr auto; gap: 18px 32px; align-items: center; }
.roles__title { margin: 0; font: 600 1.3rem/1.15 var(--font-head); max-width: 9ch; }
.roles__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: r; }
.roles__list li { --rc: var(--allerblau); counter-increment: r; display: grid; gap: 4px; }
.roles__list li:nth-child(2) { --rc: var(--rasengruen); }
.roles__list li:nth-child(3) { --rc: var(--sonne); }
.roles__list strong::before { content: ""; display: block; width: 34px; height: 11px; margin-bottom: 8px; background: var(--rc); clip-path: polygon(0 45%, 100% 0, 100% 100%, 0 100%); }
.roles__list strong { font: 600 1.1rem/1.2 var(--font-head); }
.roles__list span { font: 400 .98rem/1.4 var(--font-head); color: var(--muted); }
@media (max-width: 1000px) { .roles { grid-template-columns: 1fr; } .roles__title { max-width: none; } .roles .btn { justify-self: start; } }
@media (max-width: 640px) { .roles__list { grid-template-columns: 1fr; } }


/* ---------- Wirtschaftsstandort ---------- */
.split--standort { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
@media (max-width: 900px) { .split--standort { grid-template-columns: 1fr; } }
.standort-list { list-style: none; display: grid; gap: 12px; margin: 8px 0 22px; }
.standort-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; font: 400 1.08rem/1.45 var(--font-head); }
.standort-list svg { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--t); color: #000; }
.standort-list strong { font-weight: 600; }
.standort-home { margin: 0 0 24px; font: italic 500 1.12rem/1.4 var(--font-cond); letter-spacing: .02em; max-width: 52ch; }
.flaechen { margin: 0; position: relative; }
.flaechen__map { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 600 / 420; box-shadow: var(--shadow); }
.flaechen__map svg { width: 100%; height: 100%; display: block; }
.flaechen__tag { position: absolute; background: #fff; border-radius: 999px; padding: 3px 10px 2px; font: 600 .85rem/1.3 var(--font-head); box-shadow: var(--shadow); }
.flaechen__card { position: relative; z-index: 1; width: min(360px, 88%); margin: -120px 0 0 auto; margin-right: -16px; background: #fff; border-radius: var(--r-m); padding: 20px 22px 18px; box-shadow: var(--shadow-l); font-family: var(--font-head); }
.flaechen__label { margin: 0 0 6px; font: italic 600 .92rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: 8px; }
.flaechen__label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rasengruen); box-shadow: 0 0 0 3px #EAEDD6; }
.flaechen__card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.flaechen__card dl { margin: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.flaechen__card dt { font: 600 .82rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 3px; }
.flaechen__card dd { margin: 0; font-weight: 600; font-size: 1.05rem; }
.flaechen__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.flaechen__btn { background: #000; color: #fff; border-radius: 999px; padding: 7px 14px 5px; font-size: .9rem; font-weight: 600; }
.flaechen__btn--ghost { background: transparent; color: #000; box-shadow: inset 0 0 0 2px #000; }
.flaechen figcaption { margin-top: 14px; font: italic 500 .98rem/1.35 var(--font-cond); letter-spacing: .02em; color: var(--muted); }
@media (max-width: 560px) { .flaechen__card { margin: -40px auto 0; width: 94%; } .flaechen__tag { display: none; } }

/* Kachelraster mit neun Bereichen: CTA füllt die letzte Reihe */
@media (min-width: 1001px) { .tile--cta { grid-column: span 2; } }


/* ---------- Erfahrung aus LEADER-Regionen ---------- */
.split--leader { align-items: center; }
.leader-card { border-radius: var(--r-l); background: var(--t-tint); padding: clamp(24px, 3vw, 40px); }
.leader-card__title { margin: 0 0 18px; font: 600 1.35rem/1.2 var(--font-head); }
.leader-card__list { list-style: none; display: grid; gap: 14px; counter-reset: l; }
.leader-card__list li { counter-increment: l; display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; }
.leader-card__list li::before { content: counter(l, decimal-leading-zero); grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--t); color: #000; font: 700 1rem var(--font-head); }
.leader-card__list strong { font: 600 1.12rem/1.25 var(--font-head); }
.leader-card__list span { font: 400 1rem/1.45 var(--font-head); color: var(--anthrazit); }


/* ---------- Referenzen ---------- */
.refs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .refs { grid-template-columns: 1fr; } }
.ref { display: flex; flex-direction: column; gap: 10px; border-radius: var(--r-l); background: #fff; padding: 0 26px 24px; box-shadow: var(--shadow); overflow: hidden; }
.ref::before { content: ""; display: block; height: 14px; margin: 0 -26px 14px; background: var(--t); clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%); }
.ref__meta { margin: 0; font: 600 .9rem/1.3 var(--font-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ref h3 { font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); margin: 0; }
.ref > p:not(.ref__meta):not(.ref__role) { margin: 0; font: 400 1.05rem/1.5 var(--font-head); }
.ref__role { margin: 4px 0 6px; font: 600 1.02rem/1.3 var(--font-head); }
.ref__role span { display: block; font: 600 .82rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.ref__link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; color: #000; font: 600 1rem/1.3 var(--font-head); text-decoration: underline; text-underline-offset: 4px; }
.ref__link svg { width: 16px; height: 16px; }
.standort-home a { color: inherit; }

/* ---------- Relaunch als dunkles Band direkt nach den Leistungen ---------- */
.band--flatbottom { clip-path: polygon(0 var(--ramp), 100% 0, 100% 100%, 0 100%); padding-bottom: var(--space); }
.band--flatbottom + .band--gray { margin-top: calc(var(--ramp) * -1); }
.relaunch-band .section-head .lead + .lead { margin-top: -6px; }
.relaunch-band .pipeline li { background: #fff; color: #000; }
.relaunch-band .pipeline li:not(:last-child)::after { box-shadow: 0 0 0 3px #fff; }
.relaunch-band .pipeline__no { color: var(--muted); }
.relaunch-band .redirects { color: #000; }
.relaunch-band .redirects__stats li:last-child { background: var(--neongruen); }


/* ---------- Funktionen & Selbstcheck ---------- */
.feats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; } }
.feat { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 16px; border-radius: var(--r-l); background: var(--surface); transition: background-color .2s, box-shadow .2s; }
.feat.is-done { background: var(--t-tint); box-shadow: inset 0 0 0 2px var(--t); }
.feat__demo { height: 128px; border-radius: 14px; background: #fff; padding: 14px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: .82rem; color: #000; margin-bottom: 6px; }
.feat__std { align-self: flex-start; margin: 0 4px; font: italic 600 .85rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.feat h3 { margin: 0 4px; font-size: 1.15rem; line-height: 1.2; }
.feat > p { margin: 0 4px; font: 400 .98rem/1.45 var(--font-head); color: var(--muted); }
.feat__check { margin: auto 4px 0; padding-top: 10px; display: flex; align-items: center; gap: 10px; font: 600 .95rem/1.2 var(--font-head); cursor: pointer; }
.feat__check input { width: 22px; height: 22px; margin: 0; accent-color: var(--t); flex: none; }

/* Mini-Vorschauen */
.d-search { width: 100%; display: grid; gap: 4px; }
.d-input { display: flex; align-items: center; border: 2px solid var(--t); border-radius: 999px; padding: 4px 12px; font-weight: 600; }
.d-input i { width: 1.5px; height: 14px; background: #000; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.d-sug { display: flex; justify-content: space-between; gap: 8px; padding: 5px 10px; border-radius: 8px; background: var(--surface); }
.d-sug:first-of-type { background: var(--t-tint); }
.d-sug small { color: var(--muted); }
.d-stack { width: 100%; display: grid; gap: 6px; }
.d-stack strong { font-size: .95rem; }
.d-btn { display: block; text-align: center; border-radius: 999px; background: #000; color: #fff; padding: 6px 10px 5px; font-weight: 600; }
.d-btn--ghost { background: transparent; color: #000; box-shadow: inset 0 0 0 2px #000; }
.d-cookie { width: 100%; display: grid; gap: 8px; justify-items: center; }
.d-banner { position: relative; width: 100%; border-radius: 8px; background: var(--surface); padding: 6px 8px; color: var(--muted); font-size: .76rem; display: flex; justify-content: space-between; gap: 6px; }
.d-banner::after { content: ""; position: absolute; left: 4%; right: 4%; top: 50%; height: 2.5px; background: #B00020; transform: rotate(-6deg); }
.d-banner i { font-style: normal; font-weight: 700; }
.d-cookie strong { background: var(--rasengruen); border-radius: 999px; padding: 4px 12px 3px; }
.d-toggles { width: 100%; display: grid; gap: 6px; }
.d-toggles span { display: flex; justify-content: space-between; align-items: center; }
.d-toggles i { width: 30px; height: 17px; border-radius: 999px; background: var(--hellgrau); position: relative; }
.d-toggles i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.d-toggles i.on { background: var(--t); }
.d-toggles i.on::after { left: 15px; }
.d-tools { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.d-tools span { border-radius: 999px; box-shadow: inset 0 0 0 2px #000; padding: 6px 10px 5px; font-weight: 600; }
.d-toc { width: 100%; display: grid; gap: 3px; }
.d-toc small { font: 600 .7rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 3px; }
.d-toc span { padding: 3px 0 3px 10px; border-left: 2px solid var(--surface-2); }
.d-toc span.on { border-left-color: var(--t); font-weight: 700; }
.d-contact { width: 100%; display: grid; gap: 3px; }
.d-contact small { color: var(--muted); }
.d-contact span { display: flex; gap: 6px; margin-top: 6px; }
.d-contact i { font-style: normal; flex: 1; text-align: center; border-radius: 999px; background: var(--t); color: #fff; padding: 5px 0 4px; font-weight: 600; }
.d-pills { display: grid; gap: 6px; }
.d-pills span { display: flex; align-items: center; gap: 8px; border-radius: 999px; background: #000; color: #fff; padding: 6px 12px 5px; font-weight: 600; }
.d-pills svg { width: 16px; height: 16px; }
.d-crumb { width: 100%; display: grid; gap: 5px; }
.d-crumb small { color: var(--muted); }
.d-crumb strong { font-size: 1rem; }
.d-crumb em, .d-crumb span em { font: 700 .66rem/1 var(--font-cond); font-style: normal; background: var(--t); color: #fff; border-radius: 4px; padding: 2px 4px 1px; margin-right: 6px; vertical-align: 2px; }
.d-date { display: grid; gap: 2px; text-align: center; }
.d-date small { color: var(--muted); }
.d-date strong { font-size: 1.05rem; }
.d-redirect { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; }
.d-redirect code { font: 500 .72rem/1.2 ui-monospace, Consolas, monospace; background: var(--surface); border-radius: 6px; padding: 4px 6px; word-break: break-all; }
.d-redirect span { font-weight: 700; color: var(--muted); }
.d-redirect strong { grid-column: 1 / -1; justify-self: center; background: var(--neongruen); border-radius: 999px; padding: 3px 12px 2px; }
.d-builder { width: 100%; display: grid; gap: 5px; }
.d-builder span { border-radius: 8px; background: var(--surface); padding: 6px 10px; font-weight: 600; }
.d-builder .drag { background: var(--t-tint); box-shadow: 0 6px 14px rgba(0,0,0,.12); transform: translateX(8px) rotate(-2deg); }
@media (prefers-reduced-motion: reduce) { .d-input i { animation: none; } }

.selfcheck { position: sticky; bottom: 16px; z-index: 5; margin-top: 18px; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "score bar btn" "score msg btn"; gap: 6px 24px; align-items: center; border-radius: var(--r-l); background: #000; color: #fff; padding: 16px 20px 16px 24px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.selfcheck__score { grid-area: score; display: grid; gap: 2px; }
.selfcheck__score span { font: 600 .82rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.75); }
.selfcheck__score strong { font: 600 1.6rem/1 var(--font-head); }
.selfcheck__bar { grid-area: bar; height: 8px; border-radius: 999px; background: rgba(255,255,255,.18); overflow: hidden; }
.selfcheck__bar i { display: block; height: 100%; width: 100%; background: var(--neongruen); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.selfcheck__msg { grid-area: msg; margin: 0; font: 400 1rem/1.35 var(--font-head); }
.selfcheck .btn { grid-area: btn; }
.selfcheck .btn--theme:hover { --b-bg: #fff; --b-fg: #000; border-color: #fff; }
@media (max-width: 760px) {
  .selfcheck { grid-template-columns: 1fr; grid-template-areas: "score" "bar" "msg" "btn"; position: static; }
  .selfcheck .btn { justify-self: start; }
}

/* ---------- Leistungsseiten ---------- */
.lp-hero .lead { max-width: 46ch; margin-bottom: 30px; }
.lp-hero h1 { max-width: 16ch; margin-bottom: .35em; }
.lp { padding-bottom: var(--space); }
.lp__intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 64px; align-items: start; padding: clamp(32px, 5vw, 64px) 0 clamp(24px, 3vw, 40px); }
.lp__text { margin: 0; font: 400 clamp(1.15rem, 1rem + .5vw, 1.4rem)/1.5 var(--font-head); }
.lp__intro .chips { justify-content: flex-start; }
@media (max-width: 900px) { .lp__intro { grid-template-columns: 1fr; } }
.lp__section { padding-top: clamp(40px, 5vw, 72px); scroll-margin-top: 100px; }
.lp__section h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); display: flex; align-items: center; gap: 16px; }
.lp__section h2::before { content: ""; width: 44px; height: 14px; background: var(--t); clip-path: polygon(0 45%, 100% 0, 100% 100%, 0 100%); flex: none; }
.lp__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .lp__grid { grid-template-columns: 1fr; } }
.service { scroll-margin-top: 110px; display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 24px; border-radius: var(--r-l); background: var(--t-tint); color: #000; }
.service h3 { font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); margin: 0; }
.service > p { margin: 0; font: 400 1.08rem/1.5 var(--font-head); }
.service__label { margin-top: 8px !important; font: 600 .95rem/1 var(--font-cond) !important; text-transform: uppercase; letter-spacing: .1em; }
.service ul { list-style: none; display: grid; gap: 6px; margin-bottom: 8px; }
.service li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font: 400 1.02rem/1.4 var(--font-head); }
.service li svg { width: 18px; height: 18px; margin-top: 3px; }
.service__ask { align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 8px; border: 2px solid #000; border-radius: 999px; background: transparent; padding: 9px 16px 7px; font: 600 1rem/1 var(--font-head); cursor: pointer; transition: background-color .15s, color .15s; }
.service__ask svg { width: 16px; height: 16px; }
.service__ask:hover { background: #000; color: #fff; }
.service:target { box-shadow: 0 0 0 4px var(--t); animation: target-in 1.2s var(--ease); }
@keyframes target-in { from { box-shadow: 0 0 0 14px var(--t-tint40); } }
.lp-more { padding-top: 0; }
.lp-others { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 900px) { .lp-others { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .lp-others { grid-template-columns: 1fr; } }
.lp-other { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 16px 20px; border-radius: var(--r-m); background: var(--t); color: var(--t-ink); text-decoration: none; font: 600 1.15rem/1.15 var(--font-head); transition: transform .2s var(--ease); }
.lp-other small { font: italic 500 .95rem/1 var(--font-cond); }
.lp-other svg { width: 20px; height: 20px; margin-left: auto; flex: none; transition: transform .2s var(--ease); }
.lp-other:hover { transform: translateY(-2px); }
.lp-other:hover svg { transform: translateX(3px); }
.lp-cta h2 { max-width: 20ch; }
.lp-cta .lead { max-width: 52ch; margin-bottom: 28px; }

/* ---------- Bewegung beim Scrollen (nur Bewegung, Text bleibt voll sichtbar) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    :is(.tile, .checklist li, .format, .process li, .audience) {
      animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%;
    }
  }
}
@keyframes reveal { from { transform: translateY(24px); } }

@media print {
  .servicebar, .site-header, .hero__visual, .menu, form { display: none !important; }
  .band--slant, .band--gray, .rampe, .site-footer { clip-path: none; margin: 0; }
}

/* Farbband direkt nach grauem Band: Schräge schiebt sich darüber, damit keine weiße Kante entsteht */
.band--gray + .band--slant { margin-top: calc(var(--ramp) * -1); }

/* Kontakt nur einmal zeigen: unter dem Logo nur auf der Startseite (dort ist die Abschlusszeile ausgeblendet) */
body:not(:has(#kontaktformular)) .footer-brand__contact { display: none; }

/* ==========================================================================
   Demo: Visueller Baukasten
   ========================================================================== */
.bk-hero .lead { max-width: 60ch; }
.bk-hero h1 { max-width: 20ch; }
.bk-wrap { padding: clamp(24px, 3vw, 40px) 0 calc(var(--space) + var(--ramp)); }
.bk { --bk-h: min(880px, calc(100vh - 120px)); display: grid; grid-template-columns: 250px minmax(0, 1fr) 320px; grid-template-rows: auto var(--bk-h); max-width: 1500px; margin: 0 auto; padding: 0 var(--gutter); font-family: var(--font-head); }
.bk-bar { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 14px; border-radius: 18px 18px 0 0; background: #000; color: #fff; }
.bk-bar__tpl { display: flex; align-items: center; gap: 8px; font: 600 .95rem var(--font-head); }
.bk-bar__tpl select { width: auto; padding: 6px 30px 4px 12px; border-radius: 999px; border: 0; font: 600 .95rem var(--font-head); }
.bk-bar__group { display: flex; gap: 4px; }
.bk-ic, .bk-devices button, .bk-preview { border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: #fff; border-radius: 999px; padding: 6px 12px 4px; font: 600 .95rem/1.2 var(--font-head); cursor: pointer; }
.bk-ic { width: 38px; padding: 4px 0 2px; font-size: 1.15rem; }
.bk-ic:disabled { opacity: .35; cursor: default; }
.bk-devices button[aria-pressed="true"], .bk-preview[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
.bk-score { margin-left: auto; border-radius: 999px; padding: 6px 12px 4px; background: var(--neongruen); color: #000; font: 700 .9rem/1.2 var(--font-head); }
.bk-score.is-warn { background: var(--sonne); }
.bk-preview { background: var(--orange); border-color: var(--orange); color: #000; }

.bk-side { background: #fff; border: 1.5px solid var(--surface-2); border-top: 0; overflow-y: auto; padding: 16px; }
.bk-side--left { border-right: 0; border-radius: 0 0 0 18px; }
.bk-side--right { border-left: 0; border-radius: 0 0 18px 0; padding-top: 0; }
.bk-side__title { font-size: 1.1rem; margin: 0 0 2px; }
.bk-muted { color: var(--muted); font-size: .92rem; line-height: 1.45; margin: 0 0 12px; }
.bk-library { list-style: none; display: grid; gap: 6px; }
.bk-lib { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; border: 1.5px solid var(--surface-2); background: #fff; border-radius: 12px; padding: 9px 10px; cursor: grab; transition: border-color .15s, transform .15s, box-shadow .15s; }
.bk-lib:hover { border-color: #000; transform: translateX(2px); box-shadow: var(--shadow); }
.bk-lib:active { cursor: grabbing; }
.bk-lib svg { flex: none; width: 34px; height: 34px; padding: 6px; border-radius: 9px; background: var(--surface); }
.bk-lib strong { display: block; font-size: .98rem; }
.bk-lib small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.25; }

.bk-stagearea { background: #E9EAE6; background-image: radial-gradient(rgba(0,0,0,.07) 1px, transparent 1px); background-size: 18px 18px; overflow-y: auto; padding: 24px; border-bottom: 1.5px solid var(--surface-2); }
.bk-frame { margin: 0 auto; background: #fff; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.14); overflow: hidden; max-width: 100%; color: #000; }
.bk-frame[data-device="tablet"] { max-width: 768px; }
.bk-frame[data-device="mobile"] { max-width: 390px; }
.bk-site-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--surface-2); font-weight: 700; }
.bk-site-head .mini-logo b { background: var(--rasengruen); width: 22px; height: 22px; border-radius: 6px; }
.bk-canvas { position: relative; min-height: 420px; padding: 0 0 28px; container-type: inline-size; display: grid; gap: 10px; align-content: start; }
.bk-empty { margin: 28px; border: 2px dashed var(--hellgrau); border-radius: 14px; padding: 40px 20px; display: grid; gap: 6px; text-align: center; color: var(--muted); }
.bk-empty strong { color: #000; font-size: 1.15rem; }
.is-dragging .bk-canvas { outline: 2px dashed var(--allerblau); outline-offset: -8px; }
.bk-indicator { display: none; position: absolute; left: 20px; right: 20px; height: 4px; border-radius: 4px; background: var(--allerblau); box-shadow: 0 0 0 4px rgba(70,120,160,.2); z-index: 5; pointer-events: none; }

.bk-block { position: relative; margin: 0 20px; padding: 10px; border-radius: 10px; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .15s, background-color .15s; cursor: pointer; }
.bk-block:has(.bk-stage) { margin: 0 0 6px; padding: 0; border-radius: 0; }
.bk-block:hover { outline-color: #B5C9D9; }
.bk-block.is-selected { outline-color: var(--allerblau); background: rgba(70,120,160,.04); }
.bk-block:has(.bk-stage).is-selected, .bk-block:has(.bk-stage):hover { outline-offset: -3px; }
.bk-block:focus-visible { outline: 3px solid #000; }
.bk-tools { position: absolute; z-index: 4; right: 8px; top: -14px; display: none; align-items: center; gap: 2px; background: var(--allerblau); color: #fff; border-radius: 999px; padding: 3px 4px; box-shadow: var(--shadow); }
.bk-block:has(.bk-stage) .bk-tools { top: 8px; }
.bk-block.is-selected > .bk-tools, .bk-block:hover:not(:has(.bk-block:hover)) > .bk-tools, .bk-block:focus-visible > .bk-tools { display: flex; }
.bk-tools__name { cursor: grab; padding: 3px 10px 2px 8px; font: 600 .8rem/1.2 var(--font-head); }
.bk-tools button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: transparent; color: #fff; cursor: pointer; font: 600 .9rem/1 var(--font-head); }
.bk-tools button:hover:not(:disabled) { background: rgba(255,255,255,.2); }
.bk-tools button:disabled { opacity: .35; }
[data-edit][contenteditable="true"] { outline: none; border-radius: 4px; cursor: text; }
[data-edit][contenteditable="true"]:hover { background: rgba(70,120,160,.08); }
[data-edit][contenteditable="true"]:focus { background: rgba(70,120,160,.12); box-shadow: 0 0 0 2px var(--allerblau); }

/* Bausteine im CD */
.bk-stage { background: var(--t); color: var(--t-ink); padding: 28px 22px 42px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 18px)); }
.bk-stage__card { background: #fff; color: #000; border-radius: 14px; padding: 18px 20px; max-width: 520px; }
.bk-stage .pill { font-size: .8rem; padding: 2px 10px 0; margin-bottom: 8px; }
.bk-stage h1 { font-size: clamp(1.5rem, 1rem + 2.4cqi, 2.4rem); line-height: 1.04; margin: 0; }
.bk-h { margin: 6px 0 0; }
h2.bk-h { font-size: clamp(1.3rem, 1rem + 1.4cqi, 1.8rem); }
h3.bk-h { font-size: 1.25rem; }
h4.bk-h { font-size: 1.08rem; }
.bk-p { margin: 0; font: 400 1.02rem/1.6 var(--font-body); }
.bk-figure { margin: 0; }
.bk-img { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 300 / 140; }
.bk-img svg { width: 100%; height: 100%; display: block; }
.bk-warn { position: absolute; left: 10px; top: 10px; background: var(--sonne); color: #000; border-radius: 999px; padding: 3px 10px 2px; font: 700 .8rem/1.2 var(--font-head); }
.bk-figure figcaption { margin-top: 6px; color: var(--muted); font-size: .9rem; }
.bk-cols { display: grid; gap: 12px; }
.bk-cols--2 { grid-template-columns: 1fr 1fr; }
.bk-cols--3 { grid-template-columns: repeat(3, 1fr); }
@container (max-width: 520px) { .bk-cols--2, .bk-cols--3 { grid-template-columns: 1fr; } }
.bk-col { background: var(--surface); border-radius: 12px; padding: 14px; }
.bk-col h3 { font-size: 1.08rem; margin: 0 0 4px; }
.bk-col p { margin: 0; font-size: .95rem; line-height: 1.45; }
.bk-acc { display: grid; gap: 6px; }
.bk-acc details { border-radius: 12px; background: var(--t-tint); }
.bk-acc summary { list-style: none; cursor: pointer; padding: 12px 44px 10px 14px; position: relative; font-weight: 600; }
.bk-acc summary::-webkit-details-marker { display: none; }
.bk-acc summary::after { content: "+"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--t); color: var(--t-ink); display: grid; place-items: center; font-weight: 700; }
.bk-acc details[open] summary::after { content: "–"; }
.bk-acc details > div { padding: 0 14px 12px; }
.bk-acc p { margin: 0; font-size: .95rem; line-height: 1.5; }
.bk-contact { display: grid; gap: 3px; border-radius: 14px; background: var(--t-tint); padding: 16px 18px; }
.bk-contact strong { font-size: 1.1rem; }
.bk-contact__hours { color: var(--muted); font-size: .92rem; }
.bk-contact__row { font-size: .95rem; }
.bk-contact__btns { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.bk-contact__btns span { background: #000; color: #fff; border-radius: 999px; padding: 6px 14px 4px; font-weight: 600; font-size: .9rem; }
.bk-btnwrap { margin: 0; }
.bk-btn { display: inline-flex; gap: 6px; background: var(--t); color: var(--t-ink); border-radius: 999px; padding: 10px 18px 8px; font-weight: 600; }
.bk-stoerer { justify-self: start; margin: 0; background: var(--neongruen); color: #000; rotate: -2deg; font: italic 600 1.05rem/1.1 var(--font-cond); text-transform: uppercase; padding: 8px 12px 6px; }
.bk-block:has(.bk-stoerer) { justify-self: start; }

/* Seitenleiste rechts */
.bk-tabs { position: sticky; top: 0; z-index: 2; display: flex; gap: 2px; background: #fff; padding: 12px 0 10px; margin-bottom: 8px; border-bottom: 1px solid var(--surface-2); }
.bk-tabs button { flex: 1; border: 0; background: transparent; border-radius: 999px; padding: 7px 4px 5px; font: 600 .88rem/1.2 var(--font-head); cursor: pointer; color: var(--muted); }
.bk-tabs button[aria-selected="true"] { background: #000; color: #fff; }
.bk-panel__type { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px; font: 600 1.1rem var(--font-head); }
.bk-panel__type svg { width: 30px; height: 30px; padding: 5px; border-radius: 8px; background: var(--surface); }
.bk-field { display: grid; gap: 5px; margin-bottom: 14px; }
.bk-field > span { font: 600 .9rem var(--font-head); }
.bk-side input[type="text"], .bk-side textarea, .bk-side select { padding: 8px 10px 6px; font-size: .95rem; border-radius: 10px; }
.bk-item { border: 1.5px solid var(--surface-2); border-radius: 12px; padding: 10px; margin: 0 0 10px; display: grid; gap: 6px; }
.bk-item legend { font: 600 .85rem var(--font-head); padding: 0 4px; }
.bk-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.bk-swatches button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; padding: 3px; background: transparent; cursor: pointer; }
.bk-swatches button i { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.bk-swatches button[aria-checked="true"] { border-color: #000; }
.bk-hint { margin: 4px 0 0; color: var(--muted); font-size: .85rem; }
.bk-add { width: 100%; border: 1.5px dashed var(--hellgrau); background: transparent; border-radius: 10px; padding: 9px; font: 600 .92rem var(--font-head); cursor: pointer; }
.bk-add:hover { border-color: #000; }
.bk-link { border: 0; background: none; padding: 0; color: #2F5F86; text-decoration: underline; font: 600 .85rem var(--font-head); cursor: pointer; justify-self: start; }
.bk-outline { list-style: none; display: grid; gap: 2px; }
.bk-outline button { width: 100%; text-align: left; border: 0; background: transparent; border-radius: 8px; padding: 6px 8px 5px calc(8px + (var(--lvl) - 1) * 16px); font: 500 .95rem/1.3 var(--font-head); cursor: pointer; display: flex; gap: 8px; align-items: baseline; }
.bk-outline button:hover { background: var(--surface); }
.bk-outline em { font: 700 .72rem/1 var(--font-cond); font-style: normal; background: #000; color: #fff; border-radius: 4px; padding: 3px 5px 2px; flex: none; }
.bk-checks { list-style: none; display: grid; gap: 8px; }
.bk-checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: .95rem; line-height: 1.4; }
.bk-checks li > span:first-child { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; }
.bk-checks .ok > span:first-child { background: var(--rasengruen); }
.bk-checks .no > span:first-child { background: var(--sonne); }
.bk-checks .bk-link { margin-left: 4px; }

/* Vorschau-Modus */
.bk.is-preview .bk-side { display: none; }
.bk.is-preview { grid-template-columns: minmax(0, 1fr); }
.bk.is-preview .bk-stagearea { border-radius: 0 0 18px 18px; }
.bk.is-preview .bk-block { cursor: default; outline: 0; }

.bk-notes { margin-top: 24px; }
.bk-notes ul { list-style: none; display: grid; gap: 8px; margin-bottom: 20px; font: 400 1.02rem/1.5 var(--font-head); color: var(--muted); }
.bk-notes strong { color: #000; }

@media (max-width: 1100px) {
  .bk { grid-template-columns: 1fr; grid-template-rows: auto; }
  .bk-side--left { border-radius: 0; border-right: 1.5px solid var(--surface-2); }
  .bk-library { display: flex; overflow-x: auto; padding-bottom: 6px; }
  .bk-library li { flex: none; width: 190px; }
  .bk-stagearea { min-height: 560px; padding: 14px; border-left: 1.5px solid var(--surface-2); border-right: 1.5px solid var(--surface-2); }
  .bk-side--right { border-radius: 0 0 18px 18px; border-left: 1.5px solid var(--surface-2); max-height: 520px; }
  .bk-score { margin-left: 0; }
}

/* ---------- Wissen: Übersicht, Teaser, Artikel ---------- */
.wissen-teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; border-radius: var(--r-l); background: var(--t); color: var(--t-ink); padding: clamp(24px, 3.4vw, 44px); text-decoration: none; transition: transform .25s var(--ease); }
.wissen-teaser:hover { transform: translateY(-3px); }
.wissen-teaser__text { flex: 1 1 520px; display: grid; gap: 8px; }
.wissen-teaser .kicker { color: inherit; margin: 0 0 4px; }
.wissen-teaser .kicker::before { background: currentColor; }
.wissen-teaser strong { font: 600 clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem)/1.1 var(--font-head); max-width: 26ch; }
.wissen-teaser__text > span:last-child { font: 400 1.1rem/1.5 var(--font-head); max-width: 60ch; }
.wissen-teaser .btn { pointer-events: none; }
.wissen-list-wrap { padding: clamp(32px, 5vw, 64px) var(--gutter) calc(var(--space) + var(--ramp)); }
.wissen-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.wissen-card { display: flex; flex-direction: column; gap: 10px; height: 100%; border-radius: var(--r-l); background: var(--t-tint); color: #000; padding: 26px; text-decoration: none; transition: transform .25s var(--ease); }
.wissen-card:hover { transform: translateY(-3px); }
.wissen-card__meta { font: 600 .9rem/1.2 var(--font-cond); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.wissen-card strong { font: 600 1.5rem/1.15 var(--font-head); }
.wissen-card > span:nth-of-type(2) { font: 400 1.02rem/1.5 var(--font-head); }
.wissen-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 600 1rem var(--font-head); text-decoration: underline; text-underline-offset: 4px; }
.wissen-card__more svg { width: 16px; height: 16px; }

.art-hero h1 { max-width: 22ch; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); }
.art-hero .lead { max-width: 62ch; margin-top: 16px; }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.art-meta span { border: 1.5px solid currentColor; border-radius: 999px; padding: 4px 12px 2px; font: 600 .95rem/1.3 var(--font-head); }
.art-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: clamp(32px, 5vw, 72px); justify-content: center; padding-top: clamp(32px, 5vw, 64px); padding-bottom: calc(var(--space) + var(--ramp)); }
.art-toc { position: sticky; top: 110px; align-self: start; font-family: var(--font-head); }
.art-toc p { margin: 0 0 10px; font: 600 .9rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.art-toc ol { list-style: none; display: grid; gap: 2px; margin-bottom: 18px; border-left: 2px solid var(--surface-2); }
.art-toc a { display: block; padding: 6px 0 5px 14px; color: #000; text-decoration: none; font-size: .98rem; line-height: 1.3; }
.art-toc a:hover { text-decoration: underline; text-underline-offset: 4px; }
.art-back { font-weight: 600; color: #000; }
@media (max-width: 960px) { .art-layout { grid-template-columns: 1fr; } .art-toc { position: static; } }
.art { font-size: 1.12rem; line-height: 1.75; }
.art > p { margin: 0 0 1.1em; }
.art h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); margin: 2.2em 0 .6em; scroll-margin-top: 110px; }
.art h3 { font-size: 1.3rem; margin: 1.6em 0 .4em; }
.art ul, .art ol { margin: 0 0 1.2em; padding-left: 1.3em; display: grid; gap: .5em; }
.art-summary { border-radius: var(--r-l); background: var(--surface); padding: 24px 28px; margin-bottom: 2em; }
.art-summary h2 { margin: 0 0 12px; font-size: 1.3rem; }
.art-summary ul { margin: 0; font: 400 1.05rem/1.55 var(--font-head); }
.art-table { overflow-x: auto; border-radius: 14px; border: 1.5px solid var(--surface-2); margin: 0 0 1.2em; }
.art-table table { width: 100%; min-width: 640px; border-collapse: collapse; font: 400 .98rem/1.4 var(--font-head); }
.art-table caption { caption-side: bottom; text-align: left; padding: 10px 14px; color: var(--muted); font-size: .9rem; }
.art-table th, .art-table td { padding: 11px 14px 9px; text-align: left; border-top: 1px solid var(--surface-2); vertical-align: top; }
.art-table thead th { background: var(--surface); border-top: 0; font: 600 .9rem/1.2 var(--font-cond); text-transform: uppercase; letter-spacing: .06em; }
.art-table tbody th { font-weight: 600; }
.art-table td:nth-child(2) { background: var(--t-tint); font-weight: 600; }
.art-cta { margin-top: 2.4em; border-radius: var(--r-l); background: #000; color: #fff; padding: 26px 28px; }
.art-cta p { margin: 0 0 14px; font: 400 1.1rem/1.5 var(--font-head); }
.art-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.art-cta .btn { --b-bg: #fff; --b-fg: #000; color: #000; }
.art-cta .btn--ghost { --b-bg: transparent; --b-fg: #fff; color: #fff; border-color: #fff; }

.art-table--wide table { min-width: 940px; font-size: .92rem; }
.art-table--wide td:nth-child(3) { background: #FDF3EE; }
@media (min-width: 1200px) { .art-layout:has(.art-table--wide) .art-table--wide { margin-right: -180px; } }

.art .art-checklist { list-style: none; padding: 0; gap: 12px; }
.art-checklist li { position: relative; padding: 14px 16px 14px 52px; border-radius: 14px; background: var(--surface); font-size: 1.05rem; line-height: 1.55; }
.art-checklist li::before { content: ""; position: absolute; left: 16px; top: 17px; width: 22px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 2px #000; background: #fff; }
.art-checklist strong { display: block; }

/* ---------- Gestaltung: Button-Zeile ---------- */
.demo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.demo-hint { margin-top: 26px !important; }

/* ==========================================================================
   „Diese Seite bearbeiten“ – Live-Bearbeitung
   ========================================================================== */
.le-bar { position: fixed; z-index: 90; left: 50%; bottom: 18px; transform: translateX(-50%); width: max-content; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: calc(100vw - 24px); padding: 8px 8px 8px 18px; border-radius: 999px; background: #000; color: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.35); font-family: var(--font-head); animation: le-in .35s var(--ease); }
@keyframes le-in { from { opacity: 0; transform: translate(-50%, 16px); } }
.le-bar[hidden] { display: none; }
.le-bar__status { display: flex; align-items: center; gap: 8px; margin-right: 6px; font: 600 1rem/1.2 var(--font-head); }
.le-bar__status b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--neongruen); color: #000; }
.le-bar__status small { font: 500 .9rem/1.2 var(--font-cond); letter-spacing: .03em; color: rgba(255,255,255,.75); }
.le-bar button { border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: #fff; border-radius: 999px; padding: 8px 14px 6px; font: 600 .95rem/1.2 var(--font-head); cursor: pointer; }
.le-bar button:disabled { opacity: .35; cursor: default; }
.le-bar button[aria-expanded="true"] { background: #fff; color: #000; }
.le-bar .le-done { background: var(--neongruen); border-color: var(--neongruen); color: #000; }
@media (max-width: 640px) { .le-bar { border-radius: 18px; bottom: 10px; padding: 10px; justify-content: center; } .le-bar__status { width: 100%; justify-content: center; } }

.le-panel { position: fixed; z-index: 89; right: 18px; bottom: 90px; width: min(340px, calc(100vw - 36px)); max-height: min(70vh, 560px); overflow-y: auto; border-radius: 18px; background: #fff; color: #000; box-shadow: 0 24px 60px rgba(0,0,0,.28); padding: 18px; font-family: var(--font-head); }
.le-panel[hidden] { display: none; }
.le-panel__title { margin: 0; font: 600 1.15rem var(--font-head); }
.le-panel__hint { margin: 2px 0 12px; color: var(--muted); font-size: .9rem; }
.le-panel ol { list-style: none; display: grid; gap: 4px; }
.le-panel li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 4px 4px 0; border-bottom: 1px solid var(--surface-2); }
.le-panel li.is-hidden .le-panel__name { opacity: .45; text-decoration: line-through; }
.le-panel__name { flex: 1; text-align: left; border: 0; background: transparent; padding: 6px 4px; font: 500 .95rem/1.25 var(--font-head); cursor: pointer; color: #000; }
.le-panel__name:hover { text-decoration: underline; }
.le-panel li span { display: flex; gap: 2px; }
.le-panel li span button { width: 30px; height: 30px; border-radius: 8px; border: 0; background: var(--surface); cursor: pointer; font: 600 .95rem var(--font-head); color: #000; }
.le-panel li span button:disabled { opacity: .35; }

.is-live-editing [data-le-edit] { cursor: text; outline: 1.5px dashed transparent; outline-offset: 3px; transition: outline-color .15s, background-color .15s; }
.is-live-editing [data-le-edit]:hover { outline-color: rgba(70,120,160,.6); }
.is-live-editing [data-le-edit]:focus { outline: 2px solid var(--allerblau); background: rgba(70,120,160,.08); }
.is-live-editing .on-color [data-le-edit]:hover, .is-live-editing .on-color [data-le-edit]:focus { outline-color: #fff; background: rgba(255,255,255,.12); }
.is-live-editing #inhalt > section:not(.le-skip):hover { box-shadow: inset 0 0 0 3px rgba(70,120,160,.45); }
.is-live-editing a { cursor: text; }

.le-tools { position: absolute; z-index: 20; top: calc(var(--ramp) + 12px); left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--allerblau); color: #fff; box-shadow: var(--shadow-l); font-family: var(--font-head); opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; }
.is-live-editing #inhalt > section:hover > .le-tools, .le-tools:focus-within { opacity: 1; transform: none; }
.le-tools__name { padding: 4px 10px 2px; font: 600 .85rem/1.2 var(--font-head); max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.le-tools button { border: 0; background: rgba(255,255,255,.14); color: #fff; border-radius: 999px; min-width: 30px; height: 30px; padding: 0 10px; font: 600 .85rem/1 var(--font-head); cursor: pointer; }
.le-tools button:hover { background: rgba(255,255,255,.28); }
.le-swatches { display: flex; gap: 3px; padding: 0 4px; }
.le-swatches button { min-width: 0; width: 20px; height: 20px; padding: 0; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1.5px rgba(255,255,255,.6); }
.le-swatches button:hover { background: var(--c); transform: scale(1.15); }
.le-swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000; }
.le-hidden { display: none !important; }
.is-live-editing .le-hidden { display: block !important; opacity: .35; filter: grayscale(1); }
@media print { .le-bar, .le-panel, .le-tools { display: none !important; } }

/* ---------- Diagramme (Mermaid im CD) ---------- */
.diagram { margin: 0 0 16px; border-radius: var(--r-l); background: #fff; box-shadow: var(--shadow); padding: clamp(16px, 3vw, 32px); overflow-x: auto; }
.art .diagram { box-shadow: none; border: 1.5px solid var(--surface-2); margin: 0 0 1.4em; }
.diagram pre.mermaid { margin: 0; min-height: 240px; color: transparent; white-space: pre; overflow: hidden; font-size: 0; }
.diagram pre.mermaid.is-error { color: var(--muted); font: 400 .9rem/1.4 ui-monospace, Consolas, monospace; white-space: pre-wrap; }
.diagram__svg { display: flex; justify-content: center; }
.diagram__svg svg { height: auto; }
.diagram figcaption { margin-top: 12px; font: italic 500 .98rem/1.35 var(--font-cond); letter-spacing: .02em; color: var(--muted); }
.stack-table { background: #fff; }
.stack-table td:nth-child(4) { white-space: nowrap; font-weight: 600; }
.stack-table td:nth-child(2) { background: transparent; font-weight: 400; }

/* ---------- Lastenheft-Seite ---------- */
.art .lh-chapters { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; counter-reset: ch; }
@media (max-width: 640px) { .art .lh-chapters { grid-template-columns: 1fr; } }
.lh-chapters li { counter-increment: ch; position: relative; padding: 12px 14px 10px 54px; border-radius: 12px; background: var(--surface); font: 400 .98rem/1.4 var(--font-head); }
.lh-chapters li::before { content: counter(ch, decimal-leading-zero); position: absolute; left: 12px; top: 12px; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--sonne); color: #000; font: 700 .9rem var(--font-head); }
.lh-chapters strong, .lh-results strong { display: block; font-weight: 600; font-size: 1.05rem; }
.lh-chapters span, .lh-results span { color: var(--muted); }
.art .lh-results { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .art .lh-results { grid-template-columns: 1fr; } }
.lh-results li { border-radius: 14px; border: 2px solid #000; padding: 14px 16px 12px; font: 400 .98rem/1.4 var(--font-head); }
.prio { display: inline-block; border-radius: 999px; padding: 2px 10px 1px; font: 700 .82rem/1.3 var(--font-head); }
.prio--muss { background: #000; color: #fff; }
.prio--soll { background: var(--sonne); color: #000; }
.prio--kann { background: var(--surface-2); color: #000; }
.art .art-table td:nth-child(2) { background: transparent; font-weight: 400; }

/* ---------- Bearbeitungsmodus: Abschnitte hinzufügen ---------- */
.le-bar .le-add { background: #fff; color: #000; border-color: #fff; }
.le-bar .le-add[aria-expanded="true"] { background: var(--neongruen); border-color: var(--neongruen); }
.le-insert { position: relative; z-index: 30; height: 0; }
.le-insert button { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); border: 2px dashed var(--allerblau); background: #fff; color: #000; border-radius: 999px; padding: 6px 16px 4px; font: 600 .92rem/1.2 var(--font-head); cursor: pointer; opacity: .55; box-shadow: var(--shadow); transition: opacity .15s, transform .15s; }
.le-insert button:hover, .le-insert button:focus-visible { opacity: 1; transform: translate(-50%, -50%) scale(1.04); border-style: solid; }
.le-drawer { position: fixed; z-index: 91; left: 18px; top: 110px; bottom: 96px; width: min(340px, calc(100vw - 36px)); overflow-y: auto; border-radius: 18px; background: #fff; color: #000; box-shadow: 0 24px 60px rgba(0,0,0,.3); padding: 18px; font-family: var(--font-head); animation: le-drawer .3s var(--ease); }
@keyframes le-drawer { from { opacity: 0; transform: translateX(-16px); } }
.le-drawer[hidden] { display: none; }
.le-drawer__head { display: flex; justify-content: space-between; align-items: center; }
.le-drawer__head p { margin: 0; font: 600 1.2rem var(--font-head); }
.le-drawer__head button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--surface); cursor: pointer; font-size: 1rem; }
.le-drawer__hint { margin: 4px 0 14px; color: var(--muted); font-size: .9rem; }
.le-drawer ul { list-style: none; display: grid; gap: 8px; }
.le-tpl { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; border: 1.5px solid var(--surface-2); background: #fff; border-radius: 14px; padding: 10px; cursor: pointer; transition: border-color .15s, transform .15s; }
.le-tpl:hover, .le-tpl:focus-visible { border-color: #000; transform: translateX(3px); }
.le-tpl strong { display: block; font-size: 1rem; }
.le-tpl small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.3; }
.le-tpl__ic { flex: none; width: 58px; height: 44px; border-radius: 8px; background: var(--surface); display: grid; gap: 3px; padding: 6px; align-content: center; }
.le-tpl__ic i { display: block; height: 5px; border-radius: 3px; background: var(--hellgrau); }
.le-tpl__ic i:first-child { width: 40%; background: var(--allerblau); }
.le-tpl__ic i:nth-child(2) { height: 8px; background: #000; }
.le-tpl__ic--band { background: var(--petrol); } .le-tpl__ic--band i { background: rgba(255,255,255,.7) !important; }
.le-tpl__ic--cards { grid-template-columns: repeat(3, 1fr); align-content: stretch; } .le-tpl__ic--cards i { height: auto; width: auto !important; background: var(--sonne) !important; }
.le-tpl__ic--statement i:nth-child(2) { height: 12px; background: var(--rasengruen); }
.le-tpl__ic--diagram { grid-template-columns: repeat(3, 1fr); align-items: center; } .le-tpl__ic--diagram i { height: 14px; width: auto !important; border: 2px solid var(--allerblau); background: #fff !important; }
.le-tpl__ic--accordion i { height: 9px; background: var(--allerblau-tint, #DAE4EC) !important; width: auto !important; }
.le-tpl__ic--steps { grid-template-columns: repeat(3, 1fr); } .le-tpl__ic--steps i { height: 18px; width: 18px !important; border-radius: 5px; background: var(--orange) !important; }
.le-flash { animation: le-flash 1.6s var(--ease); }
@keyframes le-flash { 0%, 40% { box-shadow: inset 0 0 0 4px var(--neongruen); } 100% { box-shadow: inset 0 0 0 0 transparent; } }
@media (min-width: 961px) { .process--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1240px) { .quicknav { display: none; } }
@media print { .le-drawer, .le-insert { display: none !important; } }

.art-table tbody th:first-child { white-space: nowrap; }

.is-live-editing [data-le-edit]:not(.btn) { border-radius: 4px; }

.split--qs { align-items: center; }
.tech-page .diagram { margin-bottom: 0; }
.wissen-teaser.t-anthrazit .btn--light:hover { --b-bg: var(--neongruen); }

.tech-page .diagram__svg svg { max-width: 920px !important; }

/* ---------- Upload-Assistent ---------- */
.split--upload { align-items: center; }
.upl { margin: 0; border-radius: var(--r-l); background: #fff; box-shadow: var(--shadow-l); padding: 0 0 18px; overflow: hidden; font-family: var(--font-head); color: #000; }
.upl__head { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: #000; color: #fff; font: 600 1rem/1.2 var(--font-head); }
.upl__head small { margin-left: auto; font: italic 500 .85rem var(--font-cond); letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.upl__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--neongruen); box-shadow: 0 0 0 3px rgba(190,245,0,.3); }
.upl__file { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--surface-2); }
.upl__thumb { border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 2; }
.upl__thumb svg, .upl__og-img svg { width: 100%; height: 100%; display: block; }
.upl__files p { margin: 0; display: grid; gap: 1px; font-size: .92rem; line-height: 1.35; }
.upl__files strong { font-size: 1rem; }
.upl__files span:last-child { color: var(--muted); }
.upl__arrow { color: var(--muted); font-weight: 700; margin: 2px 0 !important; }
.upl__label { justify-self: start; font: 600 .75rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .08em; background: var(--surface); border-radius: 4px; padding: 3px 6px 2px; margin-bottom: 2px; }
.upl__label--ok { background: var(--rasengruen); }
.upl__fields { margin: 0; padding: 6px 18px 0; display: grid; gap: 12px; }
.upl__fields > div { border-radius: 12px; background: var(--surface); padding: 10px 12px; }
.upl__fields dt { display: flex; align-items: center; gap: 8px; font: 600 .9rem/1.2 var(--font-head); margin-bottom: 4px; }
.upl__chip { font: 600 .72rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .06em; background: var(--neongruen); border-radius: 999px; padding: 3px 7px 2px; }
.upl__fields dd { margin: 0; font-size: .95rem; line-height: 1.4; }
.upl__meta { display: flex; align-items: center; gap: 10px; margin-top: 6px !important; }
.up-meter { flex: 1; height: 5px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.up-meter i { display: block; height: 100%; background: var(--rasengruen); border-radius: inherit; }
.up-meter.is-warn i { background: var(--orange); }
.up-count { font: 600 .8rem/1 var(--font-cond); letter-spacing: .03em; color: var(--muted); white-space: nowrap; }
.upl__og { margin: 14px 18px 0; display: grid; grid-template-columns: 140px 1fr; border: 1.5px solid var(--surface-2); border-radius: 12px; overflow: hidden; }
.upl__og-img { aspect-ratio: 1.91 / 1; }
.upl__og > div:last-child { padding: 8px 12px; display: grid; gap: 2px; align-content: center; font-size: .82rem; line-height: 1.3; }
.upl__og small { color: var(--muted); text-transform: uppercase; font: 600 .7rem var(--font-cond); letter-spacing: .06em; }
.upl__og strong { font-size: .9rem; }
.upl__og span { color: var(--muted); }
.upl__actions { display: flex; gap: 8px; padding: 14px 18px 0; }
.upl__btn { background: #000; color: #fff; border-radius: 999px; padding: 8px 14px 6px; font: 600 .9rem var(--font-head); }
.upl__btn--ghost { background: transparent; color: #000; box-shadow: inset 0 0 0 2px #000; }
.upl figcaption { margin: 12px 18px 0; font: italic 500 .95rem/1.35 var(--font-cond); letter-spacing: .02em; color: var(--muted); }
@media (max-width: 520px) { .upl__file { grid-template-columns: 1fr; } .upl__og { grid-template-columns: 1fr; } }

/* ---------- Schnittstellen: Läuft mit Ihrer IT ---------- */
.itstrip { display: grid; grid-template-columns: auto 1fr; gap: 12px 28px; align-items: center; margin: 0 0 16px; border-radius: var(--r-l); border: 1px solid rgba(255,255,255,.22); padding: 18px 22px; }
.itstrip__title { margin: 0; font: 600 .95rem/1.15 var(--font-cond); text-transform: uppercase; letter-spacing: .1em; color: var(--neongruen); max-width: 9ch; }
.itstrip ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px; font: 400 1rem/1.45 var(--font-head); }
.itstrip strong { font-weight: 600; }
@media (max-width: 960px) { .itstrip { grid-template-columns: 1fr; } .itstrip__title { max-width: none; } .itstrip ul { grid-template-columns: 1fr; } }

/* =====================================================================
   Struktur: Themenseiten, Themenkarten, Icons je Bereich, neues Menü
   ===================================================================== */

/* Schnellzugriff: aktuelle Seite */
.quicknav a[aria-current="page"] { background: var(--surface-2); }

/* Icon-Kachel in Seitenköpfen (Bereiche und Themen) */
.hero-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 18px; background: var(--t-ink); color: var(--t); }
.hero-ic svg { width: 34px; height: 34px; }
.chips--hero { margin-top: 28px; }
.chip--hero { background: transparent; border-color: currentColor; color: inherit; }
.chip--hero::before { background: currentColor; }
.chip--hero:hover { background: var(--t-ink); border-color: var(--t-ink); color: var(--t); }

/* Seitenkopf gefolgt von grauem Abschnitt: Rampe direkt ins Grau */
.page-ramp:has(+ .band--gray) { background: var(--surface); }
.page-ramp + .band--gray { clip-path: none; padding-top: calc(var(--space) * .7); }
.theme-more { padding-top: calc(var(--space) * .6); }

/* Themenkarten */
.themes { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.theme-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 10px; height: 100%; min-height: 15.5rem; padding: 34px 22px 20px; border-radius: var(--r-l); background: #fff; color: #000; text-decoration: none; box-shadow: var(--shadow); transition: transform .25s var(--ease), background-color .25s, color .25s; }
.theme-card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--t); clip-path: polygon(0 0, 100% 0, 100% 5px, 0 14px); transition: clip-path .35s var(--ease); }
.theme-card__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--t); color: var(--t-ink); transition: background-color .25s, color .25s; }
.theme-card__ic svg { width: 26px; height: 26px; }
.theme-card__no { position: absolute; top: 34px; right: 22px; font: italic 500 1.05rem/1 var(--font-cond); letter-spacing: .06em; color: var(--muted); }
.theme-card strong { font: 600 1.4rem/1.1 var(--font-head); margin-top: 6px; }
.theme-card__text { font: 400 1.02rem/1.45 var(--font-head); }
.theme-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 600 1rem var(--font-head); text-decoration: underline; text-underline-offset: 4px; }
.theme-card__more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.theme-card:hover { transform: translateY(-4px); color: var(--t-ink); }
.theme-card:hover::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.theme-card:hover .theme-card__ic { background: var(--t-ink); color: var(--t); }
.theme-card:hover .theme-card__no { color: inherit; }
.theme-card:hover .theme-card__more svg { transform: translateX(4px); }
.themes--compact { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.themes--compact .theme-card { min-height: 0; padding: 30px 18px 18px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; }
.themes--compact .theme-card strong { margin: 0; font-size: 1.15rem; flex: 1 1 8rem; }
.themes--compact .theme-card__text, .themes--compact .theme-card__more, .themes--compact .theme-card__no { display: none; }
.themes--compact .theme-card__ic { width: 40px; height: 40px; border-radius: 12px; }
.themes--compact .theme-card__ic svg { width: 22px; height: 22px; }
@media (max-width: 1100px) { .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .themes { grid-template-columns: 1fr; } .theme-card { min-height: 0; } }

/* Startseite: Selbst ausprobieren */
.tryout { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.tryout__title { margin: 0; font: 600 .95rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.tryout ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tryout a, .tryout button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 6px; border-radius: 999px; border: 2px solid #000; background: #fff; color: #000; text-decoration: none; font: 600 1rem/1.2 var(--font-head); cursor: pointer; transition: background-color .15s, color .15s; }
.tryout a svg { width: 18px; height: 18px; }
.tryout a:hover, .tryout button:hover, .tryout button[aria-pressed="true"] { background: #000; color: #fff; }

/* Startseite: Relaunch kompakt */
.relaunch-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.wechsel-links { margin: 28px 0 0; font: 500 1.08rem/1.6 var(--font-head); }

/* Startseite: Referenzen kurz */
.refstrip { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 5vw, 72px); align-items: start; }
.refstrip__head h2 { margin-bottom: 24px; }
.refstrip__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.refstrip__list li { position: relative; display: grid; gap: 6px; padding: 30px 22px 20px; border-radius: var(--r-m); background: var(--surface); }
.refstrip__list li::before { content: ""; position: absolute; top: 0; left: 22px; width: 56px; height: 12px; background: var(--t); clip-path: polygon(0 0, 100% 0, 100% 45%, 0 100%); }
.refstrip__list strong { font: 600 1.3rem/1.15 var(--font-head); }
.refstrip__list span { font: 400 1rem/1.45 var(--font-head); color: var(--muted); }
@media (max-width: 900px) { .refstrip { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .refstrip__list { grid-template-columns: 1fr; } }

/* Startseite: Wissen */
.wissen-list--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .wissen-list--home { grid-template-columns: 1fr; } }

/* Bento: Icon je Leistungsbereich */
.tile__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--t); color: var(--t-ink); transition: background-color .3s, color .3s; }
.tile__ic svg { width: 26px; height: 26px; }
.tile--hero .tile__ic, .tile:not(.tile--hero):not(.tile--cta):hover .tile__ic { background: var(--t-ink); color: var(--t); }
.lp-other__ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--t-ink); color: var(--t); }
.lp-other .lp-other__ic svg { width: 22px; height: 22px; margin: 0; }

/* Menü: Bereiche mit Icons, Seitenliste, Übersicht mit Themen */
.menu__ic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--t); color: var(--t-ink); margin-top: -3px; }
.menu__ic svg { width: 20px; height: 20px; }
.menu__topic-title { flex: 1 1 auto; }
.menu__topic { padding: 10px 14px 9px; }
.menu__count { margin-left: 0; }
.menu__label--pages { margin-top: 28px; }
.menu__pages { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; margin-left: 4px; }
.menu__pages a { display: block; padding: 8px 12px 6px; border-radius: 10px; color: #000; text-decoration: none; font: 500 1.02rem/1.25 var(--font-head); }
.menu__pages a:hover { background: var(--surface); }
.menu__pages a[aria-current="page"] { background: var(--surface-2); font-weight: 600; }
.menu__panel.is-welcome { background: var(--surface); }
.menu__panel.is-welcome::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 90px; background: var(--allerblau); opacity: .08; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.menu__themes { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 10px; margin-top: 24px; }
.menu__theme { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 12px; height: 100%; padding: 24px 16px 16px; border-radius: 16px; background: #fff; color: #000; text-decoration: none; transition: transform .25s var(--ease), color .2s; }
.menu__theme::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--t); clip-path: polygon(0 0, 100% 0, 100% 4px, 0 10px); transition: clip-path .3s var(--ease); }
.menu__theme:hover, .menu__theme:focus-visible { transform: translateY(-3px); color: var(--t-ink); }
.menu__theme:hover::before, .menu__theme:focus-visible::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.menu__theme[aria-current="page"] { outline: 3px solid var(--t); outline-offset: -3px; }
.menu__theme-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--t); color: var(--t-ink); transition: background-color .2s, color .2s; }
.menu__theme:hover .menu__theme-ic, .menu__theme:focus-visible .menu__theme-ic { background: var(--t-ink); color: var(--t); }
.menu__theme-ic svg { width: 22px; height: 22px; }
.menu__theme-no { justify-self: end; align-self: start; font: italic 500 .95rem/1 var(--font-cond); letter-spacing: .05em; }
.menu__theme strong { grid-column: 1 / -1; font: 600 1.2rem/1.12 var(--font-head); }
.menu__theme-text { grid-column: 1 / -1; font: 400 .95rem/1.4 var(--font-head); }
.menu__extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; margin-top: 32px; }
.menu__extra .menu__label { margin-left: 0; }
.menu__articles { list-style: none; display: grid; gap: 6px; }
.menu__articles a { display: grid; gap: 4px; padding: 12px 14px 10px; border-radius: 12px; background: #fff; color: #000; text-decoration: none; font: 600 1.02rem/1.25 var(--font-head); box-shadow: inset 0 -4px 0 var(--t); }
.menu__articles a:hover { background: var(--t-tint); }
.menu__articles small { font: 500 .88rem/1.2 var(--font-cond); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.menu__tools { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.menu__tools a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px 7px; border-radius: 999px; border: 2px solid #000; background: #fff; color: #000; text-decoration: none; font: 600 1rem/1.2 var(--font-head); }
.menu__tools a:hover { background: #000; color: #fff; }
.menu__tools svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .menu[open] .menu__theme { animation: theme-rise .5s var(--ease) both; animation-delay: calc(var(--i) * 35ms + 60ms); }
  @keyframes theme-rise { from { opacity: 0; transform: translateY(14px); } }
}
@media (max-width: 899px) {
  .menu:not(.has-active):not(.is-searching) .menu__panel.is-welcome { display: block; margin-top: 8px; }
  .menu__themes { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .menu__theme-text { display: none; }
  .menu__extras { grid-template-columns: 1fr; }
}

/* Fachartikel: Hinweis, Gewichtung, Schritte, Haftungshinweis */
.art-note { border: 2px solid var(--surface-2); border-radius: var(--r-m); padding: 18px 22px; font: 400 1.02rem/1.55 var(--font-head); margin: 0 0 1.6em; }
.art-table--plain td:nth-child(2) { background: none; font-weight: 400; }
.weight { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.weight::before { content: ""; width: calc(var(--w) * 2.4px); height: 10px; border-radius: 3px; background: var(--t); }
.art ol.art-steps { list-style: none; padding: 0; counter-reset: step; gap: 14px; }
.art-steps li { counter-increment: step; position: relative; padding-left: 52px; }
.art-steps li::before { content: counter(step); position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--t); color: var(--t-ink); font: 600 1.05rem/1 var(--font-head); }
.art-disclaimer { margin-top: 2em; font: 400 .95rem/1.5 var(--font-head); color: var(--muted); }
.quicknav a { white-space: nowrap; }
.refstrip-section, .refstrip-section + .section { padding-top: 0; }
.theme-hero .lead { margin-top: 16px; max-width: 62ch; }
.lp-hero .lead { margin-top: 16px; }
.menu:focus { outline: none; }
@media (max-width: 899px) {
  .menu__themes { gap: 8px; }
  .menu__theme { padding: 20px 14px 12px; }
  .menu__theme-no { display: none; }
  .menu__theme strong { grid-column: 2; font-size: 1.05rem; }
}

/* Fachartikel: Ablauf in Phasen (statt langer Diagramm-Kette) */
.phases { margin: 0 0 1.8em; }
.art .phases ol { list-style: none; padding: 0; margin: 0; }
.phases__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.phase { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px 14px 14px; border-radius: var(--r-m); background: var(--surface); }
.phase:not(:last-child)::after { content: ""; position: absolute; z-index: 1; right: -16px; top: 24px; width: 20px; height: 20px; border-radius: 50%; background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center/12px no-repeat; box-shadow: 0 0 0 3px #fff; }
.phase__label { margin: 0; font: 600 .82rem/1.2 var(--font-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.art .phase__title { margin: 0 0 4px; font-size: 1.3rem; }
.art .phase__steps { display: grid; gap: 6px; }
.phase__steps li { counter-increment: step; display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px 7px; border-radius: 10px; background: #fff; font: 500 .98rem/1.3 var(--font-head); }
.phase__steps li::before { content: counter(step); flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: -2px; border-radius: 50%; background: var(--surface-2); font: 600 .82rem/1 var(--font-head); }
.phase__steps li.is-key { background: var(--sonne); font-weight: 600; }
.phase__steps li.is-key::before { background: #000; color: #fff; }
.phases figcaption { margin-top: 12px; font: 400 .95rem/1.5 var(--font-head); color: var(--muted); }
.phases__key { background: var(--sonne); color: #000; border-radius: 4px; padding: 0 5px; }
@media (max-width: 760px) {
  .phases__list { grid-template-columns: 1fr; }
  .phase:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -16px; margin-left: -10px; transform: rotate(90deg); }
}

/* Diagramme vergrößern */
.diagram { position: relative; }
.diagram__zoom { position: absolute; z-index: 1; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 4px; border: 2px solid #000; border-radius: 999px; background: #fff; color: #000; font: 600 .92rem/1.2 var(--font-head); cursor: pointer; }
.diagram__zoom svg { width: 16px; height: 16px; margin-top: -2px; }
.diagram__zoom:hover { background: #000; color: #fff; }
.diagram__svg.is-zoomable { cursor: zoom-in; padding-top: 28px; }
.dzoom { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #fff; color: #000; }
.dzoom[open] { display: flex; flex-direction: column; }
.dzoom::backdrop { background: rgba(0,0,0,.5); }
.dzoom__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px var(--gutter); border-bottom: 1px solid var(--surface-2); }
.dzoom__title { flex: 1 1 260px; margin: 0; font: 600 1.05rem/1.3 var(--font-head); }
.dzoom__tools { display: flex; align-items: center; gap: 6px; }
.dzoom__tools button, .dzoom__close { min-width: 44px; min-height: 44px; padding: 6px 14px 4px; border: 2px solid #000; border-radius: 999px; background: #fff; color: #000; font: 600 1.05rem/1 var(--font-head); cursor: pointer; }
.dzoom__tools button:hover, .dzoom__close:hover { background: #000; color: #fff; }
.dzoom__close { background: #000; color: #fff; }
.dzoom__level { min-width: 4.2em; text-align: center; font: 600 1rem var(--font-head); }
.dzoom__stage { flex: 1; overflow: auto; padding: 24px; display: flex; }
.dzoom__stage svg { display: block; height: auto; margin: auto; flex: none; }
.dzoom__stage:focus { outline: none; }
.dzoom__stage:focus-visible { outline: 3px solid #000; outline-offset: -3px; }
.tile:not(.tile--cta)::before { content: none; }

/* Weiterlesen: Artikel-Karten am Abschnittsende */
.readmore { margin-top: 40px; }
.readmore__title { margin: 0 0 14px; font: 600 .95rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.readmore__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.readmore__card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 20px; height: 100%; padding: 30px 24px 22px; border-radius: var(--r-l); background: var(--t-tint); color: #000; text-decoration: none; transition: transform .25s var(--ease), color .25s; }
.readmore__card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--t); clip-path: polygon(0 0, 100% 0, 100% 4px, 0 12px); transition: clip-path .35s var(--ease); }
.readmore__meta { grid-column: 1 / -1; font: 600 .88rem/1.2 var(--font-cond); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); transition: color .25s; }
.readmore__card strong { font: 600 clamp(1.2rem, 1rem + .6vw, 1.45rem)/1.2 var(--font-head); }
.readmore__go { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid currentColor; }
.readmore__go svg { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.readmore__card:hover { transform: translateY(-3px); color: var(--t-ink); }
.readmore__card:hover::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.readmore__card:hover .readmore__meta { color: inherit; }
.readmore__card:hover .readmore__go svg { transform: translateX(3px); }
@media (max-width: 760px) { .readmore__list { grid-template-columns: 1fr; } }
.readmore__card { align-items: start; grid-template-rows: auto 1fr; }
.readmore__go { align-self: end; }
.readmore { margin-top: 56px; }

/* Ablauf als Schritt-Karten (statt Diagramm-Grafik) */
.flow { margin: 0 0 1.8em; }
.art .flow ol { list-style: none; padding: 0; margin: 0; }
.art .flow__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.flow__step { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px 12px 14px; border-radius: var(--r-m); background: var(--surface); font: 400 .9rem/1.35 var(--font-head); }
.flow__step strong { font: 600 1.02rem/1.2 var(--font-head); }
.flow__step:not(:last-child)::after { content: ""; position: absolute; z-index: 1; right: -15px; top: 18px; width: 18px; height: 18px; border-radius: 50%; background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center/11px no-repeat; box-shadow: 0 0 0 3px #fff; }
.flow__who { align-self: flex-start; border-radius: 999px; padding: 3px 9px 1px; font: 600 .78rem/1.3 var(--font-cond); text-transform: uppercase; letter-spacing: .06em; }
.flow__who--mensch { background: var(--allerblau); color: #fff; }
.flow__who--system { background: var(--petrol); color: #fff; }
.flow__who--ki { background: var(--rasengruen); color: #000; }
.flow__who--done { background: #000; color: #fff; }
.flow__step--key { background: var(--allerblau); color: #fff; }
.flow__step--key .flow__who { background: #fff; color: #000; }
.flow__choices { display: grid; gap: 4px; }
.flow__choices span { border: 1.5px solid currentColor; border-radius: 8px; padding: 3px 8px 1px; font-weight: 600; }
.flow__step--done { background: #EAEDD6; }
.flow figcaption { margin-top: 12px; font: 400 .95rem/1.5 var(--font-head); color: var(--muted); }
@media (max-width: 760px) {
  .art .flow__steps { grid-template-columns: 1fr; }
  .flow__step:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -15px; margin-left: -9px; transform: rotate(90deg); }
}

/* Servicebar auf dem Handy: eine Zeile, Darstellung zum Aufklappen */
.a11y-toggle { display: none; }
@media (max-width: 700px) {
  .servicebar .wrap { flex-wrap: wrap; gap: 0 12px; min-height: 44px; }
  .servicebar ul { gap: 16px; flex-wrap: nowrap; }
  .servicebar a { min-height: 44px; }
  .servicebar .sb-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .a11y-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; background: transparent; color: #fff; font: 600 .95rem/1 var(--font-cond); letter-spacing: .03em; cursor: pointer; }
  .a11y-toggle span { font: 700 1rem/1 var(--font-head); }
  .a11y-toggle[aria-expanded="true"] { background: #fff; color: #000; }
  .a11y-tools { display: none; flex-basis: 100%; justify-content: flex-end; padding: 0 0 10px; }
  .servicebar.is-open .a11y-tools { display: flex; }
  .a11y-tools button { height: 36px; min-width: 40px; }
}

/* Fachartikel und Seiten mit Inhaltsverzeichnis: Spalte darf schmaler werden als breite Tabellen */
@media (max-width: 960px) { .art-layout { grid-template-columns: minmax(0, 1fr); } }
.art-table, .art .diagram, .art .phases, .art .flow { max-width: 100%; }

/* Artikel-Tabellen auf dem Handy als Karten */
@media (max-width: 640px) {
  .art-table.is-stackable { overflow: visible; border: 0; }
  .art-table.is-stackable table { min-width: 0; }
  .art-table.is-stackable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .art-table.is-stackable tbody, .art-table.is-stackable tr, .art-table.is-stackable th, .art-table.is-stackable td { display: block; }
  .art-table.is-stackable tr { margin-bottom: 12px; border: 1.5px solid var(--surface-2); border-radius: 14px; overflow: hidden; }
  .art-table.is-stackable tbody th { background: var(--surface); border-top: 0; font-size: 1.05rem; }
  .art-table.is-stackable td { border-top: 1px solid var(--surface-2); }
  .art-table.is-stackable td::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 600 .78rem/1.2 var(--font-cond); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
  .art-table.is-stackable td:nth-child(2) { background: none; }
  .art-table.is-stackable caption { display: block; padding: 0 0 10px; }
}

/* =====================================================================
   Baukasten: Abschnitte mit Spalten, verschachtelte Module
   ===================================================================== */
.bk-canvas { display: block; padding: 0 0 20px; }
.bk-slot { display: grid; gap: 10px; align-content: start; min-width: 0; }
.bk-slot--root { gap: 4px; }
.bk-slot--root > .bk-block { margin: 0 20px; }
.bk-slot--root > .bk-block--section, .bk-slot--root > .bk-block--stage { margin: 0; padding: 0; border-radius: 0; }
.bk-slot:not(.bk-slot--root) > .bk-block { margin: 0; padding: 4px; }
.bk-block:hover:has(.bk-block:hover) { outline-color: transparent; }
.bk-block--section.is-selected, .bk-block--section:hover:not(:has(.bk-block:hover)) { outline-offset: -3px; }
.bk-block--section > .bk-tools, .bk-block--stage > .bk-tools { top: 8px; }
.bk-slot__add { justify-self: stretch; border: 1.5px dashed var(--hellgrau); background: rgba(255,255,255,.7); color: var(--muted); border-radius: 10px; padding: 7px 10px 5px; font: 600 .85rem/1.2 var(--font-head); cursor: pointer; transition: border-color .15s, color .15s, background-color .15s; }
.bk-slot__add:hover, .bk-slot__add:focus-visible { border-color: var(--allerblau); color: #000; background: #fff; }
.bk-slot--root > .bk-slot__add { margin: 10px 20px 0; padding: 12px; }
.bk-drop { height: 6px; margin: 2px 0; border-radius: 4px; background: var(--allerblau); box-shadow: 0 0 0 4px rgba(70,120,160,.2); }
.bk-slot--root > .bk-drop { margin: 2px 20px; }
.is-dragging .bk-slot:not(.bk-slot--root) { background: rgba(70,120,160,.06); border-radius: 10px; }
.is-dragging .bk-canvas { outline: 0; }

/* Abschnitt mit Spalten */
.bk-section { padding: 24px 20px; }
.bk-section--grau { background: var(--surface); }
.bk-section--farbe { background: var(--t); color: var(--t-ink); }
.bk-section__title { margin: 0 0 14px; font-size: clamp(1.3rem, 1rem + 1.2cqi, 1.7rem); }
.bk-grid { display: grid; grid-template-columns: var(--cols); gap: 18px; align-items: start; }
.bk-cell { min-width: 0; }
.bk:not(.is-preview) .bk-grid--2 > .bk-cell > .bk-slot, .bk:not(.is-preview) .bk-grid--3 > .bk-cell > .bk-slot { min-height: 64px; padding: 6px; border-radius: 12px; outline: 1.5px dashed rgba(70,120,160,.32); outline-offset: 0; }
.bk:not(.is-preview) .bk-section--farbe .bk-grid > .bk-cell > .bk-slot { outline-color: rgba(255,255,255,.45); }
.bk-section--farbe .bk-slot__add { background: rgba(255,255,255,.88); }
@container (max-width: 600px) { .bk-grid { grid-template-columns: 1fr; } }
.bk-frame[data-device="mobile"] .bk-grid { grid-template-columns: 1fr; }

/* Box und Akkordeon als Container */
.bk-box { border-radius: 14px; padding: 14px; height: 100%; }
.bk-box--tint { background: var(--t-tint); color: #000; }
.bk-box--fill { background: var(--t); color: var(--t-ink); }
.bk-box--rahmen { position: relative; overflow: hidden; background: #fff; color: #000; box-shadow: var(--shadow); padding-top: 22px; }
.bk-box--rahmen::before { content: ""; position: absolute; inset: 0 0 auto; height: 12px; background: var(--t); clip-path: polygon(0 0, 100% 0, 100% 35%, 0 100%); }
.bk-acc details > div { padding: 0 10px 10px; }
.bk-acc summary { padding: 12px 44px 10px 14px; }

/* Bühne mit Suchfeld */
.bk-stage__card { max-width: 560px; }
.bk-search { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 2px solid #000; border-radius: 999px; background: #fff; color: var(--muted); padding: 6px 6px 6px 16px; font: 500 .95rem/1.2 var(--font-head); }
.bk-search b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #000; color: #fff; flex: none; }
.bk-search b svg { width: 18px; height: 18px; }
.bk-search--stage { margin-top: 14px; }

/* Inhalts-Module */
.bk-list { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; font: 400 1rem/1.5 var(--font-body); }
.bk-img--16-9 { aspect-ratio: 16 / 9; }
.bk-img--4-3 { aspect-ratio: 4 / 3; }
.bk-img--1-1 { aspect-ratio: 1; }
.bk-btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.bk-links { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.bk-links li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 92px; padding: 12px; border-radius: 12px; background: var(--t-tint); color: #000; font: 600 .98rem/1.2 var(--font-head); }
.bk-links__ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--t); color: var(--t-ink); }
.bk-links__ic svg { width: 20px; height: 20px; }
.bk-event { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--surface-2); }
.bk-event__date { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; background: var(--t); color: var(--t-ink); line-height: 1; }
.bk-event__date b { font: 700 1.3rem/1 var(--font-head); }
.bk-event__date small { font: 600 .78rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .06em; }
.bk-event__text { display: grid; gap: 2px; }
.bk-event__text span { color: var(--muted); font-size: .9rem; }
.bk-section--farbe .bk-event__text span, .bk-box--fill .bk-event__text span { color: inherit; }
.bk-fact { display: grid; gap: 2px; padding: 6px 0 4px; border-top: 6px solid var(--t); }
.bk-fact strong { font: 700 clamp(1.8rem, 1.2rem + 2cqi, 2.6rem)/1.05 var(--font-head); }
.bk-fact span { font: 500 .98rem/1.3 var(--font-head); color: var(--muted); }
.bk-section--farbe .bk-contact, .bk-box--fill .bk-contact { color: #000; }

/* Bibliothek in Gruppen, Modul-Auswahl, Layout-Wahl */
.bk-lib-group { margin: 10px 2px 0; font: 600 .78rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.bk-lib-group:first-child { margin-top: 0; }
.bk-picker { position: fixed; z-index: 60; max-height: min(460px, calc(100vh - 24px)); overflow-y: auto; background: #fff; border-radius: 16px; box-shadow: 0 2px 6px rgba(0,0,0,.08), 0 24px 60px rgba(0,0,0,.24); padding: 12px; color: #000; }
.bk-picker[hidden] { display: none; }
.bk-picker__title { margin: 0 0 8px; font: 600 1rem var(--font-head); }
.bk-library--picker { gap: 4px; }
.bk-library--picker .bk-lib { padding: 7px 9px; }
.bk-layouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.bk-layouts button { display: grid; gap: 6px; justify-items: center; padding: 8px 6px 6px; border: 1.5px solid var(--surface-2); border-radius: 10px; background: #fff; cursor: pointer; font: 600 .78rem/1.2 var(--font-head); color: #000; }
.bk-layouts button[aria-checked="true"] { border-color: #000; background: var(--surface); }
.bk-lay { display: grid; grid-template-columns: var(--cols); gap: 3px; width: 100%; height: 26px; }
.bk-lay i { border-radius: 4px; background: var(--allerblau); opacity: .75; }

/* =====================================================================
   Kompakte Seitenköpfe auf Unterseiten (Startseite behält den großen Hero)
   ===================================================================== */
.page-hero { padding: clamp(28px, 4vw, 52px) 0 calc(clamp(26px, 3.4vw, 44px) + var(--ramp)); }
.page-hero::after { height: 150%; top: -10%; opacity: .07; }
.page-hero h1, .art-hero h1 { font-size: clamp(1.8rem, 1.25rem + 1.9vw, 2.75rem); max-width: 28ch; line-height: 1.08; }
.page-hero .lead { font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem); max-width: 64ch; margin-top: 10px; }
.page-hero .kicker { margin-bottom: 10px; }
.page-hero .kicker::before { width: 40px; height: 9px; margin-bottom: 10px; }
.page-hero .hero-ic { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 12px; }
.page-hero .hero-ic svg { width: 24px; height: 24px; }
.page-hero .chips--hero { margin-top: 16px; }
.page-hero .chip--hero { min-height: 36px; padding: 4px 14px 2px; font-size: .95rem; }
.page-hero .art-meta { margin-top: 12px; }
.page-hero .hero__actions { margin-top: 18px; }

/* Baukasten: Feinschliff */
.bk-slot > .bk-block, .bk-cell, .bk-box { min-width: 0; }
.bk-contact, .bk-event__text, .bk-links li { overflow-wrap: anywhere; }
.bk-slot:not(.bk-slot--root) > .bk-slot__add { padding: 3px 8px 2px; font-size: .78rem; opacity: 0; transition: opacity .15s; }
.bk-slot:not(.bk-slot--root):not(:has(> .bk-block)) > .bk-slot__add, .bk-slot:not(.bk-slot--root):hover > .bk-slot__add, .bk-slot__add:focus-visible, .bk-block.is-selected > * .bk-slot__add { opacity: 1; }
.bk-slot:not(.bk-slot--root):not(:has(> .bk-block)) > .bk-slot__add { padding: 14px 8px; }
.bk-box .bk-contact { background: none; padding: 0; }

/* Unterseiten-Köpfe noch kompakter */
.page-hero, .page-hero + .page-ramp { --ramp: clamp(12px, 1.8vw, 26px); }
.page-hero { padding: clamp(24px, 3vw, 40px) 0 calc(clamp(22px, 2.6vw, 34px) + var(--ramp)); }
.page-hero::after { opacity: .05; }
.page-hero .hero-ic { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 10px; }
.page-hero .hero-ic svg { width: 21px; height: 21px; }
.page-hero .hero-ic + .kicker::before { display: none; }
.page-ramp + .section, .page-ramp + * + .section:not(.band--gray) { padding-top: calc(var(--space) * .55); }
.page-ramp + .band--gray { padding-top: calc(var(--space) * .5); }
.art-layout { padding-top: clamp(24px, 3.5vw, 44px); }

/* =====================================================================
   Baukasten: weitere Module
   ===================================================================== */
/* Text-Stile */
.bk-p--lead { font: 500 1.18rem/1.5 var(--font-head); }
.bk-p--klein { font: 400 .88rem/1.5 var(--font-head); color: var(--muted); }
.bk-p--spalten { column-count: 2; column-gap: 28px; }
@container (max-width: 600px) { .bk-p--spalten { column-count: 1; } }

/* Bildformate und Bildnachweis */
.bk-img--3-2 { aspect-ratio: 3 / 2; }
.bk-img--3-4 { aspect-ratio: 3 / 4; }
.bk-img--21-9 { aspect-ratio: 21 / 9; }
.bk-credit { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.62); color: #fff; border-radius: 6px; padding: 2px 7px 1px; font: 500 .72rem/1.3 var(--font-head); }

/* Öffnungszeiten */
.bk-hours { border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--surface-2); padding: 14px 16px; color: #000; }
.bk-hours__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 8px; }
.bk-hours__head strong { font: 600 1.05rem/1.2 var(--font-head); }
.bk-hours__now { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: #EAEDD6; padding: 3px 10px 2px; font: 600 .82rem/1.2 var(--font-head); }
.bk-hours__now i { width: 8px; height: 8px; border-radius: 50%; background: #5E6B12; }
.bk-hours dl { display: grid; gap: 0; margin: 0; }
.bk-hours dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0 6px; border-top: 1px solid var(--surface-2); font: 500 .98rem/1.3 var(--font-head); }
.bk-hours dt { font-weight: 600; }
.bk-hours dd { margin: 0; text-align: right; }
.bk-hours .is-closed dd { color: var(--muted); }
.bk-hours__note { margin: 8px 0 0; font: 400 .88rem/1.45 var(--font-head); color: var(--muted); }
.bk-box--fill .bk-hours, .bk-section--farbe .bk-hours { color: #000; }

/* Slider */
.bk-slider { position: relative; border-radius: 16px; overflow: hidden; background: #000; }
.bk-slide { display: grid; grid-template-columns: 1fr; }
.bk-slide[hidden] { display: none; }
.bk-slide__img { aspect-ratio: 21 / 9; }
.bk-slide__img svg { width: 100%; height: 100%; display: block; }
.bk-slide__card { position: absolute; left: 16px; bottom: 58px; max-width: min(440px, calc(100% - 32px)); display: grid; gap: 6px; justify-items: start; background: #fff; color: #000; border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); }
.bk-slide__title { font: 600 1.25rem/1.15 var(--font-head); }
.bk-slide__card p { margin: 0; font: 400 .95rem/1.45 var(--font-head); }
.bk-slider__nav { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #000; color: #fff; }
.bk-slider__nav button { min-width: 34px; height: 34px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.45); background: transparent; color: #fff; font: 600 1rem/1 var(--font-head); cursor: pointer; padding: 0 10px; }
.bk-slider__nav button:hover { background: #fff; color: #000; }
.bk-slider__dots { display: flex; gap: 6px; }
.bk-slider__dots button { min-width: 0; width: 12px; height: 12px; padding: 0; border-radius: 50%; }
.bk-slider__dots button[aria-current="true"] { background: #fff; }
.bk-slider__count { margin-left: auto; font: 600 .9rem var(--font-cond); letter-spacing: .06em; }
@container (max-width: 600px) { .bk-slide__img { aspect-ratio: 4 / 3; } .bk-slide__card { position: static; max-width: none; border-radius: 0; box-shadow: none; } }

/* Downloads und Medien */
.bk-dl__title { margin: 0 0 8px; font-size: 1.15rem; }
.bk-dl ul, .bk-media, .bk-mpick { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.bk-dl li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--surface-2); color: #000; }
.bk-dl__type { flex: none; display: grid; place-items: center; width: 44px; height: 52px; border-radius: 8px; background: var(--anthrazit); color: #fff; font: 700 .78rem/1 var(--font-cond); letter-spacing: .04em; clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); }
.bk-dl__text { flex: 1; display: grid; gap: 3px; min-width: 0; }
.bk-dl__text strong { font: 600 1rem/1.25 var(--font-head); }
.bk-dl__text small { color: var(--muted); font-size: .85rem; }
.bk-dl__btn { flex: none; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: #000; color: #fff; padding: 7px 13px 5px; font: 600 .85rem/1.2 var(--font-head); }
.bk-dl__btn svg { width: 16px; height: 16px; }
@container (max-width: 600px) { .bk-dl li { flex-wrap: wrap; } .bk-dl__btn { margin-left: 56px; } }
.bk-status { justify-self: start; display: inline-block; border-radius: 999px; padding: 2px 9px 1px; font: 600 .76rem/1.35 var(--font-head); }
.bk-status--ok { background: #EAEDD6; color: #3D4610; }
.bk-status--warn { background: #FFF5CC; color: #5C4A00; }
.bk-status--run { background: #DAE4EC; color: #1F3A52; }
.bk-media li { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 12px; border: 1.5px solid var(--surface-2); }
.bk-media .bk-dl__type { width: 36px; height: 44px; font-size: .68rem; }
.bk-media__text { display: grid; gap: 4px; min-width: 0; }
.bk-media__text strong { font: 600 .95rem/1.25 var(--font-head); }
.bk-media__text small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.bk-media__text code { font-size: .74rem; color: #1F3A52; word-break: break-all; }
.bk-media__acts { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.bk-mpick label { display: flex; gap: 10px; align-items: flex-start; padding: 8px; border-radius: 10px; border: 1.5px solid var(--surface-2); cursor: pointer; }
.bk-mpick input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.bk-mpick span { display: grid; gap: 3px; }
.bk-mpick strong { font: 600 .9rem/1.25 var(--font-head); }
.bk-mpick small { color: var(--muted); font-size: .78rem; }
.bk-tabs button { font-size: .8rem; }

/* Hinweis, Zitat, Ansprechperson */
.bk-note { display: flex; gap: 12px; align-items: flex-start; border-radius: 14px; padding: 12px 14px; color: #000; }
.bk-note__ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; }
.bk-note__ic svg { width: 20px; height: 20px; }
.bk-note strong { display: block; font: 600 1rem/1.25 var(--font-head); margin-bottom: 2px; }
.bk-note p { margin: 0; font: 400 .95rem/1.45 var(--font-head); }
.bk-note--info { background: #DAE4EC; }
.bk-note--wichtig { background: #FEE4CC; }
.bk-note--frist { background: #FFF5CC; }
.bk-note--erledigt { background: #EAEDD6; }
.bk-quote { margin: 0; padding: 4px 0 4px 18px; position: relative; }
.bk-quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; border-radius: 3px; background: var(--t); }
.bk-quote p { margin: 0 0 8px; font: 500 1.2rem/1.4 var(--font-head); }
.bk-quote footer { display: grid; gap: 1px; font: 400 .9rem/1.3 var(--font-head); color: var(--muted); }
.bk-quote footer strong { color: #000; }
.bk-section--farbe .bk-quote footer, .bk-section--farbe .bk-quote footer strong { color: inherit; }
.bk-person { display: flex; gap: 12px; align-items: center; color: inherit; }
.bk-person__img { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--t); color: var(--t-ink); font: 700 1.1rem/1 var(--font-head); }
.bk-person > div { display: grid; gap: 1px; font: 400 .92rem/1.35 var(--font-head); min-width: 0; overflow-wrap: anywhere; }
.bk-person strong { font-size: 1.02rem; }
.bk-person__role { color: var(--muted); }
.bk-section--farbe .bk-person__role, .bk-box--fill .bk-person__role { color: inherit; }

/* Funktionen: Modul-Übersicht */
.module-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.module-groups h3 { font-size: 1.1rem; margin: 0 0 10px; }
.module-facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.module-facts li { display: grid; gap: 6px; padding: 20px; border-radius: var(--r-m); background: #fff; }
.module-facts strong { font: 600 1.15rem/1.2 var(--font-head); }
.module-facts span { font: 400 1rem/1.5 var(--font-head); }
@media (max-width: 900px) { .module-groups, .module-facts { grid-template-columns: 1fr; } }

/* Baukasten: formatierter Text */
.bk-w--schmal { max-width: 60ch; }
.bk-w--normal { max-width: 75ch; }
.bk-w--breit { max-width: none; }
.bk-p a, .bk-note a { color: #2F5F86; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.bk-section--farbe .bk-p a, .bk-box--fill .bk-p a { color: inherit; }
mark.bk-mk--sonne { background: #FFEB99; color: #000; padding: 0 .15em; border-radius: 3px; }
mark.bk-mk--gruen { background: #D5DBAD; color: #000; padding: 0 .15em; border-radius: 3px; }
mark.bk-mk--rose { background: #FBD9DF; color: #000; padding: 0 .15em; border-radius: 3px; }
.bk-fc--allerblau { color: #3A6587; font-weight: 600; }
.bk-fc--petrol { color: #0F7879; font-weight: 600; }
.bk-fc--wald { color: #06373C; font-weight: 600; }
.bk-section--farbe .bk-fc--allerblau, .bk-section--farbe .bk-fc--petrol, .bk-section--farbe .bk-fc--wald { color: inherit; text-decoration: underline wavy; }
.bk-note--geschlossen { background: #FBD9DF; }
.bk-note__until { display: block; margin-top: 4px; color: #4a4a4a; font: 500 .8rem/1.3 var(--font-head); }
.bk-hint--box { padding: 10px 12px; border-radius: 10px; background: var(--surface); }
.bk-rt { position: fixed; z-index: 70; display: flex; flex-wrap: wrap; align-items: center; gap: 3px; max-width: calc(100vw - 16px); padding: 5px; border-radius: 12px; background: #000; color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.bk-rt[hidden] { display: none; }
.bk-rt button { min-width: 32px; height: 32px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent; color: #fff; font: 600 .88rem/1 var(--font-head); cursor: pointer; }
.bk-rt button:hover, .bk-rt button:focus-visible { background: rgba(255,255,255,.18); }
.bk-rt .bk-rt__mk { color: #000; }
.bk-rt__mk.bk-mk--sonne { background: #FFEB99; } .bk-rt__mk.bk-mk--gruen { background: #D5DBAD; } .bk-rt__mk.bk-mk--rose { background: #FBD9DF; }
.bk-rt__fc { background: #fff !important; color: var(--fc) !important; font-weight: 800 !important; }
.bk-rt__sep { width: 1px; height: 20px; background: rgba(255,255,255,.3); margin: 0 3px; }
.bk-rt__link { display: flex; gap: 4px; flex-basis: 100%; }
.bk-rt__link[hidden] { display: none; }
.bk-rt__link input { flex: 1; min-width: 180px; height: 32px; border-radius: 8px; border: 0; padding: 0 10px; font: 500 .9rem var(--font-head); color: #000; }
.bk-rt__link button { background: #fff; color: #000; }

/* Baukasten: Bilder, Termine, Download-Details */
.bk-img svg { width: 100%; height: 100%; display: block; }
.bk-imgpick-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; border-radius: 999px; padding: 5px 12px 3px; font: 600 .85rem/1.2 var(--font-head); box-shadow: var(--shadow); }
.bk-imgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.bk-imgs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; aspect-ratio: 3 / 2; cursor: pointer; background: none; }
.bk-imgs button svg { width: 100%; height: 100%; display: block; }
.bk-imgs button[aria-checked="true"] { border-color: #000; box-shadow: 0 0 0 2px #fff inset; }
.bk-stage--img { position: relative; isolation: isolate; }
.bk-stage__img { position: absolute; inset: 0; z-index: -1; }
.bk-stage__img svg { width: 100%; height: 100%; display: block; }
.bk-media__thumb { flex: none; width: 52px; height: 38px; border-radius: 6px; overflow: hidden; }
.bk-media__thumb svg { width: 100%; height: 100%; display: block; }
.bk-event.is-past, .bk-note.is-past { opacity: .5; }
.bk-past { display: block; margin-top: 2px; font: italic 600 .8rem/1.3 var(--font-cond); color: #8a1538; letter-spacing: .02em; }
.bk-show { border: 0; padding: 0; display: grid; gap: 6px; }
.bk-show legend { font: 600 .9rem var(--font-head); margin-bottom: 4px; padding: 0; }
.bk-show label { display: flex; align-items: center; gap: 8px; font: 500 .92rem var(--font-head); cursor: pointer; }
.bk-show input { width: 18px; height: 18px; }
.bk-side input[type="date"] { padding: 8px 10px 6px; font-size: .95rem; border-radius: 10px; }

/* Live-Beispiele der Module (Funktionen-Seite) */
.mdemo { margin-top: 40px; }
.mdemo__title { margin: 0 0 14px; font: 600 .95rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.mdemo__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.mdemo__item { margin: 0; display: grid; gap: 10px; padding: 18px; border-radius: var(--r-l); background: #fff; box-shadow: var(--shadow); min-width: 0; }
.mdemo__item--wide { grid-column: span 2; }
.mdemo__item > figcaption { font: 600 .82rem/1.2 var(--font-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.mdemo__show { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font: 500 .95rem var(--font-head); }
.mdemo__show label, .mdemo__toggle { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font: 500 .92rem var(--font-head); }
.mdemo__show input, .mdemo__toggle input { width: 18px; height: 18px; }
.bk-dl__text small [data-d]:not(.is-first)::before { content: " · "; }
.mdemo__ratios { display: flex; flex-wrap: wrap; gap: 6px; }
.mdemo__ratios button { border: 1.5px solid var(--surface-2); background: #fff; border-radius: 999px; padding: 5px 12px 3px; font: 600 .9rem var(--font-head); cursor: pointer; }
.mdemo__ratios button[aria-pressed="true"] { background: #000; color: #fff; border-color: #000; }
.mdemo__item .bk-img { position: relative; border-radius: 12px; overflow: hidden; max-height: 300px; margin: 0 auto; width: 100%; }
.mdemo__item .bk-img--3-4 { width: 60%; } .mdemo__item .bk-img--1-1 { width: 75%; }
.mdemo__note { margin: 0; font: 400 .9rem/1.45 var(--font-head); color: var(--muted); }
.mdemo__item .bk-slide__img { aspect-ratio: 21 / 8; }
@media (max-width: 1000px) { .mdemo__grid { grid-template-columns: 1fr; } .mdemo__item--wide { grid-column: auto; } .mdemo__item .bk-slide__card { position: static; max-width: none; border-radius: 0; box-shadow: none; } }

/* Such-Demo */
.sx { border-radius: var(--r-l); background: var(--surface); padding: clamp(18px, 3vw, 32px); }
.sx__form { display: flex; gap: 8px; }
.sx__form input { flex: 1; min-width: 0; height: 58px; border-radius: 999px; border: 2px solid #000; padding: 0 22px; font: 500 1.1rem var(--font-head); background: #fff; color: #000; }
.sx__form input:focus { outline: 3px solid var(--allerblau); outline-offset: 2px; }
.sx__form button { height: 58px; border-radius: 999px; border: 0; background: #000; color: #fff; padding: 0 24px; font: 600 1.05rem var(--font-head); cursor: pointer; }
.sx__examples, .sx__cats { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; }
.sx__examples span { font: 600 .9rem var(--font-head); color: var(--muted); margin-right: 4px; }
.sx__examples button, .sx__cats button, .sx__tags button { border: 1.5px solid var(--surface-2); background: #fff; color: #000; border-radius: 999px; padding: 5px 12px 3px; font: 500 .9rem/1.2 var(--font-head); cursor: pointer; }
.sx__examples button:hover, .sx__tags button:hover { border-color: #000; }
.sx__cats button[aria-pressed="true"] { background: var(--allerblau); border-color: var(--allerblau); color: #fff; }
.sx__out { margin-top: 18px; }
.sx__hint, .sx__count, .sx__fix { margin: 0 0 10px; font: 500 1rem/1.5 var(--font-head); color: var(--muted); }
.sx__fix strong { color: #000; }
.sx__answer { margin-bottom: 16px; padding: 18px 20px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 2px var(--allerblau); }
.sx__answer-label { margin: 0 0 8px; font: 600 .85rem/1.2 var(--font-head); color: var(--muted); display: flex; align-items: center; gap: 8px; }
.sx__ki { background: var(--allerblau); color: #fff; border-radius: 999px; padding: 3px 10px 2px; font-size: .8rem; }
.sx__answer-main { margin: 0 0 6px; font: 600 1.3rem/1.3 var(--font-head); }
.sx__answer p { margin: 0 0 10px; font: 400 1.02rem/1.55 var(--font-head); }
.sx__facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin: 0 0 10px; }
.sx__facts div { padding: 8px 12px; border-radius: 10px; background: var(--surface); }
.sx__facts div.is-focus { background: #DAE4EC; }
.sx__facts dt { font: 600 .78rem/1.2 var(--font-cond); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.sx__facts dd { margin: 2px 0 0; font: 500 .95rem/1.35 var(--font-head); }
.sx__source, .sx__feedback { margin: 0 !important; font-size: .9rem !important; color: var(--muted); }
.sx__source a { color: #2F5F86; font-weight: 600; }
.sx__feedback button { border: 1.5px solid var(--surface-2); background: #fff; border-radius: 999px; padding: 2px 10px; font: 600 .85rem var(--font-head); cursor: pointer; margin-left: 4px; }
.sx__results { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.sx__results li { padding: 14px 16px; border-radius: 14px; background: #fff; display: grid; gap: 4px; }
.sx__title { font: 600 1.12rem/1.3 var(--font-head); color: #000; text-decoration: none; }
.sx__title mark { background: #FFEB99; color: #000; border-radius: 3px; padding: 0 .1em; }
.sx__cat { font: 600 .78rem/1.2 var(--font-cond); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.sx__results p { margin: 0; font: 400 .95rem/1.5 var(--font-head); }
.sx__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.sx__tags button { padding: 2px 9px 1px; font-size: .8rem; color: #2F5F86; }
.sx__note { margin: 12px 0 0; font: 400 .9rem/1.5 var(--font-head); color: var(--muted); max-width: 80ch; }
@media (max-width: 560px) { .sx__form { flex-direction: column; } }

/* Leistungs-Kacheln: Beispiel-Element je Bereich */
.tile__demo { position: relative; z-index: 1; display: grid; gap: 8px; padding: 12px; border-radius: 16px; background: #fff; color: #000; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 20px rgba(0,0,0,.08); font-size: .92rem; transform: rotate(-.6deg); transition: transform .3s var(--ease); }
.tile:hover .tile__demo { transform: rotate(0) translateY(-2px); }
.tile__demo .bk-search { padding: 4px 4px 4px 14px; font-size: .9rem; }
.tile__demo .bk-search b { width: 28px; height: 28px; }
.tile__demo .bk-hours { box-shadow: none; padding: 2px 4px; }
.tile__demo .bk-hours dl > div { padding: 5px 0 4px; font-size: .9rem; }
.tile__demo .bk-dl ul { gap: 0; }
.tile__demo .bk-dl li { box-shadow: none; padding: 2px; }
.tile__demo .bk-dl__type { width: 36px; height: 44px; }
.tile__demo .bk-event { padding: 4px 0; }
.tile__demo .bk-event__date { width: 44px; height: 44px; }
.tile__demo .bk-note { padding: 8px 10px; }
.tile__demo .bk-p { font: 400 .95rem/1.5 var(--font-head); margin: 0; }
.tile__demo .bk-p a { color: #2F5F86; text-decoration: underline; font-weight: 600; }
.tdemo-results { list-style: none; display: grid; gap: 6px; margin: 0; padding: 0; }
.tdemo-results li { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--surface); font: 400 .9rem/1.4 var(--font-head); }
.tdemo-results mark { background: #FFEB99; color: #000; border-radius: 3px; }
.tdemo-results small { color: var(--muted); }
.tdemo-ki { background: #DAE4EC !important; }
.tdemo-ki span { justify-self: start; background: var(--allerblau); color: #fff; border-radius: 999px; padding: 1px 8px; font: 600 .72rem/1.4 var(--font-head); }
.tdemo-ki em { font-style: normal; color: var(--muted); font-size: .8rem; }
.tdemo-swatches { display: flex; gap: 6px; }
.tdemo-swatches i { width: 24px; height: 24px; border-radius: 50%; background: var(--c); }
.tdemo-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tdemo-facts .bk-fact strong { font-size: 1.7rem; }
.tdemo-facts .bk-fact span { font-size: .85rem; }
.tdemo-chat { display: grid; gap: 6px; }
.tdemo-q { justify-self: end; margin: 0; background: #000; color: #fff; border-radius: 14px 14px 4px 14px; padding: 6px 12px; font: 500 .9rem var(--font-head); }
.tdemo-a { margin: 0; background: var(--surface); border-radius: 14px 14px 14px 4px; padding: 8px 12px; font: 400 .9rem/1.45 var(--font-head); display: grid; }
.tdemo-a em { font-style: normal; color: var(--muted); font-size: .78rem; }
.tile--hero .tile__demo { max-width: 520px; }
.tile__demo, .tile__demo .bk-event__text strong { font-family: var(--font-head); }

/* Korrekturen Modul-Beispiele */
[hidden] { display: none !important; }
.bk-note p strong, .bk-note p a { display: inline; font-size: inherit; margin: 0; }
.bk-note p strong { font-weight: 700; }
.mdemo__item, .bk-btn, .bk-event__text, .bk-dl__text small, .bk-slide__card { font-family: var(--font-head); }
.mdemo .bk-p { font: 400 1.02rem/1.6 var(--font-body); }

/* Baukasten: zentrale Datensätze */
.bk-ref { justify-self: start; display: inline-flex; align-items: center; gap: 4px; margin-bottom: 6px; border-radius: 999px; background: #000; color: #fff; padding: 2px 9px 1px; font: 600 .72rem/1.4 var(--font-head); }
.bk-ref::before { content: "⟲"; font-size: .8rem; }
.bk-person .bk-ref { position: absolute; top: -10px; right: 0; margin: 0; }
.bk-person { position: relative; }
.bk-away { display: block; margin-top: 4px; padding: 6px 9px 5px; border-radius: 8px; background: #FBD9DF; color: #000; font: 500 .85rem/1.4 var(--font-head); }
.bk-data__h { margin: 18px 0 8px; font-size: 1rem; }
.bk-rec legend small { font-weight: 500; color: var(--muted); }
.bk-rec__row { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 8px; font: 500 .85rem var(--font-head); }
.bk-rec__row--col { grid-template-columns: 1fr; }
.bk-tabs { flex-wrap: wrap; }
.bk-tabs button { flex: 1 1 auto; padding-inline: 8px; }

/* Baukasten + Website: Kontaktformular mit Zuständigkeiten */
.bk-form { display: grid; gap: 10px; padding: 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--surface-2); color: #000; font-family: var(--font-head); }
.bk-form__title { font: 600 1.2rem/1.2 var(--font-head); }
.bk-form__step { margin: 4px 0 0; font: 600 .8rem/1.2 var(--font-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.bk-form__topics { display: flex; flex-wrap: wrap; gap: 6px; }
.bk-form__topics button { border: 1.5px solid var(--surface-2); background: #fff; border-radius: 999px; padding: 5px 12px 3px; font: 600 .88rem/1.2 var(--font-head); cursor: pointer; color: #000; }
.bk-form__topics button[aria-pressed="true"] { background: var(--t); color: var(--t-ink); border-color: var(--t); }
.bk-form__search { height: 42px; border-radius: 999px; border: 1.5px solid var(--hellgrau); padding: 0 16px; font: 500 .95rem var(--font-head); }
.bk-form__people { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin: 0; padding: 0; }
.bk-form__people button { width: 100%; height: 100%; display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 10px; border-radius: 12px; border: 2px solid var(--surface-2); background: #fff; cursor: pointer; color: #000; font: 400 .9rem/1.35 var(--font-head); }
.bk-form__people button[aria-checked="true"] { border-color: var(--t); background: var(--t-tint); }
.bk-form__people .bk-person__img { width: 40px; height: 40px; font-size: .85rem; flex: none; }
.bk-form__people strong { display: block; font-size: .98rem; }
.bk-form__people small { display: block; color: var(--muted); }
.bk-form__people em { display: block; margin-top: 4px; font-style: normal; font-size: .8rem; background: #FBD9DF; border-radius: 6px; padding: 2px 6px; }
.bk-form__none { margin: 0; font-size: .9rem; color: var(--muted); }
.bk-form__fixed { margin: 0; }
.bk-form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.bk-form__fields label { display: grid; gap: 3px; font: 600 .85rem var(--font-head); }
.bk-form__fields input[type="text"], .bk-form__fields input[type="email"], .bk-form__fields textarea { border: 1.5px solid var(--hellgrau); border-radius: 10px; padding: 8px 10px; font: 500 .95rem var(--font-head); }
.bk-form__msg { grid-column: 1 / -1; }
.bk-form__check { grid-column: 1 / -1; display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; }
.bk-form .bk-btn { justify-self: start; }
.bk-form__hint { color: var(--muted); font-size: .82rem; }
@container (max-width: 600px) { .bk-form__fields { grid-template-columns: 1fr; } }

/* Startseite: zentrale Datensätze */
.reuse { display: grid; grid-template-columns: minmax(0, 4fr) auto minmax(0, 7fr); gap: 20px; align-items: center; }
.reuse__editor { display: grid; gap: 10px; padding: 22px; border-radius: var(--r-l); background: #000; color: #fff; }
.reuse__label { margin: 0; font: 600 .82rem/1.2 var(--font-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--neongruen); }
.reuse__editor label { display: grid; gap: 4px; font: 600 .88rem var(--font-head); }
.reuse__editor input[type="text"] { height: 42px; border-radius: 10px; border: 0; padding: 0 12px; font: 500 1rem var(--font-head); color: #000; }
.reuse__check { display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; }
.reuse__check input { width: 18px; height: 18px; }
.reuse__usage { margin: 4px 0 0; font: 400 .88rem/1.45 var(--font-head); color: rgba(255,255,255,.75); }
.reuse__flow { display: grid; justify-items: center; gap: 6px; text-align: center; font: 600 .78rem/1.2 var(--font-cond); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.reuse__flow svg { width: 36px; height: 36px; color: var(--allerblau); }
.reuse__pages { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.reuse__page { display: grid; gap: 8px; align-content: start; padding: 12px; border-radius: 16px; background: var(--surface); }
.reuse__url { font: 500 .72rem/1.2 var(--font-head); color: var(--muted); background: #fff; border-radius: 999px; padding: 3px 9px; justify-self: start; }
.reuse__title { font: 600 1rem/1.2 var(--font-head); }
.reuse__lines { display: grid; gap: 5px; } .reuse__lines i { height: 6px; border-radius: 3px; background: var(--surface-2); } .reuse__lines i:last-child { width: 60%; }
.reuse__page .bk-person { padding: 10px; border-radius: 12px; background: #fff; font-family: var(--font-head); }
.reuse__page .bk-person__img { width: 44px; height: 44px; font-size: .9rem; }
.reuse__page.is-flash .bk-person { animation: reuse-flash .7s var(--ease); }
@keyframes reuse-flash { from { box-shadow: 0 0 0 4px var(--rasengruen); } to { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .reuse__page.is-flash .bk-person { animation: none; } }
.reuse__kinds { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 28px 0 0; padding: 0; }
.reuse__kinds li { display: grid; gap: 4px; padding: 16px; border-radius: var(--r-m); border: 1.5px solid var(--surface-2); }
.reuse__kinds strong { font: 600 1.05rem/1.2 var(--font-head); }
.reuse__kinds span { font: 400 .92rem/1.45 var(--font-head); color: var(--muted); }
.reuse__form-head { margin: 48px 0 14px; max-width: 70ch; }
.reuse__form-head h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); margin: 0 0 8px; }
.reuse__form-head p { margin: 0; font: 400 1.05rem/1.55 var(--font-head); color: var(--muted); }
[data-contact-demo] .bk-form { padding: clamp(16px, 2.5vw, 26px); }
[data-contact-demo] .bk-form .btn { justify-self: start; grid-column: 1 / -1; }
@media (max-width: 1100px) { .reuse { grid-template-columns: 1fr; } .reuse__flow { grid-auto-flow: column; } .reuse__flow svg { transform: rotate(90deg); } .reuse__kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .reuse__pages, .reuse__kinds { grid-template-columns: 1fr; } [data-contact-demo] .bk-form__fields { grid-template-columns: 1fr; } }
.bk-form textarea { min-height: 110px; height: 110px; }

/* Module-Abschnitt: Katalog und Galerie (überarbeitet) */
.mcat { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.1fr); gap: 16px; align-items: start; }
.mcat__group { border-radius: var(--r-l); background: #fff; padding: 20px 20px 12px; }
.mcat__group h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0 0 10px; font-size: 1.15rem; }
.mcat__group h3 small { font: 600 .78rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.mcat__group ul { list-style: none; margin: 0; padding: 0; display: grid; }
.mcat__group li { display: flex; gap: 12px; align-items: center; padding: 9px 0 8px; border-top: 1px solid var(--surface-2); }
.mcat__ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--t-tint); color: #000; }
.mcat__ic svg { width: 19px; height: 19px; }
.mcat__group li strong { display: block; font: 600 .98rem/1.2 var(--font-head); }
.mcat__group li small { display: block; font: 400 .85rem/1.35 var(--font-head); color: var(--muted); }
.mdemo { margin-top: 48px; }
.mdemo__title { margin: 0 0 16px; font-size: clamp(1.25rem, 1rem + .8vw, 1.55rem); }
.mdemo__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 16px; }
.mdemo__item { display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.mdemo__item > figcaption { display: grid; gap: 2px; font: inherit; text-transform: none; letter-spacing: 0; color: inherit; }
.mdemo__item > figcaption strong { font: 600 1.08rem/1.2 var(--font-head); color: #000; }
.mdemo__item > figcaption span { font: 400 .9rem/1.4 var(--font-head); color: var(--muted); }
.mdemo__stage { flex: 1; display: grid; align-content: start; gap: 10px; padding: 14px; border-radius: 14px; background: var(--surface); }
.mdemo__stage--flush { padding: 0; background: none; }
.mdemo__stage .bk-hours, .mdemo__stage .bk-dl li { background: #fff; }
.mdemo__controls { display: grid; gap: 10px; }
.mdemo__show { flex-wrap: wrap; }
.mdemo__show legend { float: left; margin-right: 6px; font: 600 .85rem var(--font-head); color: var(--muted); }
.mdemo__colors { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mdemo__colors button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; background: var(--c); box-shadow: 0 0 0 1.5px var(--surface-2); cursor: pointer; padding: 0; }
.mdemo__colors button[aria-checked="true"] { box-shadow: 0 0 0 2.5px #000; }
.mdemo__colorname { margin-left: 4px; font: 600 .85rem var(--font-head); color: var(--muted); }
.mdemo__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-btn--fill { background: var(--t); color: var(--t-ink); }
.mdemo__btns .bk-btn--ghost { background: #fff; color: #000; box-shadow: inset 0 0 0 2px var(--t); }
.bk-btn--dl { display: inline-flex; align-items: center; gap: 6px; background: var(--t); color: var(--t-ink); }
.bk-btn--dl svg { width: 16px; height: 16px; }
.bk-btn--dl small { font-weight: 500; opacity: .85; }
.bk-dl[class*="t-"] .bk-dl__type, .bk-dl[class*="t-"] .bk-dl__btn { background: var(--t); color: var(--t-ink); }
@media (max-width: 1100px) { .mcat { grid-template-columns: 1fr 1fr; } .mcat__group:first-child { grid-column: 1 / -1; } }
@media (max-width: 1000px) { .mdemo__grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .mcat { grid-template-columns: 1fr; } }

/* Baukasten: 10 CD-Farben */
.bk-swatches button { width: 30px; height: 30px; }
.bk-btn--ghost.bk-btn--dl { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px var(--t); }
.mdemo__title { font: 600 clamp(1.25rem, 1rem + .8vw, 1.55rem)/1.2 var(--font-head); text-transform: none; letter-spacing: 0; color: var(--text); }

/* Kontaktformular-Demo (zweispaltig) */
.cf2 { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px; border-radius: var(--r-l); background: var(--surface); }
.cf2__pick, .cf2__msg { display: grid; gap: 12px; padding: clamp(16px, 2vw, 24px); border-radius: 18px; background: #fff; }
.cf2__msg { position: relative; overflow: hidden; padding-top: calc(clamp(16px, 2vw, 24px) + 8px); }
.cf2__msg::before { content: ""; position: absolute; inset: 0 0 auto; height: 12px; background: var(--allerblau); clip-path: polygon(0 0, 100% 0, 100% 35%, 0 100%); }
.cf2__step { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 1.1rem/1.2 var(--font-head); }
.cf2__step span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #000; color: #fff; font-size: .9rem; }
.cf2__topics { display: flex; flex-wrap: wrap; gap: 6px; }
.cf2__topics button { border: 1.5px solid var(--surface-2); background: #fff; color: #000; border-radius: 999px; padding: 7px 14px 5px; font: 600 .92rem/1.2 var(--font-head); cursor: pointer; }
.cf2__topics button:hover { border-color: #000; }
.cf2__topics button[aria-pressed="true"] { background: #000; border-color: #000; color: #fff; }
.cf2__search { position: relative; display: block; }
.cf2__search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--muted); }
.cf2__search input { width: 100%; height: 46px; border-radius: 999px; border: 1.5px solid var(--hellgrau); background: var(--surface); padding: 0 16px 0 42px; font: 500 .98rem var(--font-head); }
.cf2__search input:focus { background: #fff; border-color: #000; outline: none; }
.cf2__count { margin: 0; font: 600 .8rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cf2__people { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cf2__people button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 2px solid transparent; background: var(--surface); color: #000; text-align: left; cursor: pointer; transition: border-color .15s, background-color .15s; }
.cf2__people button:hover { border-color: var(--surface-2); background: #fff; }
.cf2__people button[aria-checked="true"] { border-color: var(--allerblau); background: #fff; box-shadow: 0 6px 18px rgba(70,120,160,.15); }
.cf2__av { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--av); color: var(--avi); font: 700 .9rem/1 var(--font-head); }
.cf2__av--big { width: 56px; height: 56px; font-size: 1.1rem; }
.cf2__av--team { --av: #000; --avi: #fff; }
.cf2__who { flex: 1; display: grid; gap: 1px; min-width: 0; }
.cf2__who strong { font: 600 1rem/1.2 var(--font-head); }
.cf2__who small { font: 400 .88rem/1.3 var(--font-head); color: var(--muted); }
.cf2__who em { justify-self: start; margin-top: 3px; font: 500 .78rem/1.3 var(--font-head); font-style: normal; background: #FBD9DF; border-radius: 6px; padding: 2px 7px; }
.cf2__tick { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--hellgrau); color: transparent; }
.cf2__tick svg { width: 15px; height: 15px; }
[aria-checked="true"] .cf2__tick { background: var(--allerblau); border-color: var(--allerblau); color: #fff; }
.cf2__none { margin: 0; font: 400 .92rem/1.45 var(--font-head); color: var(--muted); }
.cf2__to { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; background: var(--surface); }
.cf2__to > span:last-child { display: grid; gap: 1px; min-width: 0; }
.cf2__to small { font: 600 .74rem/1.2 var(--font-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cf2__to strong { font: 600 1.2rem/1.2 var(--font-head); }
.cf2__to span span { font: 400 .9rem/1.35 var(--font-head); color: var(--muted); }
.cf2__to em { margin-top: 4px; font: 500 .82rem/1.35 var(--font-head); font-style: normal; color: #000; background: #FBD9DF; border-radius: 6px; padding: 3px 8px; justify-self: start; }
.cf2__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.cf2__fields label { display: grid; gap: 4px; font: 600 .85rem var(--font-head); }
.cf2__fields input[type="text"], .cf2__fields input[type="email"], .cf2__fields textarea { width: 100%; border: 1.5px solid var(--hellgrau); border-radius: 12px; padding: 10px 12px; font: 500 .98rem var(--font-head); background: #fff; }
.cf2__fields textarea { min-height: 110px; height: 110px; resize: vertical; }
.cf2__fields input:focus, .cf2__fields textarea:focus { outline: 3px solid var(--allerblau); outline-offset: 1px; border-color: transparent; }
.cf2__wide { grid-column: 1 / -1; }
.cf2__check { display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; }
.cf2__check input { width: 18px; height: 18px; }
.cf2__send { justify-self: stretch; justify-content: center; }
.cf2__note { display: flex; gap: 8px; align-items: flex-start; margin: 0; font: 400 .85rem/1.45 var(--font-head); color: var(--muted); }
.cf2__note svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--allerblau); }
.cf2__status { margin: 0; font: 500 .9rem/1.45 var(--font-head); color: #2F5F86; }
.cf2__status:empty { display: none; }
@media (max-width: 960px) { .cf2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cf2__fields { grid-template-columns: 1fr; } .cf2 { padding: 8px; } }
.reuse__page .bk-person > div > span:not(.bk-away) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Baukasten: globale Kontakte in der Bibliothek */
.bk-lib-note { margin: 2px 2px 4px; font: 400 .78rem/1.35 var(--font-head); color: var(--muted); }
.bk-lib__av { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--rasengruen); color: #000; font: 700 .8rem/1 var(--font-head); }
.bk-lib__av--place { border-radius: 9px; background: var(--allerblau); color: #fff; }
.bk-lib__av svg { width: 18px !important; height: 18px !important; padding: 0 !important; background: none !important; }
.bk-lib--contact { border-style: dashed; }

/* Kontakte als globale Objekte (Funktionen-Seite) */
.gobj { display: grid; grid-template-columns: minmax(0, 4fr) auto minmax(0, 8fr); gap: 18px; align-items: start; padding: 16px; border-radius: var(--r-l); background: var(--surface); }
.gobj__lib { display: grid; gap: 14px; padding: 18px; border-radius: 18px; background: #000; color: #fff; }
.gobj__label { margin: 0; font: 600 .8rem/1.2 var(--font-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--neongruen); }
.gobj__people { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gobj__obj { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; border: 2px solid transparent; background: rgba(255,255,255,.08); color: #fff; text-align: left; cursor: grab; font: 400 .88rem/1.3 var(--font-head); }
.gobj__obj:hover { background: rgba(255,255,255,.14); }
.gobj__obj[aria-pressed="true"] { border-color: var(--neongruen); background: rgba(255,255,255,.14); }
.gobj__obj span:nth-child(2) { flex: 1; display: grid; min-width: 0; }
.gobj__obj strong { font-size: .98rem; }
.gobj__obj small { color: rgba(255,255,255,.7); }
.gobj__count { flex: none; border-radius: 999px; background: #fff; color: #000; padding: 2px 8px; font: 700 .78rem/1.3 var(--font-head); }
.gobj__av { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--av); color: var(--avi); font: 700 .85rem/1 var(--font-head); }
.gobj__edit { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.2); }
.gobj__edit label { display: grid; gap: 3px; font: 600 .82rem var(--font-head); }
.gobj__edit input[type="text"] { height: 40px; border-radius: 10px; border: 0; padding: 0 12px; font: 500 .98rem var(--font-head); color: #000; }
.gobj__check { display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; }
.gobj__check input { width: 18px; height: 18px; }
.gobj__uses { margin: 0; font: 400 .85rem/1.4 var(--font-head); color: rgba(255,255,255,.75); }
.gobj__arrow { align-self: center; color: var(--allerblau); }
.gobj__arrow svg { width: 36px; height: 36px; }
.gobj__pages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gobj__page { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 16px; background: #fff; border: 2px solid transparent; transition: border-color .15s; }
.gobj__page.is-over { border-color: var(--allerblau); border-style: dashed; }
.gobj__url { justify-self: start; align-self: flex-start; font: 500 .7rem/1.2 var(--font-head); color: var(--muted); background: var(--surface); border-radius: 999px; padding: 3px 9px; }
.gobj__title { font: 600 1rem/1.2 var(--font-head); }
.gobj__lines { display: grid; gap: 5px; } .gobj__lines i { height: 6px; border-radius: 3px; background: var(--surface-2); } .gobj__lines i:last-child { width: 60%; }
.gobj__slot { flex: 1; display: grid; gap: 8px; align-content: start; padding: 10px; border-radius: 12px; background: var(--surface); }
.gobj__slotlabel { font: 600 .7rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.gobj__card { display: flex; gap: 10px; align-items: flex-start; }
.gobj__card > div { display: grid; gap: 1px; min-width: 0; font: 400 .85rem/1.35 var(--font-head); }
.gobj__card strong { font-size: .98rem; }
.gobj__card span { color: var(--muted); }
.gobj__card em { margin-top: 4px; font: 500 .78rem/1.35 var(--font-head); font-style: normal; background: #FBD9DF; color: #000; border-radius: 6px; padding: 3px 7px; }
.gobj__mail { justify-self: start; border-radius: 999px; background: #000; color: #fff; padding: 4px 11px 3px; font: 600 .8rem/1.3 var(--font-head); }
.gobj__empty { font: 500 .88rem var(--font-head); color: var(--muted); border: 1.5px dashed var(--hellgrau); border-radius: 10px; padding: 14px; text-align: center; }
.gobj__put { align-self: flex-start; border: 1.5px solid var(--surface-2); background: #fff; border-radius: 999px; padding: 5px 12px 3px; font: 600 .82rem var(--font-head); cursor: pointer; color: #000; }
.gobj__put:hover { border-color: #000; }
.gobj__page.is-flash .gobj__slot { animation: gobj-flash .8s var(--ease); }
@keyframes gobj-flash { from { box-shadow: 0 0 0 4px var(--neongruen); } to { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .gobj__page.is-flash .gobj__slot { animation: none; } }
@media (max-width: 1100px) { .gobj { grid-template-columns: 1fr; } .gobj__arrow { justify-self: center; transform: rotate(90deg); } }
@media (max-width: 760px) { .gobj__pages { grid-template-columns: 1fr; } }

/* Globale Kontakte: Felder mit Anzeige-Häkchen */
.gobj__label small { margin-left: 6px; font: 500 .72rem var(--font-head); text-transform: none; letter-spacing: 0; color: rgba(255,255,255,.65); }
.gobj__form { display: grid; gap: 6px; }
.gobj__row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 26px; align-items: center; gap: 8px; }
.gobj__row > label:first-child { font: 600 .78rem/1.2 var(--font-head); color: rgba(255,255,255,.85); }
.gobj__row input[type="text"], .gobj__row input[type="email"], .gobj__row select { width: 100%; height: 34px; border-radius: 8px; border: 0; padding: 0 10px; font: 500 .9rem var(--font-head); color: #000; background: #fff; }
.gobj__eye { display: grid; place-items: center; width: 26px; height: 26px; cursor: pointer; }
.gobj__eye input { width: 18px; height: 18px; accent-color: var(--neongruen); }
.gobj__eye--fix { color: var(--neongruen); font-weight: 700; cursor: default; }
.gobj__card .gobj__av { color: var(--avi); }
.gobj__card > div span { display: block; color: #000; }
.gobj__card > div span b { font-weight: 600; color: var(--muted); margin-right: 4px; }
.gobj__card .gobj__role { color: var(--muted) !important; }
@media (max-width: 560px) { .gobj__row { grid-template-columns: 1fr 26px; } .gobj__row > label:first-child { grid-column: 1 / -1; } }
.gobj__card > div span b { display: block; margin: 4px 0 0; font: 600 .66rem/1.2 var(--font-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.gobj__put--done { border-color: transparent; background: none; color: #3D4610; cursor: default; }

/* Baukasten: Kontaktfelder mit Anzeige-Häkchen */
.bk-rec__hint { margin: 0 0 2px; font: 500 .78rem var(--font-head); color: var(--muted); }
.bk-rec__row--eye { grid-template-columns: 86px minmax(0, 1fr) 22px; }
.bk-rec__eye { width: 18px; height: 18px; }
.bk-rec__fix { color: var(--rasengruen); font-weight: 700; text-align: center; }
.bk-person > div span b { display: block; margin-top: 3px; font: 600 .66rem/1.2 var(--font-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* Beispielseite aus Modulen */
.mpage-wrap { margin-bottom: 40px; }
.mpage-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 16px; }
.mpage-sub { margin: 4px 0 0; max-width: 62ch; font: 400 1rem/1.5 var(--font-head); color: var(--muted); }
.mpage-toggle { display: inline-flex; align-items: center; gap: 10px; border: 2px solid #000; background: #fff; color: #000; border-radius: 999px; padding: 9px 18px 7px; font: 600 .98rem var(--font-head); cursor: pointer; }
.mpage-toggle__dot { width: 34px; height: 20px; border-radius: 999px; background: var(--surface-2); position: relative; transition: background-color .2s; }
.mpage-toggle__dot::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.3); transition: transform .2s var(--ease); }
.mpage-toggle[aria-pressed="true"] { background: #000; color: #fff; }
.mpage-toggle[aria-pressed="true"] .mpage-toggle__dot { background: var(--neongruen); }
.mpage-toggle[aria-pressed="true"] .mpage-toggle__dot::after { transform: translateX(14px); }
.mpage { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.06), 0 30px 70px rgba(6,55,60,.18); color: #000; font-family: var(--font-head); }
.mpage__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #ECEDEA; }
.mpage__bar i { width: 10px; height: 10px; border-radius: 50%; background: #C9CBC7; }
.mpage__bar span { margin-left: 10px; background: #fff; border-radius: 999px; padding: 3px 14px; font: 500 .78rem var(--font-cond); color: var(--muted); }
.mpage__nav { display: flex; align-items: center; gap: 22px; padding: 12px 26px; border-bottom: 1px solid var(--surface-2); font: 600 .9rem var(--font-head); }
.mpage__nav .mini-logo { margin-right: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.mpage__nav .mini-logo b { width: 22px; height: 22px; border-radius: 6px; background: var(--rasengruen); }
.mpage__nav .mini-menu { background: #000; color: #fff; border-radius: 999px; padding: 4px 12px; }
.mpage .bk-stage { position: relative; padding: 40px 26px 64px; }
.mpage .bk-stage__card { max-width: 540px; }
.mpage__h1 { display: block; font: 600 clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem)/1.05 var(--font-head); margin: 6px 0 0; }
.mpage__stoerer { position: absolute; right: 26px; top: 28px; }
.mpage__body { display: grid; gap: 22px; padding: 26px; }
.mpage .bk-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mpage__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.mpage__grid--even { grid-template-columns: 1fr 1fr; }
.mpage__col { display: grid; gap: 16px; align-content: start; }
.mpage__h2 { margin: 0; font-size: 1.35rem; }
.mpage .bk-p { font: 400 1.02rem/1.6 var(--font-body); margin: 0; }
.mpage .bk-p a { color: #2F5F86; text-decoration: underline; font-weight: 600; }
.mpage__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mpage__tile { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: #fff; font-size: .9rem; }
.mpage__card { padding: 14px; border-radius: 14px; background: var(--surface); }
.mpage__btn { display: inline-flex; padding: 12px 20px 10px; }
.mpage__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 18px 0 4px; border-top: 1px solid var(--surface-2); }
/* Module sichtbar machen */
.mpage .mpage__mod { position: relative; transition: outline-color .2s; outline: 2px dashed transparent; outline-offset: 4px; border-radius: 8px; }
.mpage.is-xray .mpage__mod { outline-color: var(--orange); }
.mpage.is-xray .mpage__mod::after { content: attr(data-mod); position: absolute; z-index: 5; left: -2px; top: -14px; background: var(--orange); color: #000; border-radius: 6px; padding: 2px 8px 1px; font: 700 .7rem/1.4 var(--font-head); white-space: nowrap; pointer-events: none; }
.mpage.is-xray .bk-stage.mpage__mod::after { top: 8px; left: 8px; }
@media (prefers-reduced-motion: reduce) { .mpage .mpage__mod { transition: none; } }
@media (max-width: 900px) { .mpage__grid, .mpage__grid--even { grid-template-columns: 1fr; } .mpage .bk-links { grid-template-columns: 1fr 1fr; } .mpage__nav span:not(.mini-logo):not(.mini-menu) { display: none; } .mpage__stoerer { position: static; margin-top: 14px; } }
@media (max-width: 560px) { .mpage__facts { grid-template-columns: 1fr; } .mpage__body, .mpage .bk-stage { padding-left: 16px; padding-right: 16px; } }
.mdemo__title--detail { margin-top: 8px; }
.mpage .bk-stage .mpage__stoerer.mpage__mod { position: absolute; right: 26px; top: 26px; }
@media (max-width: 900px) { .mpage .bk-stage .mpage__stoerer.mpage__mod { position: relative; right: auto; top: auto; display: inline-block; margin-top: 14px; } }

/* Konsolidiert: kompakter Katalog, 2×2-Detailkarten */
.mcat { grid-template-columns: minmax(0, .7fr) minmax(0, 1.15fr) minmax(0, 1.4fr); }
.mcat__group { padding: 18px 18px 16px; }
.mcat__group ul { display: flex; flex-wrap: wrap; gap: 6px; }
.mcat__group li { display: inline-flex; gap: 8px; padding: 5px 12px 5px 5px; border: 1.5px solid var(--surface-2); border-radius: 999px; cursor: help; }
.mcat__group li small { display: none; }
.mcat__group li strong { font-size: .9rem; }
.mcat__ic { width: 28px; height: 28px; border-radius: 50%; }
.mcat__ic svg { width: 16px; height: 16px; }
.mpage-wrap { margin-bottom: 44px; }
.mdemo__grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .mdemo__grid--two { grid-template-columns: 1fr; } }
.mdemo__grid--two .mdemo__item .bk-img { max-height: 260px; }
