@font-face {
  font-family: "IBM Plex Sans";
  src: url("/landing/assets/ibm-plex-sans-latin.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   LAMAGO – Theme „Stille Tiefe"
   Eigenes Theme (theme-factory, Custom):
   – Grund:        Warmes Off-White  #FAFAF8
   – Fläche:       Weiß              #FFFFFF
   – Tinte:        Petrol-Anthrazit  #17211F
   – Text sekundär:                  #5C6664
   – Akzent:       Tiefes Petrol     #0E5A54
   – Akzent dunkel:                  #093F3B
   – Petrol-Hauch (Flächen):         #EEF3F2
   – Linien:                         #E5E8E7
   Typografie: Inter (Display + Text), ruhig, enge Laufweite
   in Headlines, großzügiger Weißraum, eine Aussage pro Viewport.
   ============================================================ */

:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --ink: #17211F;
  --ink-2: #5C6664;
  --ink-3: #8A9391;
  --accent: #0E5A54;
  --accent-dark: #093F3B;
  --accent-ink: #0B4A45;
  --tint: #EEF3F2;
  --tint-2: #E2ECEA;
  --line: #E5E8E7;
  --ok: #2E7D5B;
  --warn: #B4690E;
  --err: #B3362C;
  --radius: 18px;
  --radius-s: 10px;
  --shadow-soft: 0 1px 2px rgba(23, 33, 31, .04), 0 8px 32px rgba(23, 33, 31, .07);
  --shadow-deep: 0 2px 6px rgba(23, 33, 31, .06), 0 24px 64px rgba(23, 33, 31, .13);
  --font: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ---------- Typografie ---------- */
h1, h2, h3 { font-weight: 650; letter-spacing: -0.022em; line-height: 1.12; }
h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); letter-spacing: -0.012em; }

