/* ==========================================================================
   searchit KI-Marketing-Website / Präsentation
   Reines CSS, kein Build. Brand-Tokens aus ui-fat/src/sass/_variables.scss.
   ========================================================================== */

:root {
  --accent:        #338CFF;   /* Akzent-Blau */
  --accent-soft:   #DCEBFF;   /* Hover-Blau hell */
  --grey:          #61686c;   /* Primär-Text/Grau */
  --grey-muted:    #868B8E;
  --bg:            #f5f5f5;
  --border:        #e9e9e9;
  --success:       #7CB945;
  --warning:       #e8a43d;
  --error:         #EB5055;
  --dsgvo:         #A332FF;   /* Compliance-Lila */
  --ink:           #2b3033;
  --white:         #ffffff;

  --maxw: 1180px;
  --radius: 16px;
  --shadow: 0 18px 48px rgba(43, 48, 51, 0.12);
  --shadow-sm: 0 6px 18px rgba(43, 48, 51, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans Pro', 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 1.12rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Sektionen / Folien ---------- */
.deck { width: 100%; }

.slide {
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 64px 32px;
  overflow: hidden;
}

/* ---------- Running-Gag-Maskottchen (dezent, pro Folie) ---------- */
.slide-bean {
  position: absolute; right: clamp(14px, 3vw, 46px); bottom: clamp(14px, 3vw, 40px);
  width: clamp(82px, 9vw, 148px); height: auto; opacity: 0.97; z-index: 6;
  pointer-events: none; border-radius: 16px;
  box-shadow: 0 8px 22px rgba(15, 30, 60, 0.28);
  animation: beanFloat 5s ease-in-out infinite;
}
@keyframes beanFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

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

.slide--dark { background: linear-gradient(135deg, #222932 0%, #151a20 100%); color: var(--white); }
.slide--accent { background: linear-gradient(135deg, #338CFF 0%, #1f6fe0 100%); color: var(--white); }
.slide--alt { background: var(--white); }
.slide--dsgvo { background: linear-gradient(135deg, #1b2c4a 0%, #0f1c33 100%); color: var(--white); }

/* ---------- Typo ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}
.slide--dark .eyebrow, .slide--accent .eyebrow, .slide--dsgvo .eyebrow { color: var(--accent-soft); }

h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.5px; }
h2 { font-size: clamp(2.2rem, 4.3vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.3px; margin-bottom: 20px; }
h3 { font-size: 1.45rem; font-weight: 700; margin-bottom: 8px; }
.lead { font-size: clamp(1.22rem, 1.9vw, 1.6rem); color: var(--grey); max-width: 60ch; }
.slide--dark .lead { color: #e3e7ec; }
.slide--accent .lead, .slide--dsgvo .lead { color: #ffffff; }

p + p { margin-top: 12px; }

/* ---------- Hero ---------- */
.hero { text-align: left; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero__logo { display: block; height: clamp(96px, 12vw, 168px); width: auto; margin-bottom: 22px; }
.hero__claim { font-size: clamp(2.7rem, 5vw, 4.3rem); font-weight: 800; line-height: 1.08; }
.hero__claim .hl { color: var(--accent); }
.hero__photo { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16/9; object-fit: cover; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1.05rem;
  padding: 14px 28px; border-radius: 999px;
  box-shadow: var(--shadow-sm); transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); background: #1f6fe0; }
.btn--ghost { background: transparent; color: var(--accent); border: 2px solid var(--accent); box-shadow: none; }
.btn--light { background: #fff; color: var(--accent); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Bean-Marker (KI-Sektionen) ---------- */
.bean-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 700; font-size: 0.85rem;
  padding: 6px 14px 6px 8px; border-radius: 999px; margin-bottom: 16px;
}
.bean-tag img { width: 26px; height: 26px; }
.slide--accent .bean-tag { background: rgba(255,255,255,0.18); color: #fff; }
.slide--dark .bean-tag { background: rgba(255,255,255,0.12); color: #fff; }

/* ---------- Feature-Grid (klickbar → Overlay) ---------- */
/* Sechs Kacheln, drei Reihen — Padding/Gap knapper als bei den 4er-Grids. */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 22px; }
.feature {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 17px 22px; box-shadow: var(--shadow-sm);
  text-align: left; cursor: pointer; display: flex; flex-direction: column; font: inherit; color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.feature:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.slide--dark .feature { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.slide--dark .feature:hover { border-color: var(--accent-soft); background: rgba(255,255,255,0.13); }
.feature__icon { font-size: 1.5rem; margin-bottom: 8px; }
.feature p { color: var(--grey); font-size: 0.96rem; line-height: 1.45; }
.slide--dark .feature p { color: #e3e7ec; }
.feature__cta { margin-top: auto; padding-top: 10px; color: var(--accent); font-weight: 700; font-size: 0.82rem; }
.slide--dark .feature__cta { color: var(--accent-soft); }

/* ---------- DSGVO-Slides: klickbare Trigger (Overlay via sem.js) ---------- */
.dsgvo-slide { max-width: 1000px; }

/* Policy-Watching: Bild im Vordergrund, ganze Fläche klickbar → Overlay */
.dsgvo-figure {
  display: inline-flex; flex-direction: column; align-items: center; gap: 12px;
  margin: 26px auto 0; padding: 14px; font: inherit; border: 0; background: transparent; cursor: pointer;
}
.dsgvo-figure img {
  display: block; width: 100%; max-width: 640px; height: auto; border-radius: 16px;
  box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease;
}
.dsgvo-figure:hover img { transform: translateY(-4px) scale(1.01); box-shadow: 0 18px 40px rgba(15, 30, 60, 0.22); }
.dsgvo-figure:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 18px; }
.dsgvo-figure__cta { color: var(--accent); font-weight: 700; font-size: 0.95rem; }

/* ---- Flow-Diagramm: klein/klickbar auf Folie, groß mit Labels im Overlay ---- */
.flow-figure {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: 100%; padding: 12px; font: inherit; border: 0; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow); cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.flow-figure img { display: block; width: 100%; height: auto; border-radius: 12px; }
.flow-figure:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 30, 60, 0.22); }
.flow-figure:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.flow-figure__cta { color: var(--accent); font-weight: 700; font-size: 0.95rem; }

.uc-modal.flow-modal { display: block; width: min(1600px, 98vw); max-height: 96vh; overflow: auto; padding: 22px 22px 18px; }
/* Diagramm so groß wie es bei 3:2 in die Höhe passt (82vh), Labels skalieren mit */
.flow-fig { position: relative; margin: 0 auto; width: min(100%, calc(82vh * 1.5)); }
.flow-fig img { display: block; width: 100%; height: auto; border-radius: 12px; }
.flow-label {
  position: absolute; transform: translate(-50%, -50%); white-space: nowrap;
  padding: 4px 12px; border-radius: 999px; font-size: clamp(0.7rem, 1.4vw, 0.95rem);
  font-weight: 700; color: var(--white); background: var(--accent);
  box-shadow: var(--shadow-sm); pointer-events: none;
}
.flow-cap { margin-top: 16px; text-align: center; color: var(--grey); font-size: 0.95rem; line-height: 1.5; }
/* Der Entitäten-Graph ist hochformatiger als die Ablauf-Grafiken (760:600 statt 3:2).
   In der flachen Folienbox verliert er über object-fit links und rechts Fläche und
   die Beschriftung wird klein — deshalb ist er anklickbar und öffnet im Overlay mit
   seinem eigenen Seitenverhältnis. */
.flow-figure--graph img { max-height: 300px; width: auto; margin: 0 auto; }
.flow-fig--graph { width: min(100%, calc(84vh * 1.27)); }
.flow-coin {
  display: inline-block; min-width: 1.3em; padding: 0 .25em; border-radius: 999px;
  background: var(--warning); color: #4a2e00; font-weight: 800;
}
@media (max-width: 640px) { .flow-label { font-size: 0.62rem; padding: 2px 7px; } }

/* Bild im Detail-Overlay (sem-modal) */
.sem-fig { margin: 0 0 20px; }
.sem-fig img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); }

/* Begriff → Beschreibung im Overlay (wrappend, links — ersetzt .cols für lange Texte) */
.sem-deflist { list-style: none; margin: 0; padding: 0; }
.sem-deflist li {
  display: grid; grid-template-columns: 150px 1fr; gap: 2px 18px; align-items: baseline;
  padding: 9px 0; border-bottom: 1px solid var(--border);
}
.sem-deflist li:last-child { border-bottom: none; }
.sem-deflist__t { font-weight: 700; color: var(--ink); }
.sem-deflist__d { color: var(--grey); font-size: 0.95rem; line-height: 1.45; }
@media (max-width: 560px) {
  .sem-deflist li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Problem-Sektion ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.problem-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); padding: 26px; }
.problem-card p { color: #e3e7ec; }
.problem-card .big { font-size: 2.6rem; font-weight: 800; color: var(--accent-soft); }
/* ---------- „KI heute: Handarbeit"-Slide ---------- */
.manual-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.manual-points li { position: relative; padding-left: 28px; color: #e3e7ec; font-size: 1.08rem; line-height: 1.4; }
.manual-points li::before { content: "\2717"; position: absolute; left: 0; top: 0; color: #ff8f93; font-weight: 800; }
.manual-points strong { color: #fff; }
.status-cue { margin-top: 24px; font-size: 1.2rem; font-weight: 700; color: var(--accent-soft); }
.status-cue strong { color: #fff; }
.status-cue__arrow { color: var(--accent); font-weight: 800; margin-right: 6px; }

/* ---------- Diagramm-Sektionen ---------- */
.diagram-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: center; }
.diagram-wrap > img, .diagram-wrap > .diagram-svg { width: 100%; height: auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; }
.diagram-full { text-align: center; }
.diagram-full > img, .diagram-full > .overview-svg { width: 100%; max-width: 1000px; height: auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-top: 24px; display: block; }
.overview-svg { margin-left: auto; margin-right: auto; }
.flow-link { cursor: pointer; }
.flow-link rect { transition: stroke .15s ease, stroke-width .15s ease; }
.flow-link:hover rect, .flow-link:focus-visible rect { stroke: #338CFF; stroke-width: 3; }
.flow-link__chev { opacity: 0.45; transition: opacity .15s ease; }
.flow-link:hover .flow-link__chev, .flow-link:focus-visible .flow-link__chev { opacity: 1; }
.flow-link:focus { outline: none; }
/* ---------- Tech-Hashtag-Wasserzeichen (Übersichts-Folie) ---------- */
.slide--watermark .slide__inner { position: relative; z-index: 1; }
.tech-watermark {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  display: flex; flex-wrap: wrap; align-content: center; justify-content: center;
  gap: 0.35em 0.8em; padding: 4vh 3vw;
  font-weight: 800; font-size: clamp(1.2rem, 2.6vw, 2.2rem); line-height: 1.05;
  letter-spacing: 1px; color: var(--accent); opacity: 0.035; text-transform: uppercase;
  transform: rotate(-7deg) scale(1.18); transform-origin: center;
}

.taglist { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.taglist span { background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 0.9rem; padding: 6px 14px; border-radius: 999px; }

/* ---------- Semantik-Slide: klickbare Bausteine ---------- */
.sem-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.sem-tile, .agent-tile {
  text-align: left; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 16px 18px;
  cursor: pointer; display: flex; flex-direction: column; gap: 6px; font: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.sem-tile:hover, .agent-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.sem-tile:focus-visible, .agent-tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sem-tile__icon { font-size: 1.5rem; line-height: 1; }
.sem-tile__title { font-weight: 800; color: var(--ink); font-size: 1rem; line-height: 1.25; }
.sem-tile__teaser { color: var(--grey); font-size: 0.86rem; line-height: 1.4; }
.sem-tile__cta { margin-top: auto; padding-top: 4px; color: var(--accent); font-weight: 700; font-size: 0.8rem; }
/* Kachel als Sprung statt Overlay — die Anwendungsfälle sind den Agenten
   untergeordnet, und das soll auf der Folie sichtbar sein (Plan §5.9). */
.agent-tile--link { text-decoration: none; color: inherit; }
/* Governance-Bausteine auf der Compliance-Folie: gleiche Breite wie die
   Checkliste darüber, damit die Folie eine Spalte bleibt. */
.comp-tiles { max-width: none; margin-top: 20px; grid-template-columns: repeat(4, 1fr); gap: 16px; }
#compliance .slide__inner { padding-bottom: 40px; }
/* Die Agenten-Folie trägt seit dem Entmischen (Plan §7) drei Bausteine —
   im Zweier-Raster fällt der dritte unter die Falz. Die Textspalte bekommt
   dafür mehr Breite, sonst bricht jeder Kacheltitel dreizeilig um. */
#nutzung .diagram-wrap { grid-template-columns: 1.1fr 0.9fr; }
#nutzung .sem-tiles { grid-template-columns: repeat(3, 1fr); }
/* Auswertungen: seit der Fachdaten-Baustein ins Quellen-Overlay gewandert ist
   (Plan §6) bleibt eine Kachel — und das Schaubild ist nur noch halb so hoch. */
#auswertungen .diagram-wrap { grid-template-columns: 1.05fr 0.95fr; }
#auswertungen .sem-tiles { grid-template-columns: 1fr; max-width: 400px; }
/* searchit Chat: vier Bausteine unter einer langen Überschrift — die
   Textspalte braucht Breite, sonst reicht 100vh nicht. */
#chatbot .diagram-wrap { grid-template-columns: 1.15fr 0.85fr; }
#chatbot h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
#chatbot .sem-tiles { gap: 12px; margin-top: 18px; }
#chatbot .sem-tile { padding: 13px 15px; }
/* Zwei weitere Folien haben mit dem neuen Rahmen (Plan §5.8, §5.10) eine
   längere Überschrift bzw. Einleitung bekommen — mehr Textbreite hält sie
   über der Falz. */
#arbeitsplatz .diagram-wrap { grid-template-columns: 1.05fr 0.95fr; }
/* Acht Bausteine statt vier (Plan GTM-4): zwei Spalten, vier Reihen. Höhe ist
   auf der 100vh-Folie der knappe Constraint (NOTES.md), deshalb kompakter
   gesetzt als der Standard — engere Abstände, kleinere Teaser. */
#arbeitsplatz .sem-tiles { gap: 8px; margin-top: 12px; }
#arbeitsplatz .sem-tile { padding: 9px 12px; gap: 2px; }
#arbeitsplatz .sem-tile__icon { font-size: 1.1rem; }
#arbeitsplatz .sem-tile__title { font-size: 0.93rem; }
#arbeitsplatz .sem-tile__teaser { font-size: 0.79rem; line-height: 1.35; }
#arbeitsplatz .sem-tile__cta { font-size: 0.74rem; padding-top: 2px; }
#suche .diagram-wrap { grid-template-columns: 0.95fr 1.05fr; }

/* ---------- „searchit AI to go": Kanal-Karten + Chat-Mock ---------- */
/* Textspalte trägt drei Karten nebeneinander → mehr Breite als im Standard-Raster. */
#to-go .diagram-wrap { grid-template-columns: 1.25fr 0.75fr; }

.togo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; align-items: stretch; }
.togo-card {
  text-align: left; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px 18px 16px;
  cursor: pointer; display: flex; flex-direction: column; gap: 8px; font: inherit; color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.togo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent-soft); background: rgba(255,255,255,0.13); }
.togo-card:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; }
.togo-card__icon { display: block; color: var(--accent-soft); }
.togo-card__icon svg { display: block; width: 34px; height: 34px; }
.togo-card__title { font-weight: 800; font-size: 1.12rem; line-height: 1.2; color: #fff; }
.togo-card__text { color: #e3e7ec; font-size: 0.9rem; line-height: 1.42; }
.togo-card__cta { margin-top: auto; padding-top: 6px; color: var(--accent-soft); font-weight: 700; font-size: 0.8rem; }

.chat-mock {
  background: var(--white); border-radius: 20px; box-shadow: var(--shadow);
  padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 12px;
}
.chat-mock__head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.chat-mock__avatar { width: 34px; height: 34px; object-fit: contain; }
.chat-mock__name { font-weight: 800; color: var(--ink); font-size: 0.98rem; }
.chat-bubble { position: relative; border-radius: 16px; padding: 11px 14px 20px; max-width: 92%; font-size: 0.94rem; line-height: 1.45; }
.chat-bubble p { margin: 0; }
.chat-bubble--user { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 5px; }
.chat-bubble--ai { align-self: flex-start; background: var(--bg); border: 1px solid var(--border); color: var(--ink); border-bottom-left-radius: 5px; }
.chat-bubble--ai strong { color: var(--ink); }
.chat-bubble p.chat-bubble__prefix { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.4px; color: var(--accent); margin-bottom: 4px; }
.chat-bubble__time { position: absolute; right: 12px; bottom: 6px; font-size: 0.68rem; font-variant-numeric: tabular-nums; opacity: 0.65; }

/* ---------- Semantik-Overlay (Erklärung + Beispieldaten) ---------- */
.sem-modal { display: block; grid-template-columns: none; width: min(560px, 100%); }
.sem-modal__body { padding: 34px 38px; overflow-y: auto; max-height: 92vh; color: var(--ink); }
.sem-modal__body h3 { font-size: 1.5rem; margin: 4px 0 14px; }
.sem-lead { font-size: 1.02rem; line-height: 1.55; margin: 0 0 22px; color: var(--grey); }
.sem-lead strong { color: var(--ink); }
.sem-ex { background: #f4f8fc; border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; }
.sem-ex__cap { font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.sem-formula { font-size: 1rem; margin: 0 0 12px; }

/* ---------- Preis-Kopf im Overlay ----------
   Die Preis-Bausteine versprechen in ihrer Beschriftung eine Zahl („je 1.000
   Objekte"). Wer klickt, muss sie zuerst sehen — nicht erst nach dem
   Kleingedruckten. Zahlen kommen aus preise.json (js/preise.js), nie aus dem Text. */
.price-hero { background: linear-gradient(180deg, #f4f8fc 0%, #eaf2fb 100%); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px 18px; margin: 0 0 22px; }
.price-hero__num { font-size: 2.6rem; line-height: 1; font-weight: 800; color: var(--accent); margin: 0; font-variant-numeric: tabular-nums; }
.price-hero__unit { font-size: 0.9rem; font-weight: 600; color: var(--ink); margin: 8px 0 16px; }
.price-hero__facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.price-hero__facts li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; color: var(--grey); }
.price-hero__facts li:last-child { border-bottom: none; }
.price-hero__facts strong { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-hero__note { font-size: 0.85rem; line-height: 1.5; color: var(--grey); margin: 14px 0 0; }
.price-hero__note strong { color: var(--ink); }

.sem-ex table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.sem-ex td { padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--ink); }
.sem-ex tr:last-child td { border-bottom: none; }
.sem-ex td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* .cols = Begriff → Beschreibung. Anders als die Zahlen-Tabelle darüber muss die
   rechte Spalte umbrechen: die Beschreibungen sind Prosa und in BG/EN länger als
   im Deutschen. Deshalb linksbündig mit fester Begriffsspalte statt nowrap. */
.sem-ex table.cols td { vertical-align: top; }
.sem-ex table.cols td:first-child { width: 34%; padding-right: 18px; }
.sem-ex table.cols td:last-child {
  text-align: left; white-space: normal; font-weight: 600;
  color: var(--grey); font-variant-numeric: normal; line-height: 1.45;
}
@media (max-width: 560px) {
  .sem-ex table.cols td, .sem-ex table.cols tr { display: block; width: auto; }
  .sem-ex table.cols td:first-child { width: auto; padding: 8px 0 0; border-bottom: none; }
}
.sem-ex .yes { color: var(--success); }
.sem-ex .no { color: var(--grey-muted); }
.sem-ex code { background: rgba(51, 140, 255, 0.10); color: var(--accent); padding: 2px 7px; border-radius: 6px; font-size: 0.92em; }
.sem-ex__note { margin: 12px 0 0; font-size: 0.84rem; color: var(--grey-muted); line-height: 1.45; }

/* ---------- UC-Karten-Grid ---------- */
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.uc-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease; cursor: pointer; text-align: left;
}
.uc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.uc-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.uc-card__photo { width: 100%; height: clamp(96px, 14.4vh, 178px); object-fit: cover; background: var(--grey); display: block; }
.uc-card__body { padding: 11px 16px 13px; }
.uc-card__dept { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }
.uc-card h3 { font-size: 1.12rem; margin: 3px 0 0; color: var(--ink); }

/* Prozess-Icons je Karte: zeigen, welche Schritte hinter dem Anwendungsfall stehen */
.uc-proc { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 9px 0 0; padding: 0; }
.uc-proc__item {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 8px;
  background: rgba(51, 140, 255, 0.09); color: var(--accent);
  border: 1px solid rgba(51, 140, 255, 0.22);
}
.uc-proc__item svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.uc-card:hover .uc-proc__item { background: rgba(51, 140, 255, 0.16); }
/* Im Use-Case-Overlay stehen dieselben Symbole größer: dort sind sie nicht
   Beiwerk der Karte, sondern die Antwort auf „was passiert in diesem Fall?". */
.uc-proc--modal { margin: 12px 0 4px; gap: 8px; }
.uc-proc--modal .uc-proc__item { width: 34px; height: 34px; border-radius: 10px; }
.uc-proc--modal .uc-proc__item svg { width: 19px; height: 19px; }

/* ---------- UC-Overlay (Prompt + großes Bild) ---------- */
html.uc-open { overflow: hidden; }
.uc-overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 4vh 4vw; }
.uc-overlay[hidden] { display: none; }
.uc-overlay__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 41, 0.72); backdrop-filter: blur(4px); }
.uc-modal {
  position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  width: min(1080px, 100%); max-height: 92vh; background: var(--white); border-radius: 20px;
  overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); animation: ucPop .18s ease-out;
}
@keyframes ucPop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.uc-modal__close {
  position: absolute; top: 12px; right: 14px; z-index: 2; width: 40px; height: 40px; border: none;
  border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: #1f3a5f; font-size: 1.6rem; line-height: 1;
  cursor: pointer; box-shadow: var(--shadow-sm);
}
.uc-modal__close:hover { background: #fff; }
.uc-modal__media { margin: 0; background: #0f1729; }
.uc-modal__media img { width: 100%; height: 100%; max-height: 92vh; object-fit: cover; display: block; }
.uc-modal__side { padding: 30px 32px; display: flex; flex-direction: column; overflow-y: auto; }
.uc-modal__side h3 { font-size: 1.5rem; margin: 4px 0 18px; }
/* Prompt-Varianten-Umschalter (nur bei mehreren Prompts je Anwendungsfall) */
.uc-variants { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 16px; }
.uc-variant {
  font: inherit; font-size: 0.86rem; font-weight: 600; cursor: pointer;
  padding: 7px 14px; border-radius: 999px;
  border: 2px solid var(--accent); background: transparent; color: var(--accent);
}
.uc-variant:hover { background: var(--accent-soft); }
.uc-variant.is-active { background: var(--accent); color: #fff; }

.uc-bubble { display: flex; gap: 14px; align-items: flex-start; }
.uc-bubble__avatar { flex: 0 0 60px; }
.uc-bubble__avatar img { width: 60px; height: auto; }
.uc-bubble__body { position: relative; flex: 1; background: var(--accent-soft); border: 2px solid var(--accent); border-radius: 16px; padding: 13px 16px; }
.uc-bubble__body::before {
  content: ''; position: absolute; left: -9px; top: 20px; width: 15px; height: 15px; background: var(--accent-soft);
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg);
}
.uc-bubble__kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }
/* Prompt: etwas größer & gut lesbar, aber höhenbegrenzt + scrollbar — schafft
   darunter Platz für das Tool-Ablauf-Diagramm. */
.uc-bubble__scroll { max-height: 30vh; overflow-y: auto; overscroll-behavior: contain; padding-right: 8px; }
.uc-bubble__scroll::-webkit-scrollbar { width: 8px; }
.uc-bubble__scroll::-webkit-scrollbar-thumb { background: rgba(51,140,255,0.45); border-radius: 8px; }
.uc-bubble__text { font-size: 1.08rem; line-height: 1.62; color: var(--ink); margin: 0; }
.uc-copy { margin-top: 14px; align-self: flex-start; font-size: 0.92rem; padding: 10px 20px; }
.uc-copy.is-done { background: var(--success); border-color: var(--success); color: #fff; }

/* Tool-Ablauf-Diagramm-Thumbnail im Overlay → Klick öffnet Vollbild */
.uc-diagram {
  margin-top: 16px; padding: 10px 12px 12px; width: 100%; cursor: pointer;
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
  display: flex; flex-direction: column; gap: 8px; text-align: left;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.uc-diagram:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.uc-diagram:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.uc-diagram__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.uc-diagram__label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: var(--accent); }
.uc-diagram__hint { font-size: 0.74rem; font-weight: 600; color: var(--grey-muted); }
.uc-diagram img { display: block; width: 100%; height: auto; border-radius: 8px; background: #fff; }

/* ---------- Info-Overlay (Art. 50, einspaltig) ---------- */
.info-modal { display: block; grid-template-columns: none; width: min(620px, 100%); }
.info-modal__body { padding: 34px 38px; overflow-y: auto; max-height: 92vh; color: var(--ink); }
.info-modal__body h3 { font-size: 1.6rem; margin: 4px 0 14px; color: var(--dsgvo); }
.info-lead { font-size: 1.05rem; line-height: 1.55; margin: 0 0 20px; }
.info-points { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.info-points li { font-size: 0.98rem; line-height: 1.5; padding-left: 18px; position: relative; }
.info-points li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--dsgvo); }
.info-points strong { color: var(--ink); }
.info-sub { font-size: 0.74rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--dsgvo); margin: 0 0 10px; }
.info-timeline { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 9px; }
.info-timeline li { font-size: 0.95rem; line-height: 1.4; display: flex; gap: 12px; align-items: baseline; }
.info-date { flex: 0 0 92px; font-weight: 700; color: #61686c; font-variant-numeric: tabular-nums; }
.info-timeline li.is-highlight { background: rgba(163, 50, 255, 0.09); border-radius: 8px; padding: 6px 10px; margin: -2px -10px; }
.info-timeline li.is-highlight .info-date { color: var(--dsgvo); }
.info-link { background: var(--dsgvo); color: #fff; }
.info-note { font-size: 0.82rem; color: #61686c; margin: 16px 0 0; }


/* ---------- Compliance ---------- */

/* ---------- Datenquellen ---------- */
.source-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 30px; }
.source-logo {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 14px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
}
.source-logo img { width: 42px; height: 42px; object-fit: contain; }
.source-logo span { font-weight: 700; font-size: 0.92rem; color: var(--grey); line-height: 1.25; }

/* Teams-Kachel öffnet ein Detail-Overlay (sem.js) — optisch wie die Geschwister. */
.source-logo--btn { position: relative; font: inherit; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.source-logo--btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.source-logo--btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.source-logo .source-logo__cta { position: absolute; top: 8px; right: 12px; color: var(--accent); font-weight: 800; font-size: 1.05rem; line-height: 1; opacity: 0.45; transition: opacity .15s ease; }
.source-logo--btn:hover .source-logo__cta { opacity: 1; }

/* ---------- CTA / Logo-Wall ---------- */
/* Eigener, tieferer Grund als die übrigen dunklen Folien: das Akzent-Blau der
   Folie stritt mit dem Blau im Logo — auf Anthrazit steht die Marke allein. */
.cta { text-align: center; background: linear-gradient(140deg, #1c2430 0%, #0b1016 100%); }
/* Zwei Spalten: links das Versprechen, rechts das Formular. Einspaltig passt
   die Folie nicht in 100vh, und der Hinweis unter dem Knopf — der Satz, der
   das Vertrauen herstellt — läge unter der Falz. */
.cta-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px 48px; align-items: center; text-align: left;
}
.cta-pitch h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.cta-pitch .lead { margin: 14px 0 0; }
.cta-grid .legal-footer { grid-column: 1 / -1; margin-top: 10px; }
.cta-logo {
  display: inline-block; margin-bottom: 16px; padding: 16px 26px; border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}
.cta-logo img { display: block; width: min(300px, 60vw); height: auto; }
.logo-wall { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 20px 0 0; }
.logo-wall span {
  font-weight: 700; font-size: 0.98rem; color: #ffffff;
  border: 1px solid rgba(255,255,255,0.45); padding: 7px 14px; border-radius: 9px;
}
/* Rechts-Footer auf der CTA-Slide: Betreiber + Impressum/Datenschutz */
.legal-footer {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 6px 18px; margin-top: 30px;
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.7);
}
.legal-footer a {
  color: rgba(255, 255, 255, 0.85); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4); padding-bottom: 1px;
  transition: color .18s ease, border-color .18s ease;
}
.legal-footer a:hover { color: #fff; border-color: #fff; }
.legal-footer__op { color: rgba(255, 255, 255, 0.55); }

/* ==========================================================================
   Präsentations-Chrome: Fortschrittsleiste + Sprung-Punkte
   ========================================================================== */
.progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 0%;
  background: var(--accent); z-index: 100; transition: width .25s ease;
}
.dots {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px; z-index: 100;
}
.dots button {
  position: relative;
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--accent);
  background: transparent; cursor: pointer; padding: 0; transition: all .2s ease;
}
.dots button:hover { background: var(--accent-soft); }
.dots button[aria-current="true"] { background: var(--accent); transform: scale(1.35); }

/* Folien-Titel bei Mouse-over neben dem Punkt einblenden */
.dots .dot-label {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap; pointer-events: none;
  background: var(--ink); color: #fff;
  font-size: 0.78rem; line-height: 1; padding: 6px 10px; border-radius: 6px;
  box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease;
}
.dots .dot-label::after {
  content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: var(--ink);
}
.dots button:hover .dot-label,
.dots button:focus-visible .dot-label {
  opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0);
}

.hint {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  font-size: 0.8rem; color: var(--grey-muted); z-index: 100;
  background: rgba(255,255,255,0.85); padding: 6px 14px; border-radius: 999px;
  box-shadow: var(--shadow-sm); transition: opacity .4s ease;
}
.hint kbd {
  background: var(--ink); color: #fff; border-radius: 4px; padding: 1px 6px; font-size: 0.74rem; margin: 0 1px;
}


/* ---------- Drehscheibe (Folie „Übersicht") ---------- */
/* Komponentendiagramm statt Pipeline: links die Quellen, in der Mitte das
   Gedächtnis (Verstehen → drei Speicher → Finden), rechts die Zugänge, unten
   Governance als Fundament. Der Wissensgraph wird oben geschrieben und unten
   gelesen — das kann nur ein System zeigen, keine Stufenfolge. */
.hub-slide .slide__inner { max-width: 1320px; }
/* Fünfzehn Knoten, drei Speicher und das Fundament müssen zusammen in 100vh —
   Überschrift und Einleitung sind deshalb kleiner als auf den Detailfolien. */
.hub-slide h2 { margin-bottom: 6px; font-size: clamp(1.5rem, 2.3vw, 2.05rem); }
.hub-lead { margin: 0 0 16px; max-width: 1150px; font-size: 0.98rem; }

.hub { display: flex; flex-direction: column; gap: 14px; }

.hub__cols {
  display: grid; grid-template-columns: 0.82fr 1.5fr 1.1fr; gap: 26px; align-items: stretch;
}

.hub-col { position: relative; display: flex; flex-direction: column; gap: 12px; }
/* Der Fluss bleibt lesbar, obwohl man überall einsteigen darf. */
.hub-col--in::after, .hub-col--core::after {
  content: "›"; position: absolute; top: 50%; right: -19px; transform: translateY(-50%);
  font-size: 1.7rem; font-weight: 800; color: var(--accent); opacity: 0.55; line-height: 1;
}

/* Die Mitte ist ein Speicher, kein Schritt — deshalb bekommt sie einen Rahmen. */
.hub-col--core {
  background: rgba(51, 140, 255, 0.05);
  border: 1.5px solid var(--accent-soft); border-radius: 16px;
  padding: 12px 14px 14px;
}

.hub-stage__head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--grey-muted);
}

.hub-stage__areas { display: flex; flex-direction: column; gap: 8px; }
.hub-stage__areas--row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.hub-area {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 54px;
  padding: 9px 22px 9px 10px; border-radius: 11px; text-decoration: none;
  background: var(--white); border: 1.5px solid var(--border);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.hub-area:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.hub-area:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.hub-area__ico {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  transition: background .18s ease, color .18s ease;
}
.hub-area__ico svg { width: 19px; height: 19px; }
.hub-area:hover .hub-area__ico { background: var(--accent); color: #fff; }

.hub-area__txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.hub-area__t { font-size: 0.9rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.hub-area__s { font-size: 0.74rem; color: var(--grey-muted); line-height: 1.3; }
.hub-area__chev {
  position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-weight: 800; font-size: 1rem; opacity: 0.45;
  transition: opacity .18s ease, transform .18s ease;
}
.hub-area:hover .hub-area__chev { opacity: 1; transform: translateY(-50%) translateX(2px); }

/* Bereits gezeigt — hilft dem Vortragenden, den Überblick zu behalten. */
.hub-area.is-visited { border-color: #cfe1ff; }
.hub-area.is-visited::before {
  content: "✓"; position: absolute; top: -7px; left: -7px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--success); color: #fff; font-size: 0.64rem; font-weight: 800;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.hub-area.is-active { border-color: var(--accent); box-shadow: var(--shadow-sm); }

/* ---- Die drei Speicher: benannt nach dem, was sie beantworten ---- */
/* „Volltext" versteht jeder, „Vektor" die wenigsten, „Graph" fast niemand —
   die Technik steht klein darunter (R-PSY-000, Stufe 1 zuerst). */
.hub-stores { margin: 12px 0 12px; }
.hub-stores__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hub-store {
  display: flex; flex-direction: column; gap: 1px; text-align: center;
  padding: 8px 6px; border-radius: 10px;
  background: var(--accent); color: #fff;
}
.hub-store__t { font-size: 0.84rem; font-weight: 800; line-height: 1.15; }
.hub-store__s { font-size: 0.68rem; opacity: 0.82; line-height: 1.2; }

/* Senkrechte Pfeile: das Gedächtnis wird oben geschrieben, unten gelesen. */
.hub-stores::before, .hub-stores::after {
  content: "▾"; display: block; text-align: center; line-height: 1;
  color: var(--accent); opacity: 0.5; font-size: 0.85rem;
}
.hub-stores::before { margin-bottom: 6px; }
.hub-stores::after { margin-top: 6px; }

/* ---- Container-Knoten: die Anwendungsfälle sind die Agenten in Anwendung ---- */
.hub-nest { display: flex; flex-direction: column; gap: 6px; }
.hub-nest__kids {
  display: flex; flex-direction: column; gap: 6px;
  margin-left: 16px; padding-left: 12px; border-left: 2px solid var(--accent-soft);
}
.hub-area--kid { min-height: 44px; padding: 6px 20px 6px 8px; }
.hub-area--kid .hub-area__ico { width: 26px; height: 26px; border-radius: 8px; }
.hub-area--kid .hub-area__ico svg { width: 16px; height: 16px; }
.hub-area--kid .hub-area__t { font-size: 0.84rem; }
.hub-area--kid .hub-area__s { font-size: 0.7rem; }

/* Governance liegt quer unter allem — kein Nachgedanke, sondern Boden. */
.hub__gov {
  background: linear-gradient(135deg, #1b2c4a 0%, #0f1c33 100%);
  border-radius: var(--radius); padding: 12px 14px 14px;
}
.hub-gov__head {
  margin-bottom: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: rgba(255,255,255,0.75);
}
.hub__gov .hub-area { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.18); }
.hub__gov .hub-area:hover { background: rgba(255,255,255,0.13); border-color: var(--accent-soft); }
.hub__gov .hub-area__t { color: #fff; }
.hub__gov .hub-area__s { color: #c6cfdd; }
.hub__gov .hub-area__ico { background: rgba(255,255,255,0.14); color: #fff; }
.hub__gov .hub-area:hover .hub-area__ico { background: var(--accent); }
.hub__gov .hub-area.is-visited::before { box-shadow: none; }

.hub-slide .slide-bean { display: none; }

/* ---------- Bild-Anker auf der Detail-Folie ---------- */
/* Dasselbe Symbol wie auf der Drehscheiben-Kachel, vor der Kopfzeile.
   Wird von js/map.js eingesetzt; Klick führt zurück zur Übersicht. */
.area-mark {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 11px; margin-bottom: 10px; text-decoration: none;
  background: var(--accent-soft); color: var(--accent);
  border: 1.5px solid transparent; transition: all .18s ease;
}
.area-mark svg { width: 23px; height: 23px; }
.area-mark:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.area-mark:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.slide--dark .area-mark, .slide--accent .area-mark, .slide--dsgvo .area-mark {
  background: rgba(255,255,255,0.14); color: #fff;
}
.slide--dark .area-mark:hover, .slide--dsgvo .area-mark:hover { background: var(--accent); }
.slide--accent .area-mark:hover { background: #fff; color: var(--accent); }
.eyebrow--marked { margin-top: 0; }

/* ---------- Minimap ---------- */
/* Miniatur der Drehscheibe, auf jeder Folie mitgeführt. Der Bereich der
   aktuellen Folie leuchtet; Klick springt zurück zur Drehscheibe. */
.minimap {
  position: fixed; left: 18px; bottom: 18px; z-index: 100;
  display: block; width: 150px; padding: 7px 7px 3px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(6px);
  border: 1px solid var(--border); border-radius: 11px;
  box-shadow: var(--shadow-sm); text-decoration: none;
  /* Zurückhaltend, solange niemand hinsieht — der Inhalt der Folie hat Vorrang. */
  opacity: 0.62;
  transition: opacity .2s ease, transform .18s ease, box-shadow .18s ease;
}
.minimap:hover, .minimap:focus-visible { opacity: 1; transform: translateY(-2px); box-shadow: var(--shadow); }
.minimap:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.minimap.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.minimap__svg { display: block; width: 100%; height: auto; }
.minimap__cap {
  display: block; text-align: center; padding-top: 3px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--grey-muted);
}
.minimap:hover .minimap__cap { color: var(--accent); }

.mm-tile__bg { fill: #eef3f9; stroke: #dde5ee; stroke-width: 0.8; }
.mm-tile__ico { color: #9aa6b4; }
.mm-tile.is-active .mm-tile__bg { fill: var(--accent); stroke: var(--accent); }
.mm-tile.is-active .mm-tile__ico { color: #fff; }
.mm-gov { fill: #1b2c4a; }
.minimap .mm-gov ~ .mm-tile .mm-tile__bg { fill: rgba(255,255,255,0.16); stroke: rgba(255,255,255,0.28); }
.minimap .mm-gov ~ .mm-tile .mm-tile__ico { color: #dbe4f0; }
.minimap .mm-gov ~ .mm-tile.is-active .mm-tile__bg { fill: var(--accent); stroke: var(--accent); }


/* ---------- Kontaktformular (Abschluss-Folie) ---------- */
/* Kein Server, kein Endpunkt: der Knopf übergibt die fertige E-Mail an das
   Mail-Programm des Betrachters (js/contact.js). Nur vier Felder — jedes
   weitere müsste begründbar sein (R-PSY-008). Die Absenderadresse entsteht
   im Mail-Programm, deshalb steht hier kein E-Mail-Feld. */
.contact { max-width: 620px; margin: 0; text-align: left; }
.contact__legend {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: rgba(255,255,255,0.82); margin-bottom: 12px; text-align: center;
}
.contact__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field--wide { grid-column: 1 / -1; }
.field__lbl { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.9); }
.field input, .field textarea {
  font: inherit; font-size: 0.98rem; color: var(--ink);
  background: rgba(255,255,255,0.94); border: 1.5px solid transparent; border-radius: 10px;
  padding: 10px 12px; width: 100%; resize: vertical;
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--ink);
}
.field input::placeholder, .field textarea::placeholder { color: var(--grey-muted); }

.contact button[type="submit"] { display: block; margin: 16px auto 0; }
.contact__error {
  margin-top: 12px; text-align: center; font-size: 0.9rem; font-weight: 700;
  color: #fff; background: rgba(0,0,0,0.22); border-radius: 8px; padding: 7px 12px;
}
.contact__note {
  margin-top: 12px; text-align: center; font-size: 0.86rem; line-height: 1.45;
  color: rgba(255,255,255,0.88);
}
.contact__fallback {
  margin-top: 6px; text-align: center; font-size: 0.86rem; color: rgba(255,255,255,0.78);
}
.contact__fallback a { color: #fff; font-weight: 600; }

/* ---------- searchit Workspace: Funktionsliste neben dem Bildschirmfoto ---------- */
/* searchit Workspace: die sechs Funktionen stehen unter dem Schaubild über die
   volle Breite — zweispaltig neben dem Bild laufen sie in die Minimap unten links. */
.ws-list { list-style: none; margin: 22px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 26px; }
.ws-list li { display: flex; gap: 10px; align-items: flex-start; }
.ws-list__ico { font-size: 1.05rem; line-height: 1.35; flex: 0 0 auto; }
.ws-list__txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ws-list__txt strong { font-size: 0.95rem; }
.ws-list__txt span { color: var(--grey); font-size: 0.86rem; line-height: 1.38; }
#workspace .diagram-wrap img { border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow); max-height: 290px; object-fit: contain; }
/* Die Minimap liegt fest über der unteren linken Ecke. Diese Folie ist die einzige,
   deren Inhalt so weit herunterreicht — die Reserve hebt die letzte Zeile darüber. */
#workspace .slide__inner { padding-bottom: 90px; }

/* Zusammenhänge: die Kette als senkrechtes Schaubild neben dem Text — Knoten und
   Kanten sind Markup, kein Bild, damit die Beschriftung übersetzbar bleibt. */
/* Zusammenhaenge — der Graph als Bild. Knoten tragen den Typ, der Name steht
   aussen; alle Beschriftungen sind echte <text>-Knoten und damit uebersetzbar. */
.hopgraph { margin: 0; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.hopgraph__q { font-size: 1.12rem; line-height: 1.45; font-style: italic; font-weight: 600;
  opacity: 1; border-left: 3px solid var(--accent); padding-left: 14px; align-self: stretch; }
.hopgraph__svg { width: 100%; max-width: 520px; height: auto; display: block; }
/* Kopier-Knopf fuer Beispielfragen — auf der Folie neben der Frage, im Overlay
   unter dem zweiten Beispiel. Waehrend der Praesentation wird die Frage von hier
   in die Suche eingefuegt. */
.qcopy { margin-left: 8px; font-family: inherit; font-size: 0.72rem; font-style: normal;
  font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; cursor: pointer;
  padding: 3px 10px; border-radius: 999px; vertical-align: middle;
  background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.qcopy:hover { background: var(--accent); color: #fff; }
.qcopy.is-done { background: var(--success); border-color: var(--success); color: #fff; }
.sem-q { margin: 10px 0 0; font-size: 0.95rem; line-height: 1.45; }
.sem-q__txt { font-style: italic; }

.hopg-edge { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.hopg-elabel { fill: #cfe2ff; font-size: 15px; font-weight: 600; }
.hopg-step { fill: var(--accent); font-size: 13px; font-weight: 800; opacity: 0.75; }
.hopg-node circle { fill: rgba(255,255,255,0.07); stroke: rgba(255,255,255,0.35); stroke-width: 2; }
.hopg-node--a circle { fill: rgba(51,140,255,0.28); stroke: var(--accent); }
.hopg-node--b circle { fill: rgba(51,140,255,0.20); stroke: #7AD1FF; }
.hopg-node--c circle { fill: rgba(163,50,255,0.20); stroke: #c89bff; }
.hopg-node--answer circle { fill: #00BA88; stroke: #fff; stroke-width: 3; }
.hopg-type { fill: #fff; font-size: 16px; font-weight: 700; letter-spacing: 0.02em; }
.hopg-name { fill: rgba(255,255,255,0.86); font-size: 15px; font-weight: 700; }
.hopg-name--answer { fill: #6ff0c8; }
.hopgraph__note { margin: 0; font-size: 0.82rem; opacity: 0.75; align-self: stretch; }

/* ---------- Zoombare Schaubilder (js/zoom.js) ----------
   Auf der Folie sind die Schaubilder in flache Boxen eingepasst; Beschriftungen
   werden dabei klein. Ein Klick zeigt dieselbe Grafik groß — geklont, nicht kopiert. */
.zoom-fig, [data-zoom] { cursor: zoom-in; }
[data-zoom]:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 12px; }
.zoom-cta { display: block; margin-top: 6px; color: var(--accent); font-weight: 700; font-size: 0.9rem; }
.zoom-fig { display: flex; flex-direction: column; align-items: center; gap: 4px; }
/* Spezifischer als `.uc-modal.flow-modal { display: block }`, sonst greift die
   Spaltenaufteilung nicht — und ohne sie wächst das Modal über den Bildschirm
   hinaus und bekommt einen Scrollbalken. */
.uc-modal.zoom-modal { display: flex; flex-direction: column; overflow: hidden; }
/* Die Bühne bekommt, was nach Führungssatz und Bildunterschrift übrig bleibt.
   `min-height: 0` ist nötig, damit ein Flex-Kind unter seine Inhaltsgröße darf. */
.zoom-stage { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; }
/* Feste Obergrenze statt `max-height: 100%`: Letzteres leitet sich von der
   automatischen Höhe der Bühne ab, die wiederum aus dem Inhalt kommt — die
   Grafik wüchse über den Bildschirm. 68vh lässt Raum für Führungssatz,
   Bildunterschrift und Innenabstand (zusammen rund 19vh). */
.zoom-stage .zoom-svg,
.zoom-stage .zoom-img { width: auto; height: auto; max-width: 100%; max-height: 72vh; display: block; }
.zoom-stage .zoom-img { border-radius: 12px; }
.zoom-lead, .zoom-modal .flow-cap { flex: 0 0 auto; }
/* Der Hop-Graph ist für eine dunkle Folie gezeichnet (weiße Knotenschrift, helle
   Kantenbeschriftung). Auf hellem Overlay-Grund wäre er unlesbar. */
.zoom-modal--dark { background: linear-gradient(135deg, #222932 0%, #151a20 100%); color: var(--white); }
.zoom-modal--dark .uc-modal__close { color: var(--white); }
.zoom-modal--dark .flow-cap { color: #e3e7ec; }
.zoom-modal--dark .flow-cap strong { color: #fff; }
/* Die Beispielfrage: auf der Folie eine Randnotiz, hier die Hauptsache. */
.zoom-lead { margin: 0 0 20px; font-size: clamp(1.3rem, 3vh, 2rem); line-height: 1.35; font-weight: 600;
  font-style: italic; text-align: center; border-left: none; padding: 0 clamp(8px, 4vw, 60px); }
.zoom-modal--dark .zoom-lead { color: #fff; }

/* Auf dieser Folie steht rechts die Kette; die Kacheln links müssen deshalb in eine
   Spalte und flach bleiben — zweispaltig brechen sie in eine zweite Reihe und laufen
   in die Minimap unten links. */
#zusammenhaenge .slide__inner { padding-bottom: 118px; }   /* Reserve für die Minimap */
#zusammenhaenge .sem-tiles { grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
#zusammenhaenge .sem-tile { display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; column-gap: 12px; padding: 9px 14px; }
#zusammenhaenge .sem-tile__icon { margin: 0; font-size: 1.15rem; }
#zusammenhaenge .sem-tile__title { font-size: 0.95rem; }
#zusammenhaenge .sem-tile__teaser { display: none; }  /* steht ausführlich im Overlay */
#zusammenhaenge .sem-tile__cta { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 0; font-size: 0; }
#zusammenhaenge .sem-tile__cta::after { content: "›"; font-size: 1.4rem; opacity: 0.75; }

/* Die sechs Namen sollen in eine Zeile: eine zweite Reihe schiebt sich unter die
   Minimap unten links. */
#cta .logo-wall span { padding: 7px 12px; font-size: 0.86rem; }
#cta .logo-wall { gap: 8px 10px; }
/* Drei Kacheln in zwei Reihen brauchen zehn Pixel, die die Folie bei kleiner
   Fensterhöhe nicht hat. */
#entitaeten .sem-tiles { gap: 10px; margin-top: 18px; }
#entitaeten .sem-tile { padding: 10px 13px; }
#entitaeten .sem-tile__title { font-size: 0.95rem; }
#entitaeten .sem-tile__teaser { font-size: 0.85rem; line-height: 1.36; }
#entitaeten .sem-tile__cta { padding-top: 6px; font-size: 0.78rem; }
#entitaeten .diagram-wrap img { max-height: 330px; object-fit: contain; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  html { scroll-snap-type: none; }
  .slide { height: auto; min-height: 100vh; scroll-snap-align: none; padding: 80px 22px; }
  .hero__grid, .diagram-wrap { grid-template-columns: 1fr; gap: 28px; }
  #to-go .diagram-wrap { grid-template-columns: 1fr; }
  .features, .problem-grid { grid-template-columns: 1fr; }
  .dsgvo-chip { font-size: 0.9rem; padding: 8px 13px; }
  .uc-grid { grid-template-columns: repeat(2, 1fr); }
  .source-grid { grid-template-columns: repeat(3, 1fr); }
  .uc-modal { grid-template-columns: 1fr; max-height: 90vh; }
  .uc-modal__media img { max-height: 38vh; }
  .dots { display: none; }
  .hint { display: none; }
  .minimap { display: none; }
  .contact__grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; text-align: center; }
  .logo-wall { justify-content: center; }
  .contact { margin: 0 auto; }
  .hub__cols { grid-template-columns: 1fr; }
  .hub-col--in::after, .hub-col--core::after { content: none; }
  .hub-stage__areas--row { grid-template-columns: 1fr; }
  .hub-stores__row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .uc-grid { grid-template-columns: 1fr; }
  .sem-tiles { grid-template-columns: 1fr; }
  .togo-cards { grid-template-columns: 1fr; }
}

/* ---------- Höhen-Anpassung: kurze/flache Viewports (Folie muss passen) ---------- */
/* Die Enrich-Folie trägt sechs Kacheln in drei Reihen und ist damit die höchste
   Folie im Deck. Sie braucht schon oberhalb der allgemeinen 860px-Schwelle
   engere Kacheln, sonst läuft sie im Band 861–1100px über (bg zuerst). */
@media (min-width: 901px) and (max-height: 1100px) {
  .features { gap: 12px; margin-top: 16px; }
  .feature { padding: 11px 17px; }
  .feature h3 { font-size: 1.2rem; }
  .feature__icon { font-size: 1.2rem; margin-bottom: 4px; }
  .feature p { font-size: 0.88rem; line-height: 1.38; }
  .feature__cta { padding-top: 6px; font-size: 0.8rem; }
}
/* Knapp oberhalb der 860er-Schwelle greift dort noch nichts — die Kacheln
   müssen hier bereits auf Kompaktmaß, sonst kippt Bulgarisch (längste Texte). */
@media (min-width: 901px) and (max-height: 900px) {
  .features { gap: 10px; margin-top: 12px; }
  .feature { padding: 10px 15px; }
  .feature h3 { font-size: 1.14rem; }
  .feature p { font-size: 0.85rem; line-height: 1.34; }
  .feature__cta { padding-top: 4px; }
}
@media (min-width: 901px) and (max-height: 860px) {
  .slide { padding: 40px 32px; }
  h1 { font-size: clamp(2rem, 4vw, 3.3rem); }
  h2 { font-size: clamp(1.7rem, 3.1vw, 2.6rem); margin-bottom: 14px; }
  h3 { font-size: 1.28rem; }
  .lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
  .hero__claim { font-size: clamp(2rem, 3.6vw, 3.1rem); }
  .features { gap: 10px; margin-top: 10px; }
  .feature { padding: 10px 15px; }
  .feature h3 { font-size: 1.16rem; }
  .feature__icon { font-size: 1.15rem; margin-bottom: 4px; }
  .feature p { font-size: 0.88rem; line-height: 1.38; }
  .uc-grid { gap: 13px; margin-top: 16px; }
  .uc-card__photo { height: clamp(78px, 11.1vh, 140px); }
  .uc-card__body { padding: 9px 14px; }
  .uc-proc { gap: 5px; margin-top: 7px; }
  .uc-proc__item { width: 23px; height: 23px; border-radius: 7px; }
  .uc-proc__item svg { width: 13px; height: 13px; }
  .source-grid { gap: 13px; margin-top: 18px; }
  .source-logo { padding: 13px 10px; gap: 8px; }
  .source-logo img { width: 36px; height: 36px; }
  .source-logo span { font-size: 0.86rem; }
  .diagram-wrap { gap: 28px; }
  /* Sechs Enrich-Kacheln bauen drei Reihen — Höhe ist der knappe Constraint. */
  .feature__cta { padding-top: 6px; font-size: 0.78rem; }
  .togo-cards { gap: 12px; margin-top: 18px; }
  .togo-card { padding: 14px 14px 12px; gap: 6px; }
  .togo-card__icon svg { width: 28px; height: 28px; }
  .togo-card__title { font-size: 1.02rem; }
  .togo-card__text { font-size: 0.85rem; }
  .chat-bubble { font-size: 0.88rem; padding: 10px 12px 19px; }
  /* Die Drehscheibe trägt fünfzehn Knoten, drei Speicher und das Fundament —
     auf niedrigen Schirmen muss jede Zeile Millimeter abgeben. */
  .hub-slide h2 { font-size: clamp(1.35rem, 2vw, 1.8rem); margin-bottom: 4px; }
  .hub-lead { font-size: 0.92rem; margin-bottom: 12px; }
  .hub__cols { gap: 22px; }
  .hub-stage__areas { gap: 6px; }
  .hub-area { min-height: 46px; padding: 7px 20px 7px 8px; gap: 9px; }
  .hub-area__ico { width: 28px; height: 28px; }
  .hub-area__ico svg { width: 17px; height: 17px; }
  .hub-area__t { font-size: 0.85rem; }
  .hub-area__s { font-size: 0.7rem; }
  .hub-area--kid { min-height: 38px; }
  .hub-stores { margin: 8px 0; }
  .hub__gov { padding: 10px 12px 12px; }
}
/* Die Arbeitsplatz-Folie trägt seit Plan GTM-4 acht Bausteine in vier Reihen und
   ist damit die zweithöchste Folie. Sie braucht zwei eigene Stufen: erst engere
   Kacheln, dann — wie bei den Enrich-Kacheln — die CTA-Zeile weg. Der Klick bleibt. */
@media (min-width: 901px) and (max-height: 1000px) {
  #arbeitsplatz .sem-tiles { gap: 7px; margin-top: 10px; }
  #arbeitsplatz .sem-tile { padding: 8px 11px; }
  #arbeitsplatz .sem-tile__teaser { font-size: 0.76rem; }
}
@media (min-width: 901px) and (max-height: 920px) {
  #arbeitsplatz .sem-tile__cta { display: none; }
  #arbeitsplatz .sem-tile__icon { font-size: 1rem; }
}

/* Ab hier tragen die sechs Enrich-Kacheln drei Reihen nicht mehr mit CTA-Zeile.
   Das „Beispiel ansehen ›" ist der teuerste Höhen-Posten; der Klick bleibt. */
@media (min-width: 901px) and (max-height: 760px) {
  .feature__cta { display: none; }
}
@media (min-width: 901px) and (max-height: 680px) {
  body { font-size: 1.04rem; }
  .slide { padding: 26px 30px; }
  h1 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
  h2 { font-size: clamp(1.45rem, 2.7vw, 2.15rem); margin-bottom: 10px; }
  h3 { font-size: 1.15rem; }
  .lead { font-size: 1.04rem; }
  .eyebrow { font-size: 0.82rem; margin-bottom: 9px; }
  .hero__claim { font-size: clamp(1.8rem, 3.1vw, 2.6rem); }
  .features { gap: 9px; margin-top: 13px; }
  .feature { padding: 9px 12px; }
  .feature h3 { margin-bottom: 4px; font-size: 1.02rem; }
  .feature__icon { font-size: 1.1rem; margin-bottom: 4px; }
  .feature p { font-size: 0.82rem; }
  .togo-cards { gap: 10px; margin-top: 13px; }
  .togo-card { padding: 11px 12px 10px; }
  .togo-card__icon svg { width: 24px; height: 24px; }
  .togo-card__title { font-size: 0.96rem; }
  .togo-card__text { font-size: 0.8rem; line-height: 1.35; }
  .togo-card__cta { font-size: 0.74rem; }
  .chat-mock { padding: 12px 12px 15px; gap: 9px; }
  .chat-bubble { font-size: 0.83rem; padding: 8px 11px 18px; }
  .uc-grid { gap: 11px; margin-top: 13px; }
  .uc-card__photo { height: clamp(66px, 9.3vh, 110px); }
  .uc-card__body { padding: 7px 12px; }
  .uc-card h3 { font-size: 1rem; }
  .uc-proc { gap: 4px; margin-top: 6px; }
  .uc-proc__item { width: 21px; height: 21px; border-radius: 6px; }
  .uc-proc__item svg { width: 12px; height: 12px; }
  .source-logo { padding: 10px 8px; }
  .source-logo img { width: 32px; height: 32px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .uc-card:hover { transform: none; }
  .progress { transition: none; }
  .slide-bean { animation: none; }
}

/* ---------- Sprachumschalter (Flaggen, fixiert oben rechts) ---------- */
.lang-switch {
  position: fixed; top: 14px; right: 20px; z-index: 120;
  display: flex; gap: 6px;
  padding: 5px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
}
.lang-switch__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 9px; border: 1.5px solid transparent; border-radius: 999px;
  background: transparent; cursor: pointer;
  font-family: inherit; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--grey-muted); line-height: 1; transition: all .18s ease;
}
.lang-switch__btn:hover { background: var(--accent-soft); color: var(--ink); }
.lang-switch__btn.is-active { border-color: var(--accent); color: var(--accent); background: #fff; }
.lang-switch__flag {
  display: inline-flex; width: 20px; height: 14px; border-radius: 2px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(43, 48, 51, 0.12);
}
.lang-switch__flag svg { width: 100%; height: 100%; display: block; }
.lang-switch__code { font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .lang-switch { top: 8px; right: 10px; padding: 4px; }
  .lang-switch__code { display: none; }
  .lang-switch__btn { padding: 6px; }
}

/* ---------- Preismodell-Folie ----------
   Aufbau von oben nach unten: Basis-Modul → semantische Suche → AI-Extraktion → Module.
   Die Folie wird über MS Teams präsentiert und lässt sich dort nicht zoomen — deshalb
   große Schrift im Schaubild (Titel 25px bei voller Breite) und nur je eine Zeile Text
   je Baustein. Alles Weitere steckt in den Overlays (ov.preis, ausgelöst über data-preis).
   Das Schaubild hat viewBox 1180×500 (Seitenverhältnis 2,36); die Breite wird zusätzlich
   über die Fensterhöhe gedeckelt, damit Kopf, Bild und CTA zusammen in 100vh passen. */
#preise .diagram-full { text-align: left; }
#preise .eyebrow { margin-bottom: 4px; }
#preise h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.14; margin-bottom: 6px; }
#preise .lead { margin-top: 4px; max-width: 900px; font-size: clamp(0.92rem, 1.15vw, 1.04rem); }
/* ID im Selektor, sonst gewinnt `.diagram-full > .overview-svg` mit max-width 1000px. */
#preise .price-svg {
  max-width: min(1180px, 128vh);
  margin-top: 10px;
  padding: 10px 12px;
}

/* Bausteine sind anklickbar (Overlay). Gleiche Sprache wie .sem-tile: Rand hebt sich,
   Chevron wird kräftiger. */
.price-stage { cursor: pointer; }
.price-stage rect { transition: stroke .15s ease, stroke-width .15s ease; }
.price-stage .price-chev { transition: fill .15s ease; }
.price-stage:hover rect, .price-stage:focus-visible rect { stroke: #338CFF; stroke-width: 3; }
.price-stage:hover .price-chev, .price-stage:focus-visible .price-chev { fill: #338CFF; }
.price-stage:focus { outline: none; }
.price-stage:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.price-cta {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 12px; padding-left: 190px;   /* Freiraum für die Minimap unten links */
}
.price-cta .btn { padding: 10px 20px; }
.price-cta__note { font-size: 0.84rem; color: var(--grey-muted); }

/* Preis-Band der Drehscheibe — schmaler als das Governance-Band, es trägt nur zwei Kacheln. */
/* Preis-Band der Drehscheibe. Die Übersicht füllt 100vh bereits ohne Reserve aus —
   das Band muss deshalb ein schmaler Streifen sein: Überschrift steht in der Zeile,
   die Kacheln sind flacher als im Governance-Band. Zusammen mit den kleinen Abzügen
   weiter unten (.hub-slide) passt die Folie wieder. */
.hub__gov--preis {
  margin-top: 8px; padding: 8px 14px;
  display: flex; align-items: center; gap: 18px;
}
.hub__gov--preis .hub-gov__head { margin-bottom: 0; white-space: nowrap; }
.hub__gov--preis .hub-stage__areas--row { flex: 1; max-width: 760px; }
.hub__gov--preis .hub-area { min-height: 0; padding: 6px 20px 6px 10px; }
.hub__gov--preis .hub-area__ico { width: 30px; height: 30px; }
.hub__gov--preis .hub-area__s { font-size: 0.72rem; }

/* Platz für das Preis-Band zurückholen — nur auf der Übersichtsfolie.
   Der größte Hebel ist die Folien-Polsterung; sie kostet keine Schriftgröße. */
.hub-slide { padding-top: 36px; padding-bottom: 32px; }
.hub-slide .hub-lead { margin-bottom: 10px; }
.hub-slide .hub-area { min-height: 48px; padding-top: 7px; padding-bottom: 7px; }
.hub-slide .hub__gov { padding: 10px 14px 11px; }
.hub-slide .hub-gov__head { margin-bottom: 6px; }

@media (max-width: 1100px) {
  .price-cta { padding-left: 0; }
}
@media (max-width: 900px) {
  #preise .slide__inner { overflow-x: auto; }
  .price-svg { min-width: 820px; max-width: none; }
}
