/* =====================================================================
   REFUGIA – gemeinsames Stylesheet
   Aufbau:
     1. Grundlagen (Markenfarben, Reset) – gilt für alle Seiten
     2. Startseite (index.html)          – <body class="startseite">
     3. Unterseiten, gemeinsam           – <body class="unterseite …">
     4. Unterseiten, seitenspezifisch    – zusätzlich class="seite-…"
   ===================================================================== */


/* ── 1. GRUNDLAGEN ─────────────────────────────────────────────────── */

/* Schriften – lokal eingebunden, keine Verbindung zu Google.
   EB Garamond und Source Sans 3, SIL Open Font License 1.1 (siehe fonts/OFL-*.txt).
   Variable Schriftdateien: eine Datei deckt alle Gewichte eines Stils ab.
   Je Schnitt zwei Teildateien: latin (Grundzeichen inkl. Umlaute) und latin-ext. */

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/source-sans-3-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/source-sans-3-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --nacht:     #1A1A1A;
  --creme:     #F2EFE5;
  --olivgruen: #777854;
  --salbei:    #4F6B5A;
  --wiesenblüte: #7B4E82;
  --feldgrau:  #C5BFB3;
  --erde:      #8C7A62;
  --max-w:     780px;
}

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

html { scroll-behavior: smooth; }


/* ── 2. STARTSEITE (index.html) ────────────────────────────────────── */

body.startseite {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--nacht);
  background: var(--creme);
}

/* Navigation */
.startseite nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--nacht);
  z-index: 100;
  padding: 0 2.5rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.startseite nav ul {
  list-style: none;
  display: flex;
  gap: 2.2rem;
}
.startseite nav ul li a {
  color: var(--creme);
  text-decoration: none;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.startseite nav ul li a:hover { opacity: 1; }

/* Hero */
.startseite .hero {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 480px;
  max-height: 680px;
  margin-top: 56px;
  overflow: hidden;
}
.startseite .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  filter: brightness(0.62);
}
.startseite .hero-logo {
  position: absolute;
  top: 1.8rem;
  left: 2.5rem;
  width: min(333px, 28.8vw); /* Bilddatei ohne linken Leerraum: Quadrat beginnt bündig mit der H1 */
}
.startseite .hero h1 {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: clamp(2.45rem, 5.2vw, 4.2rem);
  color: var(--creme);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

/* Abschnitte */
.startseite section {
  padding: 5rem 2rem;
}
.startseite .inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.startseite .section-label {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: 2.1rem;
  letter-spacing: 0.01em;
  color: var(--salbei);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}
.startseite h2 {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.25;
  margin-bottom: 1.8rem;
  color: var(--nacht);
}
.startseite p { margin-bottom: 1.2rem; }
.startseite p:last-child { margin-bottom: 0; }

/* Was ist REFUGIA */
.startseite .was-refugia { background: var(--creme); }

/* Drei Säulen */
.startseite .drei-saulen { background: var(--olivgruen); }
.startseite .drei-saulen .section-label,
.startseite .drei-saulen h2 { color: var(--creme); }
.startseite .saulen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}
.startseite .saule {
  text-align: center;
}
.startseite .saule img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  filter: brightness(0) invert(1) opacity(0.9);
}
.startseite .saule h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--creme);
  margin-bottom: 0.6rem;
}
.startseite .saule p {
  font-size: 0.95rem;
  color: rgba(242,239,229,0.85);
  line-height: 1.65;
}
.startseite .saule p .begriff {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: 1.1em;
  color: var(--creme);
  white-space: nowrap;
}

/* Trennlinie */
.startseite .divider {
  width: 96px;
  height: 1px;
  background: var(--feldgrau);
  margin: 0 0 2rem 0;
}

