/* CONEXIO GmbH – Website-Relaunch 2026
   Keine externen Ressourcen (keine Google Fonts / CDNs) -> DSGVO-freundlich */

:root {
  --navy: #3E3E3E;
  --navy-2: #161c4a;
  --navy-3: #222a66;
  --accent: #2C539D;
  --accent-2: #2C539D;
  --gold: #B2B2B4;
  --ink: #3E3E3E;
  --muted: #6b6b70;
  --line: #e4e6f0;
  --bg: #ffffff;
  --bg-soft: #f5f6fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(62, 62, 62, .08);
  --max: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--navy); color: #d5d8ee; }
.section.dark h2, .section.dark h3 { color: #fff; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.section.dark .eyebrow { color: var(--accent-2); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.section.dark .lead { color: #b9bedc; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; transition: transform .15s, background .15s, color .15s;
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #234683; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 44px; width: auto; }
.brand .wordmark { display: none; font-weight: 900; font-size: 1.45rem; letter-spacing: .12em; color: var(--navy); }
.brand .wordmark small { font-weight: 600; letter-spacing: .02em; color: var(--muted); font-size: .8rem; margin-left: 6px; }
.brand.nologo img { display: none; }
.brand.nologo .wordmark { display: inline; }
.brand:hover { text-decoration: none; }

.menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink);
  font-weight: 600; font-size: .96rem;
}
.menu a:hover, .menu a.active { background: var(--bg-soft); color: var(--accent); text-decoration: none; }
.menu .btn { margin-left: 8px; padding: 10px 20px; color: #fff; }
.menu .btn:hover { background: #234683; color: #fff; }
.nav-toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer;
  border-radius: 8px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 24px; height: 2px; background: var(--navy); position: relative; margin: 0 auto;
  transition: .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, #2a3590 0%, transparent 60%),
              radial-gradient(900px 500px at -10% 110%, #17385e 0%, transparent 60%),
              var(--navy);
  color: #cfd3ee; padding: 120px 0 110px;
}
.hero h1 { color: #fff; max-width: 820px; }
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero .lead { color: #b9bedc; font-size: 1.2rem; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px; padding: 28px; backdrop-filter: blur(4px);
}
.bridge { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; text-align: center; }
.bridge .node {
  background: rgba(255,255,255,.08); border-radius: 14px; padding: 18px 10px; color: #fff; font-weight: 700;
}
.bridge .node small { display: block; font-weight: 500; color: #aab0d6; font-size: .8rem; margin-top: 4px; }
.bridge .link {
  width: 54px; height: 54px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; color: #fff; font-weight: 900; box-shadow: 0 0 0 8px rgba(44,83,157,.18);
}
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.hero-stats div { background: rgba(255,255,255,.05); border-radius: 12px; padding: 14px; text-align: center; }
.hero-stats strong { display: block; color: #fff; font-size: 1.05rem; }
.hero-stats span { font-size: .8rem; color: #aab0d6; }

/* Cards / grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); height: 100%;
}
.section.dark .card { background: var(--navy-2); border-color: rgba(255,255,255,.08); box-shadow: none; color: #c3c7e3; }
.icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(44,83,157,.1); color: var(--accent); margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; }
.section.dark .icon { background: rgba(25,195,166,.14); color: var(--accent-2); }
.card p:last-child { margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Product teaser */
.product-teaser {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  border-radius: 24px; padding: 56px; color: #c9cde9; overflow: hidden;
}
.product-teaser h2, .product-teaser h3 { color: #fff; }
.badge {
  display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700;
  background: rgba(25,195,166,.16); color: var(--accent-2); letter-spacing: .06em; text-transform: uppercase;
}

/* StockBuddy app mockup */
.mock {
  background: #fff; border-radius: 18px; padding: 22px; color: var(--ink);
  box-shadow: 0 30px 60px rgba(0,0,0,.35); max-width: 440px; margin-left: auto;
}
.mock-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mock-top b { color: var(--navy); }
.mock-top .dots { display: flex; gap: 6px; }
.mock-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.score-wrap { display: flex; gap: 20px; align-items: center; }
.gauge {
  --v: 82; width: 120px; height: 120px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--accent-2) calc(var(--v) * 1%), #e9ecf5 0);
  display: grid; place-items: center;
}
.gauge::after {
  content: attr(data-score); width: 92px; height: 92px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; font-size: 2rem; font-weight: 900; color: var(--navy);
}
.bars { flex: 1; font-size: .78rem; color: var(--muted); }
.bars div { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 8px; margin-bottom: 6px; }
.bars span { height: 7px; border-radius: 4px; background: #e9ecf5; position: relative; overflow: hidden; }
.bars span::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--accent); border-radius: 4px; }
.chat { margin-top: 18px; display: grid; gap: 8px; font-size: .88rem; }
.chat .q { justify-self: end; background: var(--accent); color: #fff; padding: 9px 13px; border-radius: 14px 14px 4px 14px; max-width: 85%; }
.chat .a { background: var(--bg-soft); padding: 9px 13px; border-radius: 14px 14px 14px 4px; max-width: 90%; }

/* Feature list (Produktseite) */
.feature { display: flex; gap: 18px; }
.feature .icon { flex: none; margin: 0; }
.feature h3 { margin-bottom: .3em; }
.feature p { color: var(--muted); margin: 0; }
.section.dark .feature p { color: #b9bedc; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding-top: 62px; }
.step::before {
  counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0;
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
}

.audience .card { border-top: 4px solid var(--accent); }
.audience .card:nth-child(2) { border-top-color: var(--accent-2); }
.audience .card:nth-child(3) { border-top-color: var(--gold); }

.price {
  max-width: 520px; margin: 0 auto; text-align: center; padding: 44px;
  border: 2px solid var(--accent); border-radius: 22px; background: #fff; box-shadow: var(--shadow);
}
.price .amount { font-size: 3.2rem; font-weight: 900; color: var(--navy); line-height: 1; }
.price .amount small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price .checklist { text-align: left; margin: 26px 0; }

.trust { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
.trust div {
  padding: 12px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  font-weight: 700; color: var(--navy); font-size: .92rem;
}
.trust small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }

.faq details {
  border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 12px; padding: 0 22px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

.notice {
  background: #fff8e8; border: 1px solid #f3dfae; border-radius: 12px; padding: 18px 22px;
  font-size: .9rem; color: #6b5420;
}

/* Jobs */
.job {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; background: #fff; border-radius: 22px;
  padding: 48px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.perks div { background: var(--bg-soft); border-radius: 12px; padding: 16px; font-weight: 700; color: var(--navy); }
.perks small { display: block; color: var(--muted); font-weight: 500; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-grid .card { text-align: center; }
.contact-grid .icon { margin: 0 auto 16px; }
.contact-grid a { font-weight: 700; font-size: 1.1rem; }

/* Page header (Unterseiten) */
.page-hero {
  background: radial-gradient(900px 400px at 90% -20%, #2a3590 0%, transparent 60%), var(--navy);
  color: #c9cde9; padding: 90px 0 80px;
}
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #b9bedc; }
.crumbs { font-size: .85rem; color: #8f95c0; margin-bottom: 16px; }
.crumbs a { color: #b9bedc; }

.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal dl { display: grid; grid-template-columns: 200px 1fr; gap: 8px 20px; }
.legal dt { font-weight: 700; color: var(--navy); }
.legal dd { margin: 0; }

/* Footer */
.site-footer { background: #090c24; color: #9ea3c7; padding: 70px 0 30px; font-size: .93rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer a { color: #c7cbea; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-brand .wordmark { color: #fff; font-weight: 900; letter-spacing: .12em; font-size: 1.3rem; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 24px;
  font-size: .8rem; color: #7c82ab; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
}
.footer-legal p { margin: 0; max-width: 820px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .split, .product-teaser, .job { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .steps, .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mock { margin: 0 auto; }
  .product-teaser, .job { padding: 36px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .menu {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px; gap: 2px;
    display: none; box-shadow: var(--shadow);
  }
  .menu.open { display: flex; }
  .menu .btn { margin: 8px 0 0; justify-content: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .hero { padding: 80px 0 70px; }
  .grid-2, .grid-3, .grid-4, .steps, .contact-grid, .footer-grid, .perks { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; }
  .legal dd { margin-bottom: 10px; }
  .product-teaser, .job, .price { padding: 26px; }
  .score-wrap { flex-direction: column; align-items: stretch; }
  .gauge { margin: 0 auto; }
}

/* ===== Helles, cleanes Theme (v2) ===== */
:root { --shadow: 0 1px 2px rgba(62,62,62,.04); --line: #eceef4; --bg-soft: #f8f9fc; }
body { color: #3E3E3E; }
.section { padding: 110px 0; }
.section.soft { background: #fafbfd; }

/* Hero & Seitenkopf: weiß statt dunkel */
.hero, .page-hero {
  background: #fff; color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.hero { padding: 110px 0 100px; }
.hero h1, .page-hero h1 { color: var(--navy); }
.hero h1 em { color: var(--accent); }
.hero .lead, .page-hero .lead { color: var(--muted); }
.crumbs, .crumbs a { color: #9a9a9e; }
.hero-card { background: #fff; border: 1px solid var(--line); backdrop-filter: none; }
.bridge .node { background: var(--bg-soft); color: var(--navy); }
.bridge .node small, .hero-stats span { color: var(--muted); }
.bridge .link { box-shadow: 0 0 0 8px rgba(44,83,157,.08); }
.hero-stats div { background: var(--bg-soft); }
.hero-stats strong { color: var(--navy); }

/* Ghost-Buttons auf hellem Grund */
.btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover { background: var(--bg-soft); border-color: #d6d9e6; }

/* Dunkle Sektionen -> hell */
.section.dark { background: #fff; color: var(--ink); }
.section.dark h2, .section.dark h3 { color: var(--navy); }
.section.dark .lead { color: var(--muted); }
.section.dark .eyebrow { color: var(--accent); }
.section.dark .card { background: #fff; border-color: var(--line); color: var(--ink); }
.section.dark .icon { background: rgba(44,83,157,.08); color: var(--accent); }
.section.dark .feature p { color: var(--muted); }
.section.dark .card a { color: var(--navy) !important; }
.section.dark .card span { color: var(--navy) !important; }

/* Karten: flacher, ruhiger */
.card { box-shadow: none; border-color: var(--line); }
.card:hover { border-color: #dfe3ee; }
.icon { background: rgba(44,83,157,.07); }

/* Produkt-Teaser hell */
.product-teaser {
  background: #fff; border: 1px solid var(--line); color: var(--muted);
}
.product-teaser h2, .product-teaser h3 { color: var(--navy); }
.product-teaser .checklist { color: var(--ink) !important; }
.badge { background: rgba(44,83,157,.08); color: var(--accent); }
.mock { box-shadow: 0 20px 50px rgba(62,62,62,.08); border: 1px solid var(--line); }
.gauge { background: conic-gradient(var(--accent) calc(var(--v) * 1%), #ececee 0); }
.checklist li::before { background-color: var(--accent); }

.job { box-shadow: none; }
.price { box-shadow: none; border-width: 1px; }
.audience .card { border-top-width: 3px; }

/* Footer hell */
.site-footer { background: #fff; color: var(--muted); border-top: 1px solid var(--line); }
.site-footer h4 { color: var(--navy); }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--accent); }
.footer-brand .wordmark { color: var(--navy); }
.footer-legal { border-top-color: var(--line); color: #9a9a9e; }

/* ===== Conexio CI (v3) ===== */
:root { --line: #e6e6e8; --bg-soft: #f7f7f8; }
.section.soft { background: #f7f7f8; }
.brand img { height: 54px; }
.nav { height: 84px; }
@media (max-width: 860px) { .menu { top: 84px; } .brand img { height: 44px; } }
.bars span { background: #ececee; }
.audience .card:nth-child(2) { border-top-color: #3E3E3E; }
.audience .card:nth-child(3) { border-top-color: #B2B2B4; }
.eyebrow { color: var(--accent); }
.hero h1 em { color: var(--accent); }
.footer-logo { height: 56px; width: auto; }
.slogan { color: var(--accent); font-style: italic; font-weight: 600; }
.brand img { height: 66px; }
.nav { height: 96px; }
@media (max-width: 860px) { .nav { height: 80px; } .menu { top: 80px; } .brand img { height: 50px; } }

/* ===== StockBuddy-Logo & Links (v5) ===== */
.sb-logo { display: inline-block; }
.sb-logo img { height: 46px; width: auto; }
.sb-logo-lg img { height: 60px; }
.sb-price-logo { height: 40px; width: auto; margin: 0 auto; }
.sb-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: .95rem; }
@media (max-width: 640px) { .sb-logo img { height: 36px; } .sb-logo-lg img { height: 44px; } }
