/* Mirazon v2. Statische Site, ein einziges Stylesheet.
   Look: heller Grund, Slate-Ink, gruene Pillen, weiche Gradient-Kacheln.
   Alle Schriften self-hosted, keine externen Requests. */

/* ---------- Fonts (v6: Bricolage Grotesque + Instrument Sans, self-hosted, variable) ---------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/assets/fonts/bricolage-var-latin.woff2') format('woff2');
  font-weight: 500 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('/assets/fonts/instrument-sans-var-latin.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --line: #e2e8f0;
  --line-soft: #eef2f7;

  --brand: #1d7a4f;
  --brand-dark: #173a2a;
  --brand-hover: #21603f;
  --brand-soft: #e9f5ee;
  --check: #22c55e;

  --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --display: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1200px;
  --pad: 20px;
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 24px;
  --pill: 999px;
  --sec: clamp(56px, 7vw, 104px);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 16px rgba(15, 23, 42, .05);
  --shadow: 0 2px 6px rgba(15, 23, 42, .05), 0 18px 40px rgba(15, 23, 42, .08);
  --shadow-lift: 0 4px 10px rgba(15, 23, 42, .06), 0 28px 60px rgba(15, 23, 42, .12);

  /* Gradient-Mesh-Familie: gruen, teal, lime */
  --mesh-1: radial-gradient(120% 120% at 12% 8%, #d9f7e6 0%, #b8ecd6 38%, #86dcc4 70%, #4fbfa0 100%);
  --mesh-2: radial-gradient(120% 120% at 88% 10%, #e2f8dd 0%, #c3edc0 36%, #8fdcae 72%, #46b98f 100%);
  --mesh-3: radial-gradient(120% 120% at 20% 90%, #d7f5f2 0%, #aee8e4 38%, #7ed7d6 70%, #3fb0b6 100%);
  --mesh-4: radial-gradient(120% 120% at 80% 85%, #eefadb 0%, #d5f2ae 38%, #a9e08a 72%, #63bd6d 100%);
  --mesh-5: radial-gradient(120% 120% at 50% 0%, #dff6ea 0%, #b6e9d3 40%, #7fd3bd 72%, #3ea98e 100%);
  --mesh-deep: linear-gradient(135deg, #173a2a 0%, #1d7a4f 55%, #2f9e77 100%);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(34px, 5.1vw, 58px); letter-spacing: -.032em; }
h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.028em; }
h3 { font-size: clamp(19px, 1.7vw, 22px); }
h4 { font-size: 15px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand-dark); color: #fff;
  padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0; z-index: 200;
}
.skip:focus { left: 0; }

.lead {
  font-size: clamp(16px, 1.35vw, 18.5px);
  color: var(--ink-2);
  line-height: 1.7;
}


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 15.5px;
  padding: 14px 26px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand-dark); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-hover); box-shadow: var(--shadow); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cbd5e1; background: var(--bg-soft); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: #f1f5f4; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-sm { padding: 10px 20px; font-size: 14.5px; }
.btn-block { width: 100%; }

.textlink { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.textlink:hover { color: var(--brand); }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 7px 16px 7px 12px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.badge .dot-mark {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--check); flex: none;
}

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand);
  margin: 0 0 12px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: 66px;
}
.wordmark {
  font-family: var(--display); font-weight: 600; font-size: 21px;
  letter-spacing: -.03em; color: var(--ink); text-decoration: none;
  flex: none;
}
.wordmark:hover { text-decoration: none; }
.wordmark .dot { color: var(--brand); }