/* Wer steckt dahinter */
.startseite .wer { background: var(--creme); }
.startseite .wer-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}
.startseite .wer-foto {
  width: 200px;
  height: 240px;
  object-fit: cover;
  object-position: center top;
}
.startseite .wer-name {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}
.startseite .wer-titel {
  font-size: 0.85rem;
  color: var(--salbei);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

/* Kooperationen */
.startseite .kooperationen { background: var(--feldgrau); }
.startseite .kooperationen .inner { max-width: var(--max-w); margin: 0 auto; }
.startseite .koop-intro {
  font-style: italic;
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  color: var(--nacht);
  margin-bottom: 2.5rem;
}
.startseite .koop-gruppe { margin-bottom: 1.8rem; }
.startseite .koop-gruppe:last-child { margin-bottom: 0; }
.startseite .koop-label {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--salbei);
  margin-bottom: 0.5rem;
}
.startseite .koop-liste {
  font-size: 0.95rem;
  color: var(--nacht);
  line-height: 1.7;
}

/* Newsletter */
.startseite .newsletter { background: var(--nacht); }
.startseite .newsletter .section-label { color: var(--salbei); }
.startseite .newsletter h2 { color: var(--creme); }
.startseite .newsletter .intro {
  color: rgba(242,239,229,0.8);
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.startseite .newsletter-wrap {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(242,239,229,0.15);
  padding: 2rem;
  max-width: 520px;
}
.startseite .newsletter-logo {
  width: 225px; /* Bilddatei ohne linken Leerraum: Quadrat beginnt bündig mit dem Text */
  margin-top: 2rem;
  display: block;
}

/* Kontakt und Impressum */
.startseite .kontakt { background: var(--creme); }
.startseite .kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.startseite .kontakt h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--salbei);
  margin-bottom: 1rem;
}
.startseite .kontakt a {
  color: var(--salbei);
  text-decoration: none;
}
.startseite .kontakt a:hover { text-decoration: underline; }
.startseite .impressum-text {
  font-size: 0.88rem;
  line-height: 1.8;
  color: #555;
}

/* Footer */
.startseite footer {
  background: var(--nacht);
  color: rgba(242,239,229,0.5);
  text-align: center;
  padding: 1.5rem 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

/* Schmale Ansicht Startseite (Umbruch bei 640 px) */
@media (max-width: 640px) {
  .startseite nav ul { display: none; }
  .startseite .wer-grid { grid-template-columns: 1fr; }
  .startseite .wer-foto { width: 160px; height: 192px; }
  .startseite .kontakt-grid { grid-template-columns: 1fr; }
  .startseite .saulen-grid { grid-template-columns: 1fr; }
  .startseite .hero-logo { width: min(44.2vw, 192px); }
  .startseite .newsletter-logo { width: 259.5px; }
}


/* ── 3. UNTERSEITEN, GEMEINSAM ─────────────────────────────────────── */

body.unterseite {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--nacht);
  background: var(--creme);
  padding: 4rem 2rem;
}
.unterseite .inner { max-width: var(--max-w); margin: 0 auto; }
.unterseite h1 {
  font-family: 'EB Garamond', serif;
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--salbei);
}
.unterseite p { margin-bottom: 1.25rem; }
.unterseite a { color: var(--salbei); }
.unterseite .back {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--salbei);
  text-decoration: none;
  font-size: 0.9rem;
}
.unterseite .back-bottom {
  display: inline-block;
  margin-top: 1rem;
  color: var(--salbei);
  text-decoration: none;
  font-size: 0.95rem;
}
.unterseite .intro { margin-bottom: 2.5rem; }
.unterseite .italic-note {
  font-style: italic;
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  color: var(--nacht);
  margin-bottom: 2.5rem;
}
.unterseite .divider {
  width: 96px;
  height: 1px;
  background: var(--feldgrau);
  margin: 0 0 1.5rem 0;
}

/* Pakete (habitat) und Wissenspass-Level (transfer) */
.unterseite .pakete { margin-bottom: 2.5rem; }
.unterseite .paket { margin-bottom: 2rem; }
.unterseite .paket:last-child { margin-bottom: 0; }
.unterseite .paket-titel {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  color: var(--salbei);
}
.unterseite .status-hinweis {
  font-size: 0.88rem;
  color: #555;
}

