/* Hochzeit — HSL-Designsystem, Noise, Kupfer */
:root {
  --background: 50 25% 88%;
  --foreground: 72 19% 32%;
  --card: 55 18% 65%;
  --card-foreground: 72 19% 32%;
  --primary: 72 19% 32%;
  --primary-foreground: 50 25% 88%;
  --muted: 55 15% 75%;
  --muted-foreground: 72 13% 45%;
  --border: 55 15% 72%;
  --ivory: 50 25% 88%;
  --cream: 55 18% 65%;
  --sage: 72 13% 45%;
  --sage-dark: 72 19% 32%;
  --copper: 22 48% 46%;
  --copper-soft: 22 32% 68%;
  --copper-dark: 22 52% 34%;
  /* Startvideo: max. Weichzeichnen am Ende = Startunschärfe der Seite beim Übergang */
  --gate-end-blur: 12px;
  --site-deblur-duration: 1.2s;
  --gate-end-blur-window: 1.35s;
  --radius: 0.5rem;
  --font-script: "Great Vibes", cursive;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --shadow-soft: 0 2px 15px -3px rgba(58, 69, 52, 0.08),
    0 4px 6px -2px rgba(58, 69, 52, 0.04);
  --shadow-elegant: 0 10px 40px -10px rgba(58, 69, 52, 0.15),
    0 4px 15px -3px rgba(58, 69, 52, 0.08);
  --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  background-color: hsl(98 24% 92%);
  color: hsl(var(--foreground));
  background-image: var(--noise);
  background-blend-mode: overlay;
  background-size: 200px;
  -webkit-font-smoothing: antialiased;
}

body.start-gate-active {
  overflow: hidden;
}

/* ——— Start-Video (echtes Vollbild, Text-Hinweis + Skip) ——— */
.start-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  overflow: hidden;
  background: #0a0908;
  /* Langer, weicher Ausblend — ohne harten Schnitt zur Seite darunter */
  transition: opacity 1.45s ease-in-out;
  will-change: opacity;
}

.start-gate.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* visibility erst nach der Opacity-Animation, sonst wirkt es abrupt */
  transition: opacity 1.45s ease-in-out, visibility 0s linear 1.45s;
}

.start-gate__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #000;
  transition: filter 0.08s linear;
}

@media (prefers-reduced-motion: reduce) {
  .start-gate,
  .start-gate.is-done {
    transition: opacity 0.35s ease-in-out, visibility 0s linear 0.35s;
  }

  .start-gate__tap-text {
    animation: none;
  }
}

/* Volle Fläche antippen startet das Video; Hinweistext unten mittig */
.start-gate__tap {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 1.5rem;
  padding-bottom: clamp(4.75rem, 14vh, 6.5rem);
  border: none;
  cursor: pointer;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.28) 100%
  );
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.start-gate__tap:hover {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0.34) 100%
  );
}

.start-gate__tap:focus-visible {
  outline: 2px solid hsl(var(--copper));
  outline-offset: -4px;
}

.start-gate__tap-text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.2vw, 1.65rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: hsl(var(--copper-soft));
  text-shadow: 0 0 1.25rem rgba(0, 0, 0, 0.85), 0 2px 12px rgba(0, 0, 0, 0.55),
    0 0 40px hsl(var(--copper) / 0.25);
  animation: start-gate-tap-pulse 2.25s ease-in-out infinite;
}

@keyframes start-gate-tap-pulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.88;
  }
  50% {
    transform: translateY(0.45rem);
    opacity: 1;
  }
}

.start-gate.is-playing .start-gate__tap {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.start-gate__skip {
  position: absolute;
  right: max(1.25rem, env(safe-area-inset-right, 0px));
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  z-index: 2;
  appearance: none;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid hsl(var(--copper) / 0.35);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--copper-soft));
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.start-gate__skip:hover,
.start-gate__skip:focus-visible {
  background: rgba(0, 0, 0, 0.5);
  border-color: hsl(var(--copper) / 0.55);
  color: hsl(var(--ivory) / 0.95);
}

.start-gate__skip:focus-visible {
  outline: 2px solid hsl(var(--copper));
  outline-offset: 3px;
}

/* Nach dem Startvideo: gleiche Unschärfe wie am Videoende, dann Entschärfen der Seite */
body.site-reveal:not(.site-reveal-clear) .dn-header,
body.site-reveal:not(.site-reveal-clear) #top {
  filter: blur(var(--gate-end-blur));
  transition: none;
}

