/* =========================================================
   automatisierbar — Brand stylesheet
   Palette & type per official Brand Style Guide v1.0 (2026)
   ========================================================= */

:root {
  /* Brand greens */
  --green:        #15C97A;
  --green-dark:   #0A8F54;
  --green-deep:   #063D25;
  --green-light:  #D4F7E9;

  /* Neutrals */
  --black:        #0C1410;
  --dark:         #1E2B24;
  --mid:          #4A6358;
  --light:        #A8C4B8;
  --offwhite:     #F4FCF8;

  /* Semantic */
  --bg:           #0C1410;
  --bg-alt:       #0F1A15;
  --surface:      #13201A;
  --surface-2:    #16261F;
  --border:       rgba(168, 196, 184, 0.14);
  --text:         #F4FCF8;
  --body:         #B7CDC1;
  --muted:        #7C9286;

  --font-sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  --font-mono: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; scroll-snap-type: y mandatory; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--text); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
.mono { font-family: var(--font-mono); }
.accent { color: var(--green); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
/* Sanftes Einrasten: jeder Hauptabschnitt ist ein (lockerer) Snap-Punkt */
main > section { scroll-snap-align: start; }
/* Ein Abschnitt = ein Bildschirm (ab Tablet/Desktop). Inhalt mittig.
   min-height statt height: hohe Abschnitte wachsen mit, nichts wird abgeschnitten. */
@media (min-width: 761px) {
  main > section {
    /* Höhe ohne den 68px hohen Sticky-Header, damit der Inhalt im sichtbaren
       Bereich (unter dem Header) wirklich mittig sitzt – nicht im vollen Viewport. */
    min-height: calc(100vh - 68px);
    min-height: calc(100svh - 68px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
/* Auf dem Handy kein Einrasten – natürlicher Scrollfluss (Vollbild-Abschnitte sind ohnehin Desktop-only) */
@media (max-width: 760px) { html { scroll-snap-type: none; } }
/* Footer als eigener Snap-Punkt (unten ausgerichtet), sonst ist er bei mandatory-Snap nicht erreichbar */
.site-footer { scroll-snap-align: end; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.section-intro { color: var(--body); font-size: 1.05rem; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mid); margin-bottom: 14px;
}
.accent-eyebrow { color: var(--green); }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 0.98rem; font-weight: 700; cursor: pointer;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: #052b1c; box-shadow: 0 6px 24px rgba(21, 201, 122, 0.28); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(21, 201, 122, 0.36); }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; padding: 6px 14px; border-radius: 999px;
  background: rgba(21, 201, 122, 0.1); color: var(--green-light); border: 1px solid rgba(21, 201, 122, 0.25);
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(21,201,122,.18); }
.badge-active { background: rgba(21,201,122,.14); color: var(--green); border: none; font-size: .72rem; }
.badge-soft { background: var(--green-light); color: var(--green-deep); border: none; font-weight: 700; font-size: .72rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 20, 16, 0.78); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled { background: rgba(12, 20, 16, 0.92); box-shadow: 0 6px 24px rgba(0,0,0,0.28); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-name { font-weight: 700; font-size: 1.1rem; color: var(--text); letter-spacing: -0.02em; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { position: relative; color: var(--body); font-size: 0.95rem; font-weight: 500; transition: color .15s; }
.nav a:hover { color: var(--green); }
.nav a.is-active { color: var(--green); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; border-radius: 2px; background: var(--green);
}
.nav-cta { margin-left: 8px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 24px; border-bottom: 1px solid var(--border); background: var(--bg); }
.mobile-nav a { padding: 12px 0; color: var(--body); font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { border: none; margin-top: 12px; }
.mobile-nav .btn { justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 90px 0 80px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -20%; right: -10%; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(21,201,122,0.18) 0%, rgba(21,201,122,0) 65%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin: 22px 0; }

/* Rotating headline word — typewriter */
.rotator { display: inline-block; color: var(--green); }
.rotator::after {
  content: ""; display: inline-block; width: 3px; height: 0.92em;
  background: var(--green); margin-left: 6px; vertical-align: -0.08em; border-radius: 1px;
}
.rotator.idle::after { animation: caret-blink 1s steps(1) infinite; }
@keyframes caret-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Screen-reader-only helper */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hero .lead { font-size: 1.18rem; color: var(--body); max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 18px; }
.hero-note { display: inline-flex; align-items: center; gap: 9px; font-size: 0.98rem; color: var(--light); }
.hero-note strong { color: var(--green); }
.hero-note .ic { width: 18px; height: 18px; stroke: var(--green); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Hero process card — Ablauf inkl. Wartung */
.hero-visual { display: flex; justify-content: center; }
.process-card {
  width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 26px 26px 24px; box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.process-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.process-title { font-weight: 700; font-size: 1.05rem; color: var(--text); letter-spacing: -0.02em; }

.process-list { list-style: none; padding: 0; margin: 0; }
.proc-step { position: relative; display: flex; gap: 16px; padding-bottom: 22px; }
/* connecting line */
.proc-step::before {
  content: ""; position: absolute; left: 19px; top: 40px; bottom: -2px; width: 2px;
  background: linear-gradient(var(--green), rgba(21,201,122,0.18));
}
.proc-step:last-child { padding-bottom: 0; }
.proc-step:last-child::before { display: none; }

.proc-node {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(21,201,122,0.12); color: var(--green); font-weight: 700; font-size: 1rem;
  border: 1px solid rgba(21,201,122,0.3); position: relative; z-index: 1;
}
.proc-body { padding-top: 2px; }
.proc-row { display: flex; align-items: center; gap: 10px; }
.proc-row strong { color: var(--text); font-size: 1rem; }
.proc-body small { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 2px; }

.proc-tag {
  font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 3px 9px; border-radius: 999px;
}
.proc-tag.free { background: rgba(21,201,122,0.14); color: var(--green); }
.proc-tag.ongoing { background: var(--green-light); color: var(--green-deep); }

/* maintenance node: highlighted + rotating loop */
.proc-step--loop .proc-node--loop {
  background: var(--green); border-color: var(--green);
  box-shadow: 0 0 0 5px rgba(21,201,122,0.16);
}
.loop-ic { width: 20px; height: 20px; fill: none; stroke: #052b1c; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: loop-spin 4s linear infinite; transform-origin: 50% 50%; }
@keyframes loop-spin { to { transform: rotate(360deg); } }

/* ---------- Trust strip ---------- */
.trust { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.trust-label { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.trust-logos { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.trust-logos li { font-size: 1.25rem; font-weight: 700; color: var(--light); opacity: 0.65; letter-spacing: -0.02em; transition: opacity .2s, color .2s; }
.trust-logos li:hover { opacity: 1; color: var(--green); }
.trust-sub { margin-top: 22px; font-size: 0.92rem; color: var(--muted); }

/* ---------- Problem cards (Heute → Mit automatisierbar) ---------- */
.pcard {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.pcard:hover { transform: translateY(-4px); border-color: rgba(21,201,122,0.4); }

.pcard-top { padding: 26px 24px 30px; }
.pcard-bottom { padding: 30px 24px 26px; background: rgba(21,201,122,0.07); border-top: 1px solid var(--border); flex-grow: 1; }

.pcard-label { display: inline-flex; align-items: center; gap: 9px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.pcard-label.is-problem { color: #c98f8f; }
.pcard-label.is-solution { color: var(--green); }
.pcard-dot { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 0.7rem; }
.is-problem .pcard-dot { background: rgba(224,106,106,0.16); color: #e58e8e; }
.is-solution .pcard-dot { background: rgba(21,201,122,0.18); color: var(--green); }

.pcard-top p { color: var(--light); font-size: 1.02rem; }
.pcard-bottom p { color: var(--text); font-size: 1.02rem; font-weight: 600; }

/* arrow badge straddling the seam */
.pcard-divider {
  position: relative; z-index: 2; align-self: center; margin: -18px 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid rgba(21,201,122,0.35);
  display: grid; place-items: center;
}
.pcard-divider svg { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Cards (Leistungen / Why) ---------- */
.card, .why {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.why:hover { transform: translateY(-4px); border-color: rgba(21,201,122,0.4); }
.card-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(21,201,122,0.1); margin-bottom: 16px; }
.card-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3, .why h3 { font-size: 1.18rem; margin-bottom: 8px; }
.why p { font-size: 0.96rem; color: var(--body); }

/* ---------- Leistungen: wow tiles ---------- */
.cards .card {
  position: relative; overflow: hidden; text-align: center; padding: 34px 24px 30px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.cards .card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(21,201,122,0.18), transparent 60%);
  opacity: 0; transition: opacity .35s var(--ease); pointer-events: none;
}
.cards .card:hover::before { opacity: 1; }
.cards .card > * { position: relative; z-index: 1; }
.cards .card:hover {
  transform: translateY(-6px); border-color: rgba(21,201,122,0.55);
  box-shadow: 0 20px 44px rgba(0,0,0,0.4), 0 0 30px rgba(21,201,122,0.12);
}
.cards .card .card-ic {
  width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 18px;
  background: linear-gradient(135deg, rgba(21,201,122,0.22), rgba(10,143,84,0.08));
  border: 1px solid rgba(21,201,122,0.28);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cards .card .card-ic svg { width: 28px; height: 28px; stroke-width: 1.7; }
.cards .card:hover .card-ic { transform: translateY(-3px) scale(1.07); box-shadow: 0 10px 24px rgba(21,201,122,0.25); }
.cards .card h3 { font-size: 1.12rem; margin-bottom: 6px; transition: color .25s var(--ease); }
.cards .card:hover h3 { color: var(--green); }
.card-tag {
  display: inline-block; font-size: 0.82rem; font-weight: 600; color: var(--muted);
  letter-spacing: 0.01em;
}
.leistungen-foot { text-align: center; margin-top: 36px; color: var(--muted); }
.leistungen-foot a { color: var(--green); font-weight: 600; }
.leistungen-foot a:hover { text-decoration: underline; }

/* ---------- Gratis steps ---------- */
.gratis { background: linear-gradient(180deg, var(--bg) 0%, var(--green-deep) 280%); }
.free-step { position: relative; background: var(--surface-2); border: 1px solid rgba(21,201,122,0.22); border-radius: var(--radius); padding: 30px 28px; }
.free-num { font-family: var(--font-mono); font-size: 0.85rem; color: var(--mid); }
.free-tag { position: absolute; top: 24px; right: 24px; background: var(--green); color: #052b1c; font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em; }
.free-step h3 { font-size: 1.3rem; margin: 14px 0 10px; }
.free-step p { color: var(--body); font-size: 0.98rem; }
.free-step strong { color: var(--green); }
.gratis-cta { text-align: center; margin-top: 44px; }

/* ---------- Cases ---------- */
.case {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.case:hover { transform: translateY(-4px); border-color: rgba(21,201,122,0.4); }

.case-head { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.case-ic {
  flex: 0 0 54px; width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(21,201,122,0.2), rgba(10,143,84,0.08));
  border: 1px solid rgba(21,201,122,0.25);
}
.case-ic svg { width: 28px; height: 28px; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.case-headings { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.case-branche { font-size: 1.2rem; font-weight: 700; color: var(--text); letter-spacing: -0.01em; line-height: 1.1; }

.case h3 { font-size: 1.02rem; color: var(--green); margin-bottom: 10px; }
.case > p { font-size: 0.95rem; color: var(--body); flex-grow: 1; }
.case-stat {
  margin-top: 22px; padding: 16px 18px; border-radius: 12px;
  background: rgba(21,201,122,0.07); border: 1px solid rgba(21,201,122,0.18);
}
.case-before { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 6px; }
.case-num { display: block; font-size: 2.3rem; color: var(--green); letter-spacing: -0.02em; font-weight: 700; line-height: 1; }
.case-saved { display: block; font-size: 0.85rem; color: var(--light); font-weight: 600; margin-top: 5px; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.step { display: flex; gap: 22px; align-items: flex-start; padding: 22px; border-radius: var(--radius); transition: background .2s; }
.step:hover { background: var(--surface); }
.step-num { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(21,201,122,0.12); color: var(--green); font-weight: 700; font-size: 1.1rem; border: 1px solid rgba(21,201,122,0.3); }
.step h3 { font-size: 1.15rem; margin-bottom: 4px; }
.step p { font-size: 0.96rem; color: var(--body); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 600; color: var(--text); font-size: 1.02rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: 0 0 18px; height: 18px; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: var(--green); transition: transform .25s var(--ease); }
.faq-plus::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-plus::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq details[open] .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq details p { padding: 0 22px 22px; color: var(--body); font-size: 0.97rem; }

/* ---------- Final CTA ---------- */
.cta-final { padding: 100px 0; }
.cta-box {
  background: linear-gradient(135deg, var(--green-deep), var(--surface-2));
  border: 1px solid rgba(21,201,122,0.3); border-radius: 24px;
  padding: 64px 40px; text-align: center; max-width: 760px; margin: 0 auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  display: flex; flex-direction: column; align-items: center;
}
.cta-box h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.cta-lead { color: var(--body); font-size: 1.08rem; max-width: 520px; margin-bottom: 40px; }
.cta-mail { margin-top: 32px; font-size: 0.92rem; color: var(--muted); }
.cta-mail a { color: var(--green); font-weight: 600; }
.cta-mail a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 28px; background: var(--bg-alt); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.footer-tag { margin-top: 14px; font-size: 0.92rem; color: var(--muted); max-width: 300px; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: var(--body); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--green); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact a { color: var(--body); }
.footer-contact a:hover { color: var(--green); }
.footer-tools { font-size: 0.82rem; color: var(--mid); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--muted); flex-wrap: wrap; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--green); }

/* ---------- Reveal animation ----------
   JS adds .reveal-init, so if main.js ever fails to load the content
   stays fully visible instead of disappearing. */
[data-reveal].reveal-init { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].reveal-init.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 96px; }
  /* Titel/Text zuerst, Ablauf-Karte darunter */
  .hero-visual { order: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.open { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 60px 0; }
  .cta-box { padding: 44px 24px; }
  /* Ablauf-Karte "So arbeiten wir" nur auf dem Handy ausblenden */
  .hero-visual { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Sticky Mobile CTA ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 60;
    padding: 15px 20px; border-radius: 999px;
    background: var(--green); color: #052b1c; font-weight: 700; font-size: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.45), 0 4px 18px rgba(21,201,122,0.4);
  }
  body { padding-bottom: 86px; } /* Platz für den Sticky-CTA */
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 70; pointer-events: none; background: transparent;
}
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: var(--green); will-change: transform;
}

/* ---------- Back-to-top button ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px; cursor: pointer;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s, border-color .2s, color .2s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--surface-2); border-color: rgba(21,201,122,0.4); color: var(--green); }
.to-top svg { width: 20px; height: 20px; }
@media (max-width: 760px) {
  .to-top { display: none; } /* nicht mit der fixen Mobile-CTA kollidieren */
}

/* Hero-Glow wird per JS sanft parallax-verschoben */
.hero-glow { will-change: transform; }

/* ---------- Legal pages ---------- */
.legal-page { max-width: 760px; margin: 0 auto; padding: 60px 24px 80px; }
.legal-page h1 { font-size: 2rem; margin-bottom: 24px; }
.legal-page h2 { font-size: 1.2rem; margin: 32px 0 10px; }
.legal-page p, .legal-page li { color: var(--body); font-size: 0.97rem; }
.legal-page a { color: var(--green); }
.legal-page .back { display: inline-block; margin-bottom: 30px; color: var(--muted); }
.legal-page .back:hover { color: var(--green); }
.placeholder-note { background: rgba(217,164,65,0.1); border: 1px solid rgba(217,164,65,0.35); color: #d9a441; padding: 14px 18px; border-radius: 10px; font-size: 0.88rem; margin-bottom: 28px; }
