:root {
  color-scheme: light;
  --ink: #14211f;
  --muted: #62706b;
  --line: #dce5e0;
  --paper: #f5f7fb;
  --white: #ffffff;
  --green: #0f6f54;
  --green-dark: #084734;
  --gold: #e5a927;
  --coral: #d9664a;
  --cyan: #1f8fa3;
  --shadow: 0 24px 60px rgba(10, 34, 27, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 10px max(32px, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid rgba(20, 33, 31, 0.06);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(15, 30, 70, 0.06);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-dark);
  font-size: 1.45rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-size: 0.84rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.auth-actions,
.mobile-auth-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.language-control {
  position: relative;
  display: inline-block;
  width: auto;
}

.language-trigger {
  display: inline-flex;
  width: 46px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 2px solid rgba(15, 111, 84, 0.18);
  border-radius: 999px;
  padding: 0;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(10, 34, 27, 0.08);
  font-weight: 900;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.language-trigger:hover,
.language-control.is-open .language-trigger {
  border-color: rgba(15, 111, 84, 0.42);
  box-shadow: 0 14px 30px rgba(10, 34, 27, 0.12);
}

.active-flag,
.language-btn img {
  width: 24px;
  height: 17px;
  flex: 0 0 auto;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(10, 34, 27, 0.12);
}

.language-chevron {
  font-size: 0.78rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.language-control.is-open .language-chevron {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(15, 111, 84, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 50px rgba(10, 34, 27, 0.16);
}

.language-control.is-open .language-menu {
  display: flex;
  gap: 4px;
}

.language-btn {
  display: inline-flex;
  width: 42px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  padding: 0;
  color: var(--green-dark);
  background: transparent;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.language-btn:hover {
  background: rgba(15, 111, 84, 0.08);
}

.language-btn.is-active {
  color: var(--green-dark);
  background: rgba(15, 111, 84, 0.12);
}

.desktop-nav a,
.mobile-nav a {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--green-dark);
  font-weight: 650;
}

.auth-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(15, 111, 84, 0.72);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--green-dark);
  background: transparent;
  font-weight: 850;
  cursor: pointer;
}

.auth-link:hover {
  background: rgba(15, 111, 84, 0.08);
}

.icon-auth-link {
  width: 46px;
  padding: 0;
}

.icon-auth-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-primary {
  border-color: var(--green);
  color: var(--white);
  background: var(--green);
}

.auth-primary:hover {
  background: var(--green-dark);
}

.auth-user {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0 14px 0 8px;
  color: var(--green-dark);
  background: rgba(15, 111, 84, 0.1);
  font-weight: 850;
}

.auth-avatar {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.86);
}

.auth-logout {
  font-family: inherit;
}

.welcome-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 34, 27, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.welcome-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.welcome-card {
  display: grid;
  width: min(420px, 100%);
  justify-items: center;
  gap: 16px;
  border-radius: 8px;
  padding: 30px 24px 24px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 30px 80px rgba(10, 34, 27, 0.24);
  text-align: center;
  transform: translateY(10px) scale(0.98);
  transition: transform 180ms ease;
}

.welcome-modal.is-visible .welcome-card {
  transform: translateY(0) scale(1);
}

.welcome-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 5px rgba(15, 111, 84, 0.12),
    0 14px 34px rgba(10, 34, 27, 0.18);
}

.welcome-card h2 {
  margin: 0;
  color: var(--green-dark);
  font-size: 1.55rem;
  letter-spacing: 0;
}

.welcome-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.6;
}

.welcome-card .btn {
  min-height: 46px;
  padding: 0 22px;
}

.welcome-confetti {
  position: fixed;
  z-index: 101;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.welcome-confetti span {
  position: absolute;
  top: -14px;
  left: var(--x);
  width: 8px;
  height: 14px;
  border-radius: 2px;
  opacity: 0.9;
  transform: rotate(var(--rotate));
  animation: confetti-fall var(--duration) ease-in var(--delay) forwards;
}

@keyframes confetti-fall {
  to {
    transform: translate3d(-24px, 110vh, 0) rotate(720deg);
    opacity: 0;
  }
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  background: rgba(15, 111, 84, 0.1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.mobile-nav {
  position: fixed;
  z-index: 19;
  top: 92px;
  left: 16px;
  right: 16px;
  display: none;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 10px;
}

.mobile-nav.is-open {
  display: grid;
}

.mobile-auth-actions {
  display: none;
}

.top-search {
  position: sticky;
  z-index: 18;
  top: 72px;
  display: block;
  width: 100%;
  padding: 12px max(32px, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid rgba(15, 111, 84, 0.12);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 28px rgba(10, 34, 27, 0.08);
}

.top-search-form {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 150px;
  overflow: hidden;
  border: 2px solid var(--green);
  border-radius: 8px;
  background: var(--white);
}

.top-search-form input {
  min-height: 54px;
  padding: 0 22px;
}

.top-search-form .search {
  min-height: 54px;
  border-radius: 0;
}

.icon-search-submit svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-hero {
  padding: 26px 0 18px;
  background: var(--paper);
}

.hero-grid {
  display: grid;
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: center;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 44px;
  min-height: 420px;
}

.hero-photo {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  aspect-ratio: 16 / 9.2;
  background: #d7e0e4;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(4rem, 12vw, 8.8rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.home-hero h1 {
  max-width: 650px;
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(2.7rem, 5.1vw, 5rem);
  line-height: 1.03;
  font-weight: 900;
}

html[lang="de"] .home-hero h1 {
  max-width: 700px;
  font-size: clamp(2.35rem, 4.45vw, 4.45rem);
  line-height: 1.06;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.hero-actions,
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary,
.btn.search {
  color: var(--white);
  background: var(--green);
}

.btn.primary:hover,
.btn.search:hover {
  background: var(--green-dark);
}

.btn.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
}

.booking-band {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.booking-panel {
  padding: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
}

.mode-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.mode-card {
  position: relative;
  display: grid;
  min-height: 96px;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--green-dark);
  background: var(--white);
  font-weight: 850;
  cursor: pointer;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.mode-card:hover {
  color: var(--green);
  background: var(--white);
}

.mode-card.active {
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 18px 38px rgba(15, 111, 84, 0.22);
}

.mode-card svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mode-card small {
  position: absolute;
  top: -6px;
  right: -6px;
  border-radius: 5px;
  padding: 3px 6px;
  color: var(--white);
  background: var(--green);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mode-card.active small {
  color: var(--green);
  background: var(--white);
}

.mode-card .moto-icon {
  width: 32px;
  height: 32px;
  stroke-width: 2.8;
}

.search-form {
  display: grid;
  grid-template-columns: 1.18fr 1.18fr 0.72fr 0.68fr 1.25fr 150px;
  overflow: hidden;
  gap: 0;
  border: 2px solid var(--green);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(10, 34, 27, 0.12);
}

label {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.search-form label {
  min-height: 70px;
  justify-content: center;
  padding: 10px 14px;
  border-right: 1px solid #edf0f6;
}

input,
select {
  width: 100%;
  min-height: 28px;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  outline: none;
  font-weight: 850;
}

input:focus,
select:focus {
  box-shadow: none;
}

.search {
  align-self: end;
  width: 100%;
  min-height: 70px;
  border-radius: 0;
}

.housing-toggle {
  display: inline-flex;
  width: fit-content;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--green-dark);
  font-size: 1rem;
}

.housing-toggle input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--green);
}

.availability {
  width: min(1320px, calc(100% - 64px));
  margin: 34px auto 0;
  padding: 28px;
  border: 1px solid rgba(15, 111, 84, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(10, 34, 27, 0.08);
}

.availability-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 18px;
  align-items: end;
}

.availability-heading h2 {
  color: var(--green-dark);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1;
}

.availability-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-chip {
  min-height: 38px;
  border: 1px solid rgba(15, 111, 84, 0.2);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--green-dark);
  background: #f9fbfa;
  font-size: 0.88rem;
  font-weight: 850;
  cursor: pointer;
}

.filter-chip:hover,
.filter-chip.active {
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
}

.service-card-action {
  display: grid;
  align-content: start;
}

.result-summary {
  margin-top: 16px;
  color: var(--muted);
  font-weight: 760;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.result-card {
  display: grid;
  gap: 14px;
  min-height: 360px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
}

.result-media {
  position: relative;
  overflow: hidden;
  margin: -20px -20px 2px;
  border-radius: 8px 8px 0 0;
  aspect-ratio: 16 / 8.4;
  background: #dfe8e5;
}

.result-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.result-card:hover .result-media img {
  transform: scale(1.035);
}

.result-media span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--white);
  background: rgba(8, 71, 52, 0.88);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.result-card-top,
.result-details,
.result-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.result-type {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--green-dark);
  background: rgba(15, 111, 84, 0.1);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.favorite-btn {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(15, 111, 84, 0.16);
  border-radius: 999px;
  color: var(--muted);
  background: var(--white);
  cursor: pointer;
}

.favorite-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.favorite-btn.is-active {
  color: var(--coral);
  border-color: rgba(217, 102, 74, 0.24);
  background: rgba(217, 102, 74, 0.08);
}

.favorite-btn.is-active svg {
  fill: currentColor;
}

.result-card h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: 1.18rem;
}

.result-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.result-details {
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 850;
}

.result-details strong {
  color: var(--green-dark);
}

.result-meta {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.result-actions span {
  color: var(--cyan);
  font-size: 0.84rem;
  font-weight: 900;
}

.btn.mini {
  min-height: 38px;
  border-color: var(--green);
  padding: 0 14px;
  color: var(--white);
  background: var(--green);
  font-size: 0.88rem;
}

.section,
.trust-band,
.metrics,
.cta,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.intro {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 54px;
  align-items: end;
}

.intro > p,
.trust-content p,
.cta p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.04rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card p,
.steps p {
  color: var(--muted);
  line-height: 1.65;
}

.icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-size: 1.3rem;
  font-weight: 800;
}

.service-card:nth-child(2) .icon,
.service-card:nth-child(5) .icon {
  background: var(--coral);
}

.service-card:nth-child(3) .icon,
.service-card:nth-child(6) .icon {
  background: var(--cyan);
}

.service-card:nth-child(4) .icon,
.service-card:nth-child(7) .icon {
  background: var(--gold);
}

.trust-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: center;
  padding: 58px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
}

.trust-content p {
  color: rgba(255, 255, 255, 0.72);
}

.trust-list {
  display: grid;
  gap: 12px;
}

.trust-list div {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.trust-list span {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.steps article {
  padding-top: 20px;
  border-top: 2px solid var(--line);
}

.steps span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--coral);
  font-weight: 900;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(10, 34, 27, 0.08);
}

.metrics div {
  display: grid;
  gap: 5px;
  padding: 32px;
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  font-size: 2.7rem;
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-weight: 700;
}

.cta {
  justify-content: space-between;
  gap: 28px;
  padding: 100px 0;
}

.cta > div {
  max-width: 720px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 1.35fr) auto;
  align-items: center;
  gap: 24px;
  padding: 32px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 650;
}

