/* aenable — Fundament (Stand P2-01, Phase 2)
   Einzige Quelle für Farbe, Typografie, Raum, Geometrie, Bewegung und die
   gemeinsamen Komponenten Header, Footer, Button, Link, Karte, Bild.
   Regelbezug: M01 Wortmarke, M02 Farbe, M03 Typografie, M04 Raum/Geometrie,
   M05 Activation-Strich, M06 Bewegung. Die Werte aus Phase 2 ersetzen die
   widersprechenden Vorgaben des ersten Delta-Pakets (DS-01…DS-09). */

body, p, li, h1, h2, h3, h4, td, th { overflow-wrap: break-word; }
*, *::before, *::after { box-sizing: border-box; }

:root {
  /* ── M02 · Farbe ───────────────────────────────────────────────────────── */
  --ink: #1E212A;              /* Auftrittsfläche, starke Schrift */
  --arctic: #F5F5F7;           /* helle Inhaltsfläche */
  --white: #FFFFFF;
  --fog: #ECECEF;
  --body-ink: #363942;         /* Body auf hell */
  --text-2: #565961;           /* Sekundärtext auf hell, Caption auf Arctic */
  --caption-white: #6E7178;    /* Caption ausschließlich auf Weiß */
  --line: #E5E5EA;             /* neutrale Haarlinie auf hell */
  --neutral-3: #B4B4BA;        /* offizielles Neutralgrau. NICHT textfähig:
                                  2,06:1 auf Weiß. Nur Trennzeichen, Seitenzahlen
                                  und Linien — niemals Label oder Fließtext.
                                  Für kleine Labels --text-2 verwenden. */
  --control-line: #8A8D93;     /* relevante Eingabe-/Controlgrenze auf hell */
  --line-dark: rgba(255,255,255,.22);
  --on-ink-2: rgba(255,255,255,.80);
  --verde: #7DC23B;            /* Markenstrich, aktiver Marker, primärer Button */
  --verde-hover: #6AAE30;
  --verde-lg: #5A8A2A;         /* nur für grüne Schrift ab 24px, BG 16/41 */
  --power-blue: #128BE0;       /* nur Kontext Power Platform */
  --copilot-violet: #B14FE8;   /* nur Kontext Copilot/AI */

  /* Fokusfarbe: auf hell Ink, in Ink-Flächen Weiß (siehe Regel unten). */
  --focus: #1E212A;

  /* Alias auf die alten Tokennamen, damit Bestandsseiten keine zweite,
     unverbundene Farbwelt führen. Keine eigenen Werte mehr. */
  --card-line: var(--line);
  --card-line-dark: var(--line-dark);
  --text-3: var(--caption-white);
  --on-dark-2: var(--on-ink-2);

  /* ── M04 · Raum ────────────────────────────────────────────────────────── */
  --maxw: 1280px;
  --pad: 24px;
  /* M04/P2-04.1B · drei Raumklassen statt eines gleichmäßigen Paddings:
     Bühne (Marke, Visual), redaktionell (Regelsektion), kompakt (Trust/Meta). */
  --stage-y: 88px;
  --sec-y: 96px;
  --sec-y-hero: 96px;
  --sec-y-compact: 52px;
  --title-gap: 40px;
  --grid-gap: 24px;
  --card-pad: 24px;
  --lead-gap: 16px;
  --meta-gap: 12px;
  --para-gap: 20px;
  --group-gap: 16px;

  /* ── M04 · Geometrie ───────────────────────────────────────────────────── */
  --r-card: 0;                 /* redaktionelle Blöcke, Zitate, Kompetenzfelder */
  --r-img: 0;                  /* Bilder */
  --r-btn: 4px;                /* Buttons, Inputs, kompakte Bedienflächen */

  /* ── M01/§3 · Header ───────────────────────────────────────────────────── */
  --header-h: 72px;
  --logo-w: 112px;
  --phasenav-h: 0px;

  /* ── M06 · Bewegung ────────────────────────────────────────────────────── */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: 220ms;
}

@media (min-width: 768px) {
  :root {
    --pad: 32px;
    --stage-y: 128px;
    --sec-y: 128px;
    --sec-y-hero: 128px;
    --sec-y-compact: 60px;
    --title-gap: 56px;
    --card-pad: 28px;
    --lead-gap: 20px;
    --meta-gap: 16px;
    --para-gap: 24px;
  }
}

@media (min-width: 1200px) {
  :root {
    --pad: max(48px, calc((100vw - var(--maxw)) / 2));
    --stage-y: 168px;
    --sec-y: 160px;
    --sec-y-hero: 196px;
    --sec-y-compact: 72px;
    --title-gap: 72px;
    --grid-gap: 32px;
    --card-pad: 32px;
    --lead-gap: 24px;
    --header-h: 88px;
    --logo-w: 136px;
  }
}