.nav {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto;
}
.nav a {
  color: var(--ink-2); font-size: 15px; font-weight: 500;
  padding: 8px 12px; border-radius: var(--r-sm);
  text-decoration: none;
}
.nav a:hover { color: var(--ink); background: var(--bg-soft); text-decoration: none; }
.nav a.btn { margin-left: 8px; color: #fff; background: var(--brand-dark); }
.nav a.btn:hover { color: #fff; background: var(--brand-hover); }

.langswitch {
  display: flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  flex: none;
}
.langswitch a { color: var(--muted); text-decoration: none; }
.langswitch a:hover { color: var(--ink); }
.langswitch .is-active { color: var(--ink); }
.langswitch .sep { color: var(--line); }

.nav-toggle {
  min-width: 44px;
  min-height: 44px;
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px var(--pad) 20px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 16px; }
  .nav .btn { margin: 8px 0 0; }
  .langswitch { order: 3; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(36px, 5vw, 68px) 0 clamp(28px, 4vw, 44px);
  background:
    radial-gradient(70% 60% at 88% 4%, rgba(63,176,182,.10) 0%, rgba(255,255,255,0) 62%),
    radial-gradient(60% 60% at 4% 0%, rgba(29,122,79,.08) 0%, rgba(255,255,255,0) 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero h1 { margin: 18px 0 20px; }
.hero .lead { max-width: 34em; }
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin: 26px 0 14px;
}
.hero-note {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--muted); margin: 0;
}
.hero-note svg { width: 16px; height: 16px; color: var(--check); flex: none; }

/* Collage rechts */
.hero-visual {
  position: relative;
  min-height: 400px;
  isolation: isolate;
}
.hero-visual .mesh {
  position: absolute; inset: 8% 0 8% 4%;
  border-radius: var(--r-lg);
  background: var(--mesh-1);
  z-index: 0;
}
.shot {
  position: absolute;
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(15,23,42,.06);
  z-index: 1;
}
.shot img { display: block; width: 100%; }
.shot-a { left: 2%; top: 6%; width: 64%; transform: rotate(-3deg); }
.shot-b { right: 1%; bottom: 4%; width: 58%; transform: rotate(3deg); z-index: 2; }

.stat-card {
  position: absolute; z-index: 3;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lift);
  padding: 12px 16px;
  min-width: 150px;
}
.stat-card .n {
  display: block;
  font-family: var(--display); font-weight: 600; font-size: 24px;
  letter-spacing: -.03em; line-height: 1.1; color: var(--ink);
}
.stat-card .t { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.stat-a { left: 0; bottom: 12%; }
.stat-b { right: 4%; top: 2%; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; display: grid; gap: 14px; }
  .hero-visual .mesh { display: none; }
  .shot { position: static; width: auto; transform: none; }
  .stat-card { position: static; min-width: 0; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ---------- Ticker ---------- */
.ticker {
  border-block: 1px solid var(--line-soft);
  background: var(--bg-soft);
  padding: 14px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex; align-items: center; gap: 14px;
  width: max-content;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 8px 16px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  white-space: nowrap;
}
.ticker-item svg { width: 15px; height: 15px; color: var(--check); flex: none; }
.js .ticker-track { animation: ticker 38s linear infinite; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .js .ticker-track { animation: none; } }
@media (max-width: 700px) {
  .ticker { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ---------- Sektionen ---------- */
.sec { padding: var(--sec) 0; }
.sec-soft { background: var(--bg-soft); }
.sec-head { max-width: 720px; margin: 0 auto clamp(28px, 3.4vw, 48px); text-align: center; }
.sec-head .lead { margin-inline: auto; }
.sec-head.is-left { margin-inline: 0; text-align: left; }

/* ---------- USP-Kacheln ---------- */
.usps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.usp { min-width: 0; }
.usp-tile {
  position: relative;
  border-radius: var(--r-lg);
  padding: 20px 18px;
  min-height: 168px;
  display: flex; align-items: flex-end;
  color: var(--brand-dark);
  overflow: hidden;
}
.usp-tile h3 {
  position: relative; z-index: 1;
  margin: 0; font-size: 19px; line-height: 1.2; color: var(--brand-dark);
}
.usp:nth-child(1) .usp-tile { background: var(--mesh-1); }
.usp:nth-child(2) .usp-tile { background: var(--mesh-2); }
.usp:nth-child(3) .usp-tile { background: var(--mesh-3); }
.usp:nth-child(4) .usp-tile { background: var(--mesh-4); }
.usp:nth-child(5) .usp-tile { background: var(--mesh-5); }
.usp p { margin: 14px 2px 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }

@media (max-width: 1000px) { .usps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .usps { grid-template-columns: 1fr; } .usp-tile { min-height: 120px; } }

/* ---------- Pakete ---------- */
.packs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.pack {
  /* Subgrid koppelt de kop-rij van beide kaarten: gekleurde koppen altijd even hoog (wens Giu 31-8) */
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  min-width: 0;
}
.pack-head {
  padding: 26px 24px 24px;
  position: relative;
  color: var(--brand-dark);
}
.pack:nth-child(1) .pack-head { background: var(--mesh-2); }
.pack:nth-child(2) .pack-head { background: var(--mesh-3); }
.pack-head h3 { margin: 0; font-size: clamp(22px, 2.2vw, 27px); color: var(--brand-dark); }
.pack-head p { margin: 8px 0 0; font-size: 14.5px; color: #1f4636; max-width: 32em; }
.pack-flag {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.82);
  border-radius: var(--pill);
  padding: 6px 14px;
  font-size: 12.5px; font-weight: 600; color: var(--brand-dark);
  margin-bottom: 14px;
}
.pack-body { padding: 24px; display: flex; flex-direction: column; }
.pack-body .btn { margin-top: auto; }
.pack-price {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(28px, 3vw, 36px); letter-spacing: -.03em;
  line-height: 1.1; margin: 0;
}
.pack-price small {
  display: block; font-family: var(--sans); font-weight: 400;
  font-size: 13.5px; letter-spacing: 0; color: var(--muted); margin-top: 6px;
}
.checklist { list-style: none; margin: 20px 0 24px; padding: 0; }
.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 11px;
  font-size: 15px; color: var(--ink-2); line-height: 1.55;
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--brand-soft);
}
.checklist li::after {
  content: "";
  position: absolute; left: 5.5px; top: 8.5px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.pack-anchor {
  margin-top: 22px;
  text-align: center;
  font-size: 15px; color: var(--ink-2);
}
.pack-anchor .tag {
  display: inline-block;
  background: var(--brand-soft); color: var(--brand-dark);
  border-radius: var(--pill); padding: 4px 12px;
  font-size: 13px; font-weight: 600; margin-right: 8px;
}
@media (max-width: 800px) { .packs { grid-template-columns: 1fr; } }

/* ---------- Cases ---------- */
.cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.case {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  transition: box-shadow .2s ease, transform .2s ease;
}
.case:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.case-shot { background: var(--mesh-1); padding: 22px 22px 0; }
.case-shot img { border-radius: var(--r-sm) var(--r-sm) 0 0; box-shadow: var(--shadow); }
.case-body { padding: 22px 24px 26px; }
.case-body h3 { margin: 0 0 4px; }
.case-meta {
  display: inline-block;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--pill); padding: 3px 12px;
  font-size: 12.5px; color: var(--muted); margin: 0 0 12px;
}
.case-body p { font-size: 15px; color: var(--ink-2); }
.case-link { margin-top: 14px; }
@media (max-width: 800px) { .cases { grid-template-columns: 1fr; } }

/* ---------- Beweis-Karten ---------- */
.proofs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.proof {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  min-width: 0;
  box-shadow: var(--shadow-sm);
}
.proof .n {
  font-family: var(--display); font-weight: 600;
  font-size: 32px; letter-spacing: -.03em; line-height: 1.05;
  display: block; margin-bottom: 10px;
}
.proof h3 { font-size: 17px; margin: 0 0 8px; }
.proof p { font-size: 14.5px; color: var(--ink-2); margin: 0; }
@media (max-width: 1000px) { .proofs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .proofs { grid-template-columns: 1fr; } }

/* ---------- Ablauf ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.step { min-width: 0; }
.step-circle {
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 20px;
  color: var(--brand-dark);
  margin-bottom: 16px;
}
.step:nth-child(1) .step-circle { background: var(--mesh-1); }
.step:nth-child(2) .step-circle { background: var(--mesh-2); }
.step:nth-child(3) .step-circle { background: var(--mesh-3); }
.step:nth-child(4) .step-circle { background: var(--mesh-4); }
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { font-size: 14.5px; color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 22px;
  position: relative;
  font-family: var(--display); font-weight: 600; font-size: 17px;
  letter-spacing: -.015em; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 22px; top: 24px;
  width: 10px; height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq .answer { padding: 0 22px 20px; }
.faq .answer p { font-size: 15px; color: var(--ink-2); }

/* ---------- CTA-Band ---------- */
.cta-band {
  background: var(--mesh-deep);
  color: #fff;
  border-radius: 0;
}
.cta-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 26px;
}
.cta-band h2 { color: #fff; margin: 0 0 10px; max-width: 16em; }
.cta-band p { color: #fff; margin: 0; max-width: 34em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head {
  padding: clamp(40px, 5vw, 68px) 0 clamp(20px, 2.5vw, 30px);
  background:
    radial-gradient(60% 70% at 90% 0%, rgba(63,176,182,.10) 0%, rgba(255,255,255,0) 62%);
}
.page-head h1 { max-width: 18em; }
.page-head .lead { max-width: 40em; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
.contact-card .label {
  display: inline-block;
  background: var(--brand-soft); color: var(--brand-dark);
  border-radius: var(--pill); padding: 4px 12px;
  font-size: 12.5px; font-weight: 600; margin-bottom: 14px;
}
.contact-card .value {
  display: block;
  font-family: var(--display); font-weight: 600; font-size: 18px;
  letter-spacing: -.02em; color: var(--ink);
  overflow-wrap: anywhere;
}
.contact-card .value:hover { color: var(--brand); }
.contact-card p { font-size: 14.5px; color: var(--ink-2); margin: 10px 0 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.note-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  font-size: 15px; color: var(--ink-2);
}

/* ---------- Prosa (Impressum, Datenschutz) ---------- */
.legal-body { padding-block: 8px clamp(48px, 6vw, 84px); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(21px, 2.2vw, 26px); margin-top: 40px; }
.prose h3 { font-size: 18px; margin-top: 26px; }
.prose p, .prose li { font-size: 15.5px; color: var(--ink-2); line-height: 1.72; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: clamp(44px, 5vw, 68px) 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
}
.site-footer .wordmark { font-size: 20px; }
.site-footer p { font-size: 14.5px; color: var(--ink-2); margin: 12px 0 0; max-width: 34em; }
.footer-col h3.footer-kop { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { font-size: 14.5px; color: var(--ink-2); margin-bottom: 7px; }
.footer-col a { color: var(--ink-2); }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  justify-content: space-between;
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); }
.js [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity .5s ease, transform .5s ease;
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* a11y: tap-vlakken >=44px (audit 31-8) */
.footer-col li { margin-bottom: 0; }
.footer-col a { display: inline-block; padding: 12px 0; }
.langswitch a { display: inline-block; padding: 12px 8px; }
.textlink { display: inline-block; padding: 12px 0; }

/* ============================================================
   v3-Bloecke. Struktur an einer Referenz-Site gemessen am 1-9-2026.
   Gemessene Werte: Wall-Maske linear-gradient(#0000,#000 15% 85%,#0000),
   Spaltenlauf translateY(-50%), Pillen-Radius 16px, Pillen-Marquee translateX(-50%).
   Farben, Schrift und Marke bleiben Mirazon.
   ============================================================ */

/* ---------- Hero: Anfragen-Panel statt Geraetecollage ---------- */
.hero-panels {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  padding: 6px 0 0;
}
.glass {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  border: 1px solid rgba(226,232,240,.9);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
}
.panel { padding: 18px 20px; }
.panel-kop {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.panel-kop h3 {
  margin: 0; font-size: 15.5px; letter-spacing: -.015em;
}
.panel-kop .sub { font-size: 12.5px; color: var(--muted); }

.msg-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
}
.msg-row:first-of-type { border-top: 0; }
.msg-ico {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; flex: none;
  color: var(--brand-dark);
}
.msg-row:nth-of-type(1) .msg-ico { background: var(--mesh-1); }
.msg-row:nth-of-type(2) .msg-ico { background: var(--mesh-2); }
.msg-row:nth-of-type(3) .msg-ico { background: var(--mesh-3); }
.msg-ico svg { width: 18px; height: 18px; }
.msg-txt { min-width: 0; }
.msg-txt .t {
  display: block; font-weight: 600; font-size: 14px;
  color: var(--ink); line-height: 1.3;
}
.msg-txt .s { display: block; font-size: 12.5px; color: var(--muted); }
.msg-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--check); flex: none; margin-left: auto;
}

.graph { display: flex; align-items: flex-end; gap: 16px; }
.graph-svg { width: 100%; height: 62px; overflow: visible; }
.graph-num {
  font-family: var(--display); font-weight: 600;
  font-size: 26px; letter-spacing: -.03em; line-height: 1.1;
  color: var(--ink); white-space: nowrap;
}
.graph-num small {
  display: block; font-family: var(--sans); font-weight: 400;
  font-size: 12px; color: var(--muted); letter-spacing: 0;
}
.panel-note {
  margin: 12px 0 0; font-size: 11.5px; color: var(--muted);
}

.notif {
  position: absolute; z-index: 4; top: -14px; right: 6px;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--brand-dark); color: #fff;
  border-radius: var(--pill);
  padding: 9px 16px;
  font-size: 12.5px; font-weight: 500;
  box-shadow: var(--shadow-lift);
  max-width: calc(100% - 12px);
}
.notif svg { width: 14px; height: 14px; flex: none; }

@media (max-width: 900px) {
  .notif { position: static; margin-bottom: 12px; }
}

/* ---------- Cases-Wall: vertikal laufende Spalten ---------- */
.wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-height: 620px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#0000, #000 15% 85%, #0000);
  mask-image: linear-gradient(#0000, #000 15% 85%, #0000);
}
.wall-col { display: grid; gap: 18px; align-content: start; }
.js .wall-col { animation: wall-up 46s linear infinite; will-change: transform; }
.js .wall-col.rev { animation-name: wall-down; animation-duration: 54s; }
.js .wall-col.slow { animation-duration: 62s; }
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }

