/* =========================================================================
   Salesboat Cockpit — Landingpage (helle Fassung)
   Farben: Salesboat CD — Weiß/Interface-Grau als Fläche, Dunkelblau #011640
           als Textfarbe, Salesboat Blue #0540F2 als Akzent, Gelb sparsam.
   Schrift: Proxima Soft (Headlines, weich/gerundet) · Source Sans 3
            (Fließtext UND Datenblöcke, mit Tabellenziffern statt Monospace)
            · DM Serif Display italic als Akzentzeile.
   Bewusst KEIN Space Mono mehr — die Blöcke sollen nicht kantig wirken.
   ========================================================================= */

@font-face {
  font-family: "Proxima Soft"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("assets/fonts/ProximaSoft-Semibold.otf") format("opentype");
}
@font-face {
  font-family: "Proxima Soft"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("assets/fonts/ProximaSoft-Bold.otf") format("opentype");
}

:root {
  --bg:        #FFFFFF;
  --bg-alt:    #F5F7FC;   /* Bänder, die eine Sektion absetzen */
  --card:      #FFFFFF;
  --panel:     #F7F9FD;   /* Zeilen innerhalb der Mini-Oberflächen */
  --border:       #E3E7F0;
  --border-strong:#C7CEDE;

  --primary:        #0540F2;
  --primary-bright: #0C74FA;
  --primary-soft:   #EDF2FE;
  --gradient: linear-gradient(135deg, #0C74FA 0%, #0540F2 100%);

  --yellow:  #FFEF01;
  --emerald: #0B8A5C;
  --amber:   #B26A00;
  --red:     #D42B2B;

  --fg:      #011640;   /* Dunkelblau — Überschriften */
  --body:    #434655;   /* Body Copy laut CD */
  --muted:   #5E6478;
  --muted-2: #8A90A3;

  --font-head: "Proxima Soft", "Source Sans 3", -apple-system, system-ui, sans-serif;
  --font-ui:   "Source Sans 3", -apple-system, system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow: 0 24px 60px -34px rgba(1,22,64,.30);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  background: var(--bg); color: var(--body);
  -webkit-font-smoothing: antialiased; line-height: 1.5;
  overflow-x: hidden;
}
::selection { background: rgba(5,64,242,.16); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Raster ---------- */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.wrap-sm { max-width: 900px; }
section { position: relative; padding: 118px 0; }
@media (max-width: 720px) { section { padding: 74px 0; } .wrap { padding: 0 20px; } }

/* CD-Muster als Atmosphäre hinter dem Hero — nie als Logo. */
.sails {
  position: absolute; top: 250px; right: -250px; width: 640px; height: 640px;
  background: url("assets/sb-sail-pattern.svg") no-repeat center / contain;
  opacity: .038; pointer-events: none; z-index: 0;
  -webkit-mask-image: radial-gradient(circle at 60% 40%, #000 25%, transparent 72%);
  mask-image: radial-gradient(circle at 60% 40%, #000 25%, transparent 72%);
}
@media (max-width: 900px) { .sails { display: none; } }

/* ---------- Typografie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-ui); font-size: 12px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--primary);
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

h1, h2, h3 { font-family: var(--font-head); color: var(--fg); }
h1 { font-size: clamp(28px, calc(4.0vw - 5px), 42px); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 50px); font-weight: 700; line-height: 1.12; letter-spacing: -0.018em; }
h3 { font-size: clamp(22px, 2.3vw, 31px); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.serif {
  font-family: 'DM Serif Display', Georgia, serif; font-style: italic; font-weight: 400;
  color: var(--primary); letter-spacing: -0.005em;
}
.h1-serif { display: block; margin-top: 2px; font-size: clamp(30px, calc(4.7vw - 6px), 50px); line-height: 1.14; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); font-weight: 400; line-height: 1.62; }
p.body { color: var(--muted); font-weight: 400; line-height: 1.68; font-size: 16px; }
.sec-head { max-width: 720px; margin-bottom: 58px; }
.sec-head p { margin-top: 18px; }

/* Zahlen: Tabellenziffern statt Monospace — ausgerichtet, aber weich. */
.num, .lever .val b, .board-top .sum, .stat .v, .finding .nums b, .catrow .asin, .pct,
.termrow .m b, .bidnums, .tnode .dest .bid, .slider .top b, .secmenu .cnt {
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
}
/* Technische Labels: Kapitälchen mit Sperrung statt Schreibmaschine. */
.label {
  font-size: 10.5px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted-2);
}

/* Highlight-Gelb: sparsam, nur als Unterstreichung eines Worts. */
.mark {
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat; background-size: 100% 0.2em;
  background-position: 0 100%; padding: 0 .06em .04em;
}

/* ---------- Navigationsinsel ---------- */
.nav { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 60; width: 92%; max-width: 1080px; }
.nav-inner {
  padding: 12px 20px; border-radius: 2rem; border: 1px solid transparent;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: background .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.nav.scrolled .nav-inner {
  background: rgba(255,255,255,0.88); backdrop-filter: blur(16px);
  border-color: var(--border); box-shadow: 0 14px 40px -24px rgba(1,22,64,.45);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { height: 20px; width: auto; display: block; }
.brand span {
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  padding-left: 11px; border-left: 1px solid var(--border-strong); color: var(--primary);
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; transition: color .2s, transform .2s; }
.nav-links a:hover { color: var(--fg); transform: translateY(-1px); }
.nav-links a.btn-primary { color: #fff; }
.nav-links a.btn-primary:hover { color: #fff; }
@media (max-width: 940px) { .nav-links a.hide-sm { display: none; } }
@media (max-width: 400px) { .brand span { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center;
  justify-content: center; gap: 10px; border-radius: 999px; text-decoration: none;
  font-family: var(--font-head); font-weight: 700; letter-spacing: -0.005em; cursor: pointer;
  border: 1px solid transparent; padding: 14px 28px; font-size: 15px; white-space: nowrap;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.btn > span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; }
.btn::after {
  content: ""; position: absolute; inset: 0; background: rgba(255,255,255,0.18);
  transform: translateY(100%); transition: transform .35s ease-in-out;
}
.btn:hover::after { transform: translateY(0); }
.btn:hover { transform: scale(1.03); }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 14px 32px -14px rgba(5,64,242,.75); }
.btn-ghost { border-color: var(--border-strong); color: var(--fg); background: #fff; }
.btn-ghost:hover { background: var(--primary-soft); border-color: var(--primary); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- Abzeichen ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 7px; border-radius: 999px;
  padding: 5px 12px; font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
}
.tag-live { color: var(--emerald); background: rgba(11,138,92,.09); border: 1px solid rgba(11,138,92,.28); }
.tag-test { color: #7A5B00; background: rgba(255,239,1,.28); border: 1px solid rgba(196,168,0,.45); }
.tag i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ---------- Hero ---------- */
.hero { padding-top: 158px; padding-bottom: 40px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.hero-grid > * { min-width: 0; }
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 132px; }
  .hero h1 { font-size: clamp(30px, 6.4vw, 58px); }
  .hero .h1-serif { font-size: clamp(26px, 5.6vw, 50px); }
}
.hero .lead { margin-top: 24px; max-width: 560px; }
.hero .lead strong { color: var(--fg); font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero-note { margin-top: 20px; font-size: 12.5px; font-weight: 600; letter-spacing: .07em; color: var(--muted-2); text-transform: uppercase; }

/* ---------- Hebel-Board (Hero-Panel) ---------- */
.board {
  border: 1px solid var(--border); border-radius: 1.75rem; background: var(--card);
  padding: 22px 24px 20px; box-shadow: var(--shadow);
}
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.board-top .k { font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); }
.board-top .sum { font-size: 13.5px; font-weight: 700; color: var(--primary); }
.levers { display: grid; gap: 7px; }
.lever {
  width: 100%; text-align: left; cursor: pointer; font-family: inherit; color: inherit;
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 13px 15px;
  transition: border-color .3s ease, background .3s ease, transform .25s var(--ease), box-shadow .3s ease;
}
.lever:hover, .lever.on { border-color: var(--primary); background: var(--primary-soft); }
.lever.on { transform: translateX(2px); box-shadow: 0 8px 20px -14px rgba(5,64,242,.7); }
.lever .t { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 9px; }
.lever .name { font-size: 14px; font-weight: 700; color: var(--fg); letter-spacing: -0.005em; }
.lever .src { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.lever .barwrap { height: 5px; border-radius: 3px; background: #DFE5F3; overflow: hidden; }
.lever .bar { height: 100%; border-radius: 3px; background: var(--gradient); transition: width 1.1s var(--ease); }
.lever .val { text-align: right; }
.lever .val b { display: block; font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--fg); letter-spacing: -0.01em; }
.lever .val em { display: block; font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-top: 3px; }
.lever:first-child .val b { position: relative; }
.lever:first-child .val b::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: -2px; height: .22em;
  background: var(--yellow); z-index: -1;
}
.board-detail { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 14px; display: grid; gap: 9px; }
.board-detail .why { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.board-detail .chain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.board-detail .chain em {
  font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted-2); margin-right: 2px;
}
.board-detail .chain span {
  font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: var(--muted);
  border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 4px 10px;
}
.board-detail .act { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 2px; }
.board-detail .act .hint { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.oneclick {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  font-family: var(--font-head); font-weight: 700;
  background: var(--gradient); color: #fff; border: 0; border-radius: 999px;
  padding: 9px 17px; font-size: 13px; white-space: nowrap;
  box-shadow: 0 8px 20px -10px rgba(5,64,242,.8);
  transition: transform .25s var(--ease);
}
.oneclick:hover { transform: scale(1.04); }
.oneclick.done { background: rgba(11,138,92,.12); color: var(--emerald); box-shadow: none; cursor: default; }
.board-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 18px; background: var(--border); border-top: 1px solid var(--border); padding-top: 1px; }
.board-foot div { background: var(--card); padding: 14px 6px 2px; text-align: center; }
.board-foot b { display: block; font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--primary); letter-spacing: -0.01em; }
.board-foot span { display: block; margin-top: 5px; font-size: 11.5px; color: var(--muted); line-height: 1.4; }
@media (max-width: 520px) { .board-foot { grid-template-columns: 1fr; } .board { padding: 18px; } }

.board-sub {
  font-size: 12.5px; color: var(--muted); line-height: 1.5;
  margin: -6px 0 14px; padding-bottom: 13px; border-bottom: 1px solid var(--border);
}
.board-sub strong { color: var(--fg); font-weight: 700; }

/* Leiste unter einer Mini-Oberflaeche: was schon umgesetzt ist bzw. was eine
   Aenderung voraussichtlich bringt. */
.donebar {
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
  margin-top: 12px; padding: 11px 14px; border-radius: 12px;
  background: var(--primary-soft); font-size: 12.5px; color: var(--muted);
}
.donebar b { font-weight: 700; color: var(--fg); font-variant-numeric: tabular-nums; }
.donebar b.up { color: var(--emerald); }
.donebar b.dn { color: var(--red); }

/* ---------- Statistik-Karten ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr; } }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: 1.75rem; padding: 32px; transition: border-color .3s ease, box-shadow .3s ease; }
.stat:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.stat .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 22px; }
.stat .v { font-family: var(--font-head); font-size: 40px; font-weight: 700; color: var(--fg); letter-spacing: -0.025em; margin-bottom: 8px; }
.stat .l { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; color: var(--primary); margin-bottom: 12px; }
.stat .d { font-size: 14.5px; color: var(--muted); line-height: 1.64; }

/* ---------- Feature-Zeilen ---------- */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.feat > * { min-width: 0; }
.feat + .feat { margin-top: 112px; }
@media (max-width: 980px) { .feat { grid-template-columns: 1fr; gap: 34px; } .feat + .feat { margin-top: 76px; } }
.feat.wide-art { grid-template-columns: 0.8fr 1.2fr; }
.feat.wide-art.flip { grid-template-columns: 1.2fr 0.8fr; }
@media (max-width: 980px) { .feat.wide-art, .feat.wide-art.flip { grid-template-columns: 1fr; } }
.feat.flip > *:last-child { order: -1; }
@media (max-width: 980px) { .feat.flip > *:last-child { order: 0; } }
.feat h3 { margin: 13px 0 14px; }
.feat p { color: var(--muted); line-height: 1.68; font-size: 16.5px; }
.feat p + p { margin-top: 14px; }
.feat-art { background: var(--card); border: 1px solid var(--border); border-radius: 1.75rem; padding: 24px; box-shadow: var(--shadow); }
.art-head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2);
  border-bottom: 1px solid var(--border); padding-bottom: 13px; margin-bottom: 17px;
}
.art-foot { margin-top: 15px; font-size: 12.5px; color: var(--muted-2); line-height: 1.55; }

/* ---------- Audit-Werk ---------- */
.auditgrid { display: grid; grid-template-columns: 152px 1fr; gap: 14px; }
@media (max-width: 560px) { .auditgrid { grid-template-columns: 1fr; } }
.secmenu { display: grid; gap: 3px; align-content: start; }
.secmenu button {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  text-align: left; cursor: pointer; font-family: inherit; color: var(--muted);
  background: transparent; border: 0; border-radius: 10px; padding: 9px 11px;
  font-size: 13px; font-weight: 600; transition: background .25s ease, color .25s ease;
}
.secmenu button:hover { color: var(--fg); background: var(--panel); }
.secmenu button.on { background: var(--primary-soft); color: var(--fg); font-weight: 700; }
.secmenu .cnt { font-size: 11px; font-weight: 600; color: var(--muted-2); }
.secmenu button.on .cnt { color: var(--primary); }
.findings { display: grid; gap: 7px; align-content: start; }
.finding { background: var(--panel); border: 1px solid var(--border); border-radius: 13px; padding: 12px 14px; }
.finding .h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.finding .sev { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.sev-r { background: var(--red); } .sev-a { background: var(--amber); } .sev-g { background: var(--emerald); }
.finding .ttl { font-size: 13.5px; font-weight: 700; color: var(--fg); }
.finding .typ { font-size: 9.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-2); margin-left: auto; }
.finding .nums { display: flex; gap: 16px; flex-wrap: wrap; }
.finding .nums em { display: block; font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 2px; }
.finding .nums b { font-size: 13.5px; font-weight: 700; color: var(--fg); }
.dn { color: var(--red); } .up { color: var(--emerald); }

/* ---------- Katalog (PIM) ---------- */
.cat { display: grid; gap: 6px; }
.catrow {
  display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center;
  background: var(--panel); border: 1px solid var(--border); border-radius: 13px; padding: 11px 14px;
}
.catrow.alert { border-color: rgba(212,43,43,.35); background: rgba(212,43,43,.045); }
.catrow > * { min-width: 0; }
.catmain { min-width: 0; overflow: hidden; }
.catend { display: flex; align-items: center; gap: 10px; flex: none; }
.catrow .asin { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: var(--muted-2); }
.catrow .ttl { font-size: 13.5px; font-weight: 700; color: var(--fg); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fields { display: flex; gap: 4px; }
.fields i {
  width: 19px; height: 19px; border-radius: 6px; display: grid; place-items: center;
  font-style: normal; font-size: 8.5px; font-weight: 700;
}
.f-ok { background: rgba(11,138,92,.12); color: var(--emerald); }
.f-no { background: rgba(212,43,43,.12); color: var(--red); }
.f-wa { background: rgba(178,106,0,.13); color: var(--amber); }
.pct { font-size: 13.5px; font-weight: 700; color: var(--fg); min-width: 46px; text-align: right; }
.band { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.band-g { color: var(--emerald); background: rgba(11,138,92,.11); }
.band-a { color: var(--amber); background: rgba(178,106,0,.12); }
.band-r { color: var(--red); background: rgba(212,43,43,.11); }
@media (max-width: 620px) { .catrow { grid-template-columns: 1fr auto; } .catrow .fields { display: none; } }

.diff { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 620px) { .diff { grid-template-columns: 1fr; } }
.diff .col { background: #fff; border: 1px solid var(--border); border-radius: 13px; padding: 13px; }
.diff .col em { display: block; font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
.diff .col p { font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.diff .col.ist { border-color: rgba(178,106,0,.35); }
.diff s { color: var(--red); text-decoration-color: rgba(212,43,43,.55); }
.diff u { color: var(--emerald); text-decoration: none; background: rgba(11,138,92,.12); border-radius: 3px; padding: 0 3px; }

/* ---------- Ad Waste ---------- */
.termrow { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; background: var(--panel); border: 1px solid var(--border); border-radius: 13px; padding: 13px 14px; margin-bottom: 8px; }
.termrow .q { font-size: 13.5px; font-weight: 700; color: var(--fg); }
.termrow .m { display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.termrow .m em { display: block; font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 2px; }
.termrow .m b { font-size: 13px; font-weight: 700; color: var(--fg); }
.switchrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 13px; margin-bottom: 12px; background: var(--primary-soft); }
.switchrow .lbl { font-size: 13.5px; font-weight: 700; color: var(--fg); }
.switchrow .sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.sw { position: relative; width: 42px; height: 23px; border-radius: 999px; border: 0; cursor: pointer; background: #C7CEDE; transition: background .3s var(--ease); flex: none; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(1,22,64,.35); transition: transform .3s var(--ease); }
.sw.on { background: var(--primary); }
.sw.on::after { transform: translateX(19px); }
.targets { display: grid; gap: 5px; }
.target { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 11px; transition: opacity .3s ease, border-color .3s ease, background .3s ease; }
.target.off { opacity: .45; background: var(--panel); }
.target .cn { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.chip { font-size: 10px; font-weight: 700; letter-spacing: .07em; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.chip-g { color: var(--emerald); background: rgba(11,138,92,.11); }
.chip-n { color: var(--muted-2); background: #EDF0F7; }
.chip-p { color: var(--primary); background: var(--primary-soft); }

/* ---------- Harvesting ---------- */
.tree { display: grid; gap: 7px; }
.tnode { border: 1px solid var(--border); border-radius: 13px; padding: 13px 14px; background: var(--panel); }
.tnode .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tnode .term { font-size: 13.5px; font-weight: 700; color: var(--fg); }
.tnode .arrow { font-size: 11.5px; font-weight: 600; color: var(--muted-2); margin: 9px 0 8px; }
.tnode .dest { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px dashed var(--border-strong); border-radius: 11px; background: #fff; }
.tnode .dest .cn { font-size: 12px; font-weight: 600; color: var(--primary); }
.tnode .dest .bid { font-size: 13px; font-weight: 700; color: var(--fg); }

/* ---------- Bid-Optimizer ---------- */
.bidwrap { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.bidwrap > * { min-width: 0; }
@media (max-width: 980px) { .bidwrap { grid-template-columns: 1fr; gap: 34px; } }
.slider { margin: 26px 0 6px; }
.slider .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.slider .top em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); }
.slider .top b { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--fg); letter-spacing: -0.02em; }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary) 50%, #DFE5F3 50%);
  outline: none; cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--primary); cursor: grab;
  box-shadow: 0 3px 10px -2px rgba(5,64,242,.55);
}
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); cursor: grab; }
.slider .scale { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--muted-2); margin-top: 9px; }

.bidrow { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; background: var(--panel); border: 1px solid var(--border); border-radius: 13px; padding: 12px 14px; margin-bottom: 6px; }
.bidrow .kw { font-size: 13.5px; font-weight: 700; color: var(--fg); }
.bidrow .meta { display: flex; gap: 8px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.bidrow .role { font-size: 9.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-2); border: 1px solid var(--border-strong); border-radius: 999px; padding: 3px 9px; }
.bidrow .why { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bidrow .conf-hoch   { color: var(--emerald); border-color: rgba(11,138,92,.35); }
.bidrow .conf-mittel { color: var(--amber);   border-color: rgba(178,106,0,.35); }
.bidrow .conf-duenn  { color: var(--muted-2); border-color: var(--border); }
.bidnums { display: flex; align-items: center; gap: 10px; }
.bidnums .old { font-size: 13px; color: var(--muted-2); text-decoration: line-through; }
.bidnums .new { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--fg); letter-spacing: -0.01em; min-width: 58px; text-align: right; transition: color .3s ease; }
.bidnums .dir { font-size: 12px; font-weight: 700; }
.bidrow.blocked { opacity: .55; }
.bidrow.blocked .bidnums .new { color: var(--muted-2); }
.honest { margin-top: 22px; border: 1px solid var(--border); border-left: 4px solid var(--yellow); border-radius: 14px; padding: 18px 20px; background: #FFFDF0; }
.honest em { display: block; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: #7A5B00; margin-bottom: 9px; }
.honest p { font-size: 13.5px; color: var(--muted); line-height: 1.62; }

/* ---------- Kette ---------- */
.chainline { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 32px; }
.chainline span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fg); border: 1px solid var(--border); border-radius: 999px; padding: 9px 17px; background: #fff; box-shadow: 0 6px 18px -14px rgba(1,22,64,.5); }
.chainline i { color: var(--primary); font-style: normal; font-weight: 700; }

/* ---------- Zugang ---------- */
.steps { display: grid; gap: 13px; margin: 32px 0 30px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step b { flex: none; width: 27px; height: 27px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; }
.step p { font-size: 15.5px; color: var(--muted); line-height: 1.58; }
.accessgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
@media (max-width: 980px) { .accessgrid { grid-template-columns: 1fr; gap: 38px; } }
.accesscard { background: #fff; border: 1px solid var(--border); border-radius: 1.75rem; padding: 30px; box-shadow: var(--shadow); }
.accesscard .fine { margin-top: 14px; font-size: 12.5px; color: var(--muted-2); line-height: 1.55; text-align: center; }
.accesscard .alt { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); text-align: center; font-size: 14px; color: var(--muted); }
.accesscard .alt a { color: var(--primary); text-decoration: none; font-weight: 700; }
.accesscard .alt a:hover { text-decoration: underline; }

/* ---------- Team ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 860px) { .people { grid-template-columns: 1fr; } }
.person { background: var(--card); border: 1px solid var(--border); border-radius: 1.75rem; padding: 28px; }
.person .n { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--fg); letter-spacing: -0.01em; }
.person .r { font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--primary); margin: 7px 0 13px; }
.person .b { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 40px 0; background: var(--bg-alt); }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot .l { display: flex; align-items: center; gap: 14px; }
.foot img { height: 18px; }
.foot .c { font-size: 13px; color: var(--muted-2); }
.foot .links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot .links a { font-size: 14px; color: var(--muted); text-decoration: none; font-weight: 600; }
.foot .links a:hover { color: var(--primary); }

/* ---------- Einblenden ---------- */
.fade-up { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.fade-up.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; } }
