/* ==========================================================
   Csilla & Miklós – esküvői weboldal
   A színeket a js/config.js palettái állítják (CSS változók).
   ========================================================== */

:root {
  --bg: #FAF7F0;
  --band: #185844;
  --band-text: #D2B57A;
  --accent: #185844;
  --rule: #B08A4F;
  --text: #102F27;
  --tint: color-mix(in srgb, var(--rule) 10%, var(--bg));
  --card: color-mix(in srgb, #fff 70%, var(--bg));
  --line: color-mix(in srgb, var(--text) 14%, transparent);

  --script: "Great Vibes", cursive;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;

  --radius: 14px;
  --maxw: 1100px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background .5s var(--ease), color .5s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }

/* ---------- Navigáció ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem clamp(1rem, 4vw, 2.5rem);
  background: color-mix(in srgb, var(--band) 94%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px -14px rgba(0,0,0,.45);
  transition: background .5s var(--ease);
}
.nav__brand {
  font-family: var(--script); font-size: 1.9rem; line-height: 1;
  color: var(--band-text); text-decoration: none; white-space: nowrap;
}
.nav__brand span { color: var(--band-text); opacity: .75; }
.nav__links {
  display: flex; gap: clamp(.6rem, 2vw, 1.6rem); align-items: center;
  overflow-x: auto; scrollbar-width: none;
}
.nav__links::-webkit-scrollbar { display: none; }
.nav__links a {
  font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--band-text); opacity: .85; text-decoration: none; white-space: nowrap; padding: .3rem 0;
  transition: opacity .2s;
}
.nav__links a:hover { opacity: 1; }
.nav__cta { border: 1px solid var(--band-text); border-radius: 999px; padding: .35rem .9rem !important; opacity: 1 !important; }
.nav__cta:hover { background: var(--band-text); color: var(--band) !important; }

/* ---------- Nyitókép ---------- */
.hero {
  position: relative;
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: minmax(240px, 38%) 1fr;
  gap: clamp(1.5rem, 5vw, 4rem); align-items: center;
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem);
  min-height: min(calc(100svh - 60px), 880px);
}
.hero__photo { position: relative; z-index: 1; }
.hero__photo img {
  width: 100%; aspect-ratio: 3/7.6; object-fit: cover; object-position: 56% 40%;
  filter: grayscale(1) contrast(1.08);
  border: 8px solid var(--card); box-shadow: 0 18px 50px -20px rgba(0,0,0,.35);
}
.band {
  position: absolute; left: 0; right: 0; top: clamp(4rem, 9vw, 8rem); z-index: 2;
  height: clamp(64px, 9vw, 96px);
  background: var(--band);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.5);
  transition: background .5s var(--ease);
}
.band span { font-family: var(--script); color: var(--band-text); font-size: clamp(2rem, 5vw, 3.4rem); transition: color .5s var(--ease); }
.hero__text { text-align: center; position: relative; z-index: 3; padding-top: clamp(3rem, 7vw, 6rem); }
.eyebrow { font-size: 1.05rem; margin: 0 0 1rem; }
.names { margin: 0; font-weight: 400; font-family: var(--script); color: var(--accent); line-height: .95; }
.names span { display: block; font-size: clamp(4rem, 10vw, 7rem); }
.names .amp { font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--rule); }
.daterow {
  display: inline-grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  margin: 1.8rem auto .4rem; font-family: var(--serif);
}
.daterow span { font-weight: 600; letter-spacing: .22em; text-transform: uppercase; font-size: 1rem; padding: 0 1.1rem; }
.daterow span:first-child { text-align: right; }
.daterow b {
  font-size: 3rem; color: var(--accent); font-weight: 700; line-height: 1;
  padding: .1rem 1.1rem; border-left: 1px solid var(--rule); border-right: 1px solid var(--rule);
  font-variant-numeric: lining-nums;
}
.year { letter-spacing: .25em; text-transform: uppercase; font-size: .85rem; margin: .4rem 0 1.4rem; }
.year em { text-transform: none; letter-spacing: 0; font-size: 1.1rem; }

