/* anyPIM-Website – Farben und Verläufe wie das anyPIM-Login */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy-950: #090c16;
  --navy-900: #0b1020;
  --navy-850: #0f1630;
  --navy-800: #151d3b;
  --indigo: #6366f1;
  --blau: #2563eb;
  --cyan: #06b6d4;
  --violett-hell: #818cf8;
  --blau-hell: #60a5fa;
  --verlauf: linear-gradient(135deg, #6366f1 0%, #2563eb 55%, #06b6d4 100%);

  --text-hell: #eef0f7;
  --text-hell-gedaempft: #aab2c8;
  --text-dunkel: #0f1629;
  --text: #2b3452;
  --text-gedaempft: #5b6480;
  --flaeche: #f2f4fa;
  --linie: #e7eaf3;
  --weiss: #ffffff;

  --schrift: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --rund: 16px;
  --rund-klein: 10px;
  --schatten: 0 10px 30px -12px rgba(15, 22, 48, 0.25);
  --breite: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: var(--text);
  background: var(--weiss);
}
img, svg { max-width: 100%; }
a { color: var(--blau); }
h1, h2, h3 { color: var(--text-dunkel); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); font-weight: 820; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 780; }
h3 { font-size: 1.28rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
p { text-wrap: pretty; }
p { margin: 0 0 1em; }

.rahmen { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.schmal { max-width: 820px; }

.sprung { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--weiss); padding: 8px 14px; border-radius: 8px; }
.sprung:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--violett-hell); outline-offset: 2px; border-radius: 4px; }

.icon { width: 1.1em; height: 1.1em; vertical-align: -0.18em; flex: none; }

/* ── Logo ────────────────────────────────────────────── */
.marke { display: inline-flex; text-decoration: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-zeichen { width: 34px; height: 34px; }
.logo-text { font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1; }
.logo-any { color: var(--blau-hell); font-weight: 500; }
.logo-pim { color: var(--weiss); font-weight: 800; }

/* ── Kopf ────────────────────────────────────────────── */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 16, 32, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.kopf-innen { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--text-hell-gedaempft); text-decoration: none; font-weight: 500; font-size: 0.95rem;
}
.nav a:hover, .nav a[aria-current] { color: var(--weiss); background: rgba(255, 255, 255, 0.07); }
.nav-mobil { display: none; }

/* ── Knöpfe ──────────────────────────────────────────── */
.knopf {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  background: var(--verlauf); color: var(--weiss);
  font-weight: 650; text-decoration: none; border: 0;
  box-shadow: 0 8px 24px -10px rgba(37, 99, 235, 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.knopf:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(37, 99, 235, 0.85); }
.knopf-klein { padding: 9px 18px; font-size: 0.92rem; }
.knopf-zweit {
  background: transparent; color: var(--text-hell);
  border: 1px solid rgba(255, 255, 255, 0.22); box-shadow: none;
}
.knopf-zweit:hover { background: rgba(255, 255, 255, 0.06); box-shadow: none; }
.knopf-gruppe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ── Bühne (dunkel, wie das Login) ───────────────────── */
.buehne, .abschnitt-dunkel, .kopf, .fuss {
  --linienraster: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
}
.buehne {
  position: relative; overflow: hidden;
  background: var(--linienraster), linear-gradient(160deg, var(--navy-900) 0%, #0a0e1a 55%, var(--navy-950) 100%);
  background-size: 48px 48px, 48px 48px, auto;
  color: var(--text-hell-gedaempft);
  padding: 88px 0 96px;
}
.buehne::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(99, 102, 241, 0.28), transparent);
  pointer-events: none;
}
.buehne::after {
  content: ""; position: absolute; inset: auto auto -50% -15%; width: 640px; height: 640px;
  background: radial-gradient(closest-side, rgba(6, 182, 212, 0.16), transparent);
  pointer-events: none;
}
.buehne > .rahmen { position: relative; z-index: 1; }
.buehne h1, .buehne h2, .abschnitt-dunkel h2, .abschnitt-dunkel h3 { color: var(--weiss); }
.buehne-klein { padding: 80px 0 88px; }
.buehne-raster { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.verlaufstext { background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; }

.kicker {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blau); margin-bottom: 14px;
}
.buehne .kicker, .abschnitt-dunkel .kicker { color: var(--violett-hell); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.38rem); line-height: 1.55; color: var(--text-gedaempft); max-width: 38em; }
.buehne .lead, .abschnitt-dunkel .lead { color: var(--text-hell-gedaempft); }

