/* 01 · DESIGN-EINSTELLUNGEN
   Hier Farben und Schriftarten ändern. Alle Abschnitte verwenden diese Werte.
   Die Nebenfarben erhalten die bisherigen feinen Farbunterschiede. */
:root {
  /* Hauptfarben – hier beginnen, wenn du das Farbschema ändern möchtest. */
  --page-background: #f8f7f3; /* Seitenhintergrund */
  --card-background: #fffefa; /* Karten und helle Buttons */
  --text-color: #303d35;      /* Haupttext und Überschriften */
  --muted-text: #626d64;      /* Beschreibungstexte */
  --accent: #823f49;          /* Namen, Icons und Hauptbutton */
  --sage: #e9eee7;            /* Startbereich und Icon-Hintergründe */
  --dark-green: #40594a;      /* Fotobereich und Reisepass */
  --border-color: #dce1d9;    /* Kartenrahmen und Trennlinien */

  /* Akzent-Abstufungen: Links, Button-Rahmen und Hover-Effekte. */
  --accent-secondary: #8c3b43;
  --accent-hover: #753139;
  --accent-soft: #f1e5e6;
  --accent-border: #c6a4a8;

  /* Grüntöne: Kopfzeile, Dekoration und Buchungsstatus. */
  --green-detail: #728370;
  --green-brand: #3f584b;
  --green-reference: #425a4e;
  --green-branch: #496356;
  --green-status: #47654d;
  --green-confirmed: #3f6048;
  --green-check: #486b50;
  --border-nav: #cbd5ca;
  --border-badge: #c4d0c3;
  --border-hover: #aebcaf;

  /* Helle Schrift auf dunklen Flächen, Reisepass und Tastaturfokus. */
  --white: #ffffff;
  --light-text: #e4ebe3;
  --light-label: #d9c2b5;
  --light-icon: #f8eee7;
  --passport-gold: #e5d5b7;
  --passport-muted: #d9c9ad;
  --focus-color: #b48b59;
  --shadow-color: #0000001a;

  /* Dresscode-Farbmuster: unabhängig vom restlichen Design. */
  --dress-1: #8c3b43;
  --dress-2: #bd7778;
  --dress-3: #8a9a86;
  --dress-4: #c9b99f;
  --dress-5: #e6d7cf;

  /* Schriftarten: Überschriften und normaler Text. */
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* 02 · Grundlagen: einheitliche Abstände und Browser-Standardwerte. */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
body {
  background: var(--page-background);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  display: block;
  vertical-align: middle;
}
button, input {
  font: inherit;
  color: inherit;
  background: transparent;
}
button {
  cursor: pointer;
}
[hidden], .file-input {
  display: none !important;
}
.wedding-page {
  overflow: hidden;
}

/* 03 · Startbereich und Kopfzeile. */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--sage);
  min-height: min(730px, 85svh);
  padding: 110px 24px 70px;
  border-bottom: 1px solid var(--border-color);
}
.hero > svg {
  position: absolute;
  opacity: .10;
  pointer-events: none;
  max-width: 180px;
}
.hero-branch-left {
  bottom: -70px;
  left: -3rem;
  width: 11rem;
  rotate: -5deg;
  color: var(--green-branch);
}
.hero-branch-right {
  top: -65px;
  right: -3.5rem;
  width: 12rem;
  rotate: 174deg;
  color: var(--accent-secondary);
}
.booking-nav {
  position: absolute;
  z-index: 10;
  top: 0;
  left: clamp(20px, 5vw, 64px);
  right: clamp(20px, 5vw, 64px);
  max-width: 1080px;
  margin: auto;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-nav);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.booking-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--green-brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
}
.booking-brand b {
  color: var(--accent-secondary);
  font-weight: 600;
}
.brand-mark, .confirmed-badge > span {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
}
.brand-mark {
  background: var(--accent);
  width: 34px;
  height: 34px;
}
.booking-reference {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.booking-reference small {
  color: var(--muted-text);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.booking-reference strong {
  color: var(--green-reference);
  font-size: 12px;
  letter-spacing: .05em;
}
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}
.confirmed-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--green-confirmed);
  border: 1px solid var(--border-badge);
  border-radius: 999px;
  margin-bottom: 28px;
  padding: 6px 11px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.confirmed-badge > span {
  background: var(--green-check);
  width: 1.25rem;
  height: 1.25rem;
}
.eyebrow {
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-eyebrow {
  margin-bottom: 28px;
}
.couple-names {
  display: flex;
  justify-content: center;
  align-items: baseline;
  white-space: nowrap;
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(40px, 9.2vw, 100px);
  line-height: 1.1;
  letter-spacing: -.055em;
}
.ampersand {
  color: var(--green-detail);
  margin-inline: .19em;
  font-size: .55em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}
.confirmation-title {
  font-family: var(--font-heading);
  font-size: clamp(23px, 4vw, 34px);
  font-style: italic;
  font-weight: 400;
  margin-top: 18px;
}
.hero-description {
  margin: 16px auto 0;
  max-width: 460px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted-text);
}
.details-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-secondary);
}
.details-link-line {
  width: 1px;
  height: 24px;
  background: color-mix(in srgb, var(--accent-secondary) 40%, transparent);
}

