/* SlowGrow — Richtung A. Mobile first. */

:root {
  --gruen: #358D3F;
  --gruen-dunkel: #2E7A37;
  --orange: #B8561A;
  --text: #333333;
  --text-leise: #5A5A5A;
  --linie: #E2E2DC;
  --linie-weich: #ECECE8;
  --flaeche: #F6F8F3;
  --flaeche-fuss: #F3F4EF;
  --weiss: #FFFFFF;
  --maxw: 1248px;
  --radius: 6px;
  --font: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --font-title: Andika, "Nunito Sans", sans-serif;
  --font-mark: "Amatic SC", "Segoe UI", cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  background: var(--weiss);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; }

main img, footer img { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
  color: var(--gruen);
  margin: 0 0 .5em;
}

h1 { font-size: clamp(1.85rem, 4vw, 3rem); font-weight: 400; }
h2 { font-size: clamp(1.35rem, 2.6vw, 2.25rem); font-weight: 400; }
h3 { font-size: 1.25rem; color: var(--text); }

p { margin: 0 0 .85em; color: var(--text-leise); }

a { color: var(--gruen-dunkel); }
a:hover { color: #1F5A27; }

:focus-visible {
  outline: 2px solid var(--gruen-dunkel);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: .75rem;
  top: .75rem;
  z-index: 100;
  padding: .5rem .9rem;
  background: var(--weiss);
  border-radius: 999px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

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

.page-shell {
  min-height: 40vh;
  padding: 2rem 0 4rem;
}

.lead {
  font-size: 1.15rem;
  max-width: 42rem;
  margin: 0;
}

.text-link { font-weight: 600; }

.pill {
  display: inline-block;
  margin: 0;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gruen-dunkel);
  background: #EAF4EA;
  padding: .3rem .65rem;
  border-radius: 999px;
}
.pill--muted {
  color: var(--text-leise);
  background: #E8ECE3;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .7rem 1.5rem;
  border-radius: 999px;
  border: 0;
  background: var(--orange);
  color: var(--weiss);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
}
.btn:hover { background: #9a4715; color: var(--weiss); }
.btn--ghost {
  background: transparent;
  color: var(--gruen-dunkel);
  border: 1px solid var(--gruen);
}
.btn--ghost:hover { background: #EAF4EA; color: var(--gruen-dunkel); }
.btn--secondary {
  background: var(--gruen-dunkel);
  color: var(--weiss);
  border-radius: 4px;
  padding: .6rem 1rem;
}
.btn--secondary:hover { background: #24632c; color: var(--weiss); }

/* ---------- Header / nav ---------- */
.site-header {
  border-bottom: 1px solid var(--linie-weich);
  background: var(--weiss);
}

.nav {
  width: min(100% - 2rem, var(--maxw));
  margin-inline: auto;
  padding: .75rem 0;
}

.nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 44px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  text-decoration: none;
}
.nav__logo img {
  display: block;
  height: 44px;
  width: auto;
}
.nav__wordmark {
  display: none;
  font-family: var(--font-mark);
  font-size: 1.7rem;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--gruen);
}

.nav__bar-end {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav__toggle-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  fill: none;
}
.nav__toggle-bar {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .2s ease, opacity .2s ease;
}
.nav--open .nav__toggle-bar:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav--open .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle-bar:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav__links {
  display: none;
  list-style: none;
  margin: .65rem 0 0;
  padding: .65rem 0 0;
  border-top: 1px solid var(--linie-weich);
  flex-direction: column;
  gap: .15rem;
}
.nav--open .nav__links { display: flex; }

.nav__links a {
  display: block;
  min-height: 44px;
  padding: .65rem .4rem;
  text-decoration: none;
  color: #555555;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .95rem;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--gruen-dunkel); }

.nav__login-full { display: none; }
.nav__login-compact { padding: .45rem .9rem; font-size: .9rem; text-transform: none; letter-spacing: 0; }

.nav__lang {
  padding: .4rem;
  color: #999999;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.nav__lang a,
.nav__lang-current {
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  color: #777777;
}
.nav__lang-current { color: var(--text); font-weight: 700; }

@media (min-width: 901px) {
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.1rem 0;
  }
  .nav__bar { min-width: 0; flex: 1 1 auto; }
  .nav__bar-end { display: none; }
  .nav__toggle { display: none; }
  .nav__logo img { height: 58px; }
  .nav__wordmark { display: inline; }
  .nav__links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.4rem;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .nav__links a {
    min-height: 0;
    padding: 0;
  }
  .nav__login-full { display: list-item; }
  .nav__login-full .btn {
    text-transform: none;
    letter-spacing: 0;
    padding: .5rem 1.1rem;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--flaeche-fuss);
  padding: 2.5rem 0;
  font-size: .95rem;
  line-height: 1.6;
  color: #555555;
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
.footer-heading {
  margin: 0 0 .35rem;
  font-weight: 700;
  color: var(--text);
}
.footer-legal { margin-top: .75rem; }
.footer-depots { margin: .75rem 0 0; font-size: .85rem; }
.footer-hint { font-size: .8rem; margin: .35rem 0 0; }
.footer-news label {
  display: block;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
}
.footer-news__row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-news input {
  flex: 1 1 12rem;
  min-height: 44px;
  padding: .6rem .75rem;
  border: 1px solid #CFCFC8;
  border-radius: 4px;
  font: inherit;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
}

/* ---------- Cards (for later pages) ---------- */
.card {
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--weiss);
  padding: 1.5rem;
}
.card--muted { background: var(--flaeche); }

/* ---------- Hero ---------- */
.hero {
  height: 200px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}
.hero img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}
@media (min-width: 901px) {
  .hero {
    height: 440px;
    clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
  }
}

/* ---------- Intro ---------- */
.intro { padding: 1rem 0 0; }
.intro h1 { max-width: 22ch; margin-bottom: .5rem; }
.intro__mark {
  display: block;
  margin: 0 0 .35rem;
  font-family: var(--font-mark);
  font-size: 1.6rem;
  color: var(--gruen);
}
@media (min-width: 901px) {
  .intro { padding-top: 1.5rem; }
  .intro__mark { display: none; }
}

/* ---------- Zwei Wege ---------- */
.wege { padding: 2rem 0 0; }
.wege__title {
  color: var(--text);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
}
.wege__grid {
  display: grid;
  gap: 1.25rem;
}
.wege .card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
}
.wege .card h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--gruen);
  margin: 0;
}
.wege .card > .btn,
.wege__actions .btn { align-self: flex-start; }
.wege__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: auto;
}
.wege__login { margin: 1.25rem 0 0; font-size: .95rem; }

