/* A&S Airport Service – gemeinsames Design (Kundenseite + Adminbereich) */
:root {
  --brand: #7b1f2b;
  --brand-soft: #fff5f6;
  --ink: #222;
  --muted: #666;
  --line: #dcdcdc;
  --bg: #f3f3f1;
  --card: #fff;
  --field: #cfcfcf;
  --error: #c62828;
  --ok: #277a42;
  --warn-bg: #fff7df;
  --warn-line: #b7791f;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; background: var(--bg); color: var(--ink); }

/* ---------- Kopfzeile ---------- */
header { background: #fff; border-bottom: 1px solid #ddd; position: sticky; top: 0; z-index: 10; }
.top { max-width: 1150px; margin: auto; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.logo { font-size: 24px; font-weight: 900; text-decoration: none; color: var(--ink); }
.logo .as { color: var(--brand); }
.logo small { display: block; font-size: 11px; color: #777; font-weight: 700; }
.langs { display: flex; gap: 7px; flex-wrap: wrap; }
.langs button { padding: 7px 11px; border: 1px solid #ccc; background: #fff; border-radius: 20px; font-weight: 800; cursor: pointer; font-size: 13px; }
.langs button.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Grundlayout ---------- */
.wrap { max-width: 1000px; margin: 28px auto; padding: 0 16px; }
.card { background: var(--card); border-radius: 18px; padding: 26px; box-shadow: 0 7px 22px rgba(0, 0, 0, .08); margin-bottom: 20px; }
.hidden { display: none !important; }
h2 { margin-top: 0; }
h3 { margin: 22px 0 12px; }
.muted { color: var(--muted); font-size: 13px; }
.note { font-size: 13px; color: var(--muted); }

/* ---------- Buttons ---------- */
button { font-family: inherit; }
.btn, .bar button, .choice button, .bigbtn { border: 0; border-radius: 10px; font-weight: 900; cursor: pointer; }
.primary { background: var(--brand); color: #fff; }
.dark { background: var(--ink); color: #fff; }
.light { background: #eee; color: var(--ink); }
.green { background: var(--ok); color: #fff; }
.danger { background: #a52a2a; color: #fff; }
.bar { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 20px; align-items: center; }
.bar button { padding: 13px 18px; }
.mini { padding: 7px 10px; border: 0; border-radius: 7px; font-weight: 700; cursor: pointer; font-size: 13px; }
.linkbtn { background: #eee; border: 0; border-radius: 8px; padding: 10px 12px; font-weight: 800; cursor: pointer; }
.linkish { background: none; border: 0; padding: 0; color: var(--brand); font-weight: 700; cursor: pointer; text-decoration: underline; font-size: inherit; }
.account-bar { font-size: 13px; color: var(--muted); margin-inline-start: auto; }
.price-note { font-size: 12px; font-weight: 600; color: var(--muted); }
.latin-note { display: none; }
html[lang="ar"] .latin-note { display: block; }
[dir="rtl"] .arrow { display: inline-block; transform: scaleX(-1); }

/* ---------- Startseite ---------- */
.hero { padding: 40px 28px; background: linear-gradient(120deg, #242424, #555); color: #fff; }
.hero h1 { margin: 0 0 10px; font-size: 38px; }
.hero p { margin: 0; color: #ddd; font-size: 18px; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.bigbtn { padding: 20px; border-radius: 14px; font-size: 19px; }
.actions.single { grid-template-columns: 1fr; max-width: 520px; }
.hero-login { margin-top: 14px !important; font-size: 15px !important; }
.light-link { color: #fff; }
.price-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price-cta .price-row { flex: 1 1 240px; border: 0; margin: 0; padding: 0; }
.price-cta .bigbtn { padding: 16px 22px; font-size: 17px; }

/* ---------- Schritte ---------- */
.stepper { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.step { padding: 8px 11px; border-radius: 20px; background: #e9e9e7; font-size: 12px; font-weight: 800; color: var(--muted); }
.step.active { background: var(--brand); color: #fff; }

.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice button { padding: 18px; border-radius: 12px; font-size: 17px; }

/* ---------- Formulare ---------- */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.full { grid-column: 1 / -1; }
label { display: block; font-size: 12px; font-weight: 900; margin-bottom: 5px; }
input, select, textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--field); border-radius: 9px; font-size: 14px; font-family: inherit; background: #fff; color: var(--ink); }
textarea { min-height: 76px; }
.req { color: #b00020; }
.invalid { border: 2px solid var(--error) !important; background: #fff7f7 !important; }
.err-text { color: #b42318; font-size: 12px; font-weight: 700; margin-top: 5px; display: block; }
.info { background: #f6f6f4; border: 1px solid #e3e3e0; border-radius: 12px; padding: 14px 16px; line-height: 1.45; }
.notice { background: #f6f6f4; border-left: 4px solid var(--brand); border-radius: 8px; padding: 10px 14px; margin: 10px 0; font-size: 14px; }

.time-picker { display: flex; gap: 6px; align-items: center; width: max-content; border-radius: 9px; }
.time-picker select { width: 72px; }
.time-picker span { font-weight: 700; font-size: 18px; }
.time-picker.invalid { padding: 4px; }

.pay-choices { display: flex; gap: 8px; flex-wrap: wrap; border-radius: 10px; }
.pay-choice { display: flex; align-items: center; gap: 7px; border: 1px solid var(--field); border-radius: 9px; padding: 10px 12px; font-size: 13px; font-weight: 700; cursor: pointer; margin: 0; flex: 1 1 auto; white-space: nowrap; }
.pay-choice input { width: auto; margin: 0; }
.pay-choice:has(input:checked) { border: 2px solid var(--brand); background: var(--brand-soft); }
.pay-choices.invalid { padding: 4px; }

details.contact summary { cursor: pointer; font-weight: 800; }
.extra-passenger { margin-top: 10px; }

/* Buchungsformular: 12-Spalten-Raster auf großen Bildschirmen */
.leg { border-top: 1px solid #eee; padding-top: 4px; margin-top: 8px; }
.leg:first-child { border-top: 0; margin-top: 0; }
.form12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px 16px; align-items: end; }
.form12 > * { grid-column: span 12; min-width: 0; }
@media (min-width: 760px) {
  .form12 > .s3 { grid-column: span 3; }
  .form12 > .s4 { grid-column: span 4; }
  .form12 > .s6 { grid-column: span 6; }
  .form12 > .s9 { grid-column: span 9; }
}

/* ---------- Preise ---------- */
.pricebox { margin-top: 18px; padding: 18px; border: 1px solid #ddd; border-radius: 12px; background: #fafafa; }
.price-row { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; font-weight: 800; }
.price-row > span:last-child { text-align: end; }
.total { font-size: 22px; color: var(--brand); border-top: 1px solid #ddd; margin-top: 7px; padding-top: 10px; }
.review-leg { margin-top: 14px; padding-top: 10px; border-top: 1px dashed #ddd; }
.review-leg h4 { margin: 0 0 6px; }
.review-leg .price-row { font-weight: 600; }
.review-leg ol { margin: 0; padding-inline-start: 20px; text-align: start; }

/* ---------- Fertig-Seite ---------- */
.success { text-align: center; padding: 40px 24px; }
.success .check { font-size: 64px; }
.emailpreview { border: 1px solid #ddd; border-radius: 12px; padding: 18px; margin-top: 14px; background: #fafafa; text-align: start; }
.baggage { margin-top: 16px; padding: 16px; border: 3px solid var(--warn-line); background: var(--warn-bg); border-radius: 12px; }

.loginbox { max-width: 520px; margin: auto; }
.loginbox input { margin-bottom: 14px; }

@media (max-width: 700px) {
  .actions, .choice, .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .card { padding: 20px 16px; }
  .top { padding: 12px 16px; }
}

/* Passwort anzeigen */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-inline-end: 46px; }
.pw-eye { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; font-size: 18px; cursor: pointer; padding: 4px 6px; line-height: 1; }
.loginbox .pw-wrap { margin-bottom: 14px; }
.loginbox .pw-wrap input { margin-bottom: 0; }
