/* =========================================================
   ZigNet – advancing efficiency
   One-Pager · Entwurf 2026
   ========================================================= */

/* ---------- Fonts (lokal gehostet, kein Drittanbieter-Request) ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design-Tokens (Farbwelt aus Logo & bisheriger Website) ---------- */
:root {
  /* Logo */
  --navy: #022a53;
  --navy-800: #0b3a6b;
  --navy-950: #01162d;
  --lavender: #a9b1cc;
  --lavender-300: #c9cfe2;
  --lavender-100: #e8ebf4;
  --lavender-50: #f3f5fa;
  /* Claim «advancing efficiency» / Footer-Balken */
  --bronze: #937143;
  --bronze-text: #7a5c33;
  --bronze-light: #d2b07c;
  /* Warmer Grundton aus dem bisherigen Header-Visual */
  --cream: #f8f5ef;

  --ink: #0f1d2e;
  --text: #33415a;
  --muted: #5b6880;
  --on-dark: #c9d0e3;
  --line: #e3e7f0;
  --white: #fff;
  --success: #2f7d5b;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgb(2 42 83 / .06), 0 4px 12px rgb(2 42 83 / .04);
  --shadow: 0 14px 34px -14px rgb(2 42 83 / .28);
  --shadow-lg: 0 34px 70px -24px rgb(2 42 83 / .38);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.i18n-pending body { opacity: 0; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
address { font-style: normal; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.008em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.15rem); letter-spacing: -.016em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -64px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--bronze);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 1rem/1.1 var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgb(2 42 83 / .7);
}
.btn-primary:hover { background: var(--navy-800); transform: translateY(-1px); }
.btn-ghost {
  background: rgb(255 255 255 / .7);
  border-color: var(--lavender-300);
  color: var(--navy);
}
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--lavender-100); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / .84);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px -22px rgb(2 42 83 / .5);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
  flex: none;
}
.brand-mark { width: 38px; height: auto; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.62rem;
  line-height: 1;
  letter-spacing: -.025em;
}

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; }
.main-nav ul a {
  display: block;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.main-nav ul a:hover { background: var(--lavender-50); color: var(--navy); }
.main-nav ul a[aria-current="true"] { background: var(--lavender-100); color: var(--navy); }
.nav-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--lavender-50);
  border: 1px solid var(--line);
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 7px 11px;
  border-radius: 999px;
  font: 600 .78rem/1 var(--font-sans);
  letter-spacing: .06em;
  color: var(--muted);
  cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.lang-switch button:hover { color: var(--navy); }
.lang-switch button[aria-pressed="true"] {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.nav-toggle { display: none; }

@media (max-width: 1140px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--navy);
    transition: transform .3s var(--ease), opacity .2s;
  }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav ul a { padding: 12px 14px; border-radius: 12px; font-size: 1.05rem; }
  .nav-extra {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }
  .header-actions { margin-left: auto; }
}

@media (max-width: 560px) {
  :root { --header-h: 68px; }
  .header-cta { display: none; }
  .brand-mark { width: 32px; }
  .brand-word { font-size: 1.4rem; }
  .header-actions { gap: 10px; }
  .main-nav { padding-inline: 16px; }
}

/* ---------- Sektionen ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section-cream { background: var(--cream); }
.section-tint { background: var(--lavender-50); }
.section-dark {
  background:
    radial-gradient(70% 60% at 100% 0%, rgb(169 177 204 / .16), transparent 60%),
    radial-gradient(55% 55% at 0% 100%, rgb(147 113 67 / .22), transparent 60%),
    var(--navy);
  color: var(--on-dark);
}
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font: 600 .8rem/1 var(--font-sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bronze-text);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.section-dark .eyebrow { color: var(--bronze-light); }

.section-head { max-width: 780px; margin-bottom: 56px; }
.section-lead {
  font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink);
}
.section-dark .section-lead { color: #fff; }

.split-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: 64px;
}
.split-head h2 { margin-bottom: 0; }
.split-head p:last-child { margin-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 120px);
  background:
    radial-gradient(60% 70% at 85% 30%, var(--lavender-100) 0%, transparent 70%),
    radial-gradient(50% 60% at 0% 100%, var(--cream) 0%, transparent 70%),
    #fff;
}
/* Binär-Muster als Reminiszenz an das bisherige Header-Visual */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='128'%3E%3Cg fill='%23a9b1cc' font-family='Consolas,monospace' font-size='13' letter-spacing='4'%3E%3Ctext x='0' y='18'%3E01001101 0110 1%3C/text%3E%3Ctext x='0' y='50'%3E1101 00101101 01%3C/text%3E%3Ctext x='0' y='82'%3E011 01011001 1001%3C/text%3E%3Ctext x='0' y='114'%3E10110 0101 110010%3C/text%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(48% 58% at 80% 42%, #000 0%, transparent 75%);
  mask-image: radial-gradient(48% 58% at 80% 42%, #000 0%, transparent 75%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.claim {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--bronze-text);
}
.claim::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--bronze);
  clip-path: polygon(0 40%, 40% 0, 100% 0, 100% 100%, 0 100%);
}

