:root {

  --bg-start: #9de0ff;
  --bg-end: #c7fcff;
  --blue: #1550f5;
  --blue-dark: #0d41d2;
  --yellow: #ffd400;
  --text: #1144d6;
  --white: #ffffff;
  --container: 900px;
  --donate: 1200px;
  --radius: 24px;
  --shadow: 0 10px 30px rgba(21, 80, 245, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #9de0ff;
  background-image: url('img/bgd.svg');
  background-image: url('img/bgd.svg'), linear-gradient(90deg, var(--bg-start), var(--bg-end));
  background-size: 1200px;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center bottom;

  min-height: 100vh;
}

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

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

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
    position: sticky; 
    /* position: fixed; */
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(200, 241, 248, 0.82);
  border-bottom: 1px solid rgba(21, 80, 245, 0.1);
  transition: top 0.2s; /* Transition effect when sliding down (and up) */

}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
}

.logo {
  font-weight: 700;
  text-transform: uppercase;
  max-width: 240px;
  line-height: 1.2;
}

.main-nav ul{
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a,
.lang-switch a {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid var(--blue);
}

.btn-primary {
  background: linear-gradient(90deg, #38a8ff, var(--blue-dark));
  color: var(--white);
  box-shadow: var(--shadow);
}

.hero {
  min-height: 90vh;
  display: flex;
  align-items: normal; /* center; */
  text-align: center;
  padding: 80px 0 180px;
}

.hero-inner {
  display: flex;
  justify-content: center;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
}

.hero-claims,
.hero-subline {
  margin: 0 0 14px;
  font-size: 1.35rem;
  font-weight: 700;
}

.hero-subline {
  margin-bottom: 34px;
}

.section {
  padding: 88px 0;
}

.section-heading {
  /*max-width: 760px;*/
  margin: 50px auto 40px;
  text-align: center;
  background: rgba(255, 255, 255, 1.0);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 0px 10px 0px;
}

.section-heading-blue {
  /*max-width: 760px;*/
  margin: 50px auto 40px;
  text-align: center;
  /*background: rgba(255, 255, 255, 1.0);*/
  /*border-radius: var(--radius); */
  /*box-shadow: var(--shadow); */
  padding: 20px 0px 10px 0px;
}


.section-heading a {
    text-decoration-line: underline;
}

.iban a {
    text-decoration-line: underline;
}

.section-heading-blue h2,
.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

.card,
.project-card {
  background: rgba(255, 255, 255, 1.0);
  border: 1px solid rgba(255, 255, 255, 1.0);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 10px;
}

.donate-box {
    border: 0px solid var(--yellow);
    border-radius: 0px;
    box-shadow: var(--shadow);
    background-image: url('img/spende-bg-2.svg'), linear-gradient(90deg, var(--bg-start), var(--bg-end));;
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 1200px;
    height: 100vh;
  width: min(var(--donate), calc(100% - 0px));
  margin: 0 auto;
}


.card {
    padding: 50px;
    background: rgba(255, 255, 255, 1.0);
}

.donate-card {
    background: rgba(99,99,99,0);
    border: 0px;
    padding: 50px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center; 
}


.board-card {
  margin-top: 24px;
}

.board-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: 400px;
}

.board-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.34);
}

.project-list {
  display: grid;
  gap: 28px;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.project-card.reverse .project-image {
  order: 2;
}

.project-card.reverse .project-text {
  order: 1;
}

.project-image img {
  height: 100%;
  object-fit: cover;
}

.project-text {
  padding: 32px;
}

.project-text h3,
.info-card h3,
.card h3 {
  margin-top: 0;
}

.info-card {
  overflow: hidden;
}

.info-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 20px;
}


.donate-box {
    /*display: grid;   */
    /*grid-template-columns: 1.1fr 0.9fr;   */
    /*align-items: center;   */
    /*gap: 24px;   */
    padding: 32px;
}


.iban {
  font-size: 1.25rem;
  font-weight: 700;
}

.donate-image img {
  max-height: 420px;
  object-fit: contain;
}

.contact-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.site-footer {
  padding: 300px 0 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-inner p {
  width: 100%;
  margin: 0;
}

@media (max-width: 960px) {
  .header-inner,
  .header-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .grid-2,
  .grid-3,
  .project-card,
  .donate-box {
    grid-template-columns: 1fr;
  }

  .project-card.reverse .project-image,
  .project-card.reverse .project-text {
    order: initial;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 120px;
  }
}












@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .donate-box {
    width: min(var(--donates), calc(100% - 0px));
  }


  .hero-claims,
  .hero-subline {
    font-size: 1.05rem;
  }

  .project-text,
  .card,
  .donate-box {
    padding: 20px;
  }

  .board-list li {
    flex-direction: column;
  }
}
