/* =========================================================
   FONTS
========================================================= */
@font-face {
  font-family: "Sunset Serial";
  src: url("assets/fonts/sunset-serial-medium-regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Biro";
  src: url("assets/fonts/BiroScriptPlus.ttf") format("truetype");
  font-display: swap;
}

/* =========================================================
   COLORS
========================================================= */
:root{
  /* Space palette */
  --space-1: #000814;
  --space-2: #001D3D;
  --space-3: #003566;

  /* Brand accents */
  --gold:  #FFC300;
  --lemon: #FFD60A;

  /* Pastel Dreamland Adventure (planet only) */
  --pastel-1: #CDB4DB;
  --pastel-2: #FFC8DD;
  --pastel-3: #FFAFCC;
  --pastel-4: #BDE0FE;
  --pastel-5: #A2D2FF;
}

/* =========================================================
   BASE / RESET
========================================================= */
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  color: var(--lemon);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  background:
    radial-gradient(1100px 650px at 50% 22%, rgba(0,53,102,0.85), transparent 60%),
    radial-gradient(900px 520px at 18% 26%, rgba(0,29,61,0.9), transparent 55%),
    radial-gradient(800px 520px at 80% 30%, rgba(0,29,61,0.75), transparent 55%),
    linear-gradient(180deg, var(--space-2), var(--space-1));
}

/* =========================================================
   BACKGROUND: STARS (GOLD TINT) + FILM GRAIN (STATIC)
========================================================= */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(1.5px 1.5px at 10% 14%, rgba(255,214,10,0.55), transparent 3px),
    radial-gradient(1px 1px at 18% 38%, rgba(255,195,0,0.45), transparent 3px),
    radial-gradient(2px 2px at 26% 72%, rgba(255,214,10,0.60), transparent 4px),

    radial-gradient(1px 1px at 34% 22%, rgba(255,195,0,0.40), transparent 3px),
    radial-gradient(1.5px 1.5px at 42% 48%, rgba(255,214,10,0.55), transparent 3px),
    radial-gradient(1px 1px at 50% 80%, rgba(255,195,0,0.42), transparent 3px),

    radial-gradient(2px 2px at 58% 18%, rgba(255,214,10,0.65), transparent 4px),
    radial-gradient(1px 1px at 66% 44%, rgba(255,195,0,0.45), transparent 3px),
    radial-gradient(1.5px 1.5px at 74% 68%, rgba(255,214,10,0.55), transparent 3px),

    radial-gradient(1px 1px at 82% 26%, rgba(255,195,0,0.40), transparent 3px),
    radial-gradient(2px 2px at 90% 52%, rgba(255,214,10,0.60), transparent 4px);

  opacity: 0.85;
}

body::after{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background-image:
    repeating-radial-gradient(
      circle at 50% 50%,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 2px
    );

  opacity: 0.35;
  mix-blend-mode: overlay;
}

/* =========================================================
   NAVIGATION
========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0,8,20,0.62);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);

  transition:
    background-color 0.4s ease,
    backdrop-filter 0.4s ease,
    border-color 0.4s ease;
}

.site-header nav{
  display: flex;
  gap: 56px;
  align-items: center;
}

.nav-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: center; /* zentriert die Navigation */
  align-items: center;
}

