/* Webdesign Lippe
   Logo-Typo (Bebas Neue fett, Oswald dünn) für Abschnittstitel, Barlow für alles, was man liest und bedient.
   Heller, kühler Grund mit Haarlinien; Logo-Orange als Markenfläche oben und unten, sonst als Zustand. */

@font-face { font-family: "Bebas Neue"; src: url("../fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("../fonts/oswald-latin-200-normal.woff2") format("woff2"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("../fonts/oswald-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --orange: #f37c47;        /* Logo */
  --orange-text: #a8411a;   /* Orange für Text auf Weiß, 6.1:1 */
  --orange-soft: #fdeee6;
  --orange-hover: #ee6f37;
  --ink: #141414;
  --ink-hover: #2e2e2c;
  --text: #33332f;
  --muted: #62625d;         /* 6:1 auf Weiß */
  --bg: #ffffff;
  --bg-2: #f6f6f4;
  --line: rgba(20, 20, 20, .09);
  --line-2: rgba(20, 20, 20, .15);
  --on-ink: #e8e8e6;
  --on-ink-muted: #a9a9a4;
  --ok: #17663f;
  --ok-soft: #e3f3ea;
  --error: #b3261e;

  --bold: "Bebas Neue", "Arial Narrow", sans-serif;
  --thin: "Oswald", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(48px, 5.6vw, 80px);
  --r-1: 8px;
  --r-2: 12px;
  --r-3: 16px;
  --sh-1: 0 1px 2px rgba(20, 20, 20, .06), 0 1px 1px rgba(20, 20, 20, .03);
  --sh-2: 0 16px 36px -14px rgba(20, 20, 20, .22), 0 3px 8px -3px rgba(20, 20, 20, .08);
  --sh-3: 0 30px 60px -24px rgba(20, 20, 20, .35), 0 6px 14px -6px rgba(20, 20, 20, .12);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; scrollbar-color: #c7c7c2 transparent; accent-color: var(--orange-text); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: clamp(16px, .25vw + 15px, 17px); line-height: 1.6; caret-color: var(--orange-text); -webkit-font-smoothing: antialiased; }
::selection { background: #fbd0bb; color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--orange-text); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 400; }
:focus-visible { outline: 2px solid var(--orange-text); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: var(--r-1); }
.skip:focus, .skip:hover { top: 12px; color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic, svg:has(> use) { width: 1.15em; height: 1.15em; flex: none; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

/* Logo-Typo */
.w-bold { font-family: var(--bold); font-weight: 400; letter-spacing: .005em; }
.w-thin { font-family: var(--thin); font-weight: 200; text-transform: uppercase; letter-spacing: -.01em; }
.sec-title { font-size: clamp(34px, 3.8vw, 54px); line-height: 1.04; margin-bottom: 20px; text-wrap: balance; }
.sec-title .w-thin { font-size: .9em; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 64px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 56px); }
.sec-head .sec-title { margin: 0; }
.sec-head > p { color: var(--muted); max-width: 52ch; margin: 0; font-size: 1.05em; }
.sec-head > .more { justify-self: end; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } .sec-head > .more { justify-self: start; } }

/* Knöpfe und Links */
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  font: 600 15px/1.2 var(--body); text-decoration: none; border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  background: var(--orange); color: var(--ink);
  transition: background-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.btn:hover { color: var(--ink); background: var(--orange-hover); }
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(0, 0, 0, .25); }
.btn--ink:hover { background: var(--ink-hover); color: #fff; }
.btn--ink::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' 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='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s var(--ease); }
.btn--ink:hover::after { transform: translateX(3px); }
.btn--line { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--sh-1); }
.btn--line:hover { background: var(--bg-2); color: var(--ink); }
.hero__link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); }
.more svg { transition: transform .2s var(--ease); }
.more:hover { color: var(--orange-text); }
.more:hover svg { transform: translateX(3px); }
.on-ink-link { color: var(--orange); font-weight: 600; }
.on-ink-link:hover { color: #fff; }
.btn-mini { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 7px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); }
.btn-mini--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: var(--orange-soft); color: #8f3612; white-space: nowrap; }
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge .ic { width: 13px; height: 13px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #bbb; }
.dot--new { background: var(--orange); } .dot--offer { background: #4c6fd8; } .dot--job { background: #2e9a63; } .dot--bill { background: var(--ink); }
.ic.ok { color: var(--ok); }

/* =========================================================
   Kopf und Navigation
   ========================================================= */
.top { position: sticky; top: 0; z-index: 50; background: var(--orange); transition: background-color .25s, box-shadow .25s; }
.top.is-scrolled { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.top__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; min-height: 68px; }
.top__logo { flex: none; }
.top__logo img { width: clamp(180px, 17vw, 220px); }
.top__toggle { display: none; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav__group { position: relative; display: flex; align-items: center; }
.nav__link { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 8px; transition: background-color .15s; }
.nav__link:hover { color: var(--ink); background: rgba(20, 20, 20, .07); }
.nav__link[aria-current="page"] { background: rgba(20, 20, 20, .09); }
.nav__group .nav__link { padding-right: 4px; }
.nav__more { width: 26px; height: 32px; border: 0; background: none; cursor: pointer; color: var(--ink); position: relative; border-radius: 6px; margin-right: 6px; }
.nav__more::before { content: ""; position: absolute; left: 50%; top: 46%; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translate(-50%, -50%) rotate(45deg); transition: transform .2s var(--ease); }
.nav__group:hover .nav__more::before, .nav__more[aria-expanded="true"]::before { transform: translate(-50%, -15%) rotate(-135deg); }
.nav__sub {
  position: absolute; top: calc(100% + 10px); left: -8px; width: 540px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 8px;
  background: #fff; border-radius: var(--r-3); border: 1px solid var(--line); box-shadow: var(--sh-3);
  opacity: 0; visibility: hidden; transform: translateY(6px) scale(.985); transform-origin: top left;
  transition: opacity .18s, transform .25s var(--ease), visibility .18s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__group:hover .nav__sub, .nav__group.is-open .nav__sub, .nav__group:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: grid; gap: 1px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.nav__sub a:hover { background: var(--bg-2); color: var(--ink); }
.nav__sub b { font-weight: 600; font-size: 14.5px; }
.nav__sub span { font-size: 13px; color: var(--muted); }
.nav__cta { margin-left: 10px; display: inline-flex; align-items: center; min-height: 38px; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 9px; text-decoration: none; font-weight: 600; font-size: 14.5px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.nav__cta:hover, .nav__cta[aria-current="page"] { background: var(--ink-hover); color: #fff; }

@media (max-width: 1080px) {
  .top__toggle {
    display: inline-flex; align-items: center; gap: 10px; border: 0; background: var(--ink); color: #fff;
    font: 600 14.5px/1 var(--body); padding: 10px 14px; border-radius: 9px; cursor: pointer;
  }
  .top__bars, .top__bars::before, .top__bars::after { display: block; width: 15px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s, background-color .2s; }
  .top__bars::before, .top__bars::after { content: ""; position: absolute; left: 0; }
  .top__bars::before { top: -5px; } .top__bars::after { top: 5px; }
  .top__toggle[aria-expanded="true"] .top__bars { background: transparent; }
  .top__toggle[aria-expanded="true"] .top__bars::before { transform: translateY(5px) rotate(45deg); }
  .top__toggle[aria-expanded="true"] .top__bars::after { transform: translateY(-5px) rotate(-45deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; display: none; max-height: calc(100vh - 68px); overflow: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px var(--gutter) 24px; border-top: 1px solid var(--line); box-shadow: var(--sh-3);
  }
  .nav.is-open { display: flex; }
  .nav__group { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link { font-size: 17px; padding: 14px 0; flex: 1; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__link:hover, .nav__link[aria-current="page"] { background: none; color: var(--orange-text); }
  .nav__group .nav__link { border-bottom: 0; }
  .nav__more { display: none; }
  .nav__sub { position: static; width: 100%; grid-template-columns: 1fr; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; border: 0; padding: 0 0 10px; }
  .nav__sub a { padding: 8px 12px; }
  .nav__cta { margin: 18px 0 0; justify-content: center; min-height: 46px; }
}

/* =========================================================
   Startseite: Einstieg auf Orange
   ========================================================= */
.poster { background: var(--orange); color: var(--ink); position: relative; overflow: hidden; }
.poster a:not(.btn) { color: var(--ink); }
.hero { padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px clamp(32px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(46px, 5.4vw, 84px); line-height: .9; margin-bottom: 24px; }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 .w-thin { font-size: .8em; line-height: 1.12; }
.hero h1 .w-bold + .w-thin { margin-top: .14em; }
.hero__lead { max-width: 40ch; font-size: 1.08em; color: #241a14; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 28px 0 0; }
@media (max-width: 1000px) { .hero__grid { grid-template-columns: 1fr; } }

/* ---------- Fenster (gemeinsame Hülle aller UI-Beispiele) ---------- */
.win { background: #fff; border-radius: var(--r-2); overflow: hidden; box-shadow: var(--sh-3), 0 0 0 1px rgba(20, 20, 20, .1); }
.win--flat { position: relative; box-shadow: var(--sh-2), 0 0 0 1px var(--line); }
.win__bar { display: flex; align-items: center; justify-content: center; gap: 8px; height: 34px; padding: 0 12px; background: #f3f3f1; border-bottom: 1px solid var(--line); }
.win__bar i { display: none; }
.win__bar span { font-size: 12px; color: #5c5c58; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 80%; }
.mock { margin: 0; }
.mock figcaption, .stage figcaption { margin-top: 12px; font-size: 13.5px; }

/* ---------- Bühne: Website, Admin-Panel, KI-Assistent ---------- */
.stage { margin: 0; }
.stage__tabs { display: inline-flex; gap: 2px; padding: 3px; margin-bottom: 16px; background: rgba(20, 20, 20, .1); border-radius: 10px; }
.stage__tabs button { border: 0; background: none; color: var(--ink); cursor: pointer; font: 600 13.5px/1 var(--body); padding: 9px 14px; border-radius: 8px; min-height: 34px; transition: background-color .2s, color .2s, box-shadow .2s; }
.stage__tabs button:hover { background: rgba(20, 20, 20, .07); }
.stage__tabs button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
.stage__area { position: relative; aspect-ratio: 1 / .8; }
.stage .win { position: absolute; container-type: inline-size; transition: transform .5s var(--ease), filter .4s; }
.stage .win--admin { right: 0; top: 0; width: 86%; z-index: 1; }
.stage .win--site { left: 0; bottom: 5%; width: 58%; z-index: 2; }
.stage .win--phone { right: 3%; bottom: 0; width: 25%; z-index: 3; border-radius: 18px; box-shadow: 0 0 0 5px var(--ink), var(--sh-3); }
.stage[data-front] .win { filter: saturate(.85) brightness(.97); }
.stage[data-front="site"] .win--site, .stage[data-front="admin"] .win--admin, .stage[data-front="ai"] .win--phone { z-index: 5; filter: none; transform: translateY(-6px); }
.stage .win__bar { height: auto; padding: 1.1cqw 2cqw; }
.stage .win__bar span { font-size: max(1.5cqw, 9px); padding: .2cqw 2cqw; }

/* Admin-Panel */
.adm { display: grid; grid-template-columns: 20cqw 1fr; aspect-ratio: 16 / 9.4; font-family: var(--body); font-size: 1.45cqw; line-height: 1.35; color: #1f2328; background: #f5f6f8; }
.adm p { margin: 0; }
.adm svg { width: 1.9cqw; height: 1.9cqw; }
.adm__side { background: #17191c; color: #aeb4bc; padding: 2.2cqw 1.4cqw; display: flex; flex-direction: column; gap: .3cqw; }
.adm__logo { display: flex; align-items: center; gap: 1cqw; color: #fff; font-weight: 600; font-size: 1.6cqw; margin-bottom: 1.6cqw !important; }
.adm__logo span { display: grid; place-items: center; width: 3cqw; height: 3cqw; border-radius: .7cqw; background: var(--orange); color: var(--ink); font-size: 1.3cqw; }
.adm__item { display: flex; align-items: center; gap: 1cqw; padding: .75cqw 1cqw; border-radius: .7cqw; }
.adm__item.is-on { background: #2b2f35; color: #fff; }
.adm__item b { margin-left: auto; background: var(--orange); color: var(--ink); font-size: 1.1cqw; padding: 0 .7cqw; border-radius: 1cqw; }
.adm__main { padding: 2.2cqw 2.4cqw; display: flex; flex-direction: column; gap: 1.7cqw; min-width: 0; }
.adm__head { display: flex; justify-content: space-between; align-items: center; }
.adm__hi { font-size: 2.5cqw; font-weight: 600; letter-spacing: -.01em; }
.adm__date { font-size: 1.3cqw; color: #59606a; }
.adm__new { background: var(--ink); color: #fff; font-size: 1.3cqw; font-weight: 600; padding: .8cqw 1.4cqw; border-radius: .8cqw; }
.adm__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3cqw; }
.adm__kpis > div, .adm__card { background: #fff; border: 1px solid #e3e6ea; border-radius: 1cqw; padding: 1.4cqw 1.5cqw; }
.adm__kpis span { display: block; font-size: 1.2cqw; color: #59606a; }
.adm__kpis b { display: block; font-size: 2.6cqw; font-weight: 600; letter-spacing: -.02em; margin: .2cqw 0; font-variant-numeric: tabular-nums; }
.adm__kpis i { font-style: normal; font-size: 1.1cqw; color: var(--ok); }
.adm__cols { display: grid; grid-template-columns: 1fr 1.35fr; gap: 1.3cqw; flex: 1; }
.adm__t { font-size: 1.3cqw; font-weight: 600; margin-bottom: 1.1cqw !important; }
.adm__bars { display: flex; align-items: flex-end; gap: .7cqw; height: 13cqw; border-bottom: 1px solid #e3e6ea; }
.adm__bars i { flex: 1; height: calc(var(--h) * 100%); background: #f8c9b2; border-radius: .4cqw .4cqw 0 0; }
.adm__bars i.is-now { background: var(--orange); }
.adm__row { display: grid; grid-template-columns: 1.4fr 1fr auto; align-items: center; gap: 1cqw; font-size: 1.25cqw; padding: .72cqw 0; border-top: 1px solid #eef0f3; }
.adm__row span:nth-child(2) { color: #59606a; }
.st { font-style: normal; font-size: 1.05cqw; font-weight: 600; padding: .25cqw .8cqw; border-radius: 2cqw; }
.st--new { background: #fde5d8; color: #8f3612; }
.st--offer { background: #e5ecfd; color: #23409a; }
.st--job { background: #dff3e7; color: var(--ok); }
.st--bill { background: #e9e9e9; color: #2b2b2b; }

/* Website-Beispiel */
.site { aspect-ratio: 4 / 2.9; background: #f6f1e9; color: #2b2118; font-family: var(--body); display: flex; flex-direction: column; }
.site p { margin: 0; }
.site__nav { display: flex; justify-content: space-between; align-items: center; padding: 2.6cqw 4.2cqw; }
.site__brand { font-family: "DM Serif Display", Georgia, serif; font-size: 2.9cqw; }
.site__menu { display: flex; gap: 2.8cqw; font-size: 1.75cqw; }
.site__hero { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 2cqw; padding: 1cqw 4.2cqw 0; flex: 1; }
.site__kick { font-size: 1.55cqw; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8a5a34; }
.site__h { font-family: "DM Serif Display", Georgia, serif; font-size: 7.6cqw; line-height: .98; letter-spacing: -.01em; margin: 1cqw 0 1.8cqw !important; }
.site__p { font-size: 2cqw; line-height: 1.45; color: #5e5044; margin-bottom: 2.6cqw !important; max-width: 30ch; }
.site__btn { display: inline-block; background: #2e4a3b; color: #fff; font-size: 1.75cqw; font-weight: 600; padding: 1.4cqw 2.4cqw; border-radius: 4cqw; }
.site__art { width: 100%; height: auto; }
.site__strip { display: grid; grid-template-columns: repeat(3, 1fr); margin: 2.4cqw 4.2cqw 0; padding: 2.2cqw 0 2.8cqw; border-top: 1px solid #e2d6c4; font-size: 1.55cqw; color: #5e5044; }
.site__strip b { display: block; font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 2.6cqw; color: #2b2118; }

/* KI-Assistent im Telefon */
.phone { aspect-ratio: 9 / 17.5; background: #fff; padding: 7cqw 5.5cqw 5.5cqw; display: flex; flex-direction: column; gap: 3.6cqw; font-family: var(--body); font-size: 6.2cqw; line-height: 1.3; color: #1f2328; }
.phone p { margin: 0; }
.phone__head { display: flex; align-items: center; gap: 2.4cqw; font-weight: 600; font-size: 7cqw; padding-bottom: 3.5cqw; border-bottom: 1px solid #eee; }
.phone__head svg { width: 8cqw; height: 8cqw; color: var(--orange-text); }
.bub { background: #f0f1f3; padding: 3.4cqw 4.4cqw; border-radius: 5cqw 5cqw 5cqw 1.4cqw; max-width: 90%; }
.bub--me { align-self: flex-end; background: var(--ink); color: #fff; border-radius: 5cqw 5cqw 1.4cqw 5cqw; }
.bub--chips { background: none; padding: 0; display: flex; gap: 2.4cqw; }
.bub--chips span { border: 1px solid var(--orange-text); color: var(--orange-text); border-radius: 5cqw; padding: 2cqw 3.4cqw; font-weight: 600; font-size: 5.4cqw; }
.phone__input { margin-top: auto !important; border: 1px solid #d5d5d5; border-radius: 6cqw; padding: 3.4cqw 4.4cqw; color: #666; font-size: 5.6cqw; }

/* =========================================================
   Abschnitte
   ========================================================= */
.block { padding-block: var(--sec); }
.block--tint { background: var(--bg-2); }
.block--ink { background: var(--ink); color: var(--on-ink); }
.block--ink .sec-title, .block--ink h2, .block--ink h3 { color: #fff; }
.block--ink .prose a { color: var(--orange); }
.block + .block:not(.block--tint):not(.block--ink) { border-top: 1px solid var(--line); }

/* ---------- Prozesskette (Signatur-Interaktion) ---------- */
.flow { padding-block: var(--sec); background: var(--bg-2); border-bottom: 1px solid var(--line); }
.flow__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.flow__head .sec-title { margin: 0; }
.flow__head p { color: var(--muted); max-width: 52ch; margin: 0; }
.flow__head a { color: var(--orange-text); font-weight: 600; }
.flowdemo { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 20px clamp(24px, 4vw, 56px); align-items: start; }
.flowdemo__steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 2px; }
.flowdemo__steps::before { content: ""; position: absolute; left: 27px; top: 26px; bottom: 26px; width: 1px; background: var(--line-2); }
.flowdemo__steps button {
  position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; width: 100%; text-align: left;
  padding: 10px 12px 10px 10px; border: 1px solid transparent; border-radius: var(--r-2); background: none; cursor: pointer; font: inherit; color: var(--text);
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.flowdemo__steps button > svg { width: 34px; height: 34px; padding: 8px; border-radius: 9px; background: #fff; border: 1px solid var(--line-2); color: var(--muted); position: relative; z-index: 1; transition: color .2s, background-color .2s, border-color .2s; }
.flowdemo__steps b { display: block; font-weight: 600; color: var(--ink); font-size: 16px; line-height: 1.25; margin-top: 1px; }
.flowdemo__steps em { display: block; font-style: normal; font-size: 14px; color: var(--muted); line-height: 1.4; }
.flowdemo__steps button:hover { background: rgba(255, 255, 255, .7); }
.flowdemo__steps button[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--sh-1); }
.flowdemo__steps button[aria-selected="true"] > svg { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.flowdemo__steps button.is-done > svg { color: var(--orange-text); border-color: rgba(168, 65, 26, .35); }
.flowdemo__screen { min-height: 340px; }
.flowdemo__note { grid-column: 2; margin: -8px 0 0; font-size: 13px; color: var(--muted); }
.fd-panel { padding: clamp(18px, 2.6vw, 28px); font-size: 14.5px; animation: fd-in .32s var(--ease); }
@keyframes fd-in { from { opacity: 0; transform: translateY(8px); filter: blur(2px); } }
.fd-h { font-weight: 600; font-size: 17px; color: var(--ink); margin: 0 0 14px; letter-spacing: -.01em; }
.fd-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.fd-row .fd-h { margin: 0; }
.fd-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.fd-form label { display: grid; gap: 4px; }
.fd-form label span { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.fd-form label i { font-style: normal; border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; background: #fff; color: var(--text); }
.fd-wide { grid-column: 1 / -1; }
.fd-person { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.fd-person .fd-h { margin: 0; }
.fd-person .muted { margin: 0; font-size: 13.5px; }
.fd-person .badge { margin-left: auto; }
.av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange-soft); color: #8f3612; font-weight: 600; font-size: 14px; flex: none; }
.fd-timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.fd-timeline li { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.fd-timeline svg { color: var(--muted); width: 17px; height: 17px; }
.fd-timeline em { font-style: normal; font-size: 13px; color: var(--muted); }
.fd-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fd-cards li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.fd-cards svg { width: 34px; height: 34px; padding: 8px; border-radius: 8px; background: var(--bg-2); color: var(--orange-text); }
.fd-cards em { font-style: normal; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .flow__head, .flowdemo { grid-template-columns: 1fr; }
  .flowdemo__note { grid-column: 1; }
  .flowdemo__steps { grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: thin; }
  .flowdemo__steps::before { display: none; }
  .flowdemo__steps button { grid-template-columns: 1fr; gap: 8px; height: 100%; border-color: var(--line); background: #fff; }
  .flowdemo__steps em { display: none; }
}

/* ---------- UI-Beispiele in Seitenköpfen ---------- */
.kb { padding: 14px; font-size: 13px; container-type: inline-size; background: #fafaf8; }
.kb__head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.kb__head b { font-size: 15px; color: var(--ink); margin-right: auto; }
.kb__chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 7px; background: #fff; border: 1px solid var(--line-2); color: var(--ink); }
.kb__chip--ghost { color: var(--muted); font-weight: 500; }
.kb__chip .ic { width: 13px; height: 13px; }
.kb__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.kb__col { display: grid; gap: 6px; align-content: start; }
.kb__t { display: flex; align-items: center; gap: 6px; margin: 0 0 2px; font-weight: 600; font-size: 12px; color: var(--ink); }
.kb__t span { color: var(--muted); font-weight: 500; }
.kb__card { display: grid; gap: 2px; padding: 9px 10px; background: #fff; border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--sh-1); }
.kb__card b { font-weight: 600; font-size: 12.5px; color: var(--ink); line-height: 1.25; }
.kb__card span { font-size: 11.5px; color: var(--muted); }
.kb__card em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }
.kb__card em .ic { width: 12px; height: 12px; color: var(--ok); }
.kb__card--on { border-color: rgba(243, 124, 71, .6); box-shadow: 0 0 0 3px rgba(243, 124, 71, .16); }
@container (max-width: 460px) { .kb__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.inv { padding: clamp(16px, 2.4vw, 24px); font-size: 13.5px; }
.inv__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.inv__no { font-weight: 600; font-size: 16px; color: var(--ink); margin: 0; }
.inv__to { color: var(--muted); margin: 0; }
.inv__tab { width: 100%; border-collapse: collapse; }
.inv__tab th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 0 0 8px; border-bottom: 1px solid var(--line-2); }
.inv__tab td { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.inv__tab .num, .inv__tab th.num { text-align: right; padding-left: 12px; white-space: nowrap; }
.inv__sum { display: flex; justify-content: space-between; padding: 12px 0 0; font-size: 14.5px; }
.inv__sum b { color: var(--ink); }
.inv__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.inv__fmt { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }

.chk { padding: clamp(16px, 2.4vw, 22px); font-size: 13.5px; }
.chk__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.chk__head b { font-size: 15.5px; color: var(--ink); }
.chk__list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; }
.chk__list li { display: grid; grid-template-columns: 62px 1fr 18px; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.chk__list li:last-child { border-bottom: 0; }
.chk__k { font-weight: 600; color: var(--ink); font-size: 12.5px; letter-spacing: .03em; }
.chk__trace { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.chk__trace span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.chk__trace i { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 10px); }

.mock--stack { display: grid; gap: 14px; }
.ops { padding: 16px 18px; font-size: 13.5px; }
.ops__row { display: flex; justify-content: space-between; margin-bottom: 10px; }
.ops__row b { color: var(--ink); }
.ops__bars { display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; height: 26px; margin-bottom: 14px; }
.ops__bars i { background: #3aa673; border-radius: 2px; opacity: .85; }
.ops__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ops__list li { display: flex; align-items: center; gap: 8px; }
.serp { padding: 16px 18px; font-size: 13.5px; margin-left: clamp(0px, 6%, 40px); }
.serp p { margin: 0; }
.serp__q { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 99px; margin-bottom: 12px !important; color: var(--ink); }
.serp__url { font-size: 12px; color: var(--muted); }
.serp__t { font-size: 16px; color: #1f45b5; margin: 2px 0 3px !important; }
.serp__d { color: var(--text); line-height: 1.45; }

.agenda { padding: clamp(16px, 2.4vw, 22px); font-size: 13.5px; }
.agenda__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.agenda__head b { font-size: 15.5px; color: var(--ink); }
.agenda__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.agenda__list li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.agenda__list span { color: var(--muted); }
.agenda__list b { font-weight: 600; color: var(--ink); }
.agenda__list em { font-style: normal; font-size: 12px; font-weight: 600; color: #8f3612; background: var(--orange-soft); padding: 2px 8px; border-radius: 99px; }
.agenda__foot { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--muted); font-size: 13px; }

/* ---------- Seitenköpfe der Unterseiten ---------- */
.phero { background: var(--orange); color: var(--ink); padding-block: clamp(28px, 4vw, 52px) clamp(48px, 6vw, 80px); overflow: hidden; }
.phero a:not(.btn) { color: var(--ink); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 72px); align-items: center; }
.phero h1 { font-size: clamp(42px, 4.8vw, 72px); line-height: .95; margin-bottom: 20px; text-wrap: balance; }
.phero h1 .w-thin { font-size: .8em; display: block; margin-top: .2em; line-height: 1.05; }
.phero__lead { max-width: 54ch; font-size: 1.06em; margin-bottom: 0; color: #241a14; }
.phero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 28px 0 0; }
.phero__shot { margin: 0; }
.phero__shot figcaption { font-size: 13.5px; margin-top: 12px; }
.phero__phone { display: flex; justify-content: center; }
.win--solo { position: relative; width: min(270px, 70%); border-radius: 22px; container-type: inline-size; box-shadow: 0 0 0 6px var(--ink), var(--sh-3); }
.phero__portrait { margin: 0; justify-self: end; max-width: 340px; }
.phero__portrait img { border-radius: var(--r-3); box-shadow: var(--sh-3); }
.phero--404 { padding-block: clamp(80px, 12vw, 160px); }
.phero .mock figcaption { color: #3a2a20; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13.5px; font-weight: 500; margin-bottom: 20px; }
.crumbs a { text-decoration: none; opacity: .75; }
.crumbs a:hover { text-decoration: underline; opacity: 1; }
.crumbs span[aria-hidden] { opacity: .45; }
.crumbs [aria-current] { font-weight: 600; }
.jump { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.jump a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(20, 20, 20, .1); text-decoration: none; font-weight: 600; font-size: 15px; transition: background-color .2s; }
.jump a:hover { background: #fff; color: var(--ink); }
.jump .ic { color: var(--orange-text); }
.collage { position: relative; aspect-ratio: 16 / 12; }
.collage .shot { position: absolute; width: 74%; }
.collage .shot:nth-child(1) { left: 0; top: 0; }
.collage .shot:nth-child(2) { right: 0; top: 22%; z-index: 2; }
.collage .shot:nth-child(3) { left: 10%; bottom: 0; z-index: 3; width: 62%; }
@media (max-width: 900px) { .phero__grid { grid-template-columns: 1fr; } .phero__portrait { justify-self: start; max-width: 240px; } }
@media (max-width: 560px) { .jump { grid-template-columns: 1fr; } }

/* ---------- Referenzen ---------- */
.shot { border-radius: var(--r-2); overflow: hidden; box-shadow: var(--sh-2), 0 0 0 1px var(--line); background: #fff; transition: transform .35s var(--ease), box-shadow .35s; }
.showcase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(18px, 2vw, 28px); }
.case { text-decoration: none; color: var(--text); display: block; }
.case h3 { font-family: var(--body); font-weight: 600; font-size: 19px; letter-spacing: -.01em; margin: 16px 0 2px; }
.case p { margin: 0; font-size: 15.5px; }
.case__meta { font-size: 13.5px; color: var(--muted); margin-bottom: 6px !important; }
.case:hover { color: var(--text); }
.case:hover h3 { color: var(--orange-text); }
.case:hover .shot { transform: translateY(-3px); box-shadow: var(--sh-3), 0 0 0 1px var(--line); }
.case--wide { grid-column: span 3; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto auto 1fr; gap: 0 clamp(28px, 4vw, 56px); }
.case--wide .shot { grid-row: 1 / -1; grid-column: 1; }
.case--wide > :not(.shot) { grid-column: 2; }
.case--wide h3 { grid-row: 2; font-family: var(--bold); font-weight: 400; font-size: clamp(38px, 3.6vw, 52px); line-height: 1; margin: 0 0 4px; }
.case--wide .case__meta { grid-row: 3; }
.case--wide .case__meta + p { grid-row: 4; font-size: 1.05em; max-width: 40ch; }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } .case--wide { grid-column: auto; display: block; } .case--wide h3 { margin-top: 18px; } }

/* ---------- Dichte Merkmalslisten ---------- */
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 44px); }
.spec { padding-top: 18px; border-top: 1px solid var(--line-2); }
.spec h3 { display: flex; align-items: center; gap: 10px; font-family: var(--body); font-weight: 600; font-size: 17px; letter-spacing: -.005em; margin-bottom: 6px; }
.spec h3 .ic { color: var(--orange-text); width: 18px; height: 18px; }
.spec p { margin: 0; font-size: 15.5px; color: var(--muted); }
@media (max-width: 960px) { .specs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .specs { grid-template-columns: 1fr; } }

/* ---------- Themen-Umschalter ---------- */
.explorer { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); gap: 20px clamp(24px, 3vw, 44px); align-items: start; }
.explorer__tabs { display: none; gap: 4px; position: sticky; top: 92px; }
.explorer__tabs[data-ready] { display: grid; }
.explorer__tabs button {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 12px; border: 1px solid transparent; border-radius: var(--r-2);
  background: none; cursor: pointer; font: 600 15.5px/1.3 var(--body); color: var(--muted); transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.explorer__tabs button svg { width: 32px; height: 32px; padding: 7px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; color: var(--muted); transition: background-color .2s, color .2s, border-color .2s; }
.explorer__tabs button:hover { color: var(--ink); background: var(--bg-2); }
.explorer__tabs button[aria-selected="true"] { color: var(--ink); background: #fff; border-color: var(--line); box-shadow: var(--sh-1); }
.explorer__tabs button[aria-selected="true"] svg { color: var(--ink); background: var(--orange); border-color: var(--orange); }
.explorer__panels { display: grid; gap: 12px; }
.explorer:not(:has(.explorer__tabs[data-ready])) { grid-template-columns: 1fr; }
.explorer__panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-3); padding: clamp(22px, 3vw, 36px); box-shadow: var(--sh-1); }
.explorer__tabs[data-ready] + .explorer__panels .explorer__panel:not(.is-on) { display: none; }
.explorer__panel.is-on { animation: fd-in .32s var(--ease); }
.explorer__h { display: flex; align-items: center; gap: 12px; font-family: var(--body); font-weight: 600; font-size: 22px; letter-spacing: -.015em; margin-bottom: 12px; }
.explorer__h svg { width: 22px; height: 22px; color: var(--orange-text); }
.explorer__panel p { max-width: 62ch; }
.explorer__panel > :last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .explorer, .explorer--wide, .explorer--courses { grid-template-columns: 1fr; }
  .explorer__tabs[data-ready] { display: flex; position: static; gap: 6px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .explorer__tabs[data-ready]::-webkit-scrollbar { display: none; }
  .explorer__tabs button { flex: none; width: auto; white-space: nowrap; padding: 7px 12px 7px 8px; gap: 8px; font-size: 14.5px; border-color: var(--line); background: #fff; scroll-snap-align: start; }
  .explorer__tabs button svg { width: 26px; height: 26px; padding: 5px; }
}

/* Häkchenlisten */
.ticks { list-style: none; margin: 4px 0 1em; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.ticks li { position: relative; padding-left: 24px; font-weight: 500; font-size: 15px; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 15px; height: 15px; border-radius: 50%; background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8411a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat; }
.block--ink .ticks li, .ticks--ink li, .compare__col--ink .ticks li, .cdetail--ink .ticks li { color: #fff; }
.block--ink .ticks li::before, .ticks--ink li::before, .compare__col--ink .ticks li::before, .cdetail--ink .ticks li::before { background-color: rgba(243, 124, 71, .22); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f37c47' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
@media (max-width: 560px) { .ticks { grid-template-columns: 1fr; } }
.note { font-size: 15px; color: var(--muted); margin-top: 20px; }

/* Vergleich */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare__col { background: #fff; border-radius: var(--r-3); padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.compare__col--ink { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.compare__col--ink h3 { color: #fff; }
.compare h3 { font-family: var(--body); font-weight: 600; font-size: 22px; letter-spacing: -.015em; margin-bottom: 4px; }
.compare__tag { font-size: 13.5px; font-weight: 600; color: var(--orange-text); margin-bottom: 14px !important; }
.compare__col--ink .compare__tag { color: var(--orange); }
@media (max-width: 800px) { .compare { grid-template-columns: 1fr; } }

/* Anwendungsfälle */
.usecases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-3); overflow: hidden; background: #fff; }
.usecase { padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.usecase:nth-child(3n) { border-right: 0; }
.usecase:nth-last-child(-n+3) { border-bottom: 0; }
.usecase h3 { font-weight: 600; font-size: 16.5px; margin-bottom: 6px; }
.usecase p { margin: 0; font-size: 15px; color: var(--muted); }
.usecase a { color: var(--orange-text); }
@media (max-width: 900px) { .usecases { grid-template-columns: 1fr; } .usecase { border-right: 0; border-bottom: 1px solid var(--line) !important; } .usecase:last-child { border-bottom: 0 !important; } }

/* Zweispaltig */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px clamp(32px, 6vw, 88px); align-items: start; }
.split .sec-title { margin-bottom: 16px; }
.split > div > p { color: var(--muted); max-width: 46ch; }
.block--ink .split > div > p { color: var(--on-ink-muted); }
.prose p { max-width: 64ch; }
.prose h2 { font-family: var(--bold); font-size: clamp(30px, 2.8vw, 40px); line-height: 1.05; margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--orange-text); }
.numlist { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; border-top: 1px solid var(--line-2); }
.numlist li { counter-increment: n; position: relative; padding: 16px 0 16px 52px; border-bottom: 1px solid var(--line); }
.numlist li::before { content: counter(n); position: absolute; left: 0; top: 14px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; font: 600 14px/1 var(--body); color: var(--ink); }
.numlist b { color: var(--ink); }
.numlist--plain li::before { content: ""; background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8411a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 17H7A5 5 0 0 1 7 7h2M15 7h2a5 5 0 1 1 0 10h-2M8 12h8'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: transparent; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Module */
.modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.module { display: grid; grid-template-columns: 32px 1fr; gap: 2px 12px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-2); background: #fff; text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.module svg { grid-row: span 2; width: 32px; height: 32px; padding: 7px; border-radius: 8px; background: var(--bg-2); color: var(--orange-text); }
.module b { font-weight: 600; font-size: 15.5px; color: var(--ink); line-height: 1.3; }
.module span { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.module:hover { border-color: var(--line-2); box-shadow: var(--sh-2); transform: translateY(-2px); color: var(--text); }
@media (max-width: 1000px) { .modules { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .modules { grid-template-columns: 1fr; } }

/* Leistungsübersicht */
.svc-list { display: grid; border-top: 1px solid var(--line-2); }
.svc { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px 28px; align-items: start; padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.svc__icon { width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; box-shadow: var(--sh-1); }
.svc__icon svg { width: 21px; height: 21px; color: var(--orange-text); }
.svc h2 { font-family: var(--body); font-weight: 600; font-size: clamp(22px, 2vw, 26px); letter-spacing: -.015em; line-height: 1.2; margin: 6px 0 8px; }
.svc p { max-width: 64ch; color: var(--muted); }
.svc .ticks { grid-template-columns: repeat(4, auto); justify-content: start; gap: 6px 22px; margin-bottom: 0; }
.svc__link { align-self: center; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 9px; font-weight: 600; font-size: 14.5px; text-decoration: none; color: var(--ink); background: #fff; box-shadow: var(--sh-1); transition: background-color .2s; }
.svc__link:hover { background: var(--bg-2); color: var(--ink); }
@media (max-width: 1000px) { .svc .ticks { grid-template-columns: repeat(2, auto); } }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } .svc .ticks { grid-template-columns: 1fr; } .svc__link { justify-self: start; } }

/* Projektliste */
.projlist { display: grid; gap: clamp(64px, 8vw, 104px); }
.proj { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px clamp(32px, 5vw, 72px); align-items: center; scroll-margin-top: 90px; }
.proj--flip .proj__media { order: 2; }
.proj__media { position: relative; }
.proj__media .shot--small { position: absolute; width: 44%; right: -3%; bottom: -10%; box-shadow: var(--sh-3), 0 0 0 4px #fff; }
.proj--flip .proj__media .shot--small { right: auto; left: -3%; }
.proj h2 { font-family: var(--bold); font-size: clamp(38px, 3.8vw, 54px); line-height: 1; margin-bottom: 4px; }
.proj__meta { font-size: 14px; color: var(--muted); margin-bottom: 14px !important; }
.proj__tech { font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) {
  .proj { grid-template-columns: 1fr; }
  .proj--flip .proj__media { order: 0; }
  .proj__media .shot--small { position: relative; width: 66%; right: auto; left: auto !important; bottom: auto; margin: -16% 0 0 auto; }
}

/* Schulungen */
.training { padding-block: var(--sec); border-top: 1px solid var(--line); }
/* Über mich (Startseite) */
.about { padding-block: var(--sec); background: var(--bg-2); }
.about__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 40px clamp(40px, 6vw, 88px); align-items: center; }
.about__photo { margin: 0; max-width: 400px; }
.about__photo img { border-radius: var(--r-3); box-shadow: var(--sh-2); }
.about__text p { max-width: 56ch; }
.about__sign { font: 300 24px/1 var(--thin); text-transform: uppercase; color: var(--ink); margin-top: 22px !important; }
@media (max-width: 800px) { .about__grid { grid-template-columns: 1fr; } .about__photo { max-width: 280px; } }

/* Region: Karte aus Ortsnamen */
.region-sec { padding-block: var(--sec); background: #fff; border-top: 1px solid var(--line); }
.region { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.5fr); gap: 40px clamp(32px, 5vw, 72px); align-items: center; }
.region__text p { max-width: 42ch; }
.region__legend { font-size: 14px; color: var(--muted); }
.region__key { color: var(--orange-text); font-weight: 600; }
.map { position: relative; aspect-ratio: 1.2; container-type: inline-size; margin-inline: 2% 8%; background: radial-gradient(circle at 1px 1px, rgba(20, 20, 20, .16) 1px, transparent 1.3px) 0 0 / 22px 22px; }
.town {
  position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%);
  font-family: var(--thin); font-weight: 300; text-transform: uppercase; letter-spacing: .01em;
  font-size: max(calc(var(--s) * .92cqw), 10px); line-height: 1; white-space: nowrap; color: #4a4a46;
  transform: translateY(-50%); padding-left: .45em;
}
.town::before { content: ""; position: absolute; left: 0; top: 50%; width: .22em; height: .22em; min-width: 5px; min-height: 5px; border-radius: 50%; background: var(--orange); transform: translate(-50%, -50%); }
.town--big { font-family: var(--bold); font-weight: 400; color: var(--ink); letter-spacing: 0; }
.town--hf { color: var(--orange-text); }
.town--left { transform: translate(-100%, -50%); padding-left: 0; padding-right: .45em; }
.town--left::before { left: auto; right: 0; transform: translate(50%, -50%); }
@media (max-width: 960px) { .region { grid-template-columns: 1fr; } .map { margin-inline: 0 6%; } }

/* Ablauf: Zeitleiste */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px clamp(20px, 2.4vw, 36px); counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 44px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; font: 600 13px/1 var(--body); color: var(--ink); z-index: 1; }
.steps li:first-child::before { background: var(--orange); border-color: var(--orange); }
.steps li::after { content: ""; position: absolute; left: 36px; right: -12px; top: 14px; height: 1px; background: var(--line-2); }
.steps li:last-child::after { display: none; }
.steps h3 { font-weight: 600; font-size: 17px; margin-bottom: 6px; }
.steps p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(2)::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li::after { display: none; } }

/* Werdegang */
.path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.path__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-3); padding: clamp(22px, 2.4vw, 30px); }
.path__k { font-size: 13.5px; font-weight: 600; color: var(--orange-text); margin-bottom: 8px !important; }
.path__item h3 { font-weight: 600; font-size: 19px; letter-spacing: -.01em; margin-bottom: 8px; }
.path__item p:last-child { margin: 0; font-size: 15.5px; color: var(--muted); }
@media (max-width: 860px) { .path { grid-template-columns: 1fr; } }

/* Fragen */
.faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 20px clamp(32px, 5vw, 80px); }
.faq-grid .sec-title { margin: 0; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 600; font-size: 16.5px; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 6px; border: 1px solid var(--line-2); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--orange-text); }
.faq details p { margin: 0 0 20px; max-width: 62ch; color: var(--muted); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* Abschlussband */
.cta { background: var(--orange); color: var(--ink); padding-block: clamp(56px, 7vw, 96px); }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px clamp(32px, 5vw, 80px); align-items: end; }
.cta__title { font-size: clamp(40px, 4.6vw, 68px); line-height: .98; margin: 0; grid-row: span 2; color: var(--ink); }
.cta__title .w-thin { display: block; font-size: .82em; margin-top: .14em; }
.cta__text { margin: 0; max-width: 44ch; color: #241a14; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 0; }
.cta__mail { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .cta__inner { grid-template-columns: 1fr; } .cta__title { grid-row: auto; } }

/* Ratgeber */
.article { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 88px); align-items: start; }
.article__toc { position: sticky; top: 92px; display: grid; gap: 2px; padding: 8px; border-radius: var(--r-2); border: 1px solid var(--line); }
.article__toc-h { font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 6px 10px; margin: 0 !important; }
.article__toc a { text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 7px 10px; border-radius: 8px; color: var(--text); }
.article__toc a:hover { background: var(--bg-2); color: var(--ink); }
.article__body { max-width: 720px; }
.article__body h2 { scroll-margin-top: 92px; }
.article__note { margin-top: 36px !important; padding: 16px 20px; background: var(--bg-2); border-radius: var(--r-2); font-size: 15px; color: var(--muted); }
.timeline { position: relative; margin: 24px 0 8px; display: grid; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 1px; background: var(--line-2); }
.timeline__item { position: relative; padding: 0 0 24px 40px; }
.timeline__item::before { content: ""; position: absolute; left: 2px; top: 5px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 2px solid var(--orange); box-sizing: border-box; }
.timeline__item--now::before { background: var(--orange); }
.timeline__date { font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 4px !important; }
.timeline__item p:last-child { margin: 0; color: var(--text); }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; } .article__toc { position: static; } }

/* Kontakt */
.contact { background: var(--orange); color: var(--ink); padding-block: var(--sec); }
.contact a { color: var(--ink); font-weight: 600; }
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.contact__grid > div > p { max-width: 42ch; color: #241a14; }
.contact--page { padding-top: clamp(28px, 4vw, 52px); }
.contact--page h1.sec-title { font-size: clamp(42px, 4.8vw, 72px); }
.next { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: x; }
.next li { counter-increment: x; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 4px; }
.next li::before { content: counter(x); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: rgba(20, 20, 20, .12); font: 600 13px/1 var(--body); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: #fff; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-3); box-shadow: var(--sh-3); }
.topics { border: 0; margin: 0 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.topics legend { font-weight: 600; font-size: 14.5px; color: var(--ink); margin-bottom: 10px; padding: 0; }
.topics label { position: relative; cursor: pointer; }
.topics input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.topics span { display: inline-block; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink); transition: background-color .15s, color .15s, border-color .15s; }
.topics label:hover span { border-color: var(--ink); }
.topics input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.topics input:focus-visible + span { outline: 2px solid var(--orange-text); outline-offset: 2px; }
.field { display: grid; gap: 5px; }
.field--wide { grid-column: 1 / -1; margin: 0; }
.field label { font-weight: 600; font-size: 14px; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #a3a39e; border-radius: 9px; padding: 10px 12px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #6f6f6a; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange-text); box-shadow: 0 0 0 3px rgba(243, 124, 71, .25); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(179, 38, 30, .15); }
.form__note { font-size: 14px; color: var(--muted); }
.form__note a { font-weight: 400; color: var(--ink); }
.form__error { color: var(--error); font-weight: 600; font-size: 15px; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* Fuss */
.foot { background: var(--ink); color: var(--on-ink-muted); padding-block: clamp(56px, 7vw, 80px) 28px; font-size: 14.5px; }
.foot a { color: var(--on-ink); text-decoration: none; }
.foot a:hover { color: var(--orange); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.foot__brand img { width: 200px; margin-bottom: 18px; }
.foot__brand p { max-width: 40ch; }
.foot__col { display: flex; flex-direction: column; gap: 9px; }
.foot__h { font-weight: 600; font-size: 13.5px; color: #fff; margin: 0 0 6px; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #2c2c2a; font-size: 13.5px; }
.foot__bottom p { margin: 0; }
@media (max-width: 900px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot__top { grid-template-columns: 1fr; } }

/* Rechtstexte */
.legal { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.legal .wrap { max-width: 780px; }
.legal h1 { font-family: var(--bold); font-size: clamp(44px, 5vw, 64px); line-height: 1; margin-bottom: 28px; }
.legal h2 { font-weight: 600; font-size: 1.1em; margin: 32px 0 8px; }
.legal ul { padding-left: 1.3em; margin: 0 0 1em; }
.todo { background: #ffe8dc; outline: 1px dashed var(--orange-text); padding: 0 4px; color: var(--ink); }

/* =========================================================
   Nacharbeit nach Abschlussprüfung
   ========================================================= */

/* Abschnittskopf als Zeile: Titel links, Link oder Satz rechts auf der Grundlinie */
.sec-head--row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 32px; margin-bottom: clamp(24px, 3vw, 36px); }
.sec-head--row > p { font-size: 1em; }

/* Leistungen auf der Startseite: Umschalter mit UI-Beispiel */
.explorer--wide { grid-template-columns: minmax(220px, .5fr) minmax(0, 1.5fr); }
.explorer__panel--vign { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 24px clamp(24px, 3vw, 40px); align-items: center; padding: 8px 0 8px clamp(4px, 1vw, 12px); background: none; border: 0; box-shadow: none; border-radius: 0; }
.vign__text p { color: var(--muted); }
.vign__text .more { margin-top: 8px; }
.vign__ui .mock figcaption { color: var(--muted); }
.vign__ui .kb { padding: 10px; }
.vign-phone { display: flex; justify-content: center; }
.vign-phone .win--solo { width: min(210px, 80%); }
.chips { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 12.5px; font-weight: 600; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); padding: 3px 9px; border-radius: 99px; }
@media (max-width: 1100px) { .explorer__panel--vign { grid-template-columns: 1fr; } }

/* Admin-Panel-Beispiel */
.cms { padding: 16px 18px; font-size: 13.5px; }
.cms__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cms__head b { font-size: 15.5px; color: var(--ink); }
.cms__list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; }
.cms__list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.cms__list li:last-child { border-bottom: 0; }
.cms__list span { font-weight: 600; color: var(--ink); }
.cms__list em { font-style: normal; grid-row: span 2; align-self: center; }
.cms__list i { font-style: normal; font-size: 12.5px; }
.cms__foot { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }

/* Prinzipien als Aussagen */
.principles { padding-block: var(--sec); border-top: 1px solid var(--line); }
.principles .split > div > p { color: var(--muted); }
.statements { margin: 0; border-top: 1px solid var(--line-2); }
.statements > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.statements dt { font-weight: 600; font-size: 17px; color: var(--ink); }
.statements dd { margin: 0; }
.statements dd p { margin: 0 0 6px; }
.statements dd span { font-size: 13.5px; font-weight: 600; color: var(--orange-text); }
@media (max-width: 560px) { .statements > div { grid-template-columns: 1fr; } }

/* Schulungen als Zeilen mit Fakten */
.rows { border-top: 1px solid var(--line-2); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) 150px 190px 18px; gap: 6px 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); transition: background-color .2s; }
.row:hover { color: var(--text); }
.row:hover .row__t { color: var(--orange-text); }
.row__t { font-weight: 600; font-size: 17px; color: var(--ink); }
.row__d { font-size: 15px; color: var(--muted); }
.row__m { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.row__go { color: var(--muted); transition: transform .2s var(--ease), color .2s; }
.row:hover .row__go { transform: translateX(3px); color: var(--orange-text); }
@media (max-width: 960px) { .row { grid-template-columns: 1fr 18px; } .row__t { grid-column: 1; } .row__go { grid-column: 2; grid-row: 1; } .row__d, .row__m { grid-column: 1 / -1; } }

/* Fragen: linke Spalte mit Ausweg */
.faq-aside { align-self: start; position: sticky; top: 92px; }
.faq-aside .sec-title { margin-bottom: 14px; }
.faq-aside p { color: var(--muted); max-width: 32ch; font-size: 15.5px; margin: 0; }
.faq-aside a { color: var(--orange-text); font-weight: 600; }
@media (max-width: 860px) { .faq-aside { position: static; } }

/* Begriff und Erklärung */
.pairs { margin: 0; border-top: 1px solid var(--line-2); }
.pairs > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pairs dt { font-weight: 600; color: var(--ink); }
.pairs dd { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .pairs > div { grid-template-columns: 1fr; } }

/* Weitere Leistungen als Linkliste */
.related { padding-block: 28px; border-top: 1px solid var(--line); }
.related__inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; }
.related__title { font-family: var(--body); font-weight: 600; font-size: 14px; color: var(--muted); margin: 0; }
.related__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.related__list a { font-weight: 600; font-size: 15px; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; }
.related__list a:hover { text-decoration-color: currentColor; }

/* Karte: weniger Leerraum */
.map { margin-block: -2%; }


/* =========================================================
   Runde 3: mehr Anschauung, mehr Leben
   ========================================================= */

/* Belege unter den Knöpfen im Einstieg */
.proof { list-style: none; margin: 26px 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; border-top: 1px solid rgba(20, 20, 20, .18); }
.proof li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #241a14; }
.proof .ic { width: 17px; height: 17px; }

/* Bühne: läuft von selbst durch, Fortschritt im aktiven Reiter */
.stage__tabs button { position: relative; overflow: hidden; }
.stage.is-auto .stage__tabs button[aria-pressed="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--orange); transform-origin: left; animation: stage-progress var(--stage-ms, 5200ms) linear forwards; }
@keyframes stage-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes win-in { from { opacity: 0; transform: translateY(18px); } }
.stage .win { animation: win-in .8s var(--ease) both; }
.stage .win--site { animation-delay: .12s; }
.stage .win--phone { animation-delay: .24s; }

/* KI-Assistent: Nachrichten erscheinen nacheinander */
.phone.is-playing .bub { animation: bub-in .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 750ms); }
@keyframes bub-in { from { opacity: 0; transform: translateY(6px) scale(.98); } }

/* Gitter mit UI-Ausschnitten (Prinzipien) */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bento__cell { display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-3); padding: 18px 18px 22px; }
.bento__cell--wide { grid-column: span 2; }
.bento__cell:nth-child(3) { grid-column: 1; }
.bento__ui { display: flex; gap: 12px; align-items: stretch; min-height: 168px; margin-bottom: 18px; }
.bento__cell h3 { font-weight: 600; font-size: 18px; letter-spacing: -.01em; margin-bottom: 4px; }
.bento__cell p { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 52ch; }
.bento__ui > * { background: #fff; border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: var(--sh-1); padding: 14px; font-size: 13px; flex: 1; min-width: 0; }
.bento__ui p { margin: 0; color: var(--text); font-size: 13px; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .bento__cell--wide { grid-column: span 2; } .bento__cell:nth-child(3) { grid-column: auto; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento__cell--wide { grid-column: auto; } .bento__ui { flex-direction: column; } }

.v-login__h, .v-review__h { display: flex; align-items: center; gap: 7px; font-weight: 600; color: var(--ink) !important; margin-bottom: 10px !important; }
.v-login__f { border: 1px solid var(--line-2); border-radius: 7px; padding: 7px 9px; margin-bottom: 10px !important; }
.v-login__l { font-size: 12px !important; color: var(--muted) !important; margin-bottom: 6px !important; }
.v-login__code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.v-login__code i { height: 34px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 7px; font-style: normal; font-weight: 600; font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }
.v-login__code i.is-cur { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243, 124, 71, .2); }
.v-login__code i.is-cur::after { content: ""; width: 1.5px; height: 16px; background: var(--ink); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.v-status { list-style: none; margin: 0; display: grid; align-content: center; gap: 9px; flex: .8 !important; }
.v-status li { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }

.v-edit__bar { display: flex; gap: 4px; margin-bottom: 12px; }
.v-edit__bar span { font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 6px; color: var(--muted); }
.v-edit__bar .is-on { background: var(--bg-2); color: var(--ink); }
.v-edit__bar .v-edit__pub { margin-left: auto; background: var(--ink); color: #fff; }
.v-edit__text { font-size: 14px !important; line-height: 1.5; margin-bottom: 12px !important; }
.v-edit__text mark { background: #fbd0bb; color: var(--ink); border-radius: 3px; padding: 0 2px; }
.v-edit__caret { display: inline-block; width: 1.5px; height: 1.1em; background: var(--ink); vertical-align: text-bottom; margin-left: 1px; animation: caret 1s steps(1) infinite; }
.v-edit__ver { display: flex; align-items: center; gap: 6px; font-size: 12px !important; color: var(--muted) !important; padding-top: 10px; border-top: 1px solid var(--line); }

.v-steps__h { display: flex; justify-content: space-between; margin-bottom: 8px !important; }
.v-steps__h b { color: var(--ink); }
.v-steps__h span { color: var(--muted); }
.v-steps__bar { height: 6px; border-radius: 6px; background: var(--bg-2); margin-bottom: 12px; overflow: hidden; }
.v-steps__bar i { display: block; height: 100%; width: calc(var(--p) * 100%); background: var(--orange); border-radius: inherit; }
.v-steps ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.v-steps li { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.v-steps li.is-done { color: var(--ink); }
.v-steps li .ic { width: 15px; height: 15px; color: var(--ok); }
.v-steps li > i { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--line-2); }

.v-review { display: flex; flex-direction: column; }
.v-review__h .badge { margin-left: auto; }
.v-review__code { margin: 0 0 10px; padding: 10px 0; background: #fafaf8; border: 1px solid var(--line); border-radius: 8px; font: 12.5px/1.7 ui-monospace, "SF Mono", Consolas, monospace; color: #2b2b2b; white-space: pre; overflow: hidden; }
.v-review__code .ln { display: inline-block; width: 30px; padding-right: 8px; text-align: right; color: #9a9a95; }
.v-review__code .ln.add { color: var(--ok); background: var(--ok-soft); }
.v-review__note { display: flex; align-items: center; gap: 8px; font-size: 12.5px !important; color: var(--muted) !important; }
.av--sm { width: 24px; height: 24px; font-size: 10.5px; }
.av--ai { background: var(--ink); color: var(--orange); }
.av--ai .ic { width: 13px; height: 13px; }

/* Schulungen auf der Startseite */
.train { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px clamp(32px, 5vw, 72px); align-items: center; }
.train .sec-title { margin-bottom: 14px; }
.train__lead { color: var(--muted); max-width: 46ch; }
.train__list { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.train__list a { display: grid; grid-template-columns: 34px 1fr 18px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.train__list a > .ic:first-child { width: 34px; height: 34px; padding: 8px; border-radius: 9px; border: 1px solid var(--line-2); color: var(--orange-text); background: #fff; }
.train__list b { display: block; font-weight: 600; color: var(--ink); }
.train__list em { display: block; font-style: normal; font-size: 14px; color: var(--muted); }
.train__go { color: var(--muted); transition: transform .2s var(--ease), color .2s; }
.train__list a:hover b { color: var(--orange-text); }
.train__list a:hover .train__go { transform: translateX(3px); color: var(--orange-text); }
@media (max-width: 900px) { .train { grid-template-columns: 1fr; } }

/* Richtlinien-Dokument mit Teilnahmebestätigung */
.mock--layered { position: relative; padding-bottom: 56px; }
.doc { padding: 18px 20px; font-size: 13.5px; }
.doc__h { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 16px; color: var(--ink); margin: 0 0 12px; }
.doc__list { margin: 0; padding: 0; list-style: none; counter-reset: d; border-top: 1px solid var(--line); }
.doc__list li { counter-increment: d; display: grid; grid-template-columns: 24px 1fr; gap: 2px 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.doc__list li::before { content: counter(d) "."; grid-row: span 2; font-weight: 600; color: var(--orange-text); }
.doc__list b { color: var(--ink); font-weight: 600; }
.doc__list span { color: var(--muted); }
.cert { position: absolute; right: -10px; bottom: 30px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border-radius: var(--r-2); box-shadow: var(--sh-3), 0 0 0 1px var(--line); max-width: 300px; }
.cert > .ic { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); }
.cert b { display: block; font-size: 14px; color: var(--ink); }
.cert span { display: block; font-size: 12.5px; color: var(--muted); }
.mock--layered figcaption { position: absolute; left: 0; bottom: 0; max-width: 55%; margin: 0; }
@media (max-width: 560px) { .cert { position: relative; right: auto; bottom: auto; margin: -16px 12px 0 auto; } .mock--layered { padding-bottom: 0; } .mock--layered figcaption { position: static; max-width: none; margin-top: 12px; } }

/* Editor-Beispiel */
.ed { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); font-size: 13px; }
.ed__main { padding: 16px; display: grid; gap: 8px; align-content: start; }
.ed__blk { margin: 0; padding: 6px 8px; border-radius: 6px; border: 1px dashed transparent; color: var(--text); }
.ed__blk--h { font-family: "DM Serif Display", Georgia, serif; font-size: 22px; color: var(--ink); }
.ed__img { background: #f6f1e9; padding: 8px; display: grid; place-items: center; }
.ed__img.is-sel { border: 1.5px solid #4c6fd8; }
.ed__art { width: 46%; height: auto; }
.ed__side { padding: 16px; border-left: 1px solid var(--line); background: #fafaf8; display: grid; gap: 10px; align-content: start; }
.ed__label { margin: 0; font-weight: 600; color: var(--ink); }
.ed__field { margin: 0; display: grid; gap: 4px; }
.ed__field span { font-size: 12px; font-weight: 600; color: var(--ink); }
.ed__field i { font-style: normal; border: 1.5px solid #4c6fd8; border-radius: 7px; padding: 7px 9px; background: #fff; }
.ed__hint { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ok); }
.ed__side .btn-mini { justify-self: start; }

/* Team-Kanal-Beispiel */
.chat { padding: 16px; display: grid; gap: 14px; font-size: 13.5px; }
.chat__msg { display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.chat__msg .av { width: 30px; height: 30px; font-size: 11px; }
.chat__msg p { margin: 0; }
.chat__who { font-weight: 600; color: var(--ink); }
.chat__who em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--muted); margin-left: 6px; }
.chat__msg:nth-child(2) > div { background: var(--bg-2); border-radius: 10px; padding: 8px 10px; }
.chat__input { margin: 0; border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; color: var(--muted); }

/* Kurs-Umschalter */
.explorer--courses { grid-template-columns: minmax(220px, .45fr) minmax(0, 1.55fr); }
.explorer--courses .explorer__panel--vign { align-items: start; }
.explorer__h--lg { font-family: var(--bold); font-weight: 400; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.02; letter-spacing: 0; }
.explorer__h--lg .ic { display: none; }
.units { list-style: none; margin: 16px 0 18px; padding: 0; counter-reset: u; display: grid; gap: 6px; }
.units li { counter-increment: u; display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: baseline; font-size: 15px; color: var(--ink); }
.units li::before { content: counter(u); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--orange-text); }
.fact { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-2); background: var(--bg-2); font-size: 14.5px; color: var(--text); margin-bottom: 18px; }
.fact .ic { color: var(--orange-text); margin-top: 3px; }

/* Listen statt Raster auf Leistungsseiten */
.pairs--2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 4vw, 56px); border-top: 0; }
.pairs--2col > div { border-top: 1px solid var(--line-2); border-bottom: 0; grid-template-columns: 1fr; gap: 4px; }
.pairs--2col dt { font-size: 16.5px; }
@media (max-width: 760px) { .pairs--2col { grid-template-columns: 1fr; } }
.modlist { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 4vw, 56px); }
.modlist .module { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 14px 0; background: none; box-shadow: none; transform: none; }
.modlist .module:hover { box-shadow: none; transform: none; }
.modlist .module:hover b { color: var(--orange-text); }
@media (max-width: 760px) { .modlist { grid-template-columns: 1fr; } }
.path__k { font-size: 13.5px; font-weight: 600; color: var(--muted); margin: 0 0 10px !important; }

/* Handy: Umschalter einspaltig (steht am Ende, damit es die Varianten oben überschreibt) */
@media (max-width: 860px) { .explorer, .explorer--wide, .explorer--courses { grid-template-columns: 1fr; } }

/* Teilnahmebestätigung: unter dem Dokument, nur am Rand überlappend */
.mock--layered { padding-bottom: 0; }
.mock--layered .doc { padding-bottom: 34px; }
.mock--layered .cert { position: relative; right: auto; bottom: auto; width: fit-content; margin: -22px -8px 0 auto; }
.mock--layered figcaption { position: static; max-width: none; margin-top: 12px; }

/* Kontaktseite: nächste Schritte */
.next li { align-items: start; }
.next li::before { margin-top: 1px; }
.next li span { line-height: 1.5; }
.next b { color: var(--ink); }

/* Raster auf schmalen Bildschirmen: Spalten dürfen schrumpfen, Code scrollt statt aufzudrücken */
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bento { grid-template-columns: minmax(0, 1fr); } }
.v-review__code { overflow-x: auto; max-width: 100%; }
