/* ==========================================================================
   STARTSEITE – Manger Transporte GmbH & Co. KG
   Hero-Redesign 2026
   ========================================================================== */

/* ===== WICHTIGE INFORMATION ===== */
.site-alert {
  position: relative;
  z-index: 2100;
  width: 100%;
  background: #0d0f12;
  color: #ffffff;
}

.site-alert__inner {
  width: min(100% - 48px, 1420px);
  min-height: 45px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  gap: 12px;

  font-size: 0.9rem;
  line-height: 1.4;
}

.site-alert__icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;

  border: 1px solid #9ecdf4;
  border-radius: 50%;

  color: #9ecdf4;
  font-size: 0.78rem;
  font-weight: 700;
}

.site-alert strong {
  font-weight: 700;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  min-height: 690px;
  height: calc(100svh - 139px);
  max-height: 820px;

  color: #ffffff;
  background:
    linear-gradient(
      90deg,
      rgba(4, 17, 31, 0.94) 0%,
      rgba(4, 17, 31, 0.83) 28%,
      rgba(4, 17, 31, 0.62) 52%,
      rgba(4, 17, 31, 0.27) 78%,
      rgba(4, 17, 31, 0.18) 100%
    ),
    linear-gradient(
      180deg,
      rgba(4, 17, 31, 0.08) 0%,
      rgba(4, 17, 31, 0.16) 58%,
      rgba(4, 17, 31, 0.64) 100%
    ),
    url("/assets/img/startseite/header_fuhrpark_neu.webp") center 58% / cover
      no-repeat;
}

