
/* ============================================================
   Leeb EDV — Relaunch-Vorschau v2
   Design: Trust & Authority (Light mode, Navy primary)
   ============================================================ */

:root {
  --navy: #0F172A;
  --navy-2: #1E293B;
  --navy-3: #334155;
  --slate: #475569;
  --slate-2: #5B6B82;
  --slate-3: #94A3B8;
  --line: #E2E8F0;
  --line-2: #CBD5E1;
  --bg: #EAEEF4;
  --bg-2: #F1F5F9;
  --fg: #020617;
  --white: #FFFFFF;
  --cta: #0369A1;
  --cta-2: #075985;
  --cta-3: #0284C7;
  --cta-soft: #E0F2FE;
  --green: #15803D;
  --green-soft: #DCFCE7;
  --amber: #B45309;
  --red: #B91C1C;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;

  --maxw: 1180px;
  --maxw-narrow: 760px;

  --shadow-1: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 1px rgba(15, 23, 42, 0.03);
  --shadow-2: 0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-3: 0 4px 16px rgba(15, 23, 42, 0.08), 0 12px 32px rgba(15, 23, 42, 0.06);

  --container-pad: clamp(20px, 5vw, 56px);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(71,85,105,0.055) 1px, transparent 1.4px);
  background-size: 22px 22px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--navy);
  text-wrap: balance;
}
p { margin: 0; }
a { color: var(--cta); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.section {
  padding-block: clamp(56px, 9vw, 112px);
}
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--alt { background: var(--white); }

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cta);
  margin-bottom: 16px;
  display: inline-block;
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  margin-bottom: 18px;
}
.section-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--slate);
  max-width: 62ch;
  line-height: 1.6;
  text-wrap: pretty;
}
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }

/* ---- Focus ---- */
:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.01em;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: var(--cta);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 1px 2px rgba(3, 105, 161, 0.3);
}
.btn--primary:hover { background: var(--cta-2); text-decoration: none; }

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-2);
}
.btn--ghost:hover { background: var(--bg-2); border-color: var(--slate-3); text-decoration: none; }

.btn--lg { padding: 14px 28px; font-size: 1.02rem; }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.24rem;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand-pin { width: 40px; height: 40px; flex-shrink: 0; }
.brand small { color: var(--slate-2); font-weight: 500; font-size: 0.68em; }
.brand-logo { height: 60px; width: auto; display: block; flex-shrink: 0; }
@media (max-width: 640px) { .brand-logo { height: 48px; } }
.footer-logo-chip { display: inline-block; background: #fff; border-radius: 12px; padding: 14px 20px; line-height: 0; box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
.footer-logo-chip img { height: 64px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--navy-3);
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms var(--ease-out);
}
.nav-links a:hover { color: var(--navy); text-decoration: none; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-2);
  background: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; color: var(--navy); }

/* ---- Hero ---- */
.hero {
  padding-top: clamp(56px, 10vw, 120px);
  padding-bottom: clamp(56px, 9vw, 104px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  font-weight: 700;
}
.hero h1 .accent { color: var(--cta); }
.hero-sub {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: var(--slate);
  line-height: 1.55;
  max-width: 48ch;
  margin-bottom: 36px;
  text-wrap: pretty;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: var(--slate-2);
  font-size: 0.9rem;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--cta); }

/* Hero visual: status panel card */
.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  padding: 28px;
  position: relative;
}
.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.hero-card-head h3 {
  font-size: 1rem;
  font-weight: 600;
}
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-soft);
  padding: 5px 10px;
  border-radius: 999px;
}
.status-dot::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.18);
}
.status-list { list-style: none; margin: 0; padding: 0; }
.status-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}
.status-list li:last-child { border-bottom: none; }
.status-list .label { color: var(--navy-3); display: flex; align-items: center; gap: 10px; }
.status-list .label svg { width: 16px; height: 16px; color: var(--slate-2); }
.status-list .val { font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; font-size: 0.86rem; }
.status-list .ok { color: var(--green); }
.status-list .watch { color: var(--amber); }
.hero-card-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--slate-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---- Trust bar / marquee ---- */
.trustbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding-block: 22px;
  overflow: hidden;
}
.trustbar-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.trustbar-label {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-2);
  white-space: nowrap;
  flex-shrink: 0;
}
.marquee {
  display: flex;
  gap: 48px;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--slate-3);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; flex-wrap: wrap; }
}

