@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Lacquer&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Lacquer&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #333;
  padding-top: calc(25vh + 54px);
}

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

[hidden] {
  display: none !important;
}

body.menu-page {
  width: 100vw;
  height: 100vh;
  padding-top: 0;
  overflow: hidden;
}

body.legal-body {
  padding-top: 0;
}

body.save-date-page {
  min-height: 100vh;
  padding-top: 0;
  background: #223348;
  color: #fff;
}

.save-date-hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 28px;
  box-sizing: border-box;
  text-align: center;
}

.save-date-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.save-date-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 28, 39, 0.28), rgba(20, 28, 39, 0.72)),
    rgba(34, 51, 72, 0.16);
}

.save-date-overlay {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  margin-top: min(8vh, 64px);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.save-date-logo {
  width: clamp(92px, 16vw, 150px);
  margin-bottom: clamp(22px, 4vw, 40px);
}

.save-date-kicker {
  margin: 0 0 12px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.82rem, 1.6vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.save-date-overlay h1 {
  margin: 0;
  color: #fff;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(3rem, 11vw, 7.4rem);
  font-weight: 500;
  line-height: 0.98;
}

.save-date-date {
  margin: clamp(18px, 3.6vw, 32px) 0 0;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.55rem, 4.8vw, 3.4rem);
  line-height: 1.15;
}

.save-date-copy {
  width: min(100%, 600px);
  margin: clamp(18px, 3vw, 28px) auto 0;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  line-height: 1.55;
}

.save-date-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: clamp(24px, 4vw, 36px);
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-decoration: none;
  text-shadow: none;
  background: rgba(34, 51, 72, 0.34);
  backdrop-filter: blur(8px);
}

.save-date-link:hover,
.save-date-link:focus {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.menu-fullscreen-image {
  display: block;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 25vh;
  background: #223348;
  z-index: 1000;
  transition: height 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.standesamt-page header {
  background: #1f311e;
}

.standesamt-page .main-nav {
  background: #4f604c;
  box-shadow: 0 10px 22px rgba(31, 49, 30, 0.18);
}

.header-inner {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}

header img {
  max-height: 20vh;
  opacity: 1;
  transition: all 0.35s ease;
}

.header-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.35s ease;
}

/* Zustand beim Scrollen */
header.shrink {
  height: 45px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.25);
}

header.shrink .header-inner {
  justify-content: flex-start;
  padding: 0 20px;
}

header.shrink img {
  max-height: 28px;
  opacity: 0.5;
}

header.shrink .header-text {
  opacity: 1;
}

.main-nav {
  position: fixed;
  top: 25vh;
  left: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3.6vw, 48px);
  width: 100%;
  min-height: 54px;
  box-sizing: border-box;
  padding: 14px 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.72);
  background: #61717a;
  box-shadow: 0 10px 22px rgba(34, 51, 72, 0.16);
  transition: top 0.35s ease, min-height 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

header.shrink + .main-nav {
  top: 45px;
  min-height: 72px;
  padding: 21px 20px;
  box-shadow: 0 10px 22px rgba(34, 51, 72, 0.18);
}

.main-nav-link {
  color: rgba(255, 255, 255, 0.42);
  font-family: "Bodoni Moda", serif;
  font-size: clamp(0.82rem, 1.65vw, 1.12rem);
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, text-shadow 0.2s ease, transform 0.2s ease;
}

header.shrink + .main-nav .main-nav-link {
  font-size: clamp(0.94rem, 1.85vw, 1.24rem);
}

.main-nav-link:hover,
.main-nav-link:focus-visible,
.main-nav-link.is-active {
  color: rgba(255, 255, 255, 0.95);
}

.main-nav-link:hover,
.main-nav-link:focus-visible {
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.36);
  transform: translateY(-1px);
  outline: none;
}

.page-section-anchor {
  scroll-margin-top: 132px;
}

section {
  padding: 60px 20px;
  text-align: center;
}

.alt {
  background: #f4f4f4;
}

.countdown-band {
  padding: 28px 20px 38px;
}

.access-links-band {
  background: #eef2f0;
  padding: 34px 20px 42px;
}

.access-links-band h2 {
  margin-bottom: 22px;
}

