/* UmrahFlug – Basis-Styles. Schriften: Systemschriften (kein Google-Fonts-Abruf, DSGVO-freundlich). */
:root {
  --navy: #13233A;
  --sand: #F5F0E6;
  --bg: #F7F4EE;
  --green: #0E6B54;
  --green-dark: #0B5A46;
  --green-soft: #E3F1EC;
  --line: #E6E1D6;
  --line-strong: #CFC8B8;
  --muted: #4A5868;
  --text-2: #3C4A5C;
  --stop: #B4234A;
  --warn-bg: #FFF7F2;
  --warn-line: #F3D3BF;
  --warn-text: #9A3412;
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.5;
  color: var(--navy); background: var(--bg); font-variant-numeric: tabular-nums;
}
a { color: var(--green); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid #E3C55A; outline-offset: 2px; }

/* Header / Footer */
.site-header { background: var(--navy); color: #fff; }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 21px; }
.brand:hover { color: #fff; }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: #DCE3EC; text-decoration: none; padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.1); color: #fff; }
.site-footer { margin-top: 56px; background: var(--navy); color: #C8D1DC; font-size: 14px; }
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; display: grid; gap: 16px; }
.site-footer a { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.disclosure { font-size: 13px; color: #A9B4C2; max-width: 760px; }

/* Hero + Suche */
.hero { background: var(--navy); color: #fff; padding: 28px 0 72px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; max-width: 760px; }
.hero p.lead { color: #C8D1DC; font-size: 17px; max-width: 640px; margin: 12px 0 0; }
.search-card {
  background: #fff; color: var(--navy); border-radius: 18px; padding: 18px;
  box-shadow: 0 18px 40px rgba(19,35,58,.18); margin-top: -48px; position: relative;
}
.search-grid { display: grid; gap: 12px; grid-template-columns: repeat(12, 1fr); }
.field { display: flex; flex-direction: column; gap: 4px; grid-column: span 12; min-width: 0; }
.field > span, .field legend { font-size: 13px; font-weight: 700; color: var(--text-2); padding: 0; }
.field select, .field input {
  font: inherit; font-weight: 600; color: var(--navy); background: #fff;
  border: 1px solid var(--line-strong); border-radius: 10px; min-height: 46px; padding: 0 12px; width: 100%;
}
fieldset.field { border: 0; margin: 0; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: flex; align-items: center; min-height: 46px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line-strong); font-weight: 600; cursor: pointer; background: #fff;
}
.seg input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid #E3C55A; outline-offset: 2px; }
.hint { font-size: 13px; color: var(--muted); margin: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--green); color: #fff; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none;
}
.btn:hover { background: var(--green-dark); color: #fff; }
.btn.secondary { background: #fff; color: var(--navy); border: 1px solid var(--line-strong); }
.btn.secondary:hover { background: var(--sand); color: var(--navy); }
.btn.small { min-height: 40px; font-size: 14px; padding: 0 14px; border-radius: 10px; }
@media (min-width: 760px) {
  .span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; } .span-6 { grid-column: span 6; }
  .span-5 { grid-column: span 5; } .span-2 { grid-column: span 2; }
}

/* Sektionen */
.section { padding: 40px 0 0; }
.section h2 { font-size: 26px; margin-bottom: 14px; }
.cards3 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.box h3 { font-size: 18px; margin-bottom: 6px; }
.box p { margin: 0; color: var(--text-2); }
.deals { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.deal { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.deal b.price { font-family: var(--font-head); font-size: 20px; white-space: nowrap; }
.badge { display: inline-block; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; background: var(--green-soft); color: var(--green-dark); }
.badge.warn { background: #FFF4E5; color: #5C3B00; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--text-2); margin: 8px 0 0; }
.prose { max-width: 760px; }
.prose h1 { font-size: 34px; margin: 28px 0 12px; }
.prose h2 { font-size: 22px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--text-2); }
.note { background: var(--green-soft); border-radius: 12px; padding: 12px 16px; }
.placeholder { background: #FFF4E5; border: 2px dashed #E0A040; border-radius: 12px; padding: 12px 16px; }

/* Ergebnisse */
.res-head { background: var(--navy); color: #fff; padding: 12px 0; }
.res-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; color: var(--navy); border-radius: 999px; min-height: 48px; padding: 4px 6px 4px 18px; text-decoration: none; flex: 1 1 420px; min-width: 0;
}
.res-pill b { display: block; font-size: 16px; }
.res-pill small { display: block; color: var(--muted); font-size: 13px; }
.res-pill .go { flex: none; width: 36px; height: 36px; border-radius: 999px; background: var(--green); display: flex; align-items: center; justify-content: center; }
.stand { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.datestrip { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: thin; }
.datestrip button {
  flex: none; min-width: 92px; border: 1px solid var(--line); background: #fff; border-radius: 12px;
  padding: 6px 10px; font: inherit; cursor: pointer; text-align: left; color: var(--navy);
}
.datestrip button[aria-pressed="true"] { border-color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.datestrip small { display: block; font-size: 12px; color: var(--muted); }
.datestrip b { font-family: var(--font-head); }
.datestrip .low b { color: #1F6B2E; }
.combos { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.combos button, .sorts button {
  border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 12px; text-align: left;
  font: inherit; color: var(--navy); cursor: pointer; min-height: 56px;
}
.combos button[aria-checked="true"], .sorts button[aria-checked="true"] { border-color: var(--green); box-shadow: inset 0 0 0 2px var(--green); background: #FBFEFD; }
.combos button:disabled { opacity: .45; cursor: not-allowed; }
.combos b, .sorts b { display: block; font-size: 15px; }
.combos small, .sorts small { display: block; font-size: 12px; color: var(--muted); }
.sorts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.sorts .p { font-family: var(--font-head); font-weight: 800; font-size: 20px; }
.trade { margin: 0; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.trade b { color: var(--warn-text); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { display: flex; align-items: center; gap: 8px; min-height: 40px; background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 12px; font-weight: 600; font-size: 14px; cursor: pointer; }
.chip select { border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--navy); min-height: 36px; }
.chip input { width: 18px; height: 18px; margin: 0; accent-color: var(--green); }
.count { margin-left: auto; font-size: 13px; color: var(--muted); }
.stack { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.flight { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; display: grid; gap: 10px; }
.flight.top { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.f-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.f-top .tag { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; background: var(--green-soft); color: var(--green-dark); }
.f-top .tag.cheap { background: #FFF4E5; color: #5C3B00; }
.f-top .combo { font-size: 12px; font-weight: 700; color: var(--text-2); }
.f-body { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .f-body { grid-template-columns: 1fr 200px; align-items: center; } }
.leg { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 6px 0; }
.leg + .leg { border-top: 1px dashed var(--line); }
.al { width: 34px; height: 34px; border-radius: 9px; background: var(--sand); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; color: var(--navy); }
.leg-main { display: flex; flex-wrap: wrap; gap: 2px 18px; align-items: baseline; }
.leg-date { font-size: 12px; font-weight: 600; color: var(--muted); width: 100%; }
.leg-time { font-family: var(--font-head); font-weight: 800; font-size: 20px; white-space: nowrap; }
.leg-time sup { font-size: 11px; color: var(--stop); }
.leg-route { font-weight: 600; color: var(--text-2); }
.leg-stops { font-size: 13px; font-weight: 700; color: var(--green-dark); }
.leg-stops.has { color: var(--stop); }
.leg-dur { font-size: 14px; color: var(--muted); }
.leg-air { font-size: 13px; color: var(--muted); width: 100%; }
.f-price { text-align: left; display: grid; gap: 6px; }
@media (min-width: 820px) { .f-price { text-align: right; justify-items: end; } }
.f-price .pp { font-family: var(--font-head); font-weight: 800; font-size: 26px; }
.f-price small { color: var(--muted); font-size: 13px; }
.miqat { font-size: 13px; background: var(--green-soft); color: var(--green-dark); border-radius: 8px; padding: 6px 10px; }
.miqat.board { background: #FFF4E5; color: #5C3B00; }
.f-note { font-size: 12px; color: var(--muted); }
.empty { background: #fff; border: 1px dashed var(--line-strong); border-radius: 16px; padding: 24px; text-align: center; color: var(--text-2); }
.loading { padding: 40px 0; text-align: center; color: var(--muted); }
.more { display: flex; justify-content: center; }
