: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%;
}

.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: 880px) {
  .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;
  }
}
