c34+/* css/style.css */
@font-face {
    font-family: 'Bakbak One';
    src: url('../fonts/BakbakOne-Regular.ttf') format('truetype');
    font-display: swap;
}

* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: 'Bakbak One', sans-serif; background: #dae7bd; color: #6c735e; }

.navbar {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 10;
}
.navbar a {
  color: white;
  margin-left: 30px;
  text-decoration: none;
  font-size: 1.2rem;
  padding: 8px 16px;
  border-radius: 30px;
  transition: 0.3s;
}
.navbar a:hover { background: rgba(108,115,94,0.8); }
.navbar a span { background: #c7f642; color: black; padding: 5px 20px; border-radius: 50px; }

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
}
.hero-image {
    position: absolute;
    inset: 0;
    background: url('../images/hero.jpg') center/cover no-repeat;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 25%;
    background: rgba(108,115,94,0.85);
}
.round-logo {
    position: absolute;
    top: 60px;
    left: 40px;
    width: 220px;
    z-index: 10;
}
/* Text-Box im Hero – perfekt links hinter dem Tisch */
.hero-textbox {
    position: absolute;
    bottom:50%;
    left: 22%;
    max-width: 800px;
    z-index: 5;
}
.hero-textbox h1 {
    font-size: clamp(4rem, 6vw, 6rem);
    line-height: 0.95;
    color: #c4c7bf;
    margin-bottom: 30px;
}
.hero-textbox h1 span {
    color: white;
}
.hero-textbox h2 {
    font-size: clamp(3rem, 3vw, 3rem);
    line-height: 0.95;
    color: white;
    margin-bottom: 30px;
}
.hero-flyer {
    position: absolute;
    bottom:35%;
    left: 22%;
    max-width: 800px;
    z-index: 5;
}
.flyer-btn {
    display: inline-block;
    background: #c7f642;
    color: black;
    font-weight: bold;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.4rem;
    text-decoration: none;
}

.essen {
  position: relative;
  display: inline-block;
}
.essen::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 210%;
  height: 250%;
  background: url('../images/circle.png') center/contain no-repeat;
  z-index: -1;
}

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 100px 20px; position: relative; }

/* Section 1 */
#wie-retten-wir { padding-top: 100px; }
#wie-retten-wir .section-title {
    font-size: 6rem;
    text-align: center;
    margin-bottom: 60px;
}

#wie-retten-wir .text-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.3rem;
    line-height: 1.8;
    text-align: left;
    color: #98a184;
}

/* Section 2 – floating grüne Box */
#so-rettest-du {
    padding: 80px 20px;
}
.floating-box {
    background: #c7f642;
    max-width: 1300px;
    margin: 0 auto;
    border-radius: 40px;
    padding: 80px 60px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.floating-box h2 {
    font-size: 6rem;
    text-align: center;
    margin-bottom: 50px;
    color: black;
}
.floating-box .icon {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.2rem;
    color: #6c735e;
}
.floating-box .box-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.7;
    color: black;
}

/* Section 3 – Laufband + Kacheln */
.marquee { background: #dae7bd; overflow: hidden; padding: 40px 0; }
.marquee-track { white-space: nowrap; animation: scroll 30s linear infinite; }
.marquee h2 { display: inline-block; font-size: 4.5rem; color: #6c735e; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 2fr));
  gap: 20px;
  padding: 80px 20px;
  max-width: 1600px;
  margin: 0 auto;
}

.event-card {
  position: relative;
  width: 500px; /* Passe die Breite an deine Layout-Bedürfnisse an */
  height: 700px; /* Passe die Höhe an */
  overflow: hidden;
  border-radius: 24px; /* Abgerundete Ecken */
  transition: transform 0.4s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: Leichter Schatten für Tiefe */
}

.event-card:hover {
  transform: translateY(-12px);
}

.event-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.event-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 80px 40px 40px 40px;
  color: white;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,        /* ganz unten fast schwarz */
    rgba(0, 0, 0, 0.85) 15%,
    rgba(0, 0, 0, 0.65) 45%,       /* bleibt länger dunkel */
    rgba(0, 0, 0, 0.40) 75%,       /* hier beginnt der sanfte Übergang */
    rgba(0, 0, 0, 0.05) 90%,
    transparent 100%
  );

  backdrop-filter: blur(0.5px);
}

/* NEU: Header wird jetzt horizontal mit Title + Datum in einer Zeile */
.event-header {
  display: flex;
  align-items: center;          /* vertikal zentriert */
  gap: 16px;                    /* Abstand zwischen Title und Datum */
  margin-bottom: 16px;
}

/* Datum jetzt direkt neben dem Title – nicht mehr rechtsbündig */
.event-date {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.95;
  color: white;                 /* sicherstellen, dass es weiß ist */
}

/* Title bleibt gleich, nur leichte Anpassung für bessere Optik */
.event-title {
  background-color: #c7f642;
  color: black;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 900;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex-shrink: 0;               /* verhindert, dass der Button gestaucht wird */
}

.event-description {
  margin: 0 0 20px;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Link jetzt weiß statt grün */
.event-link {
  color: white;                 /* ← WICHTIG: jetzt weiß */
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: opacity 0.3s ease;
}

.event-link:hover {
  opacity: 0.8;                 /* schöner Hover-Effekt statt Farbwechsel */
}

/* Footer bleibt wie vorher */
footer { background: #6c735e; color: #ffffff; padding: 80px 20px; text-align: center; }

/* Mobile */
@media (max-width: 768px) {
    .hero-textbox { left: 5%; bottom: 15%; }
    .hero-textbox h1 { font-size: 3.5rem; }
    .floating-box { padding: 50px 30px; }
    .navbar a { margin-left: 15px; font-size: 1rem; }
}