@media (max-width: 359px) { :root { --pad: 20px; } }

/* Fokusring in Ink-Flächen auf Weiß. Deckt Klassen und die in den Seiten
   vorhandenen Inline-Hintergründe ab. */
/* Weiß nur auf Flächen-/Abschnittsebene, nie auf einzelnen dunklen Controls:
   der Ring zeichnet mit outline-offset außerhalb, also auf der Fläche dahinter. */
.section--ink, .sh, .sf, .on-dark,
section[style*="background:#1E212A"], section[style*="background:var(--ink)"],
main > div[style*="background:#1E212A"] { --focus: #FFFFFF; }
/* Helle Flächen holen den Ink-Ring zurück, auch innerhalb einer Ink-Fläche. */
.section--white, .section--arctic, .card,
[style*="background:#fff"], [style*="background:#FFFFFF"],
[style*="background:#F5F5F7"], [style*="background:var(--white)"],
[style*="background:var(--arctic)"] { --focus: #1E212A; }

html { scroll-padding-top: 0; }
html, body { overflow-x: clip; }

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

.section { padding-block: var(--sec-y); padding-inline: var(--pad); }
.section--compact { padding-block: var(--sec-y-compact); }
.section--stage { padding-block: var(--stage-y); }
.section--ink { background: var(--ink); color: #fff; }
.section--arctic { background: var(--arctic); }
.section--white { background: var(--white); }

.titlegroup { margin-bottom: var(--title-gap); }
.titlegroup > * + * { margin-top: var(--lead-gap); }
/* Die Typoklassen setzen margin:0 und stehen später in dieser Datei; ohne
   die höhere Spezifität hier klebt der Lead an der Überschrift. */
.titlegroup > * + .t-lead, .titlegroup > * + .t-body,
.titlegroup > * + .t-h2, .titlegroup > * + .t-h1,
.titlegroup > * + p { margin-top: var(--lead-gap); }
.grid { display: grid; gap: var(--grid-gap); }

/* ── M03 · Typografie ─────────────────────────────────────────────────────
   Zwei Stimmen: Sans für Aussagen und Inhalt, Mono für Struktur.
   Große Aussagen 300/400, funktionale Titel 600. Keine 700er. */
.t-claim, .t-h1, .t-h2, .t-h3 { margin: 0; }

.t-claim { font-size: 44px; line-height: 1.02; font-weight: 200; letter-spacing: -.04em; }
.t-h1    { font-size: 42px; line-height: 1.04; font-weight: 200; letter-spacing: -.035em; }
.t-h2    { font-size: 34px; line-height: 1.08; font-weight: 200; letter-spacing: -.03em; }
.t-h3    { font-size: 24px; line-height: 1.22; font-weight: 300; letter-spacing: -.015em; }
.t-h1--article { font-size: 32px; line-height: 1.14; font-weight: 600; letter-spacing: -.02em; }
.t-lead  { font-size: 18px; line-height: 1.55; font-weight: 400; margin: 0; }
.t-body  { font-size: 16px; line-height: 1.65; font-weight: 400; margin: 0; }
.t-quote { font-size: 24px; line-height: 1.40; font-weight: 300; margin: 0; letter-spacing: -.01em; }
.t-meta  { font-size: 14px; line-height: 1.45; font-weight: 500; }
.t-mono  { font-family: 'IBM Plex Mono', Consolas, 'Courier New', monospace;
           font-size: 14px; line-height: 1.45; font-weight: 500;
           letter-spacing: .14em; text-transform: uppercase; }
/* Kontaktzeilen und Dateinamen: Mono in normaler Schreibweise. */
.t-mono--plain { text-transform: none; letter-spacing: 0; }

@media (min-width: 768px) {
  .t-claim { font-size: 72px; }
  .t-h1    { font-size: 64px; }
  .t-h2    { font-size: 46px; }
  .t-h3    { font-size: 26px; }
  .t-h1--article { font-size: 44px; }
  .t-lead  { font-size: 20px; }
  .t-body  { font-size: 18px; }
  .t-quote { font-size: 30px; }
}

@media (min-width: 1200px) {
  .t-claim { font-size: 104px; }
  .t-h1    { font-size: 92px; }
  .t-h2    { font-size: 60px; }
  .t-h3    { font-size: 30px; }
  .t-h1--article { font-size: 52px; }
  .t-lead  { font-size: 22px; }
  .t-body  { font-size: 18px; }
  .t-quote { font-size: 36px; }
}

@media (max-width: 359px) { .t-claim { font-size: 40px; } }

/* Zeilenlängen */
.m-head    { max-width: 22ch; }
.m-lead    { max-width: 56ch; }
.m-body    { max-width: 65ch; }
.m-article { max-width: 720px; }

.hyphen-de { hyphens: auto; overflow-wrap: break-word; }
.wrap-any  { overflow-wrap: anywhere; }

/* ── §5 · Buttons ─────────────────────────────────────────────────────────
   Kurze Handlung bis 24 Zeichen: Mono 13 Versalien. Lange Handlung: Sans 16
   über .btn--sans. Buttons dürfen mehrzeilig wachsen. */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--r-btn);
  font: 500 14px/1.35 'IBM Plex Mono', Consolas, 'Courier New', monospace;
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  text-align: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn--sans {
  font: 500 16px/1.35 'IBM Plex Sans', Arial, system-ui, sans-serif;
  letter-spacing: 0; text-transform: none;
}
.btn-primary { background: var(--verde); color: var(--ink); }
.btn-secondary { background: transparent; color: inherit; border-color: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--verde-hover); color: var(--ink); transform: translateY(-2px); }
  .btn-secondary:hover { background: rgba(125,194,59,.14); transform: translateY(-2px); }
}
.btn-primary:focus-visible, .btn-secondary:focus-visible { transform: translateY(-2px); }