body.site-reveal.site-reveal-clear .dn-header,
body.site-reveal.site-reveal-clear #top {
  filter: blur(0);
  transition: filter var(--site-deblur-duration)
    cubic-bezier(0.33, 0.4, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  body.site-reveal:not(.site-reveal-clear) .dn-header,
  body.site-reveal:not(.site-reveal-clear) #top,
  body.site-reveal.site-reveal-clear .dn-header,
  body.site-reveal.site-reveal-clear #top {
    filter: none !important;
    transition: none !important;
  }
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
}

/* ——— Header ——— */
.dn-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: hsl(var(--ivory) / 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.dn-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: hsl(var(--foreground));
  text-decoration: none;
}

.dn-logo:hover {
  color: hsl(var(--sage));
}

.dn-nav-toggle {
  display: none;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  padding: 0.45rem 0.75rem;
  font: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  color: hsl(var(--foreground));
}

.dn-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: flex-end;
  align-items: center;
}

.dn-nav a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}

.dn-nav a:hover {
  color: hsl(var(--sage-dark));
}

.dn-nav a.is-active {
  color: hsl(var(--copper));
}

.dn-nav a.is-active:hover {
  color: hsl(var(--copper-dark));
}

@media (max-width: 960px) {
  .dn-nav-toggle {
    display: block;
  }

  .dn-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem;
    background: hsl(var(--background));
    border-bottom: 1px solid hsl(var(--border));
    gap: 0.75rem;
  }

  .dn-nav.is-open {
    display: flex;
  }
}

/* ——— Video Hero ——— */
.dn-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dn-hero__media {
  position: absolute;
  inset: 0;
}

/* Sanft bewegende Farbflächen (Oliv, Warmton, Kupferstich) — füllt die Ränder neben dem kleineren Video */
.dn-hero__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: hsl(72 20% 14%);
  background-image: radial-gradient(
      ellipse 90% 70% at 15% 35%,
      hsl(22 42% 32% / 0.55) 0%,
      transparent 58%
    ),
    radial-gradient(
      ellipse 75% 65% at 88% 65%,
      hsl(72 22% 28% / 0.5) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 60% 50% at 50% 100%,
      hsl(42 28% 22% / 0.35) 0%,
      transparent 50%
    ),
    linear-gradient(
      145deg,
      hsl(72 18% 12%) 0%,
      hsl(22 24% 16%) 45%,
      hsl(72 16% 11%) 100%
    );
  background-size:
    140% 140%,
    130% 130%,
    120% 120%,
    100% 100%;
  background-position:
    10% 20%,
    90% 80%,
    50% 100%,
    0 0;
  animation: dn-hero-ambient-drift 22s ease-in-out infinite alternate;
}

.dn-hero__ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  opacity: 0.12;
  mix-blend-mode: overlay;
  pointer-events: none;
}

@keyframes dn-hero-ambient-drift {
  0% {
    background-position:
      8% 25%,
      92% 72%,
      48% 98%,
      0 0;
    filter: hue-rotate(0deg);
  }
  50% {
    background-position:
      22% 15%,
      78% 88%,
      55% 92%,
      0 0;
    filter: hue-rotate(4deg);
  }
  100% {
    background-position:
      18% 38%,
      85% 60%,
      52% 100%,
      0 0;
    filter: hue-rotate(-3deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dn-hero__ambient {
    animation: none;
  }
}

.dn-hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.5rem, 2vw, 1rem);
  pointer-events: none;
  box-sizing: border-box;
}

.dn-hero__video-wrap .dn-hero__video {
  pointer-events: auto;
}

/* Größer als zuvor; cover + Ausrichtung nach oben schneidet unten weg */
.dn-hero__video {
  width: min(99vw, 1680px);
  height: min(92vh, 980px);
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.dn-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* Warmer Kupfer-/Bronze-Schleier statt Oliv */
  background: linear-gradient(
    to bottom,
    hsl(var(--copper-dark) / 0.28) 0%,
    hsl(22 44% 11% / 0.5) 42%,
    hsl(22 38% 7% / 0.72) 100%
  );
  pointer-events: none;
}

.dn-hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  max-width: 52rem;
}

.dn-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: hsl(var(--copper-soft));
  margin: 0 0 1rem;
}