.tiles {
  display: grid;
  gap: .75rem;
}
.tile {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: .85rem 1rem;
  border: 1px solid #CFDCCB;
  border-radius: var(--radius);
  background: var(--flaeche);
  text-decoration: none;
  color: var(--text);
}
.tile:hover { color: var(--text); background: var(--weiss); }
.tile--soon { border-style: dashed; border-color: #8FA88A; background: var(--weiss); }
.tile__title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gruen);
}
.tile__where { font-size: .875rem; color: #666666; }
.tile__offer {
  font-size: .95rem;
  line-height: 1.45;
  padding-top: .5rem;
  border-top: 1px solid var(--linie-weich);
  color: var(--text);
}

.facts { margin: 0; }
.facts > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: .5rem;
  margin: 0 0 .5rem;
  font-size: .95rem;
}
.facts dt { color: #777777; }
.facts dd { margin: 0; color: var(--text); }
@media (max-width: 420px) {
  .facts > div { grid-template-columns: 1fr; gap: .1rem; margin-bottom: .75rem; }
}

@media (min-width: 601px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile { background: var(--weiss); }
}

@media (min-width: 901px) {
  .wege { padding-top: 3.5rem; }
  .wege__grid { grid-template-columns: 1.7fr 1fr; gap: 1.75rem; }
  .wege .card { padding: 2.25rem; gap: 1.25rem; }
}

/* ---------- Über uns ---------- */
.about { padding: 3.5rem 0 0; }
.about__grid {
  display: grid;
  gap: 1.5rem;
}
.about img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
}
.about blockquote {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}
.about blockquote p {
  font-family: var(--font-title);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.3;
  color: var(--gruen);
  margin: 0;
}
@media (min-width: 901px) {
  .about { padding-top: 6rem; }
  .about__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
    align-items: center;
  }
  .about img { height: 440px; }
}

/* ---------- Zahlen ---------- */
.zahlen {
  margin-top: 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--linie-weich);
  border-bottom: 1px solid var(--linie-weich);
}
.zahlen__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.zahlen__wert {
  font-family: var(--font-title);
  font-size: 1.85rem;
  color: var(--gruen);
  margin: 0;
}
.zahlen p { margin: 0; font-size: .875rem; color: #666666; }
@media (min-width: 901px) {
  .zahlen { margin-top: 4rem; padding: 1.75rem 0; }
  .zahlen__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
  .zahlen__wert { font-size: 2.1rem; }
}

/* ---------- Mitmachen ---------- */
.mitmachen-teaser { padding: 3.5rem 0 0; }
.mitmachen-teaser__grid {
  display: grid;
  gap: 1.75rem;
}
.mitmachen-teaser__item {
  display: grid;
  gap: 1rem;
}
.mitmachen-teaser__item img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: var(--radius);
}
.mitmachen-teaser h3 { margin: 0 0 .4rem; font-size: 1.25rem; }
.mitmachen-teaser p { margin: 0 0 .6rem; }
@media (min-width: 601px) {
  .mitmachen-teaser__item {
    grid-template-columns: 220px 1fr;
    align-items: center;
    gap: 1.5rem;
  }
  .mitmachen-teaser__item img { width: 220px; }
}
@media (min-width: 901px) {
  .mitmachen-teaser { padding-top: 6rem; }
  .mitmachen-teaser__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
}

