/* =====================================================
   Hochzeit Gysau – Flitterwochen
   Dark Editorial · identisch zur Galerie & Wunschliste
   ===================================================== */

:root {
  --bg:          #0c0c0c;
  --surface:     #161616;
  --surface-2:   #202020;
  --border:      rgba(255,255,255,0.07);
  --border-2:    rgba(255,255,255,0.13);
  --text:        #eeebe5;
  --text-muted:  #666;
  --accent:      #d4b87a;
  --accent-dim:  #9a8055;
  --radius:      10px;
  --radius-sm:   6px;
  --font-d:      'DM Serif Display', Georgia, serif;
  --font-s:      'DM Sans', 'Helvetica Neue', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-s);
  font-weight: 300;
  line-height: 1.65;
  min-height: 100vh;
}

/* ── PHOTO SLIDESHOW BG ── */
.bg-slideshow {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
}
.bg-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 2s ease-in-out;
}
.bg-slide.active { opacity: 1; }
.bg-slide { filter: brightness(0.45) saturate(0.85); }
.bg-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(12,12,12,0.55) 0%,
    rgba(12,12,12,0.20) 40%,
    rgba(12,12,12,0.60) 100%);
}
.bg-caption {
  position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-muted); opacity: 0.5; pointer-events: none;
  transition: opacity .5s;
}

/* ── TOPBAR ── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; height: 54px;
  background: rgba(12,12,12,0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar-names {
  font-family: var(--font-d); font-size: 1.05rem;
  color: var(--accent); letter-spacing: .1em;
}
.topbar-date {
  font-size: .68rem; letter-spacing: .28em; color: var(--text-muted);
}
.topbar-links {
  display: flex; gap: 3px;
}
.topbar-link {
  background: none; border: 1px solid var(--border); padding: 5px 14px;
  border-radius: 100px; font-family: var(--font-s); font-size: .72rem;
  font-weight: 400; color: var(--text-muted); cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
  text-decoration: none; display: flex; align-items: center;
}
.topbar-link:hover { color: var(--accent); border-color: var(--accent-dim); }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 4rem 2rem; position: relative; z-index: 1;
}
.hero-inner {
  background: rgba(12,12,12,0.72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 3rem 3.5rem; border-radius: var(--radius);
  border: 1px solid var(--border-2);
  max-width: 700px; width: 100%;
}
.hero-eyebrow {
  font-size: .68rem; font-weight: 400; letter-spacing: .32em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.4rem;
  opacity: 0; animation: fadeUp .8s .2s forwards;
}
.hero h1 {
  font-family: var(--font-d); font-weight: 400;
  font-size: clamp(3rem, 8vw, 6rem); line-height: 1.0; margin-bottom: .5rem;
  color: var(--text);
  opacity: 0; animation: fadeUp .9s .35s forwards;
}
.hero h1 em { font-style: italic; color: var(--accent); display: block; font-size: .6em; line-height: 1.3; }
.hero-sub {
  font-size: .88rem; color: var(--text-muted);
  margin-bottom: .8rem; line-height: 1.75;
  opacity: 0; animation: fadeUp .9s .5s forwards;
}
.hero-stats {
  display: flex; gap: 2.5rem; margin: 1.8rem 0 2rem;
  justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .9s .6s forwards;
}
.hero-stat { display: flex; flex-direction: column; align-items: center; }
.hero-stat strong {
  font-family: var(--font-d); font-size: 2.4rem; font-weight: 400;
  line-height: 1; color: var(--accent);
}
.hero-stat span {
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted);
}
.hero-flags {
  display: flex; gap: 1rem; align-items: center; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .9s .75s forwards;
}
.hero-flags span {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  font-size: .62rem; font-weight: 400; letter-spacing: .15em;
  text-transform: uppercase; color: var(--text-muted);
}
.hero-flags span .flag { font-size: 1.6rem; }
.hero-sep { color: var(--border-2); font-size: 1rem; }
.scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--text-muted); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  opacity: 0; animation: fadeUp .9s 1.1s forwards;
}
.scroll-hint::after {
  content: ''; width: 1px; height: 2.5rem;
  background: linear-gradient(to bottom, var(--border-2), transparent);
  animation: lineGrow 1.5s 1.6s ease-out forwards;
  transform-origin: top; transform: scaleY(0);
}

/* ── SECTIONS ── */
section {
  max-width: 980px; margin: 0 auto; padding: 5rem 2rem;
  position: relative; z-index: 1;
  background: rgba(12,12,12,0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.section-label {
  font-size: .62rem; font-weight: 400; letter-spacing: .32em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 2.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── INTRO ── */
.intro-text {
  font-family: var(--font-d); font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 400; line-height: 1.5; max-width: 680px; color: var(--text);
}

/* ── ROUTE OVERVIEW ── */
.route-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.route-cell {
  background: var(--surface); padding: 1.5rem; transition: background .18s;
}
.route-cell:hover { background: var(--surface-2); }
.route-cell .rc-flag { font-size: 1.4rem; margin-bottom: .4rem; }
.route-cell .rc-city {
  font-family: var(--font-d); font-size: 1.2rem; font-weight: 400; color: var(--text);
}
.route-cell .rc-dates { font-size: .7rem; color: var(--text-muted); margin-top: .2rem; }
.route-cell .rc-nights {
  font-size: .62rem; font-weight: 500; letter-spacing: .15em;
  text-transform: uppercase; color: var(--accent); margin-top: .4rem;
}

/* ── MAP ── */
#map {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
}

/* ── COUNTRY BLOCKS ── */
.day-section { padding-top: 0; }
.country-block { margin-bottom: 4rem; }
.country-header-bar {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center;
  padding: 2rem 0 1.5rem; border-top: 1px solid var(--accent);
}
.country-flag-big { font-size: 3rem; line-height: 1; }
.country-title {
  font-family: var(--font-d); font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400; line-height: 1; color: var(--text);
}
.country-tagline {
  font-size: .68rem; color: var(--accent); font-weight: 400;
  letter-spacing: .18em; text-transform: uppercase; margin-top: .3rem;
}
.day-card {
  border-top: 1px solid var(--border); padding: 2rem 0;
}
.day-card:last-child { border-bottom: 1px solid var(--border); }
.day-meta {
  display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap;
}
.day-label {
  font-size: .62rem; font-weight: 400; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent);
}
.day-date {
  font-family: var(--font-d); font-size: 1.05rem; color: var(--text-muted);
}
.day-place {
  font-family: var(--font-d); font-size: 1.6rem; font-weight: 400;
  margin-bottom: .5rem; color: var(--text);
}
.day-desc { font-size: .82rem; color: var(--text-muted); max-width: 620px; margin-bottom: 1rem; line-height: 1.75; }

/* ── PILLS ── */
.items-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.item-pill {
  display: flex; align-items: center; gap: .4rem;
  padding: .3rem .8rem; border-radius: 100px; font-size: .72rem;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-muted);
  transition: border-color .18s, color .18s, background .18s;
}
.item-pill:hover { border-color: var(--accent-dim); color: var(--accent); background: var(--surface-2); }
.pill-icon { font-size: .85rem; }