.countdown { display: flex; justify-content: center; gap: .6rem; margin: 0 0 1.8rem; flex-wrap: wrap; }
.countdown div {
  min-width: 70px; padding: .6rem .5rem; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
}
.countdown b { display: block; font-size: 1.8rem; color: var(--accent); line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }
.countdown small { font-family: var(--sans); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; }

.btn {
  display: inline-block; cursor: pointer; border: 0;
  font-family: var(--sans); font-size: .85rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--band-text); background: var(--band);
  padding: 1rem 2.2rem; border-radius: 999px; text-decoration: none;
  box-shadow: 0 10px 24px -14px var(--band);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .5s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px var(--band); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn--wide { width: 100%; padding: 1.1rem; }

/* ---------- Szekciók ---------- */
.section { padding: clamp(3.5rem, 9vw, 7rem) clamp(1rem, 4vw, 2.5rem); }
.section > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section--tint { background: var(--tint); }
.title {
  text-align: center; margin: 0 auto .3rem; font-weight: 600; color: var(--accent);
  letter-spacing: .22em; text-transform: uppercase; font-size: clamp(1.3rem, 3vw, 1.8rem);
}
.title::after { content: ""; display: block; width: 56px; height: 1px; margin: 1rem auto 0; background: var(--rule); }
.script-sub { text-align: center; font-family: var(--script); font-size: 2.2rem; color: var(--rule); margin: .6rem 0 2rem; }
.lead { text-align: center; max-width: 620px !important; margin: 1.2rem auto 2.5rem !important; font-style: italic; }

/* helyszín kártyák */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem; text-align: center;
}
.card h3 { margin: 0; font-family: var(--sans); font-weight: 400; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.card .place { font-size: 1.7rem; color: var(--accent); margin: .4rem 0 .2rem; font-weight: 600; }
.card .when { font-style: italic; margin: 0 0 1.2rem; }
.card a { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 2px; }

/* idővonal */
.timeline { list-style: none; padding: 0; margin: 2.5rem auto 0; max-width: 560px !important; position: relative; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 1.6rem; bottom: 1.6rem; width: 1px; background: var(--rule); }
.timeline li { display: grid; grid-template-columns: minmax(0,1fr) 58px minmax(0,1fr); align-items: center; margin: 0 0 1.4rem; }
.timeline .ico {
  width: 58px; height: 58px; border-radius: 50%; justify-self: center; position: relative; z-index: 1;
  display: grid; place-items: center; color: var(--accent);
  background: var(--bg); border: 1.5px solid var(--rule);
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.timeline .ico svg { width: 30px; height: 30px; }
.timeline li:hover .ico { transform: scale(1.08); background: var(--band); color: var(--band-text); border-color: var(--band); }
.timeline .t { text-align: right; font-size: 1.7rem; font-weight: 700; color: var(--accent); padding-right: 1rem; font-variant-numeric: lining-nums; }
.timeline .d { padding-left: 1rem; }
.timeline .d b { display: block; font-family: var(--sans); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; font-size: .8rem; }
.timeline .d i { font-size: 1rem; }

/* földgömb */
.globe-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem); align-items: start; }
.globe {
  width: 100%; max-width: 620px; aspect-ratio: 1; margin: 0 auto;
  cursor: grab; touch-action: pan-y; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--rule) 22%, transparent), transparent 68%);
}
.globe:active { cursor: grabbing; }
.globe-box { position: relative; width: 100%; min-width: 0; max-width: 620px; margin: 0 auto; }
.globe-zoom { position: absolute; right: 4px; bottom: 4px; display: grid; gap: 8px; z-index: 2; }
.globe-zoom button {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--rule); cursor: pointer;
  background: color-mix(in srgb, var(--bg) 88%, transparent); color: var(--accent);
  font: 500 1.45rem/1 var(--sans); display: grid; place-items: center; box-shadow: 0 6px 16px -8px rgba(0,0,0,.35);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.globe-zoom button:hover, .globe-zoom button:active { background: var(--band); color: var(--band-text); border-color: var(--band); }
