﻿.meddienst-hero-section {
  padding-top: 0 !important;
}

.meddienst-home-hero {
  position: relative;
  max-width: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #ffffff;
  overflow: hidden !important;
}

.meddienst-home-hero.hero-shell-secondary,
.meddienst-home-hero.index-hero-shell,
.meddienst-home-hero.index-hero-shell.hero-shell-secondary {
  background: transparent !important;
  background-image: none !important;
}

.meddienst-home-hero nav[aria-label="Hauptnavigation"] {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 4;
  padding: 1.35rem 0 1rem !important;
}

.meddienst-home-hero nav[aria-label="Hauptnavigation"] > .mx-auto.flex.max-w-7xl.items-center.justify-between.rounded-\[2rem\] {
  padding-inline: clamp(1.25rem, 2.6vw, 2.5rem);
}

.meddienst-home-hero .menu,
.meddienst-home-hero .menu a,
.meddienst-home-hero .menu button,
.meddienst-home-hero .veo-menu-toggle {
  color: #ffffff !important;
}

.meddienst-home-hero .logo img {
  filter: brightness(0) invert(1);
}

.meddienst-hero-slider {
  position: relative;
  cursor: pointer;
}

.meddienst-hero-slide {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

.hero-slide {
  height: 100vh !important;
  min-height: 100vh !important;
}

.meddienst-hero-slide picture {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.meddienst-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center center !important;
  user-select: none;
  -webkit-user-drag: none;
}

.meddienst-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 29, 61, 0.88) 0%, rgba(8, 29, 61, 0.64) 42%, rgba(8, 29, 61, 0.24) 100%);
}

.meddienst-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: min(100%, 98rem);
  min-height: 100vh;
  margin: 0 auto;
  padding: 8.5rem 0 6rem;
  box-sizing: border-box;
}

.meddienst-hero-copy {
  max-width: 48rem;
  margin-left: 0;
  padding-inline: 0;
}

@media (max-width: 1500px) {
  .meddienst-hero-inner {
    width: min(100%, 87rem);
  }
}

@media (max-width: 1600px) {
  .meddienst-hero-inner {
    width: min(100%, 92rem);
  }

  .meddienst-hero-title {
    font-size: clamp(2.2rem, 4.2vw, 3.9rem);
  }
}

@media (max-width: 1569px) {
  .meddienst-hero-inner {
    padding-left: 27px;
  }
}

.meddienst-hero-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.72rem 1rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.meddienst-hero-title {
  margin: 0;
  color: #ffffff;
  font-family: "Oswald", sans-serif;
  font-size: clamp(3.1rem, 5.8vw, 5.6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.meddienst-hero-title span {
  display: block;
  color: #4f9fe0;
}

.meddienst-hero-text {
  margin-top: 1.6rem;
  max-width: 44rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.14rem;
  line-height: 1.9;
}

.meddienst-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.meddienst-hero-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 3.6rem;
  border-radius: 999px;
  padding: 0.95rem 1.45rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.meddienst-hero-actions a:hover {
  transform: translateY(-2px);
}

.meddienst-hero-actions .meddienst-hero-primary {
  background: #123d73;
  color: #ffffff;
}

.meddienst-hero-actions .meddienst-hero-secondary {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.meddienst-hero-controls {
  position: absolute;
  right: clamp(1.5rem, 3vw, 3rem);
  bottom: 3rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.meddienst-hero-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.meddienst-hero-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.meddienst-hero-dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.meddienst-hero-dot {
  width: 0.72rem;
  height: 0.72rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.25s ease, background-color 0.25s ease;
}

.meddienst-hero-dot.is-active {
  width: 2.25rem;
  background: #ffffff;
}

@media (max-width: 1215px) {
  .meddienst-home-hero nav[aria-label="Hauptnavigation"] {
    padding-top: 1rem !important;
    padding-bottom: 0.8rem !important;
  }

  .meddienst-hero-inner {
    padding: 7.5rem clamp(1.25rem, 2.6vw, 2rem) 6.5rem;
  }

  .meddienst-hero-copy {
    margin-left: 0;
    max-width: 100%;
  }

  .meddienst-hero-title {
    font-size: clamp(1.95rem, 7.4vw, 3.2rem);
  }

  .meddienst-hero-text {
    font-size: 1rem;
    line-height: 1.7;
  }
}

@media (max-width: 767px) {
  .meddienst-hero-slide,
  .meddienst-hero-inner {
    min-height: 100vh;
  }

  .meddienst-hero-copy {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .meddienst-hero-title {
    min-height: 2.9em;
  }

  .meddienst-hero-badge {
    margin-bottom: 1rem;
    padding: 0.62rem 0.85rem;
    font-size: 0.68rem;
  }

  .meddienst-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .meddienst-hero-actions > :not(:first-child) {
    display: none;
  }

  .meddienst-hero-actions a {
    justify-content: center;
    width: 100%;
  }

  .meddienst-hero-controls {
    display: none;
  }

  .meddienst-hero-arrow {
    width: 2.8rem;
    height: 2.8rem;
  }
}

@media (max-width: 374px) {
  .meddienst-hero-controls {
    bottom: 3.7rem;
  }
}

@media (max-width: 356px) {
  .meddienst-hero-controls {
    bottom: 4.1rem;
  }
}