.home-hero__inner {
  position: relative;
  z-index: 2;

  width: min(100% - 48px, 1420px);
  height: 100%;
  margin: 0 auto;
  padding: clamp(70px, 8vh, 105px) 0 145px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.home-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 26px;

  color: #b8dcfb;
  font-size: clamp(0.76rem, 1vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-hero__eyebrow::before {
  content: "";
  width: 33px;
  height: 2px;
  background: #b8dcfb;
}

.home-hero h1 {
  max-width: 1180px;
  margin: 0;

  color: #ffffff;
  font-family: "Arial Narrow", "Roboto Condensed", "Poppins", sans-serif;
  font-size: clamp(4.3rem, 6.6vw, 7.1rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.home-hero h1 span {
  display: block;
  margin-top: 14px;
  color: #a9d3f6;
}

.home-hero__lead {
  max-width: 760px;
  margin: 32px 0 0;

  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.02rem, 1.45vw, 1.27rem);
  line-height: 1.75;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-btn {
  min-height: 60px;
  padding: 0 28px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid transparent;
  border-radius: 2px;

  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.hero-btn--primary {
  background: var(--clr-button-bg, #2874b2);
  border-color: var(--clr-button-bg, #2874b2);
  color: #ffffff !important;
}

.hero-btn--primary:hover {
  background: var(--clr-accent-dark);
  border-color: var(--clr-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.hero-btn--secondary {
  background: rgba(5, 18, 31, 0.22);
  border-color: rgba(255, 255, 255, 0.72);
  color: #ffffff !important;
  backdrop-filter: blur(2px);
}

.hero-btn--secondary:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #111820 !important;
  transform: translateY(-2px);
}

/* ===== Kennzahlen unten im Hero ===== */
.home-hero__facts {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);

  width: min(100% - 48px, 1420px);
  height: 112px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;

  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-fact {
  min-width: 0;
  height: 58px;
  padding: 0 38px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-fact:first-child {
  padding-left: 0;
}

.hero-fact:last-child {
  border-right: 0;
}

.hero-fact strong {
  color: #ffffff;
  font-family: "Arial Narrow", "Roboto Condensed", "Poppins", sans-serif;
  font-size: clamp(1.65rem, 2.2vw, 2.15rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-fact span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===== Vertikaler "Mehr erfahren"-Hinweis ===== */
.home-hero__more {
  position: absolute;
  z-index: 4;
  right: 30px;
  bottom: 56px;

  color: rgba(255, 255, 255, 0.88);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;

  writing-mode: vertical-rl;
}

.home-hero__more::after {
  content: "↓";
  display: inline-block;
  margin-top: 9px;
  font-size: 1rem;
}

.home-hero__more:hover {
  color: #b8dcfb;
}

/* ==========================================================================
   BESTEHENDE STARTSEITEN-SEKTIONEN
   ========================================================================== */

.page--start main {
  padding-top: 58px;
}

.page--start .start-section {
  width: min(calc(100% - 32px), 1080px);
  margin: 0 auto 42px;
  padding: 34px;

  background: var(--clr-bg-light, #ffffff);
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow-md, 0 12px 28px rgba(10, 24, 40, 0.1));

  scroll-margin-top: 115px;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.page--start .start-section:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg, 0 16px 34px rgba(10, 24, 40, 0.14));
}

.page--start .start-section h2 {
  margin: 0 0 14px;
  color: var(--clr-accent);
  font-size: 1.38rem;
}

.page--start .flex-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 34px;
}

.page--start .flex-col {
  flex: 1;
  min-width: 280px;
}

.page--start .start-section p,
.page--start .start-section li {
  line-height: 1.7;
}

.page--start .start-section ul {
  padding-left: 20px;
}

.page--start .start-section img {
  display: block;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;

  border-radius: 8px;
  box-shadow: var(--shadow-sm, 0 5px 16px rgba(10, 24, 40, 0.12));

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.page--start .start-section img:hover {
  transform: scale(1.025);
  box-shadow: var(--shadow-md, 0 12px 28px rgba(10, 24, 40, 0.14));
}

.page--start .start-section a {
  color: var(--clr-accent);
  font-weight: 600;
  text-decoration: none;
}

.page--start .start-section a:hover {
  color: var(--clr-accent-light);
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1100px) {
  .home-hero {
    min-height: 660px;
    height: calc(100svh - 119px);
    background-position: 56% 58%;
  }

  .home-hero__inner {
    width: min(100% - 40px, 1000px);
  }

  .home-hero h1 {
    font-size: clamp(3.7rem, 7.2vw, 5.6rem);
  }

  .home-hero__facts {
    width: calc(100% - 40px);
  }

  .home-hero__more {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-alert__inner {
    width: calc(100% - 28px);
    min-height: 50px;
    padding: 8px 0;
    align-items: flex-start;
    font-size: 0.76rem;
  }

  .site-alert__icon {
    margin-top: 1px;
  }

  .home-hero {
    height: auto;
    min-height: 690px;
    max-height: none;

    background:
      linear-gradient(
        180deg,
        rgba(4, 17, 31, 0.6) 0%,
        rgba(4, 17, 31, 0.76) 46%,
        rgba(4, 17, 31, 0.95) 100%
      ),
      url("/assets/img/startseite/header_fuhrpark_neu.webp") 60% 55% / cover
        no-repeat;
  }

  .home-hero__inner {
    width: calc(100% - 32px);
    min-height: 690px;
    padding: 62px 0 180px;
    justify-content: flex-start;
  }

  .home-hero__eyebrow {
    margin-bottom: 22px;
    font-size: 0.7rem;
    letter-spacing: 0.13em;
  }

  .home-hero h1 {
    max-width: 650px;
    font-size: clamp(3.05rem, 12vw, 4.7rem);
    line-height: 0.92;
  }

  .home-hero h1 span {
    margin-top: 10px;
  }

  .home-hero__lead {
    max-width: 590px;
    margin-top: 26px;
    font-size: 1rem;
    line-height: 1.6;
  }

  .home-hero__actions {
    width: 100%;
    margin-top: 27px;
  }

  .hero-btn {
    min-height: 56px;
    padding: 0 21px;
    font-size: 0.82rem;
  }

  .home-hero__facts {
    width: calc(100% - 32px);
    height: 132px;
  }

  .hero-fact {
    height: 70px;
    padding: 0 16px;
  }

  .hero-fact:first-child {
    padding-left: 0;
  }

  .hero-fact strong {
    font-size: clamp(1.3rem, 5.3vw, 1.7rem);
  }

  .hero-fact span {
    font-size: 0.62rem;
    line-height: 1.35;
  }

  .page--start main {
    padding-top: 38px;
  }

  .page--start .start-section {
    width: calc(100% - 28px);
    margin-bottom: 30px;
    padding: 24px;
  }

  .page--start .flex-row {
    flex-direction: column;
    text-align: center;
  }

  .page--start .start-section img {
    max-width: 90%;
  }
}

@media (max-width: 520px) {
  .home-hero {
    min-height: 730px;
  }

  .home-hero__inner {
    min-height: 730px;
    padding-top: 48px;
    padding-bottom: 195px;
  }

  .home-hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.75rem);
  }

  .home-hero__lead {
    font-size: 0.94rem;
  }

  .home-hero__actions {
    flex-direction: column;
  }

  .hero-btn {
    width: 100%;
  }

  .home-hero__facts {
    height: 155px;
    grid-template-columns: 1fr 1fr;
    align-content: center;
    row-gap: 10px;
  }

  .hero-fact {
    height: 56px;
    padding: 0 10px;
  }

  .hero-fact:nth-child(2) {
    border-right: 0;
  }

  .hero-fact:nth-child(3) {
    grid-column: 1 / -1;
    align-items: center;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-fact:first-child {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero *,
  .page--start .start-section {
    transition: none !important;
  }
}
