/* ============================================================================
   Hochzeit Vanessa & Jürgen – Stylesheet
   Palette: Dunkelblau / Kornblumenblau / Hellblau / Creme (elegant, romantisch)
   ========================================================================== */

:root {
  --navy:      #1f3a5f;
  --blue:      #3f6699;
  --blue-soft: #6f9bc7;
  --blue-pale: #aac6e0;
  --blue-mist: #dde8f2;
  --cream:     #faf7f1;
  --cream-2:   #f2ece1;
  --ink:       #27384a;
  --ink-soft:  #5a6b7b;
  --white:     #ffffff;
  --gold:      #bd8275;   /* Roségold – warmer, rosé-metallischer Akzent */
  --gold-soft: #e7c4ba;   /* helles Roségold für Akzente auf dunklem Grund */

  --serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:   'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --script: 'Great Vibes', cursive;

  --shadow:    0 18px 50px -24px rgba(31, 58, 95, .45);
  --shadow-sm: 0 8px 24px -16px rgba(31, 58, 95, .5);
  --radius:    14px;
  --maxw:      1080px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.amp { font-family: var(--serif); font-style: italic; color: var(--gold); font-weight: 500; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 400;
  padding: .95em 2.2em; border-radius: 50px; border: 1px solid transparent;
  cursor: pointer; transition: all .3s ease; text-decoration: none; text-align: center;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--blue-pale); }
