
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --gold: #c9a96e;
      --gold-light: #e8d5a8;
      --cream: #f5ede0;
      --dark: #1a150e;
      --dark-mid: #2d2318;
      --glass: rgba(26, 21, 14, 0.72);
      --glass-border: rgba(201, 169, 110, 0.25);
    }

    html,
    body {
      height: 100%;
      font-family: 'Jost', sans-serif;
      font-weight: 300;
      color: var(--cream);
      background: var(--dark);
      overflow-x: hidden;
    }

    a {
      color: var(--gold)
    }

    /* ── Hintergrundbild ── */
    .bg {
      position: fixed;
      inset: 0;
      background-image: url('/hintergrund-hochkant-1mb.jpg');
      background-size: cover;
      background-position: center top;
      z-index: 0;
    }

    .bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(160deg,
          rgba(26, 21, 14, 0.55) 0%,
          rgba(26, 21, 14, 0.75) 50%,
          rgba(26, 21, 14, 0.88) 100%);
    }

    /* ── Layout ── */
    .page {
      position: relative;
      z-index: 1;
      min-height: 100dvh;
      display: flex;
      flex-direction: column;
      align-items: center;
      /*justify-content: center;*/
      padding: 2rem 1.25rem;
    }

    /* ── Karte ── */
    .card {
      width: 100%;
      max-width: 460px;
      background: var(--glass);
      border: 1px solid var(--glass-border);
      border-radius: 2px;
      padding: 2rem 2rem 1rem 2rem;
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(201, 169, 110, 0.12);
      animation: fadeUp 0.7s ease both;
    }

    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(22px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }


    /* ── Ornament ── */
    .ornament {
      text-align: center;
      margin-bottom: 1.5rem;
      color: var(--gold);
      letter-spacing: 0.35em;
      font-size: 0.65rem;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .ornament::before,
    .ornament::after {
      content: '';
      flex: 1;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--gold));
    }

    .ornament::after {
      background: linear-gradient(90deg, var(--gold), transparent);
    }

    /* ── Titel ── */
    h1 {
      font-family: 'Cormorant Garamond', serif;
      font-weight: 300;
      font-size: 2rem;
      line-height: 1.2;
      text-align: center;
      color: var(--cream);
      margin-bottom: 0.4rem;
    }

    .subtitle {
      font-family: 'Cormorant Garamond', serif;
      font-style: italic;
      font-weight: 300;
      font-size: 1rem;
      color: var(--gold-light);
      text-align: center;
      margin-bottom: 2rem;
      opacity: 0.85;
    }

    /* ── Login-Bereich ── */
    .login-section {
      animation: fadeUp 0.6s 0.1s ease both;
    }

    .field-label {
      display: block;
      font-size: 0.7rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.45rem;
    }

    .field {
      width: 100%;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(201, 169, 110, 0.3);
      border-radius: 1px;
      padding: 0.7rem 0.85rem;
      color: var(--cream);
      font-family: 'Jost', sans-serif;
      font-weight: 300;
      font-size: 0.95rem;
      outline: none;
      transition: border-color 0.2s;
      margin-bottom: 1rem;
    }

    .field:focus {
      border-color: var(--gold);
    }

    .field::placeholder {
      color: rgba(245, 237, 224, 0.3);
    }

    .btn {
      width: 100%;
      padding: 0.8rem;
      background: transparent;
      border: 1px solid var(--gold);
      border-radius: 1px;
      color: var(--gold);
      font-family: 'Jost', sans-serif;
      font-weight: 400;
      font-size: 0.8rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
    }

    .btn:hover {
      background: var(--gold);
      color: var(--dark);
    }

    .btn:active {
      opacity: 0.8;
    }

    .btn.primary {
      background: var(--gold);
      color: var(--dark);
    }

    .btn.primary:hover {
      background: var(--gold-light);
    }

    .error-msg {
      font-size: 0.8rem;
      color: #e07070;
      text-align: center;
      margin-top: 0.75rem;
      min-height: 1.2rem;
    }

    /* ── RSVP-Bereich ── */
    #main-content {
      margin-bottom: 30px;
    }

    #main-content>p {
      padding: 10px 0;
    }

    .rsvp-section {
      display: none;
      animation: fadeUp 0.5s ease both;
    }

    .welcome-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.5rem;
      font-style: italic;
      color: var(--gold-light);
      text-align: center;
      margin-bottom: 1.5rem;
    }

    .section-title {
      font-size: 0.65rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.85rem;
    }



    .option-list {
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
      margin-bottom: 1.5rem;
    }

    .option-btn {
      width: 100%;
      padding: 0.75rem 1rem;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(201, 169, 110, 0.2);
      border-radius: 1px;
      color: var(--cream);
      font-family: 'Jost', sans-serif;
      font-weight: 300;
      font-size: 0.9rem;
      cursor: pointer;
      text-align: left;
      transition: all 0.18s;
      display: flex;
      align-items: flex-start;
      flex-direction: column;
      gap: 0;
    }

    .option-btn .option-row {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      width: 100%;
    }

    .option-hint {
      font-size: 0.75rem;
      color: rgba(245, 237, 224, 0.35);
      margin-top: 0.35rem;
      padding-left: 1.45rem;
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      transition: max-height 0.25s ease, opacity 0.2s ease, margin-top 0.2s;
    }

    .save-hint {
      color: rgba(245, 237, 224, 0.8);
      padding-top: 10px;
    }

    .option-btn.selected .option-hint {
      max-height: 2rem;
      opacity: 1;
    }

    .option-btn:hover {
      border-color: var(--gold);
      background: rgba(201, 169, 110, 0.08);
    }

    .option-btn.selected {
      border-color: var(--gold);
      background: rgba(201, 169, 110, 0.15);
      color: var(--gold-light);
    }

    .option-btn .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      border: 1px solid var(--gold);
      flex-shrink: 0;
      transition: background 0.15s;
    }

    .option-btn.selected .dot {
      background: var(--gold);
    }

    /* ── Übernachtung ── */
    .accommodation-group {
      overflow: hidden;
      max-height: 0;
      opacity: 0;
      transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s;
      margin-bottom: 0;
    }

    .accommodation-group.visible {
      max-height: 260px;
      opacity: 1;
      margin-bottom: 1.5rem;
    }

    /* ── Gespeichert-Banner ── */
    .saved-banner {
      display: none;
      text-align: center;
      margin-top: 1rem;
      padding: 0.65rem;
      border: 1px solid rgba(100, 200, 120, 0.4);
      background: rgba(100, 200, 120, 0.1);
      border-radius: 1px;
      font-size: 0.8rem;
      color: #90d4a0;
      letter-spacing: 0.05em;
    }

    .divider {
      height: 1px;
      background: var(--glass-border);
      margin: 1.5rem 0;
    }

    .logout-link {
      display: block;
      text-align: center;
      font-size: 0.7rem;
      letter-spacing: 0.1em;
      color: rgba(245, 237, 224, 0.3);
      text-transform: uppercase;
      cursor: pointer;
      transition: color 0.2s;
      margin-top: 1rem;
      text-decoration: none;
    }

    .logout-link:hover {
      color: var(--gold);
    }

    /* ── Fußzeile ── */
    .footer {
      font-family: 'Cormorant Garamond', serif;
      font-style: italic;
      font-size: 0.8rem;
      color: rgba(201, 169, 110, 0.4);
      text-align: center;
      margin-top: 1.5rem;
    }

    section {
        margin-bottom: 10px;
    }

    .btn-link {
  display: block;
  width: 100%;
  padding: 0.8rem;
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 1px;
  color: var(--dark);
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-link:hover {
  background: var(--gold-light);
  color: var(--dark);
}

.btn-link:active {
  opacity: 0.8;
}

/* ── News ── */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.news-item {
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 1px;
  margin: 10px;
}

.news-date {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.news-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 0.45rem;
}

.news-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(245, 237, 224, 0.85);
  padding-bottom: 8px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.gallery figure {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 1px;
  border: 1px solid rgba(201, 169, 110, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}