/* ============================================================
   Workio Startseite (workio.ch) — Landing v2, 2026-09
   Eigenständiges Stylesheet: baut nur auf tokens.css auf, lädt
   platform.css NICHT (kein Fraunces, keine Alt-Choreografien).
   Struktur & Copy: freigegebener Entwurf landing2/Main.dc.html
   ============================================================ */
@import url('/assets/tokens.css');

/* ── Basis ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; font-weight: 800; }
p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--accent-strong); text-decoration: none; }
a:hover { color: var(--accent-strong-hover); }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Raster ── */
.dl-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.dl-section { padding-top: clamp(64px, 8vw, 112px); }

/* ── Typo-Bausteine ── */
.dl-kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-strong);
}
.dl-h2 { font-size: var(--fs-h2); line-height: 1.1; text-wrap: balance; }
.dl-lead { font-size: 17px; line-height: var(--lh-body); color: var(--muted); }
.dl-head { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }

/* ── Buttons ── */
.dl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-pill);
  font-size: 16px; font-weight: 700; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color var(--t-control) ease, border-color var(--t-control) ease,
              color var(--t-control) ease, transform 160ms var(--ease-out);
}
.dl-btn:active { transform: scale(0.98); }
.dl-btn-primary { background: var(--accent-strong); color: #fff; }
.dl-btn-primary:hover { background: var(--accent-strong-hover); color: #fff; }
.dl-btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--border); }
.dl-btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.dl-btn-light { background: #fff; color: var(--ink); }
.dl-btn-light:hover { background: #F7F9FA; color: var(--ink); }
.dl-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.dl-btn-outline:hover { border-color: #fff; color: #fff; }
.dl-btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.dl-btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ── Navigation ── */
.dl-nav-wrap {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--canvas) 84%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-control) ease;
}
.dl-nav-wrap.scrolled { border-bottom-color: var(--border); }
.dl-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.dl-brand { font-size: 26px; font-weight: 800; letter-spacing: -0.045em; color: var(--ink); line-height: 1; }
.dl-brand span { color: var(--accent); }
.dl-brand:hover { color: var(--ink); }
.dl-links { display: flex; align-items: center; gap: 8px; }
.dl-navlink {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: 15px; font-weight: 600; color: var(--ink); border-radius: var(--r-pill);
}
.dl-navlink:hover { color: var(--ink); background: rgba(11,13,18,0.05); }
.dl-nav .dl-btn { margin-left: 8px; }

/* ── Hero ── */
.dl-hero { padding-top: clamp(40px, 5vw, 56px); text-align: center; }
.dl-hero-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.dl-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  border-radius: var(--r-pill); background: var(--accent-120); color: var(--accent-strong);
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
}
.dl-display { font-size: var(--fs-display); line-height: var(--lh-tight); max-width: 980px; text-wrap: balance; }
.dl-hero-sub { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--muted); max-width: 680px; }
.dl-ctas { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.dl-trust {
  display: flex; align-items: center; justify-content: center; gap: 12px 28px; flex-wrap: wrap;
  font-size: 14px; font-weight: 600; color: var(--muted);
}
.dl-trust i { width: 4px; height: 4px; border-radius: var(--r-pill); background: var(--border); }
.dl-hero-shot { display: flex; justify-content: center; padding-top: clamp(32px, 4vw, 44px); }
.dl-hero-frame {
  width: 100%; max-width: 1120px; padding: clamp(8px, 1.2vw, 14px);
  border-radius: var(--r-container); background: var(--surface); box-shadow: var(--shadow-float);
}
.dl-hero-frame img { width: 100%; border-radius: 18px; border: 1px solid var(--border); }

/* ── Beweis ── */
.dl-proof { display: flex; flex-direction: column; gap: 28px; }
.dl-cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dl-card {
  display: flex; flex-direction: column; gap: 10px; padding: 22px;
  border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--border);
}
.dl-card svg { width: 24px; height: 24px; color: var(--accent-strong); }
.dl-card h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.dl-card p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.dl-card-links { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; font-weight: 700; }
.dl-cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dl-quote {
  display: flex; flex-direction: column; gap: 14px; padding: 26px 28px;
  border-radius: var(--r-card); background: var(--surface); border: 1px dashed var(--border);
}
.dl-quote p { font-size: 18px; line-height: 1.5; font-weight: 600; }
.dl-quote-who { display: flex; align-items: center; gap: 12px; }
.dl-quote-ava { width: 44px; height: 44px; flex: none; border-radius: var(--r-pill); background: var(--canvas); border: 1px solid var(--border); }
.dl-quote-who div { display: flex; flex-direction: column; }
.dl-quote-who strong { font-size: 14px; font-weight: 700; }
.dl-quote-who span { font-size: 13px; color: var(--muted); }
.dl-pilot {
  display: flex; flex-direction: column; gap: 14px; padding: 26px 28px;
  border-radius: var(--r-card); background: var(--ink); color: #fff;
}
.dl-pilot .dl-kicker { color: var(--accent); }
.dl-pilot p { font-size: 18px; line-height: 1.5; font-weight: 600; }
.dl-pilot .dl-btn { align-self: flex-start; }

