:root {
  --bg: #0f0d0a;
  --bg-karte: #1b160f;
  --gold: #c9a961;
  --gold-hell: #e8cf8a;
  --gold-dunkel: #8a7443;
  --text: #f3ead9;
  --text-mute: #ab9d7f;
  --rand: rgba(201, 169, 97, 0.28);
  --rot: #c97a6b;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100dvh;
  background: radial-gradient(ellipse at top, #1a150d 0%, var(--bg) 55%);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 16px 64px;
}

.karte {
  width: 100%;
  max-width: 440px;
  background: var(--bg-karte);
  border: 1px solid var(--rand);
  border-radius: 2px;
  overflow: hidden;
  animation: einblenden 0.7s ease both;
}

@keyframes einblenden {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero {
  aspect-ratio: 16 / 10;
  background: #000;
  position: relative;
  overflow: hidden;
}

.hero-bild-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
}

.hero-bild-slide--einzeln { opacity: 1; }

.hero-platzhalter {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #201a10, #0f0d0a 70%);
  color: var(--gold-dunkel);
  font-size: 2.5rem;
}

.inhalt { padding: clamp(24px, 6vw, 40px); }

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

h1 {
  margin: 0 0 12px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 6vw, 2.4rem);
  line-height: 1.15;
  color: var(--gold-hell);
}

.untertitel {
  margin: 0;
  color: var(--text-mute);
  font-size: 0.95rem;
  line-height: 1.5;
}

.teiler {
  text-align: center;
  color: var(--gold-dunkel);
  margin: 24px 0;
  letter-spacing: 0.4em;
  font-size: 0.8rem;
}

.fehlerbox {
  border: 1px solid rgba(201, 122, 107, 0.4);
  background: rgba(201, 122, 107, 0.08);
  color: #e3a99c;
  padding: 12px 16px;
  border-radius: 2px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.fehlerbox ul { margin: 0; padding-left: 18px; }

form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feld-reihe { display: flex; gap: 16px; }
.feld-reihe .feld { flex: 1; min-width: 0; }

.feld { display: flex; flex-direction: column; gap: 6px; }

label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}

input, textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rand);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  padding: 10px 2px;
  min-height: 44px;
  resize: none;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  color-scheme: dark;
}

textarea { min-height: 72px; padding-top: 10px; }

input:focus, textarea:focus {
  border-color: var(--gold-hell);
  box-shadow: 0 1px 0 0 var(--gold-hell);
}

::placeholder { color: var(--text-mute); opacity: 0.6; }

.hp-feld { position: absolute; left: -9999px; top: -9999px; }

button[type="submit"] {
  margin-top: 8px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--gold-hell), var(--gold));
  color: #1a1509;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 16px;
  min-height: 48px;
  border-radius: 2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button[type="submit"]:hover {
  box-shadow: 0 6px 24px rgba(201, 169, 97, 0.35);
  transform: translateY(-1px);
}

button[type="submit"]:active { transform: translateY(0); }

.karte--zentriert { text-align: center; }
.karte--zentriert h1 { font-size: clamp(2rem, 7vw, 2.6rem); }

.link-zurueck {
  display: inline-block;
  margin-top: 28px;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.85rem;
  border-bottom: 1px solid transparent;
}

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

@media (min-width: 600px) {
  body { align-items: center; }
  .karte { border-radius: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .karte { animation: none; }
  * { transition: none !important; }
  .hero-bild-slide { animation: none !important; opacity: 0 !important; }
  .hero-bild-slide:first-child { opacity: 1 !important; }
}
