/* Karingo: Lesefläche im Einstieg, Gerätefoto daneben. */
main .khero, main .khero .kcopy {
  --hero-text: #fff;
  background: var(--kg-night, #14344b);
  color: #fff;
}
main .khero .kcopy h1 { color: #fff; line-height: 1.07; }
main .khero .kcopy h1 span { color: var(--kg-bright, #c0ebff); }
main .khero .kcopy > p, main .khero .kg-proof :is(strong,small) { color: #fff; opacity: 1; }
main .khero .kcopy > p:not(.kbrandnote) { max-width: 46ch; font-weight: 500; line-height: 1.55; }
main .khero .kcopy > .kbrandnote { color: #fff !important; font-weight: 500; line-height: 1.55; }
main .khero .kcopy .kacts { gap: .65rem; }
main .khero .kcopy .kacts > a[href^="tel:"] { background: white; color: var(--kg-night, #14344b) !important; }
main .khero .kcopy .kbtn.secondary { background: transparent; color: white; border: 2px solid white; }
main .khero .kcopy .kbtn.secondary:is(:hover,:focus-visible) { background: white; color: var(--kg-night, #14344b); }
main .khero .kacts a:focus-visible { outline: 3px solid white; outline-offset: 4px; }
main .khero .kcopy .kgr-badge { background: white; color: #142b39; }
main :is(.ke-intro,.kintro) h1 { color: #142b39; }
main :is(.ke-intro,.kintro) > p { color: #273f4e; }

/* Eine nummerierte Anleitung. Ihre verfügbare Breite bestimmt das Layout. */
main figure.ke-flow {
  --flow-ink: var(--kg-night, #14344b);
  --flow-tint: var(--pale, #ecf4f7);
  container-type: inline-size;
  background: white;
  border: 1px solid var(--kg-rule, #cddbe2);
  border-radius: 16px;
  max-width: 58rem;
  margin: 2rem 0 1.25rem;
  overflow: hidden;
}
main figure.ke-flow figcaption {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  margin: 0; padding: 1rem 1.25rem; background: var(--flow-tint);
  border-bottom: 1px solid var(--kg-rule, #cddbe2);
  color: var(--flow-ink); font-size: 1.15rem; line-height: 1.25; font-weight: 750;
}
main figure.ke-flow figcaption::after {
  content: ""; flex: 0 0 4.7rem; height: 1.8rem;
  background: var(--flow-logo, url("/karingo-design/logo.webp")) center / contain no-repeat;
}
main figure.ke-flow ol {
  margin: 0; padding: .15rem 1.25rem; border-radius: 0;
  display: grid; grid-template-columns: minmax(0,1fr); gap: 0;
  background: white; list-style: none; counter-reset: flow-step;
}
main figure.ke-flow ol li {
  --step-icon: var(--flow-icon, url("/karingo-kontakt/bildzeichen/protokoll.svg"));
  position: relative; margin: 0; padding: 1rem 0 1rem 3.55rem;
  border: 0; counter-increment: flow-step; color: #243f4b; min-width: 0;
}
main figure.ke-flow ol li + li { border-top: 1px solid var(--kg-rule, #cddbe2); }
main figure.ke-flow ol li::before {
  content: ""; position: absolute; left: 0; top: .98rem; width: 2.7rem; height: 2.7rem;
  border-radius: 12px; background: var(--flow-tint);
}
main figure.ke-flow ol li::after {
  content: ""; position: absolute; left: .63rem; top: 1.61rem; width: 1.44rem; height: 1.44rem;
  background-color: var(--flow-ink);
  -webkit-mask: var(--step-icon) center / contain no-repeat;
  mask: var(--step-icon) center / contain no-repeat;
}
main figure.ke-flow ol li strong {
  display: block; color: var(--flow-ink); font-size: 1.02rem; line-height: 1.35; font-weight: 750;
}
main figure.ke-flow ol li strong::before {
  content: counter(flow-step,decimal-leading-zero); display: inline;
  background: transparent; color: var(--flow-ink); font-size: .79em; font-weight: 650;
  min-width: 0; height: auto; margin: 0 .45rem 0 0; font-variant-numeric: tabular-nums;
}
main figure.ke-flow ol li span { display: block; margin-top: .25rem; font-size: 1rem; line-height: 1.5; color: #2e4652; }
@container (min-width: 43rem) {
  main figure.ke-flow ol { grid-template-columns: repeat(3,minmax(0,1fr)); padding: 1.25rem 0; }
  main figure.ke-flow ol li { padding: 3.45rem 1.35rem 0; }
  main figure.ke-flow ol li + li { border-top: 0; border-left: 1px solid var(--kg-rule, #cddbe2); }
  main figure.ke-flow ol li::before { left: 1.35rem; top: 0; }
  main figure.ke-flow ol li::after { left: 1.98rem; top: .63rem; }
}

main figure.ke-flow ol li.kf-warnung { --flow-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M10.3 4a2 2 0 0 1 3.4 0l8 14a2 2 0 0 1-1.7 3H4a2 2 0 0 1-1.7-3zM12 9v4m0 3v.1'/%3E%3C/svg%3E"); }
main figure.ke-flow ol li.kf-buch { --flow-icon: url("/karingo-kontakt/bildzeichen/buch.svg"); }
main figure.ke-flow ol li.kf-code { --flow-icon: url("/karingo-kontakt/bildzeichen/code.svg"); }
main figure.ke-flow ol li.kf-kalender { --flow-icon: url("/karingo-kontakt/bildzeichen/kalender.svg"); }
main figure.ke-flow ol li.kf-preise { --flow-icon: url("/karingo-kontakt/bildzeichen/preise.svg"); }
main figure.ke-flow ol li.kf-protokoll { --flow-icon: url("/karingo-kontakt/bildzeichen/protokoll.svg"); }
main figure.ke-flow ol li.kf-reparatur { --flow-icon: url("/karingo-kontakt/bildzeichen/reparatur.svg"); }
main figure.ke-flow ol li.kf-telefon { --flow-icon: url("/karingo-kontakt/bildzeichen/telefon.svg"); }
main figure.ke-flow ol li.kf-wartung { --flow-icon: url("/karingo-kontakt/bildzeichen/wartung.svg"); }
main figure.ke-flow ol li.kf-wartung { --flow-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%222.5%22%20width%3D%2214%22%20height%3D%2217%22%20rx%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M5%2013h14M8%2016h3m-3%203.5V22m8-2.5V22%22%2F%3E%3Ccircle%20cx%3D%2215.5%22%20cy%3D%2216.3%22%20r%3D%22.65%22%2F%3E%3C%2Fsvg%3E"); }
main figure.ke-flow ol li.kf-reparatur { --flow-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M15%204a5%205%200%200%200-5.8%206.7L3.8%2016a2.5%202.5%200%200%200%203.6%203.5l5.5-5.5a5%205%200%200%200%206.7-5.8l-3.1%203.1-3.2-3.2L16.5%205z%22%2F%3E%3C%2Fsvg%3E"); }
