/* ───────── Schriften (lokal, kein Google) ───────── */
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: italic; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/manrope-latin-600-normal.woff2") format("woff2"); }

/* ───────── Tokens ───────── */
:root {
  --ivory: #FBF7F1;
  --cream: #F4ECE1;
  --blush: #F6E4DE;
  --paper: #FFFDF9;
  --ink: #2F2A26;
  --muted: #6E655C;
  --gold: #8A6A3D;
  --gold-soft: #C9A66B;
  --rose: #A85C5A;
  --rose-dark: #964E4C;
  --rose-soft: #E7B9B3;
  --sage: #A9B7A0;
  --line: #E6DACB;

  --sp-25: 2px; --sp-50: 4px; --sp-75: 8px; --sp-100: 12px; --sp-200: 16px;
  --sp-300: 24px; --sp-400: 32px; --sp-500: 40px; --sp-600: 48px;
  --sp-700: 64px; --sp-800: 80px; --sp-900: 96px;

  --r-lg: 8px; --r-xl: 12px; --r-2xl: 16px; --r-3xl: 24px; --r-full: 9999px;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, sans-serif;
  --shadow: 0 16px 48px rgba(94, 62, 40, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-size: 1rem; line-height: 1.5rem;
  text-wrap: pretty; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p, figure, ol, ul { margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; text-wrap: balance; letter-spacing: -0.01em; }
h2 { font-size: 2.25rem; line-height: 2.5rem; max-width: 680px; margin-top: var(--sp-75); }
h3 { font-size: 1.875rem; line-height: 2.25rem; }
ol, ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
b, strong { font-weight: 600; }

:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: var(--r-lg); }

.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: var(--sp-100) var(--sp-200); border-radius: var(--r-lg); z-index: 50; }
.skip:focus { left: var(--sp-200); top: var(--sp-200); }

/* ───────── Layout ───────── */
.section, .section.tint, .statement, .hero {
  --edge: max(var(--sp-300), calc((100% - 1120px) / 2));
  padding-inline: var(--edge);
}
.section { padding-block: var(--sp-800); }
.section.tint.blush { background: var(--blush); }
.section.tint.cream { background: var(--cream); }
.eyebrow { font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: var(--sp-75); }
.body { margin-top: var(--sp-300); color: var(--muted); font-size: 1.125rem; line-height: 1.75rem; max-width: 600px; }
.body + .body { margin-top: var(--sp-200); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.fine { font-size: 0.75rem; line-height: 1rem; color: var(--muted); }
.heart-mark { color: var(--rose); margin-bottom: var(--sp-300); }

/* ───────── Nav ───────── */
.nav-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; justify-content: center; pointer-events: none; }
.nav {
  pointer-events: auto; margin-top: var(--sp-300); width: max-content;
  display: flex; align-items: center; gap: var(--sp-300);
  padding: var(--sp-50) var(--sp-50) var(--sp-50) var(--sp-300);
  border-radius: var(--r-full);
  background: rgba(255, 253, 249, 0.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px var(--line), 0 8px 24px rgba(94, 62, 40, 0.08);
  position: relative; z-index: 31;
}
.nav-mark { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; line-height: 1.75rem; text-decoration: none; letter-spacing: 0.04em; }
.nav-toggle { position: relative; width: 40px; height: 40px; background: var(--blush); border: 0; border-radius: var(--r-full); cursor: pointer; transition: transform 160ms var(--ease), background-color 300ms var(--ease); }
.nav-toggle:hover { background: var(--rose-soft); }
.nav-toggle:active { transform: scale(0.96); }
.bar { position: absolute; left: 12px; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 700ms var(--ease); }
.bar-a { top: 15px; } .bar-b { top: 23px; }
.nav-toggle[aria-expanded="true"] .bar-a { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar-b { transform: translateY(-4px) rotate(-45deg); }

.menu { pointer-events: auto; position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; background: rgba(251, 247, 241, 0.9); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); opacity: 0; transition: opacity 700ms var(--ease); }
.menu.open { opacity: 1; }
.menu[hidden] { display: none; }
.menu ul { display: grid; gap: var(--sp-300); text-align: center; }
.menu a { font-family: var(--serif); font-size: 3rem; line-height: 1; font-weight: 500; text-decoration: none; transition: color 300ms var(--ease); }
.menu a:hover { color: var(--rose); }
.menu li { opacity: 0; transform: translateY(48px); transition: transform 700ms var(--ease), opacity 700ms var(--ease); }
.menu.open li { opacity: 1; transform: none; }
.menu li:nth-child(1) { transition-delay: 100ms; } .menu li:nth-child(2) { transition-delay: 150ms; }
.menu li:nth-child(3) { transition-delay: 200ms; } .menu li:nth-child(4) { transition-delay: 250ms; }
.menu li:nth-child(5) { transition-delay: 300ms; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: var(--sp-75) var(--sp-400); min-height: 48px;
  border-radius: var(--r-full); border: 0; cursor: pointer; text-decoration: none;
  background: var(--rose); color: #FFFFFF;
  font: inherit; font-size: 1rem; line-height: 1.5rem; font-weight: 600;
  transition: transform 160ms var(--ease), background-color 300ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(47, 42, 38, 0.28); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--rose-dark); }
  .btn-ghost:hover { background: var(--blush); }
}

