/* ============================================================
   ODCUS two-field system (2026-10-22): KI (purple) + Sicherheit (brand dark + teal)
   Colours only from Brand-Style-Guide v1.4: purple tokens, Sea Serpent teal,
   Eerie Black (--ink) and Raisin Black (--raisin). No navy, no invented blues.
   Loaded in addition to style.css on: /, /ki/*, /sicherheit
   Buttons stay purple everywhere. Field colour lives in bands, kickers,
   numbers, borders and the sub-nav band, never in the primary button.
   ============================================================ */

:root {
  --raisin: #241c2b;          /* Raisin Black, brand dark */
  --teal-ink: #1f7f7b;        /* teal that passes contrast on white */
  --purple-soft: #f3ebff;
  --teal-soft: #e6f7f6;
}

/* Field scopes: set the accent variables once, components read them */
.field-ki  { --field: var(--purple); --field-dark: var(--purple-dark); --field-soft: var(--purple-soft); --field-ink: var(--purple); --field-accent: #cdb8ff; }
.field-sec { --field: var(--purple); --field-dark: var(--purple-dark); --field-soft: var(--purple-soft); --field-ink: var(--purple); --field-accent: #cdb8ff; }  /* Sicherheit uses the site colour; only the homepage doors tell the fields apart */

/* ---------- Homepage: compact hero + two doors ---------- */

.doors { padding: 80px 0 90px; margin-top: 0; position: relative; z-index: 2; }
.doors-grid { display: grid; grid-template-columns: 1.06fr 1fr; gap: 22px; }
.door {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 40px 38px 36px; border-radius: var(--radius-card); color: var(--white);
  overflow: hidden;
}
.door-ki  { background: linear-gradient(145deg, var(--purple-dark) 0%, var(--purple) 60%, var(--purple-mid) 100%); }
.door-sec { background: radial-gradient(circle at 100% 0%, rgba(97,210,206,0.26), transparent 55%), linear-gradient(145deg, var(--raisin) 0%, var(--ink) 100%); }
.door .door-kicker {
  font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 0.04em;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px;
}
.door .door-kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--field-accent); }
.door h2 { color: var(--white); font-size: clamp(26px, 2.8vw, 36px); line-height: 1.2; margin: 0; }
.door p { color: rgba(255,255,255,0.86); font-size: 17px; margin: 0; }
.door ul { list-style: none; padding: 0; margin: 4px 0 8px; display: flex; flex-direction: column; gap: 8px; }
.door li { position: relative; padding-left: 26px; font-size: 16px; color: rgba(255,255,255,0.92); }
.door li::before { content: "→"; position: absolute; left: 0; color: var(--field-accent); font-weight: 700; }
.door .door-actions { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.door .door-sub { font-size: 14px; color: rgba(255,255,255,0.7); }
.door .btn-white-solid { color: var(--field-dark); }
.door-sec .btn-white-solid { color: var(--raisin); }

/* ---------- Bridge: why one house ---------- */
.bridge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 48px; margin-top: 48px; }
.bridge-card { padding: 0; background: none; border: 0; box-shadow: none; }
.bridge-card h3 { font-size: clamp(20px, 1.8vw, 24px); margin-bottom: 12px; }
.bridge-card p { font-size: 16.5px; color: var(--gray-700); margin: 0; }
.bridge-line { margin-top: 40px; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: clamp(18px, 1.9vw, 24px); letter-spacing: -0.02em; color: var(--raisin); }

