/* Fahrschul-Anmeldung – Dark Theme (First Drive CI) v1.3 */
.fa-container {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  max-width: 720px;
  margin: 0 auto;
  color: #e7e9ee;
  line-height: 1.5;
  --fa-blue: #44BDF1;
  --fa-pink: #D81992;
  --fa-grad: linear-gradient(135deg, #44BDF1 0%, #D81992 100%);
}
.fa-container *, .fa-container *::before, .fa-container *::after { box-sizing: border-box; }
.fa-card {
  background: linear-gradient(180deg, #15171c 0%, #0f1115 100%);
  border: 1px solid #23262d;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.02) inset;
}
.fa-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 16px; min-height: 38px; }
.fa-logo { display: flex; align-items: center; }
.fa-logo img { height: 38px; width: auto; max-width: 200px; display: block; }
.fa-logo-text { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: #e7e9ee; }
.fa-step-indicator { font-size: 13px; color: #8b8f99; font-variant-numeric: tabular-nums; }

/* TRUST BAR – Grün mit pulsierendem Schild */
.fa-trust-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  background: rgba(74, 222, 128, 0.06);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 500;
  color: #4ade80;
  text-align: center;
}
.fa-trust-bar svg {
  color: #4ade80;
  flex-shrink: 0;
  animation: fa-shield-pulse 2s ease-in-out infinite;
  transform-origin: center;
}
@keyframes fa-shield-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

.fa-progress { height: 4px; background: #23262d; border-radius: 999px; overflow: hidden; margin-bottom: 32px; }
.fa-progress-bar {
  height: 100%;
  background: var(--fa-grad);
  border-radius: 999px;
  width: 33.33%;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.fa-title { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 8px 0; color: #e7e9ee; }
.fa-subtitle { font-size: 14px; color: #8b8f99; margin: 0 0 28px 0; }
.fa-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.fa-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.fa-field > label { font-size: 12px; font-weight: 500; color: #b4b8c2; }
.fa-container input[type=text],
.fa-container input[type=email],
.fa-container input[type=tel],
.fa-container input[type=date],
.fa-container input:not([type]),
.fa-container select {
  background: #1a1d23;
  border: 1px solid #2a2e36;
  border-radius: 10px;
  padding: 12px 14px;
  color: #e7e9ee;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.15s ease;
  outline: none;
  width: 100%;
}
.fa-container input:focus, .fa-container select:focus {
  border-color: var(--fa-pink);
  background: #1d2027;
  box-shadow: 0 0 0 3px rgba(216, 25, 146, 0.15);
}
.fa-container input::placeholder { color: #555861; }
.fa-container select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238b8f99' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.fa-section-title {
  font-size: 13px;
  font-weight: 600;
  color: #b4b8c2;
  margin: 24px 0 12px 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.fa-section-title:first-child { margin-top: 0; }
.fa-option {
  background: #1a1d23;
  border: 1px solid #2a2e36;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.fa-option:hover { border-color: var(--fa-blue); }
.fa-option.selected {
  border-color: var(--fa-pink);
  background: linear-gradient(135deg, rgba(68,189,241,0.06), rgba(216,25,146,0.06));
  box-shadow: 0 0 0 1px rgba(216,25,146,0.4) inset;
}
.fa-option-content { flex: 1; }
.fa-option-name { font-weight: 600; font-size: 15px; margin-bottom: 2px; color: #e7e9ee; }
.fa-option-desc { font-size: 13px; color: #8b8f99; }
.fa-option-price {
  font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap;
  background: var(--fa-grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.fa-option-price.free { background: none; -webkit-text-fill-color: var(--fa-blue); color: var(--fa-blue); }
.fa-addon {
  background: #1a1d23;
  border: 1px solid #2a2e36;
  border-radius: 12px;
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 14px;
}
.fa-addon:hover { border-color: var(--fa-blue); }
.fa-addon.selected {
  border-color: var(--fa-pink);
  background: linear-gradient(135deg, rgba(68,189,241,0.06), rgba(216,25,146,0.06));
  box-shadow: 0 0 0 1px rgba(216,25,146,0.4) inset;
}
.fa-addon-check {
  width: 22px; height: 22px;
  border: 1.5px solid #3a3e48;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.fa-addon.selected .fa-addon-check { background: var(--fa-grad); border-color: transparent; }
.fa-addon-check svg { opacity: 0; transition: opacity 0.15s ease; }
.fa-addon.selected .fa-addon-check svg { opacity: 1; }
.fa-addon-content { flex: 1; }
.fa-addon-name { font-weight: 600; font-size: 15px; margin-bottom: 2px; color: #e7e9ee; }
.fa-addon-desc { font-size: 13px; color: #8b8f99; }
.fa-addon-price {
  font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums;
  background: var(--fa-grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* LernApp automatisch inklusive (Aktion): nicht abwählbar, GRATIS-Optik */
.fa-addon.fa-addon-included { cursor: default; }
.fa-addon.fa-addon-included:hover { border-color: var(--fa-pink); }
.fa-addon.fa-addon-included .fa-addon-price {
  background: none;
  -webkit-text-fill-color: #4ade80;
  color: #4ade80;
  letter-spacing: 0.5px;
}
.fa-summary {
  background: #1a1d23;
  border: 1px solid #2a2e36;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}
.fa-summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.fa-summary-row.total {
  border-top: 1px solid #2a2e36;
  margin-top: 8px; padding-top: 14px;
  font-weight: 600; font-size: 17px;
}
.fa-summary-label { color: #8b8f99; }
.fa-summary-value { color: #e7e9ee; font-variant-numeric: tabular-nums; text-align: right; }
.fa-summary-row.total .fa-summary-value {
  background: var(--fa-grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* CUSTOM CHECKBOXEN */
.fa-checkbox-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  background: #1a1d23;
  border: 1px solid #2a2e36;
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.fa-checkbox-row:hover { border-color: #3a3e48; }
.fa-checkbox-row.checked {
  border-color: rgba(74, 222, 128, 0.5);
  background: rgba(74, 222, 128, 0.05);
}
.fa-custom-check {
  width: 20px; height: 20px;
  min-width: 20px;
  border: 1.5px solid #3a3e48;
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
  transition: all 0.15s ease;
  cursor: pointer;
}
.fa-checkbox-row.checked .fa-custom-check {
  background: #4ade80;
  border-color: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15);
}
.fa-custom-check svg { opacity: 0; transition: opacity 0.15s ease; }
.fa-checkbox-row.checked .fa-custom-check svg { opacity: 1; }
.fa-checkbox-row label { font-size: 13px; color: #b4b8c2; cursor: pointer; flex: 1; line-height: 1.5; }
.fa-checkbox-row a { color: var(--fa-blue); text-decoration: none; }
.fa-checkbox-row a:hover { color: var(--fa-pink); }

/* DATUM DROPDOWNS */
.fa-date-wrap { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 8px; }
.fa-date-part { background: #1a1d23; border: 1px solid #2a2e36; border-radius: 10px; padding: 12px 10px; color: #e7e9ee; font-size: 14px; font-family: inherit; transition: all 0.15s ease; outline: none; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath fill='%238b8f99' d='M5 7L0 0h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 28px; width: 100%; }
.fa-date-part:focus { border-color: var(--fa-pink); background-color: #1d2027; box-shadow: 0 0 0 3px rgba(216,25,146,0.15); }

/* ADRESS-AUTOCOMPLETE */
.fa-address-wrap { position: relative; }
.fa-address-suggestions {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: #1a1d23; border: 1px solid #2a2e36; border-radius: 10px;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.6);
  max-height: 240px; overflow-y: auto;
  z-index: 100;
}
.fa-address-suggestion {
  padding: 10px 14px;
  font-size: 13px; color: #e7e9ee;
  cursor: pointer;
  border-bottom: 1px solid #23262d;
  transition: background 0.12s ease;
}
.fa-address-suggestion:last-child { border-bottom: none; }
.fa-address-suggestion:hover { background: #1d2027; color: var(--fa-blue); }
.fa-field-hint { font-size: 11px; color: #6c7079; margin-top: 4px; padding: 0 2px; }

.fa-mwst-hint {
  font-size: 12px;
  color: #555861;
  margin-top: 6px;
  margin-bottom: 4px;
  padding: 0 2px;
}
.fa-summary-mwst {
  font-size: 11px;
  color: #555861;
  text-align: right;
  margin-top: 4px;
  padding: 0 2px;
}
/* ZAHLUNG BLOCK – Strikt vertikal gestackt */
.fa-payment-block {
  background: #1a1d23;
  border: 1px solid #2a2e36;
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 14px;
  display: block !important;
  width: 100%;
}
.fa-payment-textblock {
  display: block !important;
  width: 100%;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #23262d;
}
.fa-payment-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #e7e9ee;
  line-height: 1.4;
  margin-bottom: 4px;
}
.fa-payment-label svg { color: var(--fa-blue); flex-shrink: 0; }
.fa-payment-security {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #4ade80;
  margin-left: 19px;
}
.fa-payment-icons {
  display: flex !important;
  gap: 6px;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  width: 100%;
}
.fa-payment-icons::-webkit-scrollbar { display: none; }
.fa-pay-icon {
  width: 52px;
  height: 33px;
  min-width: 52px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.12s ease;
  cursor: default;
}
.fa-pay-icon:hover { transform: translateY(-2px); }
.fa-pay-icon svg { width: 100%; height: 100%; display: block; }

.fa-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  margin-top: 16px;
}
.fa-actions { display: flex; gap: 12px; margin-top: 24px; }
.fa-btn {
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
}
.fa-btn-primary {
  background: var(--fa-grad);
  color: #fff;
  flex: 1;
  position: relative;
  overflow: hidden;
}
.fa-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #44BDF1, #D81992, #44BDF1);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.4s ease;
  animation: fa-border-flow 3s linear infinite;
  pointer-events: none;
}
.fa-btn-primary::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #44BDF1, #D81992);
  filter: blur(12px);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease, background 0.4s ease;
  animation: fa-pulse 2.4s ease-in-out infinite;
  pointer-events: none;
}
.fa-btn-primary.fa-glow::before,
.fa-btn-primary.fa-glow::after { opacity: 1; }
/* Grüner Glow wenn beide Checkboxen aktiv (ready-to-pay) */
.fa-btn-primary.fa-ready::before {
  background: linear-gradient(135deg, #4ade80, #22c55e, #4ade80);
  background-size: 200% 200%;
}
.fa-btn-primary.fa-ready::after {
  background: linear-gradient(135deg, #4ade80, #22c55e);
}
.fa-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -8px rgba(216,25,146,0.5), 0 6px 20px -8px rgba(68,189,241,0.4);
}
.fa-btn-primary.fa-ready:hover {
  box-shadow: 0 10px 30px -8px rgba(74,222,128,0.6), 0 6px 20px -8px rgba(34,197,94,0.5);
}
@keyframes fa-pulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.02); }
}
@keyframes fa-border-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.fa-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.fa-btn-secondary {
  background: transparent;
  color: #b4b8c2;
  border: 1px solid #2a2e36;
  padding: 14px 20px;
}
.fa-btn-secondary:hover { border-color: var(--fa-blue); color: #e7e9ee; }
.fa-step { animation: fa-fadeIn 0.3s ease; }
@keyframes fa-fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.fa-loading { text-align: center; padding: 40px 20px; color: #8b8f99; }
.fa-spinner {
  width: 40px; height: 40px;
  border: 3px solid #2a2e36;
  border-top-color: var(--fa-pink);
  border-right-color: var(--fa-blue);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: fa-spin 0.8s linear infinite;
}
@keyframes fa-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  .fa-row { grid-template-columns: 1fr; }
  .fa-card { padding: 24px; }
  .fa-title { font-size: 22px; }
  .fa-option, .fa-addon { padding: 14px; }
  .fa-logo img { height: 32px; }
  .fa-trust-bar { gap: 10px; flex-wrap: wrap; }
  .fa-trust-item { font-size: 11px; }
  .fa-pay-icon { width: 36px; height: 23px; min-width: 36px; border-radius: 4px; }
  .fa-payment-icons { gap: 4px; }
}
