/*
 * Kassen-Seiten (KK-Projekt 3.2 ff.): Widgets Konditionen, Zusatzleistungen, Erstattung + Ergänzungen im Hero 10x V2.
 * Farben über die App-Variablen (--ff-*, produkt-kontext.php), Werte laut Figma (KK-Templates).
 * Bis zum Livegang nur in der KK-Vorschau geladen (kassen-seiten.php).
 */

.kk-konditionen,
.kk-zusatz,
.kk-erstattung {
  --kk-text: var(--ff-text, #4C063A);
  --kk-akzent: var(--ff-akzent, #FF7540);
  --kk-flaeche: var(--ff-flaeche, #FFE6D4);
  color: var(--kk-text);
  padding: 60px 0;
}

.kk-titel {
  font-size: 44px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.4px;
  color: var(--kk-text);
  margin: 0 0 24px;
}

.kk-konditionen p,
.kk-zusatz p,
.kk-erstattung p {
  font-size: 17px;
  line-height: 1.53;
  color: var(--kk-text);
}

/* Liste mit Haken im Kreis (Akzentfarbe der App) */
.kk-haken {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kk-haken li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.33;
  color: var(--kk-text);
  margin: 0;
}
.kk-haken li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background-color: var(--kk-akzent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill-rule='evenodd' d='M10 .83a9.17 9.17 0 1 1 0 18.34A9.17 9.17 0 0 1 10 .83Zm3.75 6.67a1 1 0 0 0-1.46-.06l-3.54 3.81-1.04-1.04a1 1 0 1 0-1.42 1.42l1.77 1.77a1 1 0 0 0 1.44-.03l4.29-4.62a1 1 0 0 0-.04-1.25Z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill-rule='evenodd' d='M10 .83a9.17 9.17 0 1 1 0 18.34A9.17 9.17 0 0 1 10 .83Zm3.75 6.67a1 1 0 0 0-1.46-.06l-3.54 3.81-1.04-1.04a1 1 0 1 0-1.42 1.42l1.77 1.77a1 1 0 0 0 1.44-.03l4.29-4.62a1 1 0 0 0-.04-1.25Z'/></svg>") center / contain no-repeat;
}

/* ---------------------------------------------------------------- Konditionen */

.kk-konditionen__raster {
  display: grid;
  grid-template-columns: minmax(0, 552px) minmax(0, 438px);
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}
.kk-konditionen__intro p { margin: 0 0 32px; }

.kk-punkte {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.kk-punkte li {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.kk-punkte li::before { content: none; }
.kk-punkte img { flex: 0 0 64px; width: 64px; height: 48px; }
.kk-punkte span { font-size: 17px; line-height: 1.53; }
.kk-punkte strong { display: block; font-weight: 500; margin-bottom: 4px; }

.kk-karte {
  background: #FBFBFB;
  border-radius: 32px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 24px rgba(76, 6, 58, .04);
}
.kk-karte__kasse {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  line-height: 1.33;
}
.kk-karte__kasse small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .75;
}
.kk-karte__inhalt {
  background: var(--kk-flaeche);
  border-radius: 24px;
  padding: 24px;
}
.kk-karte__inhalt h3 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--kk-text);
  margin: 0 0 16px;
}
.kk-karte .kk-karte__preis {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0 0 16px;
}
.kk-karte__preis strong { font-size: 48px; line-height: 1.1; font-weight: 500; }
.kk-karte__preis span { font-size: 15px; }
.kk-karte__preis s { text-decoration-thickness: 1px; }
.kk-karte .kk-karte__button.btn { width: 100%; max-width: none; justify-content: center; }
.kk-karte__ansicht[hidden],
.kk-karte__download[hidden],
.kk-karte .kk-karte__button.btn[hidden] { display: none; }
.kk-karte__logo { display: block; flex: none; width: auto; max-width: 104px; height: auto; max-height: 40px; object-fit: contain; }
.kk-karte__fuss { display: flex; flex-direction: column; }
.kk-konditionen__raster:has([data-kk-karte]) { align-items: start; }

/* Direkt-Download: Die Fläche bleibt stehen und wächst, der Inhalt wechselt (kassen-seite.js) */
.kk-karte__start-kopf { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.kk-karte__start-kopf h3 { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 500; }
.kk-karte__start-kopf h3:focus { outline: 0; }
.kk-karte__zurueck {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #FBFBFB;
  color: var(--kk-text);
  cursor: pointer;
  transition: transform .15s ease;
}
.kk-karte__zurueck:active { transform: scale(.92); }
.kk-karte__schritte { margin: 0; padding: 0; list-style: none; }
.kk-karte__schritte li {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0 0 20px;
  color: var(--kk-text);
}
.kk-karte__schritte li:last-child { padding-bottom: 0; }
/* Verbindungslinie zwischen den Nummern */
.kk-karte__schritte li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 4px;
  left: 17px;
  width: 2px;
  border-radius: 2px;
  background: var(--kk-akzent);
  opacity: .28;
  transform-origin: top;
}
.kk-karte__nr {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--kk-akzent);
  color: #FFF;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}
.kk-karte__schritt { padding-top: 6px; font-size: 15px; line-height: 1.45; }
.kk-karte__schritt strong { display: block; margin-bottom: 2px; font-size: 16px; font-weight: 600; }
.kk-karte__download { display: flex; flex-direction: column; gap: 12px; }
.kk-konditionen .kk-karte__hilfe { margin: 0; font-size: 13px; line-height: 1.5; text-align: center; }
.kk-karte__hilfe a { color: var(--kk-text); text-decoration: underline; }

/* ---------------------------------------------------------------- Zusatzleistungen */

.kk-zusatz__visual {
  position: relative;
  height: 424px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
}
.kk-zusatz__visual::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 360px;
  border-radius: 40px;
  background: var(--kk-flaeche);
}
.kk-zusatz__visual img { position: relative; display: block; }
/* Handy ragt oben aus der Fläche und wird unten angeschnitten (wie Figma) */
.kk-zusatz__visual--beratung img { width: 277px; height: auto; align-self: flex-start; }
.kk-zusatz__visual--webinare { align-items: center; padding-top: 34px; }
.kk-zusatz__visual--webinare img { width: min(500px, 91%); height: auto; }

.kk-zusatz__einzeln {
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(0, 480px);
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}
.kk-zusatz__einzeln .kk-zusatz__visual { height: 504px; }
.kk-zusatz__einzeln .kk-zusatz__visual::before { height: 420px; }
.kk-zusatz__einzeln .kk-zusatz__visual--beratung img { width: 300px; margin-top: 16px; }
.kk-zusatz__intro p { margin: 0 0 24px; }
.kk-zusatz__einzeln .kk-haken li { font-size: 17px; line-height: 1.53; }
.kk-zusatz__einzeln .kk-haken li::before { top: 3px; }

.kk-zusatz__kopf { max-width: 840px; margin: 0 auto 56px; text-align: center; }
.kk-zusatz__karten {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.kk-zusatz__karte h3 {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--kk-text);
  margin: 32px 8px 16px;
}
.kk-zusatz__karte .kk-haken { margin: 0 8px; }

/* ---------------------------------------------------------------- Erstattung (Infobox) */

.kk-erstattung__box {
  background: #fff;
  border-radius: 40px;
  padding: 40px;
}
.kk-erstattung__kopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}
.kk-erstattung__kopf h2 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--kk-text);
  margin: 0;
}
.kk-erstattung__kopf img { max-height: 40px; max-width: 160px; object-fit: contain; }
.kk-erstattung__tabelle {
  background: #DCE8D6;
  border-radius: 32px;
  padding: 12px 12px 28px;
}
.kk-erstattung .kk-erstattung__label {
  background: #C5DBBE;
  border-radius: 999px;
  text-align: center;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 500;
  padding: 10px 16px;
  margin: 0 0 20px;
}
.kk-erstattung__label small { display: block; font-size: 15px; font-weight: 400; }
.kk-erstattung dl { margin: 0 20px; }
.kk-erstattung dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  font-size: 17px;
  line-height: 1.53;
}
.kk-erstattung dt { font-weight: 400; }
.kk-erstattung dt small { display: block; font-size: 13px; }
.kk-erstattung dd { margin: 0; white-space: nowrap; }
.kk-erstattung .kk-erstattung__summe {
  border-top: 1px solid rgba(76, 6, 58, .15);
  margin-top: 8px;
  padding-top: 18px;
  font-weight: 600;
}
.kk-erstattung__summe dt { font-weight: 600; }
.kk-erstattung .kk-erstattung__bonus { margin: 8px 20px 0; }
.kk-erstattung .kk-erstattung__aktion { display: flex; justify-content: center; margin: 32px 0 0; }

