:root {
    --bg:#f4efe5;
    --text:#111;
    --green:#6a8f4e;
    --footer:#e7dfd2;
}
* {
box-sizing:border-box;
}

body {
    margin:0;
    font-family:Segoe UI,sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.7;
}

/* ==========================================
   Hero
========================================== */

.hero {
    min-height:65vh;
    background:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),url(../Hero/Bild7.jpg); 
    background-size: cover; 
    background-position: center 30%; 
    background-repeat: no-repeat;
    display:flex;
    align-items:center;
    justify-content:center;color:#fff;
}

.hero-content {
    max-width:1100px;
    padding:2rem;
    text-align:center;
}

.logo {
    max-width:180px;
}

.logo-placeholder {
    display:none;
    padding:1rem;
    border:2px dashed #fff;
}

/* ==========================================
   Aktions-Ticker
========================================== */

.news-ticker {
    background: #edf5e8;
    border-top: 1px solid #d7e4cf;
    border-bottom: 1px solid #d7e4cf;
    overflow: hidden;
    white-space: nowrap;
    padding: 0.75rem 0;
}

.news-ticker-orange {
    background: #ffd8a8;
    border-top: 1px solid #f0c98a;
    border-bottom: 1px solid #f0c98a;
}

.news-ticker:first-of-type {
    margin-top: 1rem;
}

.news-ticker + .news-ticker {
    margin-top: 1rem;
}

.news-track {
    display: flex;
    width: max-content;
    padding-left: 50vw;
    animation: ticker-scroll 20s linear infinite;
}

.news-track + .news-track {
    border-top: 1px solid #d7e4cf;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}

.news-item {
    padding-right: 16rem;
    font-weight: 600;
}

@keyframes ticker-scroll {

    0% {
	transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

}

.aktion-bild {
    cursor: zoom-in;
}


/* ==========================================
   Hamburger Menü
========================================== */

.floating-menu {
    position: sticky;
    top: 10px;
    z-index: 5000;
    display: flex;
    justify-content: flex-end;
    max-width: 100%;
    margin: 0 auto;
    padding-right: 20px;
}

.menu-toggle {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 14px;
    background: rgba(255,255,255,0.95);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    backdrop-filter: blur(8px);
}

.menu-toggle::before {
    content: "☰";
}

.menu-toggle.open::before {
    content: "✕";
}

.menu-toggle:hover {
    background: #ffffff;
}

.menu-panel {
    position: absolute;
    right: 0;
    top: 60px;
    display: none;
    margin-top: 10px;
    min-width: 120px;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.menu-panel.open {
    display: block;
}

.menu-panel a {
    display: block;
    padding: 6px 18px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
}

.menu-panel a:hover {
    background: var(--bg);
    color: var(--green);
}

.menu-panel a.menu-active {
    color: #9a9a9a;
    font-weight: 600;
}

.menu-panel a.menu-active:hover {
    color: #9a9a9a;
    background: transparent;
}

/* ==========================================
   Content, CTA, video und Galerie
========================================== */

.cta-button {
    background:var(--green);
    color:#fff;padding:12px 24px;
    border-radius:30px;
    text-decoration:none;
}

.content-section,

.video-section,

.gallery-section {
    max-width:950px;
    margin:auto;
    padding:1rem 1rem;
}

.card-container,

.participation-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:24px;
}

.card,

.participation-card {
    background: #fff;
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
}

.participation-card .cta-button {
    margin-top: auto;
    align-self: center;
}

.center-headings .card h3 {
    text-align: center;
}

.video-section 

video {
    width:auto;max-width:90%;
    max-height:70vh;
    height:auto;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    display:block;
    margin:0 auto;
}

.video-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1rem auto;
}

.video-hint {
    text-align: center;
    max-width: 800px;
    margin: 1rem auto 0 auto;
    color: #666;
    font-size: 0.95rem;
}

.gallery-slider {text-align:center}#gallery-image {
    width:auto;
    max-width:90%;
    max-height:70vh;
    height:auto;
    display:block;
    margin:0 auto;
    border-radius:14px;
    object-fit:contain;
}