h1 {
  font-size: clamp(2.6rem, 1.55rem + 4.3vw, 4.55rem);
  line-height: 1.04;
  letter-spacing: -.018em;
  margin-bottom: 26px;
}
h1 em {
  font-style: normal;
  color: var(--navy);
  background: linear-gradient(transparent 64%, rgb(169 177 204 / .55) 64%, rgb(169 177 204 / .55) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero .lead {
  max-width: 36em;
  margin-bottom: 36px;
  font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem);
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 0;
  list-style: none;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.facts li {
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}
.facts li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--navy);
  white-space: nowrap;
}
.facts span {
  display: block;
  max-width: 15ch;
  margin-top: 4px;
  font-size: .9rem;
  line-height: 1.4;
  color: var(--muted);
}

/* Hero-Visual: animierte Bildmarke + schwebende UI-Karten */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1 / 1;
  justify-self: center;
}
.hv-glow {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #fff 0%, var(--lavender-50) 45%, transparent 70%);
}
.hv-ring {
  position: absolute;
  inset: 3%;
  border-radius: 50%;
  border: 1.5px dashed var(--lavender-300);
  animation: spin 90s linear infinite;
}
.hv-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58%;
  transform: translate(-50%, -50%);
  overflow: visible;
  filter: drop-shadow(0 28px 36px rgb(2 42 83 / .2));
}
.hv-mark path { animation: piece-in 1.1s var(--ease) both; }
.hv-mark .p1 { --dx: -9px; --dy: 0; animation-delay: .15s; }
.hv-mark .p2 { --dx: 0; --dy: 9px; animation-delay: .3s; }
.hv-mark .p3 { --dx: 0; --dy: -9px; animation-delay: .45s; }
.hv-mark .p4 { --dx: 9px; --dy: 0; animation-delay: .6s; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgb(255 255 255 / .94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  font-size: .85rem;
  color: var(--ink);
  animation: float 7s ease-in-out infinite;
}
.fc-edemo { top: 9%; left: -4%; }
.fc-template { top: 46%; right: -6%; animation-delay: -2.4s; }
.fc-migration { bottom: 5%; left: 4%; animation-delay: -4.6s; }
.fc-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--navy);
  color: #fff;
  flex: none;
}
.fc-icon .icon { width: 18px; height: 18px; }
.fc-icon-light { background: var(--lavender-100); color: var(--navy); }
.fc-icon-bronze { background: var(--bronze); }
.fc-title { display: block; font-weight: 600; line-height: 1.25; }
.fc-sub { display: block; font-size: .78rem; color: var(--muted); }
.fc-bar {
  display: block;
  width: 128px;
  height: 5px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--lavender-100);
}
.fc-bar i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--navy), var(--lavender));
  animation: grow 2.2s var(--ease) .8s both;
}
.fc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--success);
}
.fc-badge .icon { width: 14px; height: 14px; stroke-width: 2.5; }