.dn-hero__title {
  font-family: var(--font-script);
  font-size: clamp(3rem, 12vw, 5.5rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 0.5rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
  line-height: 1.05;
}

.dn-hero__date {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.65rem);
  font-style: italic;
  color: hsl(var(--ivory) / 0.95);
  margin: 0 0 2rem;
}

.dn-scroll {
  display: inline-block;
  margin-top: 3rem;
  color: hsl(var(--copper-soft));
  font-size: 1.75rem;
  text-decoration: none;
  animation: dn-bounce 2.2s ease-in-out infinite;
}

@keyframes dn-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* ——— Sections (undurchsichtiges „Blatt“, damit feste Fotos nur in Loch-Streifen sichtbar sind) ——— */
.dn-section {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem;
  background-color: hsl(var(--background));
  background-image: var(--noise);
  background-blend-mode: overlay;
  background-size: 200px;
}

@media (min-width: 768px) {
  .dn-section {
    padding: 7rem 2.5rem;
  }
}

.dn-section--cream {
  background-color: hsl(var(--cream));
  background-image: var(--noise);
  background-blend-mode: overlay;
  background-size: 200px;
}

/* „Über uns“: helles Grün, passend zu Sage im Farbsystem */
.dn-section--light-green {
  background-color: hsl(98 24% 92%);
  background-image: var(--noise);
  background-blend-mode: overlay;
  background-size: 200px;
}

main#top {
  position: relative;
  z-index: 1;
}

/* Feste Fotos unter dem scrollenden Inhalt; sichtbar nur durch Loch-Streifen */
.dn-hole-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.dn-hole-backdrop img {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, 62vw);
  max-height: min(300px, 42vh);
  height: auto;
  object-fit: cover;
  border-radius: 7px;
  box-shadow:
    0 12px 32px rgba(45, 55, 40, 0.2),
    0 2px 0 rgba(255, 255, 252, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

/* Hochformat: weniger beschneiden (ganzes Motiv sichtbar, ggf. schmale Ränder) */
.dn-hole-backdrop img.dn-hole-photo--portrait {
  object-fit: contain;
  max-height: min(340px, 50vh);
}

/* Größere Bildschirme: Hochformat-Fotos deutlich größer */
@media (min-width: 900px) {
  .dn-hole-backdrop img.dn-hole-photo--portrait {
    width: min(520px, 40vw);
    max-height: min(520px, 70vh);
  }
}

@media (min-width: 1200px) {
  .dn-hole-backdrop img.dn-hole-photo--portrait {
    width: min(620px, 36vw);
    max-height: min(640px, 78vh);
  }
}

.dn-hole-backdrop img.is-lit {
  opacity: 1;
  visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
  .dn-hole-backdrop img {
    transition: none;
  }
}

/* Transparente Stelle im „Blatt“ — dahinter liegt das jeweilige Bild (bewegungslos im Viewport) */
.dn-hole-strip {
  position: relative;
  min-height: clamp(15rem, 32vh, 22rem);
  margin: 0;
  pointer-events: none;
  background: transparent;
}

.dn-inner {
  max-width: 42rem;
  margin: 0 auto;
}

.dn-inner--wide {
  max-width: 64rem;
}

.dn-section-title {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  text-align: center;
  color: hsl(var(--sage-dark));
  font-weight: 400;
  margin: 0 0 0.5rem;
}

.dn-section-kicker {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin: 0 0 2.5rem;
}

.dn-divider {
  margin: 3rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 16rem;
}

.dn-divider::before,
.dn-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: hsl(var(--border));
}

.dn-divider span {
  color: hsl(var(--copper));
  font-size: 1rem;
}

.dn-card {
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid hsl(var(--border) / 0.35);
  background: hsl(var(--card) / 0.75);
  backdrop-filter: blur(8px);
  padding: clamp(1.2rem, 2.8vw, 2rem);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.dn-card:hover {
  box-shadow: var(--shadow-elegant);
  transform: translateY(-2px);
}

.dn-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  color: hsl(var(--sage-dark));
}

/* Kleine Eyebrow-Zeile über dem Namen einer Karte (z. B. „Georgias Trauzeugin“) */
.dn-card-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: hsl(var(--copper));
}

/* Untertitel direkt unter dem Namen einer Karte (z. B. Trauzeugen) */
.dn-card-subtitle {
  margin: -0.4rem 0 1.1rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  color: hsl(var(--copper));
}