/* ---- Services grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service {
  background: var(--white);
  padding: clamp(24px, 3vw, 36px);
  transition: background-color 200ms var(--ease-out);
}
.service:hover { background: var(--bg); }
.service-icon {
  width: 40px; height: 40px;
  color: var(--cta);
  margin-bottom: 18px;
}
.service h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}
.service p {
  color: var(--slate);
  font-size: 0.93rem;
  line-height: 1.55;
}

/* ---- Managed IT ---- */
.managed {
  background: var(--navy);
  color: #CBD5E1;
}
.managed .section-title { color: var(--white); }
.managed .section-lead { color: #94A3B8; }
.managed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.managed-list { list-style: none; padding: 0; margin: 28px 0 0; }
.managed-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}
.managed-list li:last-child { border-bottom: none; }
.managed-list .ic {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: #38BDF8;
}
.managed-list .t { color: #E2E8F0; font-size: 0.97rem; line-height: 1.5; }
.managed-list .t strong { color: var(--white); font-weight: 600; }

.managed-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.managed-panel h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 6px; }
.managed-panel .sub { color: #94A3B8; font-size: 0.85rem; margin-bottom: 22px; }
.metric-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}
.metric-row:last-child { border-bottom: none; }
.metric-row .big {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.metric-row .lab { color: #94A3B8; font-size: 0.88rem; }
.managed-panel .live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4ADE80;
}
.managed-panel .live::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
}

/* ---- Why Leeb / Stats ---- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: var(--white);
  padding: clamp(24px, 3vw, 36px);
}
.stat .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  color: var(--navy);
  letter-spacing: -0.025em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}
.stat .num .unit { color: var(--cta); font-size: 0.6em; font-weight: 600; margin-left: 2px; }
.stat .lab { color: var(--slate); font-size: 0.92rem; line-height: 1.45; }

.quote {
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--cta);
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.4;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.quote cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--slate-2);
}
.quote cite strong { color: var(--navy); font-weight: 600; }

/* ---- Process ---- */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 36px);
  list-style: none;
  padding: 0; margin: 0;
  counter-reset: step;
}
.process-list li {
  position: relative;
  padding-top: 56px;
}
.process-list li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--cta);
  letter-spacing: -0.01em;
}
.process-list li::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 0;
  width: 32px; height: 2px;
  background: var(--line-2);
}
.process-list h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.process-list p {
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ---- Pricing ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}
.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.plan:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.plan--featured {
  border-color: var(--cta);
  box-shadow: var(--shadow-2);
  position: relative;
}
.plan--featured::after {
  content: "Empfohlen";
  position: absolute;
  top: -11px; left: 32px;
  background: var(--cta);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
}
.plan h3 { font-size: 1.2rem; margin-bottom: 6px; }
.plan .desc { color: var(--slate-2); font-size: 0.9rem; margin-bottom: 22px; }
.plan .price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.plan .price .per { font-size: 0.85rem; font-weight: 500; color: var(--slate-2); }
.plan .price-note { font-size: 0.82rem; color: var(--slate-2); margin-bottom: 24px; }
.plan ul {
  list-style: none;
  padding: 0; margin: 0 0 28px;
  flex: 1;
}
.plan ul li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  font-size: 0.93rem;
  color: var(--navy-3);
  border-bottom: 1px solid var(--line);
}
.plan ul li:last-child { border-bottom: none; }
.plan ul li svg { width: 18px; height: 18px; color: var(--cta); flex-shrink: 0; margin-top: 2px; }
.plan ul li.no { color: var(--slate-3); }
.plan ul li.no svg { color: var(--slate-3); }

/* ---- FAQ + Contact ---- */
.faq-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}
.faq-list { list-style: none; padding: 0; margin: 0; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  transition: color 160ms var(--ease-out);
}
.faq-q:hover { color: var(--cta); }
.faq-q .chev {
  width: 20px; height: 20px;
  color: var(--slate-2);
  flex-shrink: 0;
  transition: transform 240ms var(--ease-in-out);
}
.faq-item[data-open="true"] .chev { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms var(--ease-in-out);
}
.faq-a-inner {
  padding: 0 0 20px;
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 60ch;
}

