/* Credits dazukaufen (06.10.2026) — ein Fenster für Konfigurator und Explore,
   hell wie die übrigen Fenster, Knöpfe wie „Ins Design einfügen". */
/* Ausdrücklich mittig: konfigurator.css setzt Dialog-Ränder global zurück */
.ck-fenster { position: fixed; inset: 0; margin: auto; height: fit-content; max-height: calc(100dvh - 32px); overflow: auto; border: 0; padding: 0; border-radius: 16px; width: min(440px, calc(100vw - 32px)); background: #fff; color: #111; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.ck-fenster::backdrop { background: rgba(10,10,10,.45); }
.ck-box { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px; font-family: inherit; }
.ck-zu { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f1f0ee; color: #111; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ck-zu svg { width: 18px; height: 18px; }
.ck-titel { margin: 0 48px 0 0; font-size: 18px; font-weight: 700; }
.ck-lead, .ck-firma { margin: 0; font-size: 13px; line-height: 1.5; color: #555; }
.ck-firma { color: #111; font-weight: 600; }
.ck-pakete { border: 0; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ck-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ck-paket { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px 10px; border: 1.5px solid rgba(0,0,0,.12); border-radius: 12px; cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.ck-paket input { position: absolute; opacity: 0; pointer-events: none; }
.ck-paket:hover { border-color: rgba(0,0,0,.35); }
.ck-paket:has(input:checked) { border-color: #111; background: #f6f5f3; }
.ck-paket:has(input:focus-visible) { outline: 2px solid #1d6bff; outline-offset: 2px; }
.ck-paket-credits { font-size: 14px; font-weight: 700; }
.ck-paket-motive { font-size: 11.5px; color: #666; }
.ck-paket-preis { margin-top: 6px; font-size: 15px; font-weight: 600; }
.ck-fehler { margin: 0; font-size: 12.5px; color: #d23737; }
.ck-fehler[hidden] { display: none; }
.ck-los { min-height: 48px; border: 0; border-radius: 2px; background: #111; color: #fff; font: inherit; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: opacity .2s; }
.ck-los:hover { opacity: .82; }
.ck-los[disabled] { opacity: .5; cursor: progress; }
/* Dank nach der Rückkehr von Stripe — kurz oben eingeblendet */
.ck-danke { position: fixed; left: 50%; top: 76px; transform: translateX(-50%); z-index: 400; margin: 0; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 999px; background: #111; color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.ck-danke[hidden] { display: none; }
@media (max-width: 480px) {
    .ck-pakete { grid-template-columns: 1fr; }
    .ck-paket { flex-direction: row; align-items: baseline; gap: 8px; text-align: left; padding: 12px 14px; min-height: 48px; }
    .ck-paket-preis { margin: 0 0 0 auto; }
}

/* Der Erklärsatz als „i" neben dem Titel (Abnahme 07.10.2026) */
.ck-titel { display: flex; align-items: center; gap: 6px; }
.ck-info { position: relative; display: inline-flex; color: rgba(17, 17, 17, .4); cursor: help; outline: none; }
.ck-info .i-info { width: 15px; height: 15px; display: block; }
.ck-info:hover, .ck-info:focus-visible { color: #111; }
.ck-info-text {
  position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); z-index: 2;
  width: 240px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid rgba(17, 17, 17, .12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .14); font-size: 12px; font-weight: 400; line-height: 1.5; color: rgba(17, 17, 17, .75);
  opacity: 0; visibility: hidden; transition: opacity .15s;
}
.ck-info:hover .ck-info-text, .ck-info:focus .ck-info-text { opacity: 1; visibility: visible; }

/* ═══ Knöpfe = Pille wie auf der Startseite (Julian, 09.10.2026) ═══
   „Orientiere dich an diesem Button von der Startseite … immer gleich in dieser
   Pillenform." Form und Schrift für alle Text-Knöpfe, die FARBEN bleiben (Julian:
   „jetzt aber keine Knöpfe groß farbig anpassen"). Ersetzt die Regel vom 10.09.2026
   („mit Text nicht mehr rund"). Regeln: docs/MMD-DESIGN-DNA.md „Knöpfe = Pille". */
.ck-los {
  border-radius: 999px; text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 14px;
}
