/* ========================================================================== 
   SKYTIME – ENTWICKLUNGSSEITE

   Aufbau:
   1. Farben und Grundlayout
   2. Header und Navigation
   3. Einstiegsbereich
   4. Schnellübersicht
   5. Rundflüge
   6. Luftaufnahmen und Gutschein
   7. Footer
   8. Responsive Navigation
   9. Kleine Smartphones
   ========================================================================== */


/* ========================================================================== 
   1. FARBEN UND GRUNDLAYOUT
   ========================================================================== */

:root {
  --bg: #365f99;
  --section: #365f99;
  --section-alt: #1e385b;
  --text: #ffffff;
  --muted: #d5e0eb;
  --accent: #b8d8e9;
  --warm: #f0c76f;
  --line: #7190b2;
  --nav-line: #ffffff31;
  --mega: #203d64f1;
  --glass: #ffffff12;
  --hero-text: #f5f7f9;
  --button: #f2cc76;
  --button-text: #29496f;
  --fact: #365f99e9;
  --card: linear-gradient(160deg, #4773a8, #325b91);
  --panel-text: #f0f5f9;
  --footer: #172e4d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.wrap {
  width: min(1240px, 92vw);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}


/* ========================================================================== 
   2. HEADER UND NAVIGATION
   ========================================================================== */

header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 86px;
  border-bottom: 1px solid var(--nav-line);
}

/* Das Original-Logo bleibt farbig. Seine schwarze Kontur wird nicht weggefiltert. */
.logo img {
  display: block;
  width: 168px;
  height: auto;
  filter: drop-shadow(0 3px 10px #0005);
}

.menu {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 750;
}

.menu > div {
  position: relative;
  padding: 33px 0;
}

/* Pfeil nur bei Menüpunkten mit Untermenü */
.menu > div > a::after {
  content: "⌄";
  margin-left: 7px;
  color: var(--muted);
}

.menu > div.simple > a::after {
  display: none;
}

/* Dropdown / Mega-Menü */
.mega {
  position: absolute;
  top: 74px;
  left: -45px;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  width: 700px;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--mega);
  box-shadow: 0 30px 85px #0008;
  backdrop-filter: blur(22px);
}

.menu > div:hover .mega,
.menu > div:focus-within .mega {
  display: grid;
}

.mega.compact {
  grid-template-columns: 1fr;
  width: 390px;
}

.mega h4 {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mega a {
  display: block;
  padding: 8px 0;
}

.mega span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.book {
  padding: 11px 16px;
  border: 1px solid var(--nav-line);
  border-radius: 10px;
  background: var(--glass);
}

/* Mobiler Menübutton ist auf Desktop unsichtbar. */
.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  margin-left: auto;
  padding: 9px 10px;
  border: 1px solid var(--nav-line);
  border-radius: 10px;
  background: var(--glass);
  color: #fff;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav-toggle-lines {
  position: relative;
  margin: auto;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -7px;
}

.nav-toggle-lines::after {
  top: 7px;
}


/* ========================================================================== 
   3. EINSTIEGSBEREICH
   Das Bild bleibt in seinen Originalfarben. Nur transparente Verläufe werden
   darübergelegt, damit Text und Übergang funktionieren.
   ========================================================================== */

.hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      #1429438b 0%,
      transparent 25%,
      transparent 61%,
      #365f99ef 100%
    ),
    url("../legacypage/Bilder/slider/Bild_2.jpg") center / cover no-repeat;
}

/* Links etwas Kontrast für die Schrift, ohne die Bildfarben insgesamt zu ändern. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 51% 59%, #f3c86a1f 0%, transparent 31%),
    linear-gradient(90deg, #10233b6f 0%, transparent 50%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 790px;
  padding-top: 235px;
}

h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(58px, 7.4vw, 106px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-shadow: 0 4px 24px #0005;
}

.hero p {
  max-width: 690px;
  color: var(--hero-text);
  font-size: 20px;
  line-height: 1.7;
  text-shadow: 0 2px 12px #0006;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 14px 20px;
  border-radius: 10px;
  background: var(--button);
  color: var(--button-text);
  box-shadow: 0 10px 30px #0003;
  font-weight: 850;
}

.btn.ghost {
  border: 1px solid var(--nav-line);
  background: var(--glass);
  color: #fff;
  box-shadow: none;
}


/* ========================================================================== 
   4. SCHNELLÜBERSICHT
   ========================================================================== */

.facts {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: -42px;
  margin-bottom: 78px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
  box-shadow: 0 22px 65px #0004;
}