/* ── NOTE BOX ── */
.note-box {
  background: var(--surface); border: 1px solid var(--border-2);
  border-left: 2px solid var(--accent); padding: 2rem 2.5rem;
  border-radius: var(--radius);
}
.note-box p {
  font-family: var(--font-d); font-size: 1.15rem; font-style: italic;
  line-height: 1.7; color: var(--text);
}
.note-sig { margin-top: 1rem; font-size: .72rem; color: var(--text-muted); letter-spacing: .1em; }

/* ── FOOTER ── */
.site-footer {
  text-align: center; padding: 36px 20px 60px;
  border-top: 1px solid var(--border);
  font-size: .82rem; color: var(--text-muted); line-height: 1.8;
  position: relative; z-index: 1;
  background: rgba(12,12,12,0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.site-footer a {
  color: var(--accent-dim); text-decoration: none;
  letter-spacing: .05em; transition: color .18s;
}
.site-footer a:hover { color: var(--accent); }

/* ── ANIMATIONS ── */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes lineGrow { to { transform: scaleY(1); } }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  section { padding: 4rem 1.8rem; }
  .hero { padding: 5rem 1.8rem 4rem; }
  .hero-stats { gap: 2rem; }
  .route-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .day-place { font-size: 1.4rem; }
  .country-title { font-size: clamp(1.8rem, 5vw, 2.8rem); }
  #map { height: 400px !important; }
  .topbar { padding: 0 16px; }
}

@media (max-width: 600px) {
  .topbar { padding: 0 14px; }
  .topbar-date { display: none; }
  .hero { padding: 5.5rem 1.2rem 3.5rem; min-height: 100svh; }
  .hero-inner { padding: 2rem 1.4rem; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.2rem); }
  .hero-stats { gap: 1.2rem; margin: 1.2rem 0 1.5rem; }
  .hero-stat strong { font-size: 2rem; }
  .hero-flags { gap: .7rem; }
  .hero-flags span { font-size: .58rem; }
  .hero-flags span .flag { font-size: 1.4rem; }
  .hero-sep { display: none; }
  .scroll-hint { display: none; }
  section { padding: 3rem 1rem; }
  .section-label { font-size: .58rem; margin-bottom: 1.8rem; }
  .intro-text { font-size: clamp(1.15rem, 5vw, 1.5rem); }
  #map { height: 300px !important; }
  .route-grid { grid-template-columns: repeat(2, 1fr); }
  .route-cell { padding: 1rem; }
  .route-cell .rc-city { font-size: 1rem; }
  .country-header-bar { gap: .8rem; padding: 1.5rem 0 1rem; }
  .country-flag-big { font-size: 2rem; }
  .country-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .day-card { padding: 1.5rem 0; }
  .day-place { font-size: 1.25rem; }
  .day-desc { font-size: .8rem; }
  .item-pill { font-size: .7rem; padding: .25rem .65rem; }
  .note-box { padding: 1.4rem; }
  .note-box p { font-size: 1rem; }
  .site-footer { padding: 28px 16px 48px; font-size: .76rem; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 2.2rem; }
  .route-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: .9rem; }
  .hero-stat strong { font-size: 1.6rem; }
}

@media (hover: none) {
  .item-pill:hover { border-color: var(--border); color: var(--text-muted); background: var(--surface); }
}
