/* ==========================================================================
   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) ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 28px; }
.feature {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 24px; 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.6rem; margin-bottom: 10px; }
.feature p { color: var(--grey); font-size: 0.98rem; }
.slide--dark .feature p { color: #e3e7ec; }
.feature__cta { margin-top: auto; padding-top: 12px; 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; }
.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.6rem, 4vw, 3.4rem); line-height: 1.05;
  letter-spacing: 1px; color: var(--accent); opacity: 0.05;
  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; }

/* ---------- 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; }
.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; }
.sem-ex table.cols td:last-child { text-align: right; font-weight: 600; color: var(--grey); font-variant-numeric: normal; }
.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(110px, 16.5vh, 200px); 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; }

/* ---------- 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; }
.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; }

.deadline--link { cursor: pointer; font-family: inherit; font-size: 1rem; color: inherit; transition: background .15s ease, border-color .15s ease; }
.deadline--link:hover, .deadline--link:focus-visible { background: rgba(255,255,255,0.28); border-color: rgba(255,255,255,0.55); }
.deadline__more { font-weight: 800; opacity: 0.92; }

/* ---------- Compliance ---------- */
.deadline {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.3);
  padding: 10px 20px; border-radius: 999px; font-weight: 700; margin-top: 18px;
}
.checklist { list-style: none; margin-top: 22px; display: grid; gap: 14px; max-width: 640px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.05rem; }
.checklist li::before { content: "✓"; color: #fff; background: var(--success); width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 800; flex: 0 0 26px; }
.slide--dsgvo .checklist li::before { background: var(--white); color: var(--accent); }

/* ---------- 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; }

/* ---------- CTA / Logo-Wall ---------- */
.cta { text-align: center; }
.cta-logo {
  display: inline-block; margin-bottom: 24px; padding: 22px 36px; border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}
.cta-logo img { display: block; width: min(440px, 74vw); height: auto; }
.logo-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; margin: 30px 0; }
.logo-wall span {
  font-weight: 700; font-size: 1.15rem; color: #ffffff;
  border: 1px solid rgba(255,255,255,0.45); padding: 10px 20px; border-radius: 10px;
}
.contact { font-size: 1.2rem; margin-top: 10px; }
.contact a { color: #fff; font-weight: 700; }

/* ==========================================================================
   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;
}

/* ---------- 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; }
  .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; }
}
@media (max-width: 560px) {
  .uc-grid { grid-template-columns: 1fr; }
  .sem-tiles { grid-template-columns: 1fr; }
}

/* ---------- Höhen-Anpassung: kurze/flache Viewports (Folie muss passen) ---------- */
@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: 14px; margin-top: 18px; }
  .feature { padding: 16px 18px; }
  .feature__icon { font-size: 1.3rem; margin-bottom: 6px; }
  .feature p { font-size: 0.92rem; }
  .uc-grid { gap: 13px; margin-top: 16px; }
  .uc-card__photo { height: clamp(92px, 13vh, 160px); }
  .uc-card__body { padding: 9px 14px; }
  .checklist li { font-size: 1rem; }
  .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; }
}
@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: 11px; margin-top: 13px; }
  .feature { padding: 12px 15px; }
  .feature h3 { margin-bottom: 4px; }
  .feature p { font-size: 0.88rem; }
  .uc-grid { gap: 11px; margin-top: 13px; }
  .uc-card__photo { height: clamp(78px, 11vh, 128px); }
  .uc-card__body { padding: 7px 12px; }
  .uc-card h3 { font-size: 1rem; }
  .checklist li { font-size: 0.94rem; }
  .checklist { gap: 8px; }
  .source-logo { padding: 10px 8px; }
  .source-logo img { width: 32px; height: 32px; }
  .deadline { padding: 10px 16px; }
}

/* ---------- 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; }
}