/* ---------- Medien ---------- */
.medien-teaser { padding: 3.5rem 0 4rem; }
.medien-teaser__grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1rem;
}
.medien-card {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding-top: .85rem;
  border-top: 2px solid var(--gruen);
  text-decoration: none;
  color: var(--text);
}
.medien-card:hover { color: var(--text); }
.medien-card__medium { font-size: .8rem; color: #777777; }
.medien-card__title { font-size: 1.05rem; font-weight: 600; }
@media (min-width: 768px) {
  .medien-teaser__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}
@media (min-width: 901px) {
  .medien-teaser { padding: 6rem 0 5rem; }
  .medien-teaser__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Inner pages ---------- */
.page {
  padding: 1.5rem 0 4rem;
}
.page h1 { margin-bottom: .35em; }
.page .lead { margin-bottom: 1rem; }
.mute { color: #777777; display: inline-block; min-width: 6.5rem; }

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  margin: 0 0 1.5rem;
}
.subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .2rem .15rem;
  text-decoration: none;
  font-weight: 600;
}
.subnav a[aria-current="page"] {
  color: var(--text);
  box-shadow: inset 0 -2px 0 var(--gruen);
}

.tiles--page { margin: 1.5rem 0; }

.plain-list {
  max-width: 42rem;
  padding-left: 1.2rem;
  color: var(--text-leise);
}
.plain-list li { margin-bottom: .4rem; }

.place-grid {
  display: grid;
  gap: 1rem;
  margin: 0 0 2rem;
}
.place-card h3 { margin: 0 0 .4rem; color: var(--gruen); }
.place-card--soon { border-style: dashed; border-color: #8FA88A; }
@media (min-width: 601px) {
  .place-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 901px) {
  .place-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.faq {
  max-width: 42rem;
  margin: 0 0 1.5rem;
}
.faq details {
  border-top: 1px solid var(--linie);
  padding: .75rem 0;
}
.faq details:last-child { border-bottom: 1px solid var(--linie); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.faq details p { margin: .5rem 0 0; }

.page-split {
  display: grid;
  gap: 2.5rem;
}
.page-split img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
}
@media (min-width: 901px) {
  .page-split { grid-template-columns: 1fr 1fr; align-items: start; gap: 4rem; }
}

.form {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.field label {
  display: block;
  font-weight: 700;
  margin-bottom: .35rem;
  color: var(--text);
}
.field input,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: .6rem .75rem;
  border: 1px solid #CFCFC8;
  border-radius: 4px;
  font: inherit;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field select {
  width: 100%;
  min-height: 44px;
  padding: .6rem .75rem;
  border: 1px solid #CFCFC8;
  border-radius: 4px;
  font: inherit;
  background: var(--weiss);
}

.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.75rem; }
.form--narrow { max-width: 32rem; margin-top: 1.5rem; }

.hof-quote {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}
.hof-quote p {
  font-family: var(--font-title);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  line-height: 1.3;
  color: var(--gruen);
  margin: 0;
}

.iban {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  background: var(--flaeche);
  border-radius: var(--radius);
  max-width: 28rem;
}
.iban p { margin: 0 0 .25rem; color: var(--text); }

.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 2.5rem;
}
.logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 140px;
  padding: 1rem;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--weiss);
  text-align: center;
}
.logo-card img {
  max-height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.logo-card span { font-size: .9rem; color: var(--text); }
.logo-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: inherit;
}
.patenschaft-grid { margin: 1rem 0 1.5rem; }
.patenschaft-grid .pill { margin-bottom: .6rem; }

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  margin: 0 0 2.5rem;
}
.galerie-item { margin: 0; }
.galerie-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}
.medien-teaser__grid--page { margin-bottom: 2.5rem; }

@media (min-width: 601px) {
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .galerie-item img { height: 180px; }
}
@media (min-width: 901px) {
  .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .galerie-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }
  .galerie-item img { height: 200px; }
}
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
