:root {
  --chk-bg-elevated: var(--_colors---background-color--bg-secondary, #23282d);
  --chk-text-muted: rgba(243, 243, 243, 0.65);
  --chk-radius: var(--_sizes---card--card-radius, 0.75rem);
  --chk-radius-sm: 0.5rem;
}

.chk-honeypot {
  display: none;
}

.chk-stepper-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--chk-bg-elevated);
  border-bottom: 1px solid var(--chk-border);
}

.chk-stepper {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
}

.chk-step {
  flex: 1 1 0;
  min-width: 5.5rem;
}

.chk-step-button {
  all: unset;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.75rem 0.25rem 0.6rem;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.chk-step-button:disabled {
  cursor: default;
}

.chk-step-number {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(243, 243, 243, 0.08);
  color: var(--chk-text-muted);
  border: 1px solid var(--chk-border);
}

.chk-step-label {
  font-size: 0.76rem;
  color: var(--chk-text-muted);
  white-space: nowrap;
}

.chk-step.is-active .chk-step-button {
  border-bottom-color: var(--chk-accent);
}

.chk-step.is-active .chk-step-number {
  background: var(--chk-accent);
  color: #fff;
  border-color: var(--chk-accent);
}

.chk-step.is-active .chk-step-label {
  color: var(--chk-text);
}

.chk-step.is-done .chk-step-number {
  background: rgba(57, 184, 200, 0.18);
  border-color: var(--chk-accent);
  color: var(--chk-accent);
}

.chk-step-panel {
  animation: chk-fade 0.25s ease;
}

@keyframes chk-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chk-group-heading {
  margin: 2rem 0 1rem;
}

.chk-package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.chk-package-card-wrap {
  position: relative;
}

.chk-package-radio {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.chk-package-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
  padding: 1.25rem;
  border-radius: var(--chk-radius);
  border: 1px solid var(--chk-border);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.chk-package-card:hover {
  border-color: var(--chk-border-strong);
}

.chk-package-card.is-highlight {
  border-color: rgba(57, 184, 200, 0.45);
}

.chk-package-radio:checked + .chk-package-card {
  border-color: var(--chk-accent);
  box-shadow: 0 0 0 2px var(--chk-accent) inset, 0 4px 14px rgba(0, 0, 0, 0.25);
  background: rgba(57, 184, 200, 0.08);
}

.chk-package-radio:focus-visible + .chk-package-card {
  outline: 2px solid var(--chk-accent);
  outline-offset: 2px;
}

.chk-package-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--chk-text-muted);
}

.chk-package-radio:checked + .chk-package-card .chk-package-badge {
  background: var(--chk-accent);
  color: #fff;
}

.chk-package-name {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
}

.chk-package-tagline {
  font-size: 0.9rem;
  color: var(--chk-text-muted);
  line-height: 1.5;
}

.chk-package-price {
  margin-top: auto;
  padding-top: 0.5rem;
  font-weight: 700;
}

.chk-package-price-note {
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--chk-text-muted);
}

.chk-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.chk-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.chk-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--chk-text);
}

.chk-field input[type="text"],
.chk-field input[type="email"],
.chk-field input[type="tel"],
.chk-field select,
.chk-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--chk-border);
  border-radius: var(--chk-radius-sm);
  color: var(--chk-text);
  font-size: 0.95rem;
  font-family: inherit;
}

.chk-field textarea {
  resize: vertical;
  min-height: 5rem;
}

.chk-field input::placeholder,
.chk-field textarea::placeholder {
  color: rgba(243, 243, 243, 0.4);
}

.chk-field input:focus,
.chk-field select:focus,
.chk-field textarea:focus {
  outline: none;
  border-color: var(--chk-accent);
  box-shadow: 0 0 0 2px rgba(57, 184, 200, 0.25);
}

.chk-field select {
  appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 8l5 5 5-5' stroke='%23f3f3f3' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}

.chk-field select option {
  color: #191c20;
}

.chk-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--chk-text-muted);
  cursor: pointer;
}

.chk-checkbox input {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--chk-accent);
  flex-shrink: 0;
}

.chk-checkbox a {
  color: var(--chk-accent);
}

.chk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.chk-actions > * {
  flex: 1 1 auto;
  text-align: center;
}

@media (min-width: 36rem) {
  .chk-actions > * {
    flex: 0 1 auto;
  }
}

.chk-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1em 1.5em;
  border-radius: 12px;
  border: 1px solid var(--chk-border-strong);
  background: transparent;
  color: var(--chk-text);
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.chk-button-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--chk-accent);
}

.chk-button-secondary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.chk-cart-hint {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--chk-accent);
  min-height: 1.2rem;
}

.chk-cart-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.chk-cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--chk-radius);
  border: 1px solid var(--chk-border);
  background: rgba(255, 255, 255, 0.02);
}

.chk-cart-list-compact .chk-cart-item {
  padding: 0.75rem 1rem;
}

.chk-cart-item-main {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.chk-cart-item-name {
  font-weight: 600;
  font-family: "Instrument Sans", sans-serif;
}

.chk-cart-item-meta {
  font-size: 0.85rem;
  color: var(--chk-text-muted);
}

.chk-cart-item-price {
  font-weight: 700;
  white-space: nowrap;
  color: var(--chk-accent);
}

.chk-cart-item-remove {
  border: none;
  background: transparent;
  color: var(--chk-text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0.25rem;
}

.chk-cart-item-remove:hover {
  color: #ff6b6b;
}

.chk-empty-cart {
  text-align: center;
  padding: 2.5rem 1rem;
  border: 1px dashed var(--chk-border-strong);
  border-radius: var(--chk-radius);
  margin-bottom: 1.5rem;
}

.chk-empty-cart p {
  margin-bottom: 1rem;
}

.chk-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-top: 1px solid var(--chk-border);
  border-bottom: 1px solid var(--chk-border);
  font-weight: 600;
}

.chk-summary-price {
  color: var(--chk-accent);
}

.chk-free-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: var(--chk-radius);
  background: rgba(57, 184, 200, 0.1);
  border: 1px solid rgba(57, 184, 200, 0.35);
  font-size: 0.92rem;
  color: var(--chk-text);
}

.chk-free-price {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--chk-accent);
}

.chk-narrow {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.chk-confirmation-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--chk-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1rem;
}

.chk-confirmation-text {
  text-align: center;
}

@media (max-width: 47.99rem) {
  .chk-stepper {
    gap: 0.1rem;
  }

  .chk-step-label {
    font-size: 0.66rem;
  }

  .chk-package-grid,
  .chk-form-grid {
    grid-template-columns: 1fr;
  }

  .chk-actions {
    flex-direction: column;
  }

  .chk-actions > * {
    width: 100%;
  }
}

@media (max-width: 30rem) {
  .chk-cart-item {
    flex-direction: column;
  }

  .chk-cart-item-remove {
    align-self: flex-end;
  }
}

/* Fehlermeldung, wenn die Uebermittlung an Netlify fehlschlaegt */
.chk-submit-error {
  margin: 1.25rem 0 0;
  padding: 0.9rem 1.1rem;
  border-radius: 0.6rem;
  background: rgba(255, 86, 86, 0.1);
  border: 1px solid rgba(255, 86, 86, 0.4);
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #ff8f8f;
}