.footer-brand {
  display: grid;
  gap: 12px;
}

.footer-brand .brand {
  width: fit-content;
  font-size: 1.15rem;
}

.footer-brand .brand-mark {
  width: 34px;
  height: 34px;
  font-size: 0.72rem;
}

.footer-brand p,
.footer-contact {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-style: normal;
}

.footer-contact a {
  color: var(--green-dark);
  font-weight: 800;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.footer-social button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(15, 111, 84, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(10, 34, 27, 0.06);
  cursor: pointer;
}

.footer-social button:hover {
  border-color: rgba(15, 111, 84, 0.34);
  transform: translateY(-1px);
}

.footer-social img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.auth-page {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 80% 14%, rgba(31, 143, 163, 0.12), transparent 26%),
    linear-gradient(135deg, #f8faf7 0%, #eaf3ee 48%, #ffffff 100%);
}

.ticket-page {
  min-height: 100vh;
  background: var(--paper);
}

.ticket-shell {
  width: min(1220px, calc(100% - 64px));
  margin: 0 auto;
  padding: 42px 0 80px;
}

.ticket-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1.18fr);
  gap: 42px;
  align-items: center;
}

.ticket-hero h1 {
  max-width: 520px;
  margin: 18px 0;
  color: var(--green-dark);
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  line-height: 0.92;
}

.ticket-hero p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.ticket-hero figure {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  background: #dfe8e5;
}

.ticket-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ticket-booking {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.48fr);
  gap: 18px;
  margin-top: 34px;
}

.ticket-form,
.ticket-summary {
  border: 1px solid rgba(15, 111, 84, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(10, 34, 27, 0.08);
}

.ticket-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 26px;
}

.ticket-form label {
  gap: 8px;
  color: #36524b;
  font-size: 0.82rem;
}

.ticket-form input,
.ticket-form select {
  min-height: 56px;
  border: 1px solid rgba(15, 111, 84, 0.18);
  border-radius: 8px;
  padding: 0 16px;
  background: #fbfdfb;
  font-weight: 800;
}

.comfort-options {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  border: 0;
  padding: 0;
}

.comfort-options legend {
  grid-column: 1 / -1;
  margin-bottom: 8px;
  color: #36524b;
  font-size: 0.82rem;
  font-weight: 800;
}

.comfort-options label {
  display: flex;
  min-height: 86px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(15, 111, 84, 0.16);
  border-radius: 8px;
  padding: 14px;
  background: #fbfdfb;
}

.comfort-options input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--green);
}

.comfort-options strong,
.comfort-options small {
  display: block;
}

.comfort-options small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.ticket-summary {
  align-self: start;
  padding: 26px;
}

.ticket-summary h2 {
  margin-bottom: 22px;
  color: var(--green-dark);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
}

.ticket-summary dl {
  display: grid;
  gap: 0;
  margin: 0 0 22px;
}

.ticket-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.ticket-summary dt {
  color: var(--muted);
  font-weight: 760;
}

.ticket-summary dd {
  margin: 0;
  color: var(--green-dark);
  font-weight: 900;
  text-align: right;
}

.ticket-submit {
  width: 100%;
}

.payment-phone-field small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.45;
}

.payment-networks {
  display: flex;
  min-height: 82px;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(15, 111, 84, 0.16);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fbfdfb;
}

.payment-networks > span {
  border-radius: 999px;
  padding: 7px 10px;
  color: #173b31;
  background: #ffd52f;
  font-size: 0.75rem;
  font-weight: 900;
}

.payment-networks > span:nth-child(2) {
  color: #fff;
  background: #f47b20;
}

.payment-networks small {
  width: 100%;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.payment-networks small.is-demo {
  color: #9a5b00;
}

.ticket-submit:disabled {
  cursor: wait;
  filter: saturate(0.72);
  opacity: 0.78;
}

.payment-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 650;
  line-height: 1.5;
  text-align: center;
}

.payment-status {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  border: 1px solid rgba(15, 111, 84, 0.18);
  border-radius: 8px;
  padding: 15px;
  color: var(--green-dark);
  background: rgba(15, 111, 84, 0.07);
}

.payment-status[hidden] {
  display: none;
}

.payment-status strong,
.payment-status span,
.payment-status small {
  display: block;
}

.payment-status span {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
}

.payment-status small {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.7rem;
}

.payment-status.is-success {
  border-color: rgba(15, 111, 84, 0.34);
  background: rgba(15, 111, 84, 0.12);
}

.payment-status.is-error {
  border-color: rgba(184, 56, 44, 0.28);
  color: #8c2f26;
  background: rgba(184, 56, 44, 0.08);
}

.payment-status.is-warning {
  border-color: rgba(229, 169, 39, 0.4);
  color: #845b00;
  background: rgba(229, 169, 39, 0.12);
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1.08fr);
}

.auth-visual {
  position: relative;
  display: grid;
  min-height: 100vh;
  align-content: space-between;
  overflow: hidden;
  padding: 34px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(8, 31, 25, 0.08), rgba(8, 31, 25, 0.74)),
    url("assets/afrikcar-hero.png") center / cover;
}

.auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 71, 52, 0.86), rgba(20, 33, 31, 0.28));
}

.signup-visual::after {
  background: linear-gradient(135deg, rgba(31, 143, 163, 0.82), rgba(8, 71, 52, 0.38));
}

.auth-brand,
.auth-visual-content {
  position: relative;
  z-index: 1;
}

.auth-brand {
  width: fit-content;
}

.auth-visual-content {
  max-width: 560px;
}

.auth-visual h1 {
  max-width: 520px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  line-height: 0.9;
}

.auth-visual p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.75;
}

.auth-panel {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 38px;
}

.auth-card {
  width: min(100%, 540px);
  padding: 42px;
  border: 1px solid rgba(15, 111, 84, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 70px rgba(10, 34, 27, 0.14);
  backdrop-filter: blur(18px);
}

.auth-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 850;
}

.back-link::before {
  content: "<";
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(15, 111, 84, 0.22);
  border-radius: 999px;
}

.auth-heading {
  margin-bottom: 30px;
}

.auth-heading h2 {
  color: var(--green-dark);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.02;
}

.social-auth {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.social-btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(15, 111, 84, 0.16);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--green-dark);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(10, 34, 27, 0.06);
  font-weight: 850;
  cursor: pointer;
}

.social-btn:hover {
  border-color: rgba(15, 111, 84, 0.34);
  background: #fbfdfb;
}