.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--ink-2); line-height: 1.5; }
.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.muted { color: var(--ink-2); }
.small { font-size: .92rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 980px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: transparent; color: var(--accent-ink); border-color: var(--accent); }
.btn-secondary:hover { background: var(--tint); }
.btn-large { padding: 17px 36px; font-size: 1.08rem; }
.btn-small { padding: 9px 20px; font-size: .92rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, .82);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(229, 232, 231, .8);
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.logo:hover { text-decoration: none; }
.logo .dot { color: var(--accent); }
.nav-links { display: flex; gap: 28px; margin-left: 8px; }
.nav-links a { color: var(--ink-2); font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-login { color: var(--ink-2); font-size: .95rem; font-weight: 600; white-space: nowrap; }
.nav-login:hover { color: var(--ink); text-decoration: none; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero { padding: 96px 0 40px; text-align: center; }
.hero h1 { max-width: 850px; margin: 0 auto 22px; }
.hero .lead { max-width: 640px; margin: 0 auto 34px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.hero-note { font-size: .95rem; color: var(--ink-2); }
.hero-note strong { color: var(--ink); font-weight: 600; }
.hero-mockup { margin: 64px auto 0; max-width: 1020px; }

/* ---------- Sektionen ---------- */
section { padding: 110px 0; }
section.tinted { background: var(--tint); }
section.dark { background: var(--ink); color: #F2F4F3; }
section.dark h2 { color: #fff; }
section.dark .lead { color: #B9C2C0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 70px; }
.section-head .lead { margin-top: 18px; }

/* Feature-Sektionen (abwechselnd) */
.feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.feature.reverse { grid-template-columns: 1.15fr 1fr; }
.feature.reverse .feature-text { order: 2; }
.feature.reverse .feature-visual { order: 1; }
.feature-text h2 { margin-bottom: 18px; }
.feature-text .lead { font-size: 1.12rem; margin-bottom: 22px; }
.feature-points { list-style: none; display: grid; gap: 12px; }
.feature-points li {
  padding-left: 30px;
  position: relative;
  color: var(--ink-2);
  font-size: 1.02rem;
}
.feature-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--tint-2);
}
.feature-points li::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 11px;
  width: 6px;
  height: 3.5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Problem-Sektion ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.pain {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.pain h3 { margin-bottom: 8px; font-size: 1.05rem; }
.pain p { color: var(--ink-2); font-size: .95rem; line-height: 1.55; }

/* ---------- Browser-Mockup-Rahmen ---------- */
.browser {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #F4F5F4;
  border-bottom: 1px solid var(--line);
}
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots span { width: 10px; height: 10px; border-radius: 50%; background: #D9DDDC; }
.browser-bar .url {
  flex: 1;
  max-width: 320px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 3px 12px;
  font-size: 10.5px;
  color: var(--ink-3);
  text-align: center;
}

/* App-Layout im Mockup */
.app { display: flex; min-height: 340px; background: #FBFCFB; }
.app-side {
  width: 158px;
  flex-shrink: 0;
  background: var(--ink);
  color: #C6CFCD;
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.app-side .brand {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.02em;
  padding: 2px 16px 12px;
}
.app-side .brand em { color: #6FB5AE; font-style: normal; }
.app-side a { color: inherit; }
.app-nav-item {
  padding: 7px 16px;
  font-size: 11.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-nav-item.active {
  background: rgba(255, 255, 255, .09);
  color: #fff;
  border-left: 3px solid #6FB5AE;
  padding-left: 13px;
}
.app-nav-item .ico {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .16);
  flex-shrink: 0;
}
.app-main { flex: 1; padding: 18px 20px; min-width: 0; }
.app-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.app-h .t { font-size: 15px; font-weight: 650; letter-spacing: -0.015em; }
.app-h .d { font-size: 10.5px; color: var(--ink-3); }

.stat-row { display: flex; gap: 10px; margin-bottom: 14px; }
.stat {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.stat b { display: block; font-size: 17px; letter-spacing: -0.02em; }
.stat span { font-size: 10px; color: var(--ink-2); }
.stat.hot b { color: var(--warn); }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}
.panel-h {
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 650;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.panel-h .lnk { color: var(--accent); font-weight: 500; font-size: 10px; }
.row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid #F0F2F1;
  font-size: 11px;
}
.row:last-child { border-bottom: none; }
.row .grow { flex: 1; min-width: 0; }
.row .sub { color: var(--ink-3); font-size: 9.5px; display: block; }
.chip {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
}
.chip.red { background: #F9E9E7; color: var(--err); }
.chip.amber { background: #F7EEDF; color: var(--warn); }
.chip.green { background: #E5F1EB; color: var(--ok); }
.chip.teal { background: var(--tint-2); color: var(--accent-ink); }
.chip.gray { background: #EFF1F0; color: var(--ink-2); }
.dot-p { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot-p.red { background: var(--err); }
.dot-p.amber { background: var(--warn); }
.dot-p.green { background: var(--ok); }

.avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tint-2);
  color: var(--accent-ink);
  font-size: 8.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.tab { padding: 6px 11px; font-size: 10.5px; color: var(--ink-2); }
.tab.active {
  color: var(--accent-ink);
  font-weight: 650;
  border-bottom: 2px solid var(--accent);
}

.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.kv div { padding: 6px 12px; font-size: 10.5px; border-bottom: 1px solid #F0F2F1; }
.kv b { display: block; font-size: 9px; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

.check-list { padding: 4px 0; }
.check-item { display: flex; gap: 8px; align-items: center; padding: 5px 12px; font-size: 10.5px; }
.check-item .cb {
  width: 12px; height: 12px;
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--accent);
  position: relative;
}
.check-item .cb::after {
  content: "";
  position: absolute;
  left: 3px; top: 3.5px;
  width: 5px; height: 2.5px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg);
}
.check-item .cb.open { background: #fff; border: 1.5px solid var(--ink-3); }
.check-item .cb.open::after { display: none; }
.check-item.todo { color: var(--ink-2); }

.progressbar { height: 5px; border-radius: 99px; background: var(--tint-2); overflow: hidden; }
.progressbar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }

.mini-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; padding: 10px 12px; }
.mini-cal span {
  font-size: 9px;
  text-align: center;
  padding: 3px 0;
  border-radius: 6px;
  color: var(--ink-2);
}
.mini-cal .h { font-weight: 700; color: var(--ink-3); }
.mini-cal .ev { background: var(--tint-2); color: var(--accent-ink); font-weight: 600; }
.mini-cal .today { background: var(--accent); color: #fff; font-weight: 700; }

.ai-card {
  border: 1px solid var(--tint-2);
  background: linear-gradient(180deg, #F4F9F8, #fff);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.ai-card .ai-tag {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
  display: block;
}
.ai-card p { font-size: 10.5px; color: var(--ink-2); margin-bottom: 8px; }
.ai-actions { display: flex; gap: 6px; }
.ai-actions .b {
  font-size: 9.5px;
  font-weight: 600;
  padding: 3.5px 10px;
  border-radius: 99px;
}
.ai-actions .b.yes { background: var(--accent); color: #fff; }
.ai-actions .b.no { background: #EFF1F0; color: var(--ink-2); }

.doc-lines { padding: 10px 14px; }
.doc-lines i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: #EDEFEE;
  margin-bottom: 6px;
}
.doc-lines i.w60 { width: 60%; }
.doc-lines i.w80 { width: 80%; }
.doc-lines i.w45 { width: 45%; }
.doc-lines i.head { width: 38%; height: 8px; background: var(--tint-2); }

.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.num.pos { color: var(--ok); }
.num.neg { color: var(--err); }

/* ---------- Sicherheit ---------- */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.sec-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.sec-card h3 { color: #fff; margin-bottom: 10px; font-size: 1.08rem; }
.sec-card p { color: #AEB9B7; font-size: .95rem; line-height: 1.6; }
.sec-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(111, 181, 174, .16);
  color: #6FB5AE;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.sec-icon svg { width: 22px; height: 22px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.team-card h3 { margin-bottom: 10px; font-size: 1.08rem; }
.team-card p { color: var(--ink-2); font-size: .95rem; }

/* ---------- Preise ---------- */
.placeholder-note {
  display: inline-block;
  background: #FBF3E4;
  border: 1px solid #EBD9B4;
  color: #8A6A1F;
  font-size: .85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 99px;
  margin-top: 18px;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-soft); }
.badge-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 650;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
}
.price-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.price-card .for { color: var(--ink-2); font-size: .92rem; margin-bottom: 22px; }
.price-num { font-size: 2.4rem; font-weight: 650; letter-spacing: -0.03em; line-height: 1; }
.price-num .ph {
  color: var(--ink-3);
  background: var(--tint);
  border: 1px dashed var(--ink-3);
  border-radius: 10px;
  padding: 2px 12px;
  font-size: 1.9rem;
}
.price-per { color: var(--ink-2); font-size: .88rem; margin: 6px 0 24px; }
.price-feats { list-style: none; display: grid; gap: 10px; margin-bottom: 30px; flex: 1; }
.price-feats li { padding-left: 26px; position: relative; font-size: .95rem; color: var(--ink-2); }
.price-feats li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 6px;
  height: 3.5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.price-card .btn { width: 100%; }
.price-foot { text-align: center; margin-top: 34px; color: var(--ink-2); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 60px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 44px 24px 4px;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .faq-body { padding: 0 4px 26px; color: var(--ink-2); max-width: 680px; }

/* ---------- CTA-Finale ---------- */
.final-cta { text-align: center; }
.final-cta h2 { max-width: 700px; margin: 0 auto 18px; }
.final-cta .lead { max-width: 560px; margin: 0 auto 34px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
  background: var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-grid h4 {
  font-size: .85rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: var(--ink-2); font-size: .95rem; }
.footer-grid a:hover { color: var(--ink); }
.footer-brand p { color: var(--ink-2); font-size: .95rem; margin-top: 12px; max-width: 280px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ink-3);
  font-size: .88rem;
}

/* ---------- Scroll-Animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Formulare (Registrierung) ---------- */
.signup-shell { max-width: 560px; margin: 0 auto; padding: 64px 24px 110px; }
.signup-shell h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin-bottom: 10px; }
.signup-shell > p.lead { font-size: 1.05rem; margin-bottom: 40px; }

.steps { display: flex; gap: 8px; margin-bottom: 40px; }
.step-pill {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: var(--line);
  transition: background .3s ease;
}
.step-pill.done, .step-pill.current { background: var(--accent); }
.step-label { font-size: .85rem; color: var(--ink-2); margin-bottom: 34px; font-weight: 600; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow-soft);
}
.field { margin-bottom: 22px; }
.field label { display: block; font-size: .92rem; font-weight: 600; margin-bottom: 8px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field select {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  background: #fff;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(14, 90, 84, .12);
}
.field input.invalid, .field select.invalid { border-color: var(--err); }
.field .hint { font-size: .85rem; color: var(--ink-3); margin-top: 6px; }
.field .error {
  font-size: .87rem;
  color: var(--err);
  margin-top: 7px;
  display: none;
}
.field .error.show { display: block; }

.pw-wrap { position: relative; }
.field .pw-wrap input { padding-right: 52px; }
.pw-toggle {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: none;
  background: none;
  color: var(--ink-3);
  cursor: pointer;
}
.pw-toggle:hover { color: var(--ink); }
.pw-toggle svg { display: block; }
.pw-toggle svg[hidden] { display: none; }
.pw-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; border-radius: var(--radius-s); }

.pw-meter { display: flex; gap: 6px; margin-top: 10px; }
.pw-meter span { flex: 1; height: 4px; border-radius: 99px; background: var(--line); transition: background .25s ease; }
.pw-meter.s1 span:nth-child(1) { background: var(--err); }
.pw-meter.s2 span:nth-child(-n+2) { background: var(--warn); }
.pw-meter.s3 span:nth-child(-n+3) { background: #7FA653; }
.pw-meter.s4 span { background: var(--ok); }
.pw-label { font-size: .82rem; color: var(--ink-3); margin-top: 6px; }

.radio-cards { display: grid; gap: 10px; }
.radio-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.radio-card:has(input:checked) { border-color: var(--accent); background: var(--tint); }
.radio-card input { margin-top: 4px; accent-color: var(--accent); }
.radio-card b { display: block; font-size: .97rem; font-weight: 600; }
.radio-card span { font-size: .85rem; color: var(--ink-2); }

.consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.consent input { margin-top: 5px; accent-color: var(--accent); width: 17px; height: 17px; flex-shrink: 0; }
.consent label { font-size: .92rem; color: var(--ink-2); }

.summary-box {
  background: var(--tint);
  border-radius: var(--radius-s);
  padding: 20px 22px;
  margin-bottom: 28px;
}
.summary-box dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-size: .95rem; }
.summary-box dt { color: var(--ink-2); }
.summary-box dd { font-weight: 600; text-align: right; }

.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.form-nav .btn { min-width: 130px; }
.btn-back { background: transparent; color: var(--ink-2); border: none; font-weight: 600; cursor: pointer; font-size: 1rem; font-family: var(--font); }
.btn-back:hover { color: var(--ink); }

.form-alert {
  display: none;
  background: #F9E9E7;
  border: 1px solid #E8C2BD;
  color: var(--err);
  border-radius: var(--radius-s);
  padding: 14px 18px;
  font-size: .93rem;
  margin-bottom: 24px;
}
.form-alert.show { display: block; }

/* Banner nach bestaetigter Registrierungs-E-Mail (main.js blendet es ein) */
.confirm-banner {
  display: none;
  background: #E7F3ED;
  border-bottom: 1px solid #C4E0D2;
  color: var(--ok);
}
.confirm-banner.show { display: block; }
.confirm-banner-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  flex-wrap: wrap;
}
.confirm-banner-inner svg { flex-shrink: 0; }
.confirm-banner-inner p { margin: 0; flex: 1; min-width: 220px; font-size: .95rem; color: var(--ink); }
.confirm-banner-inner p strong { color: var(--ok); }

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  vertical-align: -3px;
  margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.confirm-view { text-align: center; padding: 30px 0 10px; }
.confirm-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 26px;
}
.confirm-icon svg { width: 34px; height: 34px; }
.confirm-view h2 { font-size: 1.7rem; margin-bottom: 14px; }
.confirm-view p { color: var(--ink-2); max-width: 420px; margin: 0 auto 12px; }

/* ---------- Rechtsseiten ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 80px 24px 120px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 30px; }
.legal h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.legal p { color: var(--ink-2); margin-bottom: 14px; }
.legal .placeholder-note { margin: 0 0 30px; }

/* ---------- Responsiv ---------- */
@media (max-width: 960px) {
  section { padding: 80px 0; }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 40px; }
  .feature.reverse .feature-text { order: 1; }
  .feature.reverse .feature-visual { order: 2; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-grid, .team-grid, .price-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .price-card.featured { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open { flex-wrap: wrap; height: auto; padding-bottom: 18px; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 3;
    gap: 16px;
    padding-top: 12px;
  }
  .nav.open .nav-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; order: 4; margin: 16px 0 0; }
  .hero { padding: 64px 0 24px; }
  .app-side { display: none; }
  .pain-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .kv { grid-template-columns: 1fr; }
}