.dn-card p + p {
  margin-top: 0.85rem;
}

/* Trauzeugen-Karten: gleiche Farbe wie der FAQ-Hintergrund */
#trauzeugen .dn-card {
  background: hsl(var(--background));
  backdrop-filter: none;
}

/* Foto in einer Trauzeugen-Karte */
.dn-witness-photo-wrap {
  margin: -0.25rem auto 1.25rem;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  background: hsl(var(--background));
}

.dn-witness-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Location: Wann / Wo gleiche Badge-Zeile */
.dn-location-split .dn-location-badge {
  margin: 0 0 1rem;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.dn-card--location .dn-location-venue {
  margin: 0 0 0.65rem;
  font-family: var(--font-script);
  font-size: clamp(1.85rem, 5vw, 2.35rem);
  font-weight: 400;
  color: hsl(var(--sage-dark));
  line-height: 1.15;
}

.dn-card--location .dn-location-note {
  margin: 0 0 1.25rem;
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
  line-height: 1.55;
  color: hsl(var(--muted-foreground));
}

.dn-location-address-block {
  margin: 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid hsl(var(--border) / 0.45);
  text-align: center;
}

.dn-location-address-label {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
}

.dn-location-address {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.65;
  color: hsl(var(--sage-dark));
}

.dn-location-spec__foot {
  margin: 1.5rem 0 0;
}

.dn-location-maps {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: hsl(var(--copper));
  border-bottom: 1px solid hsl(var(--copper) / 0.45);
  padding-bottom: 0.15rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.dn-location-maps:hover {
  color: hsl(var(--sage-dark));
  border-color: hsl(var(--sage-dark) / 0.35);
}

/* Steckbrief: einheitliche Kartenfläche; Portrait-Zone = gleiche Farbe wie Textbereich */
.dn-card--profile {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  backdrop-filter: none;
  /* Weicheres Grün-Grau, klar abgesetzt von der alten fast-schwarzen Foto-Leiste */
  background: hsl(78 12% 34%);
  border-color: hsl(78 9% 44% / 0.55);
}

.dn-card--profile:hover {
  border-color: hsl(78 9% 50% / 0.7);
}

.dn-card--profile h3 {
  color: hsl(var(--ivory));
  margin: 1.25rem 1.75rem 0.5rem;
}

.dn-profile-subtitle {
  margin: 0 1.75rem 0.85rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  color: hsl(var(--copper-soft));
}

.dn-card--profile__text {
  font-size: 0.98rem;
  line-height: 1.68;
  color: hsl(50 22% 88% / 0.92);
  margin: 0 1.75rem 1.75rem;
}

.dn-card--profile__text > p {
  margin: 0 0 1rem;
}

.dn-card--profile__text > p:last-child {
  margin-bottom: 0;
}

.dn-profile-lead-in {
  margin-bottom: 0.5rem !important;
  font-style: italic;
  color: hsl(50 18% 82% / 0.88);
}

.dn-profile-catchphrases {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0.65rem 0 0.65rem 1rem;
  border-left: 2px solid hsl(var(--copper) / 0.45);
}

.dn-profile-catchphrases li {
  margin: 0.35rem 0;
  font-style: italic;
  letter-spacing: 0.02em;
  color: hsl(50 24% 90% / 0.95);
}

.dn-profile-closing {
  margin-top: 1rem !important;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  color: hsl(var(--copper-soft));
  text-align: center;
}

/* Hervorgehobene Zitate / Insider-Phrasen in den Profiltexten */
.dn-card--profile__text .dn-quote {
  font-family: var(--font-display);
  font-style: italic;
  color: hsl(var(--copper-soft));
}

.dn-profile-photo-wrap {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.75rem 1.25rem;
  background: transparent;
}

.dn-profile-photo {
  width: 100%;
  max-width: min(220px, 72%);
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.dn-grid-2 {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.5rem), 1fr));
  align-items: stretch;
}

.dn-grid-2 > .dn-card {
  height: 100%;
}

#ueber-uns .dn-grid-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  #ueber-uns .dn-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dn-lead {
  font-size: 1.08rem;
  line-height: 1.75;
  color: hsl(var(--foreground) / 0.92);
}

.dn-card--profile p.dn-lead {
  color: hsl(50 22% 88% / 0.92);
}

.dn-invite-lines {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 600;
  text-align: center;
  line-height: 1.1;
  color: hsl(var(--sage-dark));
  white-space: nowrap;
}

