/* ============================================================
   Reisebüro Fernweh – Demo-Website
   Design: "Golden Hour" – tiefes Mitternachtsblau trifft warmes
   Abendgold. Serifen-Display (Fraunces) + Manrope.
   ============================================================ */

:root {
  --ink: #0c1622;
  --ink-2: #101e30;
  --night: #081120;
  --gold: #e0a83e;
  --gold-2: #f2c56b;
  --sand: #f6efe2;
  --sand-2: #efe5d1;
  --cream: #fbf7ee;
  --paper: #fdfaf3;
  --text: #2a2f38;
  --muted: #6b6f78;
  --line: rgba(12, 22, 34, 0.12);
  --radius: 18px;
  --shadow: 0 20px 50px -18px rgba(8, 17, 32, 0.35);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

.wrap {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

.section-head { max-width: 640px; margin-bottom: 2.8rem; }
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); margin: 0.6rem 0 0.8rem; }
.section-head p { color: var(--muted); }

/* ---------- Header / Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 17, 32, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(224, 168, 62, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-name span { color: var(--gold-2); }
.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(251, 247, 238, 0.55);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  color: rgba(251, 247, 238, 0.82);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-2); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(120deg, var(--gold), var(--gold-2));
  color: var(--ink) !important;
  font-weight: 800;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(224, 168, 62, 0.6); }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid rgba(251, 247, 238, 0.25);
  border-radius: 10px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--night);
    border-bottom: 1px solid rgba(224, 168, 62, 0.25);
    padding: 0.6rem 1.25rem 1.4rem;
    transform: translateY(-115%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li { border-top: 1px solid rgba(251, 247, 238, 0.08); }
  .nav-links a { display: block; padding: 0.9rem 0.2rem; font-size: 1.05rem; }
  .nav-links a::after { display: none; }
}

@media (min-width: 821px) {
  .burger { display: none; }
  .nav-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(224, 168, 62, 0.22), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, #0d1c31 55%, #133048 100%);
  color: var(--cream);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(5rem, 12vw, 8rem);
  max-width: 720px;
}

.hero .eyebrow { color: var(--gold-2); }

.hero h1 {
  color: var(--cream);
  font-size: clamp(2.5rem, 7vw, 4.6rem);
  margin: 0.8rem 0 1.2rem;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(110deg, var(--gold-2), #f7dd9a 60%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  color: rgba(251, 247, 238, 0.78);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn svg { width: 17px; height: 17px; }

.btn-gold {
  background: linear-gradient(120deg, var(--gold), var(--gold-2));
  color: var(--ink);
  box-shadow: 0 12px 30px -12px rgba(224, 168, 62, 0.55);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(224, 168, 62, 0.7); }

.btn-ghost {
  color: var(--cream);
  border: 1px solid rgba(251, 247, 238, 0.35);
}
.btn-ghost:hover { background: rgba(251, 247, 238, 0.08); transform: translateY(-2px); }

/* Hero: animierte SVG-Szene (Sonne, Dünen, Flugzeug-Bogen) */
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-scene svg { position: absolute; right: -6%; bottom: 0; width: min(760px, 92vw); height: auto; opacity: 0.95; }

.sun-core {
  animation: sunPulse 7s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes sunPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.92; }
}

.sun-ring {
  animation: ringDrift 12s linear infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes ringDrift { to { transform: rotate(360deg); } }

.plane-path {
  animation: planeFly 14s ease-in-out infinite;
  offset-path: path("M -40 210 C 220 60, 480 40, 780 150");
  offset-rotate: auto;
}
@keyframes planeFly {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  88% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

.cloud { animation: cloudFloat 26s ease-in-out infinite alternate; }
.cloud.c2 { animation-duration: 34s; animation-delay: -8s; }
.cloud.c3 { animation-duration: 40s; animation-delay: -16s; }
@keyframes cloudFloat {
  from { transform: translateX(-26px); }
  to { transform: translateX(42px); }
}

/* ---------- Marquee ---------- */

.marquee-band {
  background: linear-gradient(120deg, var(--gold), var(--gold-2));
  color: var(--ink);
  overflow: hidden;
  padding: 0.85rem 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin: -1.6rem 0 0;
  position: relative;
  z-index: 5;
  box-shadow: var(--shadow);
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
}
.marquee-track span::after { content: "✦"; font-size: 0.8em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .plane-path, .sun-core, .sun-ring, .cloud { animation: none !important; }
}

/* ---------- Karten / Services ---------- */

.cards {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(224, 168, 62, 0.45);
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ink), #1d3a5c);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--gold-2); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.card h3 { font-size: 1.28rem; margin-bottom: 0.55rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Split / Story-Bereich ---------- */

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; } }

