/* ==========================================================================
   Katharina & Sascha – Hochzeitswebseite · Entwurf LY01
   Aufbau entspricht Enfold-Farbsektionen: jede <section> = eine Color Section
   mit eigener Klasse (…-section). Siehe Uebergabe_LY01.md
   ========================================================================== */

:root {
  --paper: #fbf8f3;        /* main background */
  --paper-alt: #f4eee5;    /* alternate background */
  --white: #ffffff;
  --ink: #3e2f26;          /* Text, wie Einladung */
  --ink-soft: #6e5c50;
  --blue: #7f9cb8;         /* Aquarell-Blau, Akzent */
  --blue-deep: #56728f;
  --line: #e2d8cb;
  --serif: 'EB Garamond', Garamond, 'Times New Roman', serif;
  --script: 'Corinthia', 'Brush Script MT', cursive;
  --container: 1240px;
  --pad-section: 140px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 30px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-intro { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 20px; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
.ph { color: #b0664b; font-size: 12px; letter-spacing: .1em; vertical-align: super; }

/* Papierstruktur über allem, sehr leise */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .2 0 0 0 0 .15 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .55; mix-blend-mode: multiply;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 40px; position: relative; z-index: 2; }
.container--narrow { max-width: 900px; }
.section { padding: var(--pad-section) 0; position: relative; }
.section--alt { background: var(--paper-alt); }

/* ---------- Typografie-System ------------------------------------------ */
.script-title {
  font-family: var(--script);
  font-size: 92px; line-height: 1; color: var(--ink);
  margin-bottom: 40px; letter-spacing: 0;
}
.script-sub { font-family: var(--script); font-size: 64px; line-height: 1; margin: 6px 0 0; }
.caps-xl, .caps-hero, .caps-sub, .kicker, .btn, .main-nav a, .countdown__label, .timeline__t, .hotel__place {
  text-transform: uppercase; font-weight: 400;
}
.caps-sub { font-size: 18px; letter-spacing: .28em; line-height: 30px; }
.kicker { font-size: 14px; letter-spacing: .3em; line-height: 30px; color: var(--ink-soft); margin: 0; }
.lead { font-size: 22px; line-height: 36px; font-style: italic; color: var(--ink); }
.note { font-style: italic; color: var(--ink-soft); margin-top: 20px; }
.rule { display: block; width: 60px; height: 1px; background: var(--blue); margin: 22px 0 26px; }
.center .rule, .rule.center { margin-left: auto; margin-right: auto; }

.script-and {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-family: var(--script); font-size: 1.45em; line-height: .8; text-transform: none; letter-spacing: 0;
}
.script-and::before, .script-and::after { content: ''; height: 1px; width: 3.2em; background: currentColor; opacity: .55; }

/* ---------- Buttons (ein Stil für alle) ------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 36px;
  font-family: var(--serif); font-size: 14px; letter-spacing: .28em; line-height: 1;
  color: var(--ink); background: transparent;
  border: 1px solid var(--ink); border-radius: 0;
  text-decoration: none; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--paper); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn--light { color: #fff; border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.08); }
.btn--light:hover { background: #fff; color: var(--ink); }

/* ---------- Karten ---------------------------------------------------- */
.card { background: var(--white); padding: 56px; box-shadow: 0 1px 2px rgba(62,47,38,.04), 0 10px 30px -18px rgba(62,47,38,.18); }

/* ---------- Header --------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 40px;
  height: 84px; padding: 0 48px;
  transition: background .4s var(--ease), height .4s var(--ease), box-shadow .4s;
}
.site-header.is-scrolled { background: rgba(251,248,243,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); height: 68px; box-shadow: 0 1px 0 var(--line); }
.brand { font-size: 24px; letter-spacing: .12em; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--blue); margin: 0 2px; }
.main-nav { display: flex; gap: 32px; margin-left: auto; }
.main-nav a { font-size: 13px; letter-spacing: .24em; text-decoration: none; position: relative; padding: 6px 0; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.lang { display: flex; align-items: center; gap: 6px; font-size: 13px; letter-spacing: .2em; }
.lang span { opacity: .35; }
.lang button { background: none; border: 0; padding: 6px 2px; font: inherit; letter-spacing: inherit; color: var(--ink); opacity: .45; cursor: pointer; }
.lang button.is-active { opacity: 1; }
.burger { display: none; }

/* ---------- Hero ------------------------------------------------------ */
.hero-section { position: relative; height: 100vh; height: 100svh; min-height: 680px; overflow: hidden; background: var(--paper); }
/* Aquarell läuft nach oben weich ins Papier aus – Namen stehen auf dem Papier */
.hero__media { position: absolute; left: 0; right: 0; bottom: 0; top: 33%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.55) 14%, #000 32%); mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.55) 14%, #000 32%); }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transform-origin: 50% 40%; animation: kenburns 24s var(--ease) both; animation-play-state: paused; }
.hero-go .hero__media img { animation-play-state: running; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,28,20,0) 70%, rgba(40,28,20,.22) 100%); }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__content { position: relative; z-index: 2; text-align: center; padding-top: max(11vh, 100px); }
.hero__names { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.caps-hero { font-size: clamp(34px, 4.2vw, 68px); letter-spacing: .26em; line-height: 1.05; padding-left: .26em; }
.script-and--hero { font-size: clamp(48px, 4.6vw, 78px); margin: 0 0 6px; color: var(--ink); }
.hero__meta { margin-top: 22px; font-size: 15px; letter-spacing: .3em; text-transform: uppercase; display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero__meta .sep { width: 1px; height: 18px; background: currentColor; opacity: .5; }
.hero__scroll { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); z-index: 2; color: #fff; text-decoration: none; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero__scroll i { width: 1px; height: 56px; background: linear-gradient(#fff, rgba(255,255,255,0)); animation: drip 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Welcome --------------------------------------------------- */
.welcome__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 90px; align-items: center; }
.aq { mix-blend-mode: multiply; }
.welcome__art { position: relative; }
.signature { font-family: var(--script); font-size: 48px; line-height: 1; margin-top: 30px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 860px; margin: 100px auto 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.countdown__item { text-align: center; padding: 34px 10px 30px; position: relative; }
.countdown__item + .countdown__item::before { content: ''; position: absolute; left: 0; top: 30%; bottom: 30%; width: 1px; background: var(--line); }
.countdown__num { display: block; font-size: 64px; line-height: 1; font-variant-numeric: tabular-nums lining-nums; color: var(--ink); }
.countdown__label { display: block; margin-top: 14px; font-size: 13px; letter-spacing: .3em; color: var(--ink-soft); line-height: 1; }

/* ---------- Weekend --------------------------------------------------- */
.weekend__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.event-card { text-align: center; display: flex; flex-direction: column; }
.event-card__art { margin: auto auto -20px; padding-top: 30px; width: 100%; max-width: 460px; mix-blend-mode: multiply; }
.event-card .rule { margin-left: auto; margin-right: auto; }
.facts { list-style: none; padding: 26px 0 0; margin: 26px 0 0; border-top: 1px solid var(--line); }
.facts li { font-style: italic; }
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 340px; text-align: left; position: relative; }
.timeline::before { content: ''; position: absolute; left: 64px; top: 22px; bottom: 22px; width: 1px; background: var(--ink); opacity: .55; transform-origin: top; transform: scaleY(var(--line-progress, 1)); }
.timeline li { display: grid; grid-template-columns: 44px 1fr; gap: 42px; align-items: center; min-height: 72px; position: relative; }
.timeline li::after { content: ''; position: absolute; left: 61px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--ink); }
.timeline__t { display: block; font-size: 15px; letter-spacing: .2em; line-height: 24px; }
.timeline__time { display: block; font-size: 15px; letter-spacing: .2em; line-height: 24px; color: var(--blue-deep); }
.ico { width: 44px; height: 44px; background: var(--ink); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ico--sonne { --m: url(../icons/icon-sonne.svg); }
.ico--ringe { --m: url(../icons/icon-ringe.svg); }
.ico--cocktails { --m: url(../icons/icon-cocktails.svg); }
.ico--cloche { --m: url(../icons/icon-cloche.svg); }
.ico--torte { --m: url(../icons/icon-torte.svg); }
.ico--discokugel { --m: url(../icons/icon-discokugel.svg); }

/* ---------- Parallax-Band -------------------------------------------- */
.parallax-section { height: 62vh; min-height: 380px; overflow: hidden; position: relative; }
.parallax__img { position: absolute; inset: -18% 0; background-size: cover; background-position: center 40%; will-change: transform; filter: saturate(.72) brightness(1.04); }

/* ---------- Son Marroig ----------------------------------------------- */
.location__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; align-items: center; }
.address { font-style: italic; margin: 30px 0 36px; padding-left: 22px; border-left: 1px solid var(--blue); }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: 300px 300px; gap: 16px; margin-top: 110px; }
.gallery a { overflow: hidden; display: block; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.g1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.g2 { grid-column: 3 / 5; }
.g3 { grid-column: 5 / 7; grid-row: 1 / 3; }
.g4 { grid-column: 3 / 4; }
.g5 { grid-column: 4 / 5; }
.g1 img { object-position: 50% 30%; }

/* ---------- Travel ---------------------------------------------------- */
.travel__info { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-card .rule, .transfer .rule { margin-left: 0; }
.travel__hotels-title { margin: 110px 0 50px; }
.hotels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.hotel { padding: 0; display: flex; flex-direction: column; }
.hotel__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.hotel__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hotel:hover .hotel__img img { transform: scale(1.05); }
.hotel__place { position: absolute; left: 20px; bottom: 18px; background: rgba(251,248,243,.92); padding: 4px 14px; font-size: 12px; letter-spacing: .26em; line-height: 24px; }
.hotel__body { padding: 40px 40px 44px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.hotel__name { font-size: 26px; line-height: 34px; margin-bottom: 14px; }
.hotel__body p { flex: 1; }
.transfer { margin-top: 40px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center; }
.transfer__times { margin: 0; display: grid; gap: 0; border-left: 1px solid var(--line); padding-left: 50px; }
.transfer__times div { padding: 16px 0; }
.transfer__times div + div { border-top: 1px solid var(--line); }
.transfer__times dt { font-size: 14px; letter-spacing: .28em; text-transform: uppercase; }
.transfer__times dd { margin: 0; font-style: italic; color: var(--ink-soft); }

/* ---------- RSVP ------------------------------------------------------ */
.rsvp-section { overflow: hidden; }
.rsvp__bg { position: absolute; inset: 0; display: flex; justify-content: flex-start; align-items: center; pointer-events: none; }
.rsvp__bg img { width: 46%; max-width: 760px; mix-blend-mode: multiply; opacity: .55; -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent); mask-image: linear-gradient(90deg, #000 55%, transparent); }
.rsvp__wrap { display: flex; justify-content: flex-end; }
.rsvp__card { width: 100%; max-width: 760px; padding: 70px 72px; }
.rsvp__card .script-title { margin-bottom: 18px; }
.rsvp-form { margin-top: 40px; }
.field { display: block; margin: 0 0 28px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { display: block; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; line-height: 24px; margin-bottom: 8px; padding: 0; }
.field input[type=text], .field input[type=email], .field textarea {
  width: 100%; font: inherit; font-size: 16px; line-height: 30px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 8px 0; border-radius: 0; outline: none;
  transition: border-color .3s;
}
.field textarea { resize: vertical; border: 1px solid var(--line); padding: 10px 14px; }
.field input:focus, .field textarea:focus { border-color: var(--blue-deep); }
.field.is-invalid input { border-color: #b0664b; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.choice-row { display: flex; gap: 14px; flex-wrap: wrap; }
.choice { flex: 1 1 200px; position: relative; cursor: pointer; }
.choice input, .pill input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 56px; padding: 10px 18px; border: 1px solid var(--line); transition: all .3s var(--ease); }
.choice input:checked + span { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:focus-visible + span, .pill input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.rsvp__yes { overflow: hidden; transition: opacity .4s; }
.rsvp__yes.is-hidden { display: none; }
.field--count { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.field--count > span { margin: 0; }
.stepper { display: flex; align-items: center; }
.stepper button { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 20px; color: var(--ink); cursor: pointer; }
.stepper button:hover { border-color: var(--ink); }
.stepper input { width: 56px; text-align: center; border: 0; font: inherit; font-size: 22px; background: transparent; color: var(--ink); -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.guest { padding: 30px 0 4px; border-bottom: 1px solid var(--line); animation: guestIn .5s var(--ease); }
@keyframes guestIn { from { opacity: 0; transform: translateY(10px); } }
.guest__label { font-family: var(--script); font-size: 38px; line-height: 1; margin-bottom: 18px; }
.menu-choice { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.pill { position: relative; cursor: pointer; }
.pill span { display: inline-block; padding: 6px 16px; border: 1px solid var(--line); border-radius: 30px; font-size: 16px; line-height: 26px; transition: all .3s; }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.rsvp-form .btn--solid { margin-top: 16px; min-width: 260px; }
.rsvp__thanks { text-align: center; padding: 20px 0; }
.rsvp__seal { width: 150px; height: 150px; margin: 0 auto 20px; }
.rsvp__seal .wax-seal { width: 100%; height: 100%; }

/* ---------- FAQ (Enfold: Toggles) ------------------------------------ */
.faq details { border-bottom: 1px solid var(--line); background: transparent; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 60px 26px 0; position: relative; font-size: 20px; line-height: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 16px; height: 1px; background: var(--ink); transition: transform .4s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { padding: 0 60px 10px 0; color: var(--ink-soft); }
.faq .faq__body { overflow: hidden; }

/* ---------- Memories ------------------------------------------------- */
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 50px; padding: 64px 30px; border: 1px dashed #c9b9a6; background: rgba(255,255,255,.6); cursor: pointer; text-align: center; transition: background .3s, border-color .3s; }
.dropzone:hover, .dropzone.is-over { background: #fff; border-color: var(--blue-deep); }
.dropzone input { position: absolute; opacity: 0; pointer-events: none; width: 1px; }
.dropzone__icon { width: 48px; height: 48px; border: 1px solid var(--ink); border-radius: 50%; position: relative; margin-bottom: 8px; }
.dropzone__icon::before, .dropzone__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 1px; background: var(--ink); transform: translate(-50%, -50%); }
.dropzone__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.dropzone__title { font-size: 20px; }
.dropzone__hint { font-style: italic; color: var(--ink-soft); margin-bottom: 18px; }
.mem-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 30px; }
.mem-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; animation: guestIn .5s var(--ease); }

/* ---------- Footer --------------------------------------------------- */
.site-footer { position: relative; text-align: center; padding: 120px 0 50px; background: var(--paper); overflow: hidden; }
.footer__hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 150px; object-fit: cover; object-position: top; mix-blend-mode: multiply; opacity: .9; }
.footer__inner { position: relative; z-index: 2; padding: 0 20px 120px; }
.footer__inner .script-title { margin-bottom: 20px; }
.footer__mono { font-size: 30px; letter-spacing: .14em; margin-bottom: 10px; }
.footer__mono span { color: var(--blue); }
.footer__links { margin-top: 30px; display: flex; gap: 30px; justify-content: center; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; }
.footer__links a { text-decoration: none; opacity: .7; }

/* ---------- Lightbox ------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(30,22,17,.88); display: flex; align-items: center; justify-content: center; padding: 40px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: 92vw; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lightbox button { position: absolute; top: 18px; right: 24px; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; }

/* ---------- Reveal (Startzustand nur wenn JS läuft) ------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-anim="hero"] { opacity: 0; }

/* ==========================================================================
   Tablet / Mobil
   ========================================================================== */
@media (max-width: 1180px) {
  .main-nav { gap: 22px; }
  .main-nav a { letter-spacing: .16em; font-size: 12px; }
}
@media (max-width: 1023px) {
  :root { --pad-section: 100px; }
  .site-header { padding: 0 24px; gap: 20px; }
  .burger { display: block; position: relative; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; z-index: 60; }
  .burger span:not(.sr-only) { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
  .burger span:nth-child(1) { top: 18px; }
  .burger span:nth-child(2) { top: 26px; }
  .burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
  .lang { margin-left: auto; }
  .main-nav {
    position: fixed; inset: 0; z-index: 55; margin: 0;
    background: var(--paper); flex-direction: column; align-items: center; justify-content: center; gap: 26px;
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .main-nav a { font-size: 16px; letter-spacing: .28em; }
  .welcome__grid, .location__grid { grid-template-columns: 1fr; gap: 50px; }
  .location__art { order: -1; }
  .weekend__grid, .travel__info { grid-template-columns: 1fr; }
  .hotels { grid-template-columns: 1fr 1fr; }
  .transfer { grid-template-columns: 1fr; gap: 30px; }
  .transfer__times { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .rsvp__bg { align-items: flex-start; }
  .rsvp__bg img { width: 100%; opacity: .35; -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); mask-image: linear-gradient(180deg, #000 40%, transparent); }
  .rsvp__wrap { justify-content: center; }
}
@media (max-width: 767px) {
  :root { --pad-section: 80px; }
  html { scroll-padding-top: 64px; }
  .container { padding: 0 16px; }
  .site-header, .site-header.is-scrolled { height: 64px; padding: 0 12px 0 16px; }
  .script-title { font-size: 64px; margin-bottom: 28px; }
  .script-sub { font-size: 50px; }
  .lead { font-size: 20px; line-height: 32px; }
  .card { padding: 40px 24px; }
  .hero__content { padding-top: 108px; }
  .caps-hero { letter-spacing: .18em; padding-left: .18em; }
  .hero__meta { font-size: 13px; letter-spacing: .22em; flex-direction: column; gap: 4px; margin-top: 20px; }
  .hero__meta .sep { display: none; }
  .welcome__text, .location__text { text-align: center; }
  .address { border-left: 0; padding-left: 0; }
  .countdown { grid-template-columns: repeat(2, 1fr); margin-top: 60px; }
  .countdown__item:nth-child(3)::before { display: none; }
  .countdown__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .countdown__num { font-size: 48px; }
  .timeline li { gap: 34px; grid-template-columns: 40px 1fr; }
  .timeline::before { left: 57px; }
  .timeline li::after { left: 54px; }
  .ico { width: 40px; height: 40px; }
  .timeline__t, .timeline__time { font-size: 13px; letter-spacing: .16em; }
  .parallax-section { height: 44vh; min-height: 260px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 200px; margin-top: 60px; gap: 10px; }
  .g1 { grid-column: 1 / 3; grid-row: auto; }
  .g2, .g3, .g4, .g5 { grid-column: auto; grid-row: auto; }
  .g1 { grid-row: span 2; }
  .hotels { grid-template-columns: 1fr; }
  .hotel__body { padding: 30px 24px 34px; align-items: center; text-align: center; }
  .info-card, .transfer__text { text-align: center; }
  .info-card .rule, .transfer .rule { margin-left: auto; }
  .transfer__times { text-align: center; }
  .travel__hotels-title { margin: 70px 0 34px; }
  .rsvp__card { padding: 50px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .faq summary { font-size: 18px; padding-right: 44px; }
  .footer__hills { height: 90px; }
  .footer__links { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-anim="hero"] { opacity: 1; transform: none; }
}