/* ---------------------------------------------------------------- Hero auf Kassen-Seiten (Figma 3821:10636) */

.kk-hero .kk-hero__raster {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 553px);
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}
.kk-hero__bild { display: flex; justify-content: center; }
.kk-hero__motiv { display: block; width: 100%; max-width: 430px; height: auto; }
.kk-hero__badgezeile { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 12px; }
.kk-hero .kk-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 16px 8px 12px;
  border-radius: 100px;
  background: #FECCE0;
  color: var(--ff-text, #4C063A);
  font: 700 12px/1.5 Figtree, sans-serif;
}
.kk-hero__logo { max-height: 35px; max-width: 116px; width: auto; object-fit: contain; }
.kk-hero .kk-hero__titel {
  margin: 8px 0 20px;
  font-size: 44px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--ff-text, #4C063A);
}
.kk-hero .kk-hero__inhalt { display: block; }
.kk-hero__inhalt p { font-size: 16px; line-height: 1.5; color: var(--ff-text, #4C063A); margin: 0 0 20px; }
.kk-hero__inhalt p strong { font-weight: 700; }
.kk-hero__inhalt p:has(+ ul), .kk-hero__inhalt p:has(+ ol) { margin-bottom: 4px; }
.kk-hero__inhalt ul { gap: 8px; margin: 0; padding: 0; }
.kk-hero__inhalt ul li { font-size: 15px; line-height: 1.5; font-weight: 700; gap: 8px; }
.kk-hero .kk-hero__aktion { margin: 24px 0 0; }
.kk-hero .kk-hero__hinweis { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--ff-text, #4C063A); }
.hero-10x-btn-note { font-size: 15px; margin-top: 12px; color: var(--ff-text, #4C063A); }

@media (max-width: 991px) {
  .kk-hero .kk-hero__raster { grid-template-columns: minmax(0, 1fr); }
  .kk-hero__bild { order: 2; }
  .kk-hero__motiv { max-width: 320px; }
}
@media (max-width: 767px) {
  .kk-hero .kk-hero__titel { font-size: 32px; }
}

/* Nummerierte Liste „So startest Du“ (Pill-Zahlen statt Pfeile) */
.kk-seite .hero-content ol {
  list-style: none;
  counter-reset: kk-schritt;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kk-seite .hero-content ol li {
  counter-increment: kk-schritt;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.kk-seite .hero-content ol li::before {
  content: counter(kk-schritt);
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  margin: 0;
  border-radius: 50%;
  background: #FECCE0;
  color: var(--ff-akzent, #FF7540);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 400;
}

/* ---------------------------------------------------------------- Allgemeine Kassen-Seite (3.7) */

.kk-suche,
.kk-info {
  --kk-text: var(--ff-text, #4C063A);
  --kk-flaeche: var(--ff-flaeche, #FFE6D4);
  color: var(--kk-text);
}
/* Erster Abschnitt unter dem absolut liegenden Header. Links Suche, rechts Karte wie im Finder (häufige Kassen mit
   Status, Privat versichert, Ich zahle selbst). Kein Figma, abgeleitet aus Kassen-Hero und Finder. */
.kk-suche { padding: 180px 0 72px; }
.kk-suche__raster {
  display: grid;
  grid-template-columns: minmax(0, 580px) minmax(0, 460px);
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}
.kk-suche .kk-suche__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  padding: 8px 16px 8px 12px;
  border-radius: 100px;
  background: #FECCE0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.kk-suche__titel { font-size: 52px; line-height: 1.15; font-weight: 600; letter-spacing: -.5px; color: var(--kk-text); margin: 0 0 20px; }
.kk-suche__text p { font-size: 18px; line-height: 1.55; color: var(--kk-text); margin: 0 0 32px; }
.kk-suche__suche { position: relative; z-index: 5; max-width: 520px; }
.kk-suche__feld {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 64px;
  margin: 0;
  padding: 0 24px;
  border: 2px solid var(--ff-akzent, #FF7540);
  border-radius: 100px;
  background: #FBFBFB;
  font: 400 18px Figtree, sans-serif;
  color: rgba(76, 6, 58, .7);
  cursor: text;
  box-shadow: 0 8px 30px rgba(76, 6, 58, .06);
  transition: box-shadow .2s ease, transform .2s ease;
}
.kk-suche__feld:hover,
.kk-suche__feld:focus-within { box-shadow: 0 10px 34px rgba(76, 6, 58, .1); }
.kk-suche__feld img { flex: none; }
.kk-suche__feld input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  color: var(--kk-text);
  text-overflow: ellipsis;
}
.kk-suche__feld input::placeholder { color: rgba(76, 6, 58, .7); opacity: 1; }
.kk-suche__treffer {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  max-height: 320px;
  margin: 0;
  padding: 8px;
  overflow-y: auto;
  list-style: none;
  border-radius: 24px;
  background: #FBFBFB;
  box-shadow: 0 24px 60px rgba(76, 6, 58, .14);
}
.kk-suche__treffer[hidden] { display: none; }
.kk-suche__treffer li { margin: 0; padding: 0; }
.kk-suche__treffer li::before { content: none; }
.kk-suche .kk-suche__treffer-zeile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  color: var(--kk-text);
  text-decoration: none;
}
.kk-suche a.kk-suche__treffer-zeile:hover,
.kk-suche a.kk-suche__treffer-zeile.is-aktiv { background: var(--kk-flaeche); color: var(--kk-text); text-decoration: none; }
.kk-suche__treffer-zeile.is-bald { opacity: .6; }
.kk-suche__treffer-name { display: flex; flex: 1; min-width: 0; flex-direction: column; }
.kk-suche__treffer-name strong { font-size: 16px; font-weight: 600; line-height: 1.35; }
.kk-suche__treffer-name small { font-size: 13px; line-height: 1.35; color: rgba(76, 6, 58, .75); }
.kk-suche__treffer-leer { padding: 12px; font-size: 15px; color: var(--kk-text); }

.kk-suche__karte {
  padding: 28px 20px 20px;
  border-radius: 40px;
  background: #FBFBFB;
  box-shadow: 0 24px 60px rgba(76, 6, 58, .08);
}
.kk-suche .kk-suche__chips-titel { margin: 0 12px 8px; font-size: 12px; font-weight: 600; letter-spacing: .72px; text-transform: uppercase; color: rgba(76, 6, 58, .7); }
.kk-suche__liste { list-style: none; margin: 0; padding: 0; }
.kk-suche__liste li { margin: 0; padding: 0; }
.kk-suche__liste li::before { content: none; }
.kk-suche__liste + .kk-suche__liste--weitere { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(76, 6, 58, .08); }
.kk-suche .kk-suche__zeile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 20px;
  color: var(--kk-text);
  text-decoration: none;
  transition: background-color .2s ease, transform .15s ease;
}
.kk-suche .kk-suche__zeile:active { transform: scale(.98); }
.kk-suche .kk-suche__zeile:hover,
.kk-suche .kk-suche__zeile:focus-visible { background: var(--kk-flaeche); color: var(--kk-text); text-decoration: none; }
.kk-suche__name { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.kk-suche__name strong { font-size: 17px; font-weight: 600; line-height: 1.4; }
.kk-suche__name > span { display: flex; align-items: flex-start; gap: 6px; font-size: 14px; line-height: 1.4; color: rgba(76, 6, 58, .75); }
.kk-suche__punkt { width: 8px; height: 8px; flex: none; margin-top: 6px; border-radius: 50%; background: var(--ff-akzent, #FF7540); }
.kk-suche .kk-suche__zeile .kk-kreis--buchstabe { background: var(--kk-flaeche); transition: background-color .2s ease; }
.kk-suche .kk-suche__zeile:hover .kk-kreis--buchstabe { background: #FBFBFB; }
.kk-suche__pfeil { flex: none; transition: transform .2s ease; }
.kk-suche__zeile:hover .kk-suche__pfeil { transform: translateX(3px); }

.kk-info { padding: 20px 0; scroll-margin-top: 120px; }
.kk-info__box { max-width: 900px; margin: 0 auto; padding: 48px; border-radius: 40px; background: #FBFBFB; }
.kk-info__box--symbol { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 28px; align-items: start; }
.kk-info .kk-kreis--56.kk-kreis--pkv { font-size: 15px; background: var(--kk-flaeche); }
.kk-info .kk-kreis--56.kk-kreis--euro { border-radius: 18px; background: var(--kk-flaeche); }
.kk-info .kk-titel { font-size: 36px; margin-bottom: 16px; }
.kk-info .kk-info__ueberschrift { margin: 32px 0 32px; font-size: 44px; text-align: center; }
.kk-info__text p, .kk-info__text li { font-size: 17px; line-height: 1.55; color: var(--kk-text); }
.kk-info__text p { margin: 0 0 14px; }
.kk-info__text p:last-child { margin-bottom: 0; }
.kk-info .kk-info__aktion { margin: 24px 0 0; }
.kk-alle__liste { margin: 0; padding: 0; list-style: none; columns: 3; column-gap: 32px; }
.kk-alle__liste li { margin: 0 0 8px; padding: 0; break-inside: avoid; }
.kk-alle__liste li::before { content: none; }
.kk-alle__liste a { color: var(--kk-text); font-size: 16px; line-height: 1.5; text-decoration: none; }
.kk-alle__liste a:hover { color: var(--kk-text); text-decoration: underline; }

/* ---------------------------------------------------------------- Responsive */

@media (max-width: 991px) {
  .kk-konditionen__raster,
  .kk-zusatz__einzeln { grid-template-columns: minmax(0, 1fr); }
  .kk-karte { max-width: 480px; }
  .kk-zusatz__einzeln .kk-zusatz__visual { max-width: 540px; }
  .kk-suche__raster { grid-template-columns: minmax(0, 1fr); }
  .kk-suche__karte { max-width: 560px; width: 100%; }
  /* Webinar-Visual hat kein überstehendes Handy: übereinander gestapelt ohne Leerraum oben */
  .kk-zusatz__einzeln .kk-zusatz__visual--webinare { height: auto; padding: 40px 24px; }
  .kk-zusatz__einzeln .kk-zusatz__visual--webinare::before { top: 0; height: auto; }
}

@media (max-width: 767px) {
  .kk-konditionen,
  .kk-zusatz,
  .kk-erstattung { padding: 40px 0; }
  .kk-titel { font-size: 32px; }
  .kk-zusatz__karten { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .kk-zusatz__visual,
  .kk-zusatz__einzeln .kk-zusatz__visual { height: 380px; }
  .kk-zusatz__visual::before,
  .kk-zusatz__einzeln .kk-zusatz__visual::before { height: 320px; border-radius: 32px; }
  .kk-zusatz__visual--beratung img,
  .kk-zusatz__einzeln .kk-zusatz__visual--beratung img { width: 240px; }
  .kk-zusatz__visual--webinare,
  .kk-zusatz__einzeln .kk-zusatz__visual--webinare { height: auto; padding: 32px 16px; }
  .kk-zusatz__visual--webinare::before,
  .kk-zusatz__einzeln .kk-zusatz__visual--webinare::before { top: 0; height: auto; }
  .kk-zusatz__kopf { margin-bottom: 40px; }
  .kk-erstattung__box { padding: 24px 16px; border-radius: 32px; }
  .kk-erstattung__kopf h2 { font-size: 24px; }
  .kk-erstattung .kk-erstattung__label { font-size: 20px; }
  .kk-erstattung dl { margin: 0 8px; }
  .kk-erstattung .kk-erstattung__bonus { margin: 8px 8px 0; }
  .kk-karte__preis strong { font-size: 40px; }
  .kk-karte { scroll-margin-top: 16px; }

  /* Hero: Logo und Badge bilden eine Fläche, Button vor der Schrittliste, mehr Luft */
  .kk-hero__text { display: flex; flex-direction: column; }
  .kk-hero__badgezeile { flex-wrap: nowrap; gap: 12px; margin-bottom: 24px; padding: 8px 16px 8px 8px; border-radius: 20px; background: #FECCE0; }
  .kk-hero__badgezeile > .kk-hero__logo,
  .kk-hero__badgezeile > .kk-kreis { order: -1; flex: none; }
  .kk-hero__badgezeile > .kk-hero__logo { box-sizing: content-box; max-width: 76px; max-height: 28px; padding: 8px; border-radius: 12px; background: #FFF; }
  .kk-hero .kk-hero__badge { padding: 0; border-radius: 0; background: none; font-size: 13px; line-height: 1.35; }
  .kk-hero .kk-hero__badge img { display: none; }
  .kk-hero .kk-hero__titel { margin-bottom: 24px; line-height: 1.25; }
  .kk-hero .kk-hero__inhalt { display: contents; }
  .kk-hero__inhalt > * { order: 1; }
  .kk-hero__inhalt p { margin-bottom: 20px; line-height: 1.6; }
  .kk-hero .kk-hero__aktion { order: 2; margin: 8px 0 0; }
  .kk-hero .kk-hero__aktion .btn { width: 100%; max-width: none; justify-content: center; }
  .kk-hero .kk-hero__hinweis { order: 3; margin: 16px 0 0; text-align: center; }
  .kk-hero__inhalt p:has(+ ul),
  .kk-hero__inhalt p:has(+ ol) { order: 4; margin: 40px 0 12px; }
  .kk-hero__inhalt ul,
  .kk-hero__inhalt ol { order: 5; }

  /* Schritte-Slider: nächste Kachel im Anschnitt. Fläche nur noch an der Kachel, Slider läuft bis an den Rand */
  .kacheln-grid.is-slider {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding-inline: 20px;
    border-radius: 0;
    background: none;
    scroll-padding-inline: 20px;
  }
  .kacheln-grid.is-slider > .kacheln-slide { flex-basis: calc(100% - 16px); margin-right: 12px; padding: 0; }
  .kacheln-grid.is-slider > .kacheln-slide:last-child { margin-right: 0; }
  .kacheln-grid.is-slider .kachel-card { border-radius: 48px; }

  /* Slider: 16 Punkte passen nicht in die Breite */
  .sl-dots { gap: 2px; }
  .sl-dot.is-fern { display: none; }
  .sl-dot.is-rand::before { transform: scale(.6); }
  /* „Was ist ein Präventionskurs?“: Text vor dem Bild (kassen-seite.js) */
  .kk-text-zuerst > :has(.textimg-content-align) { order: -1; }
  .kk-suche { padding: 140px 0 40px; }
  .kk-suche__titel { font-size: 34px; }
  .kk-suche__karte { padding: 20px 8px 8px; border-radius: 32px; }
  .kk-suche__text p { font-size: 16px; }
  .kk-suche__feld { height: 56px; font-size: 16px; padding: 0 18px; }
  .kk-info__box { padding: 28px 20px; border-radius: 32px; }
  .kk-info__box--symbol { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .kk-info .kk-titel { font-size: 28px; }
  .kk-alle__liste { columns: 2; column-gap: 16px; }
  .kk-info .kk-info__ueberschrift { margin: 16px 0 24px; font-size: 32px; }
}

@media (max-width: 400px) {
  .kk-suche__feld { font-size: 15px; padding: 0 16px; gap: 10px; }
}
