/* ===================================================================
   Lea & Jakob — Hochzeitswebsite
   Palette & Typo zentral als CSS-Variablen (leicht anpassbar)
   =================================================================== */
:root{
  --cream:        #f5efe2;
  --cream-2:      #efe7d6;
  --cream-glow:   #f3ead7;
  --sage:         #c3cab3;
  --sage-2:       #b6bea4;
  --olive:        #5b6347;
  --olive-deep:   #474e36;
  --ink:          #5c5746;
  --muted:        #908a72;
  --line:         #cdbfa3;
  --white-card:   #f7f0e0;
  --card-border:  rgba(150,140,108,.22);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'EB Garamond', Georgia, serif;
  --font-label:   'Montserrat', system-ui, sans-serif;

  --maxw: 1120px;
  --radius: 18px;
  --radius-sm: 12px;

  /* harmonised section colour journey — SOFT PASTELS, top → bottom.
     Each section flows into the next via a torn-paper edge in the upper colour. */
  --c-cream: #f5efe2;
  --c-sage:  #e0e3d3;
  --c-green: #cfd4bd;
  --c-sand:  #f1e9d8;
  --c-terra: #ebd2ba;
  --c-olive: #474e36;
  /* soft, warm, layered card shadow (replaces hard 1px borders) */
  --shadow:
    0 1px 2px rgba(74,62,46,.05),
    0 8px 20px -12px rgba(74,62,46,.20),
    0 26px 50px -34px rgba(71,78,54,.30);
  --shadow-hover:
    0 2px 4px rgba(74,62,46,.07),
    0 14px 30px -12px rgba(74,62,46,.26),
    0 34px 64px -34px rgba(71,78,54,.34);
  --shadow-soft: 0 14px 36px -22px rgba(71,78,54,.40);
  --ring: 0 0 0 3px rgba(91,99,71,.26);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;scroll-padding-top:80px;overflow-x:hidden;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  /* one continuous sheet of warm paper: tiny tile + soft top candle-glow */
  background:
    radial-gradient(120% 70% at 50% -8%, rgba(255,248,235,.65), rgba(255,248,235,0) 60%),
    url('assets/paper-texture.webp') 0 0 / 340px auto repeat,
    var(--cream);
  font-size:18px;
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{color:inherit;}
::selection{background:rgba(91,99,71,.18);}
/* warm, consistent keyboard focus ring site-wide */
a:focus-visible,button:focus-visible,input:focus-visible,
select:focus-visible,textarea:focus-visible,summary:focus-visible{
  outline:none;box-shadow:var(--ring);border-radius:6px;
}

h1,h2,h3{font-family:var(--font-display);font-weight:500;margin:0;color:var(--olive);letter-spacing:-.01em;}

/* ---------- cozy reveal-on-scroll (reduced-motion + no-JS users see everything immediately) ---------- */
@media (prefers-reduced-motion:no-preference){
  html.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .7s cubic-bezier(.22,.61,.36,1),transform .7s cubic-bezier(.22,.61,.36,1);will-change:opacity,transform;}
  html.js .reveal.in-view{opacity:1;transform:none;}
}

/* ---------- shared bits ---------- */
.eyebrow{
  font-family:var(--font-label);
  text-transform:uppercase;
  letter-spacing:.28em;
  font-size:.72rem;
  font-weight:400;
  color:var(--muted);
  margin:0 0 .5rem;
}
.divider{display:flex;align-items:center;justify-content:center;gap:.7rem;margin:1rem auto;max-width:230px;}
.divider::before,.divider::after{content:"";height:1px;flex:1;background:var(--line);}
.divider .heart{color:var(--olive);font-size:.85rem;opacity:.7;}
.divider.light::before,.divider.light::after{background:rgba(245,239,226,.4);}
.divider.light .heart{color:var(--cream);}

.section{position:relative;padding:5.5rem 1.5rem;overflow:hidden;}
.section-head{text-align:center;max-width:720px;margin:0 auto 3rem;position:relative;z-index:2;}
.section-head h2{font-size:clamp(2rem,4.5vw,3rem);}
.section-intro{max-width:46ch;margin:1.1rem auto 0;color:var(--ink);font-size:1.05rem;line-height:1.7;}
.section-cta{text-align:center;margin-top:3rem;position:relative;z-index:2;}

.btn{
  font-family:var(--font-label);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.72rem;
  text-decoration:none;
  cursor:pointer;
  border:none;
  transition:transform .2s ease, background .2s ease, color .2s ease;
}
.btn-pill{
  display:inline-block;
  background:var(--olive);
  color:var(--cream);
  padding:.95em 2.2em;
  border-radius:999px;
  box-shadow:0 10px 22px -12px rgba(71,78,54,.6);
}
.btn-pill:hover{background:var(--olive-deep);transform:translateY(-2px);box-shadow:0 16px 28px -12px rgba(71,78,54,.62);}
.btn-pill:active{transform:translateY(0);}

/* decorative imgs never block clicks */
.deco{position:absolute;pointer-events:none;user-select:none;z-index:1;}

/* lush leafy foliage framing the corners of sections (varied assets per corner,
   so it reads as a hand-painted woodland border — never a mirrored cut-out) */
.fcorner{position:absolute;z-index:1;width:172px;opacity:.92;pointer-events:none;
  filter:drop-shadow(0 7px 10px rgba(71,78,54,.12));}
.fc-tl{top:-10px;left:-30px;}
.fc-tr{top:-10px;right:-30px;transform:scaleX(-1);}
.fc-bl{bottom:-10px;left:-30px;transform:scaleY(-1);}
.fc-br{bottom:-10px;right:-30px;transform:scale(-1,-1);}
@media (max-width:860px){.fcorner{width:96px;}.fc-tl,.fc-bl{left:-22px;}.fc-tr,.fc-br{right:-22px;}}

