/* EVZ – Evangeliumszentrum · Basis-Stylesheet
   Keine externen Ressourcen (keine Google Fonts, kein CDN) – bewusst für DSGVO. */

:root {
  --bg: #0b0d12;
  --bg-raised: #12151c;
  --text: #ece8df;
  --text-muted: #a7a297;
  --gold: #c9a24a;
  --gold-soft: rgba(201, 162, 74, 0.18);
  --line: rgba(236, 232, 223, 0.12);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --max: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, var(--gold-soft), transparent 70%) no-repeat,
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ---------- Header ---------- */

.site-header {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand svg { width: 28px; height: 28px; color: var(--gold); flex: none; }

.brand-name {
  font-family: var(--serif);
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

.brand-name small {
  display: block;
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Hero (Startseite) ---------- */

.hero {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(3rem, 10vh, 8rem) var(--gutter);
  text-align: center;
}

.hero-inner { max-width: 52rem; }

.crown { width: 56px; height: 56px; color: var(--gold); margin: 0 auto 2rem; display: block; }

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 7.5vw, 5.75rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.lead {
  margin: 2rem auto 0;
  max-width: 34rem;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.5;
  color: var(--text);
}

.rule {
  width: 3.5rem;
  height: 1px;
  margin: 3rem auto;
  border: 0;
  background: var(--gold);
  opacity: 0.7;
}

.verse {
  margin: 0 auto;
  max-width: 36rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.verse p { margin: 0; }

.verse cite {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* sanftes Einblenden */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(12px); animation: reveal 0.9s ease-out forwards; }
  .reveal:nth-child(2) { animation-delay: 0.1s; }
  .reveal:nth-child(3) { animation-delay: 0.2s; }
  .reveal:nth-child(4) { animation-delay: 0.45s; }
  .reveal:nth-child(5) { animation-delay: 0.6s; }
  .reveal:nth-child(6) { animation-delay: 0.7s; }
  @keyframes reveal { to { opacity: 1; transform: none; } }
}

/* ---------- Rechtstexte ---------- */

.legal {
  flex: 1;
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vh, 4rem) var(--gutter) 5rem;
}

.legal h1 {
  margin: 0 0 2.5rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.1;
}

.legal h2 {
  margin: 2.75rem 0 0.75rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--gold);
}

.legal h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.legal p,
.legal ul { margin: 0 0 1rem; color: var(--text); }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: 0.35rem; }
.legal address { font-style: normal; margin-bottom: 1rem; }
.legal .muted { color: var(--text-muted); font-size: 0.9375rem; }

.back {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
}

/* Platzhalter, die noch befüllt werden müssen – vor Go-live entfernen */
.todo {
  background: rgba(201, 162, 74, 0.2);
  color: var(--gold);
  padding: 0 0.3em;
  border-radius: 3px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.9em;
}

/* ---------- Footer ---------- */

.site-footer {
  width: 100%;
  border-top: 1px solid var(--line);
}

.site-footer .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.site-footer nav { display: flex; gap: 1.5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- Kontaktformular ---------- */

.contact { margin-top: 2rem; }

.field { margin-bottom: 1.5rem; }

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.field .optional { font-weight: 400; color: var(--text-muted); }

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--text);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.field textarea { resize: vertical; min-height: 10rem; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.field [aria-invalid="true"] { border-color: #d9826b; }

.field-error { margin: 0.4rem 0 0; font-size: 0.875rem; color: #e89a85; }

.contact button {
  margin-top: 0.5rem;
  padding: 0.8rem 1.6rem;
  font: inherit;
  font-weight: 600;
  color: var(--bg);
  background: var(--gold);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.contact button:hover { filter: brightness(1.08); }
.contact button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.notice {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  border-left: 3px solid var(--gold);
  background: var(--bg-raised);
}

.notice p { margin: 0 0 0.5rem; }
.notice p:last-child { margin-bottom: 0; }
.notice-error { border-left-color: #d9826b; }

/* Honeypot: für Menschen unsichtbar, für Bots ein normales Feld */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