.wall-shot {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15,23,42,.07);
  box-shadow: var(--shadow);
}
.wall-shot img { width: 100%; display: block; }

.wall-wrap { position: relative; }
.wall-foot {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 10px 22px;
  margin-top: 26px;
}

@media (prefers-reduced-motion: reduce) {
  .js .wall-col { animation: none; }
  .wall { max-height: none; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 860px) {
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 520px; }
  .wall-col:nth-child(3) { display: none; }
}
@media (max-width: 520px) {
  .wall { gap: 12px; }
  .wall-col { gap: 12px; }
}

/* ---------- Pillen-Marquee (Projekt-Fakten) ---------- */
.pill-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #0000, #000 9%, #000 91%, #0000);
  mask-image: linear-gradient(90deg, #0000, #000 9%, #000 91%, #0000);
  margin-bottom: 30px;
}
.pill-row { padding-block: 7px; overflow: hidden; }
.pill-track {
  display: flex; align-items: center; gap: 14px;
  width: max-content;
}
.js .pill-track { animation: pill-run 42s linear infinite; will-change: transform; }
.js .pill-row.rev .pill-track { animation-name: pill-run-rev; animation-duration: 50s; }
@keyframes pill-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pill-run-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .js .pill-track { animation: none; }
  .pill-marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
}