.split h2 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); margin: 0.6rem 0 1rem; }
.split p { color: var(--muted); margin-bottom: 1rem; }

.globe-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 70% 0%, rgba(224, 168, 62, 0.25), transparent 60%),
    linear-gradient(160deg, var(--night), #12304a);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.globe-wrap svg { width: 100%; height: auto; }
.orbit-dash {
  animation: dashSpin 18s linear infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes dashSpin { to { transform: rotate(360deg); } }
.globe-dot { animation: dotPulse 3.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.globe-dot.d2 { animation-delay: 1.1s; }
.globe-dot.d3 { animation-delay: 2.2s; }
@keyframes dotPulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}

/* ---------- Stats ---------- */

.stats-band {
  background: linear-gradient(160deg, var(--night), #102a42);
  color: var(--cream);
}
.stats {
  display: grid;
  gap: 2rem;
  text-align: center;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.9rem);
  color: var(--gold-2);
}
.stat span { color: rgba(251, 247, 238, 0.72); font-size: 0.92rem; }

/* ---------- Bewertungen ---------- */

.reviews {
  background: var(--sand);
  border-block: 1px solid var(--line);
}

.rating-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.rating-score {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 0.12em; }
.rating-note { color: var(--muted); font-size: 0.88rem; width: 100%; }

.review-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }

.review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  position: relative;
}
.review blockquote { font-size: 0.95rem; color: var(--text); font-style: italic; margin: 0.7rem 0 1rem; }
.review figcaption { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.review figcaption small { display: block; font-weight: 500; color: var(--muted); }

.placeholder-flag {
  display: inline-block;
  background: repeating-linear-gradient(45deg, #fff3d6, #fff3d6 10px, #ffe9bd 10px, #ffe9bd 20px);
  border: 1px dashed var(--gold);
  color: #7a5a12;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

/* ---------- Kontakt / CTA ---------- */

.cta-band {
  background:
    radial-gradient(700px 340px at 20% 0%, rgba(224, 168, 62, 0.3), transparent 60%),
    linear-gradient(160deg, var(--night), #14314c);
  color: var(--cream);
  text-align: center;
}
.cta-band h2 { color: var(--cream); font-size: clamp(1.9rem, 4.5vw, 2.7rem); margin-bottom: 0.8rem; }
.cta-band p { color: rgba(251, 247, 238, 0.75); max-width: 520px; margin: 0 auto 2rem; }

.info-list { list-style: none; display: grid; gap: 1rem; }
.info-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.2rem;
}
.info-list svg { width: 22px; height: 22px; flex: 0 0 22px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.info-list b { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 0.15rem; }
.info-list a { color: var(--ink); font-weight: 700; text-decoration-color: rgba(224, 168, 62, 0.5); text-underline-offset: 3px; }
.info-list a:hover { color: var(--gold); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--night);
  color: rgba(251, 247, 238, 0.72);
  padding: 3.2rem 0 1.6rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: 1fr;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(251, 247, 238, 0.12);
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}
.site-footer ul { list-style: none; display: grid; gap: 0.5rem; }
.site-footer a { text-decoration: none; transition: color 0.25s ease; }
.site-footer a:hover { color: var(--gold-2); }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; color: var(--cream); margin-bottom: 0.8rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  justify-content: space-between;
  padding-top: 1.4rem;
  font-size: 0.8rem;
  color: rgba(251, 247, 238, 0.5);
}

/* ---------- Seiten-Hero (Unterseiten) ---------- */

.page-hero {
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(224, 168, 62, 0.22), transparent 60%),
    linear-gradient(160deg, var(--night), #12304a);
  color: var(--cream);
  padding: clamp(3.2rem, 8vw, 5.5rem) 0;
}
.page-hero h1 { color: var(--cream); font-size: clamp(2.1rem, 5.5vw, 3.4rem); margin-top: 0.6rem; }
.page-hero p { color: rgba(251, 247, 238, 0.75); max-width: 600px; margin-top: 0.8rem; }

/* ---------- Rechtstexte ---------- */

.legal { max-width: 760px; }
.legal h2 { font-size: 1.4rem; margin: 2.2rem 0 0.7rem; }
.legal h3 { font-size: 1.1rem; margin: 1.6rem 0 0.5rem; font-family: var(--font-body); font-weight: 800; }
.legal p, .legal li { color: var(--muted); font-size: 0.96rem; }
.legal ul { padding-left: 1.2rem; margin: 0.5rem 0; }

.ph {
  background: #fff3d6;
  border-bottom: 2px dashed var(--gold);
  color: #7a5a12;
  font-weight: 700;
  padding: 0 0.3rem;
  border-radius: 4px;
  white-space: nowrap;
}

/* ---------- Scroll-Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Kleinigkeiten ---------- */

::selection { background: var(--gold); color: var(--ink); }
