/* =====================================================================
   Leistungen & Preise (2026-10-30) — Kopf mit Suche, Kategorie-Kacheln, klebende Leiste, Preislisten.
   ===================================================================== */
.kp-kopf { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; margin: -3.5rem calc(50% - 50vw) 0; width: 100vw; min-height: clamp(480px, 64svh, 660px); color: #fff; background: #050506; }
.kp-kopf::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bild, none) center 55% / cover no-repeat, #0b0b0d; transform: scale(1.08); animation: kpHeran 14s cubic-bezier(.2, .7, .2, 1) forwards; }
.kp-kopf::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 5, 6, .92) 0%, rgba(5, 5, 6, .6) 45%, rgba(5, 5, 6, .3) 100%), linear-gradient(180deg, rgba(5, 5, 6, .5) 0%, transparent 30%, transparent 55%, #050506 100%); }
@keyframes kpHeran { to { transform: scale(1.02); } }
.kp-kopf *, .kp *, .kp *::before, .kp *::after { box-sizing: border-box; }
.kp-kopf__inhalt { width: 100%; max-width: 1240px; margin: 0 auto; padding: clamp(4rem, 12vh, 7rem) 16px clamp(2rem, 5vh, 3rem); }
.kp-eyebrow { display: flex; align-items: center; gap: .8rem; margin: 0 0 1rem; color: var(--lx-red-2, #E0233F); font-size: .7rem; font-weight: 600; letter-spacing: .36em; text-transform: uppercase; }
.kp-eyebrow span { width: 2.6rem; height: 1px; background: currentColor; }
.kp-kopf .kp-titel { margin: 0; font: 300 clamp(2.6rem, 5.6vw, 5rem)/1 var(--lx-serif, Georgia, serif); }
.kp-titel em { font-style: italic; color: rgba(255, 255, 255, .78); }
.kp-lead { max-width: 36rem; margin: 1.2rem 0 0; color: rgba(255, 255, 255, .72); font-size: 1.04rem; line-height: 1.65; }
.kp-suche { position: relative; display: flex; align-items: center; gap: .9rem; max-width: 40rem; margin-top: 1.8rem; padding: 0 1.2rem; border: 1px solid rgba(255, 255, 255, .25); background: rgba(5, 5, 6, .6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: border-color .2s, box-shadow .2s; }
.kp-suche:focus-within { border-color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .08); }
.kp-suche .ccm-ks-ico { width: 1.3rem; height: 1.3rem; flex: none; color: rgba(255, 255, 255, .7); }
body.ccm-public-body .ccm-page--public label.kp-suche input#kpSearch, body.ccm-public-body label.kp-suche input#kpSearch { flex: 1; min-width: 0; height: 3.6rem; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; color: #fff !important; font-size: 1.05rem !important; outline: none; }
.kp-suche__treffer { flex: none; color: rgba(255, 255, 255, .55); font-size: .74rem; letter-spacing: .1em; }
.kp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.kp-meta { margin: .9rem 0 0; color: rgba(255, 255, 255, .5); font-size: .78rem; }
.kp-meta b { color: #fff; }

/* ---------- Seite ---------- */
.kp { --line: rgba(255, 255, 255, .1); --muted: #9b9b9b; --rot: var(--lx-red, #C8102E); --rot2: var(--lx-red-2, #E0233F);
  display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); max-width: 1240px; margin: clamp(1.5rem, 4vw, 2.5rem) auto 0; padding: 0 16px 4rem; color: #f2f2f2; font-family: var(--lx-sans, system-ui, sans-serif); }
.kp > * { min-width: 0; }
.kp a { text-decoration: none; }
.kp .ccm-ks-ico { width: 1.2rem; height: 1.2rem; flex: none; }
.kp-kicker { margin: 0; color: var(--rot2); font-size: .66rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.kp .kp-h2 { margin: .3rem 0 0; color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.05; }
.kp-leer { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: 1.8rem; color: var(--muted); text-align: center; border: 1px dashed var(--line); }

.kp-kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .8rem; margin: 0; padding: 0; list-style: none; }
.kp-kachel { position: relative; display: grid; gap: .5rem; height: 100%; padding: 1.4rem 1.3rem; border: 1px solid var(--line); background: #09090b; color: #fff !important; transition: background .3s; }
.kp-kachel::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--rot2); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.kp-kachel:hover { background: #111114; }
.kp-kachel:hover::after { transform: scaleX(1); }
.kp-kachel__ico { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid rgba(224, 35, 63, .4); color: var(--rot2); }
.kp-kachel b { font: 400 1.35rem/1.1 var(--lx-serif, Georgia, serif); }
.kp-kachel small { color: var(--muted); font-size: .76rem; }
.kp-kachel__pfeil { position: absolute; right: 1.2rem; top: 1.5rem; color: rgba(255, 255, 255, .3); transition: transform .3s, color .3s; }
.kp-kachel:hover .kp-kachel__pfeil { color: #fff; transform: translateX(4px); }

.kp-leiste { position: sticky; top: 76px; z-index: 5; display: flex; gap: .3rem; margin: 0 -16px; padding: .6rem 16px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(5, 5, 6, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.kp-leiste::-webkit-scrollbar { display: none; }
.kp-leiste__link { flex: none; padding: .55rem .9rem; border: 1px solid transparent; color: rgba(255, 255, 255, .6) !important; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: color .2s, border-color .2s, background .2s; }
.kp-leiste__link:hover { color: #fff !important; }
.kp-leiste__link.is-an { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); color: #fff !important; }

.kp-sek { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: clamp(1.2rem, 4vw, 3rem); align-items: start; scroll-margin-top: 140px; }
.kp-sek__kopf { position: sticky; top: 140px; display: grid; gap: .7rem; }
.kp-sek__ico { display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid rgba(224, 35, 63, .45); color: var(--rot2); }
.kp-sek__ico .ccm-ks-ico { width: 1.4rem; height: 1.4rem; }
.kp-sek__info { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.kp-sek__info b { color: #fff; font: 400 1.25rem/1 var(--lx-serif, Georgia, serif); }
.kp-liste { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.kp-posten { padding: 1rem .2rem; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.kp-posten:hover { background: linear-gradient(90deg, rgba(255, 255, 255, .03), transparent); padding-left: .7rem; }
.kp-posten__zeile { display: flex; align-items: baseline; gap: .8rem; }
.kp-posten__name { color: #fff; font-size: 1rem; font-weight: 500; }
.kp-posten__name mark { background: rgba(224, 35, 63, .35); color: #fff; padding: 0 .1em; }
.kp-posten__linie { flex: 1; min-width: 1.5rem; border-bottom: 1px dotted rgba(255, 255, 255, .2); transform: translateY(-.25em); }
.kp-posten__preis { flex: none; color: #fff; font: 400 1.35rem/1 var(--lx-serif, Georgia, serif); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.kp-posten__preis.is-anfrage { color: var(--muted); font: 600 .7rem/1 var(--lx-sans, system-ui); letter-spacing: .14em; text-transform: uppercase; }
.kp-posten__text { margin: .4rem 0 0; max-width: 46rem; color: rgba(255, 255, 255, .58); font-size: .86rem; line-height: 1.55; }

.kp-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(1.5rem, 4vw, 2.4rem); border: 1px solid var(--line); background: radial-gradient(80% 120% at 100% 0%, rgba(224, 35, 63, .15), transparent 60%), #09090b; }
.kp-band p { margin: .5rem 0 0; color: rgba(255, 255, 255, .65); }
.kp-band .kp-kicker { margin: 0; color: var(--rot2); }
.kp-band__knoepfe { display: flex; flex-wrap: wrap; gap: .7rem; }
.kp-knopf { display: inline-flex; align-items: center; gap: .6rem; height: 3.1rem; padding: 0 1.4rem; border: 1px solid #fff; background: #fff; color: #0b0b0d !important; font: 600 .72rem/1 var(--lx-sans, system-ui, sans-serif); letter-spacing: .18em; text-transform: uppercase; }
.kp-knopf:hover { background: var(--rot); border-color: var(--rot); color: #fff !important; }
.kp-knopf--leise { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .35); }

@media (max-width: 860px) {
  .kp-kopf { margin-top: -2.5rem; }
  .kp-leiste { top: 64px; }
  .kp-sek { grid-template-columns: minmax(0, 1fr); gap: 1rem; scroll-margin-top: 130px; }
  .kp-sek__kopf { position: static; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 1rem; }
  .kp-sek__ico { grid-row: span 2; }
  .kp-posten__name { font-size: .94rem; }
}
@media (prefers-reduced-motion: reduce) { .kp-kopf::before { animation: none; transform: none; } }

body.ccm-public-body label.kp-suche input#kpSearch:focus { outline: none !important; box-shadow: none !important; }
@media (max-width: 560px) { .kp-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; } .kp-kachel { padding: 1rem .9rem; } .kp-kachel b { font-size: 1.15rem; } .kp-kachel__pfeil { display: none; } }
/* Klebende Leiste braucht den Bildschirm als Scroll-Container (wie ccm-packs.css): clip statt hidden. */
html:has(.kp-leiste), html:has(.kp-leiste) body { overflow-x: clip; }

/* ---------- VIP-Umrechnung (2026-10-31) ---------- */
.kp-vip { display: grid; gap: 1.2rem; padding: clamp(1.4rem, 3.5vw, 2.2rem); border: 1px solid var(--line); background: radial-gradient(70% 120% at 0% 0%, rgba(245, 196, 81, .1), transparent 60%), #09090b; }
.kp-vip__kopf { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.2rem; }
.kp-vip__kopf .kp-kicker { color: #F5C451; }
.kp-vip__lead { margin: .5rem 0 0; color: var(--muted); font-size: .9rem; }
.kp-vip__wahl { display: flex; flex-wrap: wrap; gap: .35rem; }
body.ccm-public-body .kp .kp-vip__stufe { display: inline-flex; align-items: center; gap: .5rem; height: 2.6rem; padding: 0 1rem !important; border: 1px solid rgba(255, 255, 255, .15) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; color: rgba(255, 255, 255, .7) !important; font: 600 .68rem/1 var(--lx-sans, system-ui) !important; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
body.ccm-public-body .kp .kp-vip__stufe:hover { color: #fff !important; border-color: rgba(255, 255, 255, .4) !important; }
body.ccm-public-body .kp .kp-vip__stufe.is-an { color: #fff !important; border-color: var(--c, #fff) !important; background: color-mix(in srgb, var(--c, #fff) 16%, transparent) !important; }
.kp-vip__stufe i { width: .6rem; height: .6rem; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.kp-vip__stufe small { padding: .15rem .35rem; background: #F5C451; color: #1a1200; font-size: .52rem; letter-spacing: .1em; }
.kp-vip__karte { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem 1.6rem; align-items: start; padding-top: 1.2rem; border-top: 1px solid var(--line); animation: kpVip .4s ease-out; }
.kp-vip__karte[hidden] { display: none; }
@keyframes kpVip { from { opacity: 0; transform: translateY(8px); } }
.kp-vip__karte-kopf { display: flex; align-items: center; gap: .8rem; grid-row: span 3; min-width: 12rem; }
.kp-vip__karte-kopf b { display: block; color: #fff; font: 400 1.6rem/1 var(--lx-serif, Georgia, serif); }
.kp-vip__karte-kopf small { color: var(--muted); font-size: .74rem; }
.kp-vip__medal { width: 2.8rem; height: 2.8rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--c) 45%, color-mix(in srgb, var(--c) 40%, #000)); box-shadow: 0 0 24px color-mix(in srgb, var(--c) 60%, transparent); }
body.ccm-public-body .ccm-page--public .kp-vip__medal { border-radius: 50% !important; }
.kp-vip__vorteile { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .5rem 1.4rem; margin: 0; padding: 0; list-style: none; }
.kp-vip__vorteile li { display: flex; align-items: baseline; gap: .7rem; padding: .45rem 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: .85rem; color: rgba(255, 255, 255, .75); }
.kp-vip__vorteile b { flex: none; min-width: 4.6rem; color: var(--c, #F5C451); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.kp-vip__beispiel { margin: 0; color: rgba(255, 255, 255, .78); font-size: .92rem; line-height: 1.6; }
.kp-vip__beispiel b { color: #fff; }
.kp-vip__beispiel s { color: rgba(255, 255, 255, .45); }
.kp-vip__spar { color: #4ADE80 !important; }
.kp-link-vip { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255, 255, 255, .7) !important; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.kp-link-vip:hover { color: #fff !important; }
.kp-vip__fuss { margin: 0; color: rgba(255, 255, 255, .4); font-size: .74rem; }
/* Umgerechnete Preise in der Liste */
.kp-posten__preis s { color: rgba(255, 255, 255, .35); font-size: .8em; text-decoration-thickness: 1px; margin-right: .3rem; }
.kp-posten.is-vip .kp-posten__preis b { color: #F5C451; font-weight: 400; }
.kp-posten__vip { margin: .35rem 0 0; color: #F5C451; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.kp-posten__vip[hidden] { display: none; }
.kp--vip .kp-posten:not(.is-vip) .kp-posten__preis { opacity: .55; }
@media (max-width: 760px) {
  .kp-vip__karte { grid-template-columns: minmax(0, 1fr); }
  .kp-vip__karte-kopf { grid-row: auto; }
  .kp-vip__wahl { width: 100%; }
  body.ccm-public-body .kp .kp-vip__stufe { flex: 1 1 auto; justify-content: center; padding: 0 .7rem !important; }
}

/* ===== Preiskarten (2026-11-11): Kategorien als Karten in zwei Spalten — Kopf oben (Symbol, Titel, „ab“-Preis),
   darunter die Liste. Vorher stand der Kopf klebend links, bei ein, zwei Leistungen blieb viel leere Fläche. ===== */
.kp-sektionen { columns: 2 30rem; column-gap: clamp(1.2rem, 3vw, 2.2rem); }
.kp .kp-sek { display: block; break-inside: avoid; margin: 0 0 clamp(1.2rem, 3vw, 2.2rem); padding: clamp(1.1rem, 2.4vw, 1.6rem) clamp(1.1rem, 2.4vw, 1.7rem) .5rem; border: 1px solid var(--line); border-top: 2px solid rgba(224, 35, 63, .55); background: radial-gradient(90% 60% at 0% 0%, rgba(224, 35, 63, .07), transparent 60%), linear-gradient(180deg, #0c0c0e, #070708); scroll-margin-top: 150px; }
.kp .kp-sek[hidden], .kp .kp-posten[hidden] { display: none; }
.kp .kp-sek__kopf { position: static; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 1rem; margin-bottom: 1.1rem; }
.kp .kp-sek__kopf .kp-h2 { margin: 0; font-size: clamp(1.45rem, 2.2vw, 1.95rem); }
.kp .kp-sek__ico { width: 2.6rem; height: 2.6rem; grid-row: auto; }
.kp .kp-sek__info { text-align: right; font-size: .74rem; line-height: 1.45; }
.kp .kp-sek .kp-liste > li:last-child { border-bottom: 0; }
