/* Pitch components – Flexary tokens from flxry-landing-layout.css */
:root {
  --ink: var(--text-primary);
  --paper: var(--navy);
  --cream: var(--navy-mid);
  --warm: var(--flxry-link);
  --warm-light: rgba(14, 165, 233, 0.1);
  --warm-border: rgba(14, 165, 233, 0.28);
  --green: var(--btn-primary-bg);
  --green-mid: var(--btn-primary-hover);
  --green-pale: rgba(14, 165, 233, 0.1);
  --green-border: rgba(14, 165, 233, 0.35);
  --muted: var(--text-dim);
  --border: var(--navy-light);
  --white: var(--card-bg);
  --red: #b83228;
  --shadow-md: var(--shadow-card);
  --shadow-lg: var(--shadow-card);
  --r: var(--radius-sm);
  --rr: var(--radius);
  --max: var(--flxry-content-max);
}

body.flxry-pitch main > section {
  scroll-margin-top: calc(clamp(5.5rem, 12vw, 7.5rem) + 1.25rem + env(safe-area-inset-top, 0px));
}
.flxry-pitch .section-inner,
.flxry-pitch .pkg-wrap,
.flxry-pitch .faq-inner {
  max-width: var(--flxry-content-max);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.flxry-pitch .chat-wrap {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.flxry-pitch .faq-inner {
  max-width: 720px;
}
/* Spezifität gegen flxry `main section > * { max-width: 1140px }` */
body.flxry-php-app.flxry-pitch main section > .chat-wrap,
body.flxry-php-app.flxry-pitch main .chat-wrap {
  max-width: 700px !important;
}
body.flxry-php-app.flxry-pitch main section > .faq-inner,
body.flxry-php-app.flxry-pitch main .faq-inner {
  max-width: 720px !important;
}
body.flxry-php-app.flxry-pitch main section > .pkg-wrap {
  max-width: var(--flxry-content-max) !important;
}
.flxry-pitch #haeufige-fragen .section-tag,
.flxry-pitch #haeufige-fragen .section-h2,
.flxry-pitch #haeufige-fragen .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.flxry-pitch #haeufige-fragen .section-sub {
  max-width: 36rem;
}
.flxry-pitch #entwurf-anfragen .chat-header {
  text-align: center;
  margin-bottom: 1.75rem;
}
.flxry-pitch #entwurf-anfragen .chat-header .section-h2 {
  margin-bottom: .5rem;
}
.flxry-pitch #entwurf-anfragen .chat-header p {
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 auto;
}
/* Dark: Karten klarer abheben */
html[data-theme="dark"] .flxry-pitch .steps .step,
html[data-theme="dark"] .flxry-pitch .pkg-card,
html[data-theme="dark"] .flxry-pitch .cmp-card,
html[data-theme="dark"] .flxry-pitch .pitch-cmp-card {
  background: #1e293b;
  border-color: rgba(148, 163, 184, 0.28);
}
html[data-theme="dark"] .flxry-pitch .why-card,
html[data-theme="dark"] .flxry-pitch .pitch-why-card {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(148, 163, 184, 0.28);
}
html[data-theme="dark"] .flxry-pitch .chat-box {
  background: #1e293b;
  border-color: rgba(148, 163, 184, 0.28);
}
html[data-theme="dark"] .flxry-pitch .chat-msgs {
  background: #0f172a;
}
html[data-theme="dark"] .flxry-pitch .chat-topbar {
  background: rgba(15, 23, 42, 0.65);
  border-bottom-color: rgba(148, 163, 184, 0.22);
}
html[data-theme="dark"] .flxry-pitch .chat-quick {
  background: #0b1220;
  border-top-color: rgba(148, 163, 184, 0.22);
}
html[data-theme="dark"] .flxry-pitch .msg.bot .msg-bubble {
  background: #1e293b;
  border-color: rgba(148, 163, 184, 0.25);
  color: #f8fafc;
}

.flxry-pitch .section-intro { margin-bottom: 0; max-width: 40rem; }
.flxry-pitch .section-intro p,
.flxry-pitch .section-sub,
.flxry-pitch .why-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 1rem 0 0;
  max-width: 40rem;
  line-height: 1.7;
}