/* ───────── Fotos ───────── */
.photo { position: relative; overflow: hidden; background: var(--cream); border-radius: var(--r-3xl); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease); }
.photo.missing img { display: none; }
.photo.missing::after { content: attr(data-file); position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .photo:hover img { transform: scale(1.03); } }
.arch { border-radius: var(--r-full) var(--r-full) var(--r-2xl) var(--r-2xl); box-shadow: var(--shadow); }
.photo.wide { aspect-ratio: 16 / 9; margin-top: var(--sp-500); box-shadow: var(--shadow); }
.photo.tall { aspect-ratio: 4 / 5; }

/* ───────── Hero ───────── */
.hero { position: relative; overflow: hidden; padding-top: 128px; padding-bottom: var(--sp-700); text-align: center; background: var(--ivory); }
.hero-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; display: grid; justify-items: center; }
.hero h1 { font-size: 3.75rem; line-height: 1; letter-spacing: -0.02em; margin-top: var(--sp-100); max-width: 680px; font-weight: 500; }
.amp { font-style: italic; color: var(--gold-soft); font-weight: 500; padding-inline: var(--sp-50); }
.hero-date { display: flex; align-items: center; gap: var(--sp-200); margin-top: var(--sp-300); font-size: 0.875rem; line-height: 1.25rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.hero-date b { color: var(--ink); letter-spacing: 0.2em; }
.hero-date i { width: 32px; height: 1px; background: var(--gold-soft); }

.arches { display: grid; grid-template-columns: 1fr 1.7fr 1fr; align-items: end; gap: var(--sp-200); width: 100%; max-width: 760px; margin-top: var(--sp-600); }
.arches .photo { aspect-ratio: 3 / 4; width: 100%; }
.arch-side { transform: translateY(0); }
.a-left { margin-bottom: var(--sp-500); }
.a-right { margin-bottom: var(--sp-700); }
.lede { font-family: var(--serif); font-size: 1.875rem; line-height: 2.25rem; max-width: 600px; margin-top: var(--sp-600); font-weight: 500; text-wrap: balance; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-100); margin-top: var(--sp-400); }

