/* =========================================================
   misocon – Grundgerüst
   Farben & Schriften zentral als Tokens: hier anpassen.
   ========================================================= */
:root {
  /* Marke (aus dem Logo abgeleitet – exakte Werte später einsetzen) */
  --brand: #69B42E;          /* Logo-Grün (aus Original-Logo gemessen) */
  --brand-strong: #457A1B;   /* dunkleres Grün für Text, Buttons, Flächen mit weißer Schrift (Kontrast ≥ 4.5:1) */
  --brand-deep: #355E14;     /* Hover-Zustand */
  --brand-soft: #EEF6E7;     /* Grün-Hauch für Flächen */
  --gray: #777776;           /* Logo-Grau (aus Original-Logo gemessen) */

  /* Neutrale Farben */
  --ink: #1D2321;
  --text: #3A403E;
  --muted: #6B716F;
  --line: #E3E6E4;
  --bg: #FFFFFF;
  --bg-alt: #F6F7F6;
  --dark: #1F2422;

  /* Typografie – Systemschriften (DSGVO-freundlich, keine externen Fonts).
     Hausschrift später lokal einbinden (assets/fonts) und hier eintragen. */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Form – abgerundet wie das Logo-Quadrat */
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);

  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }
img { max-width: 100%; display: block; }
a { color: var(--brand-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em;
  overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 10 4 4; }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand-strong); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
/* Logo-Datei ist 247 × 62 px: bei genau halber Größe (124 × 31) landet auf Retina-Displays
   jeder Bildpunkt exakt auf einem Bildschirmpunkt → scharf. Nicht auf krumme Werte ändern. */
