:root{
  --green:#008939;
  --green-dark:#005326;
  --sun:#ffd400;
  --cream:#f6f3ea;
  --text:#18251d;
  --muted:#667168;
  --white:#fff;

  --radius:30px;
  --max:1180px;

  --shadow:
    0 12px 40px rgba(0,0,0,.08);
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:"Inter",sans-serif;
  background:var(--cream);
  color:var(--text);
  line-height:1.6;
}

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

/* EMAIL CHIP */

.mail-chip{
  display:inline-flex;
  align-items:center;
  gap:.8rem;

  margin-top:.5rem;

  background:#f6f3ea;

  color:#006B3C;

  padding:.85rem 1.2rem;

  border-radius:999px;

  font-weight:700;

  transition:.2s ease;

  box-shadow:
    0 6px 18px rgba(0,0,0,.06);
}

.mail-chip:hover{
  transform:translateY(-2px);

  background:#FFD400;
  color:#00381f;
}

.mail-icon{
  width:34px;
  height:34px;

  display:grid;
  place-items:center;

  border-radius:50%;

  background:#006B3C;
  color:white;

  font-size:.9rem;
  font-weight:800;
}


a{
  color:inherit;
  text-decoration:none;
}

.container{
  width:min(92%, var(--max));
  margin:auto;
}

h1,h2,h3,.logo{
  font-family:"Arvo",serif;
}

h1 {
  color:#006B3C;
}

/* HEADER */

.header{
  position:sticky;
  top:0;
  z-index:999;

  background:#006B3C;
  color:white;

  border-bottom:1px solid rgba(255,255,255,.08);

  box-shadow:
    0 6px 24px rgba(0,0,0,.12);
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:1rem 0;
}

.logo{
  display:flex;
  align-items:center;
  gap:1rem;

  color:white;

  font-weight:700;
  font-size:1.15rem;

  transition:.2s ease;
}

.logo:hover{
  opacity:.9;
}

.sunflower{
  width:44px;
  height:auto;
}

/* NAVIGATION */

.menu{
  display:flex;
  gap:2rem;
}

.menu a{
  position:relative;

  color:white;

  font-weight:700;
  letter-spacing:-0.01em;

  padding:.2rem 0;

  transition:color .2s ease;
}

/* GELBE LINIE */

.menu a::after{
  content:"";

  position:absolute;
  left:0;
  bottom:-6px;

  width:0;
  height:3px;

  background:#FFD400;

  border-radius:999px;

  transition:width .25s ease;
}

.menu a:hover{
  color:#fff7bf;
}

.menu a:hover::after{
  width:100%;
}

/* ACTIVE STATE OPTIONAL */

.menu a.active::after{
  width:100%;
}

/* BURGER */

.burger{
  display:none;

  border:none;
  background:none;

  color:white;

  font-size:2rem;
  cursor:pointer;
}

/* MOBILE MENU */

.mobile-menu{
  display:none;
  flex-direction:column;
  gap:1rem;

  padding:1.5rem;

  background:#006B3C;

  border-top:1px solid rgba(255,255,255,.08);
  position: absolute;
  right: 0px;
  z-index:10;
}

.mobile-menu a{
  color:white;
  font-weight:700;
}

.mobile-menu.active{
  display:flex;
}

/* MOBILE */

@media(max-width:900px){

  .menu{
    display:none;
  }

  .burger{
    display:block;
  }

}

/* HERO */

.hero{
  padding:6rem 0;
}


.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:3rem;

  align-items:stretch; /* wichtig */
}

.hero-image{
  height:100%;
  display:flex;
}

.kicker{
  display:inline-block;

  background:white;
  color:var(--green);

  border-radius:999px;

  padding:.5rem 1rem;

  font-weight:700;

  margin-bottom:1.5rem;
}


.hero h1{
  font-size:clamp(3.2rem, 8vw, 7.5rem);

  line-height:.9;
  letter-spacing:-0.04em;

  max-width:8ch;

  text-wrap:balance;

  margin-bottom:1.5rem;
}


.hero p{
  max-width:620px;

  font-size:1.2rem;
  color:var(--muted);

  margin-bottom:2rem;
}

.hero-buttons{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  border-radius:999px;

  padding:1rem 1.6rem;

  font-weight:700;

  transition:.2s;
}

.button:hover{
  transform:translateY(-2px);
}

.button-primary{
  background:var(--green);
  color:white;
}

.button-secondary{
  background:white;
  box-shadow:var(--shadow);
}

.hero-image{
  position:relative;
}


.hero-image img{
  width:100%;
  height:100%;

  object-fit:cover;

  border-radius:38px;
}

.hero-badge{
  position:absolute;
  left:-20px;
  bottom:20px;

  background:var(--sun);

  padding:1rem 1.2rem;

  border-radius:24px;

  font-weight:800;

  box-shadow:var(--shadow);
}

/* SECTIONS */

section{
  padding:6rem 0;
}

.section-header{
  margin-bottom:2.5rem;
}

.section-header h2{
  font-size:clamp(2.2rem,5vw,3.5rem);
  line-height:1;
  letter-spacing:-.04em;

  margin-bottom:1rem;
}

.section-header p{
  color:var(--muted);
}