/* Proof tiles get a field dot */
.ref-tile-meta.is-ki::before, .ref-tile-meta.is-sec::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px;
}
.ref-tile-meta.is-ki::before { background: var(--purple); }
.ref-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.ref-chip { border: 1px solid var(--gray-line); background: #fff; color: var(--gray-700); font: 600 14px/1 var(--font-body); padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.ref-chip:hover { border-color: var(--purple); color: var(--purple); }
.ref-chip.is-active { background: var(--purple); border-color: var(--purple); color: #fff; }
[data-cat].is-hidden { display: none; }
.ref-tile-meta.is-sec::before { background: var(--teal); }

/* ---------- Field band: sub-navigation under the header ---------- */
.field-band {
  background: var(--field); color: var(--white);
  padding-top: calc(var(--header-h) + 12px); padding-bottom: 12px;
  margin-top: calc(var(--header-h) * -1);
}
.field-band .container { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.field-band .field-name {
  font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px; padding-right: 20px; border-right: 1px solid rgba(255,255,255,0.3);
}
.field-band .field-name::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--field-accent); }
.field-band nav { display: flex; gap: 20px; flex-wrap: wrap; }
.field-band nav a { color: rgba(255,255,255,0.82); font-size: 15px; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.field-band nav a:hover { color: var(--white); }
.field-band nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--field-accent); }
.field-band .field-switch { margin-left: auto; font-size: 14px; color: rgba(255,255,255,0.8); }
.field-band .field-switch a { color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Field hero ---------- */
.field-hero { position: relative; overflow: hidden; color: var(--white); padding: 96px 0 92px; background-color: var(--raisin); background-size: cover; background-position: center; background-repeat: no-repeat; }
.field-ki  .field-hero { background-image: linear-gradient(100deg, rgba(89,13,160,0.95) 0%, rgba(118,17,247,0.84) 48%, rgba(118,17,247,0.58) 100%), url(/assets/img/9H6XYuNUQomX6dkpXQqNl29hCgE-2x.webp); }
.field-ki  .field-hero.hero-alt { background-image: linear-gradient(100deg, rgba(89,13,160,0.95) 0%, rgba(118,17,247,0.84) 48%, rgba(118,17,247,0.58) 100%), url(/assets/img/t01N52ZYdLOur7KjDKiWSFvWJSY-2x.webp); }
.field-sec .field-hero { background-image: linear-gradient(100deg, rgba(29,29,27,0.95) 0%, rgba(36,28,43,0.84) 48%, rgba(36,28,43,0.55) 100%), url(/assets/img/MvZ4DBhYzfN2hY9MVCLaJAXzBI-2x.webp); }
.field-hero .container { position: relative; z-index: 1; max-width: 980px; }
.field-hero .eyebrow { margin-bottom: 18px; }
.field-ki .field-hero .eyebrow { color: #cdb8ff; }   /* same tint as the live hero eyebrow */
.field-sec .field-hero .eyebrow { color: var(--teal); }
.field-hero h1 { color: var(--white); margin-bottom: 22px; font-size: clamp(34px, 4.4vw, 58px); }
.field-hero .lead { color: rgba(255,255,255,0.9); margin-bottom: 30px; max-width: 760px; }
.field-hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.field-hero .hero-note { font-size: 14px; color: rgba(255,255,255,0.72); }
.field-hero .promise { list-style: none; padding: 0; margin: 0 0 30px; display: flex; gap: 22px; flex-wrap: wrap; }
.field-hero .promise li { font-size: 15px; color: rgba(255,255,255,0.9); display: inline-flex; align-items: center; gap: 8px; }
.field-hero .promise li::before { content: "✓"; color: var(--field-accent); font-weight: 700; }
.field-hero .btn-white-solid { color: var(--field-dark); }
.field-sec .field-hero .btn-white-solid { color: var(--raisin); }

/* Field-scoped kickers and numbers */
.field-ki .section-kicker .num, .field-ki .kicker, .field-ki .eyebrow { color: #590da0; }
.field-ki .cta-final .kicker { color: #fff; opacity: 0.9; }

/* ---------- Pain grid (KI: "Kennst du das?") ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 56px; margin-top: 44px; }
.pain-card { background: none; border: 0; padding: 0; }
.pain-card h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -0.02em; }
.pain-card p { font-size: 15.5px; color: var(--gray-700); margin: 0; }

/* ---------- Ladder: four ways ---------- */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.ladder-card {
  display: flex; flex-direction: column; gap: 12px; background: var(--white); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); padding: 28px 24px 26px; border: 1px solid transparent; color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.ladder-card:hover { transform: translateY(-3px); border-color: var(--field); box-shadow: 0 10px 28px rgba(118,17,247,0.14); }
.ladder-num { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; color: var(--field-ink); }
.ladder-card h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.03em; margin: 0; }
.ladder-sub { font-size: 14px; color: var(--gray-500); font-weight: 600; }
.ladder-card p { font-size: 15.5px; color: var(--gray-700); margin: 0; flex-grow: 1; }
.ladder-price { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; color: var(--ink); margin-top: 6px; }
.ladder-price small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 13.5px; color: var(--gray-500); letter-spacing: 0; margin-top: 2px; }
.ladder-cta { font-weight: 600; color: var(--field-ink); display: inline-flex; gap: 8px; align-items: center; }
.ladder-tag { position: absolute; }

/* ---------- Entry chooser ("Wenn du …") ---------- */
.entry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.entry-card { display: flex; gap: 20px; align-items: flex-start; background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 26px 26px; color: var(--ink); }
.entry-card .entry-if { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gray-500); white-space: nowrap; padding-top: 4px; }
.entry-card h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 6px; }
.entry-card p { font-size: 15.5px; color: var(--gray-700); margin: 0 0 10px; }
.entry-card .entry-link { font-weight: 600; color: var(--field-ink); }