@keyframes piece-in { from { opacity: 0; transform: translate(var(--dx), var(--dy)); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes grow { from { width: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Leistungen ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.service-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--lavender));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--lavender-300); }
.service-card:hover::after { transform: scaleX(1); }
.service-num {
  position: absolute;
  top: 26px;
  right: 26px;
  font: 700 .85rem var(--font-display);
  letter-spacing: .04em;
  color: var(--lavender);
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { flex: 1; font-size: .97rem; color: var(--muted); }

.icon-tile {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  border-radius: 16px;
  background: var(--lavender-50);
  color: var(--navy);
  transition: background-color .3s, color .3s;
}
.icon-tile .icon { width: 26px; height: 26px; }
.service-card:hover .icon-tile { background: var(--navy); color: #fff; }

.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
}
.more .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.service-card:hover .more .icon { transform: translateX(4px); }

/* ---------- Training ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid rgb(2 42 83 / .06);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.feature .icon-tile { width: 48px; height: 48px; margin-bottom: 22px; border-radius: 14px; }
.feature .icon-tile .icon { width: 23px; height: 23px; }
.feature p { font-size: .97rem; color: var(--muted); margin-bottom: .9em; }
.feature p:last-child { margin-bottom: 0; }

.checklist { display: grid; gap: 9px; list-style: none; font-size: .95rem; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.checklist li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--lavender-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23022a53' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.products {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 40px;
  padding: 26px 30px;
  border-radius: var(--radius);
  border: 1px solid rgb(2 42 83 / .06);
  background: #fff;
}
.products-title { margin: 0; font-size: 1rem; color: var(--navy); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--lavender-100);
  background: var(--lavender-50);
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--navy);
}
.chips-dark { margin-top: 28px; }
.chips-dark li { border-color: rgb(255 255 255 / .16); background: rgb(255 255 255 / .07); color: #fff; }

/* ---------- eDemo ---------- */
.edemo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  margin-bottom: 72px;
}

.player {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 44px 80px -30px rgb(0 0 0 / .6), 0 0 0 1px rgb(255 255 255 / .08);
  color: var(--ink);
  font-size: .82rem;
  line-height: 1.45;
}
.player-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--lavender-50);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--lavender-300); }
.player-title { flex: 1; overflow: hidden; font-weight: 600; color: var(--navy); white-space: nowrap; text-overflow: ellipsis; }
.badge {
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.player-body { display: grid; grid-template-columns: 178px 1fr; min-height: 300px; }
.player-steps { padding: 18px 12px; border-right: 1px solid var(--line); background: #fbfcfe; }
.steps-label {
  margin: 0 0 10px 10px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.player-steps ol { display: grid; gap: 4px; list-style: none; counter-reset: step; }
.player-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  counter-increment: step;
}
.player-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lavender-100);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 700;
}
.player-steps li.done::before { content: "✓"; background: var(--navy); color: #fff; }
.player-steps li.active { background: var(--lavender-100); color: var(--navy); font-weight: 600; }
.player-steps li.active::before { background: var(--bronze); color: #fff; }

.player-stage { position: relative; padding: 22px; background: linear-gradient(#fff, #f6f7fb); }
.mock-toolbar { display: flex; gap: 6px; margin-bottom: 92px; }
.mock-toolbar span { flex: 1; height: 26px; border-radius: 7px; border: 1px solid var(--line); background: var(--lavender-50); }
.mock-toolbar .hot {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 64px;
  height: 26px;
  border-radius: 7px;
  border: 2px solid var(--bronze);
  background: #fff;
  font-size: .74rem;
  color: var(--navy);
}
.mock-toolbar .hot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 11px;
  border: 2px solid var(--bronze);
  animation: pulse 1.8s ease-out infinite;
}
.callout {
  position: absolute;
  top: 62px;
  left: 50%;
  transform: translateX(-38%);
  max-width: 230px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-size: .78rem;
  box-shadow: var(--shadow);
}
.callout::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 30%;
  width: 12px;
  height: 12px;
  background: var(--navy);
  transform: rotate(45deg);
}
.mock-lines i { display: block; height: 8px; margin-bottom: 10px; border-radius: 4px; background: var(--lavender-100); }
.quiz {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.quiz-q { margin: 0 0 8px; font-weight: 600; color: var(--navy); }
.quiz-a { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; color: var(--muted); }
.quiz-a:last-child { margin-bottom: 0; }
.radio { flex: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--lavender); }
.quiz-a.is-right { color: var(--success); font-weight: 600; }
.quiz-a.is-right .radio { border-color: var(--success); background: radial-gradient(circle, var(--success) 0 3px, transparent 3.5px); }

.player-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}
.play {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}
.play .icon { width: 16px; height: 16px; }
.progress { flex: 1; height: 6px; overflow: hidden; border-radius: 6px; background: var(--lavender-100); }
.progress i {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--navy), var(--bronze));
}
.step-count { font-weight: 500; color: var(--muted); white-space: nowrap; }

