/* Farbwelt: Pastell-Salbeigrün & Gold – festlich für den 60. Geburtstag */
:root {
  --bg: #f4f7f0;
  --bg-2: #e8f0e2;
  --surface: #fffdf7;
  --text: #2e3b30;
  --muted: #7f8d7f;
  --line: #e0e6d6;
  --sage: #a9c5a0;
  --sage-soft: #dde9d6;
  --sage-deep: #5f7f5f;
  --gold: #b8924a;
  --gold-light: #e6cf94;
  --gold-grad: linear-gradient(135deg, #ead7a0 0%, #c9a55c 45%, #a8823c 100%);
  --accent: var(--gold);
  --accent-ink: #fffdf7;
  --danger: #b4574f;
  --shadow: 0 1px 2px rgba(46, 59, 48, .05), 0 8px 24px rgba(46, 59, 48, .08);
  --radius: 18px;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  font: 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(169, 197, 160, .35), transparent 70%),
    radial-gradient(ellipse 50% 35% at 100% 10%, rgba(230, 207, 148, .25), transparent 70%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(169, 197, 160, .25), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
}
button, input, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 12px 22px; min-height: 46px;
  background: var(--gold-grad); color: var(--accent-ink); font-weight: 500; letter-spacing: .02em;
  cursor: pointer; text-decoration: none; transition: transform .12s, opacity .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(168, 130, 60, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
  text-shadow: 0 1px 1px rgba(120, 90, 30, .25);
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.ghost {
  background: var(--surface); color: var(--sage-deep); border: 1px solid var(--line);
  box-shadow: none; text-shadow: none;
}
.btn.danger { background: var(--danger); color: #fff; box-shadow: none; text-shadow: none; }
.btn svg { width: 20px; height: 20px; flex: none; }

.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; letter-spacing: .04em; text-transform: uppercase; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: #fff; outline: none;
  font-size: 16px; /* verhindert Zoom auf iOS */
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 165, 92, .18); }

.toast {
  position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  background: var(--sage-deep); color: #fffdf7; padding: 13px 20px; border-radius: 14px;
  font-size: 15px; z-index: 100; box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center;
}

/* Goldene Zierlinie mit Blättchen */
.ornament { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--gold); }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 56px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament svg { width: 22px; height: 22px; }

.gold-text {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