/* Contact form */
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-1);
}
.contact-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.contact-card .sub { color: var(--slate-2); font-size: 0.9rem; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.86rem;
  color: var(--navy-3);
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--cta);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.12);
}
.field textarea { resize: vertical; min-height: 100px; }
.contact-info {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  font-size: 0.9rem;
}
.contact-info a { color: var(--navy-3); display: inline-flex; align-items: center; gap: 10px; }
.contact-info a:hover { color: var(--cta); text-decoration: none; }
.contact-info svg { width: 16px; height: 16px; color: var(--cta); }

/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  color: #94A3B8;
  padding-block: clamp(40px, 6vw, 64px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-col h2 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #94A3B8; font-size: 0.9rem; text-decoration: none; transition: color 160ms var(--ease-out); }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.82rem;
  color: #64748B;
}

/* ---- Preview badge ---- */
.preview-badge {
  position: fixed;
  bottom: 14px; left: 14px;
  z-index: 100;
  background: var(--navy);
  color: #CBD5E1;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 13px;
  border-radius: 999px;
  box-shadow: var(--shadow-2);
  border: 1px solid rgba(148, 163, 184, 0.3);
  max-width: calc(100vw - 28px);
}

/* ---- Reveal animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  will-change: transform, opacity;
}
.reveal.is-visible { opacity: 1; transform: none; }
.stagger > * { transition-delay: calc(var(--i, 0) * 60ms); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .stagger > * { transition-delay: 0ms; }
  * { animation-duration: 0.001ms !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 480px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn--ghost { display: none; }
  .managed-grid, .why-grid, .faq-contact { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero-cta .btn { width: 100%; }
  .preview-badge { font-size: 0.7rem; padding: 7px 11px; }
}

/* Mobile nav drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  padding: 16px var(--container-pad) 24px;
  z-index: 49;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
}


/* ============================================================
   Multi-Page Additions (Relaunch-Build 2026-08-22)
   ============================================================ */

/* Active nav link */
.nav-links a[aria-current="page"] { color: var(--navy); }
.nav-links a[aria-current="page"]::after {
  content:""; display:block; height:2px; margin-top:4px;
  background: var(--cta); border-radius:2px;
}

/* Page hero (inner pages) */
.page-hero {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(3,105,161,0.05), transparent 60%),
    var(--white);
}
.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.page-hero p {
  color: var(--slate);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 60ch;
  line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb { font-size: 0.85rem; color: var(--slate-2); margin-bottom: 18px; }
.breadcrumb ol { list-style:none; display:flex; flex-wrap:wrap; gap:8px; padding:0; margin:0; }
.breadcrumb li { display:inline-flex; align-items:center; gap:8px; }
.breadcrumb li:not(:last-child)::after { content:"/"; color: var(--line-2); }
.breadcrumb a { color: var(--slate-2); }
.breadcrumb a:hover { color: var(--cta); text-decoration:none; }
.breadcrumb [aria-current="page"] { color: var(--navy-3); font-weight:600; }

/* Service card as link (leistungen overview) */
a.service {
  text-decoration: none;
  display: block;
  position: relative;
}
a.service:hover { text-decoration: none; }
a.service .more {
  display:inline-flex; align-items:center; gap:6px;
  margin-top:14px; font-family:var(--font-head); font-weight:600;
  font-size:0.86rem; color:var(--cta);
}
a.service .more svg { width:15px; height:15px; transition: transform 200ms var(--ease-out); }
a.service:hover .more svg { transform: translateX(3px); }

/* Service detail layout */
.detail-grid {
  display:grid; grid-template-columns: minmax(0,1.5fr) minmax(0,0.9fr);
  gap: clamp(32px, 5vw, 64px); align-items:start;
}
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(1.3rem,2.2vw,1.7rem); margin-top: 12px; }
.prose h3 { font-size: 1.12rem; margin-top: 8px; }
.prose p { color: var(--slate); line-height:1.7; }
.prose ul { list-style:none; padding:0; margin:0; display:grid; gap:12px; }
.prose ul li { display:flex; gap:12px; color: var(--navy-3); font-size:0.97rem; line-height:1.55; }
.prose ul li svg { width:20px; height:20px; color: var(--cta); flex-shrink:0; margin-top:2px; }
.detail-icon { width:52px; height:52px; color: var(--cta); margin-bottom:20px; }