/* sticky mobile RSVP shortcut (shown only on phones, slides in past the hero) */
.rsvp-bar{display:none;}
@media (max-width:860px){
  .rsvp-bar{
    position:fixed;left:0;right:0;bottom:0;z-index:95;
    display:flex;align-items:center;justify-content:center;
    background:var(--olive);color:var(--cream);text-decoration:none;
    font-family:var(--font-label);text-transform:uppercase;letter-spacing:.2em;font-size:.74rem;
    min-height:56px;padding:.9rem 1rem;
    padding-bottom:calc(.9rem + env(safe-area-inset-bottom));
    box-shadow:0 -8px 24px -10px rgba(40,46,28,.55);
    transform:translateY(115%);transition:transform .35s cubic-bezier(.22,.61,.36,1);
  }
  .rsvp-bar.show{transform:translateY(0);}
}
@media (prefers-reduced-motion:reduce){.rsvp-bar{transition:none;}}

/* ===================================================================
   NAV
   =================================================================== */
.nav{position:fixed;top:0;left:0;right:0;z-index:100;transition:background .3s ease, box-shadow .3s ease, padding .3s ease;}
.nav-inner{
  max-width:var(--maxw);margin:0 auto;padding:1.1rem 1.5rem;
  display:flex;align-items:center;gap:1.5rem;
}
.nav-logo{flex:0 0 auto;}
.nav-logo img{height:30px;width:auto;opacity:.9;}
.nav-links{display:flex;gap:1.8rem;margin:0 auto;}
.nav-links a{
  font-family:var(--font-label);text-transform:uppercase;letter-spacing:.2em;
  font-size:.72rem;text-decoration:none;color:var(--olive);position:relative;padding:.2rem 0;
}
.nav-links a::after{content:"";position:absolute;left:0;right:100%;bottom:-2px;height:1px;background:var(--olive);transition:right .25s ease;}
.nav-links a:hover::after,.nav-links a.active::after{right:0;}
.nav-rsvp{flex:0 0 auto;padding:.7em 1.7em;}
.nav.scrolled{background:rgba(245,239,226,.92);backdrop-filter:blur(8px);box-shadow:0 1px 0 rgba(205,191,163,.5);}
.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:6px;}
.nav-toggle span{width:24px;height:2px;background:var(--olive);border-radius:2px;transition:.25s;}

/* ===================================================================
   HERO
   =================================================================== */
.hero{
  position:relative;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:space-between;
  padding:6.8rem 1.5rem 4.5rem;
  /* PNG fallback (identical art); modern browsers get the tiny AVIF/WebP below */
  background:
    linear-gradient(180deg, rgba(245,239,226,.20) 0%, rgba(245,239,226,0) 24%, rgba(245,239,226,0) 100%),
    url('assets/hero-bg.png') center 32% / cover no-repeat,
    var(--cream);
  background:
    linear-gradient(180deg, rgba(245,239,226,.20) 0%, rgba(245,239,226,0) 24%, rgba(245,239,226,0) 100%),
    image-set(url('assets/hero-bg.avif') type('image/avif'),
              url('assets/hero-bg.webp') type('image/webp')) center 32% / cover no-repeat,
    var(--cream);
}
.hero-stage{max-width:var(--maxw);margin:0 auto;width:100%;position:relative;z-index:3;}
/* watercolor dissolve into the next (cream) section */
.hero-fade{
  position:absolute;left:0;right:0;bottom:-1px;height:46%;z-index:2;pointer-events:none;
  background:url('assets/wc-fade-d.png') center bottom / 100% 100% no-repeat;
}
.hero-content{text-align:left;max-width:600px;margin-top:14vh;}
.hero-sprig{height:38px;width:auto;margin:0 0 .3rem;opacity:.85;}
.couple{
  font-size:clamp(2.6rem,6.4vw,5rem);line-height:1;letter-spacing:.04em;
  text-transform:uppercase;font-weight:600;
}
.couple span{font-style:italic;text-transform:none;font-weight:400;padding:0 .1em;}
.kicker{
  font-family:var(--font-label);text-transform:uppercase;letter-spacing:.34em;
  font-size:.82rem;color:var(--muted);margin:.9rem 0 0;
}
.hero-content .divider{margin:.9rem 0;max-width:190px;}
.wed-date{font-family:var(--font-display);font-size:1.6rem;letter-spacing:.12em;color:var(--olive);margin:.2rem 0 0;}

.countdown{display:flex;align-items:flex-start;justify-content:flex-start;gap:.4rem;max-width:var(--maxw);margin:0 auto;width:100%;position:relative;z-index:3;}
.cd-cell{display:flex;flex-direction:column;align-items:center;min-width:74px;}
.cd-num{font-family:var(--font-display);font-size:clamp(2.4rem,4vw,3.2rem);line-height:1;color:var(--olive);font-weight:500;}
.cd-label{font-family:var(--font-label);text-transform:uppercase;letter-spacing:.22em;font-size:.62rem;color:var(--muted);margin-top:.5rem;}
.cd-sep{width:1px;align-self:stretch;background:var(--line);margin:0 .3rem;}

.deco.fox-leaping{width:185px;left:1%;bottom:30%;z-index:4;filter:drop-shadow(0 10px 12px rgba(71,78,54,.15));}

.scroll-down{
  position:absolute;bottom:1.6rem;left:50%;transform:translateX(-50%);
  width:42px;height:42px;border-radius:50%;background:var(--white-card);
  display:flex;align-items:center;justify-content:center;color:var(--olive);
  box-shadow:var(--shadow);z-index:5;animation:bob 2.4s ease-in-out infinite;
}
@keyframes bob{0%,100%{transform:translate(-50%,0);}50%{transform:translate(-50%,7px);}}

