/* ============================================================
   Hero - index.html (Landingpage)
   ============================================================ */

/* Kein Body-Padding auf der Hero-Seite */
body.hero-page {
  overflow: hidden;
  height: 100vh;
  height: 100svh;
}

/* ---- Controls-Pill: oben rechts, uber dem Hero ---- */
.controls-row--hero {
  position: absolute;
  top: .75rem;
  right: 1rem;
  z-index: 20;
  margin-bottom: 0;
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Hintergrundbild mit Zoom-Animation */
@keyframes heroZoom {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/thomas_title.jpg') center top / cover no-repeat;
  animation: heroZoom 24s ease-in-out infinite;
  will-change: transform;
}

/* Dunkler Gradient-Overlay - unten dichter fur bessere Lesbarkeit */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.15) 0%,
    rgba(0,0,0,.25) 50%,
    rgba(0,0,0,.65) 100%
  );
}

[data-theme="dark"] .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.25) 0%,
    rgba(0,0,0,.40) 50%,
    rgba(0,0,0,.75) 100%
  );
}

/* ---- Hero Content ---- */
.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 3rem 7rem;
  max-width: 700px;
  width: 100%;
  box-sizing: border-box;
}

.hero-eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: .6rem;
}

.hero-title {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 2rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

/* ---- CTA Buttons ---- */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.4rem;
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  letter-spacing: .02em;
}
.hero-btn:hover { transform: translateY(-2px); text-decoration: none; }

.hero-btn--primary {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}
.hero-btn--primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: #fff;
}

.hero-btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.7);
}
.hero-btn--outline:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
}

/* ---- Footer: absolut am unteren Rand der Hero-Section ---- */
.page-footer--hero {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: .45rem 1rem .55rem;
  text-align: center;
  font-size: .72rem;
}

[data-theme="dark"] .page-footer--hero {
  background: rgba(0,0,0,.25);
}

.page-footer--hero a,
.page-footer--hero .page-footer-sep {
  color: rgba(255,255,255,.5);
}
.page-footer--hero a:hover { color: rgba(255,255,255,.9); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-content {
    padding: 0 1.25rem 9rem;
    max-width: 100%;
  }
  .hero-actions { flex-direction: column; }
  .hero-btn { justify-content: center; width: 100%; box-sizing: border-box; }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 0 1rem 10rem;
  }
  .hero-title {
    font-size: clamp(1.2rem, 5.5vw, 1.6rem);
    margin-bottom: 1.2rem;
    line-height: 1.15;
  }
  .hero-eyebrow {
    margin-bottom: .35rem;
  }
  /* inline white-space:nowrap überschreiben damit "FLIGHT LEVELS PROFESSIONAL®" umbricht */
  .hero-title span {
    white-space: normal !important;
  }
}

@media print {
  .hero-page { display: none; }
}