.btn-ghost:hover { background: var(--blue-mist); }
.btn-small { padding: .6em 1.3em; font-size: .72rem; }
.btn-danger { color: #9d4444; border-color: #e0bcbc; }
.btn-danger:hover { background: #f6e8e8; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }

.linklike {
  background: none; border: none; font: inherit; color: inherit;
  cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- Monogramm / Blume ---------- */
.monogram { margin: 0 auto 1rem; }
.monogram-flower { font-size: 2.4rem; color: var(--gold); display: inline-block; }
.monogram-sm .monogram-flower { font-size: 1.8rem; }

/* ============================ NAVIGATION ============================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(250, 247, 241, 0);
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}
.nav.scrolled {
  background: rgba(250, 247, 241, .94);
  box-shadow: 0 2px 20px -12px rgba(31,58,95,.5);
  backdrop-filter: blur(8px);
  padding-top: .65rem; padding-bottom: .65rem;
}
.nav-brand {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  letter-spacing: .08em; color: var(--white); text-decoration: none;
  transition: color .4s ease;
}
.nav.scrolled .nav-brand { color: var(--navy); }

.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a {
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--white); position: relative; transition: color .3s;
}
.nav.scrolled .nav-links a { color: var(--ink); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -5px; width: 0; height: 1px;
  background: var(--gold); transition: width .3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-logout { opacity: .85; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--white); transition: all .3s; }
.nav.scrolled .nav-toggle span { background: var(--navy); }

@media (max-width: 820px) {
  /* WICHTIG: kein backdrop-filter auf dem Handy – sonst wird das fixed-Menü
     an der kleinen Leiste statt am Viewport verankert und "zerfließt". */
  .nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-toggle { display: flex; z-index: 60; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); height: 100svh; z-index: 55;
    flex-direction: column; justify-content: center; gap: 1.8rem;
    background: var(--navy); padding: 2rem;
    transform: translateX(100%); transition: transform .4s cubic-bezier(.7,0,.2,1);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a, .nav.scrolled .nav-links a { color: var(--white); font-size: 1rem; }
  .nav-toggle.open span { background: var(--white); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================ HERO ============================ */
.hero { position: relative; height: 100svh; min-height: 600px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
/* Mobil (Hochformat-Screen): Foto füllt formatfüllend, beide Gesichter sichtbar */
.hero-img {
  position: absolute; inset: 0; background-size: cover; background-position: center 50%;
  transform: scale(1.05); animation: heroZoom 18s ease-out forwards;
}
/* Scharfes, vollständig sichtbares Foto – nur am Desktop eingeblendet */
.hero-photo { display: none; }
@keyframes heroZoom { to { transform: scale(1.12); } }

/* Ab Tablet/Desktop: ganzes Foto mittig scharf zeigen, Ränder mit Blur füllen,
   damit Vanessa & Jürgen IMMER komplett zu sehen sind (egal wie breit der Screen) */
@media (min-width: 721px) {
  .hero-img {
    background-position: center; transform: scale(1.18);
    filter: blur(22px) brightness(.62) saturate(1.05);
  }
  .hero-photo {
    display: block; position: absolute; inset: 0; z-index: 1;
    background-size: contain; background-position: center; background-repeat: no-repeat;
  }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to bottom, rgba(31,58,95,.5) 0%, rgba(31,58,95,.28) 38%, rgba(31,58,95,.62) 100%);
}
.hero-content { position: relative; z-index: 3; color: var(--white); padding: 1.5rem; }
.hero-eyebrow {
  font-size: .85rem; letter-spacing: .42em; text-transform: uppercase; font-weight: 400;
  margin-bottom: 1rem; opacity: .92;
}
.hero-names {
  font-family: var(--script); font-weight: 400;
  font-size: clamp(3.4rem, 11vw, 7.5rem); line-height: 1; margin-bottom: .4rem;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.hero-names .amp { color: var(--gold-soft); }
.hero-date { font-family: var(--serif); font-size: clamp(1.3rem, 3.5vw, 2rem); letter-spacing: .05em; }
.hero-place { font-size: .9rem; letter-spacing: .3em; text-transform: uppercase; margin-top: .4rem; opacity: .9; }

/* Countdown */
.countdown { display: flex; gap: clamp(.8rem, 4vw, 2.4rem); justify-content: center; margin-top: 2.4rem; }
.cd-unit { display: flex; flex-direction: column; align-items: center; min-width: 56px; }
.cd-num { font-family: var(--serif); font-size: clamp(1.8rem, 6vw, 3rem); font-weight: 500; line-height: 1; }
.cd-label { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; margin-top: .5rem; opacity: .85; }

.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 4; }
.hero-scroll span {
  display: block; width: 22px; height: 36px; border: 1px solid rgba(255,255,255,.7); border-radius: 12px; position: relative;
}
.hero-scroll span::after {
  content: ''; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; border-radius: 2px;
  background: #fff; transform: translateX(-50%); animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0%{opacity:0;top:7px} 40%{opacity:1} 80%{opacity:0;top:18px} 100%{opacity:0} }

/* ============================ SECTIONS ============================ */
.section { padding: clamp(4rem, 9vw, 7.5rem) clamp(1rem, 5vw, 2rem); }
.section-light { background: var(--cream); }
.section-blue  { background: linear-gradient(180deg, var(--blue-mist), #eef3f9); }
.container { max-width: var(--maxw); margin: 0 auto; }
.container-narrow { max-width: 640px; }

.eyebrow { text-align: center; font-size: .78rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.section-title {
  text-align: center; font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 3.4rem); color: var(--navy); line-height: 1.1; margin-bottom: 1rem;
}
.section-title::after {
  content: ''; display: block; width: 54px; height: 1px; background: var(--gold); margin: 1.2rem auto 0;
}
.section-intro { text-align: center; max-width: 560px; margin: 0 auto 3rem; color: var(--ink-soft); font-size: 1.05rem; }

/* ============================ TIMELINE ============================ */
.timeline { list-style: none; max-width: 680px; margin: 0 auto; position: relative; padding-left: 0; }
.timeline::before {
  content: ''; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(var(--blue-pale), var(--blue-mist));
}
.tl-item {
  position: relative; display: grid; grid-template-columns: 56px 1fr; align-items: start;
  gap: 1.2rem; padding: 1rem 0; margin-left: 0;
}
.tl-icon {
  grid-row: 1 / span 2; width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--blue-pale);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  z-index: 2; box-shadow: var(--shadow-sm);
}
.tl-time {
  grid-column: 2; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}
.tl-body { grid-column: 2; }
.tl-body h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--navy); }
.tl-body p { color: var(--ink-soft); font-size: .98rem; }

/* ============================ LOCATION ============================ */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-bottom: 2.5rem; }
.loc-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(31,58,95,.06);
  display: flex; flex-direction: column;
}
.loc-img { width: 100%; height: 230px; object-fit: cover; object-position: center; }
.loc-body { padding: 1.8rem 2rem 2rem; }
.loc-card h3 { font-family: var(--serif); font-size: 1.7rem; color: var(--navy); margin-bottom: .6rem; }
.loc-card p { color: var(--ink-soft); }
.loc-note {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem;
  background: var(--navy); color: var(--cream); border-radius: var(--radius); padding: 1.3rem 1.8rem;
}
.loc-note span { font-size: 1.6rem; }
.loc-note p { margin: 0; }

/* Location-Eindrücke (Terrasse & Festsaal) */
.loc-impressions { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin: 0 0 2.6rem; }
.impression { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.impression img { width: 100%; height: 300px; object-fit: cover; transition: transform .6s ease; }
.impression:hover img { transform: scale(1.05); }
.impression figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 1.7rem 1.4rem; color: #fff;
  background: linear-gradient(to top, rgba(31,58,95,.82), rgba(31,58,95,.25) 60%, transparent);
}
.imp-label { display: block; font-family: var(--serif); font-size: 1.55rem; line-height: 1.1; }
.imp-sub { display: block; font-size: .8rem; letter-spacing: .08em; opacity: .92; margin-top: .2rem; }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map-links { text-align: center; margin-top: 1.2rem; color: var(--ink-soft); font-size: .92rem; }
.map-links a { color: var(--blue); text-decoration: none; }
.map-links a:hover { text-decoration: underline; }

/* ============================ FORMS ============================ */
.field { margin-bottom: 1.3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label, .field legend {
  display: block; font-size: .82rem; letter-spacing: .06em; color: var(--navy);
  margin-bottom: .5rem; font-weight: 400;
}
.field input[type=text], .field input[type=email], .field select, .field textarea, .field input[type=file] {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: .85em 1em; border: 1px solid var(--blue-pale); border-radius: 10px;
  background: var(--white); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(63,102,153,.14);
}
.field textarea { resize: vertical; }
fieldset.field { border: none; }
.radio {
  display: flex; align-items: center; gap: .6rem; padding: .5rem 0;
  cursor: pointer; font-size: .98rem; color: var(--ink);
}
.radio input { width: 18px; height: 18px; accent-color: var(--navy); }
.rsvp-form, .upload-card { background: var(--white); padding: clamp(1.5rem, 5vw, 2.6rem); border-radius: var(--radius); box-shadow: var(--shadow); }
.attending-only { border-top: 1px solid var(--blue-mist); margin-top: 1.5rem; padding-top: 1.5rem; }
.rsvp-hotelinfo {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--blue-mist); border-radius: 10px; padding: 1rem 1.2rem;
  margin-bottom: 1.3rem; font-size: .92rem; color: var(--ink); line-height: 1.55;
}
.rsvp-hotelinfo span { font-size: 1.35rem; line-height: 1.1; }
.rsvp-hotelinfo a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.rsvp-hotelinfo a:hover { color: var(--navy); }
.kids { background: var(--cream); border-radius: 10px; padding: 1rem 1.2rem; margin-top: .5rem; }
.kids-title { font-size: .82rem; color: var(--navy); margin-bottom: .6rem; }
.kids-note { font-size: .8rem; color: var(--ink-soft); margin-top: .8rem; line-height: 1.5; font-style: italic; }
.kid-row { display: grid; grid-template-columns: 1fr 90px 38px; gap: .5rem; margin-bottom: .6rem; align-items: center; }
.kid-row input { padding: .65em .8em !important; }
.kid-remove {
  width: 38px; height: 38px; border-radius: 8px; border: 1px solid #e0bcbc; background: #f9eded;
  color: #9d4444; font-size: 1.2rem; cursor: pointer; line-height: 1;
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { margin-top: 1rem; font-size: .95rem; min-height: 1.2em; }
.form-status.ok { color: #2f7d4f; }
.form-status.err { color: #b04a4a; }
#rsvpSubmit, #uploadSubmit { width: 100%; margin-top: .5rem; }
.rsvp-closed { background: var(--white); border-radius: var(--radius); padding: 2rem; text-align: center; box-shadow: var(--shadow-sm); color: var(--ink-soft); }

/* ============================ GALLERIES ============================ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gal-item {
  border: none; padding: 0; cursor: pointer; background: var(--blue-mist);
  border-radius: 10px; overflow: hidden; aspect-ratio: 1; position: relative;
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gal-item:hover img { transform: scale(1.07); }
.gal-item::after {
  content: ''; position: absolute; inset: 0; background: rgba(31,58,95,.18); opacity: 0; transition: opacity .3s;
}
.gal-item:hover::after { opacity: 1; }

.photos-placeholder {
  text-align: center; background: var(--white); border: 1px dashed var(--blue-pale);
  border-radius: var(--radius); padding: 3rem 1.5rem; max-width: 620px; margin: 0 auto 2.5rem;
}
.ph-icon { font-size: 2.6rem; display: block; margin-bottom: 1rem; }
.photos-placeholder p { color: var(--ink-soft); }
.ph-sub { font-size: .92rem; margin-top: .6rem; }

.upload-card { margin-top: 2.5rem; max-width: 620px; margin-left: auto; margin-right: auto; }
.upload-card h3 { font-family: var(--serif); font-size: 1.7rem; color: var(--navy); margin-bottom: .5rem; }
.upload-card > p { color: var(--ink-soft); margin-bottom: 1.5rem; font-size: .96rem; }

/* ============================ INFO CARDS ============================ */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; max-width: 820px; margin: 0 auto; }
.info-card {
  background: var(--white); border-radius: var(--radius); padding: 2rem; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(31,58,95,.06);
}
.info-icon { font-size: 2rem; display: block; margin-bottom: .8rem; }
.info-card h3 { font-family: var(--serif); font-size: 1.45rem; color: var(--navy); margin-bottom: .5rem; }
.info-card p { color: var(--ink-soft); font-size: .95rem; }
.info-card a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.info-card a:hover { color: var(--navy); }

/* Rabatt-Code-Chip */
.code-chip {
  display: inline-block; font-family: var(--sans); font-weight: 500; letter-spacing: .03em;
  background: var(--gold-soft); color: var(--navy); padding: .1em .55em; border-radius: 6px;
  border: 1px solid rgba(189,130,117,.4); white-space: nowrap;
}

/* Hervorgehobener Hinweis (z. B. Spiele) */
.info-note {
  display: flex; gap: 1.2rem; align-items: flex-start; max-width: 820px; margin: 1.5rem auto 0;
  background: var(--white); border-radius: var(--radius); padding: 1.8rem 2rem;
  box-shadow: var(--shadow-sm); border-left: 4px solid var(--gold);
}
.info-note-icon { font-size: 1.8rem; line-height: 1.2; }
.info-note h3 { font-family: var(--serif); font-size: 1.45rem; color: var(--navy); margin-bottom: .4rem; }
.info-note p { color: var(--ink-soft); font-size: .96rem; }

/* ============================ FOOTER ============================ */
.footer { background: var(--navy); color: var(--cream); text-align: center; padding: 3.5rem 1.5rem 2.5rem; }
.footer .monogram-flower { color: var(--gold-soft); }
.footer-names { font-family: var(--script); font-size: 2.6rem; margin: .3rem 0; }
.footer-names .amp { color: var(--gold-soft); }
.footer-date { font-family: var(--serif); letter-spacing: .05em; opacity: .9; }
.footer-links { margin: 1.4rem 0 1rem; font-size: .85rem; display: flex; gap: .7rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.footer-links a, .footer-links .linklike { color: var(--blue-pale); text-decoration: none; }
.footer-links a:hover, .footer-links .linklike:hover { color: var(--white); }
.footer-credit { font-size: .8rem; opacity: .65; margin-top: 1rem; }
.footer-attrib { font-size: .68rem; opacity: .4; margin-top: .5rem; }

/* ============================ LIGHTBOX ============================ */
/* [hidden] muss display:flex der Overlays sicher überstimmen */
.lightbox[hidden], .modal[hidden] { display: none !important; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(20,30,45,.92);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
  opacity: 0; animation: fadeIn .3s forwards;
}
.lb-img { max-width: 92vw; max-height: 86vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,.12); border: none; color: #fff;
  cursor: pointer; border-radius: 50%; transition: background .25s;
}
.lb-close { top: 20px; right: 24px; width: 46px; height: 46px; font-size: 1.8rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.28); }
@keyframes fadeIn { to { opacity: 1; } }

/* ============================ MODAL (Datenschutz) ============================ */
.modal {
  position: fixed; inset: 0; z-index: 110; background: rgba(20,30,45,.6);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  opacity: 0; animation: fadeIn .3s forwards;
}
.modal-card {
  background: var(--cream); border-radius: var(--radius); max-width: 600px; width: 100%;
  max-height: 86vh; overflow-y: auto; padding: clamp(1.6rem, 5vw, 2.6rem); position: relative; box-shadow: var(--shadow);
}
.modal-card h2 { font-family: var(--serif); color: var(--navy); font-size: 2rem; margin-bottom: 1rem; }
.modal-card p, .modal-card li { color: var(--ink-soft); font-size: .95rem; margin-bottom: .7rem; }
.modal-card ul { padding-left: 1.2rem; }
.modal-close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border: none; background: none; font-size: 1.8rem; color: var(--ink-soft); cursor: pointer; }
.modal-fineprint { font-size: .8rem !important; opacity: .8; margin-top: 1rem; }

/* ============================ LOGIN GATE ============================ */
.gate-body {
  min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  background:
    linear-gradient(rgba(31,58,95,.5), rgba(31,58,95,.65)),
    url('assets/hero.jpg') center/cover fixed;
}
.gate { width: 100%; max-width: 440px; }
.gate-card {
  background: rgba(250,247,241,.97); backdrop-filter: blur(6px);
  border-radius: 20px; padding: clamp(2rem, 7vw, 3.2rem) clamp(1.5rem, 6vw, 2.6rem);
  text-align: center; box-shadow: var(--shadow);
}
.gate-eyebrow { font-size: .75rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.gate-names { font-family: var(--script); font-size: clamp(2.6rem, 11vw, 3.6rem); color: var(--navy); line-height: 1.05; margin: .3rem 0; }
.gate-date { font-family: var(--serif); color: var(--ink-soft); letter-spacing: .04em; margin-bottom: 1.2rem; }
.gate-lead { color: var(--ink-soft); font-size: .96rem; margin-bottom: 1.6rem; }
.gate-form { display: flex; flex-direction: column; gap: .9rem; }
.gate-form input {
  font-family: var(--sans); font-size: 1rem; text-align: center;
  padding: .9em 1em; border: 1px solid var(--blue-pale); border-radius: 50px; background: #fff;
}
.gate-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(63,102,153,.14); }
.gate-error { background: #f9eded; color: #9d4444; border-radius: 10px; padding: .7rem 1rem; font-size: .9rem; margin-bottom: 1rem; }
.gate-hint { font-size: .82rem; color: var(--ink-soft); margin-top: 1.2rem; }
.gate-hint a { color: var(--blue); }

/* ============================ ADMIN ============================ */
.admin-body { background: var(--cream-2); }
.admin-header {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  background: var(--navy); color: #fff; padding: 1.2rem clamp(1rem, 4vw, 2.5rem);
}
.admin-header h1 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; }
.admin-actions { display: flex; gap: .6rem; }
.admin-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.admin-actions .btn-ghost:hover { background: rgba(255,255,255,.12); }
.admin-main { max-width: 1100px; margin: 0 auto; padding: 2rem clamp(1rem, 4vw, 2.5rem) 4rem; }
.admin-main section { margin-bottom: 3rem; }
.admin-main h2 { font-family: var(--serif); color: var(--navy); font-size: 1.8rem; margin-bottom: .4rem; }
.admin-main h2 .count { font-family: var(--sans); font-size: .9rem; background: var(--blue-mist); color: var(--blue); border-radius: 20px; padding: .15em .8em; vertical-align: middle; margin-left: .4rem; }
.admin-sub { color: var(--ink-soft); margin-bottom: 1.4rem; font-size: .95rem; }
.admin-empty { color: var(--ink-soft); font-style: italic; padding: 1.5rem 0; }
.admin-notice { background: #e7f1ea; color: #2f7d4f; border-radius: 10px; padding: .9rem 1.2rem; margin-bottom: 1.5rem; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.2rem; }
.admin-tile { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.admin-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--blue-mist); }
.admin-fname { font-size: .72rem; color: var(--ink-soft); padding: .5rem .7rem 0; word-break: break-all; }
.admin-tile-actions { display: flex; gap: .4rem; padding: .7rem; flex-wrap: wrap; }
.admin-tile-actions form { flex: 1; }
.admin-tile-actions .btn { width: 100%; }

/* ============================ FADE-IN ANIMATION ============================ */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.fade-in.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  .hero-img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================ RESPONSIVE ============================ */
@media (max-width: 720px) {
  .loc-grid { grid-template-columns: 1fr; }
  .loc-impressions { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lb-prev, .lb-next { width: 44px; height: 44px; font-size: 1.6rem; }
}