/* ---------- Comparison table ---------- */
.cmp-wrap { overflow-x: auto; margin-top: 40px; border-radius: var(--radius-card); border: 1px solid var(--gray-line); background: var(--white); }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 820px; font-size: 15px; }
.cmp-table th, .cmp-table td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--gray-line); }
.cmp-table thead th { font-family: var(--font-head); font-size: 15px; letter-spacing: -0.02em; background: var(--field-soft); color: var(--ink); }
.cmp-table thead th:first-child { background: var(--white); }
.cmp-table tbody th { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-500); width: 140px; }
.cmp-table td b { display: block; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.cmp-table td small { color: var(--gray-500); }
.cmp-table tr:last-child th, .cmp-table tr:last-child td { border-bottom: 0; }

/* ---------- Context on / off demo ---------- */
.ctx { background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 34px 34px 30px; margin-top: 40px; }
.ctx-q { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink); margin-bottom: 18px; }
.ctx-q span { color: var(--gray-500); font-weight: 400; display: block; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.ctx-toggle { display: inline-flex; border: 1px solid var(--gray-line); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 24px; background: var(--bg-gray); }
.ctx-btn { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font: inherit; font-weight: 600; color: var(--gray-600); cursor: pointer; transition: background .15s ease, color .15s ease; }
.ctx-btn[aria-pressed="true"] { background: var(--purple); color: var(--white); }
.ctx-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: start; }
.ctx-out { border: 1px solid var(--gray-line); border-radius: 16px; padding: 22px 24px; background: var(--white); }
.ctx-out.is-on { border-color: var(--purple); box-shadow: inset 0 4px 0 var(--purple); }
.ctx-out.is-off { background: var(--bg-gray); }
.ctx-who { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-700); margin-bottom: 12px; }
.ctx-out.is-on .ctx-who { color: #590da0; }
.ctx-out p, .ctx-out li { font-size: 15.5px; }
.ctx-out ul { padding-left: 20px; margin: 8px 0 10px; }
.ctx-out li { margin-bottom: 6px; }
.ctx-out .ctx-decide { font-weight: 700; color: var(--ink); border-top: 1px solid var(--gray-line); padding-top: 10px; margin-top: 10px; }
.ctx-side h4 { font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 12px; font-family: var(--font-head); }
.ctx-side p { font-size: 15px; color: var(--gray-700); }
.ctx-side dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14.5px; }
.ctx-side dt { font-weight: 700; color: var(--ink); white-space: nowrap; }
.ctx-side dd { margin: 0; color: var(--gray-700); }
.ctx-foot { margin-top: 18px; font-size: 13px; color: var(--gray-500); }
[hidden] { display: none !important; }

/* ---------- Four rules / proof boxes ---------- */
.rules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.rules-grid h3 { font-size: 18px; letter-spacing: -0.02em; margin-bottom: 8px; }
.rules-grid p { font-size: 15px; color: var(--gray-700); margin: 0; }
.rules-grid > div { padding-top: 16px; border-top: 2px solid var(--field); }