.access-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  text-align: left;
}

.access-link-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 112px;
  box-sizing: border-box;
  padding: 18px;
  border: 1px solid rgba(34, 51, 72, 0.18);
  border-radius: 8px;
  background: #fff;
  color: #223348;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(34, 51, 72, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.access-link-card:hover,
.access-link-card:focus-visible {
  border-color: rgba(171, 138, 59, 0.58);
  box-shadow: 0 14px 30px rgba(34, 51, 72, 0.14);
  transform: translateY(-2px);
  outline: none;
}

.access-link-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: #f4f4f4;
}

.access-link-icon img {
  max-width: 34px;
  max-height: 34px;
}

.access-link-card strong,
.access-link-card small {
  display: block;
}

.access-link-card strong {
  font-family: "Bodoni Moda", serif;
  font-size: 1.28rem;
  line-height: 1.15;
}

.access-link-card small {
  margin-top: 6px;
  color: #536169;
  font-size: 0.92rem;
  line-height: 1.45;
}

.container {
  max-width: 900px;
  margin: auto;
}

.scroll-collage-section {
  min-height: 360vh;
  padding: 0;
  background: #fff;
  text-align: left;
}

.scroll-collage-section .container {
  max-width: none;
  width: 100%;
  min-height: inherit;
}

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

.vertical-slideshow {
  position: sticky;
  top: 117px;
  width: 100vw;
  height: calc(100vh - 117px);
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: #fff;
  isolation: isolate;
}

.vertical-slideshow-track,
.vertical-slideshow-set {
  position: absolute;
  inset: 0;
}

.vertical-slideshow-set[aria-hidden="true"] {
  display: none;
}

.vertical-slide {
  position: absolute;
  display: block;
  width: var(--w);
  height: var(--h);
  max-width: none;
  margin: 0;
  object-fit: cover;
  opacity: 0;
  transform: translate(var(--x), var(--y)) rotate(var(--r, 0deg)) scale(0.965);
  transform-origin: center;
  transition: opacity 0.32s ease, transform 0.48s ease;
  z-index: var(--z, 1);
}

.vertical-slide.is-visible {
  opacity: 1;
  transform: translate(var(--x), var(--y)) rotate(var(--r, 0deg)) scale(1);
}

.vertical-slide:nth-child(12n + 1) {
  --x: 31vw;
  --y: 0;
  --w: min(41vw, 720px);
  --h: 100%;
  --z: 2;
}

.vertical-slide:nth-child(12n + 2) {
  --x: -3vw;
  --y: 30vh;
  --w: min(49vw, 860px);
  --h: 58vh;
  --z: 5;
}

.vertical-slide:nth-child(12n + 3) {
  --x: 67vw;
  --y: 0;
  --w: min(27vw, 520px);
  --h: 55vh;
  --r: 0.3deg;
  --z: 4;
}

.vertical-slide:nth-child(12n + 4) {
  --x: 83vw;
  --y: 51vh;
  --w: min(23vw, 430px);
  --h: 42vh;
  --z: 8;
}

.vertical-slide:nth-child(12n + 5) {
  --x: 9vw;
  --y: 2vh;
  --w: min(28vw, 520px);
  --h: 38vh;
  --z: 3;
}

.vertical-slide:nth-child(12n + 6) {
  --x: 47vw;
  --y: 43vh;
  --w: min(30vw, 560px);
  --h: 48vh;
  --z: 7;
}

.vertical-slide:nth-child(12n + 7) {
  --x: 72vw;
  --y: 36vh;
  --w: min(31vw, 600px);
  --h: 38vh;
  --z: 6;
}

.vertical-slide:nth-child(12n + 8) {
  --x: -1vw;
  --y: 0;
  --w: min(32vw, 620px);
  --h: 48vh;
  --z: 1;
}

.vertical-slide:nth-child(12n + 9) {
  --x: 22vw;
  --y: 48vh;
  --w: min(28vw, 520px);
  --h: 42vh;
  --r: -0.4deg;
  --z: 9;
}

.vertical-slide:nth-child(12n + 10) {
  --x: 58vw;
  --y: 12vh;
  --w: min(27vw, 520px);
  --h: 34vh;
  --z: 10;
}