/* ===================================================================
   TIMELINE
   =================================================================== */
.timeline-section{background:transparent;}
.timeline{
  list-style:none;margin:0 auto;padding:0;max-width:1040px;
  display:grid;grid-template-columns:repeat(5,1fr);gap:1rem;position:relative;z-index:2;
}
/* connecting line sits BELOW the icons, with a small node dot under each */
.timeline::before{
  content:"";position:absolute;top:81px;left:13%;right:13%;height:2px;
  background:var(--line);z-index:0;
}
.tl-item{display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;z-index:1;}
.tl-icon{
  width:66px;height:66px;border-radius:50%;background:rgba(255,252,245,.96);
  display:flex;align-items:center;justify-content:center;margin-bottom:30px;
  box-shadow:0 4px 14px -6px rgba(71,78,54,.32), inset 0 0 0 1px rgba(255,255,255,.6);
}
.tl-icon img{width:42px;height:42px;object-fit:contain;}
.tl-item::before{
  content:"";position:absolute;top:78px;left:50%;transform:translateX(-50%);
  width:9px;height:9px;border-radius:50%;background:var(--olive);z-index:2;
}
.tl-time{font-family:var(--font-display);font-size:1.5rem;color:var(--olive);line-height:1;}
.tl-name{font-family:var(--font-label);text-transform:uppercase;letter-spacing:.18em;font-size:.7rem;color:var(--muted);margin:.45rem 0 .15rem;}
.tl-place{font-size:1rem;color:var(--ink);}
/* leaf branches rooted off the screen edges */
.fox-sit-tl{width:215px;right:2%;bottom:-6px;z-index:2;filter:drop-shadow(0 10px 12px rgba(71,78,54,.16));}

/* ===================================================================
   LOCATIONS  (sage band)
   =================================================================== */
.locations-section{
  /* soft pastel-green "green moment", with foliage settled at its base */
  background:
    url('assets/locations-foliage-desktop.webp') center bottom / 100% auto no-repeat,
    radial-gradient(60% 80% at 22% 26%, rgba(196,205,172,.45), rgba(196,205,172,0) 72%),
    linear-gradient(180deg, #d2d7c0, #c7cdb2);
}
.cards{
  max-width:var(--maxw);margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);
  gap:1.6rem;position:relative;z-index:2;
}
.cards.single{grid-template-columns:minmax(0,440px);justify-content:center;}
.card{
  background:var(--white-card);border-radius:var(--radius);padding:2.4rem 1.8rem;text-align:center;
  border:1px solid rgba(255,255,255,.55);box-shadow:var(--shadow);
  display:flex;flex-direction:column;align-items:center;
  transition:transform .3s ease, box-shadow .3s ease;
}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover);}
.card-illu{height:120px;display:flex;align-items:flex-end;justify-content:center;margin-bottom:1.1rem;}
.card-illu svg{width:150px;height:120px;}
.card-tag{font-family:var(--font-label);text-transform:uppercase;letter-spacing:.2em;font-size:.66rem;color:var(--muted);margin:0 0 .3rem;}
.card-title{font-size:1.5rem;margin-bottom:.6rem;}
.card-addr{font-size:.98rem;color:var(--ink);margin:0 0 1.2rem;line-height:1.45;}
.card-link{
  font-family:var(--font-label);text-transform:uppercase;letter-spacing:.16em;font-size:.66rem;
  color:var(--olive);text-decoration:none;border-bottom:1px solid var(--line);padding-bottom:3px;margin-top:auto;
}
.card-link:hover{color:var(--olive-deep);border-color:var(--olive);}

/* ---- venue (single, richer destination card) ---- */
.cards.single{grid-template-columns:minmax(0,480px);}
.venue-card{padding-top:2rem;}
.venue-media{display:flex;align-items:flex-end;justify-content:center;margin-bottom:.4rem;}
.venue-illu{height:150px;width:auto;filter:drop-shadow(0 10px 14px rgba(40,46,28,.18));}
.venue-photo{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:var(--radius-sm);
  margin-bottom:1.2rem;box-shadow:0 10px 26px -16px rgba(40,46,28,.5);}
.venue-blurb{font-family:var(--font-display);font-style:italic;font-size:1.18rem;line-height:1.55;
  color:var(--ink);margin:.2rem 0 1rem;max-width:34ch;}
.card-addr{font-size:.98rem;color:var(--ink);}
.venue-links{display:flex;flex-wrap:wrap;gap:.4rem 1.6rem;justify-content:center;margin-top:1rem;}
.venue-links .card-link{margin-top:0;}
/* foliage bushes framing the location section */
.loc-bush{z-index:1;opacity:.95;}
.bl1{width:165px;left:-26px;bottom:-16px;transform:rotate(-6deg);}
.bl2{width:120px;left:80px;bottom:-22px;transform:rotate(11deg);}
.bl3{width:155px;left:-46px;bottom:62px;transform:rotate(-20deg);}
.bl4{width:120px;left:32px;bottom:-18px;}
.br1{width:165px;right:-26px;bottom:-16px;transform:scaleX(-1) rotate(-6deg);}
.br2{width:120px;right:80px;bottom:-22px;transform:scaleX(-1) rotate(11deg);}
.br3{width:155px;right:-46px;bottom:62px;transform:scaleX(-1) rotate(-20deg);}
.br4{width:120px;right:32px;bottom:-18px;}
.side-l{width:120px;left:-36px;top:44%;transform:rotate(-12deg);}
.side-r{width:120px;right:-36px;top:40%;transform:scaleX(-1) rotate(-12deg);}
.fox-loc{width:205px;left:2%;bottom:-4px;z-index:2;filter:drop-shadow(0 10px 12px rgba(40,46,28,.25));}