.qa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qa {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid rgb(255 255 255 / .1);
  background: rgb(255 255 255 / .05);
}
.qa p { font-size: .97rem; }
.qa-cta {
  border-color: rgb(210 176 124 / .35);
  background: linear-gradient(135deg, rgb(147 113 67 / .38), rgb(147 113 67 / .12));
}
.qa-cta p { color: #e8e2d6; }
.qa .btn { margin-top: auto; }

@keyframes pulse { from { opacity: .8; transform: scale(.92); } to { opacity: 0; transform: scale(1.22); } }

/* ---------- Vorlagen ---------- */
.templates-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  margin-bottom: 64px;
}
.doc-mock {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--lavender-50), var(--cream));
}
.doc-ribbon { display: flex; flex-wrap: wrap; gap: 6px; max-width: 440px; margin: 0 auto 16px; }
.rb {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
}
.rb-active { border-color: var(--navy); background: var(--navy); color: #fff; }
.doc-page {
  position: relative;
  max-width: 440px;
  margin-inline: auto;
  padding: 28px 30px 38px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  font-size: .8rem;
  color: var(--ink);
}
.doc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--navy);
}
.doc-logo { display: flex; align-items: center; gap: 8px; font: 700 .95rem var(--font-display); color: var(--navy); }
.logo-box { width: 24px; height: 24px; border-radius: 6px; background: linear-gradient(135deg, var(--bronze), var(--bronze-light)); }
.doc-meta { font-size: .7rem; color: var(--muted); }
.doc-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: .78rem;
}
.doc-select { position: relative; border: 1px solid var(--lavender-300); background: var(--lavender-50); }
.doc-select .fl { color: var(--muted); }
.doc-select .fv { font-weight: 600; color: var(--navy); }
.doc-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 6px;
  z-index: 2;
  min-width: 128px;
  padding: 4px;
  list-style: none;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.doc-dropdown li { padding: 6px 10px; border-radius: 6px; }