/* Section-Kopf wie flexary.de: Tag → H2 → Lead, dann Content mit Abstand */
.flxry-pitch .section-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--flxry-link);
  margin: 0 0 0.75rem;
  line-height: 1.35;
  padding: 0;
}
.flxry-pitch .section-h2,
.flxry-pitch .why-h2 {
  font-family: var(--font-display), sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  letter-spacing: -0.5px;
  line-height: 1.18;
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  text-wrap: balance;
}
/* Content nach Intro – wie flexary.de (#ablauf / #preise) */
.flxry-pitch .cmp-grid,
.flxry-pitch .steps,
.flxry-pitch .pitch-steps,
.flxry-pitch .why-grid,
.flxry-pitch .pitch-why-grid,
.flxry-pitch .pkg-grid,
.flxry-pitch .faq-list,
.flxry-pitch .cmp-cta,
.flxry-pitch .pkg-header + .pkg-grid {
  margin-top: clamp(2.25rem, 4vw, 3rem);
}
.flxry-pitch .pkg-header {
  margin-bottom: 0;
  text-align: center;
}
.flxry-pitch .pkg-header .section-tag,
.flxry-pitch .pkg-header .section-h2,
.flxry-pitch .pkg-header .section-sub {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.flxry-pitch .pkg-header .section-sub {
  max-width: 36rem;
  margin-top: 1rem;
}

/* Buttons wie flexary.de – auch außerhalb des Heroes (sonst Browser-:visited-Violett) */
.flxry-pitch a.btn-p,
.flxry-pitch .btn-p,
.flxry-pitch a.btn-primary,
.flxry-pitch .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  min-height: 48px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg) !important;
  font-family: var(--font-sans), sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.flxry-pitch a.btn-p:hover,
.flxry-pitch .btn-p:hover,
.flxry-pitch a.btn-primary:hover,
.flxry-pitch .btn-primary:hover {
  background: var(--btn-primary-hover);
  color: var(--btn-primary-fg) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(3, 105, 161, 0.28);
}
.flxry-pitch .btn-outline,
.flxry-pitch a.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid color-mix(in srgb, var(--flxry-link) 40%, transparent);
  color: var(--flxry-link) !important;
  background: color-mix(in srgb, var(--flxry-link) 8%, transparent);
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.9rem;
  min-height: 48px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.flxry-pitch .btn-outline:hover,