.light{
  color:white;
}

/* PROGRAM */


.program-grid{
  display:grid;
  grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

  gap:1.8rem;
}

.program-card{
  background:white;

  border-radius:32px;

  padding:2rem;

  box-shadow:var(--shadow);

  transition:.25s;
}

.program-card:hover{
  transform:translateY(-5px);
}

.program-icon{
  width:56px;
  height:56px;

  display:grid;
  place-items:center;

  background:var(--sun);

  border-radius:20px;

  margin-bottom:1rem;

  font-size:1.4rem;
}

.program-card h3{
  margin-bottom:.7rem;
}

/* TEAM */

.team-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:2rem;
}

.person{
  text-align:center;
}

.person-image{
  position:relative;
  margin-bottom:1rem;
}

.person-image img{
  aspect-ratio:1/1.15;
  object-fit:cover;

  border-radius:28px;

  box-shadow:var(--shadow);
}

.person-badge{
  position:absolute;
  left:12px;
  bottom:12px;

  background:white;

  border-radius:999px;

  padding:.45rem .8rem;

  font-size:.85rem;
  font-weight:700;
}

.article-grid {
    display: flex;
    gap: 20px;
    align-items: flex-start; 
}

.article-text {
    flex: 1;
}

.article-grid {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.article-text {
    flex: 1;
}

.article-grid {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.article-text {
    flex: 1;
}

/* Bild-Container bestimmt die Größe */
.article-image {
    width: min(40%, 500px);
    height: 220px;              /* ← sorgt für einheitliche Höhe */
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Bild füllt den Container sauber aus */
.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;          /* kein Verzerren, nur Zuschneiden */
    display: block;
}

/* Mobile */
@media (max-width: 768px) {
    .article-grid {
        flex-direction: column;
    }

    .article-image {
        width: 100%;
        height: 200px;          /* optional leicht kleiner auf Mobile */
    }
}
/* EVENTS */

.events{
  background:var(--green);
  color:white;

  border-radius:40px;

  padding:3rem;

  position:relative;
  overflow:hidden;
}

.events::before{
  content:"";
  position:absolute;

  width:420px;
  height:420px;

  background:rgba(255,255,255,.05);

  border-radius:50%;

  right:-180px;
  top:-180px;
}

.event{
  display:grid;
  grid-template-columns:140px 1fr;

  gap:2rem;

  padding:1.4rem 0;

  border-bottom:1px solid rgba(255,255,255,.15);

  position:relative;
}

.event:last-child{
  border:none;
}

.event-date{
  color:var(--sun);
  font-weight:800;
}

/* NEWS */

.news-grid{
  display:grid;
  gap:1.5rem;
}

.news{
  background:white;

  border-radius:28px;

  padding:2rem;

  box-shadow:var(--shadow);
}

.news-tag{
  display:inline-block;

  background:var(--sun);

  border-radius:999px;

  padding:.35rem .7rem;

  font-size:.8rem;
  font-weight:700;

  margin-bottom:1rem;
}

.news h3{
  margin-bottom:.5rem;
}

/* FOOTER */

footer{
  padding:3rem 0 5rem;
}

.footer-box{
  background:white;

  border-radius:36px;

  padding:3rem;

  display:flex;
  justify-content:space-between;
  gap:2rem;
  flex-wrap:wrap;

  box-shadow:var(--shadow);
}

.footer-box h3{
  font-size:2rem;
  line-height:1;
  margin-bottom:1rem;
}

.footer-links{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;

  margin-top:1rem;
}

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

/* MOBILE */

@media(max-width:900px){

  .menu{
    display:none;
  }

  .burger{
    display:block;
  }

  .hero-grid{
    grid-template-columns:1fr;
  }

  .hero{
    padding-top:4rem;
  }

  .hero-badge{
    left:16px;
    bottom:16px;
  }

  .event{
    grid-template-columns:1fr;
    gap:.5rem;
  }

}

/* =========================
   LOCAL FONTS
========================= */

/* ARVO */

@font-face{
  font-family:"Arvo";
  src:url("./fonts/GrueneTypeNeue.woff2") format("woff2");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"Arvo";
  src:url("./fonts/GrueneTypeNeue.woff2") format("woff2");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}

.legal-page{
  padding:6rem 0;
}

.legal-page .container{
  max-width:760px;   /* typisch für Impressum-Seiten */
}

.legal-page h1{
  font-family:"Arvo", serif;
  font-size:3rem;
  margin-bottom:2rem;
  letter-spacing:-.04em;
}

.legal-page h2{
  font-family:"Arvo", serif;
  font-size:1.4rem;
  margin-top:2.5rem;
  margin-bottom:1rem;
}

.legal-page p{
  color:#2b352f;
  line-height:1.7;
  margin-bottom:1rem;
}

.legal-page a{
  color:#006B3C;
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:3px;
}

.legal-page a:hover{
  color:#FFD400;
}

.back-button {
  width: 33px;
  height: 33px;
  border: none;
  border-radius: 50%;
  background: #006B3C;
  color: #f6f3ea;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}

.back-button svg {
  width: 16px;
  height: 16px;
}

.back-button:hover {
  background: #FFD400;
}
