/* ═══════════════════════════════════════════════════════════
   COMPONENTS — Buttons, Cards, Badges, Icons, Formulare
   ═══════════════════════════════════════════════════════════ */

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1;
  padding: 0.95rem 1.8rem;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
  text-align: center;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  background: var(--grad-coral);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-coral);
}
.btn--primary:hover { color: var(--text-on-dark); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(255,107,74,0.42); }

.btn--ghost {
  background: var(--bg-card);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover { color: var(--navy); border-color: var(--coral); transform: translateY(-2px); }

.btn--on-dark {
  background: var(--bg-card);
  color: var(--navy);
}
.btn--on-dark:hover { color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { color: #fff; transform: translateY(-2px); }

.btn--lg { padding: 1.15rem 2.4rem; font-size: 1.1rem; }
.btn--block { display: flex; width: 100%; }
/* Buttons nie breiter als ihr Container (verhindert horizontales Überlaufen auf Mobile) */
.btn { max-width: 100%; }
@media (max-width: 560px) {
  /* lange CTA-Texte dürfen umbrechen statt die Seite zu sprengen */
  .btn--lg { white-space: normal; padding-inline: 1.6rem; }
}

/* ── Icon-Standards (Lucide Inline-SVG) ── */
.icon {
  width: 24px; height: 24px;
  stroke: currentColor; stroke-width: 1.8;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 32px; height: 32px; }

/* ── Badge / Pill ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--coral-dark);
  background: var(--coral-light);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--coral-light);
  color: var(--coral-dark);
  margin-bottom: 1.1rem;
}
.card__title { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card__text  { font-size: var(--fs-small); }

/* Schritt-Nummer (So funktioniert's) */
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--grad-coral);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: 1.1rem;
  box-shadow: var(--shadow-coral);
}

/* ── Formular-Elemente (Wizard + Kontakt) ── */
.field { margin-bottom: 1.25rem; }
.field__label {
  display: block;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--text);
  margin-bottom: 0.45rem;
}
.field__hint { font-size: var(--fs-tiny); color: var(--text-light); margin-top: 0.35rem; }
.req { color: var(--coral); }

.input, .textarea, .select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.textarea { resize: vertical; min-height: 120px; }
.input::placeholder, .textarea::placeholder { color: var(--text-light); }

/* Auswahlkacheln (Anlass, Überraschungsart) */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}
.choice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  cursor: pointer;
  font-weight: var(--fw-medium);
  color: var(--text);
  transition: var(--transition-fast);
  user-select: none;
}
.choice:hover { border-color: var(--coral); }
/* Lange Labels (z. B. „Überraschungsbox") sauber im Kasten umbrechen statt überlaufen */
.choice > span { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.choice .icon { color: var(--text-dim); transition: color var(--transition-fast); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice.is-selected {
  border-color: var(--coral);
  background: var(--coral-light);
  color: var(--coral-dark);
}
.choice.is-selected .icon { color: var(--coral-dark); }

/* Alert / Meldung */
.alert {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
}
.alert--error   { background: #FDECEA; color: var(--error); }
.alert--success { background: #E9F8EF; color: var(--success); }

/* Honeypot (unsichtbar) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ (details/summary) */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--coral); transition: transform var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 1.3rem 1.2rem; font-size: var(--fs-small); }