.flxry-pitch a.btn-outline:hover {
  border-color: color-mix(in srgb, var(--flxry-link) 55%, transparent);
  color: var(--flxry-link-hover) !important;
  background: color-mix(in srgb, var(--flxry-link) 14%, transparent);
}
.flxry-pitch .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
/* Outline auf dunklem Hero-Copy: hell, sonst unsichtbar */
.flxry-pitch .hero-split__copy .btn-outline,
.flxry-pitch .hero-split__copy a.btn-outline {
  color: #f8fafc !important;
  border-color: rgba(248, 250, 252, 0.35);
  background: transparent;
}
.flxry-pitch .hero-split__copy .btn-outline:hover,
.flxry-pitch .hero-split__copy a.btn-outline:hover {
  border-color: #67e8f9;
  color: #67e8f9 !important;
  background: rgba(103, 232, 249, 0.1);
}
.flxry-pitch .hero-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.72);
}
.flxry-pitch .logo {
  align-items: center;
}
.flxry-pitch .cmp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  align-items: center;
}
.flxry-pitch .cmp-card.is-good {
  border-color: var(--flxry-link, var(--green));
  box-shadow: none;
}
.flxry-pitch .cmp-card.is-bad,
.flxry-pitch .cmp-card {
  opacity: 1;
}
.flxry-pitch .cmp-price {
  color: var(--text-primary);
}
.flxry-pitch .cmp-price.bad {
  color: var(--text-primary);
}
.flxry-pitch .cmp-best-badge {
  display: none;
}
.flxry-pitch footer#site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  padding: 2.5rem clamp(1rem, 5vw, 2.5rem);
}
.flxry-pitch footer .footer-brandline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0;
}
.flxry-pitch footer .footer-brandline .logo-mark {
  height: 28px;
  max-width: 140px;
}
.flxry-pitch footer .footer-links {
  justify-content: center;
}
.flxry-pitch .footer-locality {
  color: var(--text-dim);
  font-size: 0.85rem;
}
.flxry-pitch .nav-home {
  color: var(--text-dim) !important;
  font-size: 0.85rem !important;
}
.flxry-pitch .why-band,
.flxry-pitch .pitch-why {
  background: var(--slate-900);
  color: #f8fafc;
  border-top: 1px solid var(--card-border);
}
html[data-theme="dark"] .flxry-pitch .why-band,
html[data-theme="dark"] .flxry-pitch .pitch-why { background: #020617; }
.flxry-pitch .why-band .section-tag,
.flxry-pitch .pitch-why .section-tag { color: #67e8f9; }
.flxry-pitch .why-band h2,
.flxry-pitch .why-h2,
.flxry-pitch .pitch-why-h2 { color: #f8fafc; scroll-margin-top: 6rem; }
.flxry-pitch .why-sub,
.flxry-pitch .pitch-why-sub { color: rgba(226, 232, 240, 0.72); }
.flxry-pitch .why-band .section-inner,
.flxry-pitch .pitch-why .section-inner {
  max-width: var(--flxry-content-max);
  margin: 0 auto;
}
.flxry-pitch .why-grid,
.flxry-pitch .pitch-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.125rem;
}
.flxry-pitch .why-card,
.flxry-pitch .pitch-why-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.35rem;
}
.flxry-pitch .why-card-icon,
.flxry-pitch .pitch-why-icon {
  width: 40px; height: 40px; margin-bottom: 1rem;
  background: rgba(34,211,238,.12);
  border: 1px solid rgba(34,211,238,.22);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #67e8f9;
}
.flxry-pitch .why-card-icon svg,
.flxry-pitch .pitch-why-icon svg { width: 20px; height: 20px; fill: currentColor; }
.flxry-pitch .why-card h3,
.flxry-pitch .pitch-why-card h3 {
  font-size: .95rem; font-weight: 700; color: #f8fafc; margin: 0 0 .4rem;
}
.flxry-pitch .why-card p,
.flxry-pitch .pitch-why-card p {
  font-size: .85rem; color: rgba(226,232,240,.7); line-height: 1.65; margin: 0;
}

.flxry-pitch .cmp-section .section-inner {
  max-width: var(--flxry-content-max);
  margin: 0 auto;
}
.flxry-pitch .section .section-inner {
  max-width: var(--flxry-content-max);
}
.flxry-pitch .section,
.flxry-pitch #pakete,
.flxry-pitch .cmp-section,
.flxry-pitch #haeufige-fragen,
.flxry-pitch #entwurf-anfragen,
.flxry-pitch .why-band {
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 5vw, 2.5rem);
  border-top: 1px solid var(--card-border);
}
.flxry-pitch .cmp-section,
.flxry-pitch #haeufige-fragen { background: var(--navy-mid); }
.flxry-pitch #pakete,
.flxry-pitch #wie-es-funktioniert { background: var(--navy); }
.flxry-pitch #entwurf-anfragen {
  background: rgba(14, 165, 233, 0.08);
  border-top: 1px solid rgba(14, 165, 233, 0.22);
  border-bottom: 1px solid rgba(14, 165, 233, 0.22);
}
html[data-theme="dark"] .flxry-pitch #entwurf-anfragen {
  background: rgba(34, 211, 238, 0.06);
}
.flxry-pitch .chat-msgs { background: var(--navy-mid); }
.flxry-pitch .pitch-trust {
  background: var(--navy-mid);
  border-top: 1px solid var(--card-border);
  padding: 1.5rem clamp(1rem, 5vw, 2.5rem) 2rem;
}
.flxry-pitch .pitch-trust .trust-row {
  max-width: var(--flxry-content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .5rem;
}
@media (min-width: 540px) {
  .flxry-pitch .pitch-trust .trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .flxry-pitch .pitch-trust .trust-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .625rem; }
}
.flxry-pitch .pitch-trust .trust-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .8rem;
  line-height: 1.4;
  padding: .75rem .875rem;
  border-radius: var(--radius-sm);
}
.flxry-pitch .hero.hero--split {
  min-height: 100dvh;
}