/* ── Abschnitte ──────────────────────────────────────── */
.abschnitt { padding: 112px 0; }
.abschnitt-hell { background: var(--flaeche); }
.abschnitt-dunkel {
  background: var(--linienraster), linear-gradient(160deg, var(--navy-900), var(--navy-950));
  background-size: 48px 48px, 48px 48px, auto;
  color: var(--text-hell-gedaempft);
}
.abschnitt-kopf { max-width: 760px; margin-bottom: 48px; }
.abschnitt-kopf.mitte { margin-left: auto; margin-right: auto; text-align: center; }
.abschnitt-kopf.mitte .lead { margin-left: auto; margin-right: auto; }

/* ── Grafiken ────────────────────────────────────────── */
.grafik > svg { display: block; width: 100%; height: auto; }
.grafik figcaption { font-size: 0.9rem; color: var(--text-gedaempft); margin-top: 10px; }

/* ── Kacheln ─────────────────────────────────────────── */
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.kachel {
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px; border-radius: var(--rund);
  background: var(--weiss); border: 1px solid var(--linie);
  text-decoration: none; color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.kachel:hover { transform: translateY(-3px); box-shadow: var(--schatten); border-color: #c9cff0; }
.kachel-icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--verlauf); color: var(--weiss); font-size: 1.35rem;
}
.kachel-titel { font-weight: 700; font-size: 1.12rem; color: var(--text-dunkel); }
.kachel-text { color: var(--text-gedaempft); font-size: 0.96rem; flex: 1; }
.kachel-mehr { color: var(--blau); font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 6px; }
.abschnitt-dunkel .kachel { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.08); color: var(--text-hell-gedaempft); }
.abschnitt-dunkel .kachel-titel { color: var(--weiss); }
.abschnitt-dunkel .kachel-text { color: var(--text-hell-gedaempft); }
.abschnitt-dunkel .kachel-mehr { color: var(--blau-hell); }

/* ── Gründe (drei Spalten) ───────────────────────────── */
.gruende { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: grund; }
.grund { padding: 32px; border-radius: var(--rund); background: var(--weiss); border: 1px solid var(--linie); position: relative; }
.grund::before {
  counter-increment: grund; content: counter(grund);
  display: block; font-size: 2.8rem; font-weight: 800; line-height: 1; margin-bottom: 18px;
  background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grund p { color: var(--text-gedaempft); margin: 0; }

/* ── Kennzahlen ──────────────────────────────────────── */
.zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.zahl { text-align: center; padding: 8px; }
.zahl-wert { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.zahl-text { color: var(--text-hell-gedaempft); font-size: 0.95rem; }

/* ── Ablauf (Schritte) ───────────────────────────────── */
.ablauf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: schritt; }
.ablauf li { position: relative; padding: 28px 24px; border-radius: var(--rund); background: var(--weiss); border: 1px solid var(--linie); }
.ablauf li::before {
  counter-increment: schritt; content: counter(schritt);
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--verlauf); color: var(--weiss); font-weight: 700; margin-bottom: 14px;
}
.ablauf li:not(:last-child)::after {
  content: ""; position: absolute; top: 47px; right: -16px; width: 12px; height: 12px;
  border-top: 2px solid #b8c1e6; border-right: 2px solid #b8c1e6; transform: rotate(45deg);
}
.ablauf h3 { margin-bottom: 6px; }
.ablauf p { color: var(--text-gedaempft); margin: 0; font-size: 0.96rem; }

/* ── Zwei Spalten mit Grafik ─────────────────────────── */
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.liste-haken { list-style: none; padding: 0; margin: 0 0 1em; }
.liste-haken li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.liste-haken li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--verlauf) ;
  -webkit-mask: radial-gradient(circle, #000 60%, transparent 61%); mask: radial-gradient(circle, #000 60%, transparent 61%);
}
.liste-haken li::after {
  content: ""; position: absolute; left: 6px; top: 9px; width: 8px; height: 4px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
}
.abschnitt-dunkel .liste-haken li { color: var(--text-hell); }

