﻿/* ==========================================================================
   Monte Vivo e.V. - statische Vereinswebsite
   Zentrales Stylesheet fuer Layout, Farben, Typografie und Responsive Design.
   ========================================================================== */

:root {
  --green-900: #173d2c;
  --green-800: #24533a;
  --green-700: #2f6a47;
  --green-500: #5f8f55;
  --sand-200: #f3ebdc;
  --sand-100: #fbf7ef;
  --white: #ffffff;
  --ink: #203229;
  --muted: #607066;
  --line: #dfe7dc;
  --shadow: 0 18px 45px rgba(23, 61, 44, 0.14);
  --radius: 8px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--green-900);
  line-height: 1.14;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 5.75rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.narrow {
  max-width: 780px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 231, 220, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--green-900);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--green-700);
  border-radius: 50%;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav a {
  padding: 0.65rem 0.85rem;
  color: var(--green-900);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  background: var(--sand-200);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-900);
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  padding: 7rem 5vw;
  isolation: isolate;
}

/* Das Hero-Bild bekommt einen dunklen Verlauf, damit Text stets gut lesbar bleibt. */
.hero-home {
  background:
    linear-gradient(90deg, rgba(12, 35, 24, 0.82), rgba(12, 35, 24, 0.46) 48%, rgba(12, 35, 24, 0.08)),
    url("../img/hero-paraguay.png") center / cover no-repeat;
}

.hero-content {
  width: min(720px, 100%);
  color: var(--white);
}

.hero-content h1,
.hero-content .hero-lead {
  color: var(--white);
}

.hero-lead {
  max-width: 660px;
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  line-height: 1.35;
}

.eyebrow {
  color: var(--green-500);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.section-cta .eyebrow {
  color: #d7ebc6;
}

.hero-actions,
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn-primary {
  color: var(--white);
  background: var(--green-700);
  box-shadow: 0 10px 24px rgba(47, 106, 71, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--green-800);
}

.btn-light {
  color: var(--green-900);
  background: var(--white);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-muted {
  background: var(--sand-100);
}

.section-intro {
  background: var(--white);
}

.intro-grid,
.split,
.donation-layout,
.contact-grid,
.footer-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.intro-grid,
.split,
.donation-layout,
.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

.rich-text p,
.panel-text p {
  color: var(--muted);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.3rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.focus-card,
.content-card,
.info-box,
.contact-card,
.contact-form,
.donation-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(23, 61, 44, 0.05);
}

.focus-card {
  min-height: 230px;
}

.card-icon {
  display: inline-flex;
  margin-bottom: 1.25rem;
  color: var(--green-700);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.section-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.panel-text {
  max-width: 580px;
}

.membership-card {
  max-width: 760px;
  padding: clamp(2rem, 5vw, 2.6rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(23, 61, 44, 0.05);
}

.membership-card h2 {
  max-width: 680px;
  margin-bottom: 1.7rem;
  font-size: clamp(2.1rem, 4vw, 3rem);
}

.membership-copy {
  max-width: 690px;
  margin-bottom: 1.35rem;
  color: #171c18;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.45;
}

.membership-list {
  max-width: 690px;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  color: #171c18;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.35;
}

.membership-list li {
  padding-left: 2.4rem;
  margin-bottom: 1.2rem;
}

.membership-list li::before {
  top: 0.05rem;
  width: 1.35rem;
  height: 1.35rem;
  line-height: 1.35rem;
  font-size: 0.82rem;
}

.membership-button {
  min-width: 216px;
}

.page-hero {
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(3.25rem, 7vw, 5rem);
  background: linear-gradient(180deg, var(--sand-100), var(--white));
}

.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.15rem;
}

.page-hero-image {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 61, 44, 0.84), rgba(23, 61, 44, 0.46)),
    url("../img/umweltbildung-paraguay.png") center / cover no-repeat;
}

.page-hero-image h1,
.page-hero-image p {
  color: var(--white);
}

.check-list {
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.75rem;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.12rem;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--white);
  background: var(--green-700);
  border-radius: 50%;
  content: "\2713";
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1rem;
  text-align: center;
}

.project-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(23, 61, 44, 0.06);
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-card div {
  padding: 1.5rem;
}

.project-card h2 {
  font-size: 1.55rem;
}

.highlight-card {
  display: grid;
  align-items: end;
  min-height: 360px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
}

.highlight-card h2,
.highlight-card p {
  color: var(--white);
}

.section-cta {
  padding-top: 0;
}

.cta-band {
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  background: var(--green-900);
  border-radius: var(--radius);
}

.cta-band h2 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(1.55rem, 2.5vw, 2.4rem);
}

.donation-hero {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background:
    linear-gradient(90deg, rgba(251, 247, 239, 0.96), rgba(251, 247, 239, 0.86)),
    url("../img/saatgut-biodiversitaet.png") center / cover no-repeat;
}

.donation-layout p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.12rem;
}

.donation-card {
  align-self: stretch;
  display: grid;
  align-content: center;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.contact-grid {
  align-items: start;
}

.contact-card h3 {
  margin-top: 2rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-links a {
  color: var(--green-700);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.contact-form label {
  color: var(--green-900);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green-700);
  outline: 3px solid rgba(95, 143, 85, 0.22);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill-list span {
  padding: 0.75rem 1rem;
  color: var(--green-900);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.site-footer {
  padding: 2.5rem 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--green-900);
}

.site-footer strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--white);
  font-size: 1.1rem;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem 1.1rem;
}

.site-footer a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
  outline: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    border-radius: var(--radius);
  }

  .intro-grid,
  .split,
  .donation-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.two,
  .card-grid.three {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .site-footer nav {
    justify-content: start;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding: 0 1rem;
  }

  .brand span:last-child {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 700px;
    padding-block: 5rem;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .focus-card,
  .content-card,
  .info-box,
  .contact-card,
  .contact-form,
  .donation-card,
  .project-card div {
    padding: 1.2rem;
  }
}



