/* Brosius Digitalworks – Webseite – style.css – Stand 2026-09-11 */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b1730;
  --navy-2: #0f1f42;
  --blue: #1b4fd1;
  --blue-2: #2b7de9;
  --cyan: #22c9ee;
  --ink: #0f172a;
  --ink-2: #2a3752;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --bg: #fbfcfe;
  --paper: #ffffff;
  --radius: 8px;
  --font-head: "Archivo", "Segoe UI", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --violet: #7c3aed;
  --green: #0ea86f;
  --orange: #f97316;
  --pink: #e24a8d;
  --amber: #f59e0b;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.08; margin: 0 0 .55em; letter-spacing: -.025em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--max), 100% - 3rem); margin-inline: auto; }

/* Abschnittskennung: „01  Leistungen" */
.kicker {
  display: flex; align-items: center; gap: .7rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem;
}
.kicker b { color: var(--blue); font-weight: 600; }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--blue); transform-origin: left; transition: transform .7s var(--ease) .15s; }
.reveal:not(.in) .kicker::before { transform: scaleX(0); }
.band-dark .kicker { color: rgba(255, 255, 255, .6); }
.band-dark .kicker b, .hero .kicker b { color: var(--cyan); }
.band-dark .kicker::before, .hero .kicker::before { background: var(--cyan); }
.hero .kicker { color: rgba(255, 255, 255, .65); }

.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 64ch; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15, 23, 42, .08); }
.progress { position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 60; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(var(--p, 0)); transform-origin: left; pointer-events: none; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--navy); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 6px 0; font-weight: 600; }
.skip:focus-visible { left: 0; text-decoration: none; outline: 3px solid var(--cyan); }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none !important; }
.brand img { width: 54px; height: 30px; }
.brand-word { line-height: 1; font-family: var(--font-head); }
.brand-word strong { display: block; font-size: 1.02rem; letter-spacing: .14em; font-weight: 700; }
.brand-word span { display: block; font-size: .6rem; letter-spacing: .26em; color: var(--muted); margin-top: .2rem; font-family: var(--font-body); }
.brand-word span::after { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--blue-2); margin-left: .25rem; }

.nav { display: flex; gap: 1.8rem; align-items: center; }
.nav a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--blue); text-decoration: none; }
.nav .btn { padding: .6rem 1.1rem; font-size: .9rem; }

.nav-toggle { display: none; border: 1px solid var(--line-2); background: var(--paper); border-radius: 4px; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; transition: transform .25s var(--ease), opacity .25s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem 1.5rem 1.2rem; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: .9rem; justify-content: center; border-bottom: 0; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ---------- Buttons ---------- */

/* Scharfe Ecken, Füll-Effekt von links nach rechts, Anhebung mit Schatten. */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .95rem 1.5rem;
  border-radius: 2px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; line-height: 1;
  letter-spacing: .02em;
  border: 1px solid transparent;
  text-decoration: none !important;
  cursor: pointer;
  transition: color .3s var(--ease), border-color .3s, transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateX(-101%);
  transition: transform .4s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0); }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn::after { content: "\2192"; font-weight: 400; transition: transform .3s var(--ease); }
.btn:hover::after { transform: translateX(5px); }
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.btn-primary, .nav a.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary::before { background: var(--cyan); }
.btn-primary:hover, .btn-primary:focus-visible, .nav a.btn-primary:hover { color: var(--navy); border-color: var(--cyan); box-shadow: 0 12px 28px rgba(34, 201, 238, .35); }

.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light::before { background: var(--navy); }
.btn-light:hover, .btn-light:focus-visible { color: #fff; border-color: var(--cyan); box-shadow: 0 12px 28px rgba(0, 0, 0, .35); }

.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost::before { background: #fff; }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--navy); border-color: #fff; box-shadow: 0 12px 28px rgba(0, 0, 0, .3); }

.btn-outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-outline::before { background: var(--ink); }
.btn-outline:hover, .btn-outline:focus-visible { color: #fff; box-shadow: 0 12px 28px rgba(15, 23, 42, .18); }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn::before, .btn::after { transition: none; }
  .btn:hover { transform: none; }
}
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.section-cta { margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.section-cta p { margin: 0; color: var(--ink-2); max-width: 52ch; }
.band-dark .section-cta { border-top-color: rgba(255, 255, 255, .15); }
.band-dark .section-cta p { color: rgba(255, 255, 255, .75); }

/* ---------- Hero ---------- */

.hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(1100px 560px at 85% -10%, #14306f 0%, var(--navy) 55%);
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .85; }
.hero .wrap { padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6.5rem); }
.hero-inner { max-width: 860px; }
.hero h1 { color: #fff; margin-bottom: 1.3rem; }
.hero h1 .accent { color: var(--cyan); }
.hero .lead { color: rgba(255, 255, 255, .8); font-size: 1.2rem; }
.hero-benefit { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: #fff; margin: 0 0 .9rem; border-left: 3px solid var(--cyan); padding-left: .9rem; }
.hero .btn-row { margin-top: 2rem; }
.hero .facts {
  display: flex; flex-wrap: wrap; gap: .5rem 2rem;
  margin-top: 2.6rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .9rem; color: rgba(255, 255, 255, .7);
}
.hero .facts span::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--cyan); margin-right: .6rem; vertical-align: middle; }

.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.2rem, 5vw, 3.5rem); }
.page-hero h1 { max-width: 22ch; }
.breadcrumb { font-size: .86rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 .5rem; }

/* ---------- Sektionen ---------- */

section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 64ch; margin-bottom: 2.6rem; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; margin: 0; }
.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--navy); color: #fff; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p { color: rgba(255, 255, 255, .78); }

