@charset "utf-8";
/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* =========================
   Grundlegende Einstellungen
========================= */
/*
    --primary-color: #2b8745; dunkles grÃ¼n
    --secondary-color: #75ca60; helles grÃ¼n
    --accent-color: #f3efe8; beige
    --text-color: #3c3c3b; dunkel grau
*/

body {
    margin: 0;
    line-height: 1.6;
    color: #3c3c3b;
    background-color: #f3efe8;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
}

p {    
    font-size: 16px;
    color: #3c3c3b;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    text-align: left;
    margin-top: 0;
}

h2 {
    font-size: 40px;
    margin: 0;
    line-height: 1.2;
    color: #3c3c3b;
    font-family: "Open Sans", sans-serif;
    font-weight: 100;
    font-style: normal;
    text-transform: uppercase;
    text-align: center;
}

h2 strong {
    color: #2b8745;
    font-weight: 400;
}

h3 {
    color: #3c3c3b;
    font-family: "Open Sans", sans-serif;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 100;
    font-style: normal;
    text-align: center;
  margin-bottom: 10px;
}

h4 {
    color: #3c3c3b;
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 100;
    font-style: normal;
    text-align: left;
}

strong {
        font-style: normal;
        text-transform: uppercase;
        font-weight: 100;
}
p span, h2 span, h3 span, h4 span {
         font-weight: 400;      
    font-style: normal;
        text-transform: uppercase;
    color: #2b8745;
}

.mt20 {margin-top: 20px;}


@media (max-width: 768px) {

    .t-mt20 {margin-top: 20px;}
 
}

.text-center {text-align: center;}
.text-left {text-align: left;}
.text-right {text-align: right;}

a {
    text-decoration: none;
    color: #3c3c3b;
}

a:hover {
    color: #2b8745;
    transition: color 0.3s ease;
}


/* =========================
   Skip-Link (Barrierefreiheit)
========================= */

.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    background: #000;
    color: #fff;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    left: 10px;
}

/* Zentrale Container */
.container {
    max-width: 1200px;
    margin: 0 auto 32px;          /* vorher 2rem */
    background: #fff;
    padding: 48px 48px 0 48px;    /* vorher 3rem 3rem 0 3rem */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.fullwidth {
    margin-left: -48px;   /* vorher -3rem */
    margin-right: -48px;  /* vorher -3rem */
}

#historie {
    margin-top: -200px;
}

/* Row */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: -8px;        /* vorher -0.5rem */
    padding: 20px 0;
}

/* Spalten Basis */
[class^="col-"] {
    padding: 8px;        /* vorher 0.5rem */
    width: 100%;
}

/* 12er Grid */
.col-1  { width: 8.333%; }
.col-2  { width: 16.666%; }
.col-3  { width: 25%; }
.col-4  { width: 33.333%; }
.col-5  { width: 41.666%; }
.col-6  { width: 50%; }
.col-7  { width: 58.333%; }
.col-8  { width: 66.666%; }
.col-9  { width: 75%; }
.col-10 { width: 83.333%; }
.col-11 { width: 91.666%; }
.col-12 { width: 100%; }

/* Demo-Optik */
[class^="col-"] > div,
[class^="col-"] {
    padding: 0 10px;
}

@media (max-width: 480px) {
    .container {
    padding: 48px 24px 0 24px;    /* vorher 3rem 3rem 0 3rem */
        }

        .fullwidth {
            margin-left: -24px;   /* vorher -3rem */
            margin-right: -24px;  /* vorher -3rem */
        }

        /* Row */
        .row {
            margin: -4px;        /* vorher -0.5rem */
        }

        /* Spalten Basis */
        [class^="col-"] {
            padding: 4px;        /* vorher 0.5rem */
            width: 100%;
        }

    }

/* Header */
.site-header {
    background: #fff;
}

