/* ===== vera Preisliste — Design System =====
   Hinweis: Markenfarbe/Schrift sind aus dem Auftritt von vera.peoplex.at
   abgeleitet (kein exaktes CSS verfügbar) und über die Tweaks anpassbar. */

:root {
  --brand: #004060;           /* vera Primär — petrol */
  /* abgeleitete Töne (harmonieren mit jeder Markenfarbe) */
  --brand-deep: color-mix(in srgb, var(--brand) 80%, #000);
  --brand-soft: color-mix(in srgb, var(--brand) 13%, #fff);
  --brand-tint: color-mix(in srgb, var(--brand) 6%, #fff);

  --accent: #F5C400;          /* vera Akzent — gold (CTAs) */
  --accent-deep: color-mix(in srgb, var(--accent) 86%, #000);
  --accent-ink: #143240;      /* dunkler Text auf Gelb */

  --ink: #001828;             /* Text dunkel, vera ink */
  --ink-2: #3D5468;           /* Fließtext */
  --muted: #6c8092;
  --line: #dde6ec;
  --line-soft: #e9eff3;

  --bg: #f4f7fa;              /* kühles Hellgrau-Blau (Website-Hintergrund) */
  --surface: #ffffff;
  --surface-2: #f7fafc;

  --yes: #1c9c57;            /* grünes Häkchen */
  --yes-bg: #e6f5ec;
  --no: #d2574b;             /* rotes X */
  --no-bg: #fbece9;

  --gold: var(--accent);

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10,40,60,.05), 0 1px 3px rgba(10,40,60,.04);
  --shadow-md: 0 4px 16px rgba(10,40,60,.08), 0 2px 6px rgba(10,40,60,.05);
  --shadow-lg: 0 24px 60px -18px rgba(10,63,94,.32), 0 8px 24px rgba(10,40,60,.10);

  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo-img { height: 30px; width: auto; display: block; }
.logo-text { font-weight: 800; font-size: 26px; letter-spacing: -.03em; display: inline-flex; align-items: baseline; }
.logo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; margin-left: 3px; }
.topnav { display: flex; align-items: center; gap: 22px; }
.topnav a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; transition: color .15s; position: relative; }
.topnav a:hover { color: var(--brand); }
.topnav a.current { color: var(--brand); }
.topnav a.current::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -26px; height: 3px;
  background: var(--accent); border-radius: 3px 3px 0 0;
}

/* hamburger + mobile menu */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2.5px; background: var(--brand); border-radius: 2px; transition: .2s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column; gap: 4px; padding: 0 28px;
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  background: var(--surface); border-bottom: 1px solid var(--line-soft);
}
.mobile-menu.open { max-height: 480px; padding: 12px 28px 22px; }
.mobile-menu a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 16px; padding: 12px 4px; border-bottom: 1px solid var(--line-soft); }
.mobile-menu a.current { color: var(--brand); }
.mobile-menu .btn { border-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-weight: 600; font-size: 15.5px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-tint); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 17px; }

/* ---------- Eyebrow + headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700;
  color: var(--brand-deep);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.08; margin: 0; font-weight: 800; font-family: var(--font-head); }
.display { font-size: clamp(34px, 4.6vw, 52px); }
.display em { font-style: normal; color: var(--accent-deep); font-weight: 800; }
.h2 { font-size: clamp(28px, 3.6vw, 40px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 60ch; }

/* ---------- Hero (spezifisch, um globale .hero aus vera-style.css zu überschreiben) ---------- */
.vera-preise main#main-content { padding-top: 68px; }
.vera-preise .hero { padding: 8px 0 16px; text-align: center; min-height: 0; display: block; position: static; }
.vera-preise .hero::before, .vera-preise .hero::after { display: none; }
.vera-preise .hero .display { max-width: 16ch; margin: 10px auto 12px; }
.vera-preise .hero .lead { margin: 0 auto; }