/* ===================================================================
   HOTELS
   =================================================================== */
.hotels-section{background:transparent;overflow:visible;}
.hotels-intro{text-align:center;max-width:560px;margin:-1.4rem auto 2.6rem;color:var(--ink);position:relative;z-index:2;}
.hotels{max-width:var(--maxw);margin:0 auto;display:flex;flex-wrap:wrap;justify-content:center;gap:2rem 2.6rem;position:relative;z-index:2;}
.hotel{display:flex;gap:1rem;align-items:flex-start;flex:0 1 300px;}
.hotel-icon{
  flex:0 0 auto;width:62px;height:62px;border-radius:50%;background:var(--white-card);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 14px -6px rgba(71,78,54,.30), inset 0 0 0 1px rgba(255,255,255,.6);
}
.hotel-icon img{width:34px;height:34px;object-fit:contain;}
.hotel-name{font-size:1.3rem;margin:0;}
.hotel-cat{font-family:var(--font-label);text-transform:uppercase;letter-spacing:.16em;font-size:.62rem;color:var(--muted);margin:.15rem 0 .4rem;}
.hotel-addr{font-size:.95rem;margin:0 0 .7rem;line-height:1.4;}
.fox-cub-hotel{width:120px;right:3%;bottom:8%;z-index:2;}
/* grounded foxes that warm up the otherwise-bare cream sections */
.fox-hotels{width:188px;right:4%;bottom:1.4rem;z-index:1;filter:drop-shadow(0 10px 12px rgba(71,78,54,.16));}
.fox-info{width:150px;left:4.5%;bottom:1.5rem;z-index:1;filter:drop-shadow(0 10px 12px rgba(71,78,54,.16));}

/* ===================================================================
   INTRO / WELCOME
   =================================================================== */
.intro-section{background:transparent;text-align:center;position:relative;}
.intro-inner{max-width:680px;margin:0 auto;position:relative;z-index:2;}
.intro-sprig{height:40px;width:auto;margin:0 auto 1rem;opacity:.85;}
.intro-script{font-family:var(--font-display);font-style:italic;font-size:2rem;color:var(--olive);margin:0 0 1.4rem;}
.intro-text{font-size:1.18rem;line-height:1.85;color:var(--ink);margin:0 auto 1.6rem;}
.intro-sign{font-family:var(--font-display);font-size:1.5rem;letter-spacing:.06em;color:var(--olive);margin:0;}
/* faint large fox painted behind the welcome words — like the faded fox on the invitation */
.intro-fox-bg{position:absolute;left:50%;top:54%;transform:translate(-50%,-50%);width:620px;max-width:108%;opacity:.08;z-index:0;pointer-events:none;}
/* small leafy sprigs framing the welcome heading (kept small so they stay crisp) */
.frame-leaf{width:122px;top:6px;z-index:1;opacity:.92;filter:drop-shadow(0 5px 8px rgba(71,78,54,.12));}
.fl-tl{left:8px;transform:rotate(4deg);}
.fl-tr{right:8px;transform:scaleX(-1) rotate(2deg);}

/* ===================================================================
   UNSERE GESCHICHTE (Teaser)
   =================================================================== */
/* Geschichte teaser = warm paper interlude, anchored by one large grounded fox */
.story-teaser{
  text-align:center;overflow:visible;position:relative;
  padding-top:6.5rem;padding-bottom:7rem;
}
/* soft painterly warm wash behind the words (echoes the faded fox on the invitation) */
.story-teaser::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(58% 64% at 50% 46%, rgba(208,154,110,.22), rgba(236,223,198,0) 72%);
}
.story-teaser-inner{max-width:600px;margin:0 auto;position:relative;z-index:3;}
.story-teaser .eyebrow{color:var(--olive);}
.story-teaser h2{color:var(--olive-deep);}
.story-teaser-text{font-size:1.12rem;line-height:1.8;color:var(--ink);margin:0 auto 2rem;max-width:520px;}
/* fox sits on the section baseline, grounded by its own painted foliage */
.story-fox-r{width:242px;right:4%;bottom:0;z-index:2;filter:drop-shadow(0 10px 12px rgba(71,78,54,.13));}

/* ===================================================================
   GUT ZU WISSEN (Dresscode + Geschenke)
   =================================================================== */
.info-section{background:transparent;overflow:visible;}
.info-grid{max-width:880px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:2rem;position:relative;z-index:2;}
.info-grid-3{max-width:1000px;grid-template-columns:repeat(3,1fr);gap:1.6rem;}
.anreise-section .info-icon svg{width:54px;height:40px;}
.info-card{
  background:var(--white-card);border-radius:var(--radius);padding:2.4rem 2rem;text-align:center;
  border:1px solid rgba(255,255,255,.55);box-shadow:var(--shadow);
  transition:transform .3s ease, box-shadow .3s ease;
}
.info-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover);}
.info-icon{display:flex;align-items:center;justify-content:center;height:64px;margin-bottom:.6rem;}
.info-icon img{height:54px;width:auto;object-fit:contain;}
.info-icon svg{width:74px;height:62px;}
.info-card h3{font-size:1.6rem;margin:0 0 .7rem;}
.info-card p{font-size:1.02rem;line-height:1.7;color:var(--ink);margin:0;}

/* Dresscode colour palette (guests' outfit inspiration) */
.palette-label{font-family:var(--font-label);text-transform:uppercase;letter-spacing:.24em;
  font-size:.66rem;color:var(--muted);}
