:root {
  --background: hsl(210 20% 98%);
  --text: hsl(215 50% 15%);
  --primary: hsl(215 55% 22%);
  --accent: hsl(207 80% 48%);
  --secondary: hsl(210 25% 93%);
  --muted: hsl(210 20% 95%);
  --border: hsl(214 20% 90%);
  --white: hsl(0 0% 100%);
  --shadow-sm: 0 12px 30px hsla(215, 40%, 20%, 0.08);
  --shadow-md: 0 24px 60px hsla(215, 40%, 18%, 0.14);
  --header-height: 88px;
  --container-max: 1400px;
  --button-gradient: linear-gradient(135deg, hsl(215 55% 22%), hsl(207 80% 48%));
  --hero-overlay: linear-gradient(
    135deg,
    hsla(215, 55%, 12%, 0.88),
    hsla(207, 60%, 22%, 0.75)
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  padding: 0;
}

main {
  overflow: clip;
}

.container {
  width: min(calc(100% - 2rem), var(--container-max));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.section-muted {
  background: var(--muted);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.75rem;
}

.section-kicker {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-heading h2,
.about-content h2,
.fleet-content h3,
.testimonial-card h3,
.service-card h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
}

.section-heading h2,
.about-content h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
}

.section-subtitle,
.about-text,
.fleet-description {
  margin: 1rem 0 0;
  font-size: 1.06rem;
  color: hsla(215, 50%, 15%, 0.78);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsla(0, 0%, 100%, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid hsla(214, 20%, 90%, 0.78);
  box-shadow: 0 8px 24px hsla(215, 25%, 15%, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
}

.brand-logo {
  width: 84px;
  height: auto;
  object-fit: contain;
}

.desktop-nav,
.header-actions,
.footer-nav,
.mobile-nav {
  display: flex;
  align-items: center;
}

.desktop-nav,
.footer-nav {
  gap: 2rem;
}

.desktop-nav a,
.footer-nav a,
.mobile-nav a:not(.button) {
  font-weight: 500;
  color: hsla(215, 50%, 15%, 0.82);
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.footer-nav a:hover,
.mobile-nav a:not(.button):hover {
  color: var(--accent);
}

.header-actions {
  gap: 0.875rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 52px;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px) scale(1.02);
}

.button-primary {
  color: var(--white);
  background: var(--button-gradient);
  box-shadow: 0 18px 42px hsla(208, 75%, 40%, 0.28);
}

.button-primary:hover {
  box-shadow: 0 22px 48px hsla(208, 75%, 40%, 0.34);
  filter: saturate(1.05);
}

.button-with-icon svg,
.service-icon svg,
.check-list svg,
.scroll-indicator svg,
.stars svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-with-icon svg {
  width: 1rem;
  height: 1rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: hsla(0, 0%, 100%, 0.74);
  color: var(--primary);
  cursor: pointer;
}

.menu-icon {
  width: 1.4rem;
  height: 1.4rem;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.menu-close-icon {
  display: none;
}

.site-header.menu-open .menu-open-icon {
  display: none;
}

.site-header.menu-open .menu-close-icon {
  display: block;
}

.mobile-menu {
  display: none;
  border-top: 1px solid hsla(214, 20%, 90%, 0.9);
  background: hsla(0, 0%, 100%, 0.92);
  backdrop-filter: blur(18px);
}

.mobile-nav {
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  padding: 1rem;
}

.mobile-nav a:not(.button) {
  padding: 0.85rem 0;
}

.mobile-cta {
  margin-top: 0.5rem;
  width: 100%;
}

.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
}

.hero-background,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-background {
  background:
    linear-gradient(hsla(215, 55%, 18%, 0.18), hsla(215, 55%, 18%, 0.18)),
    url("./ibisbusreisen-assets/hero-bus.jpg") center center / cover no-repeat;
}

.hero-overlay {
  background: var(--hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
  padding-top: 5rem;
  padding-bottom: 6rem;
}

.hero-kicker {
  margin-bottom: 1.25rem;
  color: hsla(0, 0%, 100%, 0.8);
}

.hero-content h1 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-highlight {
  display: block;
  margin-top: 0.25rem;
  color: var(--accent);
}

.hero-text {
  max-width: 840px;
  margin: 1.75rem auto 0;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.55;
  color: hsla(0, 0%, 100%, 0.88);
}

.hero-button {
  margin-top: 2.3rem;
  min-width: 228px;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.85rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: -24px;
  color: hsla(0, 0%, 100%, 0.84);
  animation: bounce 1.8s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

.services-grid,
.testimonials-grid {
  display: grid;
  gap: 1.35rem;
}

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

.service-card,
.testimonial-card,
.contact-card,
.fleet-card,
.about-logo-card {
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.service-card,
.testimonial-card,
.contact-card {
  background: var(--white);
}

.service-card {
  padding: 1.8rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: hsla(207, 80%, 48%, 0.18);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.3rem;
  border-radius: 16px;
  background: linear-gradient(135deg, hsla(215, 55%, 22%, 0.08), hsla(207, 80%, 48%, 0.14));
  color: var(--accent);
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.34rem;
}

.service-card p,
.testimonial-card p {
  margin: 0;
  color: hsla(215, 50%, 15%, 0.74);
}

.fleet-card {
  display: grid;
  overflow: hidden;
  background: var(--white);
}

.fleet-image-wrap {
  min-height: 320px;
  background: linear-gradient(135deg, var(--secondary), var(--white));
}

.fleet-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fleet-content {
  padding: 2rem;
}

.fleet-label {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.fleet-content h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: var(--muted);
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--primary);
}

.about-grid,
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.about-logo-card {
  display: grid;
  place-items: center;
  min-height: 380px;
  padding: 2rem;
  background: linear-gradient(135deg, var(--white), var(--muted));
}

.about-logo {
  width: min(100%, 430px);
  height: auto;
  object-fit: contain;
}

.about-content {
  align-self: center;
}

.check-list {
  display: grid;
  gap: 0.95rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-weight: 500;
  color: hsla(215, 50%, 15%, 0.84);
}

.check-list svg {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.28rem;
  color: var(--accent);
}

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

.testimonial-card {
  padding: 1.8rem;
}

.stars {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 1.15rem;
  color: #f7b500;
}

.stars svg {
  fill: currentColor;
  stroke: none;
}

.testimonial-card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.95rem;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr);
}

.contact-card {
  padding: 1.7rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.field-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field span {
  font-weight: 600;
  color: var(--primary);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  background: hsl(0 0% 100%);
  color: var(--text);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: hsla(207, 80%, 48%, 0.55);
  box-shadow: 0 0 0 4px hsla(207, 80%, 48%, 0.12);
}

.field textarea {
  resize: vertical;
  min-height: 160px;
}

.submit-button {
  margin-top: 1.4rem;
}

.submit-button[disabled] {
  cursor: wait;
  opacity: 0.88;
}

.info-card {
  background:
    linear-gradient(180deg, hsla(215, 55%, 22%, 0.03), hsla(207, 80%, 48%, 0.06)),
    var(--white);
}

.info-block + .info-block {
  margin-top: 1.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border);
}

.info-label {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.info-block a,
.info-block p {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--primary);
}

.site-footer {
  padding: 2rem 0 1.5rem;
  background: hsl(217 48% 14%);
  color: hsla(0, 0%, 100%, 0.84);
}

.footer-inner,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner {
  padding-bottom: 1.3rem;
  border-bottom: 1px solid hsla(214, 20%, 90%, 0.14);
}

.footer-logo {
  width: 90px;
  border-radius: 12px;
  background: hsla(0, 0%, 100%, 0.98);
}

.footer-nav a {
  color: hsla(0, 0%, 100%, 0.8);
}

.footer-bottom {
  padding-top: 1.3rem;
}

.footer-bottom p {
  margin: 0;
  color: hsla(0, 0%, 100%, 0.6);
}

.toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  width: min(calc(100% - 2rem), 390px);
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid hsla(207, 80%, 48%, 0.18);
  background: hsla(0, 0%, 100%, 0.95);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast.is-error {
  border-color: hsla(0, 72%, 52%, 0.2);
}

.toast.is-error .toast-title {
  color: hsl(0 70% 42%);
}

.toast-title {
  margin: 0;
  font-weight: 800;
  color: var(--primary);
}

.toast-text {
  margin: 0.35rem 0 0;
  color: hsla(215, 50%, 15%, 0.78);
}

@media (min-width: 700px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .field-full {
    grid-column: 1 / -1;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
  }
}

@media (min-width: 900px) {
  .section {
    padding: 7rem 0;
  }

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

  .fleet-card,
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fleet-content {
    padding: 3rem;
  }

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

@media (max-width: 959px) {
  .desktop-nav,
  .header-actions .button {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-header.menu-open .mobile-menu {
    display: block;
  }
}

@media (max-width: 699px) {
  .container {
    width: min(calc(100% - 1.5rem), var(--container-max));
  }

  .hero-section {
    min-height: calc(100svh - var(--header-height));
  }

  .hero-content {
    padding-top: 4rem;
    padding-bottom: 5.5rem;
  }

  .hero-content h1 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .scroll-indicator {
    bottom: 1.1rem;
  }

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

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

  .footer-nav {
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