.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* Kacheln */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.7rem 1.6rem; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s var(--ease), background .35s;
  will-change: transform;
}
.card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--blue-2); box-shadow: 0 22px 44px rgba(27, 79, 209, .14); background: linear-gradient(180deg, #ffffff 0%, #f2f6ff 100%); }
.card:hover::before { transform: scaleX(1); }
.card .num { font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .1em; color: var(--blue); }
.card h3 { margin-top: 1rem; transition: color .3s; }
.card:hover h3 { color: var(--blue); }
.card p { color: var(--ink-2); font-size: .97rem; }
.card .more { font-weight: 600; font-size: .93rem; display: inline-block; margin-top: .2rem; color: var(--ink); }
.card .more::after { content: "\2192"; color: var(--blue); display: inline-block; margin-left: .35em; transition: transform .3s var(--ease); }
.card:hover .more::after { transform: translateX(6px); }
.card .more:hover { color: var(--blue); text-decoration: none; }

.icon { width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 6px; display: grid; place-items: center; color: var(--blue); background: var(--bg); transition: background .35s, color .35s, border-color .35s, transform .45s var(--ease); }
.icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card .icon { position: absolute; top: 1.5rem; right: 1.5rem; }
.card:hover .icon { background: var(--blue); color: #fff; border-color: var(--blue); transform: rotate(-8deg) scale(1.08); }

/* Dreispalter SEO/GEO */
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.trio > div { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
@media (min-width: 900px) {
  .trio > div + div { padding-left: 2rem; border-left: 1px solid rgba(255, 255, 255, .18); }
}
.trio .num { font-family: var(--font-head); font-size: .8rem; letter-spacing: .12em; color: var(--cyan); font-weight: 600; }
.trio h3 { margin-top: .8rem; font-size: 1.25rem; }
.trio ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.trio li { padding-left: 1.2rem; position: relative; color: rgba(255, 255, 255, .8); font-size: .97rem; }
.trio li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1px; background: var(--cyan); }
.trio .note { margin-top: 1rem; font-size: .85rem; color: rgba(255, 255, 255, .5); }

/* Timeline */
.timeline { position: relative; display: grid; gap: 1.7rem; padding-left: 2.8rem; max-width: 760px; list-style: none; margin: 0; }
.timeline::before { content: ""; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.timeline::after {
  content: ""; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 1px;
  background: var(--blue); transform: scaleY(var(--progress, 0)); transform-origin: top; transition: transform .15s linear;
}
.step { position: relative; }
.step::before {
  content: attr(data-n); position: absolute; left: -2.8rem; top: .05rem;
  width: 30px; height: 30px; border-radius: 4px;
  background: var(--paper); border: 1px solid var(--blue); color: var(--blue);
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  display: grid; place-items: center; z-index: 1;
}
.step h3 { margin-bottom: .3rem; }
.step p { color: var(--ink-2); margin: 0; }

/* Klartext-Liste */
.no-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.no-list li { padding: 1.6rem 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: -1px 0 0 -1px; }
.no-list li::before { content: "\00D7"; display: block; font-family: var(--font-head); font-size: 1.5rem; line-height: 1; color: var(--blue); margin-bottom: .7rem; }
.no-list li span { display: block; color: var(--ink-2); }

/* Zweispalter */
.split { display: grid; gap: 3rem; grid-template-columns: 1.1fr .9fr; align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* Info-Karte */
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.info-card h3 { font-size: 1.1rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.checks li { padding-left: 1.9rem; position: relative; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: .5rem; width: 16px; height: 16px; border: 1px solid var(--blue); border-radius: 3px; }
.checks li::after { content: ""; position: absolute; left: 5px; top: .78rem; width: 6px; height: 3px; border-left: 1.6px solid var(--blue); border-bottom: 1.6px solid var(--blue); transform: rotate(-45deg); }

/* Beispiel-Boxen */
.example { border: 1px solid var(--line); border-left: 3px solid var(--blue); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.5rem 1.6rem; }
.example h3 { font-size: 1.05rem; }
.example p { color: var(--ink-2); margin: 0; }

/* FAQ */
.faq { display: grid; gap: 1.3rem; }
.faq h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.faq p { color: var(--ink-2); margin: 0; }

/* ---------- Kontakt ---------- */

.contact { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact-panel { background: var(--navy); color: #fff; padding: clamp(2rem, 4vw, 3rem); }
.contact-panel h2 { color: #fff; }
.contact-panel p { color: rgba(255, 255, 255, .78); }
.contact-panel dl { margin: 2rem 0 0; }
.contact-panel .row { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding: .9rem 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.contact-panel dt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); padding-top: .2rem; }
.contact-panel dd { margin: 0; font-weight: 500; }
.contact-panel dd a { color: #fff; }
.contact-form { padding: clamp(2rem, 4vw, 3rem); }
.contact-form h3 { font-size: 1.15rem; margin-bottom: 1.4rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.field select { width: 100%; padding: .8rem .9rem; border: 1px solid var(--line-2); border-radius: 4px; background: #fff; color: var(--ink); font-family: var(--font-body); font-size: 1rem; cursor: pointer; }
.field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27, 79, 209, .15); }
.field input, .field textarea {
  font: inherit; font-size: .97rem; color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 4px; padding: .75rem .9rem; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27, 79, 209, .15); }
.field textarea { min-height: 130px; resize: vertical; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-2 { grid-template-columns: 1fr; } }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--ink-2); margin: .4rem 0 1.4rem; }
.consent input { margin-top: .25rem; }
.form-note { font-size: .82rem; color: var(--muted); margin: 1rem 0 0; }

/* ---------- Laufband ---------- */

/* ---------- Intranet-Vorschau (nur CSS) ---------- */
.app-mock { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: 0 30px 60px rgba(15, 23, 42, .12); overflow: hidden; font-size: .78rem; }
.app-top { display: flex; align-items: center; gap: .4rem; padding: .6rem .9rem; border-bottom: 1px solid var(--line); background: #f3f5f9; }
.app-top i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.app-top .url { margin-left: .6rem; flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: .25rem .6rem; color: var(--muted); font-size: .72rem; }
.app-body { display: grid; grid-template-columns: 52px 1fr; min-height: 300px; }
.app-side { background: var(--navy); padding: .9rem 0; display: grid; align-content: start; gap: .7rem; justify-items: center; }
.app-side i { width: 22px; height: 22px; border-radius: 5px; background: rgba(255, 255, 255, .12); }
.app-side i.on { background: var(--blue-2); }
.app-main { padding: 1rem 1.1rem; display: grid; gap: .9rem; align-content: start; }
.app-head { display: flex; align-items: center; justify-content: space-between; }
.app-head b { font-family: var(--font-head); font-size: .95rem; }
.app-head .chip { font-size: .68rem; padding: .2rem .5rem; border-radius: 999px; background: #eef3ff; color: var(--blue); font-weight: 600; }
.app-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.app-list li { display: grid; grid-template-columns: 82px 1fr 74px; gap: .6rem; align-items: center; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 6px; opacity: 0; transform: translateX(-14px); animation: appIn 12s var(--ease) infinite; }
.app-list li:nth-child(1) { animation-delay: .3s; }
.app-list li:nth-child(2) { animation-delay: 1.1s; }
.app-list li:nth-child(3) { animation-delay: 1.9s; }
.app-list li:nth-child(4) { animation-delay: 2.7s; }
.app-list .loc { color: var(--muted); font-size: .7rem; }
.app-list .txt { color: var(--ink); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status { position: relative; height: 20px; }
.status i { position: absolute; inset: 0; border-radius: 4px; font-style: normal; font-size: .66rem; font-weight: 600; display: grid; place-items: center; opacity: 0; }
.status .s1 { background: #fee2e2; color: #b91c1c; }
.status .s2 { background: #fef3c7; color: #b45309; }
.status .s3 { background: #dcfce7; color: #15803d; }
.status-cycle .s1 { animation: st1 12s infinite; }
.status-cycle .s2 { animation: st2 12s infinite; }
.status-cycle .s3 { animation: st3 12s infinite; }
.status-fixed .s3 { opacity: 1; }
.status-new .s1 { opacity: 1; animation: pulse 1.6s ease-in-out infinite; }
.app-chart { display: flex; align-items: flex-end; gap: .35rem; height: 64px; padding-top: .4rem; border-top: 1px solid var(--line); }
.app-chart i { flex: 1; background: linear-gradient(180deg, var(--blue-2), var(--blue)); border-radius: 3px 3px 0 0; height: 100%; transform: scaleY(var(--h)); transform-origin: bottom; animation: bar 12s var(--ease) infinite; }
.app-chart i:nth-child(odd) { background: linear-gradient(180deg, #9cc8ff, var(--blue-2)); }
@keyframes appIn { 0% { opacity: 0; transform: translateX(-14px); } 6% { opacity: 1; transform: none; } 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(-14px); } }
@keyframes st1 { 0%, 6% { opacity: 0; } 8%, 34% { opacity: 1; } 36%, 100% { opacity: 0; } }
@keyframes st2 { 0%, 36% { opacity: 0; } 38%, 64% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes st3 { 0%, 66% { opacity: 0; } 68%, 92% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes bar { 0% { transform: scaleY(0); } 12% { transform: scaleY(var(--h)); } 90% { transform: scaleY(var(--h)); } 100% { transform: scaleY(0); } }

/* Footer */
.site-footer { background: var(--navy-2); color: rgba(255, 255, 255, .72); padding: 3rem 0 2rem; font-size: .92rem; line-height: 1.9; }
.site-footer a { color: #fff; }
.site-footer strong { color: #fff; font-family: var(--font-head); letter-spacing: .02em; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
@media (max-width: 800px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.4rem; }
.site-footer .legal { display: flex; gap: 1.4rem; }

/* Aufklappmenü Online Marketing */
.nav-item { position: relative; display: flex; align-items: center; gap: .2rem; }
.nav-item > a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav-item.is-active > a { color: var(--blue); }
.sub-toggle { width: 22px; height: 22px; border: 0; background: transparent; cursor: pointer; padding: 0; position: relative; }
.sub-toggle::before { content: ""; position: absolute; left: 7px; top: 6px; width: 7px; height: 7px; border-right: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: rotate(45deg); transition: transform .25s var(--ease); }
.nav-item.open .sub-toggle::before, .nav-item:hover .sub-toggle::before { transform: rotate(225deg) translate(-2px, -2px); }
.sub {
  position: absolute; left: -1rem; top: calc(100% + .9rem); min-width: 260px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .12); padding: .5rem 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -1rem; height: 1rem; }
.nav-item:hover .sub, .nav-item.open .sub, .nav-item:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: .55rem 1.1rem; font-size: .92rem; color: var(--ink); font-weight: 500; }
.sub a:hover { background: var(--bg); color: var(--blue); text-decoration: none; }
@media (max-width: 900px) {
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-item > a { flex: 1; padding: .85rem 0; }
  .sub-toggle { width: 44px; height: 44px; }
  .sub-toggle::before { left: 18px; top: 16px; }
  .sub { position: static; min-width: 0; width: 100%; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 .5rem 1rem; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav-item.open .sub { display: block; }
  .sub a { padding: .6rem 0; border-bottom: 0; }
  .nav-item:hover .sub-toggle::before { transform: rotate(45deg); }
  .nav-item.open .sub-toggle::before { transform: rotate(225deg) translate(-2px, -2px); }
}


/* ---------- Artikel-Layout (SEO-Fachseiten) ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; } .article-side { order: -1; } .sticky { position: static; } }
.article-body { max-width: 72ch; }
.article-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: 2.6rem; scroll-margin-top: 100px; }
.article-body h2:first-child { margin-top: 0; }
.article-body p, .article-body li { color: var(--ink-2); font-size: 1.02rem; }
.article-body ul, .article-body ol { padding-left: 1.3rem; display: grid; gap: .5rem; margin: 0 0 1.2em; }
.article-body strong { color: var(--ink); }
.article-body code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; background: var(--bg); border: 1px solid var(--line); border-radius: 3px; padding: 0 .3em; }
.sticky { position: sticky; top: 96px; }
.toc, .related { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.toc a, .related a { display: block; padding: .35rem 0 .35rem .9rem; border-left: 2px solid var(--line); color: var(--ink-2); font-size: .92rem; line-height: 1.35; }
.toc a:hover, .related a:hover { border-left-color: var(--blue); color: var(--blue); text-decoration: none; }
.related a { border-left: 0; padding-left: 0; font-weight: 500; color: var(--ink); }
.related a::before { content: "→ "; color: var(--blue); }

/* Zweispaltiges Aufklappmenü */
.sub-2 { display: grid; grid-template-columns: 1fr 1fr; min-width: 560px; padding: .8rem .4rem; gap: .4rem; }
.sub-col { display: grid; align-content: start; }
.sub-head { display: block; padding: .3rem 1.1rem .5rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.sub-head a { color: var(--muted); }
.sub-head a:hover { color: var(--blue); text-decoration: none; }
.sub-2 a:not(.sub-head a) { padding: .42rem 1.1rem; font-size: .9rem; }
@media (max-width: 900px) {
  .sub-2 { display: none; grid-template-columns: 1fr; min-width: 0; padding: 0 0 .5rem 1rem; gap: 0; }
  .nav-item.open .sub-2 { display: grid; }
  .sub-head { padding: .6rem 0 .2rem; }
}
.footer-cols-4 { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; }
@media (max-width: 1000px) { .footer-cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-cols-4 { grid-template-columns: 1fr; } }

/* ---------- Scroll-Reveal ---------- */

/* Nur wenn JavaScript läuft, werden Inhalte fürs Einblenden versteckt (sonst wäre die Seite ohne JS leer) */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn, .btn::after { transition: none; }
  .card:hover, .btn:hover::after { transform: none; }
  .timeline::after { transition: none; transform: scaleY(1); }
  .app-list li, .status i, .app-chart i { animation: none !important; opacity: 1; transform: none; }
  .status .s1, .status .s2 { opacity: 0; } .status .s3 { opacity: 1; }
  .kicker::before { transition: none; transform: none !important; }
}

/* Formular-Rückmeldung */
.notice { padding: 1rem 1.2rem; border-radius: 6px; border: 1px solid; margin-bottom: 1.2rem; font-size: .95rem; }
.notice-ok { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.notice-err { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.legal-text h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal-text { max-width: 72ch; }
.legal-text p, .legal-text li { color: var(--ink-2); }
.page-hero .btn-row { margin-top: 1.8rem; }

/* ---------- Webentwicklung: Editor und Seiten-Vorschau ---------- */

.dev-mock { position: relative; margin-bottom: 44px; }
.code-win { border-radius: 10px; background: var(--navy); box-shadow: 0 30px 60px rgba(15, 23, 42, .25); overflow: hidden; }
.code-top { display: flex; align-items: center; gap: .4rem; padding: .6rem .9rem; background: rgba(255, 255, 255, .05); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.code-top i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.code-top .tab { margin-left: .6rem; padding: .22rem .7rem; border-radius: 4px; background: var(--navy-2); color: #93a8d4; font-size: .7rem; font-family: Consolas, "Courier New", monospace; }
.code-body { padding: 1.1rem 1.2rem 1.5rem; display: grid; gap: .6rem; counter-reset: ln; }
.cl { display: flex; align-items: center; gap: .5rem; opacity: 0; transform: translateY(6px); animation: clIn 12s var(--ease) infinite; }
.cl::before { counter-increment: ln; content: counter(ln); flex: none; width: 1.4em; text-align: right; color: rgba(255, 255, 255, .22); font-family: Consolas, "Courier New", monospace; font-size: .68rem; }
.cl i { height: 8px; border-radius: 3px; flex: none; }
.cl .c1 { background: var(--cyan); opacity: .85; }
.cl .c2 { background: #7fb3f5; opacity: .8; }
.cl .c3 { background: #7ee2a8; opacity: .8; }
.cl .c4 { background: rgba(255, 255, 255, .28); }
.cl.in1 i:first-of-type { margin-left: 1.1rem; }
.cl.cl-static { opacity: 1; transform: none; animation: none; }
.caret { width: 7px; height: 12px; background: var(--cyan); animation: caret 1s steps(1) infinite; }
.site-win { position: absolute; right: -14px; bottom: -44px; width: 64%; min-width: 230px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: 0 24px 50px rgba(15, 23, 42, .18); overflow: hidden; }
.sw-top { display: flex; align-items: center; gap: .35rem; padding: .45rem .7rem; border-bottom: 1px solid var(--line); background: #f3f5f9; }
.sw-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.sw-top .url { margin-left: .4rem; flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: .16rem .5rem; color: var(--muted); font-size: .64rem; }
.sw-body { padding: .8rem; display: grid; gap: .55rem; }
.sw-el { opacity: 0; transform: translateY(8px); animation: swIn 12s var(--ease) infinite; }
.sw-nav { display: flex; align-items: center; gap: .45rem; }
.sw-logo { width: 18px; height: 18px; border-radius: 4px; background: linear-gradient(135deg, var(--blue-2), var(--cyan)); }
.sw-nav i { width: 24px; height: 5px; border-radius: 3px; background: var(--line-2); }
.sw-nav i:first-of-type { margin-left: auto; }
.sw-hero { display: grid; gap: .4rem; padding: .75rem; border-radius: 6px; background: linear-gradient(135deg, #eef3ff, #f8fbff); }
.sw-h { height: 10px; width: 72%; border-radius: 3px; background: var(--ink); }
.sw-h2 { height: 7px; width: 48%; background: var(--line-2); }
.sw-btn { width: 58px; height: 15px; border-radius: 3px; background: var(--blue); margin-top: .15rem; }
.sw-img { height: 54px; border-radius: 6px; background: linear-gradient(120deg, var(--blue-2), var(--cyan)); position: relative; overflow: hidden; }
.sw-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); transform: translateX(-100%); animation: sheen 12s var(--ease) 6.6s infinite; }
.sw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.sw-cards i { height: 30px; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
@keyframes clIn { 0% { opacity: 0; transform: translateY(6px); } 4% { opacity: 1; transform: none; } 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(6px); } }
@keyframes swIn { 0% { opacity: 0; transform: translateY(8px); } 5% { opacity: 1; transform: none; } 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(8px); } }
@keyframes caret { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes sheen { 0% { transform: translateX(-100%); } 12% { transform: translateX(100%); } 100% { transform: translateX(100%); } }
@media (max-width: 560px) { .site-win { position: static; width: 100%; margin-top: .8rem; } .dev-mock { margin-bottom: 0; } }

/* ---------- Referenzen: neueste Projekte ---------- */

/* Referenzen als Slider: wischen, Pfeile, rollt von selbst weiter */
.ref-slider { position: relative; }
.ref-grid { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .3rem .2rem 1rem; scrollbar-width: none; }
.ref-grid::-webkit-scrollbar { display: none; }
.ref-grid:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.ref-grid .ref-card { flex: 0 0 290px; scroll-snap-align: start; }
@media (max-width: 560px) { .ref-grid .ref-card { flex-basis: 82%; } }
.rs-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--blue); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 10px 26px rgba(15, 23, 42, .18); transition: background .25s, color .25s, transform .25s var(--ease); display: grid; place-items: center; padding: 0 0 .2rem; }
.rs-btn:hover { background: var(--blue); color: #fff; transform: translateY(-50%) scale(1.08); }
.rs-prev { left: -14px; }
.rs-next { right: -14px; }
.ref-card { display: block; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); text-decoration: none; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.ref-card:hover, .ref-card:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 23, 42, .12); border-color: var(--blue-2); }
.ref-top { display: flex; align-items: center; gap: .35rem; padding: .5rem .8rem; border-bottom: 1px solid var(--line); background: #f3f5f9; }
.ref-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.ref-top::after { content: "live"; margin-left: auto; font-size: .62rem; font-weight: 600; color: #15803d; border-radius: 999px; padding: .12rem .55rem .12rem 1.05rem; background-color: #dcfce7; background-image: radial-gradient(circle at .55rem 50%, #22c55e 2.5px, transparent 3px); animation: pulse 1.8s ease-in-out infinite; }
.ref-body { display: block; padding: 1.05rem 1.2rem 1.15rem; }
.ref-domain { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .9rem; display: flex; align-items: center; gap: .4rem; overflow-wrap: anywhere; }
.ref-domain::after { content: "\2192"; color: var(--blue); transition: transform .25s var(--ease); }
.ref-card:hover .ref-domain::after { transform: translateX(4px); }
.ref-label { display: block; margin-top: .35rem; color: var(--muted); font-size: .8rem; }
.ref-logo { display: grid; place-items: center; height: 92px; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); background: #fff; }
.ref-logo img { max-height: 52px; max-width: 86%; width: auto; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s, transform .35s var(--ease); }
.ref-card:hover .ref-logo img, .ref-card:focus-visible .ref-logo img { filter: none; opacity: 1; transform: scale(1.05); }
.ref-logo-dark { background: linear-gradient(135deg, var(--navy), var(--navy-2)); border-bottom-color: var(--navy); }
.ref-logo-dark img { filter: grayscale(1); opacity: .85; }
.ref-wordmark { font-family: var(--font-head); font-weight: 700; letter-spacing: .03em; color: var(--ink-2); font-size: 1.02rem; text-align: center; }

/* ---------- Intranet: Chaos wird ein System ---------- */

.split-rev > div:first-child { order: 2; }
@media (max-width: 820px) { .split-rev > div:first-child { order: 0; } }
.intranet-visual { display: grid; gap: .8rem; align-content: start; }
.chaos { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-x { position: relative; padding: .38rem .85rem; border: 1px dashed var(--line-2); border-radius: 999px; color: var(--ink-2); font-size: .78rem; background: #fff; opacity: 0; animation: chipFly 12s var(--ease) var(--d) infinite; }
.chip-x::after { content: ""; position: absolute; left: .55rem; right: .55rem; top: 50%; height: 2px; border-radius: 2px; background: #dc2626; transform: scaleX(0); transform-origin: left; animation: strike 12s var(--ease) var(--d) infinite; }
.merge { display: flex; align-items: center; gap: .55rem; color: var(--blue); font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.merge::before { content: "\2193"; font-size: 1rem; animation: mergeBounce 1.6s ease-in-out infinite; }
.intranet-visual .app-mock { animation: appPulse 12s var(--ease) infinite; }
@keyframes chipFly {
  0% { opacity: 0; transform: translateY(-8px); }
  4% { opacity: 1; transform: none; }
  30% { opacity: 1; transform: none; }
  40% { opacity: 0; transform: translate(var(--fx, 0), 130px) scale(.3); }
  100% { opacity: 0; transform: translate(var(--fx, 0), 130px) scale(.3); }
}
@keyframes strike { 0%, 20% { transform: scaleX(0); } 26%, 100% { transform: scaleX(1); } }
@keyframes mergeBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@keyframes appPulse { 0%, 40% { transform: scale(1); } 44% { transform: scale(1.015); } 48%, 100% { transform: scale(1); } }

/* ---------- Handy und KI: Betrieb aus der Hosentasche ---------- */

.phone-band { margin-top: 3.2rem; background: var(--navy); border-radius: 12px; padding: 2.6rem 2.4rem; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.4rem; align-items: center; }
@media (max-width: 820px) { .phone-band { grid-template-columns: 1fr; padding: 1.8rem 1.4rem; } }
.phone-band h3 { color: #fff; font-size: 1.5rem; margin: 0 0 .8rem; }
.phone-band p { color: rgba(255, 255, 255, .75); }
.phone-band .kicker { color: rgba(255, 255, 255, .6); }
.phone-band .kicker b { color: var(--cyan); }
.phone-band .kicker::before { background: var(--cyan); }
.ph-steps { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .9rem; counter-reset: ph; }
.ph-steps li { position: relative; padding-left: 2.5rem; color: rgba(255, 255, 255, .85); }
.ph-steps li::before { counter-increment: ph; content: counter(ph); position: absolute; left: 0; top: -.1rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--blue-2); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.phone { width: 250px; margin: 0 auto; background: #0a1226; border: 1px solid rgba(255, 255, 255, .14); border-radius: 30px; padding: .8rem .7rem 1rem; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.phone-notch { width: 70px; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .18); margin: .2rem auto .7rem; }
.phone-screen { background: #f4f7fc; border-radius: 20px; padding: .8rem; display: grid; gap: .6rem; min-height: 330px; align-content: start; font-size: .74rem; }
.ph-el { opacity: 0; transform: translateY(10px); animation: phIn 12s var(--ease) var(--pd) infinite; }
.ph-voice { display: flex; align-items: center; gap: .5rem; background: var(--blue); color: #fff; border-radius: 999px; padding: .45rem .8rem; justify-self: end; }
.mic { width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.wave { display: flex; gap: 2px; align-items: center; height: 14px; }
.wave i { width: 3px; height: 12px; background: #fff; border-radius: 2px; animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .12s; }
.wave i:nth-child(3) { animation-delay: .24s; }
.wave i:nth-child(4) { animation-delay: .36s; }
.wave i:nth-child(5) { animation-delay: .48s; }
.ph-bubble { background: #fff; border: 1px solid var(--line); border-radius: 10px 10px 10px 2px; padding: .55rem .7rem; color: var(--ink); justify-self: start; max-width: 88%; box-shadow: 0 6px 16px rgba(15, 23, 42, .08); }
.ph-ki { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .68rem; }
.ki-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: pulse 1.2s ease-in-out infinite; }
.ph-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .6rem .7rem; display: grid; gap: .35rem; }
.ph-card .loc { color: var(--muted); font-size: .64rem; }
.ph-card .txt { font-weight: 600; color: var(--ink); }
.ph-card .status { width: 76px; height: 18px; }
.ph-s1 { animation: phSt1 12s infinite; }
.ph-s3 { animation: phSt3 12s infinite; }
.ph-done { justify-self: center; background: #dcfce7; color: #15803d; border-radius: 999px; padding: .35rem .85rem; font-weight: 600; font-size: .7rem; }
@keyframes phIn { 0% { opacity: 0; transform: translateY(10px); } 4% { opacity: 1; transform: none; } 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(10px); } }
@keyframes wave { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@keyframes phSt1 { 0%, 45% { opacity: 0; } 47%, 68% { opacity: 1; } 70%, 100% { opacity: 0; } }
@keyframes phSt3 { 0%, 70% { opacity: 0; } 72%, 92% { opacity: 1; } 94%, 100% { opacity: 0; } }

/* ---------- Farb-Pass: Akzente und Highlights ---------- */

/* Hero: Farbverlauf im Akzentwort und weiche Farb-Glows hinter dem Netz */
.hero h1 .accent { background: linear-gradient(92deg, var(--cyan), #7fb3f5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(640px 420px at 88% 18%, rgba(124, 58, 237, .30), transparent 70%), radial-gradient(520px 380px at 8% 88%, rgba(34, 201, 238, .20), transparent 70%); }

/* Leistungskacheln: je Kachel eine Akzentfarbe */
.card { --ac: var(--blue); --ac-bg: #eef3ff; }
.grid-3 .card:nth-child(1) { --ac: var(--blue);   --ac-bg: #eef3ff; }
.grid-3 .card:nth-child(2) { --ac: var(--violet); --ac-bg: #f4edff; }
.grid-3 .card:nth-child(3) { --ac: var(--green);  --ac-bg: #e6f7f0; }
.grid-3 .card:nth-child(4) { --ac: var(--orange); --ac-bg: #fff0e4; }
.grid-3 .card:nth-child(5) { --ac: var(--pink);   --ac-bg: #fdeaf3; }
.grid-3 .card:nth-child(6) { --ac: var(--cyan);   --ac-bg: #e4f8fd; }
.card::before { background: linear-gradient(90deg, var(--ac), var(--cyan)); }
.card .num { color: var(--ac); }
.card .icon { color: var(--ac); background: var(--ac-bg); border-color: transparent; }
.card:hover { border-color: var(--ac); box-shadow: 0 22px 44px rgba(15, 23, 42, .14); background: #fff; }
.card:hover .icon { background: var(--ac); border-color: var(--ac); color: #fff; }
.card:hover h3 { color: var(--ac); }
.card .more::after { color: var(--ac); }

/* SEO/GEO-Spalten: je Spalte eine Leuchtfarbe */
.trio > div:nth-child(1) { --tc: var(--cyan); }
.trio > div:nth-child(2) { --tc: #a78bfa; }
.trio > div:nth-child(3) { --tc: #34d399; }
.trio .num { color: var(--tc, var(--cyan)); }
.trio li::before { background: var(--tc, var(--cyan)); }

/* Klartext: das X in Orange */
.no-list li::before { color: var(--orange); }

/* Handy-Panel: Glows und bunte Schritt-Nummern */
.phone-band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.phone-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(440px 320px at 88% 12%, rgba(124, 58, 237, .32), transparent 70%), radial-gradient(380px 280px at 4% 96%, rgba(34, 201, 238, .22), transparent 70%); }
.ph-steps li:nth-child(1)::before { background: var(--blue-2); }
.ph-steps li:nth-child(2)::before { background: var(--violet); }
.ph-steps li:nth-child(3)::before { background: var(--green); }

/* Referenzkarten: farbige Linie beim Hover */
.ref-card { position: relative; }
.ref-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--violet)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.ref-card:hover::after { transform: scaleX(1); }

/* ---------- Erstgespräch-Button mit Effekt ---------- */

.btn-cta, .nav a.btn-cta {
  color: #fff; border-color: transparent;
  background: linear-gradient(120deg, var(--blue), var(--violet) 55%, var(--blue-2));
  background-size: 220% 100%;
  animation: ctaShift 6s ease infinite;
  box-shadow: 0 10px 26px rgba(27, 79, 209, .35);
}
.btn-cta::before {
  width: 60%; right: auto;
  background: linear-gradient(100deg, transparent 10%, rgba(255, 255, 255, .45) 50%, transparent 90%);
  transform: skewX(-18deg) translateX(-170%);
  animation: ctaShine 3.4s var(--ease) infinite;
  transition: none;
}
.btn-cta:hover, .btn-cta:focus-visible, .nav a.btn-cta:hover {
  color: #fff; border-color: transparent;
  box-shadow: 0 14px 34px rgba(124, 58, 237, .45);
}
@keyframes ctaShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes ctaShine { 0% { transform: skewX(-18deg) translateX(-170%); } 45% { transform: skewX(-18deg) translateX(280%); } 100% { transform: skewX(-18deg) translateX(280%); } }

/* ---------- Hosting: Server-Rack ---------- */

.rack { background: linear-gradient(160deg, var(--navy), var(--navy-2)); border-radius: 12px; padding: 1.4rem 1.5rem 1.6rem; display: grid; gap: .7rem; box-shadow: 0 30px 60px rgba(15, 23, 42, .25); align-self: start; }
.rack-top { display: flex; align-items: center; gap: .55rem; color: #7ee2a8; font-family: var(--font-head); font-weight: 600; font-size: .85rem; padding-bottom: .5rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.dot-ok { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px rgba(34, 197, 94, .8); animation: pulse 1.8s ease-in-out infinite; }
.rack-unit, .rack-backup { display: grid; grid-template-columns: 70px 1fr auto; gap: .8rem; align-items: center; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 7px; padding: .65rem .9rem; }
.rack-name { font-family: Consolas, "Courier New", monospace; font-size: .76rem; color: #9fc8ff; }
.rack-info { font-size: .76rem; color: rgba(255, 255, 255, .55); }
.leds { display: flex; gap: .3rem; }
.leds i { width: 7px; height: 7px; border-radius: 2px; background: #22c55e; animation: led 2.2s steps(1) var(--ld, 0s) infinite; }
.rack-bar { position: relative; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.rack-bar i { position: absolute; inset: 0; width: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--blue-2), var(--cyan)); transform: scaleX(0); transform-origin: left; animation: backup 6s var(--ease) infinite; }
.rack-bar-label { min-width: 48px; text-align: right; }
@keyframes led { 0%, 55% { opacity: 1; } 56%, 70% { opacity: .25; } 71%, 100% { opacity: 1; } }
@keyframes backup { 0% { transform: scaleX(0); } 70% { transform: scaleX(1); } 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

/* ---------- Vergleich: Baukasten gegen individuell ---------- */

.compare { margin-top: 3.4rem; }
.cmp-head { display: flex; align-items: baseline; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.cmp-head h3 { margin: 0; font-size: 1.3rem; }
.cmp-head p { margin: 0; color: var(--muted); }
.cmp-stage { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 5.5; min-height: 240px; box-shadow: 0 24px 50px rgba(15, 23, 42, .12); touch-action: pan-y; }
.cmp-side { position: absolute; inset: 0; padding: 2.4rem 2.2rem 1.8rem; display: grid; gap: 1.1rem; align-content: start; }
.cmp-bau { background: #e9e9e6; font-family: Georgia, "Times New Roman", serif; clip-path: inset(0 0 0 var(--x, 50%)); }
.cmp-bau > div { margin-left: 52%; } /* Inhalt der Baukasten-Seite sitzt rechts, damit er bei Standardstellung sichtbar ist */
.cmp-nav { display: flex; gap: .7rem; align-items: center; }
.cmp-nav-b { gap: 1.1rem; }
.cmp-nav-b span { color: #8a8a80; font-size: .78rem; text-decoration: underline; }
.cmp-hero-b { background: #d6d6cf; border-radius: 4px; padding: 1.3rem 1.5rem; display: grid; gap: .6rem; justify-items: start; }
.cmp-hero-b b { color: #6b6b63; font-size: 1.05rem; }
.cmp-sub-b { color: #8a8a80; font-size: .78rem; font-style: italic; }
.cmp-btn-b { background: #a9a9a0; border-radius: 3px; font-style: normal; color: #f1f1ec; font-size: .72rem; padding: .4rem .85rem; }
.cmp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.cmp-cards i { height: 46px; background: #dcdcd5; border-radius: 4px; display: grid; place-items: center; font-style: normal; font-size: .72rem; color: #8a8a80; }
.cmp-indi { background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.cmp-indi > div { max-width: 46%; } /* Inhalt links halten, damit er neben dem Regler sichtbar bleibt */
.cmp-logo { width: 20px; height: 20px; border-radius: 5px; background: linear-gradient(135deg, var(--blue-2), var(--cyan)); flex: none; }
.cmp-name { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .85rem; white-space: nowrap; }
.cmp-links { margin-left: auto; display: flex; gap: .7rem; }
.cmp-links i { font-style: normal; color: rgba(255, 255, 255, .65); font-size: .72rem; }
.cmp-hero-i { background: radial-gradient(420px 220px at 85% 0%, rgba(124, 58, 237, .45), transparent 70%); border-radius: 6px; padding: 1.3rem 1.5rem; display: grid; gap: .6rem; justify-items: start; }
.cmp-h-i { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; line-height: 1.2; }
.cmp-sub-i { color: rgba(255, 255, 255, .7); font-size: .78rem; }
.cmp-btn-i { border-radius: 3px; background: linear-gradient(120deg, var(--blue), var(--violet)); box-shadow: 0 6px 16px rgba(27, 79, 209, .45); font-style: normal; color: #fff; font-size: .72rem; font-weight: 600; padding: .45rem .85rem; }
.cmp-cards-i i { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .75); background-clip: padding-box; }
.cmp-cards-i i:nth-child(1) { border-top: 3px solid var(--cyan); }
.cmp-cards-i i:nth-child(2) { border-top: 3px solid var(--violet); }
.cmp-cards-i i:nth-child(3) { border-top: 3px solid #34d399; }
.cmp-tag { position: absolute; top: .9rem; left: .9rem; z-index: 2; font-family: var(--font-head); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .88); color: #6b6b63; padding: .28rem .65rem; border-radius: 999px; }
.cmp-tag-i { background: rgba(34, 201, 238, .16); color: var(--cyan); border: 1px solid rgba(34, 201, 238, .4); }
.cmp-tag-r { left: auto; right: .9rem; }
.cmp-divider { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(15, 23, 42, .45); z-index: 3; pointer-events: none; }
.cmp-divider span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; align-content: center; gap: .05rem; color: var(--blue); font-size: 1.05rem; line-height: 1; box-shadow: 0 6px 18px rgba(15, 23, 42, .35); }
.cmp-divider small { font-size: .5rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.cmp-stage:focus-within { outline: 3px solid var(--cyan); outline-offset: 4px; }
@media (max-width: 1150px) { .cmp-links { display: none; } }
@media (max-width: 700px) {
  /* Auf schmalen Breiten: kein Wisch-Vergleich, sondern beide Karten gestapelt */
  .cmp-stage { aspect-ratio: auto; min-height: 0; display: grid; gap: 1rem; background: transparent; border: 0; box-shadow: none; overflow: visible; border-radius: 0; }
  .cmp-side { position: relative; inset: auto; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 14px 30px rgba(15, 23, 42, .12); padding: 2.6rem 1.1rem 1.2rem; }
  .cmp-bau { clip-path: none; }
  .cmp-bau > div { margin-left: 0; }
  .cmp-indi > div { max-width: 100%; }
  .cmp-divider, .cmp-range, .cmp-hint { display: none; }
}
@media (max-width: 380px) { .cmp-cards { grid-template-columns: 1fr 1fr; } }

/* ---------- KI-Prompt-Hero ---------- */

.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(100deg, rgba(8, 16, 38, .9) 0%, rgba(8, 16, 38, .55) 40%, rgba(8, 16, 38, .08) 72%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 90px), repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 90px); }
#aurora { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.2s ease; }
#aurora.on { opacity: 1; }
.hero .rise { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease) var(--rd, 0s) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero .rise { animation: none; opacity: 1; transform: none; }
}
/* ---------- Cookie-Hinweis im Footer (es gibt keins, das ist der Witz) ---------- */

.cookie-note { display: flex; align-items: center; gap: .7rem; margin: 2.2rem 0 0; padding: .9rem 1.1rem; border: 1px dashed rgba(255, 255, 255, .25); border-radius: 8px; color: rgba(255, 255, 255, .65); font-size: .85rem; }
.cookie-note svg { flex: none; width: 22px; height: 22px; stroke: #7ee2a8; stroke-width: 1.6; fill: none; stroke-linecap: round; }

/* ---------- Punkt-Navigation der Startseite ---------- */

.pagenav { position: fixed; right: 1.4rem; top: 50%; transform: translateY(-50%); z-index: 60; display: grid; gap: .55rem; }
@media (max-width: 1240px) { .pagenav { display: none; } }
.pagenav a { position: relative; display: block; width: 12px; height: 12px; border-radius: 50%; background: rgba(100, 116, 139, .45); border: 2px solid rgba(255, 255, 255, .6); box-shadow: 0 1px 4px rgba(15, 23, 42, .25); transition: transform .25s var(--ease), background .25s; }
.pagenav a:hover { transform: scale(1.25); }
.pagenav a.on { background: linear-gradient(135deg, var(--blue), var(--cyan)); transform: scale(1.35); }
.pagenav a span { position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%) translateX(6px); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease); background: #fff; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .04em; padding: .35rem .7rem; border-radius: 999px; box-shadow: 0 8px 22px rgba(15, 23, 42, .18); }
.pagenav a span b { color: var(--blue); margin-right: .35rem; }
.pagenav a:hover span, .pagenav a:focus-visible span, .pagenav a.on span { opacity: 1; transform: translateY(-50%); }
.pagenav a.on span { background: var(--navy); color: #fff; }
.pagenav a.on span b { color: var(--cyan); }

/* ---------- Live-Ladezeit: echte Messung beim Besucher ---------- */

.live-speed { margin-top: 1.1rem; display: inline-flex; align-items: center; gap: .55rem; background: rgba(34, 201, 238, .12); border: 1px solid rgba(34, 201, 238, .35); border-radius: 999px; padding: .5rem 1rem; color: #fff; font-size: .85rem; }
.live-speed[hidden] { display: none; }
.live-speed b { color: var(--cyan); }
.ls-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px rgba(34, 201, 238, .8); flex: none; }

/* ---------- Abschnitts-Knopf für Handy und Tablet ---------- */

.secnav { position: fixed; right: 1rem; bottom: 1rem; z-index: 70; display: none; }
@media (max-width: 1239px) { .secnav { display: block; } }
.secnav-btn { width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff; box-shadow: 0 12px 30px rgba(15, 23, 42, .35); display: grid; place-items: center; }
.secnav-btn b { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; }
.secnav-list { position: absolute; right: 0; bottom: calc(100% + .7rem); min-width: 215px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 20px 50px rgba(15, 23, 42, .25); padding: .4rem; display: grid; }
.secnav-list[hidden] { display: none; }
.secnav-list a { display: flex; gap: .7rem; align-items: center; padding: .55rem .8rem; border-radius: 6px; color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none !important; }
.secnav-list a b { color: var(--blue); font-family: var(--font-head); }
.secnav-list a:hover { background: var(--bg); }
.secnav-list a.on { background: var(--navy); color: #fff; }
.secnav-list a.on b { color: var(--cyan); }

/* Reduced motion für Editor-Mockup, Referenzen und Intranet-Visual: muss nach den Basisregeln stehen */
@media (prefers-reduced-motion: reduce) {
  .cl, .sw-el { animation: none !important; opacity: 1; transform: none; }
  .caret, .sw-img::after, .ref-top::after { animation: none !important; }
  .ref-card:hover { transform: none; }
  .chip-x { animation: none !important; opacity: 1; transform: none; }
  .chip-x::after { animation: none !important; transform: scaleX(1); }
  .merge::before, .intranet-visual .app-mock { animation: none !important; }
  .ph-el { animation: none !important; opacity: 1; transform: none; }
  .wave i, .ki-dot { animation: none !important; }
  .ph-s1 { animation: none !important; opacity: 0; }
  .ph-s3 { animation: none !important; opacity: 1; }
  .btn-cta { animation: none !important; }
  .btn-cta::before { animation: none !important; transform: skewX(-18deg) translateX(-170%); }
  .leds i, .dot-ok { animation: none !important; }
  .rack-bar i { animation: none !important; transform: scaleX(1); }
}