.vertical-slide:nth-child(12n + 11) {
  --x: 1vw;
  --y: 58vh;
  --w: min(25vw, 480px);
  --h: 34vh;
  --z: 11;
}

.vertical-slide:nth-child(12n) {
  --x: 39vw;
  --y: 9vh;
  --w: min(24vw, 460px);
  --h: 36vh;
  --r: 0.5deg;
  --z: 12;
}

.legal-page {
  padding: 48px 20px;
}

.story-section {
  text-align: left;
}

.story-container {
  display: grid;
  gap: 54px;
}

.story-block {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  width: min(100%, 860px);
}

.story-block:nth-child(odd) {
  justify-self: start;
  text-align: left;
}

.story-block:nth-child(even) {
  justify-self: end;
  text-align: right;
}

.story-image {
  width: 150px;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(34, 51, 72, 0.16);
}

.story-block:nth-child(odd) .story-image {
  grid-column: 1;
  grid-row: 1 / span 8;
}

.story-block:nth-child(odd) > :not(.story-image) {
  grid-column: 2;
}

.story-block:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) 150px;
}

.story-block:nth-child(even) .story-image {
  grid-column: 2;
  grid-row: 1 / span 8;
}

.story-block:nth-child(even) > :not(.story-image) {
  grid-column: 1;
}

.story-block h2 {
  margin-top: 0;
  color: #223348;
}

.story-block p {
  margin: 0 0 18px;
}

.story-block p:last-child {
  margin-bottom: 0;
}

.heart-list {
  display: inline-grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.heart-list li {
  position: relative;
  padding-left: 28px;
}

.heart-list li::before {
  content: "♡";
  position: absolute;
  left: 0;
  color: #ab8a3b;
  font-size: 1.15em;
  line-height: 1.35;
}

.custom-audio-player {
  width: min(100%, 640px);
  margin: 30px auto 0;
  padding: 22px;
  border: 1px solid rgba(34, 51, 72, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(34, 51, 72, 0.1);
}

.audio-title {
  margin-bottom: 16px;
  color: #223348;
  font-family: "Bodoni Moda", serif;
  font-size: 1.45rem;
  line-height: 1.2;
  text-align: center;
}

.audio-controls {
  display: grid;
  grid-template-columns: auto auto minmax(120px, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.audio-toggle {
  min-width: 92px;
}

.audio-time {
  min-width: 42px;
  color: #223348;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.audio-slider {
  width: 100%;
  accent-color: #ab8a3b;
}

.image-section img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
}

.comic-page {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 880px;
  margin: 34px auto 0;
  border: 2px solid #1d1d1d;
  background: #fff;
  text-align: left;
}

.comic-strip-panel {
  display: flex;
  min-height: 300px;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: clamp(14px, 2.2vw, 22px);
  border-right: 2px solid #1d1d1d;
  border-bottom: 2px solid #1d1d1d;
  background:
    radial-gradient(circle at 20% 18%, rgba(0, 0, 0, 0.035) 0 1px, transparent 1.5px),
    #fffefb;
  background-size: 18px 18px;
}

.comic-strip-panel:nth-child(3n),
.comic-strip-panel-wide,
.comic-strip-panel-end {
  border-right: 0;
}

.comic-strip-panel img {
  display: block;
  width: 100%;
  max-height: 190px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.12);
  mix-blend-mode: multiply;
}

.comic-strip-panel p {
  margin: 0;
  color: #111;
  font-family: "Lacquer", "Comic Sans MS", cursive;
  font-size: clamp(0.9rem, 1.55vw, 1.12rem);
  line-height: 1.45;
}

.comic-strip-panel strong {
  font-weight: 400;
}

.comic-strip-panel-wide,
.comic-strip-panel-end {
  grid-column: 1 / -1;
  min-height: 230px;
  flex-direction: row;
  align-items: center;
}

.comic-strip-panel-wide img,
.comic-strip-panel-end img {
  width: 58%;
  max-height: 260px;
}

.comic-strip-panel-wide p,
.comic-strip-panel-end p {
  flex: 1;
}

.comic-strip-panel-end {
  border-bottom: 0;
}

.map-frame {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 24px auto 0;
}

.map-frame + h2 {
  margin-top: 54px;
}

.arrival-image {
  display: block;
  width: 50%;
  max-width: 100%;
  height: auto;
  margin: 28px auto 0;
}

.dresscode-colors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.dresscode-color {
  display: block;
  width: clamp(52px, 8vw, 72px);
  aspect-ratio: 1;
  border: 1px solid rgba(51, 51, 51, 0.18);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(51, 51, 51, 0.08);
}
.dresscode-color-0 {
  background: #405738;
}

.dresscode-color-1 {
  background: #1C344C;
}

.dresscode-color-2 {
  background: #758592;
}

.dresscode-color-3 {
  background:#b7693d;
}

.dresscode-color-4 {
  background: #cf9f4e;
}

.dresscode-color-5 {
  background: #f6e8d8;
}

footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
}

footer a,
footer a:link,
footer a:visited,
footer a:active,
footer a:hover,
footer a:focus-visible {
  color: #fff !important;
  text-decoration-color: #fff;
}

h1, h2 {
  margin-bottom: 20px;
  font-family: "Bodoni Moda", serif;
}

h1 {
  font-size: 2rem;
}

p {
  font-family: "Montserrat", sans-serif;
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border: 0;
  background: #ab8a3b;
  color: white;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  background: #947631;
  outline: none;
}

.witness-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.witness-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 124px;
  height: 46px;
  box-sizing: border-box;
}