.doc-dropdown .sel { background: var(--lavender-100); color: var(--navy); font-weight: 600; }
.doc-input { width: 62%; }
.doc-input.c1 { border: 1px dashed #d9b98a; background: #fdf6ea; color: var(--bronze-text); }
.doc-input.c2 { border: 1px dashed #9cc9b1; background: #eef7f2; color: #2f6b4f; }
.doc-title { margin: 20px 0 12px; font: 700 1.15rem var(--font-display); color: var(--navy); }
.doc-lines i { display: block; height: 7px; margin-bottom: 9px; border-radius: 4px; background: var(--line); }
.doc-badge {
  position: absolute;
  right: -14px;
  bottom: -18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  font-size: .8rem;
  font-weight: 600;
  color: var(--success);
}
.doc-badge .icon { width: 16px; height: 16px; stroke-width: 2.5; }

.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.info-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}
.info-card h3 { font-size: 1.15rem; }
.info-card p { margin: 0; font-size: .96rem; color: var(--muted); }
.info-card a, .partner-card p a {
  color: var(--navy);
  font-weight: 600;
  text-decoration-color: var(--lavender);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.info-card a:hover { text-decoration-color: var(--navy); }

/* ---------- Migration ---------- */
.flow {
  margin: 0 0 40px;
  padding: clamp(20px, 4vw, 44px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.flow svg { width: 100%; height: auto; overflow: visible; }
.flow-v { display: none; }
.flow text { font-family: var(--font-sans); fill: var(--ink); }
.flow .lbl { font-size: 23px; font-weight: 600; }
.flow .sub { font-size: 16px; fill: var(--muted); }
.flow .hub { fill: var(--navy); }
.flow .hub-txt { font-family: var(--font-display); font-size: 21px; font-weight: 700; fill: #fff; }
.flow-v .hub-txt { font-size: 18px; }
.flow .hub-ring {
  fill: none;
  stroke: var(--lavender);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: ring 2.8s ease-out infinite;
}
.dots-in, .dots-out {
  fill: none;
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 0 26;
  animation: dots 1.3s linear infinite;
}
.dots-in { stroke: var(--lavender); }
.dots-out { stroke: var(--bronze); }
.arrow-dots { fill: var(--bronze); }

@keyframes dots { to { stroke-dashoffset: -26; } }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.28); opacity: 0; } }

.migration-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 20px; }
.team-card { display: grid; gap: 20px; border-color: var(--navy); background: var(--navy); }
.team-card h3 { color: #fff; margin-bottom: 6px; font-size: 1.08rem; }
.team-card p { color: var(--on-dark); font-size: .93rem; }
.lane { display: flex; align-items: flex-start; gap: 16px; }
.lane + .lane { padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .12); }
.lane-badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
}
.lane-badge svg { width: 100%; height: 100%; }
.lane-badge-globe { background: rgb(255 255 255 / .1); color: #fff; }
.lane-badge-globe .icon { width: 22px; height: 22px; }

/* ---------- Referenzen ---------- */
.logo-wall {
  --cols: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 64px;
  list-style: none;
}
.logo-wall li {
  display: grid;
  place-items: center;
  flex: 0 1 calc((100% - (var(--cols) - 1) * 12px) / var(--cols));
  min-height: 92px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  text-align: center;
  color: var(--navy);
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.logo-wall li:hover { border-color: var(--lavender-300); background: var(--lavender-50); color: var(--bronze-text); transform: translateY(-2px); }

.partners { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.partner-card {
  padding: clamp(26px, 3.5vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
}
.partner-card img { width: 170px; margin-bottom: 26px; }
.partner-card p { font-size: .98rem; color: var(--muted); }
.partner-addresses { display: flex; flex-wrap: wrap; gap: 16px 48px; margin: 22px 0; font-size: .95rem; color: var(--text); }
.partner-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; }
.partner-solutions { border-color: transparent; background: var(--cream); }
.solution-list { display: grid; list-style: none; margin-top: 12px; }
.solution-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgb(2 42 83 / .1);
}
.solution-list li:last-child { border-bottom: 0; }
.solution-list a {
  font: 700 1.18rem var(--font-display);
  letter-spacing: -.01em;
  color: var(--navy);
  text-decoration: none;
}
.solution-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.solution-list span { font-size: .88rem; text-align: right; color: var(--muted); }

/* ---------- Über uns ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-bottom: 80px;
}
.timeline { position: relative; display: grid; gap: 30px; padding-left: 40px; list-style: none; margin-top: 8px; }
.timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 9px;
  width: 2px;
  background: linear-gradient(var(--navy), var(--lavender));
}
.timeline li { position: relative; }
.timeline li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -40px;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 3px solid var(--navy);
  background: var(--cream);
}
.timeline li:last-child::before { border-color: var(--bronze); background: var(--bronze); }
.tl-year {
  display: block;
  margin-bottom: 4px;
  font: 800 1.5rem/1.2 var(--font-display);
  letter-spacing: -.02em;
  color: var(--bronze-text);
}
.timeline h3 { margin-bottom: 6px; font-size: 1.15rem; }
.timeline p { margin: 0; font-size: .96rem; color: var(--muted); }

.values-head { max-width: 640px; margin-bottom: 28px; }
.values-head h3 { font-size: 1.5rem; }
.values-head p { color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 28px; }
.value { position: relative; padding: 30px; border-radius: var(--radius); background: #fff; }
.value .icon-tile { width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; background: var(--navy); color: #fff; }
.value .icon-tile .icon { width: 24px; height: 24px; }
.value p { margin: 0; font-size: .96rem; color: var(--muted); }
/* Pfeile zwischen den Karten: Frage → Zahnrad → Glühbirne (Motiv der bisherigen Seite) */
.value:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--lavender);
  border-right: 2px solid var(--lavender);
  transform: translateY(-50%) rotate(45deg);
}

