/* ============================================
   METORBIKE — Probefahrt Plugin CSS
   Dark theme · v1.0.0
============================================ */



#mf-wrap, #mf-wrap * { box-sizing: border-box; margin: 0; padding: 0; }
#mf-wrap { width: 100%; font-family: inherit; color: #fff; }

/* Progress */
#mf-wrap .mf-progress { width: 100%; height: 1px; background: rgba(255,255,255,0.12); margin-bottom: 52px; position: relative; }
#mf-wrap .mf-progress-fill { height: 1px; background: rgba(255,255,255,0.85); width: 33%; position: relative; transition: width 0.5s cubic-bezier(0.4,0,0.2,1); }

/* Steps */
#mf-wrap .mf-step { display: none; opacity: 0; transform: translateY(10px); transition: opacity 0.32s ease, transform 0.32s ease; }
#mf-wrap .mf-step.active  { display: block; }
#mf-wrap .mf-step.visible { opacity: 1; transform: translateY(0); }

/* 2-col layout */
#mf-wrap .mf-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; align-items: start; }
@media (max-width: 768px) { #mf-wrap .mf-layout { grid-template-columns: 1fr; gap: 32px 0; } }

/* Left */
#mf-wrap .mf-left { position: sticky; top: 40px; }
#mf-wrap .mf-step-num { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #9CABAA; margin-bottom: 14px; }
#mf-wrap .mf-step-head h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 550; color: #fff; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 16px; }
#mf-wrap .mf-step-head p  { font-size: 18px; font-weight: 400; color: rgba(255,255,255,0.48); line-height: 1.5; }
@media (max-width: 1024px) {
  #mf-wrap .mf-left {
    position: static;
  }
}
/* Right */
#mf-wrap .mf-right { display: flex; flex-direction: column; gap: 8px; }

/* City / choice tile */
#mf-wrap .mf-tile { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; cursor: pointer; gap: 12px; transition: background 0.18s, border-color 0.18s; }
#mf-wrap .mf-tile:hover   { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.28); }
#mf-wrap .mf-tile.selected { background: rgba(255,255,255,0.92); border-color: transparent; }
#mf-wrap .tile-info { flex: 1; }
#mf-wrap .tile-name { font-size: 18px; font-weight: 550; color: #fff; margin-bottom: 2px; line-height: 1.2; }
#mf-wrap .tile-sub  { font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.66); line-height: 1.35; padding-top: 2px; }
#mf-wrap .mf-tile.selected .tile-name { color: #0D2E27; }
#mf-wrap .mf-tile.selected .tile-sub  { color: #000; }

/* Wunschort slide */
#mf-wrap .mf-wunschort-wrap { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.38s ease, opacity 0.28s ease; }
#mf-wrap .mf-wunschort-wrap.open { max-height: 120px; opacity: 1; }

/* Time slot grid */
#mf-wrap .mf-slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 480px) { #mf-wrap .mf-slot-grid { grid-template-columns: repeat(2,1fr); } }

#mf-wrap .mf-time-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 8px; text-align: center; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: 12px; cursor: pointer; min-height: 62px; transition: background 0.18s, border-color 0.18s; }
#mf-wrap .mf-time-tile:hover   { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.28); }
#mf-wrap .mf-time-tile.selected { background: rgba(255,255,255,0.92); border-color: transparent; }
#mf-wrap .mf-time-tile.booked  { opacity: 0.25; cursor: not-allowed; pointer-events: none; }
#mf-wrap .tile-time-big  { font-size: 15px; font-weight: 550; color: rgba(255,255,255,0.9); display: block; font-variant-numeric: tabular-nums; line-height: 1.2; }
#mf-wrap .tile-time-end  { font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.38); display: block; margin-top: 2px; }
#mf-wrap .mf-time-tile.selected .tile-time-big { color: #0D2E27; }
#mf-wrap .mf-time-tile.selected .tile-time-end { color: rgba(13,46,39,0.5); }

#mf-wrap .mf-slot-loading { font-size: 13px; color: rgba(255,255,255,0.35); padding: 16px 0; }
#mf-wrap .mf-section-label { font-size: 13px; font-weight: 550; letter-spacing: 0.1em; text-transform: uppercase; color: #FFF; margin-top: 20px; margin-bottom: 10px; }

/* Calendar */
#mf-wrap .mf-cal-wrap { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 18px 18px 14px; }
#mf-wrap .mf-cal-nav  { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
#mf-wrap .mf-cal-nav span { font-size: 14px; font-weight: 550; color: #fff; }
#mf-wrap .mf-cal-nav button { background: transparent; border: 1px solid rgba(255,255,255,0.18); border-radius: 7px; color: rgba(255,255,255,0.6); width: 30px; height: 30px; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; font-family: inherit; transition: border-color 0.15s, color 0.15s; }
#mf-wrap .mf-cal-nav button:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
#mf-wrap .mf-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
#mf-wrap .mf-cal-dow  { font-size: 10px; font-weight: 550; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255,255,255,0.28); text-align: center; padding: 4px 0 8px; }
#mf-wrap .mf-cal-day  { height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 7px; font-size: 13px; color: rgba(255,255,255,0.75); cursor: pointer; transition: background 0.14s; }
#mf-wrap .mf-cal-day:hover    { background: rgba(255,255,255,0.1); }
#mf-wrap .mf-cal-day.selected { background: rgba(255,255,255,0.92); color: #0D2E27; font-weight: 550; }
#mf-wrap .mf-cal-day.past     { color: rgba(255,255,255,0.18); cursor: default; pointer-events: none; }
#mf-wrap .mf-cal-day.empty    { cursor: default; }
#mf-wrap .mf-cal-day.today    { border: 1px solid rgba(255,255,255,0.28); }