/* Blütenblätter */
.petals { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.petal { position: absolute; top: -32px; background: var(--rose-soft); border-radius: 150% 0 150% 0; opacity: 0; animation: fall linear infinite; will-change: transform, opacity; }
.petal.alt { background: #F2D5D0; }

/* ───────── Laufband ───────── */
.marquee { overflow: hidden; background: var(--blush); padding: var(--sp-200) 0; }
.marquee-track { display: flex; align-items: center; gap: var(--sp-400); width: max-content; animation: marquee 40s linear infinite; font-family: var(--serif); font-style: italic; font-size: 1.875rem; line-height: 2.25rem; color: var(--gold); white-space: nowrap; }
.marquee i { width: 8px; height: 8px; border-radius: var(--r-full); background: var(--rose-soft); flex-shrink: 0; }

/* ───────── Einladung + Countdown ───────── */
.invite { text-align: center; display: grid; justify-items: center; padding-block: var(--sp-900); }
.invite-text { font-family: var(--serif); font-size: 2.25rem; line-height: 2.5rem; max-width: 720px; font-weight: 500; text-wrap: balance; }
.invite-meta { margin-top: var(--sp-300); color: var(--muted); letter-spacing: 0.04em; }
.cd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-200); width: 100%; max-width: 640px; margin-top: var(--sp-600); }
.cd-grid div { background: var(--paper); border-radius: var(--r-3xl); padding: var(--sp-400) var(--sp-200); box-shadow: inset 0 0 0 1px var(--line); }
.cd-grid b { display: block; font-family: var(--serif); font-size: 3.75rem; line-height: 1; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; }
.cd-grid span { display: block; margin-top: var(--sp-75); color: var(--muted); font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.16em; text-transform: uppercase; }
.cd-note { margin-top: var(--sp-300); color: var(--muted); }

/* ───────── Geschichte ───────── */
.collage { display: grid; gap: var(--sp-400); margin-top: var(--sp-600); }
.polaroid { background: #FFFFFF; border-radius: var(--r-lg); padding: var(--sp-100) var(--sp-100) var(--sp-600); box-shadow: var(--shadow); max-width: 360px; width: 100%; }
.polaroid img { aspect-ratio: 4 / 5; border-radius: 0; }
.polaroid.missing { aspect-ratio: 4 / 5.4; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: var(--sp-100); text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 2rem; color: var(--ink); }
.pol-1 { justify-self: start; } .pol-2 { justify-self: end; } .pol-3 { justify-self: center; }
@media (hover: hover) and (pointer: fine) { .polaroid:hover { transform: rotate(0deg) scale(1.03) !important; } .polaroid:hover img { transform: none; } }

/* ───────── Leitsatz ───────── */
.statement { padding-block: var(--sp-900); background: var(--ivory); }
.statement-text { max-width: 880px; margin: 0 auto; text-align: center; font-family: var(--serif); font-size: 2.25rem; line-height: 2.5rem; font-weight: 500; letter-spacing: -0.01em; text-wrap: balance; }
.statement-text .w { color: rgba(47, 42, 38, 0.26); transition: color 700ms var(--ease); }
.statement-text .w.on { color: var(--ink); }

/* ───────── Unser Weg ───────── */
.way-list { margin-top: var(--sp-500); display: grid; max-width: 880px; }
.way-list li { display: grid; gap: var(--sp-75); padding: var(--sp-300) 0; border-bottom: 1px solid var(--line); }
.way-list li:first-child { border-top: 1px solid var(--line); }
.way-list time { font-family: var(--serif); font-style: italic; font-size: 1.875rem; line-height: 2.25rem; color: var(--gold); }
.way-list strong { display: block; font-family: var(--serif); font-size: 1.875rem; line-height: 2.25rem; font-weight: 500; }
.way-list p { color: var(--muted); margin-top: var(--sp-50); }

/* ───────── Ablauf ───────── */
.ablauf-grid { display: grid; gap: var(--sp-500); margin-top: var(--sp-500); }
.timeline { display: grid; gap: var(--sp-200); }
.timeline li { display: grid; grid-template-columns: 48px 1fr; gap: 0 var(--sp-200); align-items: start; padding: var(--sp-300); background: var(--paper); border-radius: var(--r-3xl); box-shadow: inset 0 0 0 1px var(--line); transition: transform 300ms var(--ease); }
.timeline .ico { grid-row: span 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r-full); background: var(--blush); color: var(--rose); }
.timeline time { color: var(--gold); font-weight: 600; font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.16em; text-transform: uppercase; padding-top: var(--sp-25); }
.timeline strong { display: block; font-family: var(--serif); font-size: 1.5rem; line-height: 2rem; font-weight: 600; margin-top: var(--sp-25); }
.timeline p { color: var(--muted); margin-top: var(--sp-50); }
@media (hover: hover) and (pointer: fine) { .timeline li:hover { transform: translateY(-4px); } }
.ablauf-photo { aspect-ratio: 4 / 5; max-width: 420px; width: 100%; justify-self: center; }