/* ---------- Offer detail pages ---------- */
.offer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
.offer-box { background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 30px 32px; border-top: 5px solid var(--field); display: grid; grid-template-columns: minmax(220px, auto) 1fr; gap: 4px 48px; align-items: start; }
.offer-box .offer-label, .offer-box .offer-price, .offer-box .offer-unit { grid-column: 1; }
.offer-box .offer-list { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
.offer-box .offer-alt { grid-column: 1 / -1; }
@media (max-width: 760px) { .offer-box { grid-template-columns: 1fr; } .offer-box .offer-list { grid-column: 1; grid-row: auto; margin-top: 12px; } }
.offer-box .offer-label { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gray-500); }
.offer-box .offer-price { font-family: var(--font-head); font-weight: 700; font-size: 38px; letter-spacing: -0.04em; color: var(--ink); margin: 6px 0 2px; }
.offer-box .offer-unit { color: var(--gray-500); font-size: 15px; margin-bottom: 16px; }
.offer-box ul { margin: 0 0 16px; }
.offer-box .offer-alt { font-size: 14px; color: var(--gray-700); border-top: 1px solid var(--gray-line); padding-top: 14px; }
.offer-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.offer-list li { position: relative; padding-left: 28px; font-size: 16.5px; }
.offer-list li::before { content: "✓"; position: absolute; left: 0; color: var(--field-ink); font-weight: 700; }
.takeaway-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.takeaway-grid h3 { font-size: 18px; margin-bottom: 6px; letter-spacing: -0.02em; }
.takeaway-grid p { font-size: 15px; color: var(--gray-700); margin: 0; }
.steps-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.field-ki .step-num { background: var(--purple); }