.fact-pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 11px 18px 11px 12px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.fact-ico {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; flex: none;
  background: var(--brand-soft); color: var(--brand-dark);
}
.fact-ico svg { width: 17px; height: 17px; }
.fact-pill .t {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--ink); line-height: 1.25;
}
.fact-pill .s { display: block; font-size: 12.5px; color: var(--muted); }

/* ---------- Warum: drei Glaskarten ---------- */
.why-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.why-card {
  padding: 26px 24px;
  min-width: 0;
}
.why-ico {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  color: var(--brand-dark);
  margin-bottom: 16px;
}
.why-card:nth-child(1) .why-ico { background: var(--mesh-1); }
.why-card:nth-child(2) .why-ico { background: var(--mesh-3); }
.why-card:nth-child(3) .why-ico { background: var(--mesh-4); }
.why-ico svg { width: 22px; height: 22px; }
.why-card h3 { margin: 0 0 8px; font-size: 18px; }
.why-card p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 860px) { .why-cards { grid-template-columns: 1fr; } }

/* ---------- Ablauf: Orb mit Nummer plus Verbindungslinie ---------- */
.step { position: relative; }
/* Linie laeuft von der Kreismitte zum naechsten Schritt, nie ueber den letzten hinaus. */
.step:not(:last-child)::after {
  content: "";
  position: absolute; left: 74px; right: -22px; top: 34px;
  height: 2px; background: var(--line);
  z-index: 0;
}
.step-circle {
  position: relative; z-index: 1;
  border: 4px solid var(--bg-soft); box-sizing: content-box;
  color: var(--brand-dark);
}
.sec:not(.sec-soft) .step-circle { border-color: var(--bg); }
.step-circle svg { width: 26px; height: 26px; }
.step-num {
  position: absolute; top: -6px; right: -6px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand-dark); color: #fff;
  display: grid; place-items: center;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  border: 2px solid #fff;
}
@media (max-width: 900px) { .step:not(:last-child)::after { display: none; } }

/* ---------- Lead-Formular ---------- */
.lead-card {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.lead-side {
  padding: clamp(26px, 3vw, 40px);
  background: var(--mesh-5);
  color: var(--brand-dark);
  display: flex; flex-direction: column; gap: 18px;
}
.lead-side h2 { margin: 0; color: var(--brand-dark); font-size: clamp(24px, 2.6vw, 32px); }
.lead-side > p { margin: 0; font-size: 15px; color: #1f4636; }
.lead-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.lead-checks li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; color: #1f4636; font-weight: 500;
}
.lead-checks svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--brand-dark); }
.lead-note {
  margin-top: auto;
  background: rgba(255,255,255,.72);
  border-radius: var(--r);
  padding: 14px 16px;
  font-size: 13.5px; color: #1f4636;
}