/* ---------- Billing toggle ---------- */
.billing { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 30px 0 6px; flex-wrap: wrap; }
.seg {
  display: flex; background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px; box-shadow: var(--shadow-sm); position: relative;
}
.seg button {
  position: relative; z-index: 2; border: 0; background: transparent; cursor: pointer;
  flex: 1 1 0; min-width: 112px;
  font-family: inherit; font-weight: 600; font-size: 15px; color: var(--ink-2);
  padding: 9px 20px; border-radius: 999px; transition: color .2s;
}
.seg button.active { color: #fff; }
.seg .thumb {
  position: absolute; z-index: 1; top: 5px; bottom: 5px; left: 5px;
  width: calc((100% - 10px) / 2);
  background: var(--brand); border-radius: 999px; transition: transform .28s cubic-bezier(.4,1.2,.5,1);
}
.save-pill {
  font-size: 13px; font-weight: 700; color: var(--brand-deep);
  background: var(--brand-soft); border-radius: 999px; padding: 6px 12px;
}

/* ---------- Plan cards ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 18px 0 8px; align-items: stretch; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 26px 26px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan.best {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, var(--brand-tint), var(--surface) 30%);
}
.plan .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--accent-ink); font-size: 12.5px; font-weight: 800;
  letter-spacing: .02em; padding: 6px 14px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 6px 16px -7px color-mix(in srgb, var(--accent) 80%, transparent);
}
.plan h3 { font-size: 23px; }
.plan .tagline { color: var(--brand-deep); font-weight: 600; font-size: 14px; margin-top: 4px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 2px; flex-wrap: wrap; }
.plan .price .from { font-size: 14px; color: var(--muted); font-weight: 600; }
.plan .price .amount { font-size: 44px; font-weight: 800; letter-spacing: -.03em; }
.plan .price .per { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan .price .amount-individual { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--brand); }
.plan .price-note { font-size: 13px; color: var(--muted); min-height: 18px; }
.plan .desc { color: var(--ink-2); font-size: 15px; margin: 14px 0 18px; }
.plan .metrics { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.plan .metric { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.plan .metric svg { color: var(--brand); flex: none; }
.plan .metric b { font-weight: 700; }
.plan .cta-row { margin-top: auto; }
.plan .cta-row .btn { width: 100%; }
.plan .count-chip {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  background: var(--surface-2); border: 1px solid var(--line-soft);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}
.plan .count-chip b { color: var(--brand-deep); }

/* ---------- Section ---------- */
.section { padding: 56px 0; }
.section-head { text-align: center; margin-bottom: 8px; }
.section-head .h2 { margin-top: 14px; }
.section-head .lead { margin: 14px auto 0; }

/* ---------- Comparison: table variant ---------- */
.cmp-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.cmp-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.cmp-toolbar .left { display: flex; align-items: center; gap: 10px; }
.legend { display: flex; align-items: center; gap: 16px; font-size: 13.5px; color: var(--ink-2); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.tool-btn {
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
  padding: 7px 14px; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--ink-2);
  cursor: pointer; transition: all .15s;
}
.tool-btn:hover { border-color: var(--brand); color: var(--brand-deep); }

.cmp-table { width: 100%; }
.cmp-row-head {
  position: sticky; top: 72px; z-index: 20; background: var(--surface);
  display: grid; grid-template-columns: var(--cmp-cols); border-bottom: 1px solid var(--line);
}
.cmp-row-head .feat { padding: 16px 20px; }
.cmp-row-head .col {
  padding: 16px 12px; text-align: center; border-left: 1px solid var(--line-soft);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.cmp-row-head .col.best { background: var(--brand-tint); }
.cmp-row-head .col .pname { font-weight: 800; font-size: 16px; }
.cmp-row-head .col .pprice { font-size: 13px; color: var(--muted); font-weight: 600; }
.cmp-row-head .col .pprice-individual { color: var(--brand); }

.grp { border-bottom: 1px solid var(--line-soft); }
.grp:last-child { border-bottom: 0; }
.grp-head {
  display: grid; grid-template-columns: var(--cmp-cols);
  cursor: pointer; user-select: none; background: var(--surface-2);
  transition: background .15s;
}
.grp-head:hover { background: var(--brand-tint); }
.grp-head .feat { padding: 14px 20px; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15.5px; }
.grp-head .gicon { font-size: 18px; line-height: 1; }
.grp-head .chev { transition: transform .25s; color: var(--muted); display: inline-flex; }
.grp-head.collapsed .chev { transform: rotate(-90deg); }
.grp-head .gcount { flex-shrink: 0; margin-left: auto; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--surface); border: 1px solid var(--line-soft); border-radius: 50%; padding: 0; }
.grp-head .col { border-left: 1px solid var(--line-soft); }
.grp-head .col.best { background: color-mix(in srgb, var(--brand-soft) 60%, transparent); }

.grp-body { overflow: hidden; }
.frow {
  display: grid; grid-template-columns: var(--cmp-cols);
  border-top: 1px solid var(--line-soft);
}
.frow:hover { background: var(--surface-2); }
.frow .feat { padding: 12px 20px 12px 50px; display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.frow .cell {
  border-left: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: center;
  padding: 12px 8px;
}
.frow .cell.best { background: color-mix(in srgb, var(--brand-tint) 70%, transparent); }

.note-badge {
  font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 999px; flex: none;
}
.note-Pflichtmodul { background: #eef0fb; color: #4a51c4; }
.note-Basismodul { background: var(--brand-soft); color: var(--brand-deep); }
.note-Optional { background: #f0f1ee; color: var(--muted); }
.note-soon { background: #fbf2e4; color: #a9781f; }

/* check / cross marks */
.mark { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.mark.yes { background: var(--yes-bg); color: var(--yes); }
.mark.no { background: var(--no-bg); color: var(--no); }
.mark svg { width: 15px; height: 15px; }
.cell .qty { font-size: 13.5px; font-weight: 700; color: var(--ink); text-align: center; }
.qty.unlimited { color: var(--brand-deep); }

/* ---------- Comparison: cards-per-module variant ---------- */
.cmp-cards { display: grid; gap: 18px; }
.mod-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.mod-card-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); cursor: pointer; }
.mod-card-head .gicon { font-size: 20px; }
.mod-card-head h3 { font-size: 17px; }
.mod-card-head .gcount { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--muted); }
.mod-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); }
.mod-grid .gh { padding: 11px 14px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); text-align: center; border-bottom: 1px solid var(--line-soft); }
.mod-grid .gh.feat { text-align: left; }
.mod-grid .gh.best { color: var(--brand-deep); }
.mod-grid .fr { display: contents; }
.mod-grid .fc { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; }
.mod-grid .fc.center { justify-content: center; }
.mod-grid .fc.best { background: var(--brand-tint); }
.mod-grid .fr:last-child .fc { border-bottom: 0; }
.mod-grid .fc.feat { font-size: 14px; color: var(--ink-2); gap: 8px; }