.globe canvas { outline: none; }

.flag { width: 26px; height: 17px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); display: inline-block; }
.flag--txt { font-family: var(--sans); font-size: .62rem; display: inline-grid; place-items: center; background: var(--tint); }

.trips { display: grid; gap: 1.1rem; align-content: start; min-width: 0; }
.trip-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.trip-chips button {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  font: inherit; font-size: 1rem; color: var(--text); background: var(--card);
  border: 1px solid var(--line); border-radius: 999px; padding: .4rem .85rem .4rem .5rem;
  transition: border-color .2s, background .2s, color .2s;
}
.trip-chips .flag { width: 22px; height: 15px; border-radius: 50px / 30px; }
.trip-chips button:hover { border-color: var(--accent); }
.trip-chips button[aria-pressed=true] { background: var(--band); color: var(--band-text); border-color: var(--band); }

.trip-detail {
  background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: 1rem; min-height: 260px;
}
.trip-detail.swap { animation: swapIn .45s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(10px); } }
.trip-head { display: flex; align-items: center; gap: .8rem; margin: .1rem .2rem .9rem; }
.trip-head .flag { width: 34px; height: 23px; }
.trip-head h3 { margin: 0; font-size: 1.5rem; font-weight: 600; color: var(--accent); line-height: 1.1; }
.trip-head small { font-family: var(--sans); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: .5rem; }
.tile {
  position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: 10px; overflow: hidden;
  cursor: zoom-in; background: var(--tint);
  animation: tileIn .5s var(--ease) both;
}
.tile:nth-child(2) { animation-delay: .05s; } .tile:nth-child(3) { animation-delay: .1s; }
.tile:nth-child(4) { animation-delay: .15s; } .tile:nth-child(5) { animation-delay: .2s; }
.tile:nth-child(n+6) { animation-delay: .25s; }
@keyframes tileIn { from { opacity: 0; transform: scale(.94); } }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tile:hover img { transform: scale(1.06); }
/* elrendezés a képek számától függően */
.tiles--1 { grid-template-columns: 1fr; }
.tiles--1 .tile { aspect-ratio: 4/3; }
.tiles--2 { grid-template-columns: 1fr 1fr; }
.tiles--2 .tile { aspect-ratio: 3/4; }
.tiles--3 .tile:first-child, .tiles--5 .tile:first-child { grid-column: span 2; grid-row: span 2; }
.tiles--4 { grid-template-columns: 1fr 1fr; }
.tile--empty {
  grid-column: 1 / -1; aspect-ratio: 2/1; cursor: default; animation: none;
  display: grid; place-items: center; text-align: center; font-style: italic;
  border: 1.5px dashed color-mix(in srgb, var(--rule) 70%, transparent); background: var(--tint);
}

/* rajzszög a földgömbön */
.pin { cursor: pointer; pointer-events: auto; transform: translate(-50%, -100%); transition: transform .2s var(--ease); }
.pin:hover, .pin.is-active { transform: translate(-50%, -100%) scale(1.3); }
.pin.is-active .pin__label { opacity: 1; }
.pin.is-active { transform: translate(-50%, -100%) scale(1.15); }
.pin.is-focus { transform: translate(-50%, -100%) scale(1.35); z-index: 2; }
.chip-n { font-family: var(--sans); font-size: .7rem; min-width: 1.3rem; height: 1.3rem; display: inline-grid; place-items: center;
  border-radius: 99px; background: var(--tint); color: var(--accent); margin-left: .1rem; }