.maybe-button-slot {
  position: relative;
  display: inline-block;
  width: 124px;
  height: 46px;
}

.maybe-button {
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.18s ease;
  will-change: transform;
}

.witness-status {
  min-height: 1.5em;
  margin-top: 18px;
  text-align: center;
  font-weight: 600;
}

.rsvp-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 2000;
}

.rsvp-modal.is-open {
  display: flex;
}

.rsvp-modal-backdrop,
.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(34, 51, 72, 0.58);
}

.rsvp-dialog {
  position: relative;
  width: min(100%, 560px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 34px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(34, 51, 72, 0.28);
  text-align: left;
}

.rsvp-dialog h2 {
  margin-top: 0;
  text-align: center;
}

.rsvp-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f4f4f4;
  color: #223348;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.image-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 2000;
}

.image-modal.is-open {
  display: flex;
}

.image-dialog {
  position: relative;
  width: min(100%, 820px);
  max-height: calc(100vh - 48px);
}

.image-dialog img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 48px);
  border-radius: 8px;
  object-fit: contain;
}

.image-dialog-with-note img {
  max-height: calc(100vh - 112px);
}

.image-note {
  margin: 14px 0 0;
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.info-dialog {
  box-sizing: border-box;
  width: min(100%, 640px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 34px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(34, 51, 72, 0.28);
  text-align: left;
}

.info-dialog h2 {
  margin: 0 42px 16px 0;
  color: #223348;
  text-align: left;
}

.info-dialog p {
  margin: 0 0 22px;
}

.info-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.info-contact-card {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(34, 51, 72, 0.18);
  border-radius: 8px;
  background: #f4f4f4;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
}

.info-contact-card strong {
  color: #223348;
}

.info-contact-card span {
  font-size: 0.92rem;
}

.info-contact-card a {
  color: #223348;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.image-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #223348;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.rsvp-form {
  display: grid;
  gap: 16px;
}

.rsvp-form label,
.rsvp-form legend {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  box-sizing: border-box;
  margin-top: 7px;
  padding: 11px 12px;
  border: 1px solid rgba(34, 51, 72, 0.28);
  border-radius: 6px;
  font: inherit;
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
  border-color: #223348;
  outline: none;
}

.rsvp-form fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(34, 51, 72, 0.18);
  border-radius: 6px;
}

.person-fields {
  background: #fafafa;
}

.meal-fields {
  background: #fff;
}

.attendance-dependent {
  display: grid;
  gap: 16px;
}

.additional-guests {
  display: grid;
  gap: 16px;
}

.radio-label,
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 400 !important;
}

.radio-label input,
.checkbox-label input {
  width: auto;
  margin: 0;
}

.rsvp-status {
  min-height: 1.4em;
  margin: 0;
  color: #223348;
  text-align: center;
  font-weight: 700;
}