/* ========== Top-Bar ========== */
.header-top {
    max-width: 100%;
    margin: -30px auto 20px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Subnavigation */
.subnav {
    margin-top: -50px; 
}

.subnav a {
    color: #3c3c3b;
    text-decoration: none;
    font-size: 14px;
}

.subnav a.active {
    color: #2b8745;
}

.subnav span {
    margin: 0 10px;
}

/* ========== Hauptnavigation ========== */


.main-nav ul {
    margin: 0 auto;
    list-style: none;
    display: flex;
    background-color: #f3efe8;
}

.main-nav li {
    flex: 1;
}

.main-nav a {
    display: block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 7px 0;
    color: #3c3c3b;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Hover: Hintergrund-Verlauf + weiÃŸe Schrift */
.main-nav a:hover {
    background: linear-gradient(90deg, #2b8745, #75ca60);
    color: #fff;
}

@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
    }

    .main-nav li {
        flex: none; /* verhindert gleichmäßige Verteilung */
    }

    .main-nav a {
        text-align: left;
        padding: 12px 50px;
        border-bottom: 1px solid #ddd;
    }
    
}

@media (max-width: 625px) {
    .header-top {
        width: 100%;
        display: block;
    }

     .subnav {
        width: 100%;
        margin: 0;
        display: block;
        float: none;
    }

}

/* Inhaltsbereiche */
.section {
    min-height: 100vh;
    margin: 0 auto;
    padding-bottom: 150px;
}

#satzung {
    margin-bottom: -150px;
}

@media (max-width: 768px) {
    
    
    #satzung .col-4{
       width: 35%;float: left;
    }  

    #satzung .col-4 img {
       width: 100%;
    }

    #satzung .col-1{
       display: none;
    }

    #satzung .col-6{
       width: 65%;float: left;
    }
    
}


#datenschutz h2, #datenschutz h3, #datenschutz p, #impressum h2, #impressum h3, #impressum p  {
    text-align: left;
}

#datenschutz h3, #impressum h3 {
    margin-top: 20px;
}

#datenschutz ul li, #impressum ul li{
    list-style: none;
}







/* ========== Headerbild ========== */
.header-image  {
  position: relative;

}

.header-image img {
    width: 100%;
    display: block;
    padding: 0 0 20px 0;
    z-index: 0;
}

@media (max-width: 768px) {

    .header-image {
        height: 350px;
        overflow: hidden; /* schneidet Überstand sauber ab */
    }

    .header-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;   /* Bild füllt Container proportional */
        object-position: center; /* optional: Fokus mittig */
    }
}

@media (max-width: 480px) {
    .header-image {
        height: 250px;
        overflow: hidden; /* schneidet Überstand sauber ab */
    }

    .header-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;   /* Bild füllt Container proportional */
        object-position: center; /* optional: Fokus mittig */
    }
} 

/* =========================
   NEWSBOX
========================= */

.header-image .image-title {
  position: absolute;
  bottom: 3px;
  right: 24%;
  color: #fff;
  font-size: 35px;
  padding: 8px 12px;
}

@media (max-width: 768px) {
    
    .header-image .image-title {
          bottom: 4px;
      right: 10%;
    }

} 

/* =========================
   NEWS
========================= */

.imagewrapper {
    display: block;
    z-index: 50;
}

.imagewrapper img {
    width: 100%;
}

.umschau {
    margin-top: -100px;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

/* linker Begriff */
.label {
    min-width: 120px;   /* sorgt für gleichen Abstand */
}

/* rechter Text */
.content {
    line-height: 1.4;
}

/* Abstand zwischen den Blöcken */
.info-row + .info-row {
    margin-top: 1rem;
}

@media (max-width: 768px) {

    #news .col-6 {
        width: 100%;
        display: block;
        float: none;
        clear: both;
        margin-bottom: 25px;
       } 
    
    #news .col-2 {
        width: 35%;
        float: left;
       } 
    
    #news .col-4 {
        width: calc(65% - 50px);
        float: left;
        margin-right: 50px;
       } 
 
        
  .imagewrapper {
    position: static;
      display: inherit;
          z-index: 0;
}
    
  .imagewrapper img {
    width: 100%;
          position: static;
      display: inherit;
      
} 
    
    .umschau {
        margin-top: 0;
    }

} 

@media (max-width: 480px) {
        #news .col-4 {
        margin-right: 0;
       } 
} 
/* =========================
   VERANSTALTUNGEN
========================= */

.content-layout {
  display: flex;
  gap: 30px;
  margin: 0 auto;
}

.content-text {
  flex: 1;
}

.events {
  flex: 1;
  background: #f3efe8;
  padding: 20px;
  border-radius: 10px;
}