.social-logo {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  object-fit: contain;
}

.auth-divider {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.auth-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(15, 111, 84, 0.14);
}

.auth-divider span {
  position: relative;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.94);
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-message {
  display: none;
  margin: 0;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
}

.auth-message.is-visible {
  display: block;
}

.auth-message.is-error {
  color: #8f1f1f;
  background: #fff1f1;
  border: 1px solid rgba(143, 31, 31, 0.18);
}

.auth-message.is-success {
  color: #0f6f54;
  background: #edfbf5;
  border: 1px solid rgba(15, 111, 84, 0.18);
}

.split-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.form-row a,
.auth-switch a {
  color: var(--green);
  font-weight: 850;
}

.auth-form label:not(.check-label) {
  gap: 8px;
  color: #36524b;
  font-size: 0.82rem;
}

.auth-form input,
.auth-form select {
  min-height: 56px;
  border: 1px solid rgba(15, 111, 84, 0.18);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  background: #fbfdfb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

.auth-form input::placeholder {
  color: #8a9893;
  font-weight: 650;
}

.auth-form input:focus,
.auth-form select:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(15, 111, 84, 0.12);
}

.check-label {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 8px;
}

.check-label input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--green);
}

.auth-submit {
  width: 100%;
  min-height: 58px;
  margin-top: 8px;
  box-shadow: 0 16px 34px rgba(15, 111, 84, 0.22);
}

