:root {
  --blue: #01627e;
  --blue-dark: #0c5067;
  --accent: #61b6ce;
  --text: #6a6a6a;
  --heading: #54595f;
  --line: #e6e6e6;
  --soft: #f3f3f3;
  --footer: #2f3031;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(1, 98, 126, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: var(--white);
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-dark);
}

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

h1 {
  color: var(--heading);
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 400;
  line-height: 1.25;
}

h2 {
  color: var(--blue);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.3;
}

.shell {
  width: min(1130px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(920px, calc(100% - 40px));
}

.section {
  padding: 54px 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue);
}

.skip-link:focus {
  top: 16px;
}

.top-bar {
  color: var(--white);
  background: #10627e;
}

.top-bar__inner {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.top-bar a {
  color: var(--white);
}

.nav-shell {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  align-items: end;
  gap: 24px;
  padding: 24px 0 30px;
}

.brand img {
  width: min(350px, 100%);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.96rem;
}

.site-nav a {
  position: relative;
  color: var(--text);
  padding: 7px 0;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--blue);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue);
}

.hero {
  padding-top: 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

#fahrradverleih .hero-grid {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
}

.hero-copy {
  text-align: left;
}

.hero-copy h1 {
  color: var(--blue);
  font-size: 3.05rem;
  font-weight: 700;
  line-height: 1.12;
}

.hero-media img {
  width: 100%;
  object-fit: contain;
}

.hero-copy p {
  font-size: 16px;
}

.hero-copy .hero-lead {
  font-size: 17.6px;
}

.hero-copy .notice {
  color: var(--heading);
  font-size: 8px;
  font-weight: 400;
  text-decoration: none;
}

.hero-copy .button {
  font-size: 14px;
}

.booking-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.booking-options .button {
  margin-top: 0;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 13px 28px;
  border: 0;
  border-radius: 3px;
  color: var(--white);
  background: var(--blue);
  font: inherit;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.button:hover {
  color: var(--white);
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.button.secondary {
  background: var(--heading);
}

.service-band {
  background: var(--blue);
  margin-top: 26px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  min-height: 250px;
  padding: 34px 28px;
  color: var(--soft);
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.service-card:last-child {
  border-right: 0;
}

.service-card h2 {
  color: var(--soft);
  font-size: 1.45rem;
  font-weight: 600;
}

.locations {
  background: var(--white);
  text-align: center;
}

.locations h2 {
  margin-bottom: 0;
  color: var(--blue);
  font-weight: 700;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.location-item {
  display: flex;
  min-height: 86px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--heading);
  background: var(--white);
  box-shadow: var(--shadow);
  font-weight: 700;
  line-height: 1.25;
}

.location-item-featured {
  justify-content: flex-start;
}

.location-item h3 {
  display: flex;
  min-height: 40px;
  margin: 12px 0 0;
  align-items: center;
  justify-content: center;
  color: var(--heading);
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
}

.location-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  object-fit: cover;
}

.location-button {
  min-height: 38px;
  margin-top: 18px;
  padding: 10px 14px;
  font-size: 14px;
}

.reviews {
  text-align: center;
}

.review-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.review-strip article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  background: var(--white);
}

.review-strip span {
  display: block;
  color: #f5a623;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.reviews-button {
  margin-top: 28px;
}

.legal h1 {
  color: var(--blue);
}

.legal h2 {
  margin-top: 28px;
  color: var(--blue);
}

.legal address {
  font-style: normal;
}

.legal p,
.legal address {
  font-size: 16px;
}

.badges {
  padding-top: 40px;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  align-items: start;
}

.badge-grid article:first-child h2 {
  text-align: left;
}

.badge-grid article:last-child h2 {
  text-align: right;
}

.badge-grid img {
  width: 100%;
  object-fit: contain;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}

.faq summary {
  color: var(--heading);
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  margin: 12px 0 0;
}

.contact {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fa 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 54px;
  align-items: start;
}

form {
  display: grid;
  gap: 10px;
}

label {
  color: var(--heading);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 13px 14px;
  color: var(--heading);
  background: var(--white);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(97, 182, 206, 0.45);
  border-color: var(--accent);
}

.form-button {
  justify-self: start;
  margin-top: 12px;
}

.address-box {
  padding: 28px;
  border-left: 4px solid var(--blue);
  background: var(--white);
  box-shadow: var(--shadow);
}

.site-footer {
  margin-top: 70px;
  padding: 50px 0;
  color: var(--white);
  background: var(--footer);
}

.site-footer a {
  color: var(--white);
}

.site-footer a:hover {
  color: #dbdbdb;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-grid > div:nth-child(2) {
  text-align: center;
}

.footer-grid > div:nth-child(3) {
  text-align: right;
}

@media (max-width: 900px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }

  .service-grid,
  .review-strip,
  .hero-grid,
  .locations-grid,
  .badge-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  #fahrradverleih .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .service-card {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    min-height: 0;
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .hero-copy {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-media {
    max-width: 680px;
    margin: 0 auto;
  }

  .booking-options {
    justify-content: center;
  }

  .badge-grid article:first-child h2,
  .badge-grid article:last-child h2,
  .footer-grid > div,
  .footer-grid > div:nth-child(2),
  .footer-grid > div:nth-child(3) {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 20px;
  }

  #fahrradverleih .hero-grid {
    gap: 20px;
  }

  .hero-copy h1 {
    margin-bottom: 12px;
    font-size: clamp(2.05rem, 11vw, 2.45rem);
    line-height: 1.05;
  }

  .hero-copy .hero-lead {
    font-size: 15.5px;
    line-height: 1.55;
  }

  .hero-copy .button {
    width: 100%;
    max-width: 260px;
    min-height: 48px;
    margin-top: 16px;
  }

  .hero-media img {
    width: min(100%, 430px);
    margin: 0 auto;
  }

  .shell,
  .narrow {
    width: min(100% - 28px, 1130px);
  }

  .section {
    padding: 42px 0;
  }

  .top-bar__inner {
    justify-content: center;
    flex-wrap: wrap;
    padding: 9px 0;
    text-align: center;
  }

  .brand img {
    width: min(300px, 100%);
  }

}

@media (max-width: 380px) {
  .hero-copy h1 {
    font-size: 1.95rem;
  }

  .hero-copy .hero-lead {
    font-size: 15px;
  }
}