.events h3 {
  margin-top: 0;
  margin-bottom: 20px;
    color: #3c3c3b;
    text-align: left;

}

/* Events */
.events ul {
  list-style: none;
  padding: 0;
  margin: 0;
color: #3c3c3b;
}

.event {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.event.extra {
  display: none;
}

.event.hidden {
  display: none;
}

#toggleEvents {
  margin-top: 10px;
  background: none;
  border: none;
  color: #3c3c3b;
  cursor: pointer;
  font-size: 14px;
  opacity: 0.8;
}

#toggleEvents:hover {
  opacity: 1;
  text-decoration: underline;
}

.date {
  width: 50px;
  text-align: center;
  margin: 0 20px 0 0;
  color: #3c3c3b;
      display: flex;
  flex-direction: column;
    margin-top: 5px;
}

.month {
  font-size: 14px;
    line-height: 0;
  font-weight: bold;
  color: #3c3c3b;
}

.day {
  font-size: 30px;
  font-weight: bold;
            color: #2b8745;
}

.details {
  display: flex;
  flex-direction: column;
  font-size: 14px;        
}

.time {
  font-weight: bold;
      color: #3c3c3b;
}

.place {
  color: #3c3c3b;
    text-transform: none;
}


/* Mehr anzeigen Button */
#showMore {
  margin-top: 10px;
  background: none;
  border: none;
  color: #3c3c3b;
  cursor: pointer;
  font-size: 14px;
  opacity: 0.8;
}

#showMore:hover {
  opacity: 1;
  text-decoration: underline;
}

.previous-title {
  margin-top: 25px;
  font-size: 16px;
  opacity: 0.8;
}

#pastEvents.collapsed {
  display: none;
}

#togglePast,
#toggleUpcoming {
  margin-top: 10px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 14px;
  opacity: 0.8;
}