/* Trust-Bar (Garantie-Strip) — Basis 1 Spalte, dann breiter */
.trust-bar {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  padding-inline: max(0px, env(safe-area-inset-left)) max(0px, env(safe-area-inset-right));
}
.trust-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .5rem;
}
@media (min-width: 540px) {
  .trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .trust-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .625rem; }
}
.trust-item {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .8rem; line-height: 1.4; color: var(--muted);
  padding: .75rem .875rem;
  background: rgba(255,255,255,.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.trust-icon {
  width: 16px; height: 16px;
  flex-shrink: 0; margin-top: 1px; color: var(--green);
}

/* ── Schritte – MUSS globale .step-Flex-Row aus flxry-landing überschreiben ── */
.flxry-pitch .pitch-steps,
.flxry-pitch .steps {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: none;
}
.flxry-pitch .steps .step,
.flxry-pitch .pitch-step {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem !important;
  margin: 0 !important;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.flxry-pitch .steps .step:hover,
.flxry-pitch .pitch-step:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.flxry-pitch .steps .step::before,
.flxry-pitch .steps .step .step-line {
  display: none !important;
}
.flxry-pitch .steps .step-num,
.flxry-pitch .pitch-step-num {
  flex-shrink: 0;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: none !important;
  border: none !important;
  display: block !important;
  font-family: var(--font-display), system-ui, sans-serif;
  font-weight: 700 !important;
  font-size: clamp(2.5rem, 4vw, 3.25rem) !important;
  color: var(--flxry-link) !important;
  opacity: 0.55;
  line-height: 1;
  margin: 0 0 1rem !important;
  padding: 0 !important;
  position: static !important;
}
html[data-theme="dark"] .flxry-pitch .steps .step-num {
  color: var(--flxry-link) !important;
  opacity: 0.45;
}
.flxry-pitch .steps .step h3,
.flxry-pitch .pitch-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 .5rem;
  color: var(--text-primary);
  line-height: 1.3;
}
.flxry-pitch .steps .step p,
.flxry-pitch .pitch-step p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}
.flxry-pitch .steps .step-checks,
.flxry-pitch .pitch-step-checks {
  list-style: none;
  margin: .85rem 0 0;
  padding: 0;
  width: 100%;
}
.flxry-pitch .steps .step-checks li,
.flxry-pitch .pitch-step-checks li {
  font-size: .85rem;
  color: var(--text-dim);
  padding: .28rem 0;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.flxry-pitch .steps .step-checks li::before,
.flxry-pitch .pitch-step-checks li::before {
  content: '✓';
  color: var(--flxry-link);
  font-weight: 700;
  flex-shrink: 0;
}

/* Alt-Why-Block: nur noch Farben, Layout steuert .flxry-pitch Regeln */
.why-band { color: #f8fafc; }
.why-h2 { font-weight: 700; }
.why-sub { max-width: 540px; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.125rem; }
.why-card { border-radius: var(--r); padding: 1.75rem 1.5rem; }
.why-card-icon { width: 40px; height: 40px; margin-bottom: 1rem; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.why-card-icon svg { width: 20px; height: 20px; fill: currentColor; }
.why-card h3 { font-size: .9375rem; font-weight: 600; margin-bottom: .375rem; }
.why-card p { font-size: .85rem; line-height: 1.65; }

/* ── Wettbewerbsvergleich ───────────────────────────────────────── */
.cmp-section {
  background: var(--navy-mid, var(--cream));
  border-top: 1px solid var(--card-border, var(--border));
  scroll-margin-top: calc(clamp(5.5rem, 12vw, 7.5rem) + 1rem);
}
.cmp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.125rem;
  margin-bottom: 0;
  align-items: stretch;
}
.cmp-card {
  background: var(--card-bg, var(--white));
  border: 1px solid var(--card-border, var(--border));
  border-radius: var(--radius, var(--rr));
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: box-shadow .2s, transform .15s, border-color .15s;
}
.cmp-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cmp-card.is-bad { opacity: .88; }
.cmp-card.is-good { border-color: var(--green); box-shadow: 0 6px 28px rgba(3,105,161,.12); }
.cmp-best-badge {
  position: absolute; top: -1px; right: 16px;
  background: var(--green); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  padding: .3rem .875rem; border-radius: 0 0 10px 10px;
}
.cmp-label { font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.cmp-label.is-good { color: var(--flxry-link); }
.cmp-price-row { display: flex; align-items: baseline; gap: .375rem; margin-bottom: .2rem; }
.cmp-price {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 700;
  font-size: 2.125rem; line-height: 1; color: var(--text-primary);
}
.cmp-price.bad { color: var(--text-primary); }
.cmp-price.good { color: var(--flxry-link); }
.cmp-per { font-size: .8rem; color: var(--muted); }
.cmp-year { font-size: .76rem; color: var(--muted); margin-bottom: 1.125rem; line-height: 1.5; }
.cmp-list { list-style: none; }
.cmp-list li {
  font-size: .84rem; padding: .28rem 0;
  display: flex; align-items: flex-start; gap: .5rem;
  border-bottom: 1px solid var(--border); line-height: 1.5; color: var(--muted);
}
.cmp-list li:last-child { border: none; }
.cmp-list li.no::before { content: '–'; color: var(--text-dim); font-weight: 700; flex-shrink: 0; }
.cmp-list li.ok::before { content: '✓'; color: var(--flxry-link); font-weight: 700; flex-shrink: 0; }
.savings-bar {
  background: var(--green-pale); border: 1px solid var(--green-border);
  border-radius: var(--r); padding: 1.625rem 1.75rem; text-align: center;
}
.savings-eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--green); margin-bottom: .875rem; display: block;
}
.savings-row { display: flex; gap: 2.25rem; justify-content: center; flex-wrap: wrap; margin-bottom: .75rem; }
.saving-item { display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.saving-lbl { font-size: .76rem; color: var(--muted); }
.saving-amt { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 700; font-size: 1.875rem; color: var(--green); line-height: 1; }
.savings-note { font-size: .76rem; color: var(--muted); max-width: 440px; margin: 0 auto; line-height: 1.65; }

/* ── Pakete ─────────────────────────────────────────────────────── */
#pakete {
  scroll-margin-top: calc(clamp(5.5rem, 12vw, 7.5rem) + 1rem);
}
.pkg-wrap { max-width: var(--flxry-content-max); margin: 0 auto; width: 100%; }
.pkg-header { text-align: center; }
.pkg-header .section-sub { margin-left: auto; margin-right: auto; }
.pkg-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pkg-grid > .pkg-card { min-width: 0; height: 100%; }
.pkg-pflege-solo {
  margin-top: 1.25rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.pkg-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 22px; padding: 2.125rem 1.875rem;
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .15s, border-color .2s;
}
.pkg-card:hover { box-shadow: 0 8px 32px rgba(22,20,15,.1); transform: translateY(-2px); }
.pkg-card.is-pflege { border-color: var(--green); box-shadow: 0 6px 28px rgba(3,105,161,.13); }
.pkg-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--flxry-link); margin-bottom: .5rem; }
.pkg-name { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 700; font-size: 1.45rem; margin-bottom: 1.125rem; color: var(--text-primary); line-height: 1.15; }
.pkg-price-row { display: flex; align-items: baseline; gap: .375rem; margin-bottom: .25rem; }
.pkg-price { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 700; font-size: 2.5rem; color: var(--flxry-link); line-height: 1; }
.pkg-per { font-size: 13px; color: var(--muted); }
.pkg-pflege-price-row { display: flex; align-items: center; gap: .5rem; animation: fadein .2s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.pkg-pflege-badge { background: var(--green-pale); color: var(--green); border: 1px solid var(--green-border); font-size: 12px; font-weight: 700; padding: .2rem .75rem; border-radius: 100px; }
.pkg-pflege-lbl { font-size: 11.5px; color: var(--muted); }
.pkg-sub { font-size: .875rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.125rem; }
.pkg-features { list-style: none; flex: 1; margin-bottom: 1.375rem; }
.pkg-features li {
  font-size: .875rem; color: var(--muted); padding: .325rem 0;
  display: flex; align-items: flex-start; gap: .5rem;
  border-bottom: 1px solid var(--border); line-height: 1.5;
}
.pkg-features li:last-child { border: none; }
.pkg-features li::before { content: '✓'; color: var(--flxry-link); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pkg-features li.feat-self::before,
.pkg-features li.feat-note::before { content: '→'; color: var(--muted); opacity: .5; }
.pkg-features li.feat-self,
.pkg-features li.feat-note { opacity: .6; }
.pkg-features li.feat-addon { animation: fadein .25s ease; }
.pflege-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: .875rem;
  background: var(--cream); border: 1.5px solid var(--border);
  border-radius: 12px; padding: .875rem 1.125rem; margin-bottom: 1.125rem;
  cursor: pointer; transition: border-color .2s, background .2s; user-select: none;
}
.pflege-toggle:hover { border-color: var(--green-border); background: var(--green-pale); }
.pkg-card.is-pflege .pflege-toggle { border-color: var(--green); background: var(--green-pale); }
.pflege-toggle-label { flex: 1; min-width: 0; }
.pflege-toggle-title { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.pflege-toggle-sub { font-size: 11.5px; color: var(--muted); }
.toggle-track { width: 44px; height: 24px; border-radius: 12px; background: var(--border); flex-shrink: 0; position: relative; transition: background .2s; }
.toggle-track[aria-checked="true"] { background: var(--green); }
.toggle-thumb { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); transition: transform .2s; }
.toggle-track[aria-checked="true"] .toggle-thumb { transform: translateX(20px); }
/* Pflege Infobox */
.pflege-infobox {
  background: linear-gradient(155deg, #14120e 0%, #1a241c 42%, #161c18 100%);
  border: 1px solid rgba(34,211,238,.18);
  border-radius: 20px; padding: 1.625rem;
  margin-top: 1.625rem; display: none;
  animation: fadein .25s ease;
}
.pflege-infobox.visible { display: block; }
.pflege-infobox-head { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; margin-bottom: 1.25rem; padding-bottom: 1.125rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.pflege-infobox-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(34,211,238,.12); border: 1px solid rgba(34,211,238,.22); display: flex; align-items: center; justify-content: center; color: #67e8f9; flex-shrink: 0; }
.pflege-infobox-icon svg { width: 24px; height: 24px; display: block; }
.pflege-infobox-title { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 700; font-size: clamp(1.25rem, 2.8vw, 1.55rem); font-weight: 400; color: #f5f0e8; line-height: 1.2; margin: 0 0 .375rem; }
.pflege-infobox-lead { font-size: .8rem; color: rgba(245,240,232,.55); line-height: 1.55; margin: 0 0 .75rem; }
.sorglos-meta { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.sorglos-meta li { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(245,240,232,.72); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); padding: .3rem .65rem; border-radius: 100px; }
.sorglos-meta li.is-price { color: #67e8f9; border-color: rgba(34,211,238,.35); background: rgba(34,211,238,.1); }
.sorglos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .625rem; list-style: none; }
.si-card { display: flex; gap: .625rem; align-items: flex-start; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: .75rem .875rem; transition: background .2s, transform .15s; }
.si-card:hover { background: rgba(255,255,255,.07); transform: translateY(-1px); }
.si-ic { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.18); color: #22d3ee; display: flex; align-items: center; justify-content: center; }
.si-ic svg { width: 17px; height: 17px; fill: currentColor; display: block; }
.si-text { font-size: .79rem; color: rgba(245,240,232,.88); line-height: 1.45; padding-top: 2px; }
.pkg-btn {
  display: flex; align-items: center; justify-content: center;
  text-align: center; background: var(--green); color: #fff;
  padding: .9rem 1.5rem; border-radius: 10px; font-size: .9375rem; font-weight: 600;
  text-decoration: none; transition: background .15s, transform .1s;
  box-shadow: 0 3px 12px rgba(3,105,161,.2); margin-top: auto; min-height: 48px;
}
.pkg-btn:hover { background: var(--green-mid); transform: translateY(-1px); }
.pkg-legal { font-size: 11px; color: var(--muted); text-align: center; margin-top: .5rem; line-height: 1.6; opacity: .75; }
.pkg-trust { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; margin-top: 2.25rem; padding-top: 2.25rem; border-top: 1px solid var(--border); }
.pkg-trust-item { display: flex; align-items: center; gap: .45rem; font-size: .8125rem; color: var(--muted); }
.pkg-trust-icon { color: var(--green); flex-shrink: 0; }

/* ── Chat-Sektion ───────────────────────────────────────────────── */
#entwurf-anfragen {
  scroll-margin-top: calc(clamp(5.5rem, 12vw, 7.5rem) + 1rem);
}
#chat { scroll-margin-top: calc(clamp(5.5rem, 12vw, 7.5rem) + 1rem + env(safe-area-inset-top, 0px)); }
.chat-wrap { max-width: 700px; margin: 0 auto; width: 100%; }
.chat-header { text-align: center; margin-bottom: 1.75rem; }
.chat-header .section-h2 { margin-bottom: .5rem; }
.chat-header p { color: var(--text-muted, var(--muted)); font-size: .9375rem; line-height: 1.65; max-width: 36rem; margin: 1rem auto 0; }
.chat-box {
  background: var(--card-bg, var(--white));
  border: 1px solid var(--card-border, var(--border));
  border-radius: var(--radius, 16px);
  box-shadow: var(--shadow-card, var(--shadow-sm, none));
  overflow: hidden; display: flex; flex-direction: column;
  width: 100%;
  min-height: 420px;
  height: auto;
  max-height: min(640px, 78dvh);
}
.chat-topbar {
  background: var(--navy-mid, var(--cream));
  border-bottom: 1px solid var(--card-border, var(--border));
  padding: .9rem 1.15rem;
  display: flex; align-items: center; gap: .875rem; flex-shrink: 0;
}
.chat-avatar {
  width: 40px; height: 40px; border-radius: 10px;
  background: color-mix(in srgb, var(--flxry-link) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--flxry-link) 28%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; font-weight: 700; color: var(--flxry-link); letter-spacing: .02em;
  flex-shrink: 0; overflow: hidden;
}
.chat-avatar--logo {
  padding: 0.35rem;
  background: var(--card-bg, #fff);
}
.chat-avatar--logo img {
  width: 100%; height: auto; max-height: 22px; object-fit: contain; display: block;
}
.chat-avatar--logo .logo-on-dark { display: none; }
html[data-theme="dark"] .chat-avatar--logo .logo-on-light { display: none; }
html[data-theme="dark"] .chat-avatar--logo .logo-on-dark { display: block; }
.chat-name { font-size: .9rem; font-weight: 700; color: var(--text-primary); }
.chat-status { font-size: .72rem; color: var(--text-dim, var(--muted)); margin-top: 2px; }
.chat-dot { display: none; }
.chat-quick {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  padding: 0.65rem 1rem 0.85rem;
  border-top: 1px solid var(--card-border, var(--border));
  background: var(--navy, var(--paper));
  flex-shrink: 0;
}
.chat-quick[hidden] { display: none !important; }
.chat-chip {
  appearance: none; cursor: pointer;
  font-family: inherit; font-size: 0.78rem; font-weight: 600;
  color: var(--flxry-link);
  background: color-mix(in srgb, var(--flxry-link) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--flxry-link) 32%, transparent);
  border-radius: var(--radius-sm, 12px);
  padding: 0.45rem 0.75rem;
  min-height: 36px;
  transition: background .15s, border-color .15s, color .15s;
}
.chat-chip:hover {
  background: color-mix(in srgb, var(--flxry-link) 16%, transparent);
  border-color: color-mix(in srgb, var(--flxry-link) 50%, transparent);
  color: var(--flxry-link-hover);
}
.chat-msgs {
  flex: 1 1 auto;
  min-height: 200px;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  background: var(--navy-mid);
}
.chat-msgs::-webkit-scrollbar { width: 3px; }
.chat-msgs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.msg { display: flex; flex-direction: column; max-width: 82%; animation: msg-in .22s ease; }
.msg.bot { align-self: flex-start; }
.msg.user { align-self: flex-end; align-items: flex-end; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.msg-bubble { padding: .7rem 1rem; border-radius: 16px; font-size: .9rem; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.msg.bot .msg-bubble { background: var(--white); border: 1px solid var(--border); border-bottom-left-radius: 4px; color: var(--ink); box-shadow: var(--shadow-sm); }
.msg.user .msg-bubble { background: var(--green); color: #fff; border-bottom-right-radius: 4px; }
.msg-time { font-size: .67rem; color: var(--muted); margin-top: .25rem; padding: 0 3px; }
.typing { display: flex; gap: 5px; align-items: center; padding: .75rem 1rem; background: var(--white); border: 1px solid var(--border); border-radius: 16px; border-bottom-left-radius: 4px; width: fit-content; box-shadow: var(--shadow-sm); }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: dot-b .9s infinite; opacity: .6; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot-b { 0%,60%,100% { transform: translateY(0); opacity: .6; } 30% { transform: translateY(-7px); opacity: 1; } }
.chat-footer {
  background: var(--card-bg, var(--white)); border-top: 1px solid var(--card-border, var(--border)); display: flex; gap: .625rem; align-items: flex-end; flex-shrink: 0;
  padding: .75rem;
}
.chat-input { flex: 1; border: 1.5px solid var(--card-border, var(--border)); border-radius: 10px; padding: .7rem 1rem; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: .9rem; color: var(--text-primary, var(--ink)); background: var(--navy, var(--paper)); outline: none; resize: none; max-height: 120px; line-height: 1.5; transition: border-color .15s; }
.chat-input:focus { border-color: var(--flxry-link, var(--green)); }
.chat-send { width: 44px; height: 44px; flex-shrink: 0; background: var(--btn-primary-bg, var(--green)); border: none; border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s, transform .1s; }
.chat-send:hover { background: var(--btn-primary-hover, var(--green-mid)); transform: translateY(-1px); }
.chat-send:disabled { background: var(--border); cursor: not-allowed; transform: none; }
.chat-send svg { width: 18px; height: 18px; fill: #fff; }
/* DSGVO-Hinweis VOR dem Chat */
.chat-dsgvo-hint {
  background: rgba(3,105,161,.08); border: 1px solid var(--green-border);
  border-radius: 10px; padding: .75rem 1rem;
  font-size: .78rem; color: var(--muted); line-height: 1.6;
  margin-bottom: 1rem; text-align: center;
}
.chat-dsgvo-hint a { color: var(--flxry-link); }
/* Lead CTA */
.lead-cta { background: var(--white); border: 2px solid var(--green); border-radius: var(--r); padding: 1.5rem 1.625rem; margin-top: 1.125rem; animation: msg-in .3s ease; }
.lead-cta h3 { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--green); margin-bottom: .375rem; }
.lead-cta p { font-size: .875rem; color: var(--muted); line-height: 1.65; margin-bottom: .875rem; }
.lead-badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.lead-badge { background: var(--green-pale); border: 1px solid var(--green-border); color: var(--green); font-size: .73rem; font-weight: 600; padding: .2rem .7rem; border-radius: 100px; }
.lead-cta-btn { display: inline-flex; align-items: center; gap: .5rem; background: var(--green); color: #fff; padding: .875rem 1.875rem; border-radius: 10px; font-size: 1rem; font-weight: 600; text-decoration: none; transition: background .15s, transform .1s; box-shadow: 0 4px 16px rgba(3,105,161,.25); }
.lead-cta-btn:hover { background: var(--green-mid); transform: translateY(-1px); }

/* ── FAQ ────────────────────────────────────────────────────────── */
/* ── FAQ ────────────────────────────────────────────────────────── */
#haeufige-fragen {
  scroll-margin-top: calc(clamp(5.5rem, 12vw, 7.5rem) + 1rem);
  position: relative;
}
.faq-inner { max-width: 720px; margin: 0 auto; width: 100%; }
.faq-list { margin-top: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
details summary {
  padding: 1.125rem 0; font-size: .9625rem; font-weight: 600;
  color: var(--text-primary);
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; list-style: none;
  user-select: none; transition: color .15s;
  min-height: 48px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; font-size: 1.35rem; color: var(--flxry-link); flex-shrink: 0; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details[open] summary { color: var(--flxry-link); }
.faq-answer { padding: 0 0 1.25rem; font-size: .9rem; color: var(--text-muted); line-height: 1.75; }

/* ── WhatsApp (mobil): fixed + bottom per JS bei Footer/Chat — transition: bottom */
#wa-fab.wa-fab {
  position: fixed;
  right: max(1rem, calc(0.375rem + env(safe-area-inset-right, 0px)));
  bottom: max(1rem, calc(0.375rem + env(safe-area-inset-bottom, 0px)));
  z-index: 85;
  width: 56px; height: 56px; min-width: 56px;
  background: #25D366; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,.42);
  text-decoration: none;
  transition: bottom .25s ease, opacity .2s ease, visibility .2s ease, transform .2s, box-shadow .2s;
}
#wa-fab.wa-fab.wa-fab--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* Sichtbar nur auf echten Mobilgeräten (Klasse setzt JS, nicht die Viewport-Breite) */
html.wa-fab-on #wa-fab.wa-fab {
  display: flex;
}
#wa-fab.wa-fab:hover { transform: scale(1.06); box-shadow: 0 6px 22px rgba(37,211,102,.55); }
#wa-fab.wa-fab svg { width: 28px; height: 28px; fill: #fff; }
#wa-fab.wa-fab:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@keyframes wa-pulse { 0%,100% { box-shadow: 0 4px 18px rgba(37,211,102,.42); } 50% { box-shadow: 0 4px 26px rgba(37,211,102,.65); } }
.wa-pulse { animation: wa-pulse 2.4s ease-in-out infinite; }

/* ── Responsive (Breakpoints wie flexary.de) ─────────────────────── */
@media (max-width: 900px) {
  .cmp-grid { grid-template-columns: 1fr; }
  .pkg-grid { grid-template-columns: 1fr; }
  .flxry-pitch .steps,
  .flxry-pitch .pitch-steps { grid-template-columns: 1fr 1fr; }
  .flxry-pitch .why-grid,
  .flxry-pitch .pitch-why-grid { grid-template-columns: 1fr 1fr; }
  .flxry-pitch .section,
  .flxry-pitch #pakete,
  .flxry-pitch .cmp-section,
  .flxry-pitch #haeufige-fragen,
  .flxry-pitch #entwurf-anfragen,
  .flxry-pitch .why-band {
    padding-top: clamp(2.75rem, 8vw, 4rem);
    padding-bottom: clamp(2.75rem, 8vw, 4rem);
  }
  .flxry-pitch .section-h2,
  .flxry-pitch .why-h2 {
    font-size: clamp(1.55rem, 6vw, 2.1rem);
    line-height: 1.2;
  }
  .flxry-pitch .cmp-card,
  .flxry-pitch .pkg-card,
  .flxry-pitch .steps .step,
  .flxry-pitch .pitch-step {
    padding: 1.5rem 1.25rem;
  }
}
@media (max-width: 720px) {
  .sorglos-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .flxry-pitch .steps,
  .flxry-pitch .pitch-steps,
  .flxry-pitch .why-grid,
  .flxry-pitch .pitch-why-grid,
  .why-grid { grid-template-columns: 1fr; }
  .chat-wrap { max-width: 100%; }
  .chat-box { height: auto; min-height: 380px; max-height: min(70dvh, 560px); }
  .savings-row { gap: 1.25rem; }
  .saving-amt { font-size: 1.5rem; }
  .flxry-pitch .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .flxry-pitch .hero-actions .btn-p,
  .flxry-pitch .hero-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }
  .flxry-pitch .cmp-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .flxry-pitch .cmp-cta .btn-primary,
  .flxry-pitch .cmp-cta .btn-outline {
    width: 100%;
    justify-content: center;
  }
  .chat-input { font-size: 1rem; }
}
@media (max-width: 540px) {
  .sorglos-grid { grid-template-columns: 1fr; }
  .flxry-pitch .chat-quick {
    gap: 0.4rem;
  }
  .flxry-pitch .chat-chip {
    flex: 1 1 calc(50% - 0.4rem);
    justify-content: center;
    text-align: center;
  }
}
@media (max-width: 420px) {
  .chat-box { height: auto; min-height: 360px; max-height: min(68dvh, 520px); }
  .pkg-card { padding: 1.5rem 1.25rem; }
  .cmp-card { padding: 1.35rem 1.15rem; }
  .pflege-infobox-head { grid-template-columns: 1fr; text-align: center; }
  .pflege-infobox-icon { margin: 0 auto; }
  .sorglos-meta { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chat-dot, .wa-pulse { animation: none !important; }
  .pkg-btn:hover, .nav-cta:hover, .btn-p:hover { transform: none; }
}