/* ---------- Governance bridge card ---------- */
.gov-card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--raisin); color: var(--white); border-radius: var(--radius-card); padding: 34px 36px; margin-top: 40px; }
.gov-card .door-kicker { color: var(--teal); font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; display: block; margin-bottom: 8px; }
.gov-card h3 { color: var(--white); font-size: clamp(20px, 2vw, 26px); margin-bottom: 8px; }
.gov-card p { color: rgba(255,255,255,0.85); margin: 0; font-size: 16px; }
.gov-card .btn-white-solid { color: var(--raisin); }
.gov-card.is-ki { background: var(--purple); }
.gov-card.is-ki .door-kicker { color: #d9c2ff; }
.gov-card.is-ki .btn-white-solid { color: var(--purple-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ladder { grid-template-columns: repeat(2, 1fr); }
  .rules-grid { grid-template-columns: repeat(2, 1fr); }
  .takeaway-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-4 { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .doors-grid { grid-template-columns: 1fr; }
  .doors { margin-top: -30px; }
  .bridge-grid { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .ctx-grid { grid-template-columns: 1fr; }
  .entry-grid { grid-template-columns: 1fr; }
  .gov-card { grid-template-columns: 1fr; }
  .field-band .field-switch { margin-left: 0; }
}
@media (max-width: 600px) {
  .door { padding: 30px 24px 28px; }
  .pain-grid, .ladder, .rules-grid, .takeaway-grid, .steps-4 { grid-template-columns: 1fr; }
  .ctx { padding: 24px 20px; }
  .entry-card { flex-direction: column; gap: 8px; }
  .field-band nav { gap: 14px; }
}

@media (max-width: 760px) {
  .field-band nav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; width: 100%; padding-bottom: 2px; }
  .field-band nav::-webkit-scrollbar { display: none; }
  .field-band nav a { white-space: nowrap; }
  .field-band .field-switch { margin-left: 0; }
}

/* ---------- Rechner: echter Geschäftswert (/ki#rechner) ---------- */
.roi { display: grid; grid-template-columns: 1.35fr 1fr; margin-top: 40px; background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); }
.roi-in { padding: 30px 30px; display: flex; flex-direction: column; gap: 26px; }
.roi-grp { display: flex; flex-direction: column; gap: 16px; }
.roi-grp-t { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--purple); }
.roi-grp-i { font-size: 15px; line-height: 1.5; color: var(--gray-500); margin: -8px 0 0; }
.roi-hint { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--gray-500); }
.roi-in label { display: block; font-size: 15.5px; color: var(--gray-700); }
.roi-in label b { float: right; font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); }
.roi-in input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; margin-top: 12px; border-radius: 2px; background: var(--bg-gray); outline: none; }
.roi-in input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--purple); cursor: pointer; border: 3px solid var(--white); box-shadow: 0 1px 4px rgba(0,0,0,0.25); }
.roi-in input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--purple); cursor: pointer; border: 3px solid var(--white); }
.roi-in input[type=range]:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }
.roi-out { font-variant-numeric: tabular-nums; padding: 30px 30px; background: var(--purple-dark); color: var(--white); display: flex; flex-direction: column; gap: 18px; }
.roi-main { display: flex; flex-direction: column; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.2); }
.roi-main > span { font-size: 15px; color: rgba(255,255,255,0.75); }
.roi-main > b { font-family: var(--font-head); font-weight: 700; font-size: clamp(32px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -0.03em; }
.roi-main b.pos { color: var(--teal); }
.roi-main b.neg { color: #ffb4b4; }
.roi-second { display: block; margin-top: 8px; font-size: 15px; color: rgba(255,255,255,0.75); }
.roi-second b { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--white); margin-left: 6px; }
.roi-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.2); }
.roi-mini span { display: block; font-size: 13px; color: rgba(255,255,255,0.7); }
.roi-mini b { font-family: var(--font-head); font-weight: 700; font-size: 15.5px; color: var(--white); white-space: nowrap; }
.roi-bar { display: flex; gap: 4px; height: 10px; }
.roi-bar-real { background: var(--teal); border-radius: 5px; min-width: 2px; transition: width .25s; }
.roi-bar-tco { background: rgba(255,255,255,0.3); border-radius: 5px; min-width: 2px; transition: width .25s; }
.roi-fit { margin: 12px 0 0; padding: 12px 14px; background: rgba(255,255,255,0.1); border-left: 3px solid var(--teal); border-radius: 0 12px 12px 0; font-size: 15px; line-height: 1.5; color: var(--white); }
.roi-note { margin-top: auto; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,0.7); }
@media (max-width: 900px) { .roi { grid-template-columns: 1fr; } .roi-in, .roi-out { padding: 24px 22px; } }
.roi-sticky { display: none; }
@media (max-width: 900px) {
  .roi-sticky { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; align-items: center; gap: 12px; padding: 12px 16px; background: var(--purple-dark); color: var(--white); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.25); transform: translateY(120%); opacity: 0; transition: transform 0.25s ease, opacity 0.25s ease; pointer-events: none; }
  .roi-sticky.is-on { transform: none; opacity: 1; pointer-events: auto; }
  .roi-sticky span { font-size: 13px; color: rgba(255,255,255,0.75); }
  .roi-sticky b { font-family: var(--font-head); font-weight: 700; font-size: 20px; margin-left: auto; white-space: nowrap; }
  .roi-sticky b.neg { color: #ffb4a8; }
  .roi-sticky a { color: var(--white); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
}

/* ---------- KI block on the industry pages (/branchen/*) ---------- */
.ki-br { background: var(--purple-soft); }
.ki-br .section-kicker .label { color: #590da0; }
.ki-br-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 36px; }
.ki-br-col h3 { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 4px; padding-bottom: 10px; border-bottom: 1px solid var(--gray-line); }
.ki-br .fw-pains li:first-child { border-top: 0; }
.ki-br-start { margin-top: 32px; background: var(--white); border-radius: var(--radius-card); padding: 24px 28px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; box-shadow: var(--shadow-card); }
.ki-br-start p { margin: 0; color: var(--gray-700); }
.ki-br-start p strong { color: var(--ink); }
.ki-br-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .ki-br-grid { grid-template-columns: 1fr; gap: 24px; } .ki-br-start { grid-template-columns: 1fr; } }

/* ---------- Field pages use the site hero (hero-photo) under the field band ---------- */
.field-band + .hero-photo { margin-top: 0; padding-top: 96px; }
.hero-photo .promise { list-style: none; padding: 0; margin: 22px auto 0; display: flex; gap: 10px 26px; flex-wrap: wrap; justify-content: center; }
.hero-photo .promise li { font-size: 15px; color: rgba(255,255,255,0.92); display: inline-flex; align-items: center; gap: 8px; }
.hero-photo .promise li::before { content: "✓"; color: var(--teal); font-weight: 700; }