.text-link {
  color: #223348;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-section-list {
  display: grid;
  gap: 30px;
  margin-top: 34px;
}

.contact-section {
  display: grid;
  gap: 18px;
}

.contact-section-heading {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  align-items: center;
  text-align: left;
}

.contact-section-heading img {
  display: block;
  width: 88px;
  height: 88px;
  box-sizing: border-box;
  padding: 14px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}

.contact-section-heading h3 {
  margin: 0 0 8px;
  color: #223348;
  font-family: "Bodoni Moda", serif;
  font-size: 1.55rem;
  line-height: 1.15;
}

.contact-section-heading p {
  margin: 0;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-person-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 5px;
  column-gap: 16px;
  align-items: start;
  box-sizing: border-box;
  padding: 20px;
  border: 1px solid rgba(34, 51, 72, 0.18);
  border-radius: 8px;
  background: #fff;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  line-height: 1.5;
  text-align: left;
}

.contact-person-card > :not(.contact-person-photo) {
  grid-column: 2;
}

.contact-person-photo {
  grid-row: 1 / span 6;
  width: 82px;
  aspect-ratio: 1;
  box-sizing: border-box;
  padding: 12px;
  border-radius: 50%;
  background: #f4f4f4;
  object-fit: cover;
}

.contact-person-card strong {
  color: #223348;
}

.contact-person-card span {
  font-size: 0.92rem;
}

.contact-person-card p {
  margin: 0;
}

.contact-person-card a {
  color: #223348;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#parkplatz {
  scroll-margin-top: 70px;
}

.lacquer-regular {
  font-family: "Lacquer", system-ui;
  font-weight: 400;
  font-style: normal;
}

.bodoni-moda-font {
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.montserrat-font {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

@media (min-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
}

.lovebird-img {
  height: 60vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.gallery-carousel {
  position: relative;
  max-width: 760px;
  margin: 34px auto 0;
  padding: 0 52px 30px;
}

.gallery-carousel-viewport {
  overflow: hidden;
}

.gallery-carousel-track {
  display: flex;
  gap: 18px;
  box-sizing: border-box;
  padding: 0 14%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-carousel-track::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  flex: 0 0 72%;
  box-sizing: border-box;
  margin: 0;
  scroll-snap-align: center;
}

.gallery-slide img {
  display: block;
  width: 100%;
  height: min(64vh, 620px);
  object-fit: contain;
}

.gallery-slide figcaption {
  margin-top: 12px;
  color: #5f5a52;
  font-size: 0.98rem;
  line-height: 1.45;
  text-align: center;
}

.gallery-carousel .carousel-button {
  top: 50%;
  transform: translateY(-50%);
}

.gallery-carousel .carousel-button:hover,
.gallery-carousel .carousel-button:focus-visible {
  transform: translateY(calc(-50% - 1px));
}

#weddingCountdown.countdown-section {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 16px 0;
  margin-top: 0;
}

#weddingCountdown .countdown-date {
  margin: 0 0 18px;
}

#weddingCountdown .countdown-timer {
  display: flex;
  justify-content: center;
  align-items: flex-start ;
  flex-direction: row ;
  flex-wrap: nowrap ;
  gap: clamp(14px, 6vw, 72px);
  max-width: 760px;
  margin: 0 auto;
}

#weddingCountdown .countdown-box {
  flex: 0 1 120px;
  text-align: center;
  min-width: 0;
}

#weddingCountdown .countdown-box span {
  display: block ;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(42px, 12vw, 86px);
  font-weight: 100 ;
  line-height: 0.9 ;
  letter-spacing: 0;
}

#weddingCountdown .countdown-box small {
  display: block ;
  margin-top: 16px ;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(9px, 2.6vw, 16px);
  font-weight: 400 ;
  letter-spacing: 1px ;
}

.agenda-timeline {
  position: relative;
  display: grid;
  gap: 24px;
  max-width: 760px;
  margin: 45px auto 0;
  padding: 12px 0;
}

.agenda-timeline::before {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 50%;
  width: 2px;
  background: #333;
  transform: translateX(-50%);
}

.agenda-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 58px 1fr;
  align-items: center;
  min-height: 112px;
}