/* ── Aufruf ──────────────────────────────────────────── */
.aufruf {
  border-radius: 24px; padding: 56px; color: var(--weiss);
  background: var(--verlauf);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.aufruf h2 { color: var(--weiss); margin-bottom: 10px; }
.aufruf p { color: rgba(255, 255, 255, 0.88); margin: 0; }
.aufruf .knopf { background: var(--weiss); color: var(--blau); box-shadow: none; }
.aufruf-kontakt { display: grid; gap: 12px; justify-items: start; }
.aufruf-kontakt a:not(.knopf) { color: var(--weiss); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }

/* ── Textseiten (Impressum, Datenschutz) ─────────────── */
.text h2 { font-size: 1.4rem; margin-top: 2em; }
.text h3 { font-size: 1.1rem; margin-top: 1.6em; }
.text address { font-style: normal; }
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 24px 0; }
.karte { padding: 24px; border-radius: var(--rund); background: var(--flaeche); border: 1px solid var(--linie); }
.karte h2, .karte h3 { margin-top: 0; font-size: 1.1rem; }
.karte p:last-child { margin-bottom: 0; }
.karte a { font-weight: 600; text-decoration: none; }

/* ── Brotkrumen ──────────────────────────────────────── */
.brotkrumen { padding: 14px 0 0; background: var(--navy-900); }
.brotkrumen ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 auto; font-size: 0.88rem; }
.brotkrumen li + li::before { content: "›"; margin-right: 6px; color: #9aa3c0; }
.brotkrumen ol { color: var(--text-hell-gedaempft); }
.brotkrumen li[aria-current] { color: var(--text-hell); }
.brotkrumen a { color: var(--text-hell-gedaempft); text-decoration: none; }
.brotkrumen a:hover { color: var(--weiss); }

/* ── Fuß ─────────────────────────────────────────────── */
.fuss {
  background: var(--linienraster), var(--navy-950);
  background-size: 48px 48px, 48px 48px, auto;
  color: var(--text-hell-gedaempft); padding: 64px 0 28px; font-size: 0.95rem;
}
.fuss-raster { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; }
.fuss-marke p { margin: 16px 0 0; max-width: 22em; }
.fuss-kontakt a { color: var(--text-hell); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.fuss-titel { color: var(--weiss); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 8px; }
.fuss ul a { color: var(--text-hell-gedaempft); text-decoration: none; }
.fuss ul a:hover { color: var(--weiss); }
.fuss-zeile { border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 48px; padding-top: 20px; font-size: 0.85rem; }


/* ── Unterseiten-Bühne mit Grafik ────────────────────── */
.buehne-seite { padding: 72px 0 96px; }
.buehne-seite .buehne-raster { grid-template-columns: 1fr 1.12fr; gap: 56px; }
.buehne-seite { padding-top: 48px; }
.buehne-seite h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); }
.buehne .grafik { margin: 0; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.35)); }

/* ── Menü-Leiste: wo die Funktion in anyPIM liegt ────── */
.menue { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.menue-titel { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-hell-gedaempft); margin-right: 6px; }
.menue li:not(.menue-titel) {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 9px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-hell); font-size: 0.86rem; font-weight: 550;
}
.menue .icon { color: var(--violett-hell); }

/* ── KI-Marke ────────────────────────────────────────── */
.ki {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 8px; border-radius: 999px;
  background: var(--verlauf); color: var(--weiss); font-size: 0.72rem; font-weight: 750; letter-spacing: 0.06em;
  vertical-align: 0.3em; white-space: nowrap;
}
h1 .ki { font-size: 0.9rem; vertical-align: 0.9em; margin-left: 8px; }