/* Tagesablauf: warmer Beige-Kasten auf Creme-Sektion */
.dn-day-schedule-panel {
  max-width: min(32rem, 100%);
  margin-inline: auto;
  margin-top: 0.25rem;
  padding: clamp(1.65rem, 4vw, 2.35rem) clamp(1.25rem, 4vw, 2rem)
    clamp(1.75rem, 4vw, 2.5rem);
  background-color: hsl(var(--background));
  background-image: var(--noise);
  background-blend-mode: overlay;
  background-size: 200px;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid hsl(42 14% 72% / 0.55);
  box-shadow: var(--shadow-soft);
}

/* Timeline */
.dn-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.dn-timeline-item {
  text-align: center;
  padding: 0.5rem 0 2rem;
  max-width: 28rem;
}

.dn-timeline-item + .dn-timeline-item {
  border-top: 1px solid hsl(var(--border) / 0.5);
  padding-top: 2rem;
}

.dn-timeline-time {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.35rem;
}

.dn-timeline-item h3 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.dn-timeline-item p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
}

/* Locations */
.dn-loc-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .dn-loc-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ABC */
.dn-abc {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 520px) {
  .dn-abc {
    grid-template-columns: 1fr 1fr;
  }
}

.dn-abc-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.6rem 0;
  border-bottom: 1px solid hsl(var(--border) / 0.4);
}

.dn-abc-letter {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  background: hsl(var(--sage-dark));
  color: hsl(var(--ivory));
}

.dn-abc-row p {
  margin: 0;
  font-size: 0.95rem;
}

/* FAQ */
.dn-faq details {
  border: 1px solid hsl(var(--border) / 0.45);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  padding: 1rem 1.15rem;
  background: hsl(var(--card) / 0.5);
}

.dn-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: hsl(var(--sage-dark));
}

.dn-faq p {
  margin: 0.65rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
}

.dn-faq-parking-text {
  margin: 0.65rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
}

.dn-faq-inline-figure {
  margin: 0.85rem auto 0;
  max-width: 36rem;
  display: flex;
  justify-content: center;
}

.dn-faq-parking-open {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  max-width: 100%;
  border-radius: var(--radius);
  line-height: 0;
  box-shadow: var(--shadow-elegant);
}

.dn-faq-parking-open:focus-visible {
  outline: 2px solid hsl(var(--sage-dark));
  outline-offset: 3px;
}

.dn-faq-parking-open img {
  display: block;
  width: 100%;
  max-width: 36rem;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border) / 0.4);
}

/* Figures / gallery */
.dn-figure-row {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .dn-figure-row {
    grid-template-columns: 1fr 1fr;
  }
}

.dn-figure-row figure {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-elegant);
  aspect-ratio: 4 / 3;
}

.dn-figure-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dn-illus {
  width: 9rem;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
  opacity: 0.9;
}

/* Kompakter Ring-Trenner zwischen Location und Tagesablauf */
#details-visual {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

#details-visual .dn-illus {
  width: 6.5rem;
  margin: 0 auto;
}

/* Location: Wann & Wo nebeneinander */
.dn-location-split {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.5rem);
  align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.5rem), 1fr));
}

/* Nach dem Hochzeitstag: nur noch Ort-Karte, zentriert volle Breite */
.dn-location-split:has(#countdown-card[hidden]) {
  grid-template-columns: 1fr;
  max-width: 28rem;
  margin-inline: auto;
}

.dn-card--countdown {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.dn-countdown-card__date {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-style: italic;
  color: hsl(var(--sage-dark));
  line-height: 1.35;
}

.dn-countdown-card__kicker {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.dn-countdown--location {
  margin-top: 0;
  gap: 0.45rem 0.5rem;
}

.dn-countdown--location .dn-countdown-unit {
  min-width: 3.75rem;
  padding: 0.75rem 0.45rem;
  flex: 1 1 22%;
}

.dn-countdown--location .dn-countdown-value {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
}

.dn-countdown--location .dn-countdown-label {
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  margin-top: 0.35rem;
}

/* Countdown */
.dn-countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.dn-countdown-unit {
  min-width: 5rem;
  padding: 1.15rem 0.85rem;
  text-align: center;
  border-radius: var(--radius);
  background: hsl(var(--card) / 0.65);
  border: 1px solid hsl(var(--border) / 0.35);
  box-shadow: var(--shadow-soft);
}

.dn-countdown-value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: hsl(var(--sage-dark));
  line-height: 1;
}

.dn-countdown-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-top: 0.45rem;
}

