/* ==========================================================================
   neugegruendet.ch — Stylesheet
   Modern, responsive, accessible. Light + Dark ready.
   ========================================================================== */

:root {
  --brand-50:  #ecfdf5;
  --brand-100: #d1fae5;
  --brand-500: #10b981;
  --brand-600: #059669;
  --brand-700: #047857;
  --sky-500:   #0ea5e9;
  --sky-600:   #0284c7;

  --ink-900: #0f172a;
  --ink-800: #1e293b;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;
  --ink-50:  #f8fafc;
  --white:   #ffffff;

  --bg: var(--white);
  --surface: var(--white);
  --text: var(--ink-800);
  --muted: var(--ink-500);
  --border: var(--ink-200);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, .08), 0 12px 32px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .14);
  --gradient: linear-gradient(120deg, var(--brand-500), var(--sky-500));
  --gradient-soft: linear-gradient(160deg, var(--brand-50), #eff6ff);
  --maxw: 1140px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

h1, h2, h3, h4 { color: var(--ink-900); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { margin: 0 0 1rem; }
a  { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand-700); margin-bottom: .8rem;
}
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--gradient); color: #fff; box-shadow: 0 8px 20px rgba(16,185,129,.35); }
.btn--primary:hover { box-shadow: 0 12px 28px rgba(16,185,129,.45); }
.btn--ghost { background: var(--white); color: var(--ink-900); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn--light { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.4); }
.btn--light:hover { background: rgba(255,255,255,.26); }
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 17px 32px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 36px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: var(--ink-700); font-weight: 600; font-size: .97rem; }
.nav__links a:hover { color: var(--brand-700); text-decoration: none; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink-800); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--gradient-soft); padding: 96px 0 80px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border);
  color: var(--ink-700); font-weight: 600; font-size: .85rem; padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.hero .badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-500); box-shadow: 0 0 0 4px rgba(16,185,129,.18); }
.hero h1 { margin-top: 20px; }
.hero h1 .grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin-top: 6px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__trust { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero__trust div { display: flex; flex-direction: column; }
.hero__trust b { font-size: 1.5rem; color: var(--ink-900); font-weight: 800; }
.hero__trust span { font-size: .85rem; color: var(--muted); }

/* Hero preview card (mock company list) */
.preview {
  background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 20px; transform: rotate(.6deg);
}
.preview__head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 14px; border-bottom: 1px solid var(--ink-100); }
.preview__head strong { color: var(--ink-900); }
.preview__head .live { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--brand-700); font-weight: 700; }
.preview__head .live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-500); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.company { display: flex; align-items: center; gap: 14px; padding: 13px 6px; border-bottom: 1px solid var(--ink-100); }
.company:last-child { border-bottom: 0; }
.company__logo { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; }
.company__meta { min-width: 0; }
.company__meta b { display: block; color: var(--ink-900); font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.company__meta span { font-size: .82rem; color: var(--muted); }
.company .vip { margin-left: auto; font-size: .68rem; font-weight: 800; letter-spacing: .05em; color: #92600a; background: #fef3c7; border: 1px solid #fde68a; padding: 4px 9px; border-radius: 999px; flex: none; }

/* ---------- Logos / trust bar ---------- */
.sources { padding: 34px 0; border-bottom: 1px solid var(--border); }
.sources p { text-align: center; color: var(--muted); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; margin-bottom: 16px; }
.sources__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; align-items: center; }
.sources__row span { color: var(--ink-500); font-weight: 800; font-size: 1.1rem; opacity: .8; }

/* ---------- Feature cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); margin-bottom: 18px; }
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 30px; background: var(--ink-50); border-radius: var(--radius); border: 1px solid var(--border); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--gradient); color: #fff; font-weight: 800; margin-bottom: 16px;
}
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 900px; margin: 0 auto; }
.price {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: 22px;
  padding: 38px 34px; box-shadow: var(--shadow-md); display: flex; flex-direction: column;
}
.price--featured { border: 2px solid var(--brand-500); box-shadow: var(--shadow-lg); }
.price__tag { position: absolute; top: -14px; left: 34px; background: var(--gradient); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .04em; padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.price h3 { font-size: 1.35rem; }
.price__desc { color: var(--muted); font-size: .96rem; margin-bottom: 18px; }
.price__amount { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.price__amount .num { font-size: 3rem; font-weight: 800; color: var(--ink-900); letter-spacing: -.03em; }
.price__amount .cur { font-size: 1.2rem; font-weight: 700; color: var(--ink-700); }
.price__period { color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.price ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.price li { display: flex; gap: 11px; align-items: flex-start; font-size: .97rem; color: var(--ink-700); }
.price li svg { flex: none; width: 20px; height: 20px; color: var(--brand-600); margin-top: 2px; }
.price .btn { margin-top: auto; }

/* ---------- Split / feature highlight ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media { background: var(--gradient-soft); border: 1px solid var(--border); border-radius: 22px; padding: 30px; box-shadow: var(--shadow-md); }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li svg { flex: none; width: 22px; height: 22px; color: var(--brand-600); margin-top: 3px; }
.checklist b { color: var(--ink-900); }
.checklist span { color: var(--muted); }

/* Excel mock */
.xls { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.xls__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--ink-50); border-bottom: 1px solid var(--border); font-weight: 700; color: var(--ink-800); font-size: .92rem; }
.xls__bar .g { width: 22px; height: 22px; border-radius: 6px; background: #107c41; display: grid; place-items: center; color: #fff; font-size: .8rem; font-weight: 800; }
.xls table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.xls th, .xls td { text-align: left; padding: 9px 14px; border-bottom: 1px solid var(--ink-100); white-space: nowrap; }
.xls th { background: #f0fdf4; color: var(--ink-700); font-weight: 700; }
.xls td { color: var(--ink-600); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gradient); border-radius: 28px; padding: 60px 48px; text-align: center; color: #fff; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 26px; font-size: 1.12rem; }
.cta-band .btn--primary { background: #fff; color: var(--brand-700); box-shadow: 0 10px 26px rgba(0,0,0,.18); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border: 1px solid var(--border); border-radius: 14px; padding: 4px 22px; margin-bottom: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink-900); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--brand-600); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-900); color: var(--ink-200); padding: 64px 0 32px; }
.footer a { color: var(--ink-200); }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 34px; filter: brightness(0) invert(1); }
.footer__brand p { color: var(--ink-400); font-size: .92rem; margin-top: 14px; max-width: 280px; }
.footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer li a { color: var(--ink-400); font-size: .95rem; }
.footer li a:hover { color: #fff; text-decoration: none; }
.footer__bottom { border-top: 1px solid var(--ink-800); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-400); font-size: .88rem; }

/* ---------- Legal / content pages ---------- */
.legal { padding: 60px 0 80px; }
.legal .container { max-width: 820px; }
.legal h1 { margin-bottom: .3em; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.4rem; margin-top: 42px; }
.legal h3 { margin-top: 26px; }
.legal p, .legal li { color: var(--ink-700); }
.legal ul { padding-left: 20px; }
.legal .backlink { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 30px; font-weight: 600; }
.card-note { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--radius-sm); padding: 16px 20px; font-size: .95rem; color: var(--ink-700); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero__grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .preview { transform: none; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .nav__links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border); padding: 20px 24px; gap: 18px; box-shadow: var(--shadow-md);
  }
  .nav__toggle { display: block; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .grid-2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 24px; }
  .hero__trust { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
