/* ============================================================
   Onboard112 — Marketing-Homepage
   Navy/Rot-Palette aus der bestehenden Marke, Big Shoulders (Display)
   + IBM Plex Sans (Text) für einen kantigen, "Einsatzleitstellen"-Look
   statt weichem SaaS-Pastell.
   ============================================================ */

/* Schriften lokal eingebunden (nicht per Google-Fonts-CDN) - vermeidet die
   Übertragung von Besucher-IP-Adressen an Google beim Seitenaufruf, analog
   zum bestehenden Vorgehen auf muellerit.de. */
@font-face {
  font-family: 'Big Shoulders Display';
  src: url('../fonts/big-shoulders-display.woff2') format('woff2');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Big Shoulders Text';
  src: url('../fonts/big-shoulders-text.woff2') format('woff2');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('../fonts/ibm-plex-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy:        #0D1B2A;
  --navy-2:      #16283d;
  --navy-3:      #1f3550;
  --red:         #E31E24;
  --red-dark:    #b8141a;
  --grey:        #6B7280;
  --bg-light:    #F2F4F7;
  --white:       #FFFFFF;
  --line:        rgba(13,27,42,.12);
  --shadow:      0 20px 50px -20px rgba(13,27,42,.35);
  --radius:      10px;
  --max:         1180px;
  --font-display: 'Big Shoulders Display', sans-serif;
  --font-text:    'Big Shoulders Text', sans-serif;
  --font-body:    'IBM Plex Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: .01em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 4vw, 2.9rem); text-transform: uppercase; }
h3 { font-family: var(--font-text); font-size: 1.25rem; font-weight: 700; text-transform: none; }
p { margin: 0 0 1rem; color: var(--grey); max-width: 62ch; }
.eyebrow {
  font-family: var(--font-text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  color: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: .9rem;
  padding: .95rem 1.6rem;
  border-radius: 6px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(227,30,36,.55); }
.btn-ghost-dark { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost-light { border-color: var(--navy); color: var(--navy); }
.btn-ghost-light:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* ---- Header ---- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,27,42,.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand span {
  font-family: var(--font-text); font-weight: 700; font-size: 1.15rem; color: #fff; letter-spacing: .01em;
}
.brand span em { color: var(--red); font-style: normal; }
nav.main { display: flex; align-items: center; gap: 2rem; }
nav.main a.navlink {
  color: rgba(255,255,255,.78); text-decoration: none; font-size: .92rem; font-weight: 500;
}
nav.main a.navlink:hover { color: #fff; }
.nav-toggle { display: none; }

/* ---- Hero ---- */
.hero {
  background: radial-gradient(120% 140% at 100% 0%, var(--navy-3) 0%, var(--navy) 55%, #081018 100%);
  color: #fff;
  padding: 88px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: auto -10% -40% auto;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(227,30,36,.18), transparent 70%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; position: relative; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 3.6rem); color: #fff; margin: .5rem 0 1.1rem; text-transform: uppercase; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero p.lead { color: rgba(255,255,255,.72); font-size: 1.08rem; max-width: 50ch; }
.hero .cta-row { display: flex; gap: 1rem; margin: 1.8rem 0 1.6rem; flex-wrap: wrap; }
.trustline { color: rgba(255,255,255,.55); font-size: .82rem; display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.trustline .dot { opacity: .5; }

/* ---- Hero mockup dashboard ---- */
.mock-card {
  background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  overflow: hidden;
}
.mock-topbar {
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
  padding: 14px 18px; display: flex; align-items: center; gap: 10px;
}
.mock-topbar .dots { display: flex; gap: 6px; }
.mock-topbar .dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); }
.mock-topbar .title { color: rgba(255,255,255,.85); font-family: var(--font-text); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-left: 6px; }
.mock-body { padding: 20px; }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid #eef0f3; }
.mock-row:last-child { border: none; }
.mock-check { width: 22px; height: 22px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: .7rem; color: #fff; font-weight: 700; }
.mock-check.done { background: #1f9d55; }
.mock-check.due { background: var(--red); }
.mock-check.locked { background: #cbd2db; }
.mock-line { flex: 1; }
.mock-name { font-family: var(--font-text); font-weight: 700; font-size: .88rem; color: var(--navy); }
.mock-sub { font-size: .74rem; color: var(--grey); margin-top: 2px; }
.mock-badge { font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 100px; text-transform: uppercase; letter-spacing: .03em; }
.mock-badge.green { background: #e5f6ec; color: #1f9d55; }
.mock-badge.red { background: #fdecec; color: var(--red); }
.mock-badge.grey { background: #eef0f3; color: var(--grey); }
.mock-progress { height: 6px; border-radius: 100px; background: #eef0f3; overflow: hidden; margin-top: 16px; }
.mock-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--navy)); width: 62%; }
.mock-foot { display: flex; justify-content: space-between; font-size: .72rem; color: var(--grey); margin-top: 8px; }

/* ---- Section scaffolding ---- */
section { padding: 96px 0; }
section.tight { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head h2 { margin-top: .5rem; }
.section-head p { margin-top: 1rem; font-size: 1.05rem; }
.bg-light { background: var(--bg-light); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy p { color: rgba(255,255,255,.68); }
.bg-navy .eyebrow, .hero .eyebrow { color: #ff8a8d; }

/* ---- Problem section ---- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.problem-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem;
}
.problem-card .num { font-family: var(--font-display); font-size: 2.6rem; color: var(--red); line-height: 1; margin-bottom: .6rem; }
.problem-card h3 { margin-bottom: .5rem; }
.problem-card p { margin: 0; font-size: .93rem; }

/* ---- USP grid ---- */
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.usp-card { padding: 1.9rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.usp-card .icon {
  width: 46px; height: 46px; border-radius: 9px; background: var(--navy);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem;
  color: var(--red); font-family: var(--font-display); font-weight: 900; font-size: 1.3rem;
}
.usp-card h3 { margin-bottom: .5rem; }
.usp-card p { font-size: .93rem; margin: 0; }

/* ---- Process steps ---- */
.process-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-rail::before {
  content: ""; position: absolute; top: 26px; left: 6%; right: 6%; height: 3px;
  background: repeating-linear-gradient(90deg, var(--red), var(--red) 10px, transparent 10px, transparent 18px);
}
.process-step { position: relative; padding: 0 1.2rem; text-align: left; }
.process-step .idx {
  width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 800; position: relative; z-index: 2; margin-bottom: 1.1rem;
  box-shadow: 0 0 0 6px #fff;
}
.process-step h3 { margin-bottom: .4rem; }
.process-step p { font-size: .88rem; margin: 0; }

/* ---- Pricing ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 2.2rem 1.9rem;
  display: flex; flex-direction: column;
}
.price-card.featured {
  background: var(--navy); color: #fff; border-color: var(--navy);
  transform: translateY(-14px); box-shadow: var(--shadow);
}
.price-card.featured p, .price-card.featured .feat-list li { color: rgba(255,255,255,.75); }
.price-card .plan-tag {
  font-family: var(--font-text); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem;
  font-weight: 700; color: var(--red); margin-bottom: .3rem; display: inline-block;
}
.price-card.featured .plan-tag { color: #ff8a8d; }
.price-card .badge-popular {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-family: var(--font-text); font-weight: 700;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; padding: 5px 14px; border-radius: 100px;
}
.price-card { position: relative; }
.price-card h3 { font-family: var(--font-display); font-size: 1.7rem; text-transform: uppercase; margin-bottom: .2rem; }
.price-amount { display: flex; align-items: baseline; gap: .35rem; margin: .8rem 0 1.4rem; }
.price-amount .num { font-family: var(--font-display); font-size: 3rem; font-weight: 800; }
.price-amount .per { font-size: .85rem; color: var(--grey); }
.price-card.featured .price-amount .per { color: rgba(255,255,255,.6); }
.feat-list { list-style: none; margin: 0 0 1.8rem; padding: 0; flex: 1; }
.feat-list li {
  font-size: .89rem; padding: .5rem 0; border-bottom: 1px solid var(--line);
  display: flex; gap: .55rem; color: var(--navy);
}
.price-card.featured .feat-list li { border-color: rgba(255,255,255,.14); }
.feat-list li::before { content: "✓"; color: var(--red); font-weight: 700; flex: none; }
.price-card.featured .feat-list li::before { color: #ff8a8d; }

.pricing-terms {
  margin-top: 3rem; padding: 1.6rem 1.8rem; background: var(--bg-light); border-radius: var(--radius);
  font-size: .86rem; color: var(--grey); border-left: 4px solid var(--red);
}
.pricing-terms strong { color: var(--navy); }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.3rem 0; display: flex; justify-content: space-between;
  align-items: center; font-family: var(--font-text); font-weight: 700; font-size: 1.02rem; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--red); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 1.3rem; margin: 0; font-size: .93rem; }

/* ---- Contact / lead form ---- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact-grid .info h3 { color: #fff; margin-bottom: .6rem; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; font-size: .92rem; color: rgba(255,255,255,.72); }
.contact-list li { padding: .4rem 0; }
.form-card { background: #fff; border-radius: 14px; padding: 2rem; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: 6px;
  font-family: var(--font-body); font-size: .92rem; color: var(--navy); background: #fff;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--red);
}
.form-note { font-size: .76rem; color: var(--grey); margin-top: .8rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; font-size: .84rem; color: var(--red); font-weight: 600; margin: .8rem 0 0; }
.form-error.show { display: block; }
.form-success {
  display: none; text-align: center; padding: 2.2rem 1rem;
}
.form-success.show { display: block; }
.form-success .check {
  width: 52px; height: 52px; border-radius: 50%; background: #e5f6ec; color: #1f9d55;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.4rem;
}
.form-success h3 { color: var(--navy); }
.form-success p { color: var(--grey); margin: 0; }

/* ---- Footer ---- */
footer.site { background: #081018; color: rgba(255,255,255,.6); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.footer-brand img { height: 26px; }
.footer-brand span { font-family: var(--font-text); font-weight: 700; color: #fff; }
footer.site h4 { font-family: var(--font-text); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin-bottom: 1rem; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site ul li { margin-bottom: .55rem; font-size: .87rem; }
footer.site ul li a { text-decoration: none; color: rgba(255,255,255,.6); }
footer.site ul li a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.6rem; font-size: .78rem; flex-wrap: wrap; gap: .8rem; }
.footer-owner { font-size: .78rem; }
.footer-owner strong { color: rgba(255,255,255,.85); }

.footer-partner { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.1rem; text-decoration: none; }
.footer-partner span:first-child { font-size: .74rem; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .05em; }
.footer-partner-chip { display: inline-flex; align-items: center; background: #fff; border-radius: 8px; padding: .5rem .8rem; transition: transform .15s ease; }
.footer-partner:hover .footer-partner-chip { transform: translateY(-1px); }
.footer-partner-chip img { height: 32px; display: block; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  nav.main { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .mock-card { max-width: 460px; margin: 0 auto; }
  .problem-grid, .usp-grid { grid-template-columns: 1fr 1fr; }
  .process-rail { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .process-rail::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .problem-grid, .usp-grid { grid-template-columns: 1fr; }
  .process-rail { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero .cta-row { flex-direction: column; }
  .hero .cta-row .btn { width: 100%; justify-content: center; }
}
