/* Hochzeitsdesign wie auf der Fotobox: Tannengrün, Gold, Tangerine/Cinzel/EB Garamond */
@font-face { font-display: swap; font-family: 'Cinzel'; font-weight: 400 900; src: url('fonts/Cinzel.ttf') format('truetype'); }
@font-face { font-display: swap; font-family: 'EB Garamond'; font-weight: 400 800; src: url('fonts/EBGaramond.ttf') format('truetype'); }
@font-face { font-display: swap; font-family: 'Tangerine'; font-weight: 400; src: url('fonts/Tangerine-Regular.ttf') format('truetype'); }

:root {
  --bg: #0e2725;
  --gold: #be9847;
  --gold-light: #d2b880;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  padding: max(16px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 18px;
  color: #fff;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.names {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 0.4em;
  margin-top: 12px;
  font-family: 'Tangerine', 'Snell Roundhand', cursive;
  font-size: clamp(56px, 16vw, 96px);
  line-height: 1;
}

.heart { color: var(--gold); font-family: Georgia, serif; font-size: 0.35em; }

.rule {
  width: min(18rem, 50%);
  margin: 10px auto 24px;
  border-top: 2px solid var(--gold);
}

.note { text-align: center; color: rgba(255, 255, 255, 0.8); line-height: 1.5; max-width: 32rem; }

.photo { width: min(920px, 100%); }

.photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 60px;
  padding: 0 32px;
  border-radius: 10px;
  border: 0;
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg);
  background: linear-gradient(160deg, #e6d3a3 0%, #d2b880 45%, #be9847 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.button--outline {
  min-height: 52px;
  border: 1px solid var(--gold);
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.waiting { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 24px; }

.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(190, 152, 71, 0.3);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.gallery { width: min(1200px, 100%); }

.gallery h2 {
  margin: 28px 0 12px;
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.gallery h2 small { margin-left: 0.5em; font-family: 'EB Garamond', Georgia, serif; font-size: 15px; letter-spacing: 0; text-transform: none; color: rgba(255, 255, 255, 0.6); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(30%, 220px), 1fr)); gap: 10px; }

.grid img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