/* Aside cards (sticky contact + related) */
.aside-card {
  background: var(--white); border:1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-1);
}
.aside-card + .aside-card { margin-top: 20px; }
.aside-card h3 { font-size:1.05rem; margin-bottom: 6px; }
.aside-card .sub { color: var(--slate-2); font-size:0.88rem; margin-bottom:18px; }
.aside-card ul { list-style:none; padding:0; margin:0; }
.aside-card ul li { border-bottom:1px solid var(--line); }
.aside-card ul li:last-child { border-bottom:none; }
.aside-card ul li a { display:block; padding:11px 0; color:var(--navy-3); font-size:0.93rem; }
.aside-card ul li a:hover { color: var(--cta); text-decoration:none; }
.aside-card ul li a[aria-current="page"] { color: var(--cta); font-weight:600; }
@media (min-width: 981px){ .aside-sticky { position: sticky; top: 88px; } }

/* Legal / prose long-form */
.legal { max-width: 80ch; }
.legal h2 { font-size: clamp(1.2rem,2vw,1.5rem); margin:36px 0 12px; }
.legal h3 { font-size: 1.05rem; margin:24px 0 8px; }
.legal p, .legal li { color: var(--slate); line-height:1.7; font-size:0.95rem; }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 12px 0; padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal .contact-block { color: var(--navy-3); font-weight:500; line-height:1.8; }
.legal a { word-break: break-word; }

/* Simple CTA band */
.cta-band { background: var(--navy); color:#CBD5E1; }
.cta-band .section-title { color:#fff; }
.cta-band .section-lead { color:#94A3B8; }
.cta-band .hero-cta { margin-top: 28px; }
.cta-band .btn--ghost { color:#fff; border-color: rgba(148,163,184,0.4); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,0.06); border-color:#94A3B8; }

/* 404 */
.err-wrap { text-align:center; padding-block: clamp(64px,12vw,140px); }
.err-wrap .code { font-family:var(--font-head); font-weight:700; font-size:clamp(4rem,14vw,8rem); color:var(--cta); line-height:1; letter-spacing:-0.03em; }
.err-wrap h1 { margin:12px 0 14px; }
.err-wrap p { color:var(--slate); max-width:46ch; margin:0 auto 28px; }

@media (max-width: 980px){
  .detail-grid { grid-template-columns: 1fr; }
}


/* ===== Refinements 2026-08-22 (Peter feedback) ===== */

/* Marquee: clip to its own viewport so it never runs into the label */
.marquee-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}
.trustbar-label { z-index: 1; }

/* Epson partner badge in trust bar */
.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--cta-soft);
  color: var(--cta-2);
  border: 1px solid #BAE6FD;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  white-space: nowrap;
}
.partner-badge svg { width: 16px; height: 16px; color: var(--cta); flex-shrink: 0; }
.partner-badge strong { font-weight: 700; }

/* Epson badge in footer (visible on every page) */
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 6px 12px;
  border: 1px solid rgba(148,163,184,0.3);
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: #E2E8F0;
}
.footer-badge svg { width: 15px; height: 15px; color: #38BDF8; flex-shrink: 0; }

/* Pricing: colour-differentiate the three plans */
.plan { border-top-width: 3px; }
.plan--a { border-top-color: var(--slate-3); background: linear-gradient(180deg, rgba(100,116,139,0.10), var(--white) 160px); }
.plan--a h3 { color: var(--slate); }
.plan--featured { border-top-color: var(--cta); background: linear-gradient(180deg, rgba(3,105,161,0.12), var(--white) 190px); }
.plan--featured h3 { color: var(--cta); }
.plan--c { border-top-color: #0E7490; background: linear-gradient(180deg, rgba(14,116,144,0.10), var(--white) 160px); }
.plan--c h3 { color: #0E7490; }

/* Projekt: emphasise the "Festpreis" word */
.price--emph { text-transform: none; }


/* Brand wordmark: firm name prominent, subtitle beneath */
.brand-name { display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand-name small {
  color: var(--slate-2);
  font-weight: 500;
  font-size: 0.6em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}
@media (max-width: 420px){
  .brand-name small { display: none; }
  .brand { font-size: 1.14rem; }
  .brand-pin { width: 34px; height: 34px; }
}