/* 04 · Gemeinsame Abschnittsgrößen und Überschriften. */
.section-wrap {
  max-width: 1120px;
  padding: 72px 24px;
  margin: auto;
}
.section-wrap + .section-wrap {
  padding-top: 0;
}
.section-heading {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 32px;
}
.section-heading h2, .feature-copy h2, .photo-card h2, footer h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.section-heading h2, .feature-copy h2, .photo-card h2 {
  margin-top: .8rem;
}
.section-heading > p:last-child, .feature-copy > p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted-text);
  margin-top: 14px;
}

/* 05 · Reisedetails: Karten, Zeitplan und Dresscode. */
.details-grid {
  display: grid;
  gap: 18px;
}
.detail-card {
  position: relative;
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 56px 24px 30px;
  transition: border-color .2s;
}
.detail-card:hover {
  border-color: var(--border-hover);
}
.card-status {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  position: absolute;
  top: 18px;
  left: 24px;
  color: var(--green-status);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.card-status-neutral {
  color: var(--muted-text);
}
.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: var(--sage);
  color: var(--accent);
}
.card-kicker {
  color: var(--muted-text);
  font-size: 10px;
  letter-spacing: .11em;
  text-transform: uppercase;
  font-weight: 600;
}
.detail-card h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.15;
  margin: 10px 0 12px;
}
.detail-card > p:not(.card-kicker), .timeline dd {
  font-size: 14px;
  color: var(--muted-text);
  line-height: 1.65;
}
.timeline {
  display: grid;
  text-align: left;
  margin-top: 20px;
  gap: 10px;
}
.timeline div {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}
.timeline div:last-child {
  border: 0;
  padding-bottom: 0;
}
.timeline dt {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.text-link {
  display: inline-flex;
  gap: .35rem;
  margin-top: 1.5rem;
  padding-bottom: .25rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-secondary);
  border-bottom: 1px solid color-mix(in srgb, var(--accent-secondary) 35%, transparent);
}
.dress-palette {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}
.dress-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 1px 3px var(--shadow-color), 0 1px 2px -1px var(--shadow-color);
}
.dress-color-1 {
  background: var(--dress-1);
}
.dress-color-2 {
  background: var(--dress-2);
}
.dress-color-3 {
  background: var(--dress-3);
}
.dress-color-4 {
  background: var(--dress-4);
}
.dress-color-5 {
  background: var(--dress-5);
}