.agenda-item::before {
  content: "";
  grid-column: 2;
  justify-self: center;
  width: 13px;
  height: 13px;
  background: #333;
  border-radius: 50%;
  z-index: 1;
}

.agenda-content {
  display: grid;
  grid-row: 1;
  justify-items: center;
  gap: 4px;
}

.agenda-left .agenda-content {
  grid-column: 1;
}

.agenda-right .agenda-content {
  grid-column: 3;
}

.agenda-left::before,
.agenda-right::before {
  grid-row: 1;
}

.agenda-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
  color: #333;
  font-family: "Bodoni Moda", serif;
  font-size: 2rem;
  line-height: 1;
}

.agenda-content strong {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.agenda-content > span:not(.agenda-icon) {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.agenda-link {
  margin-top: 4px;
  color: #223348;
  font-family: "Montserrat", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.agenda-button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

@media (max-width: 640px) {
  .agenda-timeline {
    max-width: 420px;
    gap: 18px;
    margin-top: 34px;
  }

  .agenda-timeline::before {
    left: 28px;
  }

  .agenda-item {
    grid-template-columns: 56px 1fr;
    min-height: 96px;
  }

  .agenda-item::before {
    grid-column: 1;
  }

  .agenda-left .agenda-content,
  .agenda-right .agenda-content {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }

  .agenda-content {
    justify-items: start;
  }

  .agenda-icon {
    width: 40px;
    height: 40px;
    font-size: 1.65rem;
  }
}

.stay-carousel {
  position: relative;
  max-width: 840px;
  margin: 34px auto 0;
  padding: 0 52px 30px;
}

.stay-carousel-viewport {
  overflow: hidden;
}

.stay-carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.stay-carousel-track::-webkit-scrollbar {
  display: none;
}

.stay-card {
  display: grid;
  flex: 0 0 calc((100% - 36px) / 3);
  min-height: 220px;
  align-content: start;
  gap: 12px;
  box-sizing: border-box;
  padding: 24px;
  border: 1px solid rgba(34, 51, 72, 0.18);
  border-radius: 8px;
  background: #fff;
  color: #333;
  text-align: left;
  text-decoration: none;
  scroll-snap-align: start;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.stay-card:hover,
.stay-card:focus-visible {
  border-color: rgba(34, 51, 72, 0.45);
  box-shadow: 0 12px 28px rgba(34, 51, 72, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.stay-card-source {
  color: #667;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stay-card img {
  display: block;
  width: 100%;
  height: clamp(86px, 9vw, 120px);
  max-width: 100%;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
}

.stay-card strong {
  font-family: "Bodoni Moda", serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
}

.stay-card span {
  font-family: "Montserrat", sans-serif;
  line-height: 1.45;
}

.stay-card-link {
  align-self: end;
  margin-top: auto;
  color: #223348;
  font-size: 0.86rem;
  font-weight: 700;
}

.carousel-button {
  position: absolute;
  top: 88px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(34, 51, 72, 0.28);
  border-radius: 50%;
  background: #fff;
  color: #223348;
  font-family: "Bodoni Moda", serif;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  border-color: #223348;
  background: #f4f4f4;
  transform: translateY(-1px);
  outline: none;
}

.carousel-button-prev {
  left: 0;
}

.carousel-button-next {
  right: 0;
}

.carousel-dots {
  position: absolute;
  right: 52px;
  bottom: 0;
  left: 52px;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(34, 51, 72, 0.28);
  padding: 0;
}

.carousel-dot.is-active {
  background: #223348;
}

@media (max-width: 760px) {
  .vertical-slideshow {
    height: calc(100vh - 117px);
  }

  .story-block,
  .story-block:nth-child(even) {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 16px;
    justify-self: stretch;
    text-align: left;
  }

  .story-block:nth-child(odd) > :not(.story-image),
  .story-block:nth-child(even) > :not(.story-image) {
    grid-column: 2;
  }

  .story-block:nth-child(odd) .story-image,
  .story-block:nth-child(even) .story-image {
    grid-column: 1;
    grid-row: 1 / span 8;
  }

  .story-image {
    width: 104px;
  }

  .vertical-slide {
    transition-duration: 0.24s, 0.34s;
  }

  .vertical-slide:nth-child(12n + 1) {
    --x: 20vw;
    --w: 62vw;
  }

  .vertical-slide:nth-child(12n + 2) {
    --x: -28vw;
    --y: 31vh;
    --w: 78vw;
    --h: 52vh;
  }

  .vertical-slide:nth-child(12n + 3) {
    --x: 56vw;
    --w: 50vw;
    --h: 42vh;
  }

  .vertical-slide:nth-child(12n + 4) {
    --x: 54vw;
    --y: 54vh;
    --w: 49vw;
    --h: 36vh;
  }

  .comic-page {
    grid-template-columns: 1fr;
    max-width: 430px;
    margin-right: auto;
    margin-left: auto;
  }

  .comic-strip-panel,
  .comic-strip-panel:nth-child(3n),
  .comic-strip-panel-wide,
  .comic-strip-panel-end {
    grid-column: auto;
    min-height: auto;
    flex-direction: column;
    border-right: 0;
    border-bottom: 2px solid #1d1d1d;
  }

  .comic-strip-panel-end {
    border-bottom: 0;
  }

  .comic-strip-panel img,
  .comic-strip-panel-wide img,
  .comic-strip-panel-end img {
    width: 100%;
    max-height: 240px;
  }

  .stay-carousel {
    padding: 0 44px 28px;
  }

  .gallery-carousel {
    padding: 0 44px 28px;
  }

  .gallery-slide {
    flex-basis: 82%;
  }

  .gallery-carousel-track {
    padding: 0 9%;
  }

  .arrival-image {
    width: 100%;
  }

  .stay-card {
    flex-basis: 100%;
    min-height: 210px;
  }

  .stay-card img {
    height: clamp(120px, 38vw, 180px);
  }

  .carousel-dots {
    right: 44px;
    left: 44px;
  }

  .contact-card-grid {
    grid-template-columns: 1fr;
  }

  .info-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vertical-slide {
    transition: none;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: calc(25vh + 48px);
  }

  html {
    scroll-padding-top: 112px;
  }

  .main-nav {
    min-height: 48px;
    gap: clamp(7px, 2.2vw, 12px);
    padding: 14px 12px 12px;
  }

  header.shrink + .main-nav {
    min-height: 60px;
    padding: 18px 12px 16px;
  }

  .main-nav-link {
    font-size: clamp(0.56rem, 2.7vw, 0.72rem);
  }

  header.shrink + .main-nav .main-nav-link {
    font-size: clamp(0.62rem, 3vw, 0.8rem);
  }

  .page-section-anchor {
    scroll-margin-top: 112px;
  }

  .vertical-slideshow {
    top: 105px;
    height: calc(100vh - 105px);
  }

  .comic-page {
    border-width: 1px;
  }

  .comic-strip-panel,
  .comic-strip-panel:nth-child(3n),
  .comic-strip-panel-wide,
  .comic-strip-panel-end {
    padding: 14px;
    border-bottom-width: 1px;
  }

  .stay-carousel {
    padding: 0 0 30px;
  }

  .gallery-carousel {
    padding: 0 0 30px;
  }

  .gallery-slide {
    flex-basis: 86%;
  }

  .gallery-carousel-track {
    padding: 0 7%;
  }

  .stay-carousel-viewport,
  .gallery-carousel-viewport {
    overflow: visible;
  }

  .carousel-button {
    top: auto;
    bottom: -4px;
    transform: none;
  }

  .gallery-carousel .carousel-button,
  .gallery-carousel .carousel-button:hover,
  .gallery-carousel .carousel-button:focus-visible {
    transform: none;
  }

  .carousel-button-prev {
    left: 0;
  }

  .carousel-button-next {
    right: 0;
  }

  .carousel-dots {
    right: 48px;
    left: 48px;
  }

  .audio-controls {
    grid-template-columns: 1fr auto auto;
  }

  .audio-toggle {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .audio-slider {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .contact-section-heading {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .contact-person-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .contact-person-card > :not(.contact-person-photo) {
    grid-column: 1;
  }

  .contact-person-photo {
    grid-row: auto;
    margin-bottom: 8px;
  }
}