/* Table & forms */
.dn-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border) / 0.45);
  background: hsl(var(--card) / 0.4);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid hsl(var(--border) / 0.35);
}

th {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--background) / 0.6);
}

.dn-cake-empty {
  color: hsl(var(--muted-foreground));
  font-style: italic;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label,
.dn-label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: hsl(var(--sage-dark));
}

.form-group input:not([type="radio"]):not([type="checkbox"]),
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font: inherit;
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) - 2px);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.form-group input:not([type="radio"]):not([type="checkbox"]):focus,
.form-group textarea:focus {
  outline: none;
  border-color: hsl(var(--sage));
  box-shadow: 0 0 0 3px hsl(var(--sage) / 0.2);
}

.radio-group label:not(.dn-rsvp-option) {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 400;
  margin-right: 1rem;
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 400;
}

/* Rückmeldung: Gruppe „Teilnahme“ klar von den Optionen absetzen */
.form-group--attendance {
  margin-top: 0.25rem;
}

/* Rückmeldung: einheitliche Überschriften (Name, Teilnahme, Anmerkungen) */
#rsvp-form .dn-rsvp-heading {
  display: block;
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: hsl(var(--sage) / 0.95);
}

/* Checkbox-/Radio-Text: gleiche Schrift wie Überschriften, etwas kleiner */
#rsvp-form .dn-rsvp-option {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  line-height: 1.45;
}

#rsvp-form .dn-rsvp-option .dn-rsvp-text {
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
}

/* Gemeinsame „Karten“ für Wahlmöglichkeiten in der Rückmeldung */
#rsvp-form .dn-rsvp-radios-panel,
#rsvp-form .dn-rsvp-privacy-panel {
  padding: 0.85rem 1rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid hsl(var(--border) / 0.65);
  background: hsl(var(--card) / 0.4);
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.35);
}

/* Teilnahme: zwei Optionen im Panel sauber ausrichten */
#rsvp-form .dn-rsvp-radios-panel.dn-rsvp-radios {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  align-items: stretch;
  margin-top: 0;
}

@media (min-width: 540px) {
  #rsvp-form .dn-rsvp-radios-panel.dn-rsvp-radios {
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    row-gap: 0.5rem;
  }
}

#rsvp-form .dn-rsvp-radios-panel .dn-rsvp-option {
  min-width: 0;
  width: 100%;
  align-items: center;
}

/* Rückmeldung: quadratische Box, Herz bei Auswahl — Basis für nicht-Panel-Fälle */
.dn-rsvp-radios:not(.dn-rsvp-radios-panel) {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0;
}

@media (min-width: 520px) {
  .dn-rsvp-radios:not(.dn-rsvp-radios-panel) {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.75rem;
  }
}

#rsvp-form .dn-rsvp-privacy-panel .dn-rsvp-option {
  width: 100%;
  align-items: flex-start;
}

#rsvp-form .dn-rsvp-privacy-panel .dn-rsvp-box {
  margin-top: 0.22em;
}

.dn-rsvp-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  cursor: pointer;
  font-weight: 400;
  line-height: 1.35;
  color: hsl(var(--foreground));
}

.dn-rsvp-option--block {
  align-items: flex-start;
}

.dn-rsvp-option input[type="radio"],
.dn-rsvp-option input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dn-rsvp-box {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.12em;
  border: 2px solid hsl(var(--sage-dark) / 0.45);
  border-radius: 4px;
  background: hsl(var(--background));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.dn-rsvp-option input:focus-visible + .dn-rsvp-box {
  outline: 2px solid hsl(var(--copper));
  outline-offset: 2px;
}

.dn-rsvp-option:hover .dn-rsvp-box {
  border-color: hsl(var(--sage-dark) / 0.65);
}

.dn-rsvp-option input:checked + .dn-rsvp-box {
  border-color: hsl(22 42% 40%);
  background: hsl(22 22% 97%);
}

.dn-rsvp-option input:checked + .dn-rsvp-box::after {
  content: "♥";
  font-size: 0.72rem;
  line-height: 1;
  color: hsl(22 45% 36%);
}

.dn-rsvp-text {
  flex: 1;
  min-width: 0;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--primary-foreground));
  background: hsl(var(--sage-dark));
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: filter 0.2s, transform 0.2s;
}