/* 06 · Reiseunterlagen und dekorativer Reisepass. */
.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  align-items: center;
  gap: 36px;
  padding: clamp(24px, 5vw, 56px);
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}
.feature-copy {
  position: relative;
  z-index: 1;
}
.feature-copy h2 {
  max-width: 650px;
}
.paper-illustration {
  position: relative;
  width: 160px;
  height: 210px;
  margin: auto;
}
.paper-back {
  display: none;
}
.paper {
  position: absolute;
  top: 0;
  left: 0;
  width: 160px;
  height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 10px;
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--accent-secondary) 18%, transparent);
  border-radius: 4px 10px 10px 4px;
  background: var(--dark-green);
  color: var(--passport-gold);
}
.paper > span {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 10px 0;
}
.passport-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  border: 1px solid color-mix(in srgb, var(--passport-gold) 65%, transparent);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  letter-spacing: .12em;
}
.passport-monogram b {
  margin-inline: .1rem;
  font-size: .7em;
  font-style: italic;
  font-weight: 400;
}
.paper small {
  color: var(--passport-muted);
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* 07 · Schaltflächen: gemeinsame Regeln und drei Farbvarianten. */
.button-group {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
}
.button-primary, .button-secondary, .button-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 46px;
  max-width: 100%;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  transition: background .18s, color .18s;
}
.button-primary {
  color: var(--white);
  background: var(--accent);
}
.button-primary:hover {
  background: var(--accent-hover);
}
.button-secondary {
  color: var(--accent);
  border-color: var(--accent-border);
}
.button-secondary:hover {
  background: var(--accent-soft);
}
.button-light {
  color: var(--dark-green);
  background: var(--card-background);
  border-color: var(--card-background);
  margin-top: 24px;
}
.button-light:hover {
  color: var(--white);
  background: transparent;
}

/* 08 · Foto-Bereich. */
.photo-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--dark-green);
  color: var(--white);
  border-radius: 12px;
  padding: 54px 24px;
}
.photo-branch {
  display: none;
}
.photo-content {
  position: relative;
  z-index: 10;
}
.photo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  border-radius: 50%;
  color: var(--light-icon);
  background: color-mix(in oklab, var(--white) 10%, transparent);
}
.photo-card .eyebrow {
  color: var(--light-label);
}
.photo-card > div > p:not(.eyebrow) {
  max-width: 32rem;
  margin: 1.25rem auto 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--light-text);
}

/* 09 · Fußbereich. */
.site-footer {
  position: relative;
  text-align: center;
  padding: 48px 24px 56px;
  border-top: 1px solid var(--border-color);
}
.footer-branch {
  display: none;
}
footer > svg {
  margin: auto;
  color: var(--accent);
}
footer h2 {
  margin-top: 20px;
  font-size: clamp(28px, 4vw, 40px);
}
.footer-description {
  max-width: 28rem;
  margin: 16px auto 0;
  font-size: 14px;
  line-height: 28px;
  color: var(--muted-text);
}
.footer-signature {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-style: italic;
  margin-top: 24px;
  color: var(--accent-secondary);
}

/* 10 · Rückmeldungen und sichtbarer Tastaturfokus. */
.upload-status {
  margin-top: 16px;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted-text);
}
.photo-card [role="status"] {
  color: var(--white);
}
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 4px;
}

/* 11 · Responsive Darstellung: größere Bildschirme. */
@media (min-width: 640px) {
  .hero-branch-left {
    left: 0;
    width: 14rem;
  }
  .hero-branch-right {
    right: 0;
    width: 15rem;
  }
  .button-group {
    flex-direction: row;
  }
}
@media (min-width: 768px) {
  .details-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* Smartphones und kleine Tablets. */
@media (max-width: 767px) {
  .hero {
    min-height: 570px;
    padding: 100px 20px 55px;
  }
  .hero > svg {
    max-width: 100px;
  }
  .booking-nav {
    left: 20px;
    right: 20px;
  }
  .section-wrap {
    padding: 48px 18px;
  }
  .detail-card {
    padding: 52px 22px 25px;
  }
  .feature-card {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .paper-illustration {
    display: none;
  }
  .button-group {
    align-items: stretch;
  }
  .button-group button {
    width: 100%;
  }
  .photo-card {
    padding: 38px 22px;
  }
}
/* Bewegungen abschalten, wenn Gäste dies im Betriebssystem wünschen. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition: none !important;
  }
}
