/* =========================================================
   Gloria & Benjamin — 01.08.2026
   Design-Tokens
   ========================================================= */

:root {
  /* Farben */
  --c-bg:          #faf6ef;   /* Creme (primär) */
  --c-bg-alt:      #fdfaf3;   /* Creme (sekundär / Section-Alternation) */
  --c-gold:        #9a7b4f;   /* Primärakzent */
  --c-gold-light:  #d4c5a8;   /* heller Akzent */
  --c-line:        #e8dfd0;   /* zarte Trennlinie */
  --c-text:        #2a2520;   /* warmes Anthrazit */
  --c-text-soft:   #4a4038;   /* sekundärer Text */

  /* Typografie */
  --f-serif:        'Playfair Display', Georgia, 'Times New Roman', serif;
  --f-body:         Georgia, 'Times New Roman', serif;

  /* Layout */
  --w-content:      min(720px, 92vw);
  --w-wide:         min(960px, 94vw);
  --space-section:  clamp(48px, 9vw, 96px);
}

/* Reset (schlank) */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* Body */
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Typografie-Defaults */
h1, h2, h3 { font-family: var(--f-serif); font-weight: 400; color: var(--c-text); }
em { font-style: italic; color: var(--c-gold); }

/* Wiederverwendbare Bausteine */
.supline {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.section {
  padding: var(--space-section) 24px;
}
.section > .inner {
  width: var(--w-content);
  margin: 0 auto;
}
.section--alt { background: var(--c-bg-alt); }
.section--center { text-align: center; }

.divider-line {
  width: 40px;
  height: 1px;
  background: var(--c-gold);
  margin: 20px auto;
}

/* Fokus-States */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}

/* =========================================================
   Navigation
   ========================================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250,246,239,.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--c-line);
}
.nav-inner {
  width: var(--w-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.nav-mono {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 16px;
  letter-spacing: .1em;
  text-decoration: none;
}
.nav nav { display: flex; gap: 22px; }
.nav nav a { text-decoration: none; transition: color .15s ease; }
.nav nav a:hover { color: var(--c-text); }

@media (max-width: 640px) {
  .nav nav { gap: 14px; font-size: 10px; }
  .nav-inner { padding: 12px 16px; }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: url('bilder/hero-landschaft.jpg') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    rgba(250,246,239,.35) 0%,
    rgba(250,246,239,.55) 55%,
    rgba(250,246,239,.75) 100%
  );
}
.hero-content {
  position: relative;
  text-align: center;
  padding: 40px 24px;
}
.hero-title {
  font-family: var(--f-serif);
  font-size: clamp(48px, 9vw, 82px);
  line-height: 1;
  margin: 18px 0 0;
  letter-spacing: .005em;
}
.hero-title em {
  display: block;
  font-size: .6em;
  margin: 6px 0;
}
.hero-date {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-top: 22px;
}

/* =========================================================
   Einladung
   ========================================================= */

.serif-italic {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(26px, 4vw, 36px);
  margin-top: 14px;
}
.lede {
  font-size: 17px;
  color: var(--c-text-soft);
  line-height: 1.75;
  max-width: 46ch;
  margin: 0 auto;
}

/* Einladung — Bildpaar */
.couple-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.couple-photos img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--c-line);
}

@media (max-width: 480px) {
  .couple-photos { grid-template-columns: 1fr; max-width: 320px; }
  .couple-photos img:first-child { margin-top: 0; }
}

/* =========================================================
   Ablauf
   ========================================================= */

.section-title {
  font-family: var(--f-serif);
  font-size: clamp(28px, 4vw, 40px);
  margin-top: 10px;
}
.schedule {
  max-width: 460px;
  margin: 28px auto 0;
  text-align: left;
}
.schedule-plz {
  display: block;
  font-family: var(--f-body);
  font-style: normal;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--c-gold-light);
  margin-top: 4px;
}
.schedule-place {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--c-gold);
  font-size: 22px;
  text-align: center;
  margin: 28px 0 12px;
}
.schedule dl { margin: 0; }
.schedule .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dotted var(--c-gold-light);
}
.schedule .row:last-child { border-bottom: none; }
.schedule dt {
  color: var(--c-gold);
  font-variant: small-caps;
  letter-spacing: .12em;
  font-weight: 400;
  flex-shrink: 0;
}
.schedule dd { margin: 0; color: var(--c-text-soft); text-align: right; }

/* =========================================================
   Locations
   ========================================================= */

.inner--wide { width: var(--w-wide); }
.locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
  text-align: left;
}
.location-card {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line);
  padding: 28px;
}
.location-art {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}
.location-name {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--c-gold);
  font-size: 26px;
}
.location-role {
  margin-top: 6px;
  color: var(--c-text-soft);
  font-size: 15px;
}
.location-meta {
  margin-top: 4px;
  color: var(--c-text-soft);
  font-size: 14px;
  font-style: italic;
}
.location-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 700px) {
  .locations { grid-template-columns: 1fr; }
}

/* Betonung im Fließtext */
.lede strong {
  font-weight: 400;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-gold-light);
}

/* =========================================================
   Ghost Button
   ========================================================= */

.btn-ghost {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 32px;
  border: 1px solid var(--c-gold);
  color: var(--c-gold);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.btn-group .btn-ghost { margin-top: 0; }
.btn-ghost--subtle {
  opacity: .7;
}
.btn-ghost--subtle:hover {
  opacity: 1;
}
.btn-ghost:hover {
  background: var(--c-gold);
  color: var(--c-bg);
}

/* =========================================================
   Kontakt & Footer
   ========================================================= */

.tally-wrap {
  margin-top: 36px;
  text-align: left;
}
.tally-wrap iframe {
  max-width: 560px;
  margin: 0 auto;
  display: block;
}

.contact-link {
  color: var(--c-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.signature {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--c-gold);
  font-size: 22px;
  margin-top: 22px;
}
.footer {
  border-top: 1px solid var(--c-line);
  text-align: center;
  padding: 28px 16px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-gold);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 640px) {
  .section { padding: 64px 20px; }
  .hero { min-height: 78vh; }
  .hero-title { font-size: clamp(42px, 12vw, 60px); }
  .hero-date { font-size: 11px; letter-spacing: .28em; }
  .schedule .row { font-size: 15px; }
  .schedule dd { text-align: right; }
  .location-card { padding: 22px; }
  .btn-ghost { padding: 12px 24px; font-size: 10px; }
}

@media (max-width: 420px) {
  .nav nav { gap: 10px; font-size: 9px; letter-spacing: .22em; }
  .schedule .row { flex-wrap: wrap; }
  .schedule dd { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}