.auth-switch {
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(15, 111, 84, 0.12);
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

@media (max-width: 620px) {
  .site-header {
    padding: 10px 16px;
  }

  .top-search {
    top: 72px;
    padding: 10px 16px;
  }

  .desktop-nav {
    display: none;
  }

  .auth-actions {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .home-hero {
    padding-top: 20px;
  }

  .hero-grid {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-copy {
    min-height: auto;
    gap: 26px;
  }

  .hero-photo {
    aspect-ratio: 16 / 10;
    order: -1;
  }

  .search-form,
  .intro,
  .trust-band {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-band {
    width: calc(100% - 32px);
  }

  .availability {
    width: calc(100% - 32px);
    padding: 22px;
  }

  .availability-heading,
  .results-grid,
  .ticket-hero,
  .ticket-booking {
    grid-template-columns: 1fr;
  }

  .availability-tools {
    justify-content: flex-start;
  }

  .search-form {
    overflow: visible;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 0;
    gap: 10px;
    background: transparent;
    box-shadow: none;
  }

  .search-form label,
  .search {
    min-height: 60px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
  }

  .search-form label {
    border-right: 1px solid var(--line);
  }

  .search {
    grid-column: 1 / -1;
  }

  .trust-band {
    padding: 34px;
  }

  .mobile-auth-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px 4px 2px;
  }

  .mobile-auth-actions .auth-link {
    width: 100%;
  }

  .mobile-auth-actions .icon-auth-link {
    width: 100%;
  }

  .mobile-auth-actions .language-control {
    grid-column: 1 / -1;
    width: auto;
  }

  .mobile-auth-actions .language-trigger {
    width: 46px;
  }

  .mobile-auth-actions .language-menu {
    left: 0;
    right: auto;
    width: max-content;
  }

  .mobile-auth-actions .search-toggle {
    grid-column: 1 / -1;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .ticket-shell {
    width: calc(100% - 32px);
    padding-top: 28px;
  }

  .ticket-form {
    grid-template-columns: 1fr;
  }

  .comfort-options {
    grid-template-columns: 1fr;
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    min-height: 420px;
  }

  .auth-panel {
    min-height: auto;
    padding: 28px 16px 42px;
  }

  .social-auth {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    min-height: 66px;
    gap: 10px;
    padding: 10px 14px;
  }

  .top-search {
    top: 66px;
    padding: 10px 14px;
  }

  .top-search-form {
    grid-template-columns: 1fr;
    border-radius: 8px;
  }

  .top-search-form input {
    min-height: 50px;
    padding: 0 14px;
  }

  .top-search-form .search {
    min-height: 50px;
    border-radius: 0;
  }

  .auth-card {
    max-width: 100%;
  }

  .auth-top-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .auth-top-row .language-control {
    justify-self: start;
    width: auto;
  }

  .auth-top-row .language-trigger {
    width: 46px;
  }

  .auth-top-row .language-menu {
    left: 0;
    right: auto;
    width: max-content;
  }

  .mobile-nav {
    top: 70px;
    left: 10px;
    right: 10px;
    max-height: calc(100vh - 86px);
    overflow-y: auto;
  }

  .hero-grid {
    width: calc(100% - 28px);
    gap: 18px;
  }

  .home-hero h1 {
    font-size: clamp(2.05rem, 10.5vw, 3.35rem);
    line-height: 1.05;
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 2.65rem);
    line-height: 1.08;
  }

  .hero-copy {
    gap: 20px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-photo {
    aspect-ratio: 4 / 3;
  }

  .cta {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .booking-band,
  .availability,
  .ticket-shell,
  .section,
  .trust-band,
  .metrics,
  .cta,
  .site-footer {
    width: calc(100% - 28px);
  }

  .booking-band {
    margin-top: 0;
  }

  .mode-switcher {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mode-card {
    min-height: 76px;
    font-size: 0.92rem;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .service-grid,
  .steps,
  .metrics {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics div:last-child {
    border-bottom: 0;
  }

  .site-footer {
    gap: 18px;
    padding-bottom: 28px;
  }

  .footer-social {
    width: 100%;
  }

  .auth-visual {
    min-height: 280px;
    padding: 22px;
  }

  .auth-visual h1 {
    font-size: clamp(2.35rem, 14vw, 3.6rem);
    line-height: 1.02;
  }

  .auth-card {
    padding: 22px;
  }

  .split-fields,
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-row {
    display: grid;
    align-items: start;
  }

  .social-btn {
    min-width: 0;
    padding: 0 12px;
  }

  .ticket-hero h1 {
    font-size: clamp(2.2rem, 13vw, 3.6rem);
    line-height: 1.02;
  }

  .ticket-hero figure {
    min-height: 220px;
  }

  .ticket-summary,
  .ticket-form {
    padding: 22px;
  }
}

@media (max-width: 380px) {
  .brand span:last-child,
  .auth-user span {
    max-width: 128px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-hero h1 {
    font-size: clamp(1.9rem, 10vw, 2.6rem);
  }

  .auth-card,
  .ticket-summary,
  .ticket-form,
  .availability {
    padding: 18px;
  }
}

/* Expérience mobile compacte et tactile */
@media (max-width: 880px) {
  .ticket-page .auth-actions {
    display: flex;
  }

  .ticket-page .auth-actions .auth-link:first-child {
    display: none;
  }
}

@media (max-width: 620px) {
  :root {
    --shadow: 0 20px 50px rgba(10, 34, 27, 0.16);
  }

  html {
    scroll-padding-top: 82px;
  }

  body {
    background: #f6f8f7;
  }

  button,
  a,
  input,
  select {
    -webkit-tap-highlight-color: transparent;
  }

  button:focus-visible,
  a:focus-visible,
  input:focus-visible,
  select:focus-visible {
    outline: 3px solid rgba(229, 169, 39, 0.72);
    outline-offset: 3px;
  }

  body.menu-open::before {
    content: "";
    position: fixed;
    z-index: 28;
    inset: 0;
    background: rgba(8, 35, 28, 0.5);
    backdrop-filter: blur(3px);
  }

  .site-header {
    z-index: 40;
    min-height: 66px;
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
    border-bottom-color: rgba(15, 111, 84, 0.1);
    box-shadow: 0 8px 28px rgba(10, 34, 27, 0.09);
  }

  .brand {
    gap: 9px;
    font-size: 1.22rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    box-shadow: 0 8px 20px rgba(15, 111, 84, 0.2);
  }

  .nav-toggle {
    position: relative;
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(15, 111, 84, 0.2);
  }

  .nav-toggle span {
    width: 19px;
    margin: 2.5px auto;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  body.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-nav {
    z-index: 39;
    top: calc(74px + env(safe-area-inset-top));
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    gap: 4px;
    max-height: calc(100svh - 90px - env(safe-area-inset-top));
    padding: 12px;
    border: 1px solid rgba(15, 111, 84, 0.12);
    border-radius: 22px;
    box-shadow: 0 28px 70px rgba(8, 45, 34, 0.24);
    animation: mobile-nav-in 180ms ease-out;
  }

  .mobile-nav > a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 0 14px;
    border-radius: 13px;
  }

  .mobile-auth-actions {
    margin-top: 5px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .mobile-auth-actions .language-control {
    margin-bottom: 4px;
  }

  .language-trigger,
  .auth-link,
  .footer-social button {
    min-height: 44px;
  }

  .top-search {
    position: relative;
    z-index: 2;
    top: auto;
    padding: 10px 14px 4px;
    border-bottom: 0;
    background: #f6f8f7;
    box-shadow: none;
  }

  .top-search-form {
    grid-template-columns: minmax(0, 1fr) 54px;
    border: 1px solid rgba(15, 111, 84, 0.16);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(10, 34, 27, 0.08);
  }

  .top-search-form input {
    min-width: 0;
    min-height: 52px;
    padding: 0 16px;
    font-size: 1rem;
  }

  .top-search-form .search {
    min-height: 52px;
    border-radius: 0 15px 15px 0;
    padding: 0;
  }

  .home-hero {
    padding: 18px 0 14px;
  }

  .hero-grid {
    width: calc(100% - 28px);
    gap: 18px;
  }

  .hero-copy {
    order: 0;
    gap: 22px;
  }

  .home-hero h1,
  html[lang="de"] .home-hero h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 10.8vw, 3.4rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
  }

  .hero-photo {
    order: 1;
    border-radius: 22px;
    aspect-ratio: 16 / 10;
    box-shadow: 0 18px 44px rgba(10, 34, 27, 0.14);
  }

  .mode-switcher {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 106px;
    gap: 10px;
    margin-inline: -14px;
    padding: 2px 14px 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .mode-switcher::-webkit-scrollbar,
  .availability-tools::-webkit-scrollbar,
  .service-grid::-webkit-scrollbar,
  .steps::-webkit-scrollbar,
  .metrics::-webkit-scrollbar {
    display: none;
  }

  .mode-card {
    min-height: 88px;
    scroll-snap-align: start;
    border-color: rgba(15, 111, 84, 0.1);
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(10, 34, 27, 0.07);
    font-size: 0.78rem;
  }

  .mode-card svg {
    width: 26px;
    height: 26px;
  }

  .mode-card.active {
    box-shadow: 0 12px 28px rgba(15, 111, 84, 0.24);
  }

  .booking-band {
    width: calc(100% - 28px);
    margin-top: 4px;
  }

  .search-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(15, 111, 84, 0.1);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 16px 40px rgba(10, 34, 27, 0.1);
  }

  .search-form label {
    min-width: 0;
    min-height: 66px;
    justify-content: center;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f9fbfa;
  }

  .search-form label:nth-of-type(1),
  .search-form label:nth-of-type(2),
  .search-form label:nth-of-type(5) {
    grid-column: 1 / -1;
  }

  .search-form input,
  .search-form select {
    min-width: 0;
    font-size: 1rem;
  }

  .search-form .search {
    grid-column: 1 / -1;
    min-height: 54px;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(15, 111, 84, 0.2);
  }

  .housing-toggle {
    min-height: 44px;
    margin-top: 10px;
    padding: 0 4px;
    font-size: 0.9rem;
  }

  .availability {
    width: calc(100% - 28px);
    margin-top: 24px;
    padding: 20px;
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(10, 34, 27, 0.08);
  }

  .availability-heading {
    gap: 16px;
  }

  .availability-heading h2 {
    font-size: clamp(1.8rem, 9vw, 2.45rem);
    letter-spacing: -0.035em;
  }

  .availability-tools {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    margin-inline: -20px;
    padding-inline: 20px;
    overflow-x: auto;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
  }

  .filter-chip {
    min-height: 42px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .results-grid {
    gap: 16px;
  }

  .result-card {
    min-height: 0;
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(10, 34, 27, 0.06);
  }

  .result-media {
    margin: -16px -16px 2px;
    border-radius: 20px 20px 0 0;
    aspect-ratio: 16 / 9;
  }

  .favorite-btn {
    width: 44px;
    height: 44px;
  }

  .result-actions .btn {
    width: auto;
    min-height: 44px;
  }

  .section-kicker {
    margin-bottom: 9px;
    letter-spacing: 0.08em;
  }

  h2 {
    letter-spacing: -0.04em;
  }

  .section {
    padding: 56px 0;
  }

  .intro {
    gap: 22px;
  }

  .intro > p,
  .trust-content p,
  .cta p {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .service-grid,
  .steps {
    display: flex;
    gap: 12px;
    margin-inline: -14px;
    padding: 2px 14px 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .service-card {
    min-height: 232px;
    flex: 0 0 min(82vw, 320px);
    scroll-snap-align: start;
    padding: 22px;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(10, 34, 27, 0.06);
  }

  .service-card .icon {
    margin-bottom: 22px;
    border-radius: 13px;
  }

  .trust-band {
    width: calc(100% - 28px);
    gap: 24px;
    padding: 24px 20px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(10, 34, 27, 0.16);
  }

  .trust-list div {
    padding: 18px;
    border-radius: 16px;
  }

  .steps article {
    min-height: 205px;
    flex: 0 0 min(76vw, 290px);
    scroll-snap-align: start;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(10, 34, 27, 0.05);
  }

  .steps span {
    margin-bottom: 20px;
  }

  .metrics {
    display: grid;
    width: calc(100% - 28px);
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    overflow-x: auto;
    border-radius: 20px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .metrics div {
    min-height: 128px;
    align-content: center;
    scroll-snap-align: start;
    padding: 22px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .metrics strong {
    font-size: 2.15rem;
  }

  .cta {
    gap: 22px;
    padding: 58px 0;
  }

  .site-footer {
    padding-bottom: max(30px, env(safe-area-inset-bottom));
  }

  .footer-social {
    gap: 12px;
  }

  .footer-social button {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .auth-shell {
    display: block;
  }

  .auth-visual {
    min-height: 238px;
    padding: 20px 18px 54px;
    background-position: center 34%;
  }

  .auth-visual h1 {
    margin-bottom: 0;
    font-size: clamp(2.3rem, 12vw, 3.25rem);
    letter-spacing: -0.045em;
  }

  .auth-visual-content > p:last-child {
    display: none;
  }

  .auth-panel {
    position: relative;
    z-index: 2;
    margin-top: -34px;
    padding: 0 14px max(36px, env(safe-area-inset-bottom));
  }

  .auth-card {
    padding: 22px 18px;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(10, 34, 27, 0.16);
  }

  .auth-top-row {
    display: flex;
    grid-template-columns: none;
    margin-bottom: 24px;
  }

  .auth-heading {
    margin-bottom: 24px;
  }

  .auth-form input,
  .auth-form select,
  .ticket-form input,
  .ticket-form select {
    min-width: 0;
    min-height: 54px;
    border-radius: 14px;
    font-size: 1rem;
  }

  .social-btn {
    min-height: 52px;
    border-radius: 14px;
  }

  .auth-submit {
    min-height: 56px;
    border-radius: 14px;
  }

  .ticket-page .site-header .auth-primary {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.86rem;
  }

  .ticket-shell {
    width: calc(100% - 28px);
    padding: 24px 0 48px;
  }

  .ticket-hero {
    gap: 22px;
  }

  .ticket-hero h1 {
    margin: 14px 0 12px;
    font-size: clamp(2.35rem, 12vw, 3.5rem);
    letter-spacing: -0.045em;
  }

  .ticket-hero p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .ticket-hero figure {
    min-height: 0;
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(10, 34, 27, 0.12);
  }

  .ticket-booking {
    gap: 14px;
    margin-top: 24px;
  }

  .ticket-form,
  .ticket-summary {
    padding: 20px;
    border-radius: 22px;
  }

  .ticket-form {
    gap: 15px;
  }

  .comfort-options label {
    min-height: 78px;
    border-radius: 14px;
  }

  .ticket-summary h2 {
    font-size: clamp(1.75rem, 8.8vw, 2.4rem);
    letter-spacing: -0.035em;
  }

  .ticket-submit {
    min-height: 54px;
    border-radius: 14px;
  }
}

@media (max-width: 400px) {
  .home-hero h1,
  html[lang="de"] .home-hero h1 {
    font-size: clamp(2rem, 10.5vw, 2.75rem);
  }

  .search-form label:nth-of-type(3),
  .search-form label:nth-of-type(4) {
    grid-column: 1 / -1;
  }

  .availability,
  .trust-band,
  .ticket-form,
  .ticket-summary {
    padding: 18px;
  }

  .availability-tools {
    margin-inline: -18px;
    padding-inline: 18px;
  }

  .result-details,
  .result-actions {
    align-items: flex-start;
  }

  .ticket-summary dl div {
    align-items: flex-start;
  }
}

@keyframes mobile-nav-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* AfrikCar Experience 2026 */
:root {
  --surface-soft: #edf5f1;
  --surface-warm: #fff8e9;
  --hero-glow: rgba(229, 169, 39, 0.2);
  --accent: #e5a927;
}

html[data-theme="night"] {
  color-scheme: dark;
  --ink: #f3f7f5;
  --muted: #a9bab4;
  --line: #29443c;
  --paper: #071b16;
  --white: #102a23;
  --green: #2fc895;
  --green-dark: #c6f8e6;
  --gold: #ffc857;
  --surface-soft: #0c241e;
  --surface-warm: #2b2414;
  --hero-glow: rgba(47, 200, 149, 0.16);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

html[data-theme="sunset"] {
  --ink: #342219;
  --muted: #765e50;
  --line: #ead9c8;
  --paper: #fff8ef;
  --white: #fffdf9;
  --green: #bf563e;
  --green-dark: #68372b;
  --gold: #d99318;
  --coral: #d95036;
  --cyan: #477f86;
  --surface-soft: #f8e9dc;
  --surface-warm: #fff0cd;
  --hero-glow: rgba(217, 147, 24, 0.22);
}

body,
.site-header,
.top-search,
.mobile-nav,
.availability,
.service-card,
.result-card,
.auth-card,
.ticket-form,
.ticket-summary {
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.theme-trigger {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(15, 111, 84, 0.16);
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(10, 34, 27, 0.07);
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.theme-trigger:hover {
  transform: rotate(12deg) scale(1.04);
  background: var(--surface-soft);
}

.theme-trigger-mobile {
  display: none;
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 30px;
  background:
    radial-gradient(circle at 11% 18%, var(--hero-glow), transparent 30%),
    linear-gradient(180deg, var(--paper), var(--surface-soft));
}

.home-hero::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -100px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(15, 111, 84, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(15, 111, 84, 0.035), 0 0 0 76px rgba(15, 111, 84, 0.025);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  grid-template-columns: minmax(460px, 0.94fr) minmax(480px, 1.06fr);
  gap: 46px;
}

.hero-copy {
  gap: 28px;
  min-height: 610px;
}

.hero-intro {
  display: grid;
  gap: 18px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.home-hero h1,
html[lang="de"] .home-hero h1 {
  max-width: 680px;
  font-size: clamp(3.35rem, 5.3vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: -0.058em;
}

.home-hero h1 em {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hero-lead {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.72;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-cta-row .btn {
  min-height: 52px;
  border-radius: 999px;
}

.hero-primary {
  box-shadow: 0 16px 30px rgba(15, 111, 84, 0.22);
}

.hero-surprise {
  border-color: rgba(15, 111, 84, 0.2);
  color: var(--green-dark);
  background: var(--white);
}

.hero-surprise span {
  margin-right: 8px;
  color: var(--gold);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-proof span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-proof strong {
  color: var(--green-dark);
}

.hero-modes {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.hero-modes .mode-card {
  min-height: 84px;
  border-color: rgba(15, 111, 84, 0.08);
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(10, 34, 27, 0.055);
  font-size: 0.78rem;
}

.hero-photo {
  position: relative;
  align-self: stretch;
  min-height: 610px;
  border-radius: 30px;
  aspect-ratio: auto;
  box-shadow: 0 30px 70px rgba(8, 53, 40, 0.2);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(5, 30, 24, 0.34));
  pointer-events: none;
}

.hero-live-card,
.hero-price-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #123a2e;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(5, 30, 24, 0.18);
  backdrop-filter: blur(16px);
}

.hero-live-card {
  left: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  border-radius: 17px;
  padding: 13px 15px;
}

.hero-live-card span:last-child {
  display: grid;
  gap: 3px;
}

.hero-live-card small {
  color: #5d726b;
  font-size: 0.72rem;
}

.live-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #23b87e;
  box-shadow: 0 0 0 5px rgba(35, 184, 126, 0.13);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid #23b87e;
  border-radius: 50%;
  animation: live-pulse 1.8s ease-out infinite;
}

.hero-price-card {
  top: 24px;
  right: 24px;
  display: grid;
  justify-items: end;
  border-radius: 20px;
  padding: 14px 16px;
}

.hero-price-card span,
.hero-price-card small {
  color: #5d726b;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-price-card strong {
  color: #0f6f54;
  font-size: 1.8rem;
  line-height: 1;
}

.experience-strip {
  display: grid;
  width: min(1320px, calc(100% - 64px));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 32px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(10, 34, 27, 0.07);
}

.experience-strip article {
  display: flex;
  min-height: 104px;
  align-items: center;
  gap: 14px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.experience-strip article:last-child {
  border-right: 0;
}

.experience-strip article > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: var(--surface-soft);
  font-size: 1.2rem;
}

.experience-strip article div {
  display: grid;
  gap: 5px;
}

.experience-strip small {
  color: var(--muted);
  line-height: 1.4;
}

.destination-section {
  width: min(1320px, calc(100% - 64px));
}

.destination-heading {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(300px, 0.6fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 34px;
}

.destination-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.destination-grid {
  display: grid;
  min-height: 560px;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 14px;
}

.destination-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border-radius: 24px;
  background: #14352d;
  box-shadow: 0 18px 44px rgba(10, 34, 27, 0.12);
}

.destination-large {
  grid-row: 1 / 3;
}

.destination-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(5, 26, 21, 0.84));
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.destination-card:hover img {
  transform: scale(1.055);
}

.destination-overlay {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px;
  color: #fff;
}

.destination-overlay > span {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.17);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.destination-overlay h3 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.7rem);
}

.destination-overlay p {
  margin: 7px 0 14px;
  color: rgba(255, 255, 255, 0.8);
}

.destination-overlay button {
  min-height: 40px;
  border: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  font-weight: 850;
  cursor: pointer;
}

.smart-planner {
  display: grid;
  width: min(1220px, calc(100% - 64px));
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
  padding: 54px;
  border: 1px solid rgba(15, 111, 84, 0.12);
  border-radius: 30px;
  background: linear-gradient(135deg, var(--white), var(--surface-soft));
  box-shadow: 0 24px 64px rgba(10, 34, 27, 0.1);
}

.planner-copy > p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.7;
}

.mood-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.mood-chip {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--green-dark);
  background: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.mood-chip.active {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.planner-demo {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border-radius: 26px;
  padding: 28px;
  color: #ecfff8;
  background:
    linear-gradient(145deg, rgba(8, 71, 52, 0.96), rgba(12, 36, 31, 0.96)),
    radial-gradient(circle at top right, rgba(229, 169, 39, 0.3), transparent 35%);
  box-shadow: 0 24px 60px rgba(8, 50, 38, 0.22);
}

.planner-demo::before,
.planner-demo::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.planner-demo::before { top: -80px; right: -60px; }
.planner-demo::after { top: -46px; right: -26px; }

.planner-route {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  font-weight: 850;
}

.planner-route i {
  height: 1px;
  background: linear-gradient(90deg, #ffc857 0 48%, transparent 48% 55%, #ffc857 55%);
}

.planner-vehicle {
  position: relative;
  z-index: 1;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  margin: 46px auto 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
  font-size: 2.7rem;
  transition: transform 280ms ease;
}

.planner-demo.is-updating .planner-vehicle {
  transform: translateX(18px) rotate(-4deg);
}

.planner-result {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.planner-result div {
  display: grid;
  gap: 5px;
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.planner-result small {
  color: rgba(236, 255, 248, 0.6);
  font-size: 0.66rem;
}

.planner-demo > .btn {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #ffc857;
  color: #14352d;
}

.live-journey {
  display: grid;
  width: min(1120px, calc(100% - 32px));
  grid-template-columns: 1fr 0.78fr;
  gap: 90px;
  align-items: center;
  margin: 50px auto;
  padding: 76px;
  border-radius: 34px;
  color: #f3fff9;
  background:
    radial-gradient(circle at 12% 10%, rgba(229, 169, 39, 0.22), transparent 28%),
    #0a2720;
  box-shadow: 0 30px 80px rgba(7, 34, 27, 0.2);
}

.live-journey h2 {
  color: #fff;
}

.live-journey-copy > p:not(.section-kicker) {
  color: rgba(243, 255, 249, 0.68);
  line-height: 1.75;
}

.live-demo-button {
  margin-top: 12px;
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.phone-demo {
  position: relative;
  overflow: hidden;
  width: min(100%, 330px);
  min-height: 550px;
  justify-self: center;
  border: 8px solid #173b32;
  border-radius: 42px;
  padding: 12px;
  color: #14211f;
  background: #f6f8f7;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  padding: 4px 10px 12px;
  font-size: 0.72rem;
  font-weight: 900;
}

.phone-map {
  position: relative;
  height: 270px;
  overflow: hidden;
  border-radius: 25px;
  background:
    linear-gradient(35deg, transparent 46%, rgba(15, 111, 84, 0.12) 46% 49%, transparent 49%),
    linear-gradient(135deg, #e7efe9, #f8eee0);
}

.map-road {
  position: absolute;
  width: 120%;
  height: 12px;
  border: 3px solid #fff;
  border-left: 0;
  border-right: 0;
  background: #cbd5d1;
  transform-origin: center;
}

.road-one { top: 112px; left: -30px; transform: rotate(-14deg); }
.road-two { top: 158px; left: -22px; transform: rotate(38deg); }

.map-pin {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 5px;
  color: #fff;
  background: #0f6f54;
  box-shadow: 0 8px 16px rgba(10, 34, 27, 0.22);
  font-size: 0.7rem;
  transform: rotate(-45deg);
}

.map-pin::first-letter { transform: rotate(45deg); }
.start-pin { left: 42px; bottom: 48px; }
.end-pin { top: 40px; right: 42px; background: #d9664a; }

.moving-dot {
  position: absolute;
  z-index: 3;
  left: 62px;
  bottom: 82px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #ffc857;
  box-shadow: 0 10px 20px rgba(10, 34, 27, 0.2);
  transition: left 2.2s ease, bottom 2.2s ease;
}

.phone-demo.is-live .moving-dot {
  left: 218px;
  bottom: 190px;
}

.driver-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 12px 2px;
  border-radius: 16px;
  padding: 10px;
  background: #fff;
}

.driver-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #0f6f54;
  font-size: 0.72rem;
  font-weight: 900;
}

.driver-card div { display: grid; gap: 3px; }
.driver-card small { color: #6f7f79; font-size: 0.66rem; }
.driver-card a { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; background: #0f6f54; }

.live-progress {
  height: 5px;
  margin: 16px 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe8e4;
}

.live-progress span {
  display: block;
  width: 24%;
  height: 100%;
  border-radius: inherit;
  background: #0f6f54;
  transition: width 2.2s ease;
}

.phone-demo.is-live .live-progress span { width: 82%; }

.safety-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 4px;
  border-radius: 15px;
  padding: 13px;
  color: #24453c;
  background: #e7f4ee;
}

.safety-code strong { letter-spacing: 0.28em; }

.voices-section {
  width: min(1120px, calc(100% - 32px));
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.voices-grid blockquote {
  display: grid;
  min-height: 290px;
  align-content: space-between;
  gap: 26px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(10, 34, 27, 0.07);
}

.voices-grid .voice-featured {
  color: #effff9;
  border-color: #0f6f54;
  background: #0f6f54;
  transform: translateY(-14px);
}

.voice-rating {
  color: var(--gold);
  letter-spacing: 0.12em;
}

.voices-grid blockquote > p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.55;
}

.voices-grid footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.voices-grid footer > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
}

.voices-grid footer div { display: grid; gap: 4px; }
.voices-grid footer small { color: var(--muted); }
.voice-featured footer small { color: rgba(255, 255, 255, 0.7); }

.metrics strong::after {
  content: "+";
  color: var(--gold);
  font-size: 0.5em;
  vertical-align: top;
}

.metrics div:last-child strong::after {
  content: "%";
}

.favorite-filter span {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  margin-left: 4px;
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.7rem;
}

.result-rating {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  padding: 6px 9px;
  color: #18372f;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(8, 35, 28, 0.14);
  font-size: 0.72rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.result-actions > div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.share-offer-btn {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(15, 111, 84, 0.18);
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-whatsapp {
  border-color: rgba(15, 111, 84, 0.24);
  color: var(--green-dark);
  background: var(--white);
}

.toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 24px;
  max-width: calc(100% - 28px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 12px 18px;
  color: #fff;
  background: rgba(8, 42, 33, 0.94);
  box-shadow: 0 18px 50px rgba(5, 25, 20, 0.28);
  font-size: 0.88rem;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(14px);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

html[data-theme="night"] body,
html[data-theme="night"] .top-search {
  background: var(--paper);
}

html[data-theme="night"] .site-header {
  background: rgba(8, 28, 23, 0.94);
}

html[data-theme="night"] .top-search-form input,
html[data-theme="night"] input,
html[data-theme="night"] select {
  color: var(--ink);
}

html[data-theme="night"] .search-form label,
html[data-theme="night"] .result-card,
html[data-theme="night"] .ticket-form input,
html[data-theme="night"] .ticket-form select,
html[data-theme="night"] .auth-form input,
html[data-theme="night"] .auth-form select {
  background: #102a23;
}

html[data-theme="night"] .mode-card.active,
html[data-theme="night"] .filter-chip.active,
html[data-theme="night"] .mood-chip.active {
  color: #05271e;
}

html[data-theme="sunset"] .home-hero {
  background: radial-gradient(circle at 11% 18%, var(--hero-glow), transparent 30%), linear-gradient(180deg, #fffaf3, #f8e9dc);
}

@keyframes live-pulse {
  to { transform: scale(1.9); opacity: 0; }
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .hero-modes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .experience-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-strip article:nth-child(2) {
    border-right: 0;
  }

  .experience-strip article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 880px) {
  .theme-trigger-mobile {
    display: flex;
    width: 100%;
    grid-column: 1 / -1;
    justify-content: center;
    gap: 9px;
    border-radius: 14px;
    font-size: 0.86rem;
    font-weight: 800;
  }

  .hero-grid,
  .smart-planner,
  .live-journey,
  .destination-heading {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 0;
  }

  .hero-photo {
    min-height: 500px;
  }

  .destination-section {
    width: calc(100% - 32px);
  }

  .destination-heading {
    gap: 20px;
  }

  .smart-planner {
    width: calc(100% - 32px);
    gap: 34px;
    padding: 34px;
  }

  .live-journey {
    gap: 44px;
    padding: 52px;
  }

  .voices-grid {
    grid-template-columns: 1fr;
  }

  .voices-grid .voice-featured {
    transform: none;
  }
}

@media (max-width: 620px) {
  .auth-actions .theme-trigger {
    display: none;
  }

  .home-hero {
    padding-top: 22px;
  }

  .home-hero::before {
    width: 220px;
    height: 220px;
  }

  .hero-intro {
    gap: 14px;
  }

  .home-hero h1,
  html[lang="de"] .home-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
    line-height: 0.98;
  }

  .hero-lead {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .hero-cta-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .hero-proof {
    gap: 8px 13px;
    font-size: 0.74rem;
  }

  .hero-proof span + span::before {
    display: none;
  }

  .hero-photo {
    min-height: 390px;
    border-radius: 24px;
  }

  .hero-photo img {
    object-position: 61% center;
  }

  .hero-live-card {
    left: 12px;
    bottom: 12px;
    padding: 10px 12px;
  }

  .hero-live-card strong {
    font-size: 0.78rem;
  }

  .hero-price-card {
    top: 12px;
    right: 12px;
    padding: 11px 12px;
  }

  .hero-price-card strong {
    font-size: 1.4rem;
  }

  .experience-strip {
    display: flex;
    width: calc(100% - 28px);
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .experience-strip article {
    min-width: 82%;
    flex: 0 0 82%;
    scroll-snap-align: start;
    border-right: 1px solid var(--line);
    border-bottom: 0 !important;
  }

  .destination-section {
    width: calc(100% - 28px);
  }

  .destination-heading {
    margin-bottom: 22px;
  }

  .destination-grid {
    display: flex;
    min-height: 0;
    gap: 12px;
    margin-inline: -14px;
    padding: 0 14px 12px;
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .destination-card,
  .destination-large {
    min-height: 430px;
    flex: 0 0 84%;
    scroll-snap-align: start;
  }

  .destination-overlay {
    padding: 22px;
  }

  .smart-planner {
    width: calc(100% - 28px);
    gap: 26px;
    padding: 24px 18px;
    border-radius: 24px;
  }

  .mood-selector {
    flex-wrap: nowrap;
    margin-inline: -18px;
    padding-inline: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .mood-chip {
    flex: 0 0 auto;
  }

  .planner-demo {
    min-height: 420px;
    padding: 22px 16px;
  }

  .planner-result {
    grid-template-columns: 1fr;
  }

  .planner-vehicle {
    margin: 30px auto 24px;
  }

  .live-journey {
    width: calc(100% - 28px);
    gap: 36px;
    margin: 30px auto;
    padding: 30px 18px;
    border-radius: 26px;
  }

  .live-demo-button {
    width: 100%;
  }

  .phone-demo {
    min-height: 540px;
    border-width: 6px;
  }

  .voices-grid blockquote {
    min-height: 260px;
    padding: 22px;
  }

  .cta-actions {
    display: grid;
    width: 100%;
  }

  .toast {
    bottom: max(18px, env(safe-area-inset-bottom));
    width: max-content;
  }
}

/* Pied de page camerounais */
.site-footer {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-top: 0;
  color: #0b223d;
  background: #e9eef4;
  font-weight: 650;
}

.footer-main {
  padding: 58px max(32px, calc((100vw - 1320px) / 2)) 30px;
}

.footer-links-grid {
  display: grid;
  max-width: 1320px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 78px);
  margin: 0 auto;
}

.footer-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column h2 {
  margin: 0 0 17px;
  color: #071d37;
  font-size: 1.02rem;
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.footer-column a {
  padding: 6px 0;
  color: #102843;
  font-size: 0.88rem;
  line-height: 1.38;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--green);
}

.footer-column a:hover {
  transform: translateX(3px);
}

.footer-community {
  display: flex;
  max-width: 1320px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 35px auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(11, 34, 61, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand .brand {
  flex: 0 0 auto;
  font-size: 1.15rem;
}

.footer-brand .brand-mark {
  width: 36px;
  height: 36px;
  font-size: 0.72rem;
}

.footer-contact {
  display: block;
  margin: 0;
  color: #506078;
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.55;
}

.footer-contact a {
  color: var(--green-dark);
  font-weight: 800;
}

.footer-social {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 11px;
}

.footer-social button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 5px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: none;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.footer-social button:hover {
  border-color: transparent;
  background: var(--white);
  transform: translateY(-2px);
}

.footer-social img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.footer-social svg {
  width: 25px;
  height: 25px;
}

.footer-social .social-x svg {
  fill: none;
  stroke: #0b223d;
  stroke-width: 2;
  stroke-linecap: round;
}

.footer-social .social-youtube svg {
  fill: #f0002f;
}

.footer-social .social-youtube svg path {
  fill: var(--white);
}

.footer-bottom {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px max(32px, calc((100vw - 1320px) / 2));
  color: #526078;
  background: var(--white);
  font-size: 0.78rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.footer-bottom p {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-weight: 750;
}

.footer-mini-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: var(--white);
  background: var(--green);
  font-size: 0.62rem;
  font-weight: 900;
}

html[data-theme="night"] .site-footer {
  color: #edf8f4;
  background: #0b211c;
}

html[data-theme="night"] .footer-column h2,
html[data-theme="night"] .footer-column a {
  color: #edf8f4;
}

html[data-theme="night"] .footer-community {
  border-top-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="night"] .footer-contact {
  color: #a9bbb5;
}

html[data-theme="night"] .footer-contact a {
  color: #8ee0c3;
}

html[data-theme="night"] .footer-bottom {
  color: #a9bbb5;
  background: #071712;
}

/* AfrikCar Vols */
.desktop-nav a.is-current {
  color: var(--green);
  background: rgba(15, 111, 84, 0.08);
}

.mode-flight {
  overflow: visible;
}

.mode-flight .flight-mode-icon {
  width: 38px;
  height: 38px;
  padding: 7px;
  border-radius: 50%;
  fill: currentColor;
  stroke: none;
  background: rgba(15, 111, 84, 0.1);
  filter: drop-shadow(0 5px 8px rgba(8, 71, 52, 0.14));
  transform: rotate(-12deg);
  transition: transform 180ms ease, background 180ms ease;
}

.mode-flight:hover .flight-mode-icon {
  background: rgba(15, 111, 84, 0.16);
  transform: translateY(-2px) rotate(-6deg);
}

.mode-flight:focus-visible .flight-mode-icon {
  transform: translateY(-2px) rotate(-6deg);
}

.service-card-flight a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--green);
  font-weight: 850;
}

.flight-page main {
  overflow: hidden;
}

.flight-hero {
  display: grid;
  width: min(1320px, calc(100% - 64px));
  min-height: 590px;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.82fr);
  gap: clamp(38px, 7vw, 104px);
  align-items: center;
  margin: 0 auto;
  padding: 70px 0 110px;
}

.flight-hero-copy {
  position: relative;
  z-index: 2;
}

.flight-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--green-dark);
  background: rgba(15, 111, 84, 0.09);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flight-kicker span {
  font-size: 1rem;
}

.flight-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(3.4rem, 6.5vw, 6.9rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.flight-hero h1 em {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.flight-hero-copy > p:not(.flight-kicker) {
  max-width: 660px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.flight-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.flight-hero-proof span {
  display: grid;
  gap: 5px;
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}

.flight-hero-proof strong {
  color: var(--green-dark);
  font-size: 0.88rem;
}

.flight-hero-proof small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.flight-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 38% 62% 55% 45% / 40% 35% 65% 60%;
  background:
    radial-gradient(circle at 27% 21%, rgba(255, 255, 255, 0.95) 0 5%, transparent 6%),
    linear-gradient(145deg, #bcebf1 0%, #63bfd0 48%, #198ca2 100%);
  box-shadow: 0 40px 90px rgba(31, 143, 163, 0.25);
}

.flight-visual::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.flight-plane-mark {
  position: absolute;
  top: 23%;
  left: 37%;
  color: var(--white);
  font-size: clamp(5rem, 10vw, 9rem);
  filter: drop-shadow(0 18px 20px rgba(4, 59, 72, 0.22));
  transform: rotate(-18deg);
}

.flight-cloud {
  position: absolute;
  width: 130px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 32px -19px 0 -2px rgba(255, 255, 255, 0.72), 64px 0 0 -7px rgba(255, 255, 255, 0.72);
}

.cloud-one { top: 17%; left: 8%; }
.cloud-two { right: 12%; bottom: 28%; transform: scale(0.7); opacity: 0.72; }

.flight-route-card {
  position: absolute;
  right: 7%;
  bottom: 8%;
  display: grid;
  gap: 5px;
  min-width: 260px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 18px 20px;
  color: #0b3d4a;
  background: rgba(255, 255, 255, 0.89);
  box-shadow: 0 20px 48px rgba(6, 57, 66, 0.18);
  backdrop-filter: blur(14px);
}

.flight-route-card small,
.flight-route-card > span {
  color: #587079;
  font-size: 0.72rem;
}

.flight-route-card strong { font-size: 1.12rem; }
.flight-route-card strong span { color: var(--coral); }

.flight-search-shell {
  position: relative;
  z-index: 4;
  width: min(1320px, calc(100% - 64px));
  margin: -65px auto 0;
  border: 1px solid rgba(15, 111, 84, 0.12);
  border-radius: 26px;
  padding: 28px;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(10, 34, 27, 0.15);
}

.flight-search-heading,
.flight-results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.flight-search-heading h2,
.flight-results-heading h2,
.flight-role-copy h2,
.flight-popular-section h2 {
  margin: 4px 0 0;
  color: var(--green-dark);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.trip-type {
  display: flex;
  gap: 5px;
  border-radius: 999px;
  padding: 5px;
  background: #eef4f1;
}

.trip-type label {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  border-radius: 999px;
  padding: 0 13px;
  color: var(--green-dark);
  cursor: pointer;
}

.trip-type label:has(input:checked) {
  color: var(--white);
  background: var(--green);
}

.trip-type input {
  width: 14px;
  min-height: 14px;
  accent-color: var(--green-dark);
}

.flight-search-form {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 42px 1.15fr 0.83fr 0.83fr 0.72fr 0.72fr 180px;
  align-items: stretch;
  gap: 8px;
}

.flight-search-form label {
  min-width: 0;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fbfdfc;
}

.flight-search-form label:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 111, 84, 0.1);
}

.flight-search-form label > span { color: var(--muted); font-size: 0.7rem; text-transform: uppercase; }
.flight-search-form label small { overflow: hidden; color: #91a09a; font-size: 0.68rem; text-overflow: ellipsis; white-space: nowrap; }
.flight-search-form label.is-disabled { opacity: 0.45; }

.flight-swap {
  width: 42px;
  height: 42px;
  align-self: center;
  border: 1px solid rgba(15, 111, 84, 0.18);
  border-radius: 50%;
  color: var(--green);
  background: var(--white);
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
}

.flight-search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-color: var(--green);
  border-radius: 12px;
  color: var(--white);
  background: var(--green);
  font-weight: 850;
}

.flight-disclaimer {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.flight-results-section,
.flight-role-section,
.flight-popular-section {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 100px 0;
}

.flight-results-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.flight-results {
  display: grid;
  gap: 14px;
}

.flight-result-card {
  display: grid;
  grid-template-columns: 0.85fr 1.5fr 0.9fr 1fr;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 24px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(10, 34, 27, 0.055);
}

.flight-result-card.is-featured { border-color: rgba(15, 111, 84, 0.32); }
.flight-result-top { display: grid; gap: 10px; }
.airline-identity { display: flex; align-items: center; gap: 10px; }
.airline-identity > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: var(--white); background: var(--green); font-size: 1.2rem; }
.airline-identity div { display: grid; gap: 2px; }
.airline-identity small { color: var(--muted); }
.flight-result-tag { width: fit-content; border-radius: 999px; padding: 5px 8px; color: var(--green); background: rgba(15, 111, 84, 0.09); font-size: 0.68rem; font-weight: 900; text-transform: uppercase; }

.flight-timeline {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.flight-timeline > div:not(.flight-line) { display: grid; gap: 3px; }
.flight-timeline > div:last-child { text-align: right; }
.flight-timeline strong { color: var(--green-dark); font-size: 1.3rem; }
.flight-timeline small { color: var(--muted); font-size: 0.74rem; }
.flight-line { display: grid; gap: 4px; text-align: center; }
.flight-line span, .flight-line small { color: var(--muted); font-size: 0.64rem; }
.flight-line i { position: relative; display: block; height: 1px; background: var(--line); }
.flight-line i::after { content: "✈"; position: absolute; top: 50%; left: 50%; color: var(--cyan); background: var(--white); transform: translate(-50%, -52%); }
.flight-baggage { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 0.78rem; line-height: 1.45; }
.flight-baggage > span:first-child { color: var(--green); }
.flight-price-row { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.flight-price-row > div { display: grid; gap: 3px; text-align: right; }
.flight-price-row small { color: var(--muted); font-size: 0.64rem; }
.flight-price-row strong { color: var(--green-dark); font-size: 1.08rem; }
.flight-price-row .btn { min-height: 44px; border-radius: 999px; padding: 0 17px; }

.flight-role-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(42px, 9vw, 120px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.flight-role-copy > p:not(.section-kicker) { margin: 24px 0; color: var(--muted); line-height: 1.8; }
.flight-role-copy .btn { min-height: 50px; border-radius: 999px; }
.flight-role-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.flight-role-steps li { display: grid; grid-template-columns: 55px 1fr; gap: 16px; align-items: start; border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: var(--white); }
.flight-role-steps li > span { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 15px; color: var(--green); background: rgba(15, 111, 84, 0.09); font-weight: 900; }
.flight-role-steps strong { color: var(--green-dark); }
.flight-role-steps p { margin: 6px 0 0; color: var(--muted); line-height: 1.55; }

.flight-popular-section { padding-top: 10px; }
.flight-route-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.flight-route-chips button { display: grid; gap: 8px; min-height: 118px; align-content: center; border: 1px solid var(--line); border-radius: 18px; padding: 18px; color: var(--green-dark); background: var(--white); text-align: left; cursor: pointer; transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.flight-route-chips button:hover { border-color: var(--green); box-shadow: 0 14px 34px rgba(10, 34, 27, 0.08); transform: translateY(-3px); }
.flight-route-chips span { color: var(--muted); font-size: 0.78rem; }

html[data-theme="night"] .flight-search-shell,
html[data-theme="night"] .flight-result-card,
html[data-theme="night"] .flight-role-steps li,
html[data-theme="night"] .flight-route-chips button,
html[data-theme="night"] .flight-search-form label,
html[data-theme="night"] .flight-swap {
  border-color: rgba(255, 255, 255, 0.12);
  background: #0c211b;
}

html[data-theme="night"] .trip-type { background: #071712; }
html[data-theme="night"] .flight-line i::after { background: #0c211b; }

@media (max-width: 1080px) {
  .flight-hero { grid-template-columns: 1fr 0.8fr; }
  .flight-search-form { grid-template-columns: 1fr 42px 1fr 1fr 1fr; }
  .flight-search-form label:nth-of-type(5), .flight-search-form label:nth-of-type(6) { grid-column: span 2; }
  .flight-search-button { grid-column: span 1; min-height: 60px; }
  .flight-result-card { grid-template-columns: 0.9fr 1.4fr 1fr; }
  .flight-price-row { grid-column: 1 / -1; justify-content: space-between; padding-top: 15px; border-top: 1px solid var(--line); }
  .flight-price-row > div { text-align: left; }
}

@media (max-width: 760px) {
  .flight-hero { width: calc(100% - 32px); min-height: auto; grid-template-columns: 1fr; padding: 42px 0 92px; }
  .flight-hero h1 { font-size: clamp(3.2rem, 16vw, 5.4rem); }
  .flight-hero-proof { grid-template-columns: 1fr; }
  .flight-visual { min-height: 330px; order: -1; }
  .flight-route-card { right: 5%; bottom: 6%; min-width: 230px; }
  .flight-search-shell { width: calc(100% - 32px); margin-top: -55px; padding: 20px; border-radius: 20px; }
  .flight-search-heading, .flight-results-heading { display: grid; align-items: start; }
  .trip-type { width: fit-content; max-width: 100%; }
  .flight-search-form { grid-template-columns: 1fr 42px 1fr; }
  .flight-search-form label:nth-of-type(n) { grid-column: span 1; }
  .flight-search-form label:nth-of-type(1) { grid-column: 1 / 2; }
  .flight-swap { grid-column: 2 / 3; grid-row: 1; }
  .flight-search-form label:nth-of-type(2) { grid-column: 3 / 4; }
  .flight-search-form label:nth-of-type(3), .flight-search-form label:nth-of-type(4) { grid-column: span 1; }
  .flight-search-form label:nth-of-type(5), .flight-search-form label:nth-of-type(6) { grid-column: span 1; }
  .flight-search-button { grid-column: 1 / -1; min-height: 58px; }
  .flight-results-section, .flight-role-section, .flight-popular-section { width: calc(100% - 32px); padding: 72px 0; }
  .flight-results-heading > p { text-align: left; }
  .flight-result-card { grid-template-columns: 1fr; gap: 19px; padding: 20px; }
  .flight-result-top { display: flex; align-items: center; justify-content: space-between; }
  .flight-price-row { grid-column: auto; }
  .flight-role-section { grid-template-columns: 1fr; }
  .flight-route-chips { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px calc(50% - 126px) 18px; scrollbar-width: none; }
  .flight-route-chips::-webkit-scrollbar { display: none; }
  .flight-route-chips button { min-width: 252px; scroll-snap-align: center; }
}

@media (max-width: 520px) {
  .flight-visual { min-height: 280px; }
  .flight-plane-mark { top: 18%; left: 33%; }
  .flight-search-form { grid-template-columns: 1fr 42px 1fr; }
  .flight-search-form label:nth-of-type(3), .flight-search-form label:nth-of-type(4), .flight-search-form label:nth-of-type(5), .flight-search-form label:nth-of-type(6) { grid-column: 1 / -1; }
  .trip-type { display: grid; width: 100%; grid-template-columns: repeat(2, 1fr); }
  .trip-type label { justify-content: center; padding: 0 8px; }
  .flight-result-top { align-items: flex-start; }
  .flight-price-row { align-items: end; }
  .flight-price-row .btn { min-width: 102px; }
}

@media (max-width: 900px) {
  .footer-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 56px;
  }

  .footer-community,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-footer {
    width: 100%;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .footer-main {
    padding: 42px 20px 28px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-column {
    padding: 26px 0;
    border-bottom: 1px solid rgba(11, 34, 61, 0.12);
  }

  .footer-column:first-child {
    padding-top: 0;
  }

  .footer-column h2 {
    margin-bottom: 12px;
    font-size: 1.05rem;
  }

  .footer-column a {
    width: 100%;
    padding: 7px 0;
    font-size: 0.9rem;
  }

  .footer-community {
    align-items: flex-start;
    margin-top: 28px;
    padding-top: 0;
    border-top: 0;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-social {
    width: auto;
    gap: 10px;
  }

  .footer-social button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
  }

  .footer-bottom {
    min-height: 0;
    gap: 22px;
    padding: 26px 20px;
  }

  .footer-legal {
    display: grid;
    gap: 12px;
  }

  html[data-theme="night"] .footer-column {
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }
}

/* Défilement horizontal accessible à la souris et au clavier */
.mouse-scroll-enabled {
  padding-inline-start: var(--horizontal-start-padding, var(--horizontal-base-start-padding));
  scroll-padding-inline-start: var(--horizontal-start-padding, var(--horizontal-base-start-padding));
}

@media (max-width: 880px) {
  .mode-switcher.mouse-scroll-enabled {
    grid-template-columns: none;
  }
}

.mouse-scroll-enabled:focus-visible {
  outline: 3px solid rgba(229, 169, 39, 0.72);
  outline-offset: 5px;
}

@media (hover: hover) and (pointer: fine) {
  .mouse-scroll-enabled {
    cursor: grab;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 111, 84, 0.48) rgba(15, 111, 84, 0.08);
  }

  .mouse-scroll-enabled.is-mouse-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
  }

  .mouse-scroll-enabled::-webkit-scrollbar {
    display: block;
    width: 7px;
    height: 7px;
  }

  .mouse-scroll-enabled::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(15, 111, 84, 0.08);
  }

  .mouse-scroll-enabled::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(15, 111, 84, 0.48);
  }

  .mouse-scroll-enabled::-webkit-scrollbar-thumb:hover {
    background: var(--green);
  }
}