#togglePast:hover,
#toggleUpcoming:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .content-layout {
    flex-direction: column;
  }
}
.hinweis {
    margin: 0 auto;
    padding: 32px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.hinweis .logo {
    text-align: center;
}

/* Quadratisches, zentriertes Bild */
.hinweis .logo .image {
    width: 180px;          /* feste quadratische GrÃ¶ÃŸe */
    aspect-ratio: 1 / 1;   /* garantiert Quadrat */
    margin: 0 auto;        /* zentrieren */
    overflow: hidden;
    border-radius: 90px;
}

.hinweis .logo .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
/* Hover-Zoom */
.hinweis .logo:hover img {
    transform: scale(1.1);
}
@media (max-width: 768px) {
    
.hinweis {
    margin: 0 auto;
    padding: 32px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
}

/* =========================
   Grüne BOXEN
========================= */

/* Boxen */
.boxes {
    margin: 2rem auto;
    display: flex;
    gap: 1.5rem;
}

/* Boxen */
.box {
    flex: 1;
    padding: 2rem;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.box p, .box h3, .box a {
    color: #fff;
    text-align: left;
}

.box p {    
    font-size: 16px;
    line-height: normal;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    text-align: left;
        margin-top: 15px;
}

.box h3, .box a {
    font-family: "Open Sans", sans-serif;
    font-size: 23px;
    font-weight: 100;
    font-style: normal;
    text-transform: uppercase;
}

.box a {
        text-decoration: none;
    border-top: solid 1px #fff;
    padding-top: 5px;
}

/* Farben */
.left {
    background-color: #2b8745;
}

.right {
    background-color: #75ca60;
}

/* Verlauf: links unten → rechts oben */
.middle {
    background: linear-gradient(45deg, #2b8745 0%, #75ca60 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .boxes {
        flex-direction: column;
    }
}

/* =========================
   Galerie
========================= */

/* Galerie */
.gallery {
  width: 100%;
    margin: 30px 0 0 0;
}

.gallery-inner {
  display: flex;
  align-items: center;
  height: 400px;       /* feste Höhe */
  gap: 20px;           /* Abstand zwischen Bildern */
  padding: 0 20px;
}

/* Vorschaubilder */
.preview {
  width: 20%;
  height: 50%;
        margin: auto 0;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}

.preview:hover img {
  opacity: 1;
}

/* Hauptbild */
.main-image {
  width: 60%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pfeile auf Vorschaubildern */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: #ffffff;
  opacity: 1;
  font-weight: bold;
  text-shadow: 0 0 6px rgba(0,0,0,0.6);
  pointer-events: none;
}

.preview.left .arrow {
  left: 10px;
}

.preview.right .arrow {
  right: 10px;
}

/* Bildunterschrift */
.caption {
  text-align: center;
  padding: 12px;
  font-size: 16px;
  color: black;
}

/* Vollbild */
.fullscreen {
  display: none;
  position: fixed;
  inset: 0;
  background: black ;
  z-index: 999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.fullscreen span {
  background: black;
}

.fullscreen img {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain; /* freie Höhe */
}

/* Vollbild Navigation */
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.fs-arrow {
  position: absolute;
  top: 50%;
  font-size: 50px;
  color: white;
  cursor: pointer;
  user-select: none;
}

.fs-arrow.left {
  left: 30px;
}

.fs-arrow.right {
  right: 30px;
}

.fs-caption {
  margin-top: 20px;
  font-size: 18px;
  color: white;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-inner {
    height: 260px;
    gap: 10px;
  }

  .arrow {
    font-size: 30px;
  }
}
/* =========================
   Bildcontainer
========================= */
.imagebox {
    width: 100%;
    margin: 40px 0 0 -10px;
}
.imagebox p {
    font-style: italic;
    font-size: 14px;
    line-height: 1.3;
}

/* Bild passt sich der Höhe an */
.imagebox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}
/* Responsive */
@media (max-width: 768px) {


    .imagebox img {
        height: auto;
    }
}


/* =========================
   RUNDE BILDER
========================= */
/* Cirle Images */
.circle {
    margin: 0 auto;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.circle .city {
    text-align: center;
}

/* Quadratisches, zentriertes Bild */
.circle .city .image {
    width: 180px;          /* feste quadratische GrÃ¶ÃŸe */
    aspect-ratio: 1 / 1;   /* garantiert Quadrat */
    margin: 0 auto;        /* zentrieren */
    overflow: hidden;
    border-radius: 90px;
}

.circle .city .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
/* Hover-Zoom */
.circle .city:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {

    .circle {
        grid-template-columns: repeat(2, 2fr);
    }
}


/* Grid */
.team {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Person Card */
.person {
    text-align: center;
}


/* Quadratisches, zentriertes Bild */
.image {
    width: 180px;          /* feste quadratische GrÃ¶ÃŸe */
    aspect-ratio: 1 / 1;   /* garantiert Quadrat */
    margin: 0 auto;        /* zentrieren */
    overflow: hidden;
    border-radius: 8px;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
/* Hover-Zoom */
.person:hover img {
    transform: scale(1.1);
}

/* Text */
.info {
    padding-top: 1rem;
}

.position {
    font-size: 0.85rem;
    color: #666;
}

.info p {
    text-align: center;
}

.info h3 {
    font-size: 1rem;
    margin: 0.3rem 0;
    text-align: center;
}

/* ZusÃ¤tzliche Infos nur erste Reihe */
.full-info .info p {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
    .team {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team {
        grid-template-columns: 1fr;
    }
}


/* To-Top Button */
.to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2b8745, #75ca60);
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 1000;
}

/* Hover */
.to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}


@media (max-width: 768px) {
    .to-top {
        position: static;
        margin-bottom: 2rem;
        right: 0;
    }
}

/* =========================
   Footer
========================= */

footer {
    background: linear-gradient(45deg, #2b8745 0%, #75ca60 100%);
  color: #fff;
  font-size: 14px;
}

/* obere Zeile */
.footer-top {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
    padding: 25px 0 10px 0;
}

.footer-text h2 {
    margin-left: 40px;
            font-size: 20px;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    text-align: left;

}

/* Bilder links */
.footer-images {
  display: flex;
  gap: 10px;
}

.footer-images img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
    transition: transform 0.4s ease;
  margin-left: 20px;
}

/* Hover-Zoom */
.footer-images img:hover {
    transform: scale(1.1);
}
/* untere Zeile */
.footer-bottom {
  margin-top: 15px;
  text-align: right;
    background: #2b8745;
    padding: 8px 0;
}
.footer-bottom p {
            font-size: 16px;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
  text-align: right;
    margin-right: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    [class^="col-"] {
        width: 100%;
    }
}