.trip-chips button[aria-pressed=true] .chip-n { background: var(--band-text); color: var(--band); }
.trip-place { margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.trip-place:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.trip-place h4 { display: flex; align-items: center; gap: .5rem; margin: 0 .2rem .6rem; font-size: 1.15rem; font-weight: 600; color: var(--accent); }
.trip-place h4 small { margin-left: auto; font-family: var(--sans); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text); opacity: .7; font-weight: 400; }
.trip-place .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--band); flex: none; }
.trip-place.is-focus h4 { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; }
.trip-place .tile--empty { aspect-ratio: 3/1; }
.pin svg { width: 30px; height: 40px; filter: drop-shadow(0 3px 3px rgba(0,0,0,.45)); }
.pin__label {
  position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%);
  white-space: nowrap; font-family: var(--sans); font-size: 11px; letter-spacing: .08em;
  color: #fff; background: rgba(0,0,0,.55); padding: 2px 7px; border-radius: 999px; margin-bottom: 4px;
  opacity: 0; transition: opacity .2s;
}
.pin:hover .pin__label { opacity: 1; }

/* galéria */
.gallery { columns: 3 260px; column-gap: 1rem; }
.gallery button {
  display: block; width: 100%; margin: 0 0 1rem; padding: 0; border: 0; cursor: zoom-in;
  background: none; border-radius: 10px; overflow: hidden; break-inside: avoid;
}
.gallery img { width: 100%; height: auto; transition: transform .5s var(--ease), filter .5s; }
.gallery button:hover img { transform: scale(1.04); }

.share-cta { text-align: center; margin-top: 2.5rem !important; max-width: 560px !important; }
.share-cta .script-sub { margin: 0 0 .2rem; }
.share-cta p { margin: 0 0 1.4rem; }