.palette{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:.7rem;margin:0;padding:0;}
.palette li{
  width:34px;height:34px;border-radius:50%;background:var(--sw);
  box-shadow:0 3px 8px -3px rgba(71,78,54,.4), inset 0 0 0 2px rgba(255,255,255,.65);
  transition:transform .2s ease;
}
.palette li:hover{transform:translateY(-3px) scale(1.06);}
/* mood-board image (guests' colour inspiration) — its own centred feature */
.farbwelt{max-width:560px;margin:3rem auto 0;text-align:center;position:relative;z-index:2;}
.farbwelt .palette-label{margin:0 0 1rem;}
.farbwelt img{width:100%;height:auto;border-radius:var(--radius);display:block;
  box-shadow:0 16px 34px -18px rgba(71,78,54,.5), inset 0 0 0 1px rgba(255,255,255,.5);}
.palette-note{font-size:.9rem !important;color:var(--muted);margin:1rem 0 0 !important;font-style:italic;}

/* ===================================================================
   RSVP
   =================================================================== */
.rsvp-section{background:transparent;}
.rsvp-note{margin:.6rem 0 0;color:var(--ink);}
.rsvp-form{max-width:560px;margin:0 auto;position:relative;z-index:2;}
.field{margin-bottom:1.1rem;display:flex;flex-direction:column;}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;}
.field label,.field legend{
  font-family:var(--font-label);text-transform:uppercase;letter-spacing:.14em;
  font-size:.66rem;color:var(--muted);margin-bottom:.4rem;padding:0;
}
.field input,.field select,.field textarea{
  font-family:var(--font-body);font-size:1.05rem;color:var(--ink);
  background:var(--white-card);border:1px solid var(--line);border-radius:8px;
  padding:.7rem .9rem;width:100%;transition:border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--olive);box-shadow:0 0 0 3px rgba(91,99,71,.12);
}
.field textarea{resize:vertical;}
fieldset.field{border:none;margin:0 0 1.1rem;padding:0;}
.radio{display:inline-flex;align-items:center;gap:.5rem;margin-right:1.5rem;
  font-family:var(--font-body);text-transform:none;letter-spacing:0;font-size:1rem;color:var(--ink);cursor:pointer;}
