:root {
  color-scheme: dark;
  --navy: #0b1525;
  --panel: #142238;
  --gold: #f7c779;
  --text: #f7f5ef;
  --muted: #bbc6d5;
  --border: #34425a;
  font: 16px/1.55 system-ui, sans-serif;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--navy); color: var(--text); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
[id] { scroll-margin-top: 90px; }
.wrap { width: min(90%, 1200px); margin-inline: auto; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #0b1525f5;
  border-bottom: 1px solid #ffffff16;
  backdrop-filter: blur(12px);
}
.brand { display: block; width: clamp(112px, 43vw, 220px); max-width: 100%; }
.brand img { display: block; width: 100%; height: auto; }
nav, .contact { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 32px); }
nav > a:hover, .contact > a:hover { color: var(--gold); }
.button, .outline {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  font-weight: 730;
}
.outline { border: 1px solid #ae8853; padding: 8px 13px; background: transparent; color: var(--gold); }
.outline:hover { background: #f7c77917; }
.button { border: 1px solid transparent; background: var(--gold); color: #151b24; padding: 13px 18px; }
.button:hover { background: #ffdaa0; }

.hero {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  align-items: center;
  gap: clamp(24px, 4vw, 62px);
  padding-block: clamp(22px, 5vw, 66px) 28px;
}
.eyebrow { margin: 0 0 18px; color: var(--gold); font-size: .76rem; font-weight: 780; letter-spacing: .14em; }
h1, h2 { margin: 0; font-family: Georgia, serif; font-weight: 500; line-height: 1.02; letter-spacing: -.052em; }
h1 { font-size: clamp(2.9rem, 5.75vw, 5.65rem); }
h1 em { color: var(--gold); }
h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.intro { max-width: 39ch; margin: 21px 0 25px; color: #dce5f0; font-size: clamp(1rem, 1.45vw, 1.15rem); }
.hero-photo {
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  min-height: clamp(290px, 36vw, 492px);
  border: 1px solid #f7c77949;
  border-radius: 20px;
  background: var(--panel);
}
.van { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 57% center; }
.driver {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px;
  padding: 8px 17px 8px 8px;
  border: 1px solid #f7c77964;
  border-radius: 50px;
  background: #0b1525f5;
}
.portrait {
  display: block;
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: #163a66 url("projekt-bdg.jpg") -15px -24px / 288px auto no-repeat;
}
.driver strong, .driver small { display: block; }
.driver strong { color: var(--gold); font-size: 1.03rem; }
.driver small { color: #e3e8ef; font-size: .79rem; }
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-block: 0;
  padding: 15px 18px;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  color: #e0e7ef;
  font-weight: 650;
}
.facts li { text-align: center; }
.facts li::before { content: "✓"; margin-right: .45em; color: var(--gold); }
.routes, .booking-grid { padding-block: clamp(42px, 6vw, 78px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head p, .note, footer p, .booking-copy p { color: var(--muted); }
.section-head p { margin: 0; }
.route-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.route-grid button {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: clamp(12px, 1.8vw, 22px);
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(155deg, #1b2a41, #111c2e);
  color: var(--text);
  font-weight: 670;
}
.route-grid button:hover, .route-grid button[aria-pressed="true"] { border-color: #d1a762; }
.route-grid strong {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-top: 1px solid #ffffff22;
  padding-top: 12px;
  font-size: 1.4rem;
  color: var(--gold);
}
.route-grid strong span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #f7c77945;
  border-radius: 50%;
  font-size: 1rem;
}
details { padding-block: 12px; border-block: 1px solid var(--border); }
details p { max-width: 78ch; margin-bottom: 3px; }
summary { color: var(--gold); }
.booking { border-block: 1px solid var(--border); background: #111e30; }
.booking-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(22px, 6vw, 85px); }
.booking-copy p { max-width: 36ch; }
form { padding: clamp(16px, 4vw, 34px); border: 1px solid var(--border); border-radius: 16px; background: var(--navy); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wide { grid-column: 1 / -1; }
label { display: grid; align-content: start; gap: 5px; min-width: 0; font-size: .9rem; }
input, select, textarea { width: 100%; min-width: 0; padding: 9px; border: 1px solid var(--border); border-radius: 6px; background: var(--panel); color: var(--text); }
.checkbox { display: flex; align-items: center; gap: 10px; }
.checkbox input { width: 17px; height: 17px; margin: 0; accent-color: var(--gold); }
textarea { resize: vertical; }
.quote {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-block: 18px 14px;
  border: 1px solid #f7c77950;
  border-radius: 9px;
  padding: 12px 14px;
  background: #f7c7790c;
}
.quote small { display: block; color: var(--muted); }
output { color: var(--gold); font-weight: 780; font-size: 1.5rem; white-space: nowrap; }
form > .button { width: 100%; }
#result { margin-top: 18px; }
.result-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin-top: 10px; }
#status:empty { display: none; }
footer { padding-block: 20px; }
footer p { margin: 3px 0 0; font-size: .88rem; }
.contact { flex-wrap: wrap; gap: 11px; }
.contact a { white-space: nowrap; }
@media (max-width: 760px) {
  .bar { min-height: 62px; }
  .hero, .booking-grid { grid-template-columns: 1fr; }
  .hero-photo { min-height: clamp(260px, 63vw, 470px); }
  .route-grid, .facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  nav > a:not(.outline) { display: none; }
}
@media (max-width: 515px) {
  .section-head { display: grid; }
  .facts { font-size: .83rem; padding-inline: 8px; }
  footer.bar { align-items: start; flex-direction: column; }
}
@media (max-width: 360px) {
  .fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}

.shared-trips { display: grid; gap: 12px; padding: 0; list-style: none; }
.shared-trips li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
}
.shared-trips p { margin: 3px 0 0; color: var(--muted); }
.managed-trip-list { display: grid; gap: 10px; padding: 0; list-style: none; }

.quote[hidden] { display: none; }

#pickup-address-field[hidden] { display: none; }

#pickup-note:not([hidden]) { display: block; margin-top: 6px; }

.fleet-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fleet-list li {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
}
.fleet-list strong { color: var(--gold); }
.fleet-list span { color: var(--muted); }

.transfer-types li { align-content: start; gap: 10px; }
.transfer-types h3, .transfer-types p { margin: 0; }
.transfer-types h3 { color: var(--gold); }
.transfer-types p { color: var(--muted); }
.transfer-types .outline { justify-self: start; }

.site-header .bar { flex-wrap: wrap; column-gap: 16px; row-gap: 4px; padding-block: 8px; }
.language-picker {
  display: flex;
  flex: 0 0 100%;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}
.language-picker button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 4px;
  background: transparent;
  color: var(--muted);
  font-size: .75rem;
}
.language-picker button:hover,
.language-picker button[aria-pressed="true"] { border-color: var(--gold); color: var(--text); }
.language-flag {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  background: url("language-flags.png") no-repeat 0 0 / 126px 12px;
}
[data-language="en"] .language-flag { background-position-x: -18px; }
[data-language="de"] .language-flag { background-position-x: -36px; }
[data-language="bg"] .language-flag { background-position-x: -54px; }
[data-language="fr"] .language-flag { background-position-x: -72px; }
[data-language="es"] .language-flag { background-position-x: -90px; }
[data-language="ko"] .language-flag { background-position-x: -108px; }
[id] { scroll-margin-top: 130px; }
@media (max-width: 510px) {
  .language-picker { justify-content: center; }
  .site-header .brand { width: clamp(112px, 36vw, 175px); }
}

.managed-trip-list > li {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow-wrap: anywhere;
}
.managed-trip-list p { margin: 10px 0 3px; color: var(--muted); }
.managed-trip-list ol { margin: 0; padding-inline-start: 1.5em; }

#pickup-planner, .pickup-stop {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 12px 0;
  padding: 12px;
}
#pickup-planner > label { margin-top: 12px; }
#schedule-hotels-field[hidden], #schedule-booked-field[hidden] { display: none; }

[data-stop-map][hidden] { display: none; }
.pickup-stop [data-stop-map] { margin-inline-end: 6px; }

#site-visits:not([hidden]) {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 0.5rem;
  padding-block-start: 0.35rem;
  font-size: 0.875rem;
}
#site-visits strong { font-variant-numeric: tabular-nums; }


.trip-direction { margin-block: 20px; }
.trip-direction-outbound { --trip-accent: #f6c777; }
.trip-direction-inbound { --trip-accent: #81d9eb; }
.trip-direction h3 { color: var(--trip-accent); }
.trip-direction .managed-trip-list > li {
  border-inline-start: 4px solid var(--trip-accent);
}
.trip-direction .managed-trip-list > li > button:first-child {
  color: var(--trip-accent);
  border-color: var(--trip-accent);
}

.route-order-warning { color: #ff9292; font-weight: 700; text-decoration: underline; }
