:root{
  --olive:#6d7133;
  --olive-dark:#42491e;
  --olive-soft:#eef0df;
  --cream:#f8f6f0;
  --sand:#e7ddcb;
  --sand-dark:#d2c2a5;
  --text:#303327;
  --muted:#6f705f;
  --line:#e8e1d3;
  --white:#fff;
  --shadow:0 18px 54px rgba(49,52,38,.12);
  --radius:28px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Optima, Candara, "Segoe UI", system-ui, sans-serif;
  color:var(--text);
  background:var(--cream);
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.site-header{
  position:sticky;top:0;z-index:30;
  display:flex;align-items:center;justify-content:space-between;gap:28px;
  padding:18px clamp(22px,4vw,56px);
  background:rgba(248,246,240,.94);
  border-bottom:1px solid rgba(109,113,51,.16);
  backdrop-filter:blur(16px);
}
.brand img{width:240px;height:auto;mix-blend-mode:multiply}
.main-nav{display:flex;align-items:center;gap:24px;font-size:15px;color:var(--olive-dark)}
.main-nav a{position:relative;padding:8px 0;font-weight:600}
.main-nav a:hover{color:var(--olive)}
.nav-donate{border:1px solid var(--olive);border-radius:999px;padding:9px 18px!important}
.nav-donate:hover{background:var(--olive);color:var(--white)!important}
.nav-toggle{display:none;background:none;border:0;padding:8px;cursor:pointer}
.nav-toggle span{display:block;width:26px;height:2px;background:var(--olive-dark);margin:6px 0}

.hero{
  position:relative;
  min-height:620px;
  display:grid;
  align-items:center;
  padding:40px clamp(18px,4vw,56px);
}
.hero-image{position:absolute;inset:0;overflow:hidden;background:var(--olive-dark)}
.hero-image img{width:100%;height:100%;object-fit:cover;object-position:center 42%;filter:saturate(.92) brightness(.9)}
.hero-image::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(35,38,24,.32),
        rgba(35,38,24,.05) 52%,
        rgba(35,38,24,.18)
    );
}
.hero-card{position:relative;max-width:530px;margin-left:8px;background:rgba(248,246,240,.78);border:1px solid rgba(255,255,255,.45);border-radius:22px;box-shadow:var(--shadow);padding:clamp(22px,3vw,32px);backdrop-filter:blur(8px)}
.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-weight:800;font-size:12px;color:var(--olive);margin:0 0 12px}
h1,h2,h3{font-family: Georgia, "Times New Roman", serif;line-height:1.04;color:var(--olive-dark);margin:0}
h1{font-size:clamp(32px,4vw,48px);letter-spacing:-.035em}
h2{font-size:clamp(28px,3.4vw,44px);letter-spacing:-.03em}
h3{font-size:21px;letter-spacing:-.015em}
.lead{font-size:clamp(16px,1.5vw,19px);color:#424533;margin:15px 0 0;max-width:460px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.button{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:13px 22px;font-weight:800;border:1px solid var(--olive)}
.button.primary{background:var(--olive);color:var(--white)}
.button.primary:hover{background:var(--olive-dark)}
.button.secondary{background:transparent;color:var(--olive-dark)}
.button.secondary:hover{background:var(--olive-soft)}

.section{padding:clamp(58px,7vw,92px) clamp(18px,4vw,56px)}
.container{max-width:1180px;margin:0 auto}
.two-col{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(36px,6vw,84px);align-items:start}
.align-start{align-items:start}
.text-block p{font-size:18px;margin:0 0 16px;color:#45483a}
.muted{color:var(--muted)}
.section-heading{max-width:740px;margin-bottom:34px}
.centered{text-align:center;margin-inline:auto}

.values-section{background:var(--white)}
.value-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.value-card{
    background:var(--cream);
    border:1px solid var(--line);
    border-radius:22px;
    padding:24px;
    min-height:220px;

    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}

.value-card .icon{
    display:grid;
    place-items:center;
    width:54px;
    height:54px;
    border-radius:50%;
    background:var(--olive-soft);
    margin-bottom:22px;
    flex-shrink:0;
	color:var(--olive);
}

.value-card .icon img{
    width:28px;
    height:28px;
    display:block;
    filter: brightness(0) saturate(100%) invert(42%) sepia(16%) saturate(1143%) hue-rotate(25deg) brightness(95%) contrast(88%);
}

.value-card h3{
    margin:0;
}

.value-card p{
    margin:14px 0 0;
    color:var(--muted);
}

.history-section{background:linear-gradient(180deg,var(--cream),#f1eadc)}
.history-header{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:clamp(42px,7vw,90px);
  align-items:center;
  margin-bottom:36px;
}
.history-intro{text-align:left}
.history-intro h2{max-width:560px}
.founder-portraits{display:grid;grid-template-columns:repeat(2,200px);gap:18px;justify-content:end}
.founder-portrait{margin:0;background:rgba(255,255,255,.68);border:1px solid var(--line);border-radius:20px;padding:10px 10px 14px;box-shadow:0 14px 34px rgba(65,61,42,.08)}
.founder-portrait img{display:block;width:100%;aspect-ratio:400/520;object-fit:cover;object-position:center top;border-radius:14px;filter:sepia(.08) contrast(.96)}
.founder-portrait figcaption{display:flex;flex-direction:column;gap:2px;padding:12px 4px 0}
.founder-portrait figcaption strong{font-family:Georgia,"Times New Roman",serif;color:var(--olive-dark);font-size:18px;line-height:1.2}
.founder-portrait figcaption span{color:var(--muted);font-size:14px}
.timeline{max-width:100%;margin:0;background:rgba(255,255,255,.68);border:1px solid var(--line);border-radius:var(--radius);padding:18px 32px}
.timeline-item{display:grid;grid-template-columns:115px 1fr;gap:24px;padding:18px 0;border-bottom:1px solid var(--line);align-items:center}
.timeline-item:last-child{border-bottom:0}
.timeline-item strong{color:var(--olive);font-family:Georgia,"Times New Roman",serif;font-size:18px;line-height:1.25}

.projects-section{background:var(--white)}
.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.project-card{background:var(--cream);border:1px solid var(--line);border-radius:22px;overflow:hidden;display:flex;flex-direction:column;transition:.2s ease}
.project-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:rgba(109,113,51,.35)}
.project-image-placeholder{height:135px;background:linear-gradient(135deg,var(--olive-soft),#f4efe3);display:grid;place-items:center;border-bottom:1px solid var(--line)}
.project-image-placeholder span{display:grid;place-items:center;width:54px;height:54px;border:1px solid rgba(109,113,51,.25);border-radius:50%;color:rgba(66,73,30,.55);font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.project-content{padding:22px 24px 24px;display:flex;flex-direction:column;gap:10px;min-height:165px}
.project-content p{margin:0;color:var(--muted);font-size:14px}
.project-content span{
  color:var(--olive);
  font-weight:600;
  font-size:14px;
  letter-spacing:.02em;
  margin-top:auto;
}
.cafe-section{background:var(--sand)}
.quote-box{background:rgba(255,255,255,.58);border:1px solid rgba(109,113,51,.18);border-radius:var(--radius);padding:clamp(32px,5vw,58px);max-width:940px}
.quote-box p:not(.eyebrow){font-size:18px;margin-bottom:0}

.leadership-section{background:var(--cream)}
.leadership-card{display:grid;grid-template-columns:330px 1fr;gap:clamp(30px,5vw,70px);align-items:center;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:clamp(24px,4vw,46px);box-shadow:var(--shadow)}
.leadership-card img{border-radius:22px;aspect-ratio:4/4.4;object-fit:cover;width:100%}
.leadership-card p:not(.eyebrow){font-size:18px;max-width:680px}

.donate-section{background:var(--olive-dark);color:var(--white)}
.donate-card{max-width:920px;text-align:center}
.donate-card h2,.donate-card .eyebrow{color:var(--white)}
.donate-card p{font-size:18px;color:#f1eedf}
.iban{margin:32px auto 0;padding:20px 24px;border-radius:18px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);font-size:clamp(20px,3vw,34px);font-family:Georgia,"Times New Roman",serif;letter-spacing:.03em}

.site-footer{padding:36px clamp(18px,4vw,56px);background:#f0eadf;border-top:1px solid var(--line)}
.footer-inner{display:flex;gap:28px;align-items:center;justify-content:space-between;color:var(--muted);font-size:15px}
.footer-inner img{width:190px;mix-blend-mode:multiply}
.footer-links{display:flex;gap:18px;color:var(--olive-dark);font-weight:700}

@media (max-width:960px){
  .brand img{width:210px}
  .nav-toggle{display:block}
  .main-nav{position:absolute;left:18px;right:18px;top:82px;z-index:1000;display:none;flex-direction:column;align-items:flex-start;gap:8px;background:var(--cream);border:1px solid var(--line);border-radius:22px;padding:18px;box-shadow:var(--shadow)}
  .main-nav.is-open{display:flex}
  .hero{min-height:600px}
  .two-col,.leadership-card{grid-template-columns:1fr}
  .value-grid,.project-grid{grid-template-columns:repeat(2,1fr)}
  .leadership-card img{max-width:330px}
  .footer-inner{align-items:flex-start;flex-direction:column}
}
@media (max-width:620px){
  .site-header{padding:14px 18px}
  .brand img{width:185px}

  .hero{
    display:block;
    min-height:0;
    padding:0 0 34px;
    background:var(--cream);
  }

  .hero-image{
    position:relative;
    inset:auto;
    height:clamp(170px, 42vw, 240px);
    overflow:hidden;
  }

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

  .hero-image img{
    object-fit:cover;
    object-position:center;
    filter:saturate(.92) brightness(.94);
  }

  .hero-image::after{
    display:none;
  }

  .hero-card{
    margin:22px 18px 0;
    padding:24px;
    border-radius:22px;
    background:rgba(248,246,240,.9);
  }

  .hero-actions{
    margin-top:24px;
  }

  h1{font-size:31px}
  .value-grid,.project-grid{grid-template-columns:1fr}
  .founder-portraits{gap:12px;margin-top:26px}
  .founder-portrait{padding:7px 7px 12px;border-radius:16px}
  .founder-portrait img{border-radius:11px}
  .founder-portrait figcaption strong{font-size:16px}
  .timeline{padding:10px 18px}
  .timeline-item{grid-template-columns:1fr;gap:4px}
  .section{padding:58px 18px}
}

.iban{
    font-size:18px;
    line-height:1.45;
    letter-spacing:0;
  }

/* Projektbilder: dezenter Farb-Overlay nur auf dem Bild, nicht auf dem Kartentext */
.project-image{
  position:relative;
  overflow:hidden;
  background:var(--olive-soft);
  border-bottom:1px solid var(--line);
}

.project-image img{
  display:block;
  width:100%;
  height:auto;
  filter:saturate(.62) contrast(.96) brightness(.98);
  transition:filter .28s ease;
}

.project-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(109,113,51,.26);
  mix-blend-mode:multiply;
  opacity:1;
  transition:opacity .28s ease;
  pointer-events:none;
}

.project-card:hover .project-image::after{
  opacity:0;
}

.project-card:hover .project-image img{
  filter:none;
}

@media (min-width:961px){
  .project-grid .project-card:nth-child(4){grid-column:1 / 2;}
  .project-grid .project-card:nth-child(5){grid-column:2 / 3;}
}


/* Rechtliche Unterseiten */
.page-hero{
  background:linear-gradient(180deg,var(--cream),#f1eadc);
  padding:clamp(54px,7vw,86px) clamp(18px,4vw,56px);
  border-bottom:1px solid var(--line);
}
.page-hero .container{max-width:980px}
.page-hero h1{font-size:clamp(34px,4.2vw,52px);max-width:760px}
.page-hero .lead{font-size:18px;max-width:720px;color:var(--muted)}
.legal-section{background:var(--cream);padding:clamp(46px,6vw,78px) clamp(18px,4vw,56px)}
.legal-card{
  max-width:980px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:clamp(28px,4.5vw,56px);
}
.legal-card h2{font-size:clamp(24px,2.6vw,34px);margin-top:38px;margin-bottom:14px}
.legal-card h2:first-child{margin-top:0}
.legal-card h3{font-size:20px;margin-top:26px;margin-bottom:8px}
.legal-card p{margin:0 0 14px;color:#45483a}
.legal-card ul{margin:0 0 18px 20px;padding:0;color:#45483a}
.legal-card li{margin:0 0 8px}
.legal-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:24px 0}
.legal-box{background:var(--cream);border:1px solid var(--line);border-radius:18px;padding:22px}
.legal-box p:last-child{margin-bottom:0}
.placeholder-note{background:var(--olive-soft);border-left:4px solid var(--olive);padding:16px 18px;border-radius:12px;margin:18px 0;color:var(--olive-dark)!important}
.main-nav a.is-active,.footer-links a.is-active{color:var(--olive);}
@media (max-width:720px){.legal-grid{grid-template-columns:1fr}.legal-card{border-radius:22px}}

/* Scroll-to-top button */
.scroll-top{
  position:fixed;
  right:32px;
  bottom:32px;
  z-index:40;
  width:48px;
  height:48px;
  display:none;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.22);
  border-radius:50%;
  background:rgba(109,113,51,.9);
  color:var(--white);
  box-shadow:0 14px 34px rgba(49,52,38,.18);
  backdrop-filter:blur(8px);
  cursor:pointer;
  opacity:0;
  transform:translateY(10px);
  pointer-events:none;
  transition:opacity .25s ease, transform .25s ease, background .2s ease;
}
.scroll-top svg{
  width:24px;
  height:24px;
}
.scroll-top path{
  fill:none;
  stroke:currentColor;
  stroke-width:2.1;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.scroll-top:hover{
  background:rgba(66,73,30,.96);
  transform:translateY(6px);
}
.scroll-top.is-visible{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
.scroll-top.is-visible:hover{
  transform:translateY(-2px);
}

@media (min-width:961px){
  .scroll-top{display:flex}
}
/* Mobile menu button: centered hamburger/X above the menu panel */
.nav-toggle{
    position:relative;
    z-index:1005;
    width:42px;
    height:42px;
    padding:0;
    align-items:center;
    justify-content:center;
}

.nav-toggle span{
    position:absolute;
    left:50%;
    top:50%;
    width:24px;
    height:2px;
    margin-left:-12px;
    margin-top:-1px;
    background:var(--olive-dark);
    border-radius:2px;
    transition:transform .25s ease, opacity .2s ease;
}

.nav-toggle span:nth-child(1){transform:translateY(-7px);}
.nav-toggle span:nth-child(2){transform:translateY(0);}
.nav-toggle span:nth-child(3){transform:translateY(7px);}

.nav-toggle.is-open{
    z-index:1005;
    background:rgba(109,113,51,.08);
    border-radius:50%;
}

.nav-toggle.is-open span:nth-child(1){transform:rotate(45deg);}
.nav-toggle.is-open span:nth-child(2){opacity:0;}
.nav-toggle.is-open span:nth-child(3){transform:rotate(-45deg);}
.project-content span span{
    font-size:.9em;
}
/* Größere Touch-Flächen im mobilen Menü */
@media (max-width:960px){
  .main-nav{
    gap:4px;
    padding:16px;
  }

  .main-nav a{
    width:100%;
    min-height:46px;
    display:flex;
    align-items:center;
    padding:12px 14px;
    border-radius:14px;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible{
    background:var(--olive-soft);
    color:var(--olive-dark);
  }

  .main-nav .nav-donate{
    justify-content:center;
    margin-top:6px;
    padding:12px 18px!important;
  }
}

@media (max-width:900px){
.history-header{grid-template-columns:1fr;gap:28px}
.history-intro{text-align:center}
.history-intro h2{margin:0 auto}
.founder-portraits{justify-content:center;margin:0 auto}
.timeline{margin-top:36px}
}

/* Historie: mobile Breite sauber innerhalb des Viewports halten */
@media (max-width:620px){
  .history-section .container,
  .history-header,
  .history-intro,
  .founder-portraits,
  .founder-portrait{
    min-width:0;
    max-width:100%;
  }

  .history-intro h2{
    width:100%;
    max-width:100%;
    font-size:clamp(29px,9vw,36px);
    overflow-wrap:break-word;
  }

  .founder-portraits{
    width:100%;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    justify-content:stretch;
  }

  .founder-portrait{
    width:100%;
  }

  .founder-portrait figcaption{
    padding-inline:3px;
  }
}
