.hero-content {
  max-width: 650px;
  margin-left: clamp(5rem, 10vw, 12rem);
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 27px;
  height: 38px;
  margin-right: .44rem;
  object-fit: contain;
}

.hero {
  background-image:
    linear-gradient(90deg, rgba(7, 12, 22, .96) 0%, rgba(7, 12, 22, .82) 44%, rgba(7, 12, 22, .34) 100%),
    linear-gradient(180deg, rgba(11, 15, 25, .14), rgba(11, 15, 25, .74)),
    url("images/startseite-kurier-hero.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.kurier-hero {
  isolation: isolate;
  display: grid;
  min-height: min(760px, calc(100vh - 78px));
  align-items: center;
  padding: 7.5rem 0;
  background: #07111f;
}

.kurier-hero::before {
  display: none;
}

.kurier-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 11, 20, .96) 0%, rgba(5, 11, 20, .84) 35%, rgba(5, 11, 20, .24) 61%, rgba(5, 11, 20, .04) 100%),
    linear-gradient(180deg, rgba(5, 11, 20, .08), rgba(5, 11, 20, .28));
  pointer-events: none;
}

.kurier-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("images/kurierdienst-hero-fahrer-transporter.webp") center center / cover no-repeat;
}

.page-hero.kurier-hero .container {
  z-index: 2;
  width: min(1100px, calc(100% - 3rem));
  max-width: 1100px;
}

.kurier-hero-copy {
  max-width: min(650px, 56vw);
}

.kurier-hero .lead {
  color: #d0d9e6;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.kurier-hero .service-availability {
  color: #f8fafc;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .5);
}

.service-card.featured,
.service-card:nth-of-type(2),
.service-card:nth-of-type(3) {
  background-repeat: no-repeat;
  background-size: cover;
}

.service-card.featured {
  background-image: linear-gradient(180deg, rgba(8, 13, 23, .72), rgba(8, 13, 23, .94)), url("images/kurierdienst-uebergabe.jpg");
  background-position: center;
}

.service-card:nth-of-type(2) {
  background-image: linear-gradient(180deg, rgba(8, 13, 23, .72), rgba(8, 13, 23, .94)), url("images/hol-bringservice-uebergabe.jpg");
  background-position: 72% center;
}

.service-card:nth-of-type(3) {
  background-image: linear-gradient(180deg, rgba(8, 13, 23, .72), rgba(8, 13, 23, .95)), url("images/gartenarbeiten-entsorgung.jpg");
  background-position: 74% center;
}

.hero .lead {
  margin-left: auto;
  margin-right: auto;
}

.button-row {
  justify-content: center;
}

.hero-availability,
.service-availability {
  margin: -0.65rem 0 1.7rem;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-availability {
  color: var(--muted);
}

.personal-note {
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: rgba(14, 165, 233, 0.08);
}

.personal-note strong {
  color: var(--text);
}

.mobile-call {
  display: none;
}

.whatsapp-contact {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 21;
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  background: #25d366;
  color: #073b21;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s, background 0.2s;
}

.whatsapp-contact:hover {
  background: #1fbd5c;
  transform: translateY(-2px);
}

.whatsapp-contact:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.legal-card {
  max-width: 680px;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.legal-card h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  color: var(--muted);
}

.legal-card a {
  color: var(--text);
}

.price-list {
  margin-bottom: 1.5rem;
}

.price-terms,
.calc-intro {
  color: var(--muted);
}

.calculator {
  margin-top: 2.5rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

.calculator select {
  display: block;
  width: 100%;
  margin-top: .45rem;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: var(--surface);
  font: inherit;
}

.calc-options {
  display: grid;
  gap: .2rem;
  margin: .75rem 0 1rem;
}

.calculator .check-row {
  margin: .35rem 0;
}

.calc-grid-top {
  margin-bottom: .5rem;
}

.field-help {
  display: block;
  margin-top: .4rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 500;
}

.calc-status {
  margin: 1rem 0;
  padding: .9rem 1rem;
  border: 1px solid rgba(245, 158, 11, .45);
  border-radius: 12px;
  background: rgba(245, 158, 11, .09);
  color: #fcd38d;
  font-size: .88rem;
  font-weight: 700;
}

.calc-status.is-blocked {
  border-color: rgba(248, 113, 113, .5);
  background: rgba(248, 113, 113, .09);
  color: #fecaca;
}

.calc-recommendation {
  border-color: rgba(14, 165, 233, .45);
  background: rgba(14, 165, 233, .09);
  color: #bae6fd;
}

.calculator select:disabled {
  cursor: not-allowed;
  opacity: .78;
}

.calc-pallet-details {
  margin: 1.15rem 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
}

.calc-pallet-details > p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .25rem;
}

.calc-pallet-details > p span {
  color: var(--muted);
  font-size: .78rem;
}

.calc-total.is-unavailable {
  opacity: .45;
}

.calc-breakdown {
  display: grid;
  gap: .4rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: .78rem;
}

.calc-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.calc-breakdown strong {
  color: var(--text);
  white-space: nowrap;
}

.calc-request {
  margin-top: 1.3rem;
}

.contact-form .calc-status {
  margin: 0;
}

@media (max-width: 780px) {
  body {
    padding-bottom: 9.25rem;
  }

  .hero-content {
    margin: auto;
    text-align: center;
  }

  .hero {
    background-position: 66% center;
  }

  .page-hero.kurier-hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 0;
    background: #07111f;
  }

  .kurier-hero::after {
    display: none;
  }

  .kurier-hero-image {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 10;
    flex: none;
    background-position: 72% center;
  }

  .page-hero.kurier-hero .container {
    width: min(100% - 2rem, 1100px);
    padding: 2.75rem 0 4rem;
  }

  .kurier-hero-copy {
    max-width: none;
  }

  .hero .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .button-row {
    justify-content: center;
  }

  .mobile-call {
    position: fixed;
    right: 1rem;
    bottom: 0.75rem;
    left: 1rem;
    z-index: 20;
    display: flex;
    min-height: 3.45rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  }

  .whatsapp-contact {
    right: 1rem;
    bottom: 5rem;
    left: 1rem;
    display: flex;
    min-height: 3.45rem;
    background: #25d366;
    color: #073b21;
  }

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

/* Kurierdienst: eigene Header-Zeile wie auf der Startseite, ohne Umbrüche. */
.kurier-header .nav {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.kurier-header .brand {
  grid-column: auto;
  flex: 0 0 auto;
  margin-right: auto;
  white-space: nowrap;
}

.kurier-header .nav nav {
  grid-column: auto;
  justify-self: auto;
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(.75rem, 1.7vw, 1.3rem);
}

.kurier-header .nav nav a {
  font-size: clamp(.78rem, 1.15vw, .9rem);
  white-space: nowrap;
}
