/* ===== Custom Properties ===== */
:root {
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', Arial, sans-serif;

  --color-text: #2c2c2c;
  --color-text-light: #555;
  --color-heading: #1a1a1a;
  --color-line: #1a1a1a;
  --color-bg: #fff;
  --color-bg-alt: #fafaf8;

  /* Dresscode palette */
  --color-lavender: #d4b8c4;
  --color-sage: #8b9e6b;
  --color-blush: #f0d4c8;
  --color-rose: #e8a8a0;
  --color-muted-sage: #a8b09a;

  --max-width: 700px;
  --spacing-section: 5rem;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-heading);
}

/* ===== Typography ===== */
.section-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-heading);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-underline {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--color-line);
  margin: 0 auto 2.5rem;
}

/* ===== Layout ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: var(--spacing-section) 0;
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 3rem 0 var(--spacing-section);
}

.hero__castle {
  max-width: 480px;
  margin: 0 auto 2rem;
}

.hero__subtitle {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 0.3rem;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
}

.hero__names {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-heading);
  margin-bottom: 0.2rem;
}

.hero__name-primary {
  font-size: 2.8rem;
  display: block;
}

.hero__name-und {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  display: block;
  margin: 0.2rem 0;
}

.hero__name-secondary {
  font-size: 2.4rem;
  display: block;
}

.hero__details {
  margin-top: 2.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 2;
}

.hero__details p {
  margin: 0;
}

.hero__party {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

.hero__ornament {
  margin: 3rem auto 0;
  width: 180px;
  opacity: 0.8;
}

/* ===== Tagesablauf (Timeline) ===== */
.tagesablauf {
  background-color: var(--color-bg-alt);
}

.timeline {
  position: relative;
  padding: 1rem 0;
}

/* Vertical line — stops before the date */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 5rem;
  width: 1px;
  background: var(--color-line);
  transform: translateX(-50%);
}

.timeline__entry {
  position: relative;
  width: 50%;
  padding: 1rem 0;
}

/* Dot on the timeline */
.timeline__entry::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  background: var(--color-line);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Horizontal connector line */
.timeline__entry::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--color-line);
  transform: translateY(-50%);
}

/* Left entries */
.timeline__entry--left {
  text-align: right;
  padding-right: 50px;
  margin-left: 0;
}

.timeline__entry--left::after {
  right: -5px;
}

.timeline__entry--left::before {
  right: 0;
}

/* Right entries */
.timeline__entry--right {
  text-align: left;
  padding-left: 50px;
  margin-left: 50%;
}

.timeline__entry--right::after {
  left: -4px;
}

.timeline__entry--right::before {
  left: 0;
}

.timeline__time {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-light);
  letter-spacing: 0.1em;
}

.timeline__label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-heading);
}

.timeline__date {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
  margin-top: 2rem;
  padding-top: 1rem;
}

.timeline__date span {
  margin: 0 0.15em;
}

.timeline__date-divider {
  display: inline-block;
  width: 1px;
  height: 1em;
  background: var(--color-text-light);
  vertical-align: middle;
  margin: 0 0.3em;
}

/* ===== Mobile timeline ===== */
@media (max-width: 600px) {
  .timeline::before {
    left: 16px;
  }

  .timeline__entry {
    width: 100%;
    padding-left: 45px;
    padding-right: 0;
    text-align: left !important;
    margin-left: 0 !important;
  }

  .timeline__entry::after {
    left: 12px !important;
    right: auto !important;
  }

  .timeline__entry::before {
    left: 17px !important;
    right: auto !important;
    width: 20px;
  }
}

/* ===== Wissenswertes ===== */
.wissenswertes {
}

.info-block {
  text-align: center;
  margin-bottom: 2.5rem;
}

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

.info-block__heading {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-heading);
  margin-bottom: 0.8rem;
}

.info-block__text {
  max-width: 480px;
  margin: 0 auto;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Color swatches */
.color-swatches {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.color-swatch {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

/* ===== Anfahrt ===== */
.anfahrt {
  background-color: var(--color-bg-alt);
}

.address-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.address-card {
  text-align: center;
  flex: 1;
}

.address-card__label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 0.3rem;
}

.address-card__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
}

.address-card__address {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.address-card__link {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (min-width: 600px) {
  .address-cards {
    flex-direction: row;
  }
}

/* ===== Rückmeldung ===== */
.rueckmeldung {
  text-align: center;
}

.rueckmeldung__text {
  max-width: 480px;
  margin: 0 auto 1.5rem;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.rueckmeldung__text strong {
  color: var(--color-heading);
  font-weight: 700;
}

.rueckmeldung__fragen {
  margin-top: 2rem;
}

.rueckmeldung__fragen-heading {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
}

.rueckmeldung__fragen-text {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-heading);
  border: 1px solid var(--color-heading);
  padding: 0.7em 1.8em;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--color-heading);
  color: var(--color-bg);
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 3rem 0;
}

.footer__ornament {
  width: 140px;
  margin: 0 auto 1.5rem;
  opacity: 0.6;
}

.footer__text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-light);
}