.lead-form { padding: clamp(26px, 3vw, 40px); }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--ink); margin-bottom: 6px;
}
.field .hint { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.field input, .field textarea {
  width: 100%;
  font-family: var(--sans); font-size: 15.5px; color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  min-height: 44px;
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: 3px solid var(--brand); outline-offset: 1px;
  background: #fff;
}
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

fieldset.picks { border: 0; margin: 0 0 18px; padding: 0; }
fieldset.picks legend {
  padding: 0; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px;
}
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  cursor: pointer;
  background: #fff;
  display: block;
  transition: border-color .16s ease, background-color .16s ease;
}
.pick input {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.pick .p-t { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.pick .p-p { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.pick:hover { border-color: #cbd5e1; background: var(--bg-soft); }
.pick:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px var(--brand);
}
.pick:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }

.btn-grad {
  background: var(--mesh-deep);
  color: #fff;
  border: 0;
  font-family: var(--sans);
}
.btn-grad:hover { filter: brightness(1.06); color: #fff; }
.form-foot { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.form-status {
  margin: 14px 0 0; font-size: 14px; color: var(--brand-dark);
  background: var(--brand-soft); border-radius: var(--r-sm);
  padding: 12px 14px;
}
.form-status:empty { display: none; }

@media (max-width: 880px) {
  .lead-card { grid-template-columns: 1fr; }
  .pick-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ zweispaltig ---------- */
.faq.faq-2 {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  align-items: start;
}
.faq.faq-2 > details { min-width: 0; align-self: start; }
@media (max-width: 800px) { .faq.faq-2 { grid-template-columns: 1fr; } }

/* ---------- SEO-Textsektion ---------- */
.seo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .78fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.seo-grid h3 { margin-top: 30px; font-size: 19px; }
.seo-grid p, .seo-grid li { font-size: 15.5px; color: var(--ink-2); line-height: 1.72; }
.seo-aside {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
}
.seo-aside h3 { margin-top: 0; }
@media (max-width: 880px) { .seo-grid { grid-template-columns: 1fr; } }

/* ---------- Branchen-Raster ---------- */
.branchen {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.branche {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  min-height: 44px;
  transition: border-color .16s ease, background-color .16s ease, transform .16s ease;
}
.branche:hover {
  text-decoration: none; color: var(--ink);
  border-color: var(--brand); background: var(--brand-soft);
  transform: translateY(-1px);
}
.branche svg { width: 15px; height: 15px; color: var(--brand); flex: none; }
@media (max-width: 1000px) { .branchen { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .branchen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .branchen { grid-template-columns: 1fr; } }

/* ---------- Footer vierspaltig ---------- */
.footer-grid.footer-4 { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .footer-grid.footer-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid.footer-4 { grid-template-columns: 1fr; } }

/* ---------- Paket-Badges nebeneinander ---------- */
.pack-flags {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px; margin-bottom: 14px;
}
.pack-flags .pack-flag { margin-bottom: 0; }
.pack-badge {
  display: inline-flex; align-items: center;
  background: var(--brand-dark); color: #fff;
  border-radius: var(--pill);
  padding: 6px 14px;
  font-size: 12px; font-weight: 600;
  letter-spacing: .01em;
}

/* ============================================================
   v4: Anker-Momente. Giu 3-9-2026: "zu viel Weiss, zu Standard".
   Drei dunkle Bloecke (Kopf+Hero, Warum, Footer) geben der Seite Rhythmus.
   Gruen bleibt die Marke, auf dunklem Grund als Mint.
   ============================================================ */
:root {
  --ink-deep: #0a1020;
  --on-dark: #e6edf5;
  --on-dark-2: #aab8ca;
  --on-dark-muted: #7f8ea3;
  --mint: #3ddc97;
  --mint-2: #7ff0c0;
  --mint-ink: #062b1c;
  --dark-line: rgba(255,255,255,.10);
  --dark-glass: rgba(255,255,255,.055);
}

/* Gitter-Muster fuer dunkle Flaechen, weich ausmaskiert */
.grid-bg { position: relative; isolation: isolate; overflow: hidden; }

.is-dark { background: var(--ink-deep); color: var(--on-dark); }
.is-dark h1, .is-dark h2, .is-dark h3, .is-dark h4 { color: #fff; }
.is-dark p, .is-dark .lead { color: var(--on-dark-2); }
.is-dark .eyebrow { color: var(--mint); }
.is-dark .btn-primary { background: var(--mint); color: var(--mint-ink); box-shadow: 0 10px 30px rgba(61,220,151,.22); }
.is-dark .btn-primary:hover { background: var(--mint-2); color: var(--mint-ink); }
.is-dark .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.is-dark .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.is-dark .badge { background: rgba(255,255,255,.06); border-color: var(--dark-line); color: var(--on-dark); box-shadow: none; }
.is-dark .badge .dot-mark { background: var(--mint); box-shadow: 0 0 0 4px rgba(61,220,151,.18); }
.is-dark a:not(.btn) { color: var(--mint); }

/* ---------- Kopfzeile dunkel ---------- */
.site-header {
  background: rgba(10,16,32,.86);
  border-bottom-color: rgba(255,255,255,.07);
}
.wordmark { color: #fff; }
.wordmark .dot { color: var(--mint); }
.nav a { color: var(--on-dark-2); }
.nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav a.btn { background: var(--mint); color: var(--mint-ink); }
.nav a.btn:hover { background: var(--mint-2); color: var(--mint-ink); }
.nav a[aria-current="page"] { color: #fff; }
.langswitch, .langswitch a { color: var(--on-dark-muted); }
.langswitch a:hover { color: #fff; }
.langswitch .is-active { color: #fff; }
.langswitch .sep { color: rgba(255,255,255,.18); }
.nav-toggle { background: transparent; border-color: var(--dark-line); color: #fff; }
@media (max-width: 900px) {
  .nav { background: var(--ink-deep); border-bottom-color: var(--dark-line); box-shadow: 0 24px 40px rgba(0,0,0,.4); }
}

/* ---------- Hero dunkel ---------- */
.hero {
  background:
    radial-gradient(48% 60% at 82% 18%, rgba(61,220,151,.16) 0%, rgba(10,16,32,0) 62%),
    radial-gradient(40% 50% at 6% 96%, rgba(63,176,182,.14) 0%, rgba(10,16,32,0) 60%),
    var(--ink-deep);
  color: var(--on-dark);
  padding: clamp(44px, 6vw, 88px) 0 clamp(44px, 6vw, 80px);
}
.hero h1 { color: #fff; }
.hero .lead { color: var(--on-dark-2); }
.hero-note { color: var(--on-dark-muted); }
.hero-note svg { color: var(--mint); }
.hero-visual .mesh {
  inset: -6% -4%;
  border-radius: 50%;
  background: radial-gradient(55% 55% at 55% 45%, rgba(61,220,151,.26) 0%, rgba(61,220,151,0) 70%);
  filter: blur(28px);
}
.hero .glass {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
}
.hero .panel-kop h3 { color: #fff; }
.hero .panel-kop .sub { color: var(--on-dark-muted); }
.hero .msg-row { border-top-color: rgba(255,255,255,.08); }
.hero .msg-txt .t { color: #fff; }
.hero .msg-txt .s { color: var(--on-dark-2); }
.hero .msg-dot { background: var(--mint); }
.hero .graph-num { color: #fff; }
.hero .graph-num small { color: var(--on-dark-muted); }
.hero .panel-note { color: var(--on-dark-muted); }
.hero .notif { background: var(--mint); color: var(--mint-ink); box-shadow: 0 14px 34px rgba(61,220,151,.3); }

/* Live-Anfragen: neue Zeile oben rein, alte unten raus */
.msg-list { position: relative; }
.msg-row.is-new { animation: msg-in .55s cubic-bezier(.2,.7,.2,1); }
.msg-row.is-new .msg-dot { animation: dot-ping 1.6s ease-out 2; }
.msg-row.is-out { animation: msg-out .38s ease forwards; overflow: hidden; }
@keyframes msg-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes msg-out { to { opacity: 0; transform: translateY(8px); max-height: 0; padding-block: 0; border-top-width: 0; } }
@keyframes dot-ping { 0% { box-shadow: 0 0 0 0 rgba(61,220,151,.55); } 100% { box-shadow: 0 0 0 12px rgba(61,220,151,0); } }
.msg-row { max-height: 80px; }

/* Kurve zeichnet sich beim Laden */
.js .graph-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-line 1.7s cubic-bezier(.4,0,.2,1) .35s forwards; }
.js .graph-fill { opacity: 0; animation: fade-in .8s ease 1.4s forwards; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .js .graph-line { stroke-dashoffset: 0; animation: none; }
  .js .graph-fill { opacity: 1; animation: none; }
  .msg-row.is-new, .msg-row.is-out, .msg-row.is-new .msg-dot { animation: none; }
}

/* ---------- Leistungen: drei Wege ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.service {
  position: relative;
  display: flex; flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px 28px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.service::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 5px;
}
.service:nth-child(1)::before { background: linear-gradient(90deg, #1d7a4f, #4fbfa0); }
.service:nth-child(2)::before { background: linear-gradient(90deg, #2f9e77, #3fb0b6); }
.service:nth-child(3)::before { background: linear-gradient(90deg, #3ddc97, #7ff0c0); }
.service-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.service-ico {
  width: 50px; height: 50px; border-radius: 15px;
  display: grid; place-items: center;
  color: var(--brand-dark);
}
.service:nth-child(1) .service-ico { background: var(--mesh-1); }
.service:nth-child(2) .service-ico { background: var(--mesh-3); }
.service:nth-child(3) .service-ico { background: var(--mesh-4); }
.service-ico svg { width: 24px; height: 24px; }
.service .num {
  font-family: var(--display); font-weight: 600; font-size: 13px;
  letter-spacing: .14em; color: var(--muted);
}
.service h3 { font-size: clamp(21px, 2vw, 24px); margin: 0 0 8px; }
.service > p { font-size: 15px; color: var(--ink-2); margin: 0 0 16px; }
.service .checklist { margin: 0 0 22px; }
.service .checklist li { font-size: 14.5px; margin-bottom: 9px; }
.service-price {
  font-size: 14px; color: var(--muted); margin: 0 0 16px;
}
.service-price b { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink); letter-spacing: -.02em; }
.service-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--brand-dark);
  padding: 10px 0 0;
}
.service-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.service-link:hover { text-decoration: none; color: var(--brand); }
.service-link:hover svg { transform: translateX(4px); }

/* Dritte Karte: KI-Automation als Blickfang, dunkel mit Mint-Glow */
.service.is-featured {
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(61,220,151,.22) 0%, rgba(10,16,32,0) 60%),
    var(--ink-deep);
  border-color: rgba(61,220,151,.25);
  color: var(--on-dark);
}
.service.is-featured h3 { color: #fff; }
.service.is-featured > p { color: var(--on-dark-2); }
.service.is-featured .num { color: var(--mint); }
.service.is-featured .service-ico { background: rgba(61,220,151,.16); color: var(--mint); }
.service.is-featured .checklist li { color: var(--on-dark); }
.service.is-featured .checklist li::before { background: rgba(61,220,151,.16); }
.service.is-featured .checklist li::after { border-color: var(--mint); }
.service.is-featured .service-price { color: var(--on-dark-muted); }
.service.is-featured .service-price b { color: #fff; }
.service.is-featured .service-link { color: var(--mint); }
.service.is-featured .service-link:hover { color: var(--mint-2); }
.service-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(61,220,151,.14); color: var(--mint);
  border-radius: var(--pill); padding: 4px 11px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
}
@media (max-width: 960px) { .services { grid-template-columns: 1fr; } }

/* ---------- Warum: dunkel, mit Zahlen ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 0 0 clamp(30px, 4vw, 48px);
}
.stat { min-width: 0; border-left: 1px solid var(--dark-line); padding-left: 20px; }
.stat .n {
  display: block;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(36px, 4.2vw, 54px); letter-spacing: -.04em; line-height: 1;
  color: #fff; font-variant-numeric: tabular-nums;
}
.stat .n em { font-style: normal; color: var(--mint); }
.stat .t { display: block; font-size: 14.5px; color: var(--on-dark-2); margin-top: 10px; }
.stat .t small { display: block; color: var(--on-dark-muted); font-size: 12.5px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.is-dark .fact-pill { background: var(--dark-glass); border-color: var(--dark-line); box-shadow: none; }
.is-dark .fact-pill .t { color: #fff; }
.is-dark .fact-pill .s { color: var(--on-dark-muted); }
.is-dark .fact-ico { background: rgba(61,220,151,.14); color: var(--mint); }
.is-dark .why-card.glass {
  background: var(--dark-glass);
  border-color: var(--dark-line);
  box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.is-dark .why-card h3 { color: #fff; }
.is-dark .why-card p { color: var(--on-dark-2); }
.is-dark .why-ico { color: var(--brand-dark); }

/* ---------- Referenzen: leichte 3D-Neigung ---------- */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .cases { perspective: 1100px; }
  .case.tilt { transition: transform .12s ease-out, box-shadow .2s ease; transform-style: preserve-3d; will-change: transform; }
  .case.tilt:hover { transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(-3px); box-shadow: var(--shadow-lift); }
}

/* ---------- Footer dunkel ---------- */
.site-footer { background: var(--ink-deep); border-top-color: var(--dark-line); color: var(--on-dark-2); }
.site-footer .wordmark { color: #fff; }
.site-footer p { color: var(--on-dark-2); }
.footer-col h3.footer-kop { color: var(--on-dark-muted); }
.footer-col li { color: var(--on-dark-2); }
.footer-col a { color: var(--on-dark-2); }
.footer-col a:hover { color: var(--mint); }
.footer-bottom { border-top-color: var(--dark-line); color: var(--on-dark-muted); }

/* ---------- Angebotsseite ---------- */
.page-head.is-dark {
  background:
    radial-gradient(48% 70% at 85% 10%, rgba(61,220,151,.16) 0%, rgba(10,16,32,0) 62%),
    var(--ink-deep);
  padding-bottom: clamp(32px, 4vw, 52px);
}
.page-head.is-dark h1 { color: #fff; }
.page-head.is-dark .lead { color: var(--on-dark-2); }
.jump {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 26px;
}
.jump a {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06); border: 1px solid var(--dark-line);
  color: #fff; border-radius: var(--pill);
  padding: 10px 16px; font-size: 14px; font-weight: 500;
  min-height: 44px;
}
.jump a:hover { text-decoration: none; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
.jump a .k {
  font-family: var(--display); font-size: 12px; color: var(--mint); letter-spacing: .1em;
}

.offer-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(30px, 4vw, 48px);
}
.offer-intro h2 { margin-bottom: 12px; }
.offer-intro .lead { margin: 0; }
.offer-aside {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 24px 20px;
}
.offer-aside h3 { font-size: 16px; margin: 0 0 12px; }
.offer-aside .checklist { margin: 0; }
.offer-aside .checklist li { margin-bottom: 8px; font-size: 14.5px; }
.is-dark .offer-aside { background: var(--dark-glass); border-color: var(--dark-line); }
.is-dark .offer-aside h3 { color: #fff; }
.is-dark .checklist li { color: var(--on-dark); }
.is-dark .checklist li::before { background: rgba(61,220,151,.16); }
.is-dark .checklist li::after { border-color: var(--mint); }
@media (max-width: 880px) { .offer-intro { grid-template-columns: 1fr; } }

.packs.packs-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pack:nth-child(3) .pack-head { background: var(--mesh-4); }
@media (max-width: 960px) { .packs.packs-3 { grid-template-columns: 1fr; } }

.autos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.auto {
  background: var(--dark-glass);
  border: 1px solid var(--dark-line);
  border-radius: var(--r);
  padding: 22px 20px;
  min-width: 0;
  transition: border-color .2s ease, background-color .2s ease;
}
.auto:hover { border-color: rgba(61,220,151,.35); background: rgba(61,220,151,.06); }
.auto-ico {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(61,220,151,.14); color: var(--mint);
  margin-bottom: 14px;
}
.auto-ico svg { width: 20px; height: 20px; }
.auto h3 { font-size: 16.5px; margin: 0 0 6px; color: #fff; }
.auto p { font-size: 14px; color: var(--on-dark-2); margin: 0; }
.auto .state {
  display: inline-block; margin-top: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  color: var(--mint);
}
@media (max-width: 960px) { .autos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .autos { grid-template-columns: 1fr; } }

.price-line {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  margin-top: clamp(26px, 3vw, 40px);
  padding: 22px 26px;
  border: 1px solid var(--dark-line);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.04);
}
.price-line .p {
  font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -.03em; color: #fff; margin: 0; line-height: 1.15;
}
.price-line .p small { display: block; font-family: var(--sans); font-weight: 400; font-size: 14px; color: var(--on-dark-muted); letter-spacing: 0; margin-top: 4px; }

.guarantee {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 26px;
  background: var(--brand-soft);
  border: 1px solid #cfe9db;
  border-radius: var(--r-lg);
  padding: 20px 22px;
}
.guarantee svg { width: 26px; height: 26px; color: var(--brand); flex: none; margin-top: 2px; }
.guarantee p { margin: 0; font-size: 15px; color: #1f4636; }
.guarantee b { color: var(--brand-dark); }

/* Hero-Buttons auf dunklem Grund */
.hero .btn-primary { background: var(--mint); color: var(--mint-ink); box-shadow: 0 10px 30px rgba(61,220,151,.22); }
.hero .btn-primary:hover { background: var(--mint-2); color: var(--mint-ink); }
.hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ============================================================
   v5: Copy-Runde 3-9-2026 (Muster aus der Wettbewerbsanalyse, eigene Fakten).
   Neue Bloecke: Hero-Punkte, Probleme, Vergleich, Warum das Konzept, Ueber.
   ============================================================ */
.hero-points {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px;
  max-width: 40em;
}
.hero-points li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 15px; color: var(--on-dark-2); line-height: 1.5;
}
.hero-points svg { width: 18px; height: 18px; flex: none; color: var(--mint); margin-top: 2px; }
@media (max-width: 640px) { .hero-points { grid-template-columns: 1fr; } }

.pains {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.pain {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; min-width: 0; box-shadow: var(--shadow-sm);
}
.pain .k {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: #fde8e8; color: #b42318; font-weight: 600; font-size: 14px;
  margin-bottom: 14px; font-family: var(--display);
}
.pain h3 { font-size: 18px; margin: 0 0 8px; }
.pain p { margin: 0; font-size: 15px; color: var(--ink-2); }
.pain-bridge {
  margin: 26px auto 0; max-width: 640px; text-align: center;
  font-size: 16px; color: var(--ink);
  background: var(--brand-soft); border-radius: var(--r);
  padding: 16px 20px;
}
@media (max-width: 900px) { .pains { grid-template-columns: 1fr; } }

.compare {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
  align-items: stretch;
}
.compare-col {
  border-radius: var(--r-lg); padding: 26px 26px 22px; min-width: 0;
}
.compare-col h3 { margin: 0 0 16px; font-size: 17px; }
.compare-col ul { list-style: none; margin: 0; padding: 0; }
.compare-col li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; font-size: 15px; line-height: 1.55;
  border-top: 1px solid var(--line);
}
.compare-col li:first-child { border-top: 0; }
.compare-col li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.compare-them { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.compare-them h3 { color: var(--muted); }
.compare-them li svg { color: #b42318; }
.compare-us {
  background: radial-gradient(60% 50% at 100% 0%, rgba(61,220,151,.2) 0%, rgba(10,16,32,0) 60%), var(--ink-deep);
  color: var(--on-dark); border: 1px solid rgba(61,220,151,.25);
}
.compare-us h3 { color: #fff; }
.compare-us li { border-top-color: var(--dark-line); color: var(--on-dark); }
.compare-us li svg { color: var(--mint); }
@media (max-width: 820px) { .compare { grid-template-columns: 1fr; } }

.gains {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
}
.gain {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px 22px; min-width: 0; box-shadow: var(--shadow-sm);
}
.gain-ico {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  display: grid; place-items: center; color: var(--brand-dark);
}
.gain:nth-child(1) .gain-ico { background: var(--mesh-1); }
.gain:nth-child(2) .gain-ico { background: var(--mesh-3); }
.gain:nth-child(3) .gain-ico { background: var(--mesh-4); }
.gain:nth-child(4) .gain-ico { background: var(--mesh-2); }
.gain-ico svg { width: 21px; height: 21px; }
.gain h3 { font-size: 17px; margin: 0 0 6px; }
.gain p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 720px) { .gains { grid-template-columns: 1fr; } }

.about {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 4vw, 56px); align-items: start;
}
.about p { font-size: 16px; color: var(--ink-2); line-height: 1.7; }
.about-card {
  background: var(--ink-deep); color: var(--on-dark);
  border-radius: var(--r-lg); padding: 26px 26px 22px;
  border: 1px solid rgba(61,220,151,.2);
}
.about-card .name { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -.02em; color: #fff; margin: 0 0 2px; }
.about-card .role { font-size: 14px; color: var(--on-dark-muted); margin: 0 0 18px; }
.about-card ul { list-style: none; margin: 0; padding: 0; }
.about-card li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 0; border-top: 1px solid var(--dark-line);
  font-size: 14.5px; color: var(--on-dark-2);
}
.about-card li svg { width: 17px; height: 17px; flex: none; color: var(--mint); margin-top: 2px; }
.about-card .btn { margin-top: 18px; width: 100%; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

.case-steps { list-style: none; margin: 14px 0 0; padding: 0; counter-reset: cs; }
.case-steps li {
  counter-increment: cs;
  position: relative; padding: 10px 0 10px 44px;
  font-size: 14.5px; color: var(--ink-2); line-height: 1.55;
  border-top: 1px solid var(--line-soft);
}
.case-steps li:first-child { border-top: 0; }
.case-steps li::before {
  content: "0" counter(cs);
  position: absolute; left: 0; top: 11px;
  font-family: var(--display); font-weight: 600; font-size: 13px;
  letter-spacing: .08em; color: var(--brand);
}
.case-steps b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); }
.hero-note { align-items: flex-start; }
.hero-note svg { margin-top: 3px; }

/* ============================================================
   v6: Impeccable-Pass 3-9-2026. Weg mit Kategorie-Defaults:
   Gradient-Text, Eyebrows, Sektionsnummern, Mesh-Kacheln, Marquee-Ticker,
   Reveal-auf-allem, Glas-Dekor. Ein Iconsystem, flache Flaechen, eine Bewegung.
   ============================================================ */
::selection { background: var(--mint); color: var(--mint-ink); }
.is-dark ::selection, .hero ::selection, .site-header ::selection, .site-footer ::selection { background: var(--mint); color: var(--mint-ink); }
:focus-visible { outline-color: var(--mint); }
.hero .hl { font-style: normal; color: var(--mint); }

/* Reveal aus: Inhalt steht, die eine Bewegung ist der Anfragen-Feed plus die Zaehler */
.js [data-reveal] { opacity: 1; transform: none; transition: none; }

/* Icon-Flaechen: eine Farbe, ein Strich */
.service-ico, .why-ico, .gain-ico, .msg-ico, .step-circle, .fact-ico, .auto-ico,
.service:nth-child(1) .service-ico, .service:nth-child(2) .service-ico, .service:nth-child(3) .service-ico,
.why-card:nth-child(1) .why-ico, .why-card:nth-child(2) .why-ico, .why-card:nth-child(3) .why-ico,
.gain:nth-child(1) .gain-ico, .gain:nth-child(2) .gain-ico, .gain:nth-child(3) .gain-ico, .gain:nth-child(4) .gain-ico,
.msg-row:nth-of-type(1) .msg-ico, .msg-row:nth-of-type(2) .msg-ico, .msg-row:nth-of-type(3) .msg-ico,
.step:nth-child(1) .step-circle, .step:nth-child(2) .step-circle, .step:nth-child(3) .step-circle, .step:nth-child(4) .step-circle {
  background: var(--brand-soft); color: var(--brand-dark);
}
.hero .msg-ico, .is-dark .why-ico, .is-dark .fact-ico, .auto-ico, .service.is-featured .service-ico {
  background: rgba(61,220,151,.14); color: var(--mint);
}
.service::before { display: none; }
.service { padding-top: 26px; }
.hero .glass { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.05); }
.hero-visual .mesh { display: none; }

/* Probleme: drei Textspalten mit einer Linie, keine Kaerten */
.pain { background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 18px 0 0; box-shadow: none; }
.pain h3 { font-size: 19px; }
.pain-bridge { background: transparent; padding: 0; margin-top: 34px; font-size: 17px; color: var(--ink); }

/* Warum das Konzept: Liste statt Kaerten */
.gain { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 20px 0 6px; box-shadow: none; }
.gain-ico { width: 38px; height: 38px; border-radius: 10px; }

/* Warum-Block dunkel: Spalten statt Glaskarten */
.is-dark .why-card.glass { background: transparent; border: 0; border-top: 1px solid var(--dark-line); border-radius: 0; padding: 20px 0 0; }

/* Cases: Labels tragen die Folge, keine Nummern */
.case-steps li { padding-left: 0; }
.case-steps li::before { display: none; }

/* Sprungleiste ohne Nummern */
.jump a .k { display: none; }

/* Leistungs-Karten: Kopfzeile ohne Nummer rechts */
.service-top { justify-content: flex-start; gap: 14px; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.025em; }
h1 { letter-spacing: -.035em; }
.wordmark { font-weight: 700; letter-spacing: -.035em; }
body { font-size: 16.5px; }
