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

:root {
  --color-primary: #1b3a5c;
  --color-primary-light: #2a4d6e;
  --color-accent: #e8735a;
  --color-accent-hover: #d4604a;
  --color-text: #1b3a5c;
  --color-text-light: #5a7a94;
  --color-bg: #ffffff;
  --color-bg-muted: #c8d3dc;
  --color-footer: #2c4a64;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --site-gutter: 4vw;
  --max-width: 1500px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.35;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.1rem; font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; }
strong { font-weight: 700; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--site-gutter);
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.15s;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-hover);
}

.btn--nav {
  padding: 0.7rem 1.8rem;
  font-size: 0.95rem;
  border-radius: 6px;
}

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--site-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 135px;
}

.header__logo img {
  height: 90px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.header__nav a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: opacity 0.2s;
}

.header__nav a:hover { opacity: 0.7; }
.header__nav .btn { color: #fff; }
.header__nav .btn:hover { opacity: 1; }

.header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}

.header__burger span,
.header__burger::before,
.header__burger::after {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  position: absolute;
  left: 0;
  transition: transform 0.3s, opacity 0.3s;
}

.header__burger::before { content: ''; top: 0; }
.header__burger span { top: 50%; transform: translateY(-50%); }
.header__burger::after { content: ''; bottom: 0; }

.header__burger.active::before { top: 50%; transform: translateY(-50%) rotate(45deg); }
.header__burger.active span { opacity: 0; }
.header__burger.active::after { bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

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

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.hero {
  position: relative;
  width: 100%;
  height: calc(90vh - 200px);
  min-height: 300px;
  max-height: 700px;
  margin-top: 135px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 100%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,58,92,0.4) 0%, rgba(0,0,0,0.1) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding: 70px 0 4rem 70px;
  max-width: none;
  margin: 0;
}

.hero__content h1 {
  color: #fff;
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero__content p {
  color: rgba(255,255,255,0.9);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 600px;
}

.intro {
  background: var(--color-accent);
  padding: 5rem var(--site-gutter);
  text-align: center;
}

.intro__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.intro__subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.intro__heading {
  color: #fff;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.carousel-section {
  padding: calc(4rem - 25px) 0;
  background: #fff;
}

.carousel {
  touch-action: pan-y;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 var(--site-gutter);
  max-width: var(--max-width);
  margin: 0 auto;
  overflow: hidden;
}

.carousel__track {
  display: flex;
  gap: 24px;
  padding: 1rem 0;
  flex: 1;
  min-width: 0;
}

.carousel__slide {
  flex: 0 0 auto;
  text-align: center;
}

.carousel__img-wrap {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
}

.carousel__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel__slide h3 {
  color: var(--color-primary);
  font-size: 1.05rem;
  font-weight: 600;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  opacity: 0.8;
}

.carousel__btn:hover { opacity: 1; }
.carousel__btn--prev { left: calc(var(--site-gutter) - 10px); }
.carousel__btn--next { right: calc(var(--site-gutter) - 10px); }

.story-section {
  background: var(--color-bg-muted);
  padding: 6rem 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 3rem;
}

.story-grid__left {
  padding-left: 50px;
  padding-right: 50px;
}

.story-grid__left h2 {
  position: sticky;
  top: 120px;
}

.story-grid__right {
  padding-right: var(--site-gutter);
}

.story-grid__right p {
  color: var(--color-text);
  line-height: 1.4;
}

.accordion-wrap {
  padding: 0 var(--site-gutter) 0 50%;
}

.accordion {
  max-width: 700px;
  margin-left: auto;
}

.accordion__item {
  border-bottom: 1px solid rgba(27,58,92,0.3);
}

.accordion__header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
}

.accordion__icon {
  font-size: 1.4rem;
  font-weight: 300;
  transition: transform 0.3s;
}

.accordion__item.open .accordion__icon {
  transform: rotate(45deg);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0;
}

.accordion__item.open .accordion__body {
  max-height: 600px;
  padding: 0 0 1.5rem 0;
}

.accordion__body p {
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.accordion__body ul {
  margin: 0.5rem 0 1rem 1.5rem;
  list-style: disc;
}

.accordion__body ul li {
  margin-bottom: 0.3rem;
}

.ways-section {
  background: #fff;
}

.ways-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.ways-grid__image {
  height: 100%;
  padding-right: 50px;
}

.ways-grid__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ways-grid__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem var(--site-gutter) 6rem 0;
}

.ways-grid__content h2 {
  margin-bottom: 2rem;
}

.ways-list__item {
  margin-bottom: 1rem;
}

.ways-list__item a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ways-grid__content .btn {
  margin-top: 1.5rem;
}