/* ── Merkmale (Funktionen einer Seite) ───────────────── */
.merkmale { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.merkmal { padding: 30px; border-radius: 20px; background: var(--weiss); border: 1px solid var(--linie); }
.abschnitt-hell .merkmal { border-color: #e2e6f2; }
.merkmal-icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.12)); color: var(--blau); font-size: 1.3rem;
}
.merkmal h3 { margin-bottom: 8px; }
.merkmal p { color: var(--text-gedaempft); margin: 0; font-size: 1rem; }
.merkmal ul { margin: 12px 0 0; padding-left: 1.1em; color: var(--text-gedaempft); font-size: 0.96rem; }
.merkmal li { margin-bottom: 4px; }
.abschnitt-dunkel .merkmal { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.09); }
.abschnitt-dunkel .merkmal h3 { color: var(--weiss); }
.abschnitt-dunkel .merkmal p, .abschnitt-dunkel .merkmal ul { color: var(--text-hell-gedaempft); }
.abschnitt-dunkel .merkmal-icon { background: rgba(129, 140, 248, 0.16); color: #a5b4fc; }

/* ── Zweispaltig mit wechselnder Seite ───────────────── */
.zweispaltig.umgekehrt > :first-child { order: 2; }
.zweispaltig h2 { margin-bottom: 0.4em; }
.zweispaltig .grafik { margin: 0; }
.text-gross { font-size: 1.15rem; color: var(--text-gedaempft); }

/* ── Leitplanken / Hinweis ───────────────────────────── */
.hinweis {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding: 26px 28px; border-radius: 18px; background: var(--weiss); border: 1px solid var(--linie);
  border-left: 5px solid var(--indigo); margin-top: 40px;
}
.hinweis .icon { font-size: 1.6rem; color: var(--indigo); }
.hinweis p { margin: 0; color: var(--text); }
.hinweis strong { color: var(--text-dunkel); }

/* ── Gruppen-Überschrift auf Übersichtsseiten ────────── */
.gruppe { margin-top: 72px; }
.gruppe:first-child { margin-top: 0; }
.gruppe-kopf { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--linie); }
.gruppe-kopf h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0; }
.gruppe-kopf p { margin: 0; color: var(--text-gedaempft); }