/* ── Nutzen (Zwei-Spalter) ── */
.dl-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
.dl-feature-text { display: flex; flex-direction: column; gap: 16px; }
.dl-list { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink); }
.dl-list li { display: flex; gap: 10px; align-items: flex-start; }
.dl-list li::before { content: ""; flex: none; margin-top: 8px; width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--accent); }
.dl-feature-media { display: flex; justify-content: center; min-width: 0; }
.dl-phone {
  padding: 10px; border-radius: 40px; background: var(--ink); box-shadow: var(--shadow-float);
  width: min(320px, 100%);
}
.dl-phone img { width: 100%; border-radius: 32px; }

/* Anrufliste (Illustration) */
.dl-calls {
  width: 100%; display: flex; flex-direction: column; gap: 10px; padding: 24px;
  border-radius: var(--r-container); background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.dl-calls-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dl-calls-head span:first-child { font-size: 13px; font-weight: 700; color: var(--muted); }
.dl-pill-ok { padding: 4px 10px; border-radius: var(--r-pill); background: var(--green-bg); color: #0E8A52; font-size: 12px; font-weight: 700; white-space: nowrap; }
.dl-calls ul { display: flex; flex-direction: column; gap: 8px; }
.dl-calls li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: var(--r-sm); background: var(--surface-2);
}
.dl-calls li span:first-child { font-size: 15px; font-weight: 600; }
.dl-calls li span:last-child { font-size: 13px; font-weight: 700; color: var(--muted); text-align: right; }
.dl-calls li .ok { color: #0E8A52; }

/* ── Live-Demo: „Lass dich vom Agenten anrufen" ── */
.dl-demo {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px);
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-container); background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.dl-demo-intro { display: flex; flex-direction: column; gap: 12px; }
.dl-demo-intro h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; }
.dl-demo-intro p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.dl-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-strong); }
.dl-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: dl-pulse 1.8s infinite; }
@keyframes dl-pulse { 0% { box-shadow: 0 0 0 0 rgba(17,183,106,0.5); } 70% { box-shadow: 0 0 0 8px rgba(17,183,106,0); } 100% { box-shadow: 0 0 0 0 rgba(17,183,106,0); } }
.dl-fine { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.dl-form { display: flex; flex-direction: column; gap: 12px; }
.dl-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dl-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dl-field.wide { grid-column: 1 / -1; }
.dl-field label { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.dl-form input[type="text"], .dl-form input[type="tel"], .dl-form input[type="email"] {
  width: 100%; min-height: 44px; font: inherit; font-size: 15px; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: var(--r-input); background: #fff; color: var(--ink);
}
.dl-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-120); }
.dl-step { display: flex; gap: 10px; align-items: flex-end; }
.dl-step[hidden] { display: none; }
.dl-step .dl-field { flex: 1; }
.dl-step > input { flex: 1; }
.dl-step .dl-btn { flex: none; }
.dl-left { align-self: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.dl-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.dl-consent input { width: 16px; height: 16px; margin: 2px 0 0; flex: none; accent-color: var(--accent-strong); }
.dl-msg { min-height: 20px; font-size: 14px; font-weight: 600; }
.dl-msg.ok { color: #0E8A52; }
.dl-msg.err { color: #B3261E; }
.dl-status {
  display: flex; flex-direction: column; gap: 6px; padding: 14px 16px;
  border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--border);
}
.dl-status[hidden] { display: none; }
.dl-status-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.dl-status-head i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: dl-pulse 1.8s infinite; }
.dl-status-state { font-size: 15px; font-weight: 700; }
.dl-status-lines { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: var(--muted); max-height: 160px; overflow-y: auto; }
.dl-status-lines b { color: var(--ink); font-weight: 700; }
.dl-status-result { font-size: 14px; font-weight: 700; }
.dl-status-result.ok { color: #0E8A52; }
.dl-status-result.warn { color: var(--accent-strong); }
.dl-status-note { font-size: 12.5px; color: var(--muted); }

/* ── Preise ── */
.dl-pricing { display: flex; flex-direction: column; gap: 24px; }
.dl-pricing-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.dl-pricing-head .dl-head { max-width: 640px; }
.dl-pricing-link { font-size: 15px; font-weight: 700; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.dl-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dl-plan {
  display: flex; flex-direction: column; gap: 12px; padding: 26px;
  border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--border);
}
.dl-plan.is-featured { border: 2px solid var(--accent); }
.dl-plan-name { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 15px; font-weight: 700; color: var(--muted); }
.dl-plan-badge { padding: 3px 10px; border-radius: var(--r-pill); background: var(--accent-120); color: var(--accent-strong); font-size: 12px; font-weight: 700; }
.dl-plan-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.dl-plan-price strong { font-size: clamp(32px, 3vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.dl-plan-price span { font-size: 14px; color: var(--muted); }
.dl-plan p { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ── Abschluss ── */
.dl-final {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding: clamp(32px, 4.5vw, 56px) clamp(24px, 4.5vw, 64px);
  border-radius: var(--r-container); background: var(--accent); color: #fff;
}
.dl-final .dl-head { max-width: 640px; }
.dl-final h2 { color: #fff; }
.dl-final p { font-size: 17px; line-height: 1.5; color: rgba(255,255,255,0.88); }
.dl-final .dl-ctas { justify-content: flex-start; }

/* ── Footer ── */
.dl-footer { margin-top: clamp(64px, 7vw, 96px); border-top: 1px solid var(--border); }
.dl-footer-inner {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 40px;
  padding-block: clamp(40px, 5vw, 64px) 48px;
}
.dl-footer-brand { display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.dl-footer-brand .dl-brand { font-size: 22px; }
.dl-footer-brand p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.dl-langs { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.dl-lang { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--border); color: var(--muted); }
.dl-lang.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.dl-lang.is-off { cursor: default; }
.dl-footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 48px; font-size: 14px; }
.dl-footer-col { display: flex; flex-direction: column; gap: 8px; }
.dl-footer-col strong { font-weight: 700; color: var(--ink); }
.dl-footer-col a { color: var(--muted); }
.dl-footer-col a:hover { color: var(--ink); }
.dl-footer-col a[title="folgt"] { cursor: default; }
.dl-footer-col span { color: var(--muted); }

/* ── Dezente Einblendungen (nur mit JS aktiv, nie fürs Hero) ── */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── Responsiv ── */
@media (max-width: 1024px) {
  .dl-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-feature { gap: 32px; }
}
@media (max-width: 768px) {
  .dl-feature { grid-template-columns: 1fr; gap: 28px; }
  .dl-feature-media { order: -1; }
  .dl-cards-2, .dl-plans { grid-template-columns: 1fr; }
  .dl-demo { grid-template-columns: 1fr; }
  .dl-footer-inner { flex-direction: column; gap: 32px; }
  .dl-footer-cols { width: 100%; }
  .dl-final .dl-ctas { width: 100%; }
}
@media (max-width: 720px) {
  .dl-navlink { display: none; }
  .dl-nav .dl-btn { margin-left: 0; }
  .dl-nav-wrap .dl-btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
}
@media (max-width: 560px) {
  .dl-ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .dl-ctas .dl-btn { width: 100%; }
  .dl-trust { flex-direction: column; gap: 8px; }
  .dl-trust i { display: none; }
  .dl-fields { grid-template-columns: 1fr; }
  .dl-step { flex-direction: column; align-items: stretch; }
  .dl-step .dl-btn { width: 100%; }
  .dl-cards-4 { grid-template-columns: 1fr; }
  .dl-footer-cols { grid-template-columns: 1fr; }
  .dl-calls li { flex-direction: column; align-items: flex-start; gap: 2px; }
  .dl-calls li span:last-child { text-align: left; }
  .dl-quote, .dl-pilot { padding: 22px; }
}

/* ── Bewegung reduzieren ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .dl-live i, .dl-status-head i { animation: none; }
  .dl-btn, .dl-btn:active { transition: none; transform: none; }
}

/* ── Ablauf Telefonagent (kein erfundener Beweis, nur der Prozess) ── */
.dl-flow { list-style: none; margin: 0; padding: 24px; display: flex; flex-direction: column; gap: 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-container); box-shadow: var(--shadow-card); }
.dl-flow li { display: flex; gap: 14px; align-items: flex-start; }
.dl-flow-n { flex: none; width: 32px; height: 32px; border-radius: var(--r-pill); display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-120); color: var(--accent-strong); font-weight: 800; font-size: 14px; }
.dl-flow strong { display: block; font-size: 16px; margin-bottom: 2px; }
.dl-flow p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
