/* ITA Fernreisen — Landingpage Premium (Demo)
   Design tokens */
:root {
  --ink: #14213D;
  --blue: #284D99;
  --blue-deep: #14275C;
  --sand: #F6F2E9;
  --gold: #C79A56;
  --white: #FFFFFF;

  --font-display: 'Fraunces Italic', 'Georgia', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  --radius: 4px;
  --container: 1180px;
}

@font-face {
  font-family: 'Fraunces Italic';
  src: url('../fonts/FrauncesItalic.ttf') format('truetype');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans.ttf') format('truetype');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ Fixed scroll-stage background ============ */
#stage-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  background: var(--blue-deep);
}

#stage-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20,33,61,0.35) 0%, rgba(20,33,61,0.15) 40%, rgba(20,33,61,0.55) 100%);
  pointer-events: none;
}

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  transition: background-color .3s ease, padding .3s ease;
}

.site-header.is-scrolled {
  background: rgba(20,33,61,0.82);
  backdrop-filter: blur(10px);
  padding: 12px 32px;
}

.site-header .logo img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .92;
}

.site-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.header-cta {
  background: var(--gold);
  color: var(--blue-deep);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .02em;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
}

.hero-content { max-width: 640px; }

.hero-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 13px;
  color: var(--gold);
  margin: 0 0 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.02;
  margin: 0 0 24px;
}

.hero p {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255,255,255,.9);
  max-width: 480px;
  margin: 0 0 36px;
}

.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--blue-deep);
  padding: 16px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 32px;
  color: var(--white);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .75;
  display: flex;
  align-items: center;
  gap: 10px;
}

.scroll-hint::after {
  content: '';
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.6);
  animation: scrollpulse 1.8s ease-in-out infinite;
}

@keyframes scrollpulse {
  0%, 100% { opacity: .2; }
  50% { opacity: 1; }
}

/* ============ Content sections (panels over the moving stage) ============ */
.panel {
  position: relative;
  z-index: 5;
  background: transparent;
  padding: 96px 0;
}

.section-head-card {
  display: inline-block;
  background: rgba(255,255,255,0.95);
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 20px 48px rgba(20,33,61,.16);
  margin-bottom: 48px;
  max-width: 680px;
}

.section-head-card--dark {
  background: rgba(15,26,58,0.92);
}

.panel--first { margin-top: 0; }

.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--blue);
  font-weight: 700;
  margin: 0 0 16px;
}

.section-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 42px);
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 620px;
}

.section-lede {
  font-size: 16px;
  line-height: 1.7;
  color: #45506e;
  max-width: 580px;
  margin: 0;
}

/* ---- Warum ITA (3 vorteile) ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.why-card {
  background: rgba(255,255,255,0.95);
  border-radius: 14px;
  padding: 26px 26px 28px;
  box-shadow: 0 16px 36px rgba(20,33,61,.13);
  border-top: 3px solid var(--blue);
}

.why-card h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 12px;
}

.why-card p {
  font-size: 15px;
  line-height: 1.65;
  color: #45506e;
  margin: 0;
}

/* ---- Ziel-Karten (Boarding-pass Motiv, das Signature-Element) ---- */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.dest-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(20,33,61,.08);
  display: flex;
  flex-direction: column;
}

.dest-card figure {
  margin: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--blue-deep);
}

.dest-card img { width: 100%; height: 100%; object-fit: cover; }

.dest-stub {
  padding: 20px 22px 24px;
  position: relative;
}

.dest-stub::before {
  content: '';
  position: absolute;
  top: 0; left: 22px; right: 22px;
  border-top: 1.5px dashed #c7ccd8;
}

.dest-code {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.dest-card h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 8px;
}

.dest-card p {
  font-size: 14px;
  color: #5a6580;
  line-height: 1.6;
  margin: 0;
}

/* ---- Testimonials ---- */
.testi-panel {
  background: transparent;
  color: var(--white);
}
.testi-panel .eyebrow { color: var(--gold); }
.testi-panel .section-title { color: var(--white); }
.testi-panel .section-lede { color: rgba(255,255,255,.78); }

.testi-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testi-card {
  background: rgba(15,26,58,0.92);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 16px 36px rgba(0,0,0,.25);
}

.testi-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  margin: 0 0 20px;
}

.testi-author {
  font-size: 13px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.65);
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 760px;
  background: rgba(255,255,255,0.95);
  border-radius: 16px;
  padding: 8px 32px;
  box-shadow: 0 16px 36px rgba(20,33,61,.13);
}

.faq-item {
  border-bottom: 1px solid #dcd6c8;
  padding: 22px 0;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--blue);
  font-weight: 400;
}

.faq-item[open] summary::after { content: '–'; }

.faq-item p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: #45506e;
}

/* ---- Kontakt / CTA ---- */
.contact-panel {
  background: transparent;
  color: var(--white);
}

.contact-panel .section-title,
.contact-panel .eyebrow { color: var(--white); }
.contact-panel .eyebrow { color: var(--gold); }
.contact-panel .section-lede { color: rgba(255,255,255,.8); }

.contact-form-card {
  background: rgba(15,26,58,0.9);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 20px 48px rgba(0,0,0,.25);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: rgba(255,255,255,.85);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,.5); }

.btn-gold {
  background: var(--gold);
  color: var(--blue-deep);
  border: none;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.65);
  padding: 40px 0;
  font-size: 13px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a { text-decoration: none; color: inherit; }
.footer-links a:hover { color: var(--white); }

/* ---- Cookie banner ---- */
#cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 560px;
  z-index: 100;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(20,33,61,.28);
  padding: 24px;
  font-size: 14px;
  line-height: 1.6;
}

#cookie-banner h4 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  font-weight: 500;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.cookie-actions button {
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.btn-cookie-accept { background: var(--blue); color: var(--white); }
.btn-cookie-decline { background: #eee6d8; color: var(--ink); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .why-grid, .dest-grid, .testi-track { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: clamp(38px, 10vw, 56px); }
  .panel { padding: 64px 0; }
  .container { padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint::after { animation: none; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .panel { background: var(--sand); }
  .testi-panel { background: var(--blue-deep); }
  .contact-panel { background: var(--blue); }
}