/* Brand text */
.brand{
  font-family: "Sunset Serial", serif;
  color: var(--gold);
  letter-spacing: 0.06em;
  font-size: 16px;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.brand-sub{
  font-family: "Biro", cursive;
  font-size: 14px;
  letter-spacing: 0.04em;
  opacity: 0.75;
  white-space: nowrap;
}

/* Contact as text-link (no button) */
.nav-link{
  font-family: "Sunset Serial", serif;
  color: var(--gold);
  text-decoration: none;
  padding: 0;
  border: none;
  letter-spacing: 0.02em;
  font-size: 16px;
}

.nav-link:hover{
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Subtle nav state on scroll (class toggled by JS) */
.site-header.is-scrolled{
  background: rgba(0, 8, 20, 0.85);
  border-bottom-color: rgba(255,255,255,0.06);
}
.site-header.is-scrolled .brand{ opacity: 0.75; }
.site-header.is-scrolled .brand-sub{ opacity: 0.55; }
.site-header.is-scrolled .nav-link{ opacity: 0.9; }

/* =========================================================
   HERO LAYOUT (FINAL)
   - positions pack higher
   - stable: no transform hacks
========================================================= */
.hero{
  min-height: calc(100vh - 74px);
  display: grid;
  place-items: start center;
  padding: 20px 0 40px; /* close under nav */
}

.hero-inner{
  text-align: center;
  display: grid;
  gap: 10px;
  place-items: center;

  /* FINAL: position of whole pack */
  margin-top: -140px; /* your approved sweet spot */
}

/* =====================
   HERO CLAIM (ABOVE LOGO)
===================== */
.hero-claim{
  margin: 0 0 10px;
  font-family: "Biro", cursive;
  font-size: clamp(13px, 1.4vw, 16px);
  color: #ffffff;
  opacity: 0.75;
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 520px;
}


/* Logo: positioned between planet body and front ring */
.logo{
  width: min(640px, 86vw);
  height: auto;
  display: block;
  user-select: none;

  /* pull towards planet */
  margin: -6px 0 -26px 0;

  /* key for layering: ring goes over logo */
  position: relative;
  z-index: 3;
}





/* Date */
.next-date{
  margin: 8px 0 0;
  font-family: "Biro", cursive;
  font-size: clamp(16px, 2vw, 22px)
  color: var(--lemon);
  letter-spacing: 0.02em;
}




/* =====================
   GUEST NAMES (UNDER DATE)
===================== */
.guest-names{
  margin: 2px 0 0; /* enger an das Datum */
  font-family: "Biro", cursive;
  font-size: clamp(16px, 2vw, 22px); /* sichtbar größer */
  color: #ffffff;
  opacity: 0.9;
  letter-spacing: 0.02em;
  text-align: center;
}


/* =========================================================
   PLANET (PASTEL DREAMLAND) + DEPTH RINGS
   Requirement:
   - planet higher so ring crosses logo
   - ring front must overlay logo
========================================================= */
.planet-stage{
  display: grid;
  place-items: center;
  margin-top: -220px; /* helps lift planet into logo area */
}

.saturn{
  position: relative;
  width: 360px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;

  /* Parallax prep */
  will-change: transform;
}

/* RINGS: shared style */
.saturn-rings{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 185%;
  height: 78%;
  transform: translate(-50%, -50%) rotate(-28deg);
  border-radius: 50%;
  pointer-events: none;

  /* stronger ring look */
  background:
    radial-gradient(closest-side,
      rgba(255,255,255,0.10),
      rgba(189,224,254,0.18) 28%,
      rgba(255,200,221,0.20) 46%,
      rgba(255,175,204,0.18) 62%,
      rgba(162,210,255,0.16) 76%,
      transparent 78%);
  border: 2px solid rgba(255, 214, 10, 0.14);

  -webkit-mask: radial-gradient(closest-side, transparent 56%, #000 58%);
  mask: radial-gradient(closest-side, transparent 56%, #000 58%);

  filter: blur(0.2px);
  opacity: 0.92;

  animation: ringSpin 12s linear infinite;
}

/* Back ring: behind everything */
.saturn-rings--back{
  z-index: 1;
  clip-path: polygon(0% 0%, 100% 0%, 100% 48%, 0% 48%);
  opacity: 0.55;
}

/* Front ring: MUST be above the logo */
.saturn-rings--front{
  z-index: 4;
  clip-path: polygon(0% 52%, 100% 52%, 100% 100%, 0% 100%);
  opacity: 0.86;
}

/* Planet body */
.saturn-body{
  position: relative;
  width: 340px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  transform: translateZ(0);
  z-index: 2; /* behind logo, in front of back ring */

  animation: planetSpin 22s linear infinite;
  box-shadow:
    0 0 70px rgba(255, 214, 10, 0.10),
    0 30px 90px rgba(0, 8, 20, 0.55);
}

/* Base volume */
.saturn-body::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 50%;
  background:
    radial-gradient(70% 70% at 30% 28%, rgba(255,255,255,0.30), transparent 58%),
    radial-gradient(85% 85% at 70% 72%, rgba(0,8,20,0.42), transparent 62%),
    radial-gradient(120% 120% at 35% 30%,
      rgba(189,224,254,0.85),
      rgba(255,200,221,0.75) 40%,
      rgba(205,180,219,0.80) 75%,
      rgba(162,210,255,0.78) 100%);
}

/* Bands */
.saturn-bands{
  position:absolute;
  inset:-10%;
  background:
    repeating-linear-gradient(
      12deg,
      rgba(255,200,221,0.00) 0px,
      rgba(255,200,221,0.00) 18px,
      rgba(255,175,204,0.18) 18px,
      rgba(255,175,204,0.18) 30px,
      rgba(189,224,254,0.12) 30px,
      rgba(189,224,254,0.12) 44px,
      rgba(205,180,219,0.12) 44px,
      rgba(205,180,219,0.12) 58px
    );
  mix-blend-mode: soft-light;
  opacity: 0.9;
  transform: rotate(-8deg);
}

/* Shading */
.saturn-shade{
  position:absolute;
  inset:0;
  border-radius:50%;
  background:
    radial-gradient(80% 80% at 70% 62%, rgba(0,8,20,0.55), transparent 62%),
    radial-gradient(65% 65% at 28% 28%, rgba(255,255,255,0.18), transparent 58%);
  pointer-events:none;
}

/* Rim light */
.saturn-rim{
  position:absolute;
  inset:0;
  border-radius:50%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 214, 10, 0.10),
    inset 0 0 22px rgba(255, 214, 10, 0.10);
  background:
    radial-gradient(closest-side, transparent 74%, rgba(255,214,10,0.16) 78%, transparent 86%);
  opacity: 0.85;
  pointer-events:none;
}

/* Haze */
.saturn-haze{
  position:absolute;
  inset:-22%;
  border-radius:50%;
  background:
    radial-gradient(closest-side,
      rgba(255,214,10,0.16),
      rgba(162,210,255,0.10) 35%,
      rgba(255,175,204,0.08) 55%,
      transparent 72%);
  filter: blur(10px);
  opacity: 0.75;
  pointer-events:none;
}

/* Animations */
@keyframes planetSpin{
  to{ transform: rotate(360deg); }
}
@keyframes ringSpin{
  to{ transform: translate(-50%, -50%) rotate(-28deg) rotate(360deg); }
}



/* =========================================================
   FOOTER (keep simple) + color request
========================================================= */
.footer{
  border-top: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,8,20,0.55);
  color: #fffff0;
}

.footer a{ color: #fffff0; }

.footer-inner{
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px;
  text-align: center;
}

.footer h2{
  font-family: "Sunset Serial", serif;
  color: #fffff0;
  margin: 0 0 14px;
  opacity: 0.85;
}

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 22px 0 18px;
}

.contact-grid a{
  font-family: "Biro", cursive;
  font-size: 22px;
  text-decoration: none;
}

.contact-grid a:hover{
  text-decoration: underline;
  text-underline-offset: 6px;
}

.footer small,
.footer-meta{
  opacity: 0.75;
}

.footer a:hover{
  opacity: 0.85;
}

/* =====================
   IMPRINT (ONEPAGER)
===================== */
.imprint{
  padding: 80px 24px 100px;
  background: rgba(0,8,20,0.75);
  color: #fffff0;
}

.imprint-inner{
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.imprint h2{
  font-family: "Sunset Serial", serif;
  font-size: 28px;
  margin-bottom: 32px;
  opacity: 0.85;
}

.imprint p{
  font-family: "Biro", cursive;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.75;
  margin: 0 0 24px;
}

.imprint a{
  color: #fffff0;
  text-decoration: none;
}

.imprint a:hover{
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* =====================
   NAV WITH CENTER CLAIM
===================== */
.site-header .nav{
  display: grid;
  grid-template-columns: auto 1fr auto; /* Contact | Claim | Imprint */
  align-items: center;
  column-gap: 48px; /* Abstand zwischen den Bereichen */
  width: 100%;
  max-width: 1100px;
}

.nav-claim{
  justify-self: center;
  text-align: center;
  font-family: "Sunset Serial", serif; /* Schrift wie Navigation */
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--gold);
  opacity: 0.75;
  line-height: 1.2;
}

/* =====================
   NAV CLAIM – FINAL STYLE
===================== */
.site-header .nav{
  display: flex;
  align-items: center;
  gap: 56px; /* Abstand zwischen Claim / Contact / Imprint */
}

.nav-claim{
  font-family: "Biro", cursive;
  color: #fffff0;
  font-size: 14px;
  letter-spacing: 0.02em;
  opacity: 0.85;
  white-space: nowrap;
}


/* Mobile: Claim unter die Links (ruhig, lesbar) */
@media (max-width: 768px){
  .site-header .nav{
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-claim{
    font-size: 12px;
    text-align: center;
    flex-basis: 100%;
    margin-bottom: 4px;
  }
}




/* =========================================================
   MOBILE FINE TUNING + HEADER OFFSET FIX
========================================================= */
@media (max-width: 768px){

  .nav-wrap{ padding: 14px 18px; }
  .brand{ font-size: 14px; letter-spacing: 0.05em; }
  .brand-sub{ font-size: 12px; opacity: 0.65; }
  .nav-link{ font-size: 14px; }

  /* hero starts below sticky header */
  .hero{
    padding-top: 72px;
    padding-bottom: 32px;
  }

  /* keep pack high, but less aggressive than desktop */
  .hero-inner{
    margin-top: -160px;
    gap: 8px;
  }

  .logo{
    width: min(420px, 88vw);
    margin-top: 8px;
    margin-bottom: -18px;
  }

@media (max-width: 768px){
  .hero-claim{
    font-size: 13px;
    margin-bottom: 8px;
    padding: 0 16px;
  }
}

  .saturn{ width: 260px; }
  .saturn-body{ width: 240px; }
  .planet-stage{ margin-top: -26px; }

  .next-date{
    font-size: 20px;
    margin-top: 6px;
  }

  .footer-inner{ padding: 56px 20px 44px; }
  .contact-grid{ grid-template-columns: 1fr; gap: 32px; }
  .contact-grid a{ font-size: 20px; }
}
@media (max-width: 768px){

  /* Ring darf auf Mobile nicht aus dem Bild laufen */
  .saturn-rings{
    width: 145%;
    height: 62%;
  }

  @media (max-width: 768px){
 .guest-names{
    font-size: 16px;
    margin-top: 4px;
}


}