.logo img, .footer-logo img { width: 123.5px; height: 31px; display: block; }
.main-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: var(--ink); font-weight: 500; font-size: .96rem; position: relative; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--brand); transition: right .25s;
}
.main-nav a:hover, .main-nav a.active { text-decoration: none; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button {
  border: 0; background: none; font: inherit; font-size: .82rem; font-weight: 600;
  padding: 4px 11px; border-radius: 999px; color: var(--muted); cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .25s; }

/* ---------- Sections ---------- */
section { padding: clamp(72px, 10vw, 128px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-strong); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--brand); }
.lead { font-size: 1.2rem; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(64px, 9vw, 120px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.hero h1 span { color: var(--brand-strong); }
.hero .lead { max-width: 560px; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual {
  aspect-ratio: 1 / 1; border-radius: var(--radius-lg); position: relative;
  /* dunkles Grün als Fläche (weißer Text ≥ 4.5:1), Logo-Grün nur als Lichtakzent in der Ecke */
  background:
    radial-gradient(circle at 100% 100%, rgba(105,180,46,.45), transparent 55%),
    linear-gradient(135deg, var(--brand-strong) 0%, var(--brand-deep) 100%);
  box-shadow: var(--shadow);
  overflow: visible;
}
.hero-visual .tile {
  position: absolute; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 22px; font-size: .9rem; color: var(--muted);
}
.hero-visual .tile strong { display: block; color: var(--ink); font-size: 1.6rem; line-height: 1.1; }
.hero-visual .t1 { left: -28px; bottom: -26px; }
.hero-visual .t2 { right: -20px; top: -26px; }
.hero-visual .tile { max-width: 210px; }
/* Modul-Stapel im Hero (SAP HCM Module) */
.module-stack {
  position: absolute; inset: 15% 14% 17% 14%; display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.module-head { color: #fff; font-weight: 700; letter-spacing: .14em; font-size: .85rem; text-transform: uppercase; margin-bottom: 6px; }
.chip {
  display: block; background: rgba(0,0,0,.14); border: 1px solid rgba(255,255,255,.3); color: #fff;
  border-radius: 12px; padding: 12px 16px; font-weight: 600; font-size: .98rem; backdrop-filter: blur(4px);
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 88px; padding-top: 40px; border-top: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(1.25rem, 1.9vw, 1.55rem); color: var(--ink); line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 6px; }
.stat strong::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--brand); margin-bottom: 14px; }
.stat strong em { color: var(--brand-strong); font-style: normal; }
.stat span { color: var(--muted); font-size: .95rem; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.card .num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand-strong); font-weight: 700; margin-bottom: 22px;
}
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Branchen ---------- */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.industry { background: #fff; padding: 28px; display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--ink); }
.industry::before { content: ""; flex: 0 0 10px; height: 10px; border-radius: 3px; background: var(--brand); }


/* ---------- Vorgehen ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 3px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -3px; left: 0; padding-top: 6px; border-top: 3px solid var(--brand); width: 48px;
  font-weight: 700; color: var(--brand-strong); font-size: .85rem;
}
.step h3 { margin-top: 14px; }
.step p { color: var(--muted); font-size: .97rem; }

/* ---------- Referenzen ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.case-img { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #e9ece9, #d9ded9); display: grid; place-items: center; color: var(--muted); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.case-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.case-tag { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: 10px; }
.case-body p { color: var(--muted); font-size: .97rem; flex: 1; }
.case-result { display: flex; align-items: baseline; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); margin-top: 8px; }
.case-result strong { font-size: 1.7rem; color: var(--ink); }
.case-result span { color: var(--muted); font-size: .9rem; }

.logo-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 64px; }
.logo-strip div { height: 64px; border-radius: var(--radius); border: 1px dashed var(--line); display: grid; place-items: center; color: #b3b8b6; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Data Collector ---------- */
.product-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.product-grid .lead { margin-bottom: 16px; }
.product-grid p:not(.lead) { color: var(--muted); margin-bottom: 28px; }
.integration { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.int-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.int-node {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px;
  text-align: center; font-weight: 650; color: var(--ink);
}
.int-sap { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }
.int-link { color: var(--brand-strong); font-size: 1.5rem; font-weight: 700; }
.int-caption { margin: 8px 0 0; text-align: center; color: var(--muted); font-size: .85rem; }

/* ---------- Zitat ---------- */
.quote { background: var(--dark); color: #fff; }
.quote blockquote { margin: 0 auto; max-width: 900px; text-align: center; }
.quote blockquote p { font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.4; color: #fff; font-weight: 500; letter-spacing: -0.01em; }
.quote blockquote p::before { content: "“"; display: block; font-size: 4rem; line-height: 1; color: var(--brand); }
.quote cite { font-style: normal; color: #b9c0bd; font-size: .95rem; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member .photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: var(--bg-alt); margin-bottom: 18px;
  display: grid; place-items: center; font-size: 2.2rem; font-weight: 700; color: #c4c9c7;
}
.section-alt .member .photo { background: #fff; }
.member h3 { margin-bottom: 2px; }
.member span { color: var(--muted); font-size: .95rem; }

/* ---------- Kontakt ---------- */
.contact-box {
  background: var(--brand-strong); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center;
}
.contact-box h2, .contact-box .eyebrow { color: #fff; }
.contact-box .eyebrow::before { background: #fff; }
.contact-box p { color: rgba(255,255,255,.9); font-size: 1.1rem; }
.contact-details { background: #fff; color: var(--text); border-radius: var(--radius); padding: 28px 30px; }
.contact-details dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-details dd { margin: 2px 0 16px; font-weight: 600; color: var(--ink); }
.contact-details dd:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #b9c0bd; padding: 64px 0 32px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 10px; margin-bottom: 18px; line-height: 0; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b9c0bd; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .85rem; }

/* ---------- Rechtsseiten ---------- */
.legal { padding-top: 0; }
.legal section { padding-top: clamp(32px, 6vw, 64px); }
.legal .container { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal-note { font-style: italic; color: var(--muted); }
.legal-note:empty { display: none; }
.legal-date { margin-top: 3em; color: var(--muted); font-size: .9rem; }

/* ---------- Präsentations-Navigation (Punkte rechts) ---------- */
.dots { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 12px; }
.dots a { width: 10px; height: 10px; border-radius: 3px; background: #cfd4d2; transition: background .2s, transform .2s; }
.dots a.active { background: var(--brand); transform: scale(1.3); }

/* ---------- Einblenden beim Scrollen ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3, .cases { grid-template-columns: repeat(2, 1fr); }
  .steps, .team { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .logo-strip { grid-template-columns: repeat(3, 1fr); }

}
/* Menü-Symbol, sobald die 5 Menüpunkte nicht mehr in eine Zeile passen (Bedarf ca. 970 px) */
@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px; transform: translateY(-8px); opacity: 0; pointer-events: none; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility 0s linear .2s;
  }
  .main-nav.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .2s, transform .2s; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
/* Hero-Grafik bei mittleren Breiten als einfache Box statt Quadrat */
@media (max-width: 1200px) {
  .hero-visual { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 28px; }
  .module-stack { position: static; inset: auto; grid-column: 1 / -1; margin-bottom: 6px; }
  .hero-visual .tile { position: static; max-width: none; box-shadow: none; }
  .hero-grid { align-items: start; }
}
@media (max-width: 860px) {
  .hero-grid, .contact-box, .footer-grid, .product-grid { grid-template-columns: 1fr; }
  .product-grid { gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  h2 { font-size: 1.6rem; }
  .container { padding: 0 16px; }
  .grid-3, .cases, .steps, .industries { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; gap: 16px; }
  .logo-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { padding: 20px; }
  .hero-visual .tile { padding: 14px 16px; }
  .hero-visual .tile strong { font-size: 1.35rem; }
}

/* Punkte-Navigation nur, wenn neben dem Inhalt genug Platz ist */
@media (max-width: 1320px) { .dots { display: none; } }

/* =========================================================
   NEU: Themen-Hinweis, SAP HCM 2027, Entscheidungshelfer,
   Data-Collector-Animation, Präsentationsmodus, Kontakt-Button
   ========================================================= */

/* ---------- Themen-Hinweis im Einstieg ---------- */
.topic-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); font-size: .9rem; font-weight: 500; background: #fff; transition: border-color .2s;
}
.topic-pill:hover { text-decoration: none; border-color: var(--brand); }
.topic-tag { background: var(--brand-strong); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.topic-pill .arrow { color: var(--brand-strong); transition: transform .2s; }
.topic-pill:hover .arrow { transform: translateX(3px); }

/* ---------- SAP HCM 2027 ---------- */
.hcm-grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.countdown {
  background: var(--dark); color: #fff; border-radius: var(--radius-lg); padding: 36px 32px;
  display: flex; flex-direction: column; gap: 8px; position: sticky; top: calc(var(--header-h) + 24px);
}
.cd-num { font-size: clamp(3.5rem, 7vw, 5rem); font-weight: 750; line-height: 1; letter-spacing: -0.04em; color: #fff; }
.cd-label { color: #c9cfcc; font-size: 1rem; }
.cd-date { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); font-weight: 700; color: var(--brand); font-size: 1.1rem; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 30px 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 5px;
  background: #fff; border: 2px solid var(--muted);
}
.tl-item h3 { font-size: 1.15rem; margin: 4px 0 4px; }
.tl-item p { color: var(--muted); margin: 0; font-size: .98rem; max-width: 620px; }
.tl-date { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tl-now::before { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 5px rgba(105,180,46,.2); }
.tl-now .tl-date { color: var(--brand-strong); }
.tl-warn::before { background: #fff; border-color: #B45309; }
.tl-warn .tl-date { color: #A14A07; }
.tl-risk::before { background: #B42318; border-color: #B42318; }
.tl-risk .tl-date { color: #B42318; }
.tl-goal::before { background: var(--brand-strong); border-color: var(--brand-strong); }
.tl-goal .tl-date { color: var(--brand-strong); }
.source-note { margin: 28px 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- Data Collector: animierter Datenfluss ---------- */
.flow { padding: 32px 28px; }
.flow-grid { display: grid; grid-template-columns: auto minmax(28px, 1fr) auto minmax(190px, 2.2fr); align-items: center; }
.flow-node {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px;
  font-weight: 650; color: var(--ink); text-align: center; font-size: .95rem; white-space: nowrap;
}
.flow-src { background: var(--ink); border-color: var(--ink); color: #fff; padding: 18px 16px; }
.flow-hub {
  background: var(--brand-strong); color: #fff; border-radius: 18px; padding: 18px 16px; text-align: center; line-height: 1.15;
  box-shadow: 0 0 0 6px rgba(105,180,46,.18); animation: hubPulse 2.8s ease-in-out infinite;
}
.flow-hub span { display: block; font-size: .75rem; letter-spacing: .08em; opacity: .85; margin-bottom: 4px; }
.flow-hub strong { font-size: 1rem; }
.flow-targets { --row-h: 46px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.flow-targets::before { /* senkrechte Verteilerlinie vom Data Collector zu allen Zielsystemen */
  content: ""; position: absolute; left: 0; width: 2px; top: calc(var(--row-h) / 2); bottom: calc(var(--row-h) / 2);
  background: repeating-linear-gradient(180deg, #c5ccc8 0 6px, transparent 6px 11px);
}
.flow-targets .flow-node { height: var(--row-h); display: flex; align-items: center; justify-content: center; }
.flow-row { display: grid; grid-template-columns: minmax(28px, 1fr) 132px; align-items: center; }
.flow-track { position: relative; height: 2px; background: repeating-linear-gradient(90deg, #c5ccc8 0 6px, transparent 6px 11px); }
.flow-track i {
  position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 3px; background: var(--brand);
  left: 0; animation: flowRight 2.4s linear infinite; opacity: 0;
}
.flow-track i:nth-child(2) { animation-name: flowLeft; animation-delay: 1.2s; background: var(--brand-strong); }
.flow-track i:nth-child(3) { animation-delay: .8s; }
.flow-row:nth-child(2) .flow-track i { animation-delay: .5s; }
.flow-row:nth-child(2) .flow-track i:nth-child(2) { animation-delay: 1.7s; }
.flow-row:nth-child(3) .flow-track i { animation-delay: 1s; }
.flow-row:nth-child(3) .flow-track i:nth-child(2) { animation-delay: .2s; }
@keyframes flowRight { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
@keyframes flowLeft  { 0% { left: calc(100% - 8px); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 0; opacity: 0; } }
@keyframes hubPulse { 0%, 100% { box-shadow: 0 0 0 6px rgba(105,180,46,.18); } 50% { box-shadow: 0 0 0 12px rgba(105,180,46,.08); } }
.flow .int-caption { margin-top: 24px; }

/* ---------- Präsentieren-Knopf ---------- */
.present-btn {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-size: .85rem; font-weight: 600; padding: 6px 14px 6px 10px; border-radius: 999px; cursor: pointer;
  transition: border-color .2s, color .2s;
}
.present-btn:hover { border-color: var(--brand); color: var(--brand-strong); }
.present-btn svg { color: var(--brand-strong); }

/* ---------- Präsentationsmodus ---------- */
html.presenting { scroll-padding-top: 0; }
html.presenting .site-header,
html.presenting .site-footer,
html.presenting .skip-link,
html.presenting .fab-contact { display: none !important; }
html.presenting main > section {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding-top: clamp(40px, 6vh, 80px); padding-bottom: clamp(56px, 8vh, 96px);
}
html.presenting .countdown { position: static; }
html.presenting .dots { display: flex; right: 26px; }
html.presenting .reveal { opacity: 1; transform: none; }
.present-ui { position: fixed; inset: auto 0 0 0; z-index: 60; pointer-events: none; }
.present-ui[hidden] { display: none; }
.present-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; background: rgba(0,0,0,.06); }
.present-progress span { display: block; height: 100%; width: 0; background: var(--brand); transition: width .35s ease; }
.present-count {
  position: fixed; left: 24px; bottom: 20px; font-size: .85rem; font-weight: 700; color: var(--muted);
  background: rgba(255,255,255,.9); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
}
.present-exit {
  pointer-events: auto; position: fixed; right: 24px; bottom: 20px; font: inherit; font-size: .85rem; font-weight: 600;
  background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; opacity: .35; transition: opacity .2s;
}
.present-exit:hover, .present-exit:focus-visible { opacity: 1; }

/* ---------- Schwebender Kontakt-Button ---------- */
.fab-contact {
  position: fixed; right: 22px; bottom: 22px; z-index: 45; display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-strong); color: #fff; padding: 12px 20px 12px 16px; border-radius: 999px; font-weight: 650; font-size: .95rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.18); transform: translateY(120px); opacity: 0; pointer-events: none;
  transition: transform .3s ease, opacity .3s ease, background .2s;
}
.fab-contact.show { transform: none; opacity: 1; pointer-events: auto; }
.fab-contact:hover { background: var(--brand-deep); text-decoration: none; }

/* ---------- Navigation: 7 Punkte brauchen etwas weniger Abstand ---------- */
@media (min-width: 1041px) { .main-nav ul { gap: clamp(16px, 1.9vw, 30px); } }

/* ---------- Responsive für die neuen Elemente ---------- */
@media (max-width: 1040px) {
  .present-btn { display: none; }
}
@media (max-width: 960px) {
  .hcm-grid { grid-template-columns: 1fr; gap: 32px; }
  .countdown { position: static; flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 16px; }
  .cd-date { width: 100%; }
}
@media (max-width: 600px) {
  .flow { padding: 22px 14px; }
  .flow-grid { grid-template-columns: auto minmax(10px, 1fr) auto minmax(118px, 1.8fr); }
  .flow-row { grid-template-columns: minmax(10px, 1fr) 108px; }
  .flow-targets { --row-h: 38px; gap: 10px; }
  .flow-node { font-size: .76rem; padding: 8px 4px; letter-spacing: -0.01em; }
  .flow-src { padding: 14px 8px; }
  .flow-hub { padding: 12px 10px; border-radius: 14px; }
  .flow-hub strong { font-size: .82rem; }
  .flow-hub span { font-size: .65rem; }
  .fab-contact { right: 16px; bottom: 16px; padding: 12px; }
  .fab-contact span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .topic-pill { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-track i { display: none; }
  .flow-hub { animation: none; }
  .fab-contact { transition: none; }
}