/* ==========================================
   Partner
========================================== */

.partner-section {
    max-width: 950px;
    margin: auto;
    padding: 3rem 1.5rem;
}

.partner-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.partner-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    padding: .5rem;
    text-align: center;
    transition: 
	      transform .2s ease,
	      box-shadow .2s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
}

.partner-logo {
	width: 100%;
	height: 180px;
	object-fit: contain;
	margin: 0 auto 0.2rem auto;
	display: block;
}

.partner-name {
    display: none;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: .25rem;
    margin-bottom: .1rem;
}

.partner-zusatz {
    color: #666;
    font-size: .9rem;
    line-height: 1.1;
    max-height: 2.2rem;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.partner-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.partner-link .partner-card {
    height: 100%;
}

.partner-link:hover .partner-card {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

.supporter-count {
    text-align: center;
    margin: 2rem 0 3rem 0;
}

.supporter-caption {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2f4f2f;
    margin-bottom: 1rem;
}

.supporter-count img {
    display: block;
    margin: 0 auto;
    max-width: 320px;
    width: 100%;
    height: auto;
}

/* ==========================================
   Pressestimmen
========================================== */

.press-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.press-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    margin: 0 auto;
}

.press-card {
    display: block;
    background: #fff;
    color: inherit;
    text-decoration: none;
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.press-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.press-source {
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    margin-bottom: .75rem;
}

.press-link {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--green);
}

.aktion-bild {
    display: block;
    width: 80%;
    height: auto;
    margin: 1rem auto 0 auto;
    border-radius: 10px;
}

.aktion-content {
    text-align: center;
    width: 80%;
    margin: 0 auto;
}


/* ==========================================
   Videos
========================================== */

.video-gallery {
    display: grid;
    gap: 2rem;
}

.video-card {
    background: #fff;
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

.video-card video {
    display: block;
    width: 100%;
    max-width: 900px;
    max-height: 70vh;
    margin: 1rem auto 0 auto;
    border-radius: 10px;
}

.video-card:target {
    border: 3px solid var(--green);
    box-shadow: 0 0 20px rgba(106,143,78,0.3);
    scroll-margin-top: 100px;
}

.video-preview {
    position: relative;
    display: block;
    width: 80%;
    margin: 1rem auto 0 auto;
    text-decoration: none;
}

.video-preview img {
    width: 50%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.aktion-video {
    display: block;
    width: 40%;
    height: auto;
    margin: 1rem auto;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

/* ==========================================
   Kontakt
========================================== */

        .contact-form-wrapper {
            margin-top: 3rem;
        }

        .contact-form {
  display: grid;
  grid-template-columns: 220px 1fr;
  column-gap: 1.5rem;
  row-gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}

.contact-form label {
  font-weight: 600;
  align-self: start;
  padding-top: 12px;
}


.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form textarea {
  min-height: 120px;
}

.contact-form .cta-button {
  grid-column: 2;
  justify-self: start;
}

@media (max-width: 768px) {

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form .cta-button {
    grid-column: 1;
  }

}
        
        .form-success {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  text-align: center;
  border-radius: 10px;
  background: #edf5e8;
  border: 1px solid #d7e4cf;
  color: #4f6e3b;
  font-weight: 600;
}

        .form-error {
            margin-top: 1rem;
            margin-bottom: 1rem;
            padding: 1rem;
            text-align: center;
            border-radius: 10px;
            background: #fdeaea;
            border: 1px solid #e5b7b7;
            color: #a22;
            font-weight: 600;
        }
        
        .form-success,
.form-error {
  grid-column: 1 / -1;
}

/* ==========================================
   Footer
========================================== */

.footer-content {
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    align-items:center;
    padding:1rem;
    background:var(--footer);
}

.footer-center {
    text-align:center;
}

.footer-right {
    text-align:right;
}

a {
    color:inherit;
}

@media(max-width:768px) {

    .footer-content {
        grid-template-columns:1fr;
        text-align:center;
    }

    .footer-right {
        text-align:center;
    }

}