/* Schmale Ansicht Unterseiten (Umbruch bei 600 px) */
@media (max-width: 600px) {
  body.unterseite { padding: 2.5rem 1.25rem; }
  .unterseite h1 { font-size: 1.8rem; }
}


/* ── 4. UNTERSEITEN, SEITENSPEZIFISCH ──────────────────────────────── */

/* /habitat: Mitmachen-Button, Preiszeile, Hinweis-Box in Wiesenoliv */
.seite-habitat .mitmachen {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.55rem 1.6rem;
  background: var(--salbei);
  color: var(--creme);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.seite-habitat button.mitmachen { border: none; font-family: inherit; font-size: inherit; line-height: inherit; cursor: pointer; }
.seite-habitat button.mitmachen.inaktiv,
.seite-habitat button.mitmachen.inaktiv:hover { background: var(--feldgrau); color: var(--nacht); cursor: default; }
.seite-habitat .mitmachen:hover,
.seite-habitat .mitmachen:focus { background: #3E5547; }
.seite-habitat .bald-hinweis {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--salbei);
  margin-top: 0.4rem;
}
.seite-habitat .preis {
  font-size: 0.88rem;
  color: #555;
  margin-top: 0.4rem;
}
.seite-habitat .paket-zeile { display: flex; gap: 2rem; align-items: flex-start; justify-content: space-between; }
.seite-habitat .paket-text { flex: 1 1 auto; }
.seite-habitat .paket-aktion { flex: 0 0 auto; max-width: 230px; text-align: right; }
.seite-habitat .paket-aktion .mitmachen { margin-top: 0.2rem; }
.seite-habitat .paket-aktion .preis,
.seite-habitat .paket-aktion .bald-hinweis { margin-bottom: 0; }
.seite-habitat .hinweis-box {
  background: var(--olivgruen);
  color: var(--creme);
  padding: 1.5rem 2rem;
  font-style: italic;
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 600px) {
  .seite-habitat .paket-zeile { flex-direction: column; gap: 0.5rem; }
  .seite-habitat .paket-aktion { text-align: left; max-width: none; }
}

/* /transfer: Hinweis-Box in Feldgrau */
.seite-transfer .hinweis-box {
  background: var(--feldgrau);
  color: var(--nacht);
  padding: 1.5rem 2rem;
  font-style: italic;
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

/* /unterstuetzerinnen: Namensliste mit Blatt-Icons */
.seite-unterstuetzerinnen .namen {
  font-size: 1.05rem;
  line-height: 2.2;
  text-align: center;
  margin: 0 0 2.5rem 0;
}
.seite-unterstuetzerinnen .namen .name {
  white-space: nowrap;
}
.seite-unterstuetzerinnen .namen .leaf {
  width: 20px;
  height: 20px;
  margin: 0 0.55em;
  vertical-align: -5px;
  color: rgba(79,107,90,0.5);
}
@media (max-width: 600px) {
  .seite-unterstuetzerinnen .namen { font-size: 1rem; line-height: 2; }
  .seite-unterstuetzerinnen .namen .leaf { width: 18px; height: 18px; margin: 0 0.4em; vertical-align: -4px; }
}

/* /datenschutz: Rechtstext mit Zwischenüberschriften und Listen */
.seite-datenschutz h1 {
  margin-bottom: 2.5rem;
}
.seite-datenschutz h2 {
  font-family: 'EB Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  margin: 2.5rem 0 1rem;
  color: var(--nacht);
}
.seite-datenschutz h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin: 1.8rem 0 0.6rem;
  color: var(--nacht);
}
.seite-datenschutz p { margin-bottom: 1rem; }
.seite-datenschutz ul { margin: 0.5rem 0 1rem 1.5rem; }
.seite-datenschutz li { margin-bottom: 0.3rem; }
.seite-datenschutz .caps { text-transform: uppercase; font-size: 0.9rem; }