/* ---------- Disclaimer ---------- */
.disclaimer {
  background: linear-gradient(180deg, var(--brand-tint), var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  border-radius: var(--radius-lg); padding: 28px 30px; display: flex; gap: 20px; align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.disclaimer .di {
  flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--brand);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.disclaimer h3 { font-size: 18px; margin-bottom: 8px; }
.disclaimer p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.disclaimer p + p { margin-top: 10px; }
.disclaimer b { color: var(--ink); }

/* ---------- CTA ---------- */
.cta {
  text-align: center; background: var(--ink); color: #fff; border-radius: var(--radius-lg);
  padding: 56px 32px; position: relative; overflow: hidden;
}
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% -10%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 60%); }
.cta > * { position: relative; }
.cta .h2 { color: #fff; }
.cta .h2 em { color: var(--accent); font-style: normal; }
.cta .lead { color: rgba(255,255,255,.78); margin: 14px auto 26px; }
.cta .sub { color: rgba(255,255,255,.6); font-size: 14px; margin-top: 14px; }
.cta .btn-primary { background: var(--accent); color: var(--accent-ink); }
.cta .btn-primary:hover { background: var(--accent-deep); }

/* ---------- Footer ---------- */
.footer { background: var(--brand); color: rgba(255,255,255,.7); margin-top: 8px; }
.footer .footer-inner {
  display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px;
  padding: 56px 28px 40px; align-items: start;
}
.footer-brand .logo-img { height: 30px; }
.footer-brand p { margin: 16px 0 20px; font-size: 14.5px; line-height: 1.6; max-width: 38ch; color: rgba(255,255,255,.72); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.footer-col a { display: block; text-decoration: none; color: rgba(255,255,255,.72); font-size: 14.5px; padding: 6px 0; transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 20px 28px 30px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px;
}
.footer-bottom a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }
.footer-legal { display: flex; gap: 20px; }

/* ---------- Mobile note ---------- */
.mobile-hint { display: none; }

@media (max-width: 980px) {
  .topnav { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
}

@media (max-width: 880px) {
  .plans { grid-template-columns: 1fr; }
  .cmp-row-head, .grp-head, .frow { grid-template-columns: var(--cmp-cols-m); }
  .frow .feat { padding-left: 24px; }
  .cmp-card { overflow-x: auto; }
  .mobile-hint { display: block; text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; }
  .footer .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