/* Text inputs */
#mf-wrap .mf-input-row { border-bottom: none; padding: 4px 0 0; margin-bottom: 6px; }
#mf-wrap .mf-input-row label { display: block; font-size: 13px; font-weight: 550; letter-spacing: 0.09em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
#mf-wrap .mf-input-row input { width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.12); border-radius: 0px; color: #fff; font-size: 16px; font-family: inherit; padding: 6px 0 12px; outline: none; transition: border-color 0.2s; }
#mf-wrap .mf-input-row input::placeholder { color: rgba(255,255,255,0.2); }

/* Two col */
#mf-wrap .mf-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
@media (max-width: 480px) { #mf-wrap .mf-two-col { grid-template-columns: 1fr; } }

/* Checkbox pills */
#mf-wrap .mf-check-group { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 6px; }
#mf-wrap .mf-check { position: relative; display: inline-block; }
#mf-wrap .mf-check input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
#mf-wrap .mf-check label { display: inline-flex; align-items: center; padding: 8px 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: 40px; cursor: pointer; font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.62); text-transform: none; letter-spacing: 0; transition: background 0.18s, border-color 0.18s, color 0.18s; }
#mf-wrap .mf-check label:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.28); }
#mf-wrap .mf-check input:checked + label { background: rgba(255,255,255,0.92); border-color: transparent; color: #0D2E27; font-weight: 550; }

/* Cnachträglich ergänzt von Niklas */
#mf-wrap .mf-check input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
#mf-wrap .mf-check input[type="radio"]:checked + label { background: rgba(255,255,255,0.92); border-color: transparent; color: #0D2E27; font-weight: 550; }


/* Legal */
#mf-wrap .mf-legal { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
#mf-wrap .mf-legal-item { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
#mf-wrap .mf-legal-item input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
#mf-wrap .mf-legal-box { width: 20px; height: 20px; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.25); border-radius: 5px; margin-top: 1px; display: flex; align-items: center; justify-content: center; transition: background 0.18s, border-color 0.18s; }
#mf-wrap .mf-legal-box svg { display: none; width: 12px; height: 12px; stroke: #0D2E27; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
#mf-wrap .mf-legal-item input:checked ~ .mf-legal-box { background: rgba(255,255,255,0.92); border-color: transparent; }
#mf-wrap .mf-legal-item input:checked ~ .mf-legal-box svg { display: block; }
#mf-wrap .mf-legal-text { font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.5; }
#mf-wrap .mf-legal-text a { color: rgba(255,255,255,0.75); text-decoration: underline; }
#mf-wrap .req { color: rgba(255,150,120,0.8); }
#mf-wrap .mf-optional { color: rgba(255,255,255,0.35); }

/* Buttons */
#mf-wrap .mf-actions { display: flex; gap: 10px; margin-top: 36px; align-items: center; }
#mf-wrap .btn-primary { flex: 1; padding: 18px 28px; background: #fff; color: #000; font-size: 15px; font-weight: 580; font-family: inherit; border: 1px solid #fff; border-radius: 999px; cursor: pointer; letter-spacing: 0.01em; transition: background 0.2s, color 0.2s; }
#mf-wrap .btn-primary:hover { background: transparent; color: #fff; }
#mf-wrap .btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
#mf-wrap .btn-back { padding: 18px 28px; background: transparent; color: #fff; font-size: 15px; font-weight: 580; font-family: inherit; border: 1px solid #fff; border-radius: 999px; cursor: pointer; letter-spacing: 0.01em; white-space: nowrap; transition: background 0.2s, color 0.2s; }
#mf-wrap .btn-back:hover { background: #fff; color: #000; }

/* Errors */
#mf-wrap .mf-error { font-size: 12px; color: rgba(255,150,120,0.9); margin-top: 6px; min-height: 18px; }

/* Success */
#mf-success { display: none; opacity: 0; transform: translateY(10px); transition: opacity 0.4s ease, transform 0.4s ease; padding: 48px 0 24px; text-align: center; }
#mf-success.visible { opacity: 1; transform: translateY(0); }
#mf-success .ok-icon { width: 52px; height: 52px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
#mf-success .ok-icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
#mf-success h3 { font-size: 22px; font-weight: 550; color: #fff; margin-bottom: 10px; }
#mf-success .success-text { font-size: 14px; color: rgba(255,255,255,0.48); line-height: 1.6; margin-bottom: 24px; }
#mf-success .success-summary { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 20px 24px; max-width: 380px; margin: 0 auto; }
#mf-success .summary-row { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.08); gap: 16px; }
#mf-success .summary-row:first-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
#mf-success .summary-row:last-child { border-bottom: none; }
#mf-success .summary-label { font-size: 11px; font-weight: 550; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255,255,255,0.38); flex-shrink: 0; }
#mf-success .summary-val { font-size: 14px; color: rgba(255,255,255,0.82); text-align: right; }

#mf-wrap .mf-input-row input:hover { border-bottom-color: rgba(255,255,255,0.35); }
#mf-wrap .mf-input-row input:focus { border-bottom-color: rgba(255,255,255,0.8); }
#mf-wrap .mf-input-row input.invalid { border-bottom-color: rgba(255,110,90,0.75); }