.location-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  padding: 18px clamp(18px, 4vw, 44px) 18px 18px;
  border-radius: var(--radius-lg);
  background: #fff;
}
.location-card img { width: 260px; aspect-ratio: 252 / 165; object-fit: cover; border-radius: 18px; }
.location-card h3 { font-size: 1.35rem; }
.location-card p { margin: 0; color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact { overflow: hidden; }
.contact-deco {
  position: absolute;
  right: -6%;
  bottom: -18%;
  width: min(560px, 70vw);
  opacity: .045;
  --mark-dark: #fff;
  --mark-light: #fff;
  pointer-events: none;
}
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
  padding: 18px 28px 18px 18px;
  border-radius: 22px;
  border: 1px solid rgb(255 255 255 / .16);
  background: rgb(255 255 255 / .06);
  color: #fff;
  text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.contact-phone:hover { background: rgb(255 255 255 / .11); border-color: rgb(255 255 255 / .3); }
.cp-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--bronze);
  color: #fff;
}
.cp-label { display: block; font-size: .85rem; font-weight: 600; letter-spacing: .03em; color: var(--bronze-light); }
.cp-number {
  display: block;
  font: 700 clamp(1.5rem, 1.1rem + 1.5vw, 2.3rem)/1.15 var(--font-display);
  word-spacing: .08em;
  letter-spacing: 0;
  white-space: nowrap;
}

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { padding: 26px; border-radius: var(--radius); background: #fff; color: var(--text); }
.section-dark .contact-card h3 { margin-bottom: 10px; font-size: 1.1rem; color: var(--navy); }
.contact-card address { font-size: .96rem; line-height: 1.6; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .94rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; }
.link-arrow:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 32px; background: var(--navy-950); color: #aab3c9; font-size: .95rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgb(255 255 255 / .1);
}
.brand-light { --mark-dark: #fff; --mark-light: var(--lavender); color: #fff; }
.footer-claim { margin: 18px 0 8px; font: 600 1.05rem var(--font-display); color: var(--bronze-light); }
.footer-brand p:last-child { max-width: 30ch; }
.site-footer h3 {
  margin-bottom: 16px;
  font: 600 .78rem/1 var(--font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer ul { display: grid; gap: 10px; list-style: none; }
.site-footer a { color: #d5dae8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer address { line-height: 1.8; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }
.link-button {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: #d5dae8;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-button:hover { color: #fff; }

/* ---------- Dialog «Rechtliches» ---------- */
.legal-dialog {
  width: min(760px, 100% - 32px);
  max-height: min(86vh, 900px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.legal-dialog::backdrop { background: rgb(1 22 45 / .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog-head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.dialog-head h2 { margin: 0; font-size: 1.35rem; }
.dialog-close {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
}
.dialog-close:hover { background: var(--lavender-50); }
.dialog-body { padding: 8px 28px 32px; font-size: .95rem; }
.dialog-body h3 { margin-top: 1.6em; font-size: 1.05rem; }

/* ---------- Scroll-Animationen ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .service-grid, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { --cols: 4; }
  .migration-grid { grid-template-columns: 1fr 1fr; }
  .team-card { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .team-card .lane + .lane { padding-top: 0; border-top: 0; }
}

@media (max-width: 960px) {
  .hero-grid, .edemo-grid, .templates-grid, .about-grid, .contact-grid, .partners { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .templates-grid .doc-mock { order: 2; }
  .split-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .qa-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; gap: 16px; }
  .value:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .flow-h { display: none; }
  .flow-v { display: block; max-width: 380px; margin-inline: auto; }
  .logo-wall { --cols: 3; }
  .location-card { grid-template-columns: 1fr; padding: 16px 16px 24px; }
  .location-card img { width: 100%; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .service-grid, .card-grid-4, .feature-grid, .migration-grid, .contact-cards { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 1fr; }
  .team-card .lane + .lane { padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .12); }
  .logo-wall { --cols: 2; gap: 10px; }
  .logo-wall li { min-height: 72px; font-size: .95rem; }
  .facts { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 12px 18px; }
  .facts li { display: contents; }
  .facts strong { font-size: 1.6rem; }
  .facts span { max-width: none; margin: 0; }
  .float-card { min-width: 0; padding: 9px 12px 9px 9px; font-size: .78rem; }
  .fc-icon { width: 32px; height: 32px; border-radius: 9px; }
  .fc-bar { width: 92px; }
  .fc-edemo { left: 0; }
  .fc-template { right: 0; }
  .fc-migration { left: 2%; }
  .player-body { grid-template-columns: 1fr; min-height: 0; }
  .player-steps { display: none; }
  .doc-page { padding: 22px 20px 34px; }
  .doc-input { width: 78%; }
  .doc-badge { right: 8px; }
  .solution-list li { flex-direction: column; gap: 2px; }
  .solution-list span { text-align: left; }
  .contact-phone { padding-right: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .dialog-head, .dialog-body { padding-inline: 20px; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Druck ---------- */
@media print {
  .site-header, .hero-visual, .contact-deco, .nav-toggle { display: none !important; }
  .section-dark { background: #fff; color: #000; }
  .section-dark h2, .section-dark h3, .section-dark .section-lead { color: #000; }
  .js .reveal { opacity: 1; transform: none; }
}