/* ───────── Dresscode ───────── */
.dress-grid { display: grid; gap: var(--sp-500); align-items: center; }
.dress-grid .photo { max-width: 440px; width: 100%; justify-self: center; }
.swatches { display: flex; flex-wrap: wrap; gap: var(--sp-300); margin-top: var(--sp-400); }
.swatches li { display: grid; justify-items: center; gap: var(--sp-75); }
.swatches i { width: 56px; height: 56px; border-radius: var(--r-full); box-shadow: inset 0 0 0 1px rgba(47, 42, 38, 0.12); }
.swatches span { font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ───────── Ort ───────── */
.venue-card { display: grid; gap: var(--sp-300); margin-top: var(--sp-300); padding: var(--sp-400); background: var(--paper); border-radius: var(--r-3xl); box-shadow: var(--shadow); }
.venue-card p { color: var(--muted); margin-top: var(--sp-75); }
.venue-info { display: grid; gap: var(--sp-100); }
.venue-info p { margin-top: 0; }
.venue-info strong { display: block; color: var(--ink); font-size: 0.875rem; line-height: 1.25rem; }
.venue-card .btn { justify-self: start; }

/* ───────── Musik ───────── */
.music-grid { display: grid; gap: var(--sp-500); align-items: center; }
.music-grid .photo { max-width: 440px; width: 100%; justify-self: center; }
.eq { display: flex; align-items: flex-end; gap: var(--sp-75); height: 48px; margin-top: var(--sp-300); }
.eq i { width: 8px; height: 100%; border-radius: var(--r-full); background: var(--rose-soft); transform-origin: bottom; animation: eq 1.1s var(--ease) infinite alternate; }
.eq i:nth-child(2) { animation-duration: 0.8s; animation-delay: -0.3s; }
.eq i:nth-child(3) { animation-duration: 1.3s; animation-delay: -0.6s; }
.eq i:nth-child(4) { animation-duration: 0.9s; animation-delay: -0.2s; }
.eq i:nth-child(5) { animation-duration: 1.2s; animation-delay: -0.8s; }
.eq i:nth-child(6) { animation-duration: 0.7s; animation-delay: -0.4s; }
.eq i:nth-child(7) { animation-duration: 1s; animation-delay: -0.1s; }

/* ───────── Formular ───────── */
.form-wrap { display: grid; gap: var(--sp-500); align-items: start; }
.rsvp { display: grid; gap: var(--sp-300); padding: var(--sp-400); background: var(--paper); border-radius: var(--r-3xl); box-shadow: var(--shadow); }
.rsvp label { display: grid; gap: var(--sp-75); }
.rsvp label > span { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted); }
.rsvp input, .rsvp select, .rsvp textarea { font: inherit; color: var(--ink); background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--sp-100) var(--sp-200); min-height: 48px; width: 100%; transition: border-color 300ms var(--ease); }
.rsvp textarea { resize: vertical; }
.rsvp input:focus-visible, .rsvp select:focus-visible, .rsvp textarea:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; border-color: transparent; }
.rsvp [aria-invalid="true"] { border-color: #C0504D; }
.error { color: #B03A36; font-size: 0.875rem; line-height: 1.25rem; }
.status { min-height: 1.5rem; color: var(--ink); }
.rsvp .btn { justify-self: start; }

/* ───────── Reise ───────── */
.trip-grid { display: grid; gap: var(--sp-500); margin-top: var(--sp-500); align-items: center; }
.trip-grid .photo { max-width: 440px; width: 100%; justify-self: center; }
.ticket { display: grid; max-width: 640px; background: var(--paper); border-radius: var(--r-3xl); overflow: hidden; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.ticket-main { padding: var(--sp-400); display: grid; gap: var(--sp-300); }
.ticket-head { display: flex; justify-content: space-between; font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.ticket-route { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-200); }
.ticket-route b { display: block; font-family: var(--serif); font-size: 3rem; line-height: 1; font-weight: 500; }
.ticket-route small { color: var(--muted); font-size: 0.875rem; line-height: 1.25rem; }
.ticket-line { flex: 1; display: flex; align-items: center; gap: var(--sp-100); color: var(--rose); }
.ticket-line::before, .ticket-line::after { content: ""; flex: 1; border-top: 2px dotted var(--gold-soft); }
.ticket-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: var(--sp-200); padding-top: var(--sp-300); border-top: 1px dashed var(--gold-soft); }
.ticket-meta small { display: block; font-size: 0.75rem; line-height: 1rem; color: var(--muted); }
.ticket-meta b { font-size: 0.875rem; line-height: 1.25rem; }
.ticket-stub { background: var(--rose-soft); color: var(--ink); padding: var(--sp-200); display: grid; place-items: center; font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; }
.trip .body { max-width: 560px; }

/* ───────── Finale / Footer ───────── */
.final { text-align: center; display: grid; justify-items: center; background: var(--blush); padding-block: var(--sp-900); }
.final h2 { font-size: 3rem; line-height: 1; margin-top: 0; }
.final .body { margin-bottom: var(--sp-400); }
.sign { margin-top: var(--sp-500); font-family: var(--serif); font-style: italic; font-size: 1.875rem; line-height: 2.25rem; color: var(--gold); }
.footer { padding: var(--sp-600) var(--sp-300); text-align: center; color: var(--muted); font-size: 0.875rem; line-height: 1.25rem; display: grid; gap: var(--sp-75); background: var(--ivory); }

/* ───────── Reveal ───────── */
.reveal { opacity: 0; transform: translateY(64px); filter: blur(8px); transition: transform 900ms var(--ease), filter 900ms var(--ease), opacity 900ms var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.polaroid.reveal { transform: translateY(64px) rotate(0deg); }
.polaroid.reveal.in.pol-1 { transform: rotate(-4deg); }
.polaroid.reveal.in.pol-2 { transform: rotate(3deg); }
.polaroid.reveal.in.pol-3 { transform: rotate(-2deg); }

/* ───────── Keyframes ───────── */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes eq { from { transform: scaleY(0.2); } to { transform: scaleY(1); } }
@keyframes fall {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.85; }
  50% { transform: translate3d(var(--sway), 50vh, 0) rotate(var(--spin)); }
  90% { opacity: 0.6; }
  100% { transform: translate3d(calc(var(--sway) * -0.6), 105vh, 0) rotate(calc(var(--spin) * 2)); opacity: 0; }
}

/* ───────── Breakpoints ───────── */
@media (min-width: 480px) {
  .hero h1 { font-size: 4.5rem; }
}
@media (min-width: 768px) {
  .section, .section.tint, .statement, .hero { --edge: max(var(--sp-400), calc((100% - 1120px) / 2)); }
  .section { padding-block: var(--sp-900); }
  h2 { font-size: 3rem; line-height: 1; }
  .hero { padding-top: 144px; }
  .hero h1 { font-size: 6rem; max-width: none; }
  .hero-date { font-size: 1rem; line-height: 1.5rem; }
  .arches { gap: var(--sp-300); }
  .invite-text { font-size: 3rem; line-height: 1.1; }
  .cd-grid { grid-template-columns: repeat(4, 1fr); }
  .collage { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .pol-1, .pol-2, .pol-3 { justify-self: stretch; max-width: none; }
  .pol-2 { margin-top: var(--sp-600); }
  .statement-text { font-size: 3rem; line-height: 1.1; }
  .way-list li { grid-template-columns: 240px 1fr; gap: var(--sp-400); align-items: baseline; }
  .ablauf-grid { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .ablauf-photo { position: sticky; top: 96px; justify-self: stretch; max-width: none; }
  .dress-grid { grid-template-columns: 1fr 1.2fr; }
  .venue-card { grid-template-columns: 1fr 1.2fr auto; align-items: center; }
  .music-grid { grid-template-columns: 1.2fr 1fr; }
  .form-wrap { grid-template-columns: 1fr 1.1fr; }
  .trip-grid { grid-template-columns: 1fr 1.2fr; }
  .ticket { grid-template-columns: 1fr 64px; }
  .ticket-stub { writing-mode: vertical-rl; }
  .final h2 { font-size: 4.5rem; }
}
@media (min-width: 1100px) {
  .statement-text { font-size: 3.75rem; }
}

/* ───────── Reduzierte Bewegung ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; filter: none; transition: opacity 300ms linear; }
  .polaroid.reveal.in.pol-1, .polaroid.reveal.in.pol-2, .polaroid.reveal.in.pol-3 { transform: none; }
  .marquee-track, .eq i, .petal { animation: none; }
  .petals { display: none; }
  .statement-text .w { transition: none; }
  .menu li, .bar, .btn, .photo img { transition: none; }
}

/* ───────── Rechtliche Seiten und 404 ───────── */
.legal { max-width: 680px; margin: 0 auto; padding: 128px var(--sp-300) var(--sp-800); }
.legal h1 { font-size: 3.75rem; line-height: 1; margin-bottom: var(--sp-400); }
.legal p { color: var(--muted); margin-top: var(--sp-200); }
.legal .btn { margin-top: var(--sp-400); }

/* Datum im Hero bleibt auf dem Handy in einer Zeile */
.hero-date b { white-space: nowrap; }
@media (max-width: 479px) {
  .hero-date { gap: var(--sp-100); letter-spacing: 0.1em; }
  .hero-date i { width: 16px; }
  .hero-date b { letter-spacing: 0.1em; }
}

/* Schriftgröße */
html[data-textsize="l"]{font-size:112.5%}html[data-textsize="xl"]{font-size:125%}
.textsize{display:inline-flex;gap:2px;padding:2px;border-radius:9999px;background:rgba(0,0,0,.05)}
.textsize button{width:44px;height:44px;border:0;border-radius:9999px;background:transparent;color:inherit;font-family:inherit;font-weight:600;line-height:1;cursor:pointer;transition:background-color 300ms cubic-bezier(.32,.72,0,1),transform 160ms cubic-bezier(.23,1,.32,1)}
.textsize button:nth-child(1){font-size:.875rem}.textsize button:nth-child(2){font-size:1.25rem}.textsize button:nth-child(3){font-size:1.625rem}
.textsize button[aria-pressed="true"]{background:currentColor}
.textsize button[aria-pressed="true"] span[aria-hidden]{color:#fff;mix-blend-mode:normal}
.textsize button:active{transform:scale(.97)}
.textsize button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* Liebesbogen-Hinweis im Footer */
.made-by { justify-self: center; display: inline-flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 16px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,.08); min-width: 160px; text-decoration: none; color: var(--muted); font-size: .75rem; letter-spacing: .04em; opacity: .85; transition: opacity .2s ease; }
.made-by img { width: 72px; height: auto; }
.made-by:hover, .made-by:focus-visible { opacity: 1; }
