/* Reise-Konfigurator – page-specific styles.
   Farb-/Radius-Tokens sind auf die echten Studio-Voyage-Werte gemappt
   (siehe AGENTS.md: .sv-body * setzt border-radius:0 !important,
   daher braucht jede Radius-Regel hier !important). */
.rk {
  --rk-gold-700: #8e6c38;
  --rk-gold-600: #9e7b48;
  --rk-gold-500: #b8945e;
  --rk-gold-300: #d9c39c;
  --rk-gold-100: #ecdfc7;
  --rk-gold-50: #f5f1e7;
  --rk-ink-900: #17130f;
  --rk-ink-700: #3b362f;
  --rk-ink-500: #6b6358;
  --rk-ink-300: #a39b8d;
  --rk-ink-100: #e4ddd0;
  --rk-paper: #fbfaf6;
  --rk-bone: #f1ece2;
  --rk-line-1: rgba(23, 19, 15, .12);
  --rk-line-2: rgba(23, 19, 15, .22);
  --rk-shadow-1: 0 1px 2px rgba(23, 19, 15, .05), 0 1px 1px rgba(23, 19, 15, .04);
  --rk-shadow-2: 0 8px 24px -8px rgba(23, 19, 15, .18);
  --rk-shadow-3: 0 24px 48px -16px rgba(23, 19, 15, .25);
  --rk-r1: 6px;
  --rk-r2: 12px;
  --rk-r3: 16px;
  --rk-pill: 9999px;
  --rk-ease: cubic-bezier(.2, .7, .2, 1);
  --rk-danger: #b42318;

  font-family: "M PLUS 1", sans-serif;
  color: var(--rk-ink-900);
  padding: 8px 0 64px;
  position: relative;
  min-height: 60vh;
}

.rk *, .rk *::before, .rk *::after { box-sizing: border-box; }

.rk-eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rk-gold-700);
  font-weight: 600;
}

.rk h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }

/* ── progress / stepper ── */
.rk-progress {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #fff;
  padding: 14px 0 10px;
  margin-bottom: 18px;
}
.rk-steps { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; }
.rk-step-btn {
  display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1;
  background: transparent; border: 0; padding: 0; min-width: 0; font-family: inherit;
}
.rk-step-btn[data-clickable="1"] { cursor: pointer; }
.rk-step-btn[data-clickable="0"] { cursor: default; }
.rk-step-dot {
  width: 28px; height: 28px; border-radius: var(--rk-pill) !important;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; border: 1.5px solid var(--rk-line-2);
  color: var(--rk-ink-300); background: transparent; transition: all .25s var(--rk-ease);
}
.rk-step-dot.is-active { background: var(--rk-gold-500); color: #fff; border-color: transparent; }
.rk-step-dot.is-done { background: var(--rk-ink-900); color: #fff; border-color: transparent; }
.rk-step-label { font-size: 11px; font-weight: 500; color: var(--rk-ink-500); text-align: center; white-space: nowrap; }
.rk-step-label.is-active { font-weight: 600; color: var(--rk-ink-900); }
@media (max-width: 680px) { .rk-step-label { display: none; } }
.rk-progress-track { position: relative; height: 3px; border-radius: var(--rk-pill) !important; background: var(--rk-gold-100); margin-top: 10px; overflow: hidden; }
.rk-progress-fill { position: absolute; inset: 0 auto 0 0; border-radius: var(--rk-pill) !important; background: var(--rk-gold-500); transition: width .4s var(--rk-ease); }

/* ── cards / panels ── */
.rk-card { background: #fff; border: 1px solid var(--rk-line-1); border-radius: var(--rk-r3) !important; box-shadow: var(--rk-shadow-1); padding: 22px; }
.rk-grid-2 { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 880px) { .rk-grid-2 { grid-template-columns: 1fr; } }
.rk-section-label { font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--rk-ink-700); margin: 0 0 16px; font-weight: 600; }
.rk-section-label i { color: var(--rk-gold-600); margin-right: 8px; }

/* counters */
.rk-counter-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; }
.rk-counter-row + .rk-counter-row { border-top: 1px solid var(--rk-line-1); margin-top: 14px; padding-top: 14px; }
.rk-counter-label { font-size: 16px; font-weight: 500; }
.rk-counter-sub { font-size: 13px; color: var(--rk-ink-500); }
.rk-stepper { display: flex; align-items: center; gap: 12px; }
.rk-round-btn {
  width: 36px; height: 36px; border-radius: var(--rk-pill) !important; border: 1px solid var(--rk-line-1);
  background: #fff; color: var(--rk-ink-700); cursor: pointer; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.rk-round-btn.is-gold { border: 0; background: var(--rk-gold-500); color: #fff; }
.rk-counter-value { min-width: 24px; text-align: center; font-size: 21px; font-weight: 300; }

/* tabs / pills */
.rk-tabs { display: flex; gap: 8px; background: var(--rk-bone); padding: 4px; border-radius: var(--rk-pill) !important; margin-bottom: 16px; }
.rk-tab { flex: 1; padding: 9px; border-radius: var(--rk-pill) !important; border: 0; font-size: 13.5px; font-weight: 600; cursor: pointer; background: transparent; color: var(--rk-ink-500); font-family: inherit; }
.rk-tab.is-active { background: #fff; color: var(--rk-ink-900); box-shadow: var(--rk-shadow-1); }
.rk-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.rk-chip { padding: 8px 14px; border-radius: var(--rk-pill) !important; font-size: 13px; font-weight: 500; cursor: pointer; border: 1px solid var(--rk-line-1); background: #fff; color: var(--rk-ink-700); font-family: inherit; }
.rk-chip.is-active { border-color: var(--rk-gold-500); background: var(--rk-gold-50); color: var(--rk-gold-700); }

/* step2 type cards */
.rk-type-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin-bottom: 32px; }
.rk-type-card { position: relative; text-align: left; cursor: pointer; border-radius: var(--rk-r3) !important; padding: 18px; background: #fff; border: 1.5px solid var(--rk-line-1); box-shadow: var(--rk-shadow-1); font-family: inherit; }
.rk-type-card.is-active { background: var(--rk-gold-50); border-color: var(--rk-gold-500); }
.rk-type-icon { width: 42px; height: 42px; border-radius: var(--rk-r2) !important; display: flex; align-items: center; justify-content: center; font-size: 18px; background: var(--rk-bone); color: var(--rk-gold-700); }
.rk-type-card.is-active .rk-type-icon { background: var(--rk-gold-500); color: #fff; }
.rk-type-title { display: block; font-size: 15px; font-weight: 600; margin-top: 12px; }
.rk-type-desc { display: block; font-size: 12.5px; color: var(--rk-ink-500); margin-top: 2px; }
.rk-type-check { position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: var(--rk-pill) !important; background: var(--rk-gold-500); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 10px; }

.rk-class-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rk-class-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; cursor: pointer; border-radius: var(--rk-r2) !important; padding: 10px 13px; background: #fff; border: 1px solid var(--rk-line-1); box-shadow: var(--rk-shadow-1); font-family: inherit; }
.rk-class-card.is-active { background: var(--rk-gold-50); border-color: var(--rk-gold-500); }
.rk-class-radio { width: 15px; height: 15px; border-radius: var(--rk-pill) !important; border: 1.5px solid var(--rk-line-2); flex: 0 0 15px; }
.rk-class-card.is-active .rk-class-radio { border-color: var(--rk-gold-500); background: radial-gradient(circle, var(--rk-gold-500) 0 4px, #fff 5px 15px); }

/* budget */
.rk-range { -webkit-appearance: none; appearance: none; width: 100%; height: 5px; border-radius: var(--rk-pill) !important; background: linear-gradient(to right, var(--rk-gold-500) var(--fill, 40%), var(--rk-gold-100) var(--fill, 40%)); outline: none; }
.rk-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: var(--rk-pill) !important; background: var(--rk-gold-500); border: 3px solid #fff; box-shadow: var(--rk-shadow-2); cursor: pointer; }
.rk-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: var(--rk-pill) !important; background: var(--rk-gold-500); border: 3px solid #fff; box-shadow: var(--rk-shadow-2); cursor: pointer; }

/* step3 builder */
.rk-builder-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
@media (max-width: 980px) { .rk-builder-grid { grid-template-columns: 1fr; } }
.rk-cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 16px; }
.rk-cat-btn { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 9px 16px; border-radius: var(--rk-pill) !important; font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid var(--rk-line-1); background: #fff; color: var(--rk-ink-700); font-family: inherit; }
.rk-cat-btn.is-active { border-color: var(--rk-ink-900); background: var(--rk-ink-900); color: var(--rk-paper); }

.rk-catalog-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.rk-catalog-card { position: relative; background: #fff; border: 1px solid var(--rk-line-1); border-radius: var(--rk-r3) !important; box-shadow: var(--rk-shadow-1); overflow: hidden; cursor: pointer; transition: transform .2s var(--rk-ease); font-family: inherit; text-align: left; padding: 0; }
.rk-catalog-card:hover { transform: translateY(-2px); }
.rk-catalog-plate { position: relative; height: 96px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--rk-line-1); }
.rk-catalog-place { position: absolute; left: 12px; bottom: 10px; font-size: 16px; font-weight: 300; }
.rk-catalog-add { position: absolute; top: 9px; right: 9px; width: 26px; height: 26px; border-radius: var(--rk-pill) !important; background: var(--rk-gold-500); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; box-shadow: var(--rk-shadow-1); }
.rk-catalog-body { padding: 12px 13px 14px; }
.rk-catalog-name { font-size: 14px; font-weight: 600; line-height: 1.25; }
.rk-catalog-meta { font-size: 12px; color: var(--rk-ink-500); margin-top: 3px; }
.rk-catalog-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.rk-catalog-tag { font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--rk-gold-700); }
.rk-catalog-price { font-size: 12.5px; color: var(--rk-ink-700); font-weight: 500; }

/* flight panel */
.rk-flight-panel { background: var(--rk-ink-900); border-radius: var(--rk-r3) !important; padding: 18px; margin-bottom: 16px; color: var(--rk-paper); }
.rk-flight-title { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--rk-gold-300); margin-bottom: 12px; }
.rk-flight-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.rk-flight-field-label { font-size: 11px; color: var(--rk-ink-300); margin-bottom: 4px; letter-spacing: .04em; }
.rk-flight-input { width: 100%; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); color: #fff; border-radius: var(--rk-r1) !important; padding: 9px 11px; font-size: 14px; font-family: inherit; }
.rk-flight-input::placeholder { color: rgba(255, 255, 255, .4); }
.rk-flight-cls-row { display: flex; gap: 6px; margin-bottom: 14px; }
.rk-flight-cls-chip { flex: 1; padding: 9px; border-radius: var(--rk-r1) !important; font-size: 12.5px; font-weight: 600; cursor: pointer; border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: var(--rk-ink-300); font-family: inherit; }
.rk-flight-cls-chip.is-active { border-color: var(--rk-gold-300); background: rgba(191, 167, 122, .22); color: var(--rk-gold-300); }
.rk-flight-search-btn { width: 100%; background: var(--rk-gold-500); color: var(--rk-ink-900); border: 0; border-radius: var(--rk-pill) !important; padding: 12px; font-weight: 600; font-size: 14px; letter-spacing: .03em; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; }
.rk-flight-search-btn:disabled { opacity: .6; cursor: not-allowed; }
.rk-flight-result { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--rk-r2) !important; padding: 11px 13px; margin-top: 10px; }
.rk-flight-result-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rk-flight-result-airline { font-weight: 600; font-size: 13.5px; }
.rk-flight-result-price { font-weight: 300; font-size: 19px; color: var(--rk-gold-300); white-space: nowrap; }
.rk-flight-result-detail { font-size: 12px; color: var(--rk-ink-300); margin-top: 3px; }
.rk-flight-add-btn { margin-top: 9px; background: transparent; border: 1px solid var(--rk-gold-300); color: var(--rk-gold-300); border-radius: var(--rk-pill) !important; padding: 6px 13px; font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; }
.rk-flight-error { margin-top: 10px; font-size: 13px; color: #f4b8ad; background: rgba(220, 53, 69, .12); border-radius: var(--rk-r1) !important; padding: 9px 11px; }
.rk-flight-loading { height: 50px; border-radius: var(--rk-r2) !important; background: rgba(255, 255, 255, .07); margin-top: 10px; }

/* timeline */
.rk-timeline-wrap { background: var(--rk-paper); border: 1px solid var(--rk-line-1); border-radius: var(--rk-r3) !important; padding: 16px; }
.rk-timeline-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.rk-timeline-empty { text-align: center; padding: 36px 16px; color: var(--rk-ink-300); }
.rk-route-item { display: flex; gap: 10px; align-items: stretch; padding: 6px 0; }
.rk-route-day { display: flex; flex-direction: column; align-items: center; width: 40px; flex: 0 0 40px; }
.rk-route-day-label { font-size: 10px; font-weight: 600; letter-spacing: .04em; color: var(--rk-gold-700); text-align: center; line-height: 1.2; }
.rk-route-day-line { flex: 1; width: 2px; background: var(--rk-gold-300); margin-top: 6px; border-radius: var(--rk-r1) !important; }
.rk-route-card { flex: 1; background: #fff; border: 1px solid var(--rk-line-1); border-radius: var(--rk-r2) !important; box-shadow: var(--rk-shadow-1); padding: 12px 13px; display: flex; gap: 11px; align-items: center; }
.rk-route-icon { width: 38px; height: 38px; flex: 0 0 38px; border-radius: var(--rk-r2) !important; display: flex; align-items: center; justify-content: center; font-size: 16px; background: var(--rk-bone); color: var(--rk-gold-700); }
.rk-route-icon.is-dark { background: var(--rk-ink-900); color: var(--rk-gold-300); }
.rk-route-name { font-size: 14px; font-weight: 600; line-height: 1.2; }
.rk-route-sub { font-size: 11.5px; color: var(--rk-ink-500); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-route-nights { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.rk-mini-btn { width: 24px; height: 24px; border-radius: var(--rk-pill) !important; border: 1px solid var(--rk-line-1); background: #fff; color: var(--rk-ink-700); cursor: pointer; font-size: 10px; display: flex; align-items: center; justify-content: center; }
.rk-route-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; align-self: stretch; justify-content: space-between; }
.rk-route-remove, .rk-route-move { background: transparent; border: 0; color: var(--rk-ink-300); cursor: pointer; font-size: 13px; padding: 2px; }
.rk-route-remove:hover { color: var(--rk-danger); }
.rk-route-move-group { display: flex; gap: 4px; }
.rk-route-move:hover { color: var(--rk-gold-600); }
.rk-route-move:disabled { opacity: .3; cursor: default; }
.rk-timeline-footer { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rk-line-1); display: flex; justify-content: space-between; font-size: 13px; color: var(--rk-ink-500); }
.rk-timeline-footer strong { color: var(--rk-ink-900); font-weight: 600; }

/* step4 */
.rk-plan-tabs { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.rk-plan-tab { display: inline-flex; align-items: center; padding: 12px 20px; border-radius: var(--rk-pill) !important; font-size: 14px; font-weight: 600; cursor: pointer; border: 1.5px solid var(--rk-line-1); background: #fff; color: var(--rk-ink-700); font-family: inherit; }
.rk-plan-tab.is-active { border-color: var(--rk-gold-500); background: var(--rk-gold-50); color: var(--rk-gold-700); }
.rk-plan-note { background: var(--rk-gold-50); border: 1px solid var(--rk-line-2); border-radius: var(--rk-r3) !important; padding: 16px 18px; margin-bottom: 22px; display: flex; gap: 13px; align-items: flex-start; }
.rk-map { position: relative; border-radius: var(--rk-r3) !important; overflow: hidden; box-shadow: var(--rk-shadow-2); background: var(--rk-bone); min-height: 280px; background-image: repeating-linear-gradient(0deg, rgba(23,19,15,.05) 0 1px, transparent 1px 36px), repeating-linear-gradient(90deg, rgba(23,19,15,.05) 0 1px, transparent 1px 36px); }
.rk-map-label { position: absolute; top: 12px; left: 14px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--rk-gold-700); }
.rk-map-pin { position: absolute; transform: translate(-50%, -100%); }
.rk-map-pin-dot { width: 24px; height: 24px; border-radius: var(--rk-pill) !important; background: var(--rk-gold-500); color: #fff; border: 2px solid #fff; box-shadow: var(--rk-shadow-2); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; }
.rk-map-pin-label { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 600; background: rgba(251,249,244,.85); padding: 1px 6px; border-radius: 4px !important; }
.rk-map-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--rk-ink-300); font-size: 13px; }

/* step5 */
.rk-summary-card { background: #fff; border: 1px solid var(--rk-line-1); border-radius: var(--rk-r3) !important; box-shadow: var(--rk-shadow-1); overflow: hidden; }
.rk-summary-head { padding: 14px 18px; border-bottom: 1px solid var(--rk-line-1); display: flex; justify-content: space-between; align-items: center; }
.rk-summary-head-label { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--rk-ink-700); font-weight: 600; }
.rk-summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 18px; border-bottom: 1px solid var(--rk-line-1); }
.rk-summary-row:last-child { border-bottom: 0; }
.rk-summary-k { font-size: 13px; color: var(--rk-ink-500); flex: 0 0 38%; }
.rk-summary-v { font-size: 14px; text-align: right; font-weight: 500; }

.rk-recap { background: var(--rk-ink-900); border-radius: var(--rk-r3) !important; box-shadow: var(--rk-shadow-2); padding: 24px; color: var(--rk-paper); }
.rk-recap-title { font-family: Georgia, serif; font-weight: 400; font-size: 24px; margin-bottom: 6px; }
.rk-recap-sub { font-size: 13px; color: var(--rk-ink-300); margin-bottom: 18px; }
.rk-recap-chip { display: flex; gap: 9px; align-items: center; font-size: 13px; margin-bottom: 7px; }
.rk-recap-chip i { color: var(--rk-gold-300); width: 16px; text-align: center; }
.rk-recap-total { border-top: 1px solid rgba(255,255,255,.14); padding-top: 14px; margin: 14px 0 18px; display: flex; justify-content: space-between; align-items: baseline; }
.rk-recap-total-label { font-size: 13px; color: var(--rk-ink-300); }
.rk-recap-total-value { font-family: Georgia, serif; font-weight: 400; font-size: 22px; color: var(--rk-gold-300); }

/* actions bar */
.rk-actions {
  position: sticky; bottom: 0; z-index: 6;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 0; margin-top: 28px;
  border-top: 1px solid var(--rk-line-1);
  background: #fff;
  backdrop-filter: blur(10px);
}
.rk-hint { font-size: 12px; color: var(--rk-ink-500); text-align: center; flex: 1; }
.rk-actions .sv-btn { font-family: inherit; }
.rk-actions .sv-btn-primary:disabled { background: var(--rk-ink-100); border-color: var(--rk-ink-100); color: var(--rk-ink-300); cursor: not-allowed; }

/* toast */
.rk-toast {
  position: fixed; bottom: 92px; left: 50%; transform: translateX(-50%); z-index: 80;
  background: var(--rk-ink-900); color: var(--rk-paper); padding: 10px 18px; border-radius: var(--rk-pill) !important;
  font-size: 13px; font-weight: 500; box-shadow: var(--rk-shadow-3); display: flex; align-items: center; gap: 8px;
  animation: rkToast 1.8s var(--rk-ease) both;
}
@keyframes rkToast { 0%{opacity:0;transform:translate(-50%,12px)} 12%{opacity:1;transform:translate(-50%,0)} 88%{opacity:1;transform:translate(-50%,0)} 100%{opacity:0;transform:translate(-50%,-8px)} }

/* submitted overlay */
.rk-overlay { position: fixed; inset: 0; z-index: 100; background: var(--rk-ink-900); display: flex; align-items: center; justify-content: center; padding: 24px; }
.rk-overlay-box { max-width: 440px; text-align: center; color: var(--rk-paper); }
.rk-overlay-check { width: 68px; height: 68px; border-radius: var(--rk-pill) !important; background: var(--rk-gold-500); color: var(--rk-ink-900); display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 22px; }
.rk-overlay-box h2 { color: var(--rk-paper); font-size: clamp(26px, 5vw, 38px); margin: 8px 0 12px; }
.rk-overlay-box p { color: var(--rk-ink-300); margin: 0 0 8px; }

.rk-anim { animation: rkUp .4s var(--rk-ease); }
@keyframes rkUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.rk-contact-grid { display: grid; gap: 14px 18px; grid-template-columns: repeat(2, minmax(0,1fr)); margin-bottom: 16px; }
@media (max-width: 560px) { .rk-contact-grid { grid-template-columns: 1fr; } }