/* ---------- Visszajelzés ---------- */
.rsvp {
  max-width: 640px !important; background: var(--card); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px); padding: clamp(1.4rem, 4vw, 2.6rem);
  box-shadow: 0 20px 60px -40px rgba(0,0,0,.35);
}
.field { border: 0; padding: 0; margin: 0 0 1.3rem; min-width: 0; }
.field label, .field legend {
  display: block; font-family: var(--sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: .45rem; padding: 0;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: .75rem .9rem; transition: border-color .2s, box-shadow .2s; font-variant-numeric: lining-nums;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.choice { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: .6rem; }
.choice label { margin: 0; cursor: pointer; text-transform: none; letter-spacing: 0; font-family: var(--serif); font-size: 1.05rem; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-block; padding: .55rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg); transition: all .2s;
}
.choice input:checked + span { background: var(--band); color: var(--band-text); border-color: var(--band); }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.if-yes { overflow: hidden; transition: opacity .3s; }
.if-yes.is-hidden { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.note { margin: -.1rem 0 .7rem; font-style: italic; font-size: 1rem; line-height: 1.4; }
.form-msg { text-align: center; margin: 1rem 0 0; min-height: 1.5em; font-style: italic; }
.form-msg.ok { color: var(--accent); font-size: 1.2rem; }
.form-msg.err { color: #B3261E; }
.field.invalid input, .field.invalid .choice span { border-color: #B3261E; }

/* ---------- Lábléc ---------- */
.footer { text-align: center; padding: 3rem 1rem 6rem; background: var(--band); color: var(--band-text); transition: background .5s; }
.footer .script-sub { color: var(--band-text); margin: 0; font-size: 2.6rem; }
.footer p { margin: .2rem 0; letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; }
.footer p.script-sub { letter-spacing: 0; text-transform: none; font-size: 2.6rem; }

/* ---------- Színválasztó ---------- */
.theme { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 60; }
.theme__toggle {
  display: flex; align-items: center; gap: .55rem; cursor: pointer;
  font-family: var(--sans); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text); background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: .55rem 1rem .55rem .55rem;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.35);
}
.theme__dot { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(var(--band) 0 50%, var(--rule) 50% 100%); border: 2px solid var(--bg); box-shadow: 0 0 0 1px var(--line); }
.theme__panel {
  position: absolute; right: 0; bottom: calc(100% + .7rem); width: min(320px, calc(100vw - 2rem));
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1rem;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.45);
}
.theme__panel p { margin: 0 0 .7rem; font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.theme__list { display: grid; gap: .35rem; max-height: min(60vh, 520px); overflow: auto; }
.theme__opt {
  display: flex; align-items: center; gap: .7rem; width: 100%; cursor: pointer; text-align: left;
  font: inherit; font-size: 1rem; color: var(--text); background: none;
  border: 1px solid transparent; border-radius: 12px; padding: .45rem .5rem;
}
.theme__opt:hover { background: var(--tint); }
.theme__opt[aria-pressed=true] { border-color: var(--accent); }
.swatch { display: flex; flex: none; }
.swatch i { width: 18px; height: 18px; border-radius: 50%; margin-right: -5px; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }

/* ---------- Képnéző ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(12,12,14,.94);
  display: grid; grid-template-columns: 60px 1fr 60px; grid-template-rows: 1fr auto; align-items: center;
  padding: max(1rem, env(safe-area-inset-top)) .5rem max(1rem, env(safe-area-inset-bottom));
  animation: fade .25s var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.lb__fig { margin: 0; text-align: center; color: #eee; min-width: 0; }
.lb__fig img { max-width: 100%; max-height: calc(100svh - 170px); margin: 0 auto; border-radius: 6px; object-fit: contain; }
.lb__fig figcaption { margin-top: .7rem; font-style: italic; }
.lb__close { position: absolute; top: max(.5rem, env(safe-area-inset-top)); right: .8rem; font-size: 2.4rem; }
.lb__close, .lb__nav { background: none; border: 0; color: #fff; cursor: pointer; line-height: 1; opacity: .8; }
.lb__close:hover, .lb__nav:hover { opacity: 1; }
.lb__nav { font-size: 3.2rem; }
.lb__thumbs { grid-column: 1 / -1; display: flex; gap: .4rem; justify-content: center; overflow-x: auto; padding: .8rem 0 0; }
.lb__thumbs button { flex: none; width: 54px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; opacity: .55; background: none; }
.lb__thumbs button[aria-current=true] { border-color: #fff; opacity: 1; }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Értesítés ---------- */
.toast {
  position: fixed; left: 50%; bottom: 5.5rem; transform: translate(-50%, 20px); z-index: 90;
  background: var(--band); color: var(--band-text); padding: .8rem 1.3rem; border-radius: 999px;
  font-size: 1rem; box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease); max-width: calc(100vw - 2rem); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Megjelenés animáció ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobil ---------- */
@media (max-width: 820px) {
  .br-d { display: none; }
  body { font-size: 18px; }
  .nav__links a:not(.nav__cta) { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; min-height: auto; padding-top: 1.5rem; }
  .hero__photo { width: min(72%, 300px); margin: 0 auto; }
  .hero__photo img { aspect-ratio: 3/4.2; object-position: 56% 24%; }
  .band { top: 3.6rem; }
  .hero__text { padding-top: 0; }
  .daterow span { padding: 0 .7rem; font-size: .85rem; letter-spacing: .16em; }
  .daterow b { font-size: 2.4rem; padding: .1rem .8rem; }
  .globe-wrap { grid-template-columns: minmax(0, 1fr); }
  .trip-detail { min-height: 0; }
  .timeline .t { font-size: 1.35rem; }
  .timeline .ico { width: 50px; height: 50px; }
  .timeline .ico svg { width: 26px; height: 26px; }
  .lightbox { grid-template-columns: 40px 1fr 40px; }
  .lb__nav { font-size: 2.4rem; }
}
@media (max-width: 600px) {
  .timeline { max-width: 100% !important; }
  .timeline::before { left: calc(4.4rem + 25px); }
  .timeline li { grid-template-columns: 4.4rem 50px minmax(0,1fr); }
  .timeline .t { font-size: 1.25rem; padding-right: .7rem; }
  .timeline .d { padding-left: .8rem; }
  .timeline .d b { letter-spacing: .1em; font-size: .74rem; overflow-wrap: anywhere; }
  .timeline .d i { font-size: .95rem; line-height: 1.3; display: block; }
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .countdown div { min-width: 62px; }
  .theme__label { display: none; }
  .theme__toggle { padding: .45rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
