/* Gnadenhof Lambachhof — Platzhalter Phase 1
   Stand: 2026-05-18 (Logo-Farbe integriert)

   Primärfarbe aus dem Logo (Lambachhof-Logo-Retina.png): #4B7D41 */

:root {
  --c-bg:        #faf6ef;
  --c-bg-soft:   #f1ead9;
  --c-text:      #2a1f17;
  --c-text-soft: #5e4d3f;
  --c-primary:   #4B7D41;   /* Logo-Grün */
  --c-primary-deep: #3a6132;
  --c-line:      #d9cfb8;

  --radius:  10px;
  --maxw:    720px;
  --gap-s:   0.75rem;
  --gap-m:   1.5rem;
  --gap-l:   2.5rem;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Iowan Old Style", "Apple Garamond", "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--c-primary-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--c-primary); }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-text);
  margin: 0 0 var(--gap-s);
}

h2 { font-size: 1.5rem; margin-top: var(--gap-l); }
h3 { font-size: 1.15rem; margin-top: var(--gap-m); }

p { margin: 0 0 1rem; }

main { padding: 0 1.25rem; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
}

/* Hero — hell, damit das grüne Logo zur Geltung kommt */
.hero {
  background:
    radial-gradient(ellipse at top, rgba(75,125,65,0.06), transparent 60%),
    var(--c-bg);
  padding: 4.5rem 1.25rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--c-line);
}
.hero-title {
  margin: 0 0 1.25rem;
  line-height: 0;            /* image-only H1, vermeidet überflüssigen Whitespace */
}
.hero-logo {
  display: block;
  width: auto;
  max-width: min(85%, 520px);
  height: auto;
  margin: 0 auto;
}
.hero .tagline {
  font-size: 1.15rem;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--c-text-soft);
  max-width: 520px;
  margin: 0 auto;
}

/* Kompakter Hero für Unterseiten (Impressum, Datenschutz) */
.hero--compact {
  padding: 2rem 1.25rem 1.5rem;
}
.hero--compact .hero-logo {
  max-width: min(60%, 260px);
  margin-bottom: 0.75rem;
}
.hero--compact .doc-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0;
  color: var(--c-text);
}

/* Sections */
section {
  padding: var(--gap-l) 0;
  border-bottom: 1px solid var(--c-line);
}
section:last-of-type { border-bottom: 0; }

section h2:first-child { margin-top: 0; }

.lead {
  font-size: 1.15rem;
  color: var(--c-text-soft);
}

/* Spendenblock */
.spende {
  background: var(--c-bg-soft);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem;
  margin: var(--gap-m) 0;
  border-left: 3px solid var(--c-primary);
}
.spende dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1rem;
  margin: 1rem 0;
  font-size: 0.98rem;
}
.spende dt {
  font-weight: 600;
  color: var(--c-text-soft);
}
.spende dd {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.96rem;
  word-break: break-all;
}
.spende .hinweis {
  font-size: 0.92rem;
  color: var(--c-text-soft);
  margin-top: 0.75rem;
}

/* Kontakt */
.kontakt a {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Wir bauen neu — Hinweis-Box */
.bauhinweis {
  border-left: 3px solid var(--c-primary);
  padding: 0.75rem 1rem;
  background: rgba(75, 125, 65, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: var(--gap-m) 0;
}

/* Footer */
footer {
  background: var(--c-text);
  color: rgba(255,255,255,0.85);
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 0.92rem;
}
footer a {
  color: rgba(255,255,255,0.85);
}
footer a:hover { color: #fff; }
footer .footnav {
  margin: 0 0 0.5rem;
}
footer .footnav a + a {
  margin-left: 1rem;
}

/* Impressum/Datenschutz Inhalt */
.dokument {
  padding: 2.5rem 0 3rem;
}
.dokument h2 { font-size: 1.25rem; margin-top: var(--gap-m); }
.dokument p { color: var(--c-text); }
.dokument .meta {
  font-size: 0.9rem;
  color: var(--c-text-soft);
  margin-bottom: var(--gap-m);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