.about-section {
  padding: 6rem 0;
  background: var(--color-bg-muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-grid__left {
  padding-left: 50px;
  padding-right: 50px;
}

.about-grid__right {
  padding-right: var(--site-gutter);
}

.about-grid__right ul {
  margin: 0.5rem 0 1.5rem 1.5rem;
  list-style: disc;
}

.about-grid__right ul li {
  margin-bottom: 0.3rem;
}

.about-expandable {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.about-expandable.visible {
  max-height: 1000px;
}

.about-grid__right .btn {
  margin-top: 1rem;
}

.donate-section {
  padding: 6rem 0;
  background: #fff;
}

.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.donate-grid__left {
  padding-left: 50px;
  padding-right: 50px;
}

.donate-grid__right {
  padding-right: var(--site-gutter);
}

.donate-grid__right h4 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.donate-grid__right h4:nth-of-type(2) {
  margin-top: 80px;
}

.donate-grid__right ul {
  margin: 0.5rem 0 1rem 1.5rem;
  list-style: disc;
}

.donate-grid__right ul li {
  margin-bottom: 0.3rem;
}

.pp-donate-wrapper {
  margin: 1.5rem 0 2.5rem;
}

.pp-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.pp-amount-btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border: 2px solid #ccc;
  border-radius: 6px;
  background: #fff;
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  font-family: var(--font-body);
}

.pp-amount-btn:hover {
  border-color: var(--color-accent);
}

.pp-amount-btn.active {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
}

.pp-custom-row {
  display: none;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.pp-custom-row.visible { display: flex; }

.pp-custom-row span {
  font-size: 1.1rem;
  font-weight: 600;
}

.pp-custom-input {
  width: 120px;
  padding: 0.6rem 0.8rem;
  border: 2px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  text-align: center;
  outline: none;
  transition: border-color 0.2s;
  font-family: var(--font-body);
}

.pp-custom-input:focus { border-color: var(--color-accent); }

.pp-donate-wrapper .btn {
  margin-top: 0.5rem;
}

.member-section {
  padding: 6rem 0;
  background: var(--color-bg-muted);
}

.member-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.member-grid__left {
  padding-left: 50px;
  padding-right: 50px;
}

.member-grid__right {
  padding-right: var(--site-gutter);
}

.member-grid__right .btn {
  margin-top: 1rem;
}

.contact-section {
  padding: 6rem 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-grid__left {
  padding-left: 50px;
  padding-right: 50px;
}

.contact-grid__right {
  padding-right: var(--site-gutter);
}

.contact-grid__right .btn {
  margin-top: 1.5rem;
}

.footer {
  background: var(--color-footer);
  padding: 4rem 0 3rem;
  color: rgba(255,255,255,0.85);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer__logo img {
  max-width: 280px;
  width: 100%;
}

.footer h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-transform: none;
  letter-spacing: 0;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.75);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.footer__links a:hover { color: #fff; }

@media (max-width: 1024px) {
  .story-grid,
  .about-grid,
  .donate-grid,
  .member-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story-grid__left,
  .story-grid__right,
  .about-grid__left,
  .about-grid__right,
  .donate-grid__left,
  .donate-grid__right,
  .member-grid__left,
  .member-grid__right,
  .contact-grid__left,
  .contact-grid__right {
    padding-right: var(--site-gutter);
    padding-left: var(--site-gutter);
  }

  .accordion-wrap {
    padding: 0 var(--site-gutter);
  }

  .accordion {
    max-width: 100%;
    margin-left: 0;
  }

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

  .ways-grid__image { order: -1; height: 280px; padding-right: 0; }

  .ways-grid__content {
    padding: 3rem var(--site-gutter);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__burger { display: block; }

  .header__logo img { height: 50px; }
  .header__inner { padding: 0.75rem var(--site-gutter); }

  .hero {
    margin-top: 70px;
    height: 70vh;
  }

  .carousel__track { gap: 16px; }

  .carousel__btn { display: none; }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__logo img { max-width: 200px; }

  .intro__heading {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .carousel__track { gap: 12px; }
}

.page-hero {
  padding: 10rem 0 4rem;
  background: var(--color-bg-muted);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem var(--site-gutter);
}

.page-content--impressum {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.5fr;
  gap: 3rem;
}

.page-content h1 {
  grid-column: 1;
}

.impressum-col p {
  margin-bottom: 1.5rem;
}

.impressum-col strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.page-content--datenschutz {
  max-width: 800px;
}

.page-content--datenschutz h2 {
  margin: 3rem 0 1rem;
  font-size: 1.6rem;
}

.page-content--datenschutz h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.page-content--datenschutz h4 {
  margin: 1.5rem 0 0.5rem;
}

.page-content--datenschutz ul {
  margin: 0.5rem 0 1rem 1.5rem;
  list-style: disc;
}

.page-content--datenschutz ul li {
  margin-bottom: 0.3rem;
}
