/* Kampagne "Menschen, hell" LIVE (14.11.2026, Freigabe Max: "Ja passt. Umsetzen. Ueberall platzieren und auch oft."):
   A = grosse Kachel premium-karte, B = kompakte Kachel zwischen Basisprofilen premium-kachel, C = Kopf /fuer-anwaelte.
   Nur Markenfarben: Weiss, Soft #eff6ff, Blau #2563eb, Navy #1e3a8a; Schrift Inter (liefert die Seite selbst, kein Google-Font).
   Responsive per Container (Wrapper .kx mit container-type), nicht per Viewport: dieselbe Kachel sitzt in schmaler Spalte
   und im breiten Kopf. Jedes Foto traegt "Mit KI erstellt" (.k2-ki). */
.kx{container-type:inline-size;min-width:0}
.kx.pf-zu{display:none}
.kx *{box-sizing:border-box}
.k2{--navy:#1e3a8a;--link:#2563eb;--soft:#eff6ff;--gelb:#f59e0b;--ink:#0f172a;--text:#334155;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);text-align:left}
.k2 p,.k2 ul{margin:0;padding:0}.k2 ul{list-style:none}
.k2-ki{position:absolute;z-index:2;right:8px;bottom:8px;font-size:11px;line-height:18px;font-weight:600;letter-spacing:.01em;padding:0 8px;border-radius:6px;background:rgba(255,255,255,.92);color:var(--navy)}
.k2-foto{position:relative;overflow:hidden;background:var(--soft)}
.k2-foto img{display:block;width:100%;height:100%;object-fit:cover}
.k2-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 20px;border-radius:12px;background:var(--link);color:#fff!important;font-size:16px;font-weight:600;line-height:1.1;text-decoration:none!important;box-shadow:0 1px 2px rgba(30,58,138,.2),0 8px 18px -10px rgba(37,99,235,.7);transition:background .2s}
.k2-btn svg{width:18px;height:18px;flex:none;transition:transform .25s}
@media (hover:hover) and (pointer:fine){.k2-btn:hover{background:#1d4ed8}.k2-btn:hover svg{transform:translateX(3px)}}
.k2-btn:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
.k2-btn-ghost{background:#fff;color:var(--navy)!important;box-shadow:inset 0 0 0 1.5px var(--navy)}
@media (hover:hover) and (pointer:fine){.k2-btn-ghost:hover{background:var(--soft)}}
.k2-pill{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px 0 8px;border-radius:999px;background:#dbeafe;color:var(--navy);font-size:12.5px;font-weight:600;line-height:1;white-space:nowrap}
.k2-pill svg{width:14px;height:14px;flex:none}
.k2-anz{font-size:11.5px;line-height:20px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--navy);background:#fff;border:1px solid rgba(37,99,235,.45);border-radius:6px;padding:0 7px}
.k2-x{width:44px;height:44px;display:grid;place-items:center;border:0;background:none;padding:0;cursor:pointer;color:#475569}
.k2-x svg{width:16px;height:16px}
.k2-x:hover{color:var(--navy)}.k2-x:focus-visible{outline:3px solid #93c5fd;outline-offset:-3px}
.k2-ok{display:flex;align-items:flex-start;gap:8px;font-size:14px;line-height:1.4;color:#1e293b}
.k2-ok svg{flex:none;width:18px;height:18px;margin-top:1px;border-radius:50%;background:#dbeafe;color:var(--link);padding:3px}

/* ---------- A: grosse Kachel ---------- */
.k2a{position:relative;display:grid;grid-template-columns:minmax(0,1fr);border-radius:20px;overflow:hidden;
  background:linear-gradient(135deg,#e6f0ff 0%,var(--soft) 45%,#fff 100%);border:1px solid rgba(37,99,235,.4);
  box-shadow:0 1px 2px rgba(30,58,138,.06),0 10px 24px -16px rgba(30,58,138,.25)}
.k2a-foto{margin:8px 8px 0;height:176px;border-radius:14px}
.k2a-foto img{object-position:var(--pos,70% 30%)}
.k2a-kopf{position:absolute;z-index:3;top:16px;left:16px;right:8px;display:flex;align-items:center;gap:8px}
.k2a-kopf .k2-pill{box-shadow:0 1px 3px rgba(15,23,42,.15);background:#fff}
.k2a-kopf .k2-anz{margin-left:auto;margin-right:36px;box-shadow:0 1px 3px rgba(15,23,42,.15)}
.k2a .k2-x{position:absolute;z-index:4;top:4px;right:0}
.k2a .k2-x i{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.2)}
.k2a-text{padding:14px 16px 16px}
.k2a-h{font-size:24px;line-height:1.16;font-weight:800;letter-spacing:-.02em;color:var(--navy);text-wrap:balance}
.k2-w{position:relative;display:inline-block;white-space:nowrap}
.k2-w svg{position:absolute;left:-2px;right:-2px;bottom:-5px;width:calc(100% + 4px);height:9px;overflow:visible;pointer-events:none}
.k2-w svg path{fill:none;stroke:var(--gelb);stroke-width:3.2;stroke-linecap:round;vector-effect:non-scaling-stroke}
.k2a-lead{margin-top:10px!important;font-size:14px;line-height:1.45;color:var(--text)}
.k2a-li{display:grid;gap:6px;margin-top:12px!important}
.k2a-cta{display:grid;gap:8px;margin-top:16px}
.k2a-cta .k2-btn{width:100%}
.k2a-preis{font-size:12px;line-height:1.4;color:#475569;text-align:center}
@container (min-width:700px){
  .k2a{grid-template-columns:minmax(0,1fr) 38%;border-radius:22px;min-height:372px}
  .k2a-foto{grid-column:2;grid-row:1;margin:12px 12px 12px 0;height:auto;border-radius:16px}
  .k2a-kopf{top:18px;left:24px;right:auto}
  .k2a-kopf .k2-pill{background:#dbeafe;box-shadow:none}
  .k2a-kopf .k2-anz{position:absolute;margin:0}
  .k2a-text{grid-column:1;grid-row:1;padding:56px 12px 20px 24px}
  .k2a-h{font-size:30px;max-width:22ch}
  .k2a-lead{font-size:15px;max-width:60ch}
  .k2a-li{gap:6px}
  .k2a-cta{justify-items:center;width:min(100%,480px)}
  .k2a-cta .k2-btn{font-size:16px}
  .k2a-preis{font-size:12.5px}
}
.k2a-anz-d{display:none}
@container (min-width:700px){
  .k2a-kopf .k2-anz{display:none}
  .k2a-anz-d{display:block;position:absolute;z-index:3;top:18px;right:62px}
  .k2a .k2-x{top:12px;right:12px}
  .k2a .k2-x i{background:#fff}
}

/* ---------- B: Kachel in der Liste ---------- */
.k2b{position:relative;display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;align-items:start;padding:12px;border-radius:12px;background:var(--soft);border:1px solid rgba(30,58,138,.15);border-left:4px solid var(--link)}
.k2b-foto{grid-row:1/span 2;width:88px;height:88px;border-radius:10px}
.k2b-foto img{object-position:50% 25%}
.k2b .k2-ki{left:0;right:0;bottom:0;border-radius:0;text-align:center;font-size:10.5px;line-height:16px;padding:0;background:rgba(30,58,138,.86);color:#fff}
.k2b-chip{font-size:11.5px;line-height:1.35;font-weight:600;letter-spacing:.02em;color:var(--navy);background:#fff;border-radius:6px;padding:3px 8px;display:inline-block;justify-self:start}
.k2b-h{margin:8px 0 4px!important;font-size:16px;line-height:1.3;font-weight:700;color:var(--navy)}
.k2b-t{font-size:13.5px;line-height:1.45;color:var(--text);margin:0 0 4px!important}
.k2b-btn{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:10px;background:var(--link);color:#fff!important;font-size:15px;font-weight:600;text-decoration:none!important}
.k2b-btn svg{width:16px;height:16px}
@media (hover:hover) and (pointer:fine){.k2b-btn:hover{background:#1d4ed8}}
.k2b-btn:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
.k2b-in{grid-column:2;min-width:0}
@container (min-width:560px){
  .k2b{grid-template-columns:104px minmax(0,1fr) auto;gap:16px;align-items:center;padding:14px 16px 14px 14px}
  .k2b-foto{grid-row:1;width:104px;height:104px}
  .k2b-in{grid-column:2}
  .k2b-btn{grid-column:3;padding:0 18px;white-space:nowrap}
}

/* ---------- C: Kopf /fuer-anwaelte ---------- */
.k2c{background:linear-gradient(180deg,var(--soft) 0%,#fff 100%);padding:20px 0 28px}
.k2c-in{max-width:1180px;margin:0 auto;padding:0 16px;display:grid;gap:20px;grid-template-columns:minmax(0,1fr)}
.k2c-foto{aspect-ratio:4/3;border-radius:20px;box-shadow:0 18px 40px -26px rgba(30,58,138,.5)}
.k2c-foto img{object-position:78% 30%}
.k2c-h{margin:0 0 12px!important;font-size:clamp(32px,9vw,38px);line-height:1.1;font-weight:700;letter-spacing:-.025em;color:var(--navy);text-wrap:balance}
.k2c-lede{font-size:16px;line-height:1.55;color:var(--text)}
.k2c-lede strong{display:block;margin-bottom:6px;color:var(--ink);font-weight:600}
.k2c-wege{display:grid;gap:18px;margin-top:22px}
.k2c-weg{display:grid;gap:6px}
.k2c-weg .k2-btn{width:100%;min-height:52px}
.k2c-weg small{font-size:13px;line-height:1.4;color:#475569;text-align:center}
.k2c-find{margin-top:16px!important;font-size:14px;color:#475569}
.k2c-find a{color:var(--link);font-weight:600;text-decoration:underline;text-underline-offset:3px;display:inline-flex;min-height:44px;align-items:center}
@container (min-width:900px){
  .k2c{padding:44px 0 56px}
  .k2c-in{padding:0 24px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:48px;align-items:center}
  .k2c-foto{grid-column:2;grid-row:1;aspect-ratio:auto;height:520px;border-radius:28px}
  .k2c-foto img{object-position:72% 30%}
  .k2c-txt{grid-column:1;grid-row:1}
  .k2c-h{font-size:clamp(40px,4vw,52px)}
  .k2c-lede{font-size:17px;max-width:54ch}
  .k2c-wege{grid-template-columns:auto auto;justify-content:start;gap:16px 20px;align-items:start}
  .k2c-weg .k2-btn{width:auto;padding:0 22px;white-space:nowrap}
  .k2c-weg small{text-align:left;padding-left:4px}
}
@media (prefers-reduced-motion:reduce){.k2-btn,.k2-btn svg{transition:none!important}}
@container (max-width:359.98px){.k2-lang{display:none}.k2a-h{font-size:22px}}

/* Abstaende der Einbettung (14.11.2026) */
.kx-a-oben{margin:12px 0 4px}
.kx-a-basis{margin:20px 0 12px}
.k2b-li{list-style:none;margin:12px 0;padding:0;min-width:0}
/* /fuer-anwaelte: .jm h1 setzt die Schriftfarbe der Seite; Kachel C bleibt Navy wie in der Vorlage */
.k2.k2c .k2c-h{color:var(--navy)}