/* ---------- /ki: industry cards ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.ind-card:active, .entry-card:active { transform: scale(0.99); }
.ind-card { display: flex; flex-direction: column; gap: 12px; background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 26px 26px 22px; color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.ind-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.ind-card h3 { font-size: 19px; letter-spacing: -0.02em; margin: 0; }
.ind-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ind-card li { position: relative; padding-left: 18px; font-size: 15px; color: var(--gray-700); }
.ind-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
.ind-card .ind-more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--purple); font-size: 15px; }
@media (max-width: 900px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ind-grid { grid-template-columns: 1fr; } }

/* ---------- /ki: Rennpferd und Stall ---------- */
.stall-sec { background: var(--raisin); color: var(--white); }
.stall-sec .section-kicker .label { color: var(--teal); }
.stall-sec h2 { color: var(--white); }
.stall-sec .section-head p { color: rgba(255,255,255,0.82); }
.stall-sec .section-head p strong { color: var(--white); }
.stall { margin-top: 40px; border-radius: var(--radius-card); overflow: hidden; }
.stall-r:nth-child(odd) { background: rgba(255,255,255,0.06); }
.stall-h, .stall-r { display: grid; grid-template-columns: 1fr 1.6fr; }
.stall-h span { padding: 14px 24px; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--teal); background: rgba(255,255,255,0.06); }
.stall-r div { padding: 16px 24px; font-size: 16px; }
.stall-r div:first-child { color: rgba(255,255,255,0.72); font-style: italic; }
.stall-r div:last-child { color: var(--white); }
.stall-claim { margin: 28px 0 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(18px, 1.9vw, 24px); letter-spacing: -0.02em; color: var(--teal); text-align: center; }
@media (max-width: 640px) { .stall-h { display: none; } .stall-r { grid-template-columns: 1fr; } .stall-r div:last-child { border-left: 0; border-top: 0; padding-top: 0; } }

/* ---------- /sicherheit: six services in two rows of three ---------- */
.field-sec .card-grid.home-services { grid-template-columns: repeat(3, 1fr); max-width: none; }
.field-sec .card-grid.home-services > * { grid-column: auto; }
.field-sec .card-grid.home-services > *:last-child:nth-child(odd) { grid-column: auto; }
@media (max-width: 1000px) { .field-sec .card-grid.home-services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .field-sec .card-grid.home-services { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .hero-photo .promise { flex-direction: column; align-items: center; gap: 8px; } .hero-photo .promise li { text-align: left; align-items: flex-start; } .hero-photo .promise li::before { margin-top: 2px; } }


/* ---------- /ki: floating section navigation ---------- */
.side-nav { position: fixed; right: 28px; top: 50%; transform: translateY(-50%); z-index: 30; display: none; flex-direction: column; gap: 14px; opacity: 0; transition: opacity .25s; pointer-events: none; }
.side-nav.is-visible { opacity: 1; pointer-events: auto; }
.side-nav a { position: relative; display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--gray-line); border: 2px solid var(--white); box-shadow: 0 0 0 1px rgba(0,0,0,0.08); transition: background .15s, transform .15s; }
.side-nav a:hover, .side-nav a.is-active { background: var(--purple); transform: scale(1.25); }
.side-nav a span { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); white-space: nowrap; color: var(--gray-500); font-family: var(--font-head); font-weight: 600; font-size: 13px; padding: 3px 8px; border-radius: 8px; transition: color .15s, background .15s; }
.side-nav a:hover span, .side-nav a.is-active span, .side-nav a:focus-visible span { color: var(--white); background: var(--purple); }
@media (min-width: 1340px) { .side-nav { display: flex; } }

/* ---------- Homepage: partner logos at one visual size (images carry different whitespace) ---------- */
.logo-row img { height: 40px; }
.logo-row img[alt="Netzwerk SDS"] { height: 88px; }
.logo-row img[alt="Zuger Wirtschaftskammer"] { height: 42px; }
.logo-row img[alt="swissICT"] { height: 46px; }
.logo-row img[alt="SWICO"] { height: 28px; }
@media (max-width: 809px) { .logo-row img { height: 30px; } .logo-row img[alt="Netzwerk SDS"] { height: 54px; } .logo-row img[alt="SWICO"] { height: 22px; } }