.radio input{width:auto;accent-color:var(--olive);}
.btn-submit{display:block;margin:1.6rem auto 0;}
.form-status{text-align:center;margin-top:1rem;min-height:1.4em;font-size:1rem;}
.form-status.ok{color:var(--olive);}
.form-status.err{color:#a8503e;}
.fox-rsvp{width:248px;left:2.5%;bottom:2%;z-index:2;filter:drop-shadow(0 10px 12px rgba(71,78,54,.13));}

/* ===================================================================
   SECTION RHYTHM — calm, generous whitespace carries the cream
   sections (the old mirrored leaf-branch borders were retired; warmth
   now comes from paper + soft shadows + a few grounded foxes)
   =================================================================== */
.intro-section{padding-bottom:5.5rem;}
.hotels-section,.info-section{padding-bottom:6.5rem;}
.rsvp-section{padding-bottom:7rem;}

/* ===================================================================
   WARM PAPER + ONE GREEN ZONE — like the printed-invitation mockup.
   Everything is the warm cream paper EXCEPT one green zone
   (Locations + Anreise + Hotels) and the olive footer. Torn-paper
   edges appear only where the colour changes (into/out of the zone,
   and into the footer).
   =================================================================== */
.locations-section,.anreise-section,.hotels-section{
  background:linear-gradient(180deg,#c5cbab,#c9cfb0);
}
.locations-section{background:linear-gradient(180deg,#c1c7a6,#c5cbab);}

/* torn-paper transitions only at the zone boundaries + the footer */
.locations-section::before,.story-teaser::after,.footer::before{
  content:"";position:absolute;top:-1px;left:0;right:0;height:52px;z-index:5;pointer-events:none;
  background:var(--tf);
  -webkit-mask:url('assets/paper-tear.webp') center top / 100.5% 100% no-repeat;
  mask:url('assets/paper-tear.webp') center top / 100.5% 100% no-repeat;
}
.locations-section{--tf:var(--c-cream);}   /* cream paper tears into the green zone */
.story-teaser{--tf:#c9cfb0;}               /* green zone tears back into cream */
.footer{--tf:var(--c-cream);}              /* cream tears into the olive footer */

/* keep labels readable on the soft-green zone */
.locations-section .eyebrow,.anreise-section .eyebrow,.hotels-section .eyebrow,
.anreise-section .hotel-cat,.hotels-section .hotel-cat{color:#5c6347;}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer{
  background:var(--olive-deep);color:var(--cream);text-align:center;
  padding:8.5rem 1.5rem 3.2rem;position:relative;overflow:hidden;
}
/* festive string-lights draped across the top of the footer */
.string-lights{position:absolute;top:54px;left:0;width:100%;height:74px;z-index:2;pointer-events:none;}
.string-lights .bulbs circle{filter:drop-shadow(0 0 3px rgba(248,222,160,.95)) drop-shadow(0 0 8px rgba(246,210,140,.55));}
@media (prefers-reduced-motion:no-preference){
  .string-lights .bulbs circle{animation:twinkle 3.4s ease-in-out infinite;transform-origin:center;}
  .string-lights .bulbs circle:nth-child(3n){animation-delay:-1.2s;}
  .string-lights .bulbs circle:nth-child(3n+1){animation-delay:-2.4s;}
}
@keyframes twinkle{0%,100%{opacity:.55;}50%{opacity:1;}}
.footer-inner{position:relative;z-index:3;}
.footer-sprig{height:34px;width:auto;margin:0 auto .4rem;opacity:.8;filter:brightness(0) invert(1) opacity(.55);}
.footer-couple{font-family:var(--font-display);font-size:2rem;letter-spacing:.06em;text-transform:uppercase;margin:.3rem 0 0;color:var(--cream);}
.footer-date{font-family:var(--font-display);letter-spacing:.16em;margin:.2rem 0;opacity:.85;}
.footer-tag{font-style:italic;opacity:.8;margin:.4rem 0 0;}
.footer .fox-sleep{width:190px;right:5%;bottom:0;opacity:.95;z-index:2;}
.ft-leaf-l{width:200px;left:-44px;bottom:-10px;z-index:2;transform:scaleX(-1) rotate(8deg);opacity:.7;}
.ft-leaf-r{width:150px;right:-30px;top:30%;z-index:2;transform:rotate(-10deg);opacity:.6;}
.ft-grass-l{width:130px;left:3%;bottom:0;z-index:2;opacity:.65;}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width:860px){
  /* On phones the open menu is position:fixed. A backdrop-filter on .nav would make
     .nav the containing block for that fixed panel (trapping it in the nav bar once
     scrolled), so use a solid background — no blur — on mobile. */
  .nav.scrolled{backdrop-filter:none;-webkit-backdrop-filter:none;background:rgba(245,239,226,.97);}
  .nav-links{
    position:fixed;inset:0 0 0 auto;width:min(80vw,320px);background:var(--cream);z-index:110;
    flex-direction:column;justify-content:center;gap:1.6rem;padding:3rem 2rem;
    transform:translateX(100%);transition:transform .3s ease;box-shadow:-12px 0 40px -12px rgba(40,46,28,.4);
  }
  .nav-links.open{transform:translateX(0);}
  .nav-links a{font-size:.95rem;min-height:44px;display:flex;align-items:center;justify-content:center;}
  /* comfortable thumb targets on phones */
  .radio{min-height:44px;margin-right:1rem;}
  .card-link{display:inline-flex;align-items:center;min-height:40px;}
  .venue-links{gap:.2rem 1.2rem;}
  body{padding-bottom:0;}
  .nav-rsvp{display:none;}
  .nav-toggle{display:flex;margin-left:auto;}

  /* Mobile-Hero: Bild blendet nach unten in Creme aus, Countdown sitzt darunter auf Creme */
  .hero{
    display:block;min-height:0;padding:0;
    background:var(--cream);
  }
  .hero-stage{
    position:relative;max-width:none;height:82vh;height:82svh;min-height:580px;
    /* focus lower in the painting (more sky/lights up top) so the date never lands on a face */
    background:url('assets/hero-bg-mobile.png') center 22% / cover no-repeat;
    background:image-set(url('assets/hero-bg-mobile.avif') type('image/avif'),
              url('assets/hero-bg-mobile.webp') type('image/webp')) center 22% / cover no-repeat;
  }
  /* soft cream scrim at the top so the title stays readable over the image */
  .hero-stage::before{
    content:"";position:absolute;left:0;right:0;top:0;height:42%;pointer-events:none;z-index:1;
    background:linear-gradient(180deg, rgba(245,239,226,.78) 0%, rgba(245,239,226,.45) 38%, rgba(245,239,226,0) 100%);
  }
  .hero-stage::after{
    content:"";position:absolute;left:0;right:0;bottom:-1px;height:30%;pointer-events:none;
    background:url('assets/wc-fade.png') center bottom / 100% 100% no-repeat;
  }
  .hero-fade{display:none;}
  .hero-content{
    position:absolute;left:0;right:0;top:2.4rem;margin-top:0;z-index:2;
    max-width:none;text-align:center;padding:0 1.2rem;
  }
  .couple{font-size:clamp(1.95rem,7.8vw,2.8rem);text-shadow:0 1px 12px rgba(245,239,226,.95),0 0 3px rgba(245,239,226,.8);}
  .kicker{margin-top:.4rem;font-size:.75rem;letter-spacing:.3em;text-shadow:0 1px 8px rgba(245,239,226,.95);}
  .hero-content .divider{margin:.45rem auto;}
  .hero-sprig{height:30px;margin:0 auto .15rem;}
  .wed-date{
    font-size:1.25rem;margin-top:.4rem;display:inline-block;
    padding:.18em .9em;border-radius:999px;
    background:rgba(245,239,226,.62);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
    text-shadow:0 0 4px rgba(245,239,226,.9);
  }
  .countdown{
    justify-content:center;align-self:auto;max-width:none;width:auto;
    margin:-2rem auto 0;padding:.2rem 1rem 2.6rem;
  }
  .scroll-down{display:none;}
  .deco.fox-leaping{display:none;}

  .intro-section{padding-bottom:3.5rem;}
  .hotels-section,.info-section{padding-bottom:4.25rem;}
  .rsvp-section{padding-bottom:1.5rem;}
  /* tighter footer on phones: lights sit higher & smaller so the name isn't pushed far down */
  .footer{padding-top:5.5rem;}
  .footer .string-lights{top:30px;height:54px;}
  .footer-sprig{height:28px;}
  .footer .divider.light{margin-top:.6rem;}

  .timeline{grid-template-columns:1fr;gap:0;max-width:360px;margin:0 auto;padding-left:6px;}
  .timeline::before{top:38px;bottom:38px;left:37px;right:auto;width:2px;height:auto;}
  .tl-item::before{display:none;}
  .tl-item{
    display:grid;grid-template-columns:62px 1fr;column-gap:1.2rem;
    grid-template-areas:"icon time" "icon name" "icon place";
    align-items:center;text-align:left;padding:.75rem 0;
  }
  .tl-icon{grid-area:icon;grid-row:1 / 4;align-self:center;width:62px;height:62px;margin:0;}
  .tl-icon img{width:38px;height:38px;}
  .tl-time{grid-area:time;font-size:1.35rem;}
  .tl-name{grid-area:name;margin:.12rem 0 .1rem;}
  .tl-place{grid-area:place;text-align:left;}

  .cards,.hotels{grid-template-columns:1fr;max-width:440px;}
  .hotel{justify-content:flex-start;text-align:left;}
  .field-row{grid-template-columns:1fr;}
  .fox-rsvp,.fox-cub-hotel{display:none;}
  .fox-hotels{width:92px;right:3%;bottom:.6rem;}
  .fox-info{width:78px;left:3%;bottom:.6rem;}
  .frame-leaf{width:86px;top:8px;}
  .fl-tl{left:2px;}
  .fl-tr{right:2px;}
  .info-grid{grid-template-columns:1fr;max-width:420px;gap:1.4rem;}
  .intro-text{font-size:1.06rem;}
  .story-fox-l{width:74px;left:1%;bottom:2%;}
  .story-fox-r{width:66px;right:1%;bottom:1%;}
  .story-teaser-text{padding:0 .5rem;}
  .fox-sit-tl{width:128px;right:2%;}
}

@media (max-width:430px){
  body{font-size:17px;}
  .countdown{gap:.1rem;}
  .cd-cell{min-width:58px;}
  .cd-sep{margin:0 .1rem;}
}

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

/* ===================================================================
   UNSERE GESCHICHTE (eigene Seite)
   =================================================================== */
.story-hero{
  position:relative;text-align:center;padding:8.5rem 1.5rem 5rem;overflow:hidden;
  background:
    linear-gradient(180deg, rgba(245,239,226,.18) 0%, rgba(245,239,226,0) 35%, rgba(245,239,226,.55) 78%, var(--cream) 100%),
    url('assets/story-hero.png') center top / cover no-repeat,
    var(--cream);
  background:
    linear-gradient(180deg, rgba(245,239,226,.18) 0%, rgba(245,239,226,0) 35%, rgba(245,239,226,.55) 78%, var(--cream) 100%),
    image-set(url('assets/story-hero.avif') type('image/avif'),
              url('assets/story-hero.webp') type('image/webp')) center top / cover no-repeat,
    var(--cream);
}
.story-hero-inner{position:relative;z-index:3;max-width:620px;margin:0 auto;}
.story-hero-sprig{height:42px;width:auto;margin:0 auto .7rem;opacity:.85;}
.story-hero .eyebrow{margin-bottom:.4rem;}
.story-hero .story-script{font-family:var(--font-display);font-style:italic;font-weight:400;font-size:clamp(2rem,6vw,3.2rem);color:var(--muted);line-height:.9;margin:0;}
.story-hero h1{
  font-family:var(--font-display);font-weight:600;text-transform:uppercase;
  letter-spacing:.05em;font-size:clamp(2.6rem,9vw,5rem);color:var(--olive);margin:.1rem 0 0;
  overflow-wrap:break-word;line-height:1;
}
.story-hero .divider{margin:1.2rem auto;}
.story-hero .story-sub{font-family:var(--font-display);font-style:italic;font-size:1.3rem;color:var(--ink);margin:0;}
.story-hero-leaf{position:absolute;width:320px;z-index:1;opacity:.9;pointer-events:none;}
.shl-tl{top:-34px;left:-56px;transform:scaleX(-1) rotate(-7deg);}
.shl-tr{top:-34px;right:-56px;transform:rotate(-7deg);}
.story-hero-fox{position:absolute;bottom:-6px;z-index:2;pointer-events:none;filter:drop-shadow(0 10px 12px rgba(71,78,54,.16));}
.shf-l{left:5%;width:140px;}
.shf-r{right:5%;width:120px;}

.story-body{
  background:radial-gradient(120% 60% at 50% 0%, var(--cream-glow) 0%, var(--cream) 45%);
  padding:4.5rem 1.5rem 5.5rem;position:relative;overflow:hidden;
}
/* faint oversized fox painted behind the chapters — depth, like the invitation */
.story-body::before{
  content:"";position:absolute;top:6%;left:50%;transform:translateX(-50%);
  width:640px;max-width:88%;aspect-ratio:1/1;z-index:0;pointer-events:none;opacity:.055;
  background:url('assets/cropped_illustrations/fox-sit-left.webp') center top / contain no-repeat;
}
.story-mid-fox{position:absolute;z-index:1;pointer-events:none;opacity:.95;}
.smf-1{left:2%;top:26%;width:120px;transform:scaleX(-1);}
.smf-2{right:1%;top:55%;width:110px;}
.chapters{max-width:960px;margin:0 auto;position:relative;z-index:2;}
.chapter{
  display:flex;align-items:center;gap:2.6rem;
  background:var(--white-card);border:1px solid rgba(255,255,255,.55);border-radius:18px;
  box-shadow:var(--shadow);
  padding:1.4rem;margin:0 0 2.4rem;
  transition:transform .3s ease, box-shadow .3s ease;
}
.chapter:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover);}
.chapter:nth-child(even){flex-direction:row-reverse;}
.chapter-photo{flex:0 0 46%;margin:0;position:relative;}
.chapter-photo picture{display:block;}
.chapter-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:12px;}
/* portrait-source photos get a taller frame + tuned crop so faces/ring aren't clipped */
.chapter-photo img.op-ring{aspect-ratio:4/5;object-position:50% 58%;}
.chapter-photo img.op-stage{aspect-ratio:4/5;object-position:50% 12%;}
.chapter-photo img.op-wg{aspect-ratio:4/5;object-position:50% 20%;}
/* proposal photo: keep its native landscape ratio so the labels aren't cropped */
.chapter-photo img.op-antrag{aspect-ratio:2000/1414;object-position:center;}
/* finale (studio portrait, landscape): wider, centred payoff image */
.chapter-feature .chapter-photo img{aspect-ratio:3/2;}
.chapter-photo figcaption{
  font-family:var(--font-label);text-transform:uppercase;letter-spacing:.18em;font-size:.58rem;
  color:var(--muted);text-align:center;margin-top:.6rem;
}
/* painted-fox vignette panel — a warm little woodland scene per chapter */
.chapter-art{
  flex:0 0 42%;margin:0;position:relative;aspect-ratio:4/3;border-radius:12px;overflow:hidden;
  display:flex;align-items:flex-end;justify-content:center;
  background:
    url('assets/paper-texture.webp') 0 0 / 200px auto repeat,
    radial-gradient(70% 58% at 50% 30%, #fdf7ea 0%, #f3ead7 55%, #e7d9bf 100%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.6), inset 0 -40px 60px -40px rgba(120,98,60,.35), var(--shadow-soft);
}
/* soft painted ground the fox sits on + a faint botanical sprig in the corner */
.chapter-art::before{
  content:"";position:absolute;left:8%;right:8%;bottom:9%;height:22%;border-radius:50%;
  background:radial-gradient(50% 60% at 50% 50%, rgba(120,104,66,.22), rgba(120,104,66,0) 72%);
}
.chapter-art::after{
  content:"";position:absolute;right:-6px;top:-4px;width:46%;height:60%;
  background:url('assets/cropped_illustrations/leaf-sprig.webp') right top / contain no-repeat;
  opacity:.16;transform:rotate(6deg);pointer-events:none;
}
.chapter:nth-child(even) .chapter-art::after{right:auto;left:-6px;transform:scaleX(-1) rotate(6deg);}
.chapter-art img{position:relative;z-index:1;width:auto;max-height:82%;max-width:78%;margin-bottom:6%;
  filter:drop-shadow(0 9px 12px rgba(71,78,54,.22));}
.chapter-body{flex:1;padding:.4rem 1rem;}

/* ---- Der Fuchs: the site's motif gets its own centred "symbol" chapter ---- */
.chapter-symbol{
  flex-direction:column;text-align:center;gap:.4rem;padding:2.8rem 1.4rem 2.4rem;overflow:hidden;
  background:
    radial-gradient(60% 70% at 50% 34%, #fbf3e3 0%, var(--white-card) 68%);
}
.chapter-symbol:nth-child(even){flex-direction:column;}   /* never reverse */
.chapter-symbol .symbol-script{
  font-family:var(--font-display);font-style:italic;font-size:1.5rem;color:var(--muted);margin:0;
}
.symbol-art{margin:.2rem 0 .4rem;position:relative;}
.symbol-art::before{
  content:"";position:absolute;left:50%;top:52%;transform:translate(-50%,-50%);
  width:280px;height:280px;border-radius:50%;
  background:radial-gradient(50% 50% at 50% 50%, rgba(181,133,74,.20), rgba(181,133,74,0) 70%);
}
.symbol-art img{position:relative;z-index:1;width:auto;height:224px;
  filter:drop-shadow(0 12px 16px rgba(71,78,54,.22));}
.chapter-symbol .chapter-body{flex:0 1 auto;max-width:56ch;padding:0 1rem;}
.chapter-symbol h2{font-size:2.1rem;margin:0 0 .8rem;}

.chapter-when{font-family:var(--font-label);text-transform:uppercase;letter-spacing:.2em;font-size:.64rem;color:var(--muted);margin:0 0 .3rem;}
.chapter-body h2{font-size:1.9rem;margin:0 0 .8rem;}
.chapter-body p{font-size:1.05rem;line-height:1.8;color:var(--ink);margin:0;text-wrap:pretty;}
.story-closing{max-width:600px;margin:3rem auto 0;text-align:center;position:relative;z-index:2;}
.story-closing .divider{margin:1.4rem auto;}
.story-closing p{font-family:var(--font-display);font-style:italic;font-size:1.45rem;color:var(--olive);line-height:1.6;}
.story-back{text-align:center;margin-top:2.6rem;}
.story-deco-fox{position:absolute;width:130px;left:3%;bottom:4%;z-index:1;}
.story-deco-leaf{position:absolute;width:150px;right:-30px;top:8%;z-index:1;transform:rotate(8deg);opacity:.8;}

@media (max-width:780px){
  .chapter,.chapter:nth-child(even){flex-direction:column;gap:1.2rem;padding:1.2rem;}
  .chapter-photo,.chapter-art{flex:0 0 auto;width:100%;}
  .chapter-photo img{aspect-ratio:16/10;}
  .chapter-feature .chapter-photo img{aspect-ratio:3/2;}
  /* portrait photos: keep tall crop but centre & cap so they don't dominate on phones */
  .chapter-photo img.op-ring,.chapter-photo img.op-stage,.chapter-photo img.op-wg{aspect-ratio:4/5;max-width:300px;margin:0 auto;}
  .chapter-art{aspect-ratio:16/9;}
  .chapter-body{padding:0 .4rem 1rem;text-align:center;}
  /* eyebrow labels: smaller + tighter so the date doesn't wrap awkwardly */
  .chapter-when{font-size:.6rem;letter-spacing:.14em;}
  .story-deco-fox,.story-deco-leaf,.story-mid-fox{display:none;}
}
@media (max-width:780px){
  .story-hero-leaf{width:170px;top:-14px;}
  .shl-tl{left:-46px;}.shl-tr{right:-46px;}
  .story-hero-fox{display:none;}
  .story-mid-fox{display:none;}
}
@media (max-width:480px){
  .story-hero{padding-top:7rem;}
  .story-hero .story-script{font-size:1.6rem;}
  .story-hero h1{font-size:2rem;letter-spacing:.015em;}
  .story-hero .story-sub{font-size:1.05rem;}
}

/* lower-section foxes: keep them grounded but smaller on phones */
@media (max-width:600px){
  .story-fox-r{width:120px;right:3%;}
  .fox-rsvp{width:118px;left:2%;bottom:2%;}
  .intro-fox-bg{width:108%;}
}