.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.form-note {
  font-size: 0.88rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.75rem;
}

.form-success {
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: hsl(var(--cream) / 0.6);
  border: 1px solid hsl(var(--border));
  color: hsl(var(--sage-dark));
  line-height: 1.55;
}

.dn-blockquote {
  margin: 2rem 0 0;
  padding: 1.5rem 1.25rem;
  border-left: 3px solid hsl(var(--copper));
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--card) / 0.35);
  border-radius: 0 0.5rem 0.5rem 0;
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

code {
  font-size: 0.88em;
  background: hsl(var(--muted) / 0.4);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* Footer */
.dn-footer {
  padding: 3rem 1.5rem;
  background: hsl(var(--sage-dark));
  color: hsl(var(--ivory) / 0.85);
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.65;
}

.dn-footer a {
  color: hsl(var(--copper-soft));
  text-decoration: none;
}

.dn-footer a:hover {
  text-decoration: underline;
}

.dn-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1rem;
}

.dn-footer strong {
  color: hsl(var(--ivory));
}

/* Gift list */
.dn-gift-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dn-gift-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid hsl(var(--border) / 0.4);
}

.dn-gift-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.dn-gift-list p {
  margin: 0;
  color: hsl(var(--muted-foreground));
}

/* Upload + gallery */
.dn-upload-form {
  max-width: 30rem;
  margin: 1.25rem auto 0;
}

.dn-gallery-filters {
  margin: 1.25rem auto 0;
  max-width: 42rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .dn-gallery-filters {
    grid-template-columns: 1fr 1fr;
  }
}

.dn-photo-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .dn-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .dn-photo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .dn-photo-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.dn-photo-card {
  margin: 0;
  border-radius: 0.8rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border) / 0.45);
  background: hsl(var(--card) / 0.6);
}

.dn-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
}

.dn-photo-card figcaption {
  padding: 0.55rem 0.7rem;
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
}

.dn-photo-delete {
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  border-radius: 999px;
  font: inherit;
  font-size: 0.72rem;
  padding: 0.2rem 0.65rem;
  cursor: pointer;
}

.dn-photo-delete:hover {
  border-color: hsl(var(--sage));
  color: hsl(var(--sage-dark));
}

.dn-gallery-empty {
  margin: 0;
  padding: 1rem;
  border: 1px dashed hsl(var(--border));
  border-radius: 0.75rem;
  text-align: center;
  color: hsl(var(--muted-foreground));
}

.admin-rsvp-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Lightbox */
.dn-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(7, 10, 8, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.dn-lightbox[hidden] {
  display: none !important;
}

.dn-lightbox__figure {
  margin: 0;
  max-width: min(96vw, 1300px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dn-lightbox__figure img {
  max-width: 100%;
  max-height: calc(92vh - 3.2rem);
  border-radius: 0.5rem;
  object-fit: contain;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.dn-lightbox__figure figcaption {
  margin-top: 0.65rem;
  color: hsl(var(--ivory));
  font-size: 0.88rem;
  text-align: center;
}

.dn-lightbox__close,
.dn-lightbox__nav {
  border: 1px solid hsl(0 0% 100% / 0.35);
  background: hsl(0 0% 0% / 0.35);
  color: white;
  cursor: pointer;
}

.dn-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  font-size: 1.4rem;
  line-height: 1;
}

.dn-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
}

.dn-lightbox__nav--prev {
  left: 1rem;
}

.dn-lightbox__nav--next {
  right: 1rem;
}

/* Klick-Herz (nur Hauptseite, siehe body.page-home) */
.dn-click-heart {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100102;
  pointer-events: none;
  width: clamp(1.2rem, 4.5vw, 1.7rem);
  height: clamp(1.2rem, 4.5vw, 1.7rem);
  filter: drop-shadow(0 0 0.55px hsl(340 72% 58% / 0.4));
  animation: dn-click-heart-pop 0.78s ease-out forwards;
  will-change: transform, opacity;
}

.dn-click-heart svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.dn-click-heart path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

/* Einheitlich mittlerer Strich (wie Referenz); leichter Glow für weiche Kanten */
.dn-click-heart__shape {
  stroke: hsl(340 72% 50%);
  stroke-width: 1.65px;
}

@keyframes dn-click-heart-pop {
  0% {
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(0.2);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.35);
  }
}