/* ── Geschwister-Links am Seitenende ─────────────────── */
.geschwister { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.geschwister a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: var(--weiss); border: 1px solid var(--linie); color: var(--text-dunkel); text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.geschwister a:hover { border-color: #c9cff0; box-shadow: var(--schatten); }
.geschwister .icon { color: var(--blau); }

/* ── Großes Zitat / Aussage ──────────────────────────── */
.aussage { font-size: clamp(1.6rem, 3.2vw, 2.5rem); font-weight: 750; line-height: 1.2; letter-spacing: -0.025em; color: var(--text-dunkel); max-width: 22em; margin: 0 auto; text-align: center; text-wrap: balance; }
.abschnitt-dunkel .aussage { color: var(--weiss); }

/* ── Responsiv ───────────────────────────────────────── */
@media (max-width: 1000px) {
  .buehne-raster, .zweispaltig, .buehne-seite .buehne-raster { grid-template-columns: 1fr; }
  .zweispaltig.umgekehrt > :first-child { order: 0; }
  .zahlen { grid-template-columns: repeat(2, 1fr); }
  .ablauf { grid-template-columns: repeat(2, 1fr); }
  .ablauf li::after { display: none; }
  .gruende { grid-template-columns: 1fr; }
  .fuss-raster { grid-template-columns: repeat(2, 1fr); }
  .fuss-marke { grid-column: 1 / -1; }
  .aufruf { grid-template-columns: 1fr; padding: 40px 32px; }
}
@media (max-width: 860px) {
  .nav, .kopf-innen > .knopf { display: none; }
  .nav-mobil { display: block; margin-left: auto; position: relative; }
  .nav-mobil summary { list-style: none; cursor: pointer; color: var(--weiss); font-size: 1.6rem; padding: 6px; }
  .nav-mobil summary::-webkit-details-marker { display: none; }
  .nav-mobil nav {
    position: absolute; right: 0; top: 48px; min-width: 220px; padding: 10px;
    background: var(--navy-850); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; box-shadow: var(--schatten);
  }
  .nav-mobil ul { list-style: none; margin: 0; padding: 0; }
  .nav-mobil a { display: block; padding: 10px 14px; color: var(--text-hell); text-decoration: none; border-radius: 8px; }
  .nav-mobil a:hover { background: rgba(255, 255, 255, 0.06); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .rahmen { padding: 0 16px; }
  .buehne { padding: 56px 0 64px; }
  .abschnitt { padding: 72px 0; }
  .merkmale { grid-template-columns: 1fr; }
  .hinweis { grid-template-columns: 1fr; }
  .ablauf, .zahlen, .fuss-raster { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .knopf, .kachel { transition: none; }
}

/* ── Ablauf mit fünf Schritten ───────────────────────── */
.ablauf-5 { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ablauf-5 li { padding: 24px 20px; }
@media (max-width: 1000px) { .ablauf-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ablauf-5 { grid-template-columns: 1fr; } }

/* ── Tabelle ─────────────────────────────────────────── */
.tabelle-rahmen { overflow-x: auto; border-radius: 18px; border: 1px solid var(--linie); }
.tabelle { width: 100%; border-collapse: collapse; font-size: 0.98rem; min-width: 560px; }
.tabelle th, .tabelle td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle thead th { background: var(--flaeche); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-gedaempft); }
.tabelle tbody th { color: var(--text-dunkel); white-space: nowrap; }
.tabelle tbody th .icon { color: var(--blau); margin-right: 6px; }
.tabelle tr:last-child th, .tabelle tr:last-child td { border-bottom: 0; }
.tabelle td { color: var(--text-gedaempft); }

/* ── Merkmal als Link ────────────────────────────────── */
a.merkmal { text-decoration: none; display: flex; flex-direction: column; }
a.merkmal p { flex: 1; margin-bottom: 14px; }
.merkmal .kachel-mehr { margin-top: auto; }

/* ── Abzeichen „Beta“ ────────────────────────────────── */
.abzeichen { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 750; letter-spacing: 0.06em; background: #fef3c7; color: #92400e; vertical-align: 0.3em; }
h1 .abzeichen { font-size: 0.9rem; vertical-align: 0.9em; margin-left: 8px; }

/* ── Zusatzmodule ────────────────────────────────────── */
.modul {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px;
  background: rgba(99, 102, 241, 0.16); border: 1px solid rgba(165, 180, 252, 0.35);
  color: #c7d2fe; font-size: 0.8rem; font-weight: 650; text-decoration: none; white-space: nowrap;
}
.modul:hover { background: rgba(99, 102, 241, 0.26); color: var(--weiss); }
.modulkarten { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.modulkarte {
  display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border-radius: 16px; scroll-margin-top: 96px;
  background: var(--weiss); border: 1px solid var(--linie); text-decoration: none; color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.modulkarte:hover, .modulkarte:target { border-color: #a5b4fc; box-shadow: var(--schatten); }
.modulkarte-name { font-weight: 750; color: var(--text-dunkel); font-size: 1.08rem; }
.modulkarte-text { color: var(--text-gedaempft); font-size: 0.95rem; flex: 1; }
.kern-liste { columns: 3 220px; column-gap: 32px; }
.kern-liste li { break-inside: avoid; }
.module-hinweise { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.zahlen-hell .zahl-text { color: var(--text-gedaempft); }
.zahlen-hell .zahl { padding: 28px 12px; border-radius: 18px; background: var(--flaeche); }
.menue-link { color: inherit; text-decoration: none; }
.menue li:has(.menue-link):hover { background: rgba(255, 255, 255, 0.12); }
.kern-liste a { color: var(--text-dunkel); text-decoration: none; font-weight: 550; }
.kern-liste a:hover { color: var(--blau); }

/* ── Schalenmodell (klickbare Landkarte) ─────────────── */
.landkarte { max-width: 860px; margin: 0 auto; }
.landkarte .grafik > svg { filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.35)); }
.schalen .schale-link { cursor: pointer; }
.schalen .seg { transition: filter 0.15s ease; }
.schalen .schale-link:hover .seg, .schalen .schale-gruppe:hover > .seg { filter: brightness(1.35); }
.schalen .schale-link:hover text, .schalen .schale-link:focus text { text-decoration: underline; }
.schalen .schale-link:focus-visible { outline: none; }
.schalen .schale-link:focus-visible .seg { stroke: #fff; stroke-width: 2; }
.legende { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 28px; font-size: 0.92rem; color: var(--text-hell-gedaempft); }
.legende span { display: inline-flex; align-items: center; gap: 8px; }
.legende i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.landkarte-liste { display: none; }
@media (max-width: 700px) {
  .landkarte-liste { display: block; margin-top: 28px; }
}
.landkarte-liste h3 { color: var(--weiss); font-size: 1rem; margin: 18px 0 6px; }
.landkarte-liste ul { margin: 0; padding-left: 1.1em; }
.landkarte-liste a { color: var(--text-hell); }
/* Modul-Hinweis auf hellem Grund */
.abschnitt:not(.abschnitt-dunkel) .modul { background: #eef2ff; border-color: #c7d2fe; color: #4338ca; }
.abschnitt:not(.abschnitt-dunkel) .modul:hover { background: #e0e7ff; color: #312e81; }
.merkmal .modul { margin-top: 12px; }

/* ── Bedarf → Lösung ─────────────────────────────────── */
.bedarf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bedarf a { display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: 20px; background: var(--weiss);
  border: 1px solid var(--linie); text-decoration: none; color: var(--text); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.bedarf a:hover { transform: translateY(-3px); box-shadow: var(--schatten); border-color: #c9cff0; }
.bedarf .bedarf-frage { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blau); }
.bedarf h3 { margin: 0; font-size: 1.35rem; }
.bedarf p { margin: 0; color: var(--text-gedaempft); flex: 1; }
@media (max-width: 1000px) { .bedarf { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bedarf { grid-template-columns: 1fr; } }

/* ── Vorher / nachher ────────────────────────────────── */
.vergleich { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vergleich > div { padding: 34px; border-radius: 22px; }
.vergleich .ohne { background: var(--flaeche); border: 1px dashed #c9cfe3; }
.vergleich .mit { background: var(--verlauf); color: var(--weiss); }
.vergleich h3 { font-size: 1.4rem; }
.vergleich .mit h3 { color: var(--weiss); }
.vergleich ul { margin: 0; padding: 0; list-style: none; }
.vergleich li { padding: 10px 0; border-bottom: 1px solid rgba(15, 22, 41, 0.08); display: flex; gap: 10px; align-items: baseline; }
.vergleich .mit li { border-color: rgba(255, 255, 255, 0.2); }
.vergleich li:last-child { border-bottom: 0; }
.vergleich .ohne li::before { content: "–"; color: #9aa3c0; font-weight: 700; }
.vergleich .mit li::before { content: "✓"; font-weight: 800; }
@media (max-width: 800px) { .vergleich { grid-template-columns: 1fr; } }

/* ── incoxx-Logo: „inco“ weiß, „xx“ rot ──────────────── */
.logo-incoxx .logo-text { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; }
.logo-inco { color: var(--weiss); }
.logo-xx { color: #e5262b; }
.site-incoxx .kicker .xx, .xx-rot { color: #e5262b; }

/* ── Fallstudien (incoxx) ────────────────────────────── */
.faelle { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.fall { padding: 32px; border-radius: 22px; background: var(--weiss); border: 1px solid var(--linie); display: flex; flex-direction: column; }
.fall h3 { font-size: 1.45rem; margin-bottom: 12px; }
.fall-branche { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blau); margin: 0 0 10px; }
.fall-aufgabe { color: var(--text-gedaempft); }
.fall-luecke { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: #fff7ed; color: #9a3412; font-size: 0.95rem; font-weight: 550; }
.fall-luecke strong { color: #7c2d12; }
.fall .liste-haken { flex: 1; font-size: 0.98rem; }
.fall-technik { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.fall-technik span { padding: 4px 12px; border-radius: 999px; background: var(--flaeche); border: 1px solid var(--linie); font-size: 0.82rem; font-weight: 650; color: var(--text); }
@media (max-width: 900px) { .faelle { grid-template-columns: 1fr; } }

/* ── Zwei Säulen in der Bühne (incoxx) ───────────────── */
.saeulen { display: grid; gap: 18px; }
.saeule { display: flex; flex-direction: column; gap: 8px; padding: 28px 30px; border-radius: 22px; text-decoration: none;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); color: var(--text-hell-gedaempft);
  transition: transform .15s ease, background .15s ease; }
.saeule:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.1); }
.saeule-hell { background: var(--verlauf); border-color: rgba(255, 255, 255, 0.3); color: rgba(255, 255, 255, 0.92); }
.saeule-hell:hover { background: var(--verlauf); filter: brightness(1.08); }
.saeule-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, 0.14); color: var(--weiss); font-size: 1.3rem; }
.saeule-kicker { font-size: 0.78rem; font-weight: 750; letter-spacing: 0.16em; text-transform: uppercase; color: var(--violett-hell); margin-top: 6px; }
.saeule-hell .saeule-kicker { color: #e0f2fe; }
.saeule-titel { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--weiss); }
.saeule-text { font-size: 1rem; }
.saeule .kachel-mehr { color: var(--weiss); margin-top: 6px; }
/* Dunkle Grafik auf hellem Grund */
.grafik-auf-hell { padding: 24px; border-radius: 26px; background: linear-gradient(160deg, var(--navy-900), var(--navy-950)); }
.fuss-zeile a, .fuss-hersteller a { color: var(--text-hell); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.fuss-zeile a:hover, .fuss-hersteller a:hover { color: var(--weiss); border-bottom-color: var(--weiss); }
.fuss-marke .fuss-hersteller { margin-top: 10px; font-size: 0.9rem; }