.fact {
  min-width: 0;
  padding: 27px;
  background: var(--fact);
  backdrop-filter: blur(15px);
}

.fact strong {
  display: block;
  font-size: 25px;
  line-height: 1.15;
}

.fact span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}


/* ========================================================================== 
   5. RUNDFLÜGE
   ========================================================================== */

.section {
  padding: 112px 0;
}

.flights-section {
  padding-top: 0;
  background: linear-gradient(180deg, #365f99 0%, #426da2 100%);
}

.flights-content {
  padding-top: 0;
}

.eyebrow {
  color: var(--warm);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section h2 {
  margin: 10px 0 18px;
  font-size: clamp(38px, 5vw, 68px);
}

.section-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.flights {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 42px;
}

.flight {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--card);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.flight:hover,
.flight:focus-visible {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 18px 48px #0004;
}

.flight b {
  font-size: 42px;
}

.flight small {
  display: block;
  color: var(--muted);
}

.flight em {
  display: block;
  margin-top: 22px;
  color: #f2d088;
  font-style: normal;
  font-weight: 850;
}


/* ========================================================================== 
   6. LUFTAUFNAHMEN UND GUTSCHEIN
   Dieser Abschnitt bekommt absichtlich eine tiefere Farbstimmung.
   Andere Unterseiten dürfen später eigene, verwandte Farbwechsel erhalten.
   ========================================================================== */

.experience-section {
  background: linear-gradient(180deg, #27496f 0%, #1c3555 100%);
}

.feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.imagepanel,
.textpanel {
  min-height: 470px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.imagepanel {
  position: relative;
  background:
    url("../legacypage/Bilder/slider/Bild_6.jpg") center / cover no-repeat;
}

.imagepanel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #182f4ccc 0%, transparent 57%);
}

.imagepanel > div {
  position: absolute;
  bottom: 0;
  z-index: 2;
  padding: 36px;
}

.imagepanel h3,
.textpanel h3 {
  margin: 0 0 10px;
  font-size: 36px;
}

.imagepanel p,
.textpanel p {
  color: var(--panel-text);
  line-height: 1.65;
}

.textpanel {
  padding: 42px;
  background:
    radial-gradient(circle at 88% 12%, #d8aa5c25, transparent 36%),
    linear-gradient(145deg, #294d77, #1c3759);
}

.route {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.route div {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.route span {
  color: var(--muted);
  text-align: right;
}


/* ========================================================================== 
   7. FOOTER
   ========================================================================== */

footer {
  padding: 52px 0;
  border-top: 1px solid var(--line);
  background: var(--footer);
  color: var(--muted);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 25px;
}


/* ========================================================================== 
   8. RESPONSIVE NAVIGATION / TABLET
   ========================================================================== */

@media (max-width: 1000px) {
  .nav {
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .menu {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 16px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #203d64f5;
    box-shadow: 0 24px 70px #10233b80;
    backdrop-filter: blur(22px);
  }

  .menu.nav-open {
    display: flex;
  }

  .menu > div {
    padding: 0;
    border-bottom: 1px solid var(--line);
  }

  .menu > div > a,
  .menu > .book {
    display: block;
    padding: 15px 4px;
  }

  .menu > div > a::after {
    display: none;
  }

  /* Mobil werden die Unterpunkte direkt sichtbar. */
  .mega,
  .mega.compact {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    width: auto;
    padding: 0 4px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .mega section {
    padding-top: 4px;
  }

  .mega h4 {
    margin-top: 8px;
  }

  .mega a {
    padding: 8px 0;
  }

  .book {
    margin-top: 12px;
    text-align: center;
  }

  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .flights {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature {
    grid-template-columns: 1fr;
  }
}


/* ========================================================================== 
   9. KLEINE SMARTPHONES
   ========================================================================== */

@media (max-width: 620px) {
  .logo img {
    width: 145px;
  }

  .hero {
    min-height: 800px;
  }

  .hero-copy {
    padding-top: 165px;
  }

  h1 {
    font-size: 58px;
  }

  .hero p {
    font-size: 18px;
    line-height: 1.55;
  }

  .facts {
    grid-template-columns: 1fr;
    margin-top: -26px;
    margin-bottom: 56px;
  }

  .fact strong {
    font-size: 22px;
  }

  .flights {
    grid-template-columns: 1fr;
  }

  .route div {
    flex-direction: column;
    gap: 5px;
  }

  .route span {
    text-align: left;
  }
}