/* ── §5/M02 · Links ───────────────────────────────────────────────────────
   P2-04.1B-01A: Textunterstreichung ist aus der funktionalen UI entfernt.
   Zwei Muster bleiben:
   1. .action-link — redaktioneller Weiterlink mit Pfeil und Activation-Bar.
      Alle funktionalen Weiterlinks auf Startseite, Leistungen und Insights
      verwenden ausschließlich dieses Muster.
   2. .link-inline — Link mitten im Fließtext (Recht, Kontakt, E-Mail auf den
      noch nicht bearbeiteten Seiten). Kein text-decoration mehr, stattdessen
      eine Verde-Haarlinie als eindeutiger Zustand; die Linie ist Teil des
      Aktivierungssystems und liegt in reservierter Fläche. */
.link-inline {
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--verde);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.on-dark .link-inline, .link-inline--dark { color: #fff; border-bottom-color: var(--verde); }
@media (hover: hover) and (pointer: fine) {
  .link-inline:hover { border-bottom-color: var(--ink); }
  .on-dark .link-inline:hover, .link-inline--dark:hover { border-bottom-color: #fff; }
}

a.link-inline.t-body {
  display: inline-flex; align-items: center;
  min-height: 44px; padding-block: 4px;
}

/* ── §5 · Action-Link ─────────────────────────────────────────────────────
   Eine Textzeile mit Absprung-Piktogramm: ein gerundetes Quadrat mit Pfeil,
   dieselbe Geometrie wie die Navigationstasten der Kundenstimmen. Bei Hover
   und Fokus färben sich Rahmen und Fläche des Piktogramms ein und der Pfeil
   rückt — kein Strich, keine Unterstreichung, kein Layout Shift.
   Der frühere Verde-Balken unter dem Label ist damit abgelöst.
   Markup unverändert: <a class="action-link"><span>Label</span>
   <span class="al-arrow" aria-hidden="true">→</span></a> */
.action-link {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  min-height: 44px; padding-block: 4px;
  font: 400 18px/1.5 'IBM Plex Sans', Arial, system-ui, sans-serif;
  color: var(--ink); text-decoration: none; cursor: pointer;
  transition: color var(--dur) var(--ease);
}
.action-link .al-arrow {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 4px;
  border: 1px solid var(--control-line);
  font: 400 14px/1 'IBM Plex Sans', Arial, system-ui, sans-serif;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease),
              color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.action-link:focus-visible .al-arrow {
  border-color: var(--verde); background: var(--verde); color: var(--ink); transform: translateX(3px);
}
/* Das Label wird mitmarkiert. Kein font-weight — das änderte die Textbreite
   und verschöbe den Fluss. text-stroke verdickt die Glyphen bei gleichen
   Metriken. */
.action-link > span:not(.al-arrow) {
  transition: -webkit-text-stroke-width var(--dur) var(--ease);
  -webkit-text-stroke: 0 currentColor;
}
.action-link:focus-visible > span:not(.al-arrow) { -webkit-text-stroke-width: .35px; }
@media (hover: hover) and (pointer: fine) {
  .action-link:hover > span:not(.al-arrow) { -webkit-text-stroke-width: .35px; }
}
@media (hover: hover) and (pointer: fine) {
  .action-link:hover .al-arrow {
    border-color: var(--verde); background: var(--verde); color: var(--ink); transform: translateX(3px);
  }
}
/* Themenakzent statt Verde, nur im eigenen Kontext. */
.action-link--copilot:focus-visible .al-arrow { border-color: var(--copilot-violet); background: var(--copilot-violet); color: #fff; }
.action-link--power:focus-visible .al-arrow { border-color: var(--power-blue); background: var(--power-blue); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .action-link--copilot:hover .al-arrow { border-color: var(--copilot-violet); background: var(--copilot-violet); color: #fff; }
  .action-link--power:hover .al-arrow { border-color: var(--power-blue); background: var(--power-blue); color: #fff; }
}
.action-link--dark { color: #fff; }
.action-link--dark .al-arrow { border-color: rgba(255,255,255,.45); }
.action-link--strong { font-size: 20px; font-weight: 500; }
@media (min-width: 1200px) { .action-link--strong { font-size: 22px; } }
.action-link--inherit { color: inherit; }

:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 0;
}

/* ── M04 · Karten und Bilder ─────────────────────────────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: var(--card-pad);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.card--dark { background: rgba(255,255,255,.04); border-color: var(--line-dark); color: #fff; }
.card-link { display: block; text-decoration: none; color: inherit; }
@media (hover: hover) and (pointer: fine) {
  .card-link:hover .card, .card.card-link:hover { border-color: var(--verde); }
}

.img, .img-16-10, .img-16-9, .img-4-5 {
  display: block; width: 100%; border-radius: var(--r-img); overflow: hidden; object-fit: cover;
}
.img-16-10 { aspect-ratio: 16/10; }
.img-16-9  { aspect-ratio: 16/9; }
.img-4-5   { aspect-ratio: 4/5; }

image-slot::part(ring) { display: none; }

/* ── §3 · Skip-Link, Header, Navigation ──────────────────────────────────── */
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  display: inline-flex; align-items: center; min-height: 48px; padding: 12px 24px;
  background: var(--verde); color: var(--ink); border-radius: var(--r-btn);
  font: 500 14px/1.35 'IBM Plex Mono', Consolas, monospace;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip:focus, .skip[data-focus="true"] { top: 12px; }

.sh {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.sh-in {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--header-h); padding-inline: var(--pad);
}
@media (min-width: 1200px) { .sh-in { gap: 40px; } }

/* M01 — Wortmarke als unverändertes SVG. Keine Schrift-Ersatzkonstruktion,
   kein zweiter CSS-Strich, keine Umfärbung in irgendeinem Linkzustand. */
.sh-logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.sh-logo img { display: block; width: var(--logo-w); height: auto; }
.sh-logo:hover, .sh-logo:focus, .sh-logo:active, .sh-logo:visited { background: none; }
.sh-logo img, .sf-logo img { filter: none; opacity: 1; mix-blend-mode: normal; }
.sh-logo:focus-visible { outline: 2px solid #fff; outline-offset: 8px; }

.sh-nav { display: none; align-items: center; gap: 24px; }
.sh-link {
  font: 500 14px/1.35 'IBM Plex Mono', Consolas, monospace;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-ink-2); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
  border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .sh-link:hover { color: #fff; border-bottom-color: rgba(125,194,59,.55); }
}
.sh-link[aria-current="page"] { color: #fff; border-bottom-color: var(--verde); }

.sh-cta {
  font: 500 14px/1.35 'IBM Plex Mono', Consolas, monospace;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); background: var(--verde); text-decoration: none;
  padding: 12px 24px; border-radius: var(--r-btn); min-height: 48px;
  display: inline-flex; align-items: center; margin-left: 8px;
  transition: background var(--dur) var(--ease);
}
@media (hover: hover) and (pointer: fine) { .sh-cta:hover { background: var(--verde-hover); } }
.sh-cta[aria-current="page"] { box-shadow: inset 0 0 0 2px rgba(30,33,42,.45); }

.sh-toggle {
  width: 44px; height: 44px; display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  background: none; border: 0; cursor: pointer; padding: 0; flex: none;
}
.sh-toggle span { display: block; width: 26px; height: 2px; background: #fff;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.sh-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.sh-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.sh-menu {
  display: none;
  border-top: 1px solid rgba(255,255,255,.12);
  background: var(--ink);
  padding: 8px var(--pad) 20px;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  flex-direction: column; gap: 2px;
}
.sh-menu[data-open="true"] { display: flex; }
.sh-menu a {
  display: flex; align-items: center; min-height: 52px; padding: 12px;
  font: 500 16px/1.40 'IBM Plex Mono', Consolas, monospace;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.88); text-decoration: none;
  border-bottom: 2px solid transparent;
}
.sh-menu a[aria-current="page"] { color: #fff; border-bottom-color: var(--verde); }
.sh-menu .sh-menu-cta {
  margin-top: 12px; background: var(--verde); color: var(--ink);
  justify-content: center; border-radius: var(--r-btn); border-bottom: 0;
}
.sh-menu .sh-menu-cta[aria-current="page"] { box-shadow: inset 0 0 0 2px rgba(30,33,42,.45); }

@media (min-width: 1200px) {
  .sh-nav { display: flex; }
  .sh-toggle { display: none; }
  .sh-menu { display: none !important; }
}

/* ── §4 · Footer ─────────────────────────────────────────────────────────── */
.sf {
  background: var(--ink); color: #fff;
  border-top: 1px solid var(--line-dark);
  padding: var(--sec-y-compact) var(--pad);
}
.sf-logo { display: inline-flex; text-decoration: none; }
.sf-logo img { display: block; width: 136px; height: auto; }
.sf-logo:focus-visible { outline: 2px solid #fff; outline-offset: 8px; }
.sf-grid {
  display: grid; gap: 40px 32px;
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.14);
}
@media (min-width: 768px) { .sf-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .sf-brand { grid-column: 1 / -1; } }
@media (min-width: 1200px) { .sf-grid { grid-template-columns: 1.6fr 1fr 1.1fr 1.2fr 1fr; gap: 32px; } .sf-brand { grid-column: auto; } }
.sf-brand { display: flex; flex-direction: column; gap: 16px; }
.sf-claim { margin: 0; font: 300 18px/1.45 'IBM Plex Sans', Arial, sans-serif; color: rgba(255,255,255,.8); max-width: 22ch; }
.sf-col { display: flex; flex-direction: column; align-items: flex-start; gap: 0; min-width: 0; }
.sf-head {
  font: 500 12px/1.45 'IBM Plex Mono', Consolas, monospace; letter-spacing: .16em;
  text-transform: uppercase; color: var(--verde); margin-bottom: 8px;
}
/* Mono für Navigation und Kontaktdaten, normale Schreibweise. */
.sf-col a, .sf a.sf-link {
  font: 400 14px/1.55 'IBM Plex Sans', Arial, system-ui, sans-serif;
  color: var(--on-ink-2); text-decoration: none;
  min-height: 22px; display: inline-flex; align-items: center;
  overflow-wrap: anywhere;
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
@media (pointer: coarse) { .sf-col a, .sf a.sf-link, .sf-legal a { min-height: 44px; } }
@media (hover: hover) and (pointer: fine) {
  .sf a:hover { color: #fff; }
  .sf-col a:hover, .sf a.sf-link:hover { transform: translateX(3px); }
}
.sf-col a:focus-visible, .sf a.sf-link:focus-visible { color: #fff; }
.sf-loc { font-style: normal; display: flex; flex-direction: column; gap: 0;
  font: 400 14px/1.55 'IBM Plex Sans', Arial, system-ui, sans-serif; color: var(--on-ink-2); }
.sf-loc + .sf-loc { margin-top: 22px; }
.sf-loclabel { font: 500 12px/1.4 'IBM Plex Mono', Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-2); margin-bottom: 0; }
.sf-locnote { font-size: 14px; color: var(--on-ink-2); margin-top: 0; }
.sf-addr { font: 400 14px/1.55 'IBM Plex Sans', Arial, system-ui, sans-serif; color: var(--on-ink-2); margin: 0; max-width: 34ch; }
.sf-addr--muted { color: rgba(255,255,255,.8); }
.sf-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center;
  padding-top: 20px;
  font: 400 12px/1.45 'IBM Plex Mono', Consolas, monospace; letter-spacing: .04em; color: rgba(255,255,255,.8);
}
.sf-legal { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.sf-bottom a { color: rgba(255,255,255,.8); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 32px; }

/* ── P2-04.1B · Produktionsplatzhalter (.vp) ──────────────────────────────
   Ein Platzhalter bildet exakt die spätere Bildfläche ab. Der Rahmen trägt
   das Seitenverhältnis, die Safe Area und die Verde-Statuskennung; die
   Beschriftung steht darunter und wird nie beschnitten. Desktop- und
   Mobilslot sind getrennt, damit später kein object-position-Notbehelf
   nötig ist. Umschaltpunkt 768 px: Tablet folgt der Desktopkomposition. */
.vp { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.vp-slot { position: relative; width: 100%; min-height: 160px;
  background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.vp--ondark .vp-slot { background: rgba(255,255,255,.035); border-color: var(--line-dark); }
.vp--onarctic .vp-slot { background: var(--white); }
.vp-desk { display: none; }
.vp-mob  { display: block; }
@media (min-width: 768px) { .vp-desk { display: block; } .vp-mob { display: none; } }

/* Seitenverhältnisse als Klassen, damit keine Inline-Stilketten entstehen. */
.dr-21-9 { aspect-ratio: 21/9; } .dr-16-9 { aspect-ratio: 16/9; }
.dr-3-2  { aspect-ratio: 3/2; }  .dr-4-3  { aspect-ratio: 4/3; }
.dr-5-4  { aspect-ratio: 5/4; }  .dr-1-1  { aspect-ratio: 1/1; }
.dr-4-5  { aspect-ratio: 4/5; }  .dr-16-7 { aspect-ratio: 16/7; }
.mr-4-5  { aspect-ratio: 4/5; }  .mr-1-1  { aspect-ratio: 1/1; }
.mr-3-2  { aspect-ratio: 3/2; }  .mr-16-9 { aspect-ratio: 16/9; }

/* Abstrakte Richtungsandeutung aus Haarlinien — kein fertiges Bild. */
.vp-art { position: absolute; inset: 0; }
.vp-art::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px),
                    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; }
.vp--ondark .vp-art::before { background-image:
  linear-gradient(to right, rgba(255,255,255,.14) 1px, transparent 1px),
  linear-gradient(to bottom, rgba(255,255,255,.14) 1px, transparent 1px); }
.vp-art::after { content: ""; position: absolute; }
/* flow — gerichtete Bewegung von links unten nach rechts oben */
.vp-art--flow::after { left: 8%; right: 8%; top: 50%; height: 1px;
  background: var(--control-line); transform: rotate(-9deg); }
/* split — vertikale Zäsur, zwei Zustände */
.vp-art--split::after { left: 46%; top: 12%; bottom: 12%; width: 1px; background: var(--control-line); }
/* stack — geschichtete Ebenen */
.vp-art--stack::after { left: 12%; right: 34%; top: 26%; bottom: 26%;
  border: 1px solid var(--control-line); border-right: 0; }
/* node — Knoten mit Anschluss; feste Größe, damit der Kreis in breiten
   Flächen nicht zur Ellipse verzieht und wie eine Illustration wirkt */
.vp-art--node::after { left: 50%; top: 50%; width: 72px; height: 72px;
  margin: -36px 0 0 -36px; border: 1px solid var(--control-line); border-radius: 50%; }
/* frame — präziser Beschnitt, Bildausschnitt im Bild */
.vp-art--frame::after { left: 18%; right: 18%; top: 18%; bottom: 18%;
  border: 1px solid var(--control-line); }
.vp--ondark .vp-art::after { background: rgba(255,255,255,.34); border-color: rgba(255,255,255,.34); }
.vp--ondark .vp-art--flow::after, .vp--ondark .vp-art--split::after { background: rgba(255,255,255,.34); }
.vp--ondark .vp-art--stack::after, .vp--ondark .vp-art--node::after,
.vp--ondark .vp-art--frame::after { background: transparent; }

/* Safe Area: Zone, die im späteren Motiv ruhig bleiben muss. */
.vp-safe { position: absolute; border: 1px dashed var(--control-line); opacity: .55; }
.vp--ondark .vp-safe { border-color: rgba(255,255,255,.40); }
.safe--right  { right: 6%; top: 14%; bottom: 14%; width: 38%; }
.safe--left   { left: 6%; top: 14%; bottom: 14%; width: 38%; }
.safe--bottom { left: 6%; right: 6%; bottom: 8%; height: 34%; }
.safe--top    { left: 6%; right: 6%; top: 8%; height: 34%; }
.safe--center { left: 16%; right: 16%; top: 20%; bottom: 20%; }

.vp-badge { position: absolute; left: 16px; top: 16px;
  display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); }
.vp-dot { display: block; width: 32px; height: 3px; background: var(--verde); flex: none; }
.vp-id { font: 500 14px/1.45 'IBM Plex Mono', Consolas, monospace;
  letter-spacing: .14em; color: var(--ink); }
.vp--ondark .vp-id { color: #fff; }

/* Beschriftung: nur Kennung, Klasse, Titel, ein Satz und die beiden
   Seitenverhältnisse. Licht, Perspektive, Requisiten, Safe Area und
   Negativvorgaben stehen vollständig in content/VISUAL-MANIFEST.json. */
.vp-meta { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px; }
.vp--ondark .vp-meta { border-top-color: var(--line-dark); }
.vp-head { font: 500 14px/1.45 'IBM Plex Mono', Consolas, monospace;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin: 0; }
.vp--ondark .vp-head { color: var(--on-ink-2); }
.vp-title { font: 500 16px/1.45 'IBM Plex Sans', Arial, sans-serif; color: var(--ink); margin: 0; }
.vp--ondark .vp-title { color: #fff; }
.vp-desc { font: 400 16px/1.55 'IBM Plex Sans', Arial, sans-serif; color: var(--text-2); margin: 0; max-width: 62ch; }
.vp--ondark .vp-desc { color: var(--on-ink-2); }
.vp-ratio { font: 400 14px/1.5 'IBM Plex Mono', Consolas, monospace;
  color: var(--text-2); margin: 2px 0 0; }
.vp--ondark .vp-ratio { color: var(--on-ink-2); }

/* ── §5 · Interaktive Flächen (Logofeld, Skillfeld) ─────────────────────────
   Gemeinsame Hoversprache: Haarlinie wird Ink, Inhalt bewegt sich höchstens
   4 px, keine Skalierung, kein Schatten. Fokus verhält sich gleichwertig. */
.logo-cell {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 72px; padding: 8px 12px;
  text-decoration: none;
  opacity: .72; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.logo-cell img { max-width: 100%; height: auto; width: auto; object-fit: contain; }
.logo-cell:focus-visible { opacity: 1; transform: translateY(-2px); }
@media (hover: hover) and (pointer: fine) {
  .logo-cell:hover { opacity: 1; transform: translateY(-2px); }
}

.skill {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 56px; padding: 14px 16px;
  border: 1px solid var(--line); background: var(--white);
  color: var(--ink); text-decoration: none;
  font: 400 16px/1.4 'IBM Plex Sans', Arial, system-ui, sans-serif;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.skill .al-arrow { transition: transform var(--dur) var(--ease); flex: none; }
.skill:focus-visible { border-color: var(--ink); background: var(--arctic); }
.skill:focus-visible .al-arrow { transform: translateX(4px); }
@media (hover: hover) and (pointer: fine) {
  .skill:hover { border-color: var(--ink); background: var(--arctic); }
  .skill:hover .al-arrow { transform: translateX(4px); }
}
.skill--dark {
  border-color: var(--line-dark); background: rgba(255,255,255,.04); color: #fff;
}
.skill--dark:focus-visible { border-color: #fff; background: rgba(255,255,255,.09); }
@media (hover: hover) and (pointer: fine) {
  .skill--dark:hover { border-color: #fff; background: rgba(255,255,255,.09); }
}
/* Themenakzent: nur im eigenen Kontext, nie als allgemeine Dekoration. */
.skill--copilot:focus-visible { border-color: var(--copilot-violet); background: rgba(177,79,232,.16); }
.skill--power:focus-visible { border-color: var(--power-blue); background: rgba(18,139,224,.16); }
@media (hover: hover) and (pointer: fine) {
  .skill--copilot:hover { border-color: var(--copilot-violet); background: rgba(177,79,232,.16); }
  .skill--power:hover { border-color: var(--power-blue); background: rgba(18,139,224,.16); }
}

/* ── M06 · Reduced Motion ──────────────────────────────────────────────────
   Translationen entfallen vollständig. Zustandsfarben, Rahmen, Activation-Bars
   und Frames bleiben sichtbar — sie tragen die Information. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .btn-primary:hover, .btn-secondary:hover,
  .btn-primary:focus-visible, .btn-secondary:focus-visible,
  .action-link:hover .al-arrow, .action-link:focus-visible .al-arrow,
  .sf-col a:hover, .sf a.sf-link:hover,
  .logo-cell:hover, .logo-cell:focus-visible,
  .skill:hover, .skill:focus-visible,
  .lane:hover, .lane:focus-visible,
  .pcard:hover, .pcard:focus-visible, .lead:hover, .lead:focus-visible {
    transform: none !important;
  }
}


/* ── Übergangsdarstellung Bildflächen (P2-QA, Entscheidung 3a) ────────────
   Bis die Motive vorliegen, zeigen alle .vp-Flächen eine ruhige Ink-Fläche
   mit Markenstrich statt Briefingtext, Kennung, Safe Area und Raster.
   Maße und Seitenverhältnisse bleiben unverändert. Briefingansicht für das
   Team: <html data-briefing> setzen, dann greift diese Regel nicht. */
:root:not([data-briefing]) .vp-slot { background: var(--ink); border-color: var(--ink); }
:root:not([data-briefing]) .vp--ondark .vp-slot { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.10); }
:root:not([data-briefing]) .vp-art,
:root:not([data-briefing]) .vp-safe,
:root:not([data-briefing]) .vp-badge,
:root:not([data-briefing]) .vp-meta { display: none; }
:root:not([data-briefing]) .vp-slot::after { content: ""; position: absolute; left: 28px; bottom: 28px;
  width: 40px; height: 3px; background: var(--verde); }


/* ── Seitenabschluss: zwei Wege (P2-QA, Entscheidung 7b) ─────────────────
   Sprechen oder weiterlesen. Zwei gleich hohe Zellen an einer Haarlinie,
   der Primärbutton bleibt im linken Weg. */
.endgrid { display: grid; grid-template-columns: minmax(0,1fr); gap: 1px; width: 100%;
  background: rgba(255,255,255,.14); }
@media (min-width: 768px) { .endgrid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.endcell { background: var(--ink); padding: 32px 0; display: flex; flex-direction: column;
  align-items: flex-start; gap: 16px; min-width: 0; }
@media (min-width: 768px) { .endcell:first-child { padding-right: 40px; } .endcell:last-child { padding-left: 40px; } }
@media (min-width: 1200px) { .endcell { padding-block: 40px; } .endcell:first-child { padding-right: 56px; } .endcell:last-child { padding-left: 56px; } }
.endmeta { margin: -4px 0 8px; font: 500 14px/1.45 'IBM Plex Mono', Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.endttl { margin: 0 0 8px; font: 500 22px/1.3 'IBM Plex Sans', Arial, sans-serif; color: #fff; text-wrap: pretty; }
@media (min-width: 1200px) { .endttl { font-size: 26px; } }
.endacts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: auto; align-self: stretch; }

/* ── Navigation · Smart Sticky, Marken-Strich, Abschnitts-Tracker ─────────── */
.sh { position: fixed; left: 0; right: 0; transition: transform .45s cubic-bezier(.22,.7,.24,1); will-change: transform; }
.sh[data-hide="1"] { transform: translateY(-100%); }
.sh-space { height: var(--header-measured, var(--header-h)); }
.sh-link { position: relative; border-bottom-color: transparent !important; }
.sh-link::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--verde); transition: width .4s cubic-bezier(.22,.7,.24,1); }
.sh-link[aria-current="page"]::after { width: 14px; }
@media (hover: hover) and (pointer: fine) { .sh-link:hover::after { width: 100%; } }
.sh-link:focus-visible::after { width: 100%; }
.trk { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 45; display: none; flex-direction: column; align-items: flex-end; gap: 2px; padding: 8px 0; }
@media (min-width: 1200px) { .trk[data-on="1"] { display: flex; } }
.trk button { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 12px; height: 24px; padding: 0 0 0 16px; background: none; border: 0; cursor: pointer; }
.trk .trk-l { width: 14px; height: 2px; background: #8A8D93; opacity: .7; transition: width .35s cubic-bezier(.22,.7,.24,1), background .3s ease, opacity .3s ease; }
.trk button[aria-current="true"] .trk-l { width: 28px; background: var(--verde); opacity: 1; }
.trk .trk-t { font: 500 12px/1 'IBM Plex Mono', Consolas, monospace; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: #fff; background: var(--ink); padding: 6px 9px; opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity .25s ease, transform .3s ease; }
.trk { pointer-events: none; }
.trk button { pointer-events: auto; width: 40px; padding: 0 !important; justify-content: flex-end !important; }
.trk .trk-t { position: absolute; right: calc(100% + 6px); top: 50%; opacity: 0; filter: blur(6px); transform: translate(8px, -50%); transition: opacity .35s ease, filter .35s ease, transform .35s cubic-bezier(.22,.7,.24,1); pointer-events: none; }
.trk[data-open="1"] .trk-t { opacity: 1; filter: blur(0); transform: translate(0, -50%); pointer-events: auto; cursor: pointer; }
.trk[data-open="1"] button:nth-child(2) .trk-t { transition-delay: .03s; } .trk[data-open="1"] button:nth-child(3) .trk-t { transition-delay: .06s; } .trk[data-open="1"] button:nth-child(4) .trk-t { transition-delay: .09s; } .trk[data-open="1"] button:nth-child(5) .trk-t { transition-delay: .12s; } .trk[data-open="1"] button:nth-child(n+6) .trk-t { transition-delay: .15s; }
@media (prefers-reduced-motion: reduce) { .trk .trk-t { filter: none; } }
.trk button:hover .trk-l, .trk button:focus-visible .trk-l { width: 28px; opacity: 1; }
.trk button[aria-current="true"] .trk-t { color: var(--verde); }
.trk button:focus-visible { outline: 2px solid var(--verde); outline-offset: 2px; }
.prg { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 60; pointer-events: none; }
.prg i { display: block; height: 100%; background: var(--verde); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (min-width: 1200px) { .prg { display: none; } }
@media (prefers-reduced-motion: reduce) { .sh, .sh-link::after, .trk * { transition: none !important; } }

/* Einblenden beim Scrollen (Insights, Kontakt, Beiträge) */
[data-rv] { transition: opacity .7s ease var(--rvd, 0ms), transform .8s cubic-bezier(.22,.7,.24,1) var(--rvd, 0ms); }
[data-rv="wait"] { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) { [data-rv] { transition: none; opacity: 1; transform: none; } }

#mo-top:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; }
