/*
 Theme Name: Frühlingströdel 2025
 Theme URI: http://example.com/
 Author: Dein Name
 Author URI: http://example.com/
 Description: Ein WordPress-Theme basierend auf dem Frühlingströdel 2025 Design.
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: fruehlingstroedel
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
  html{
    overflow-x:hidden;
  }

    body {
      margin: 0;
      font-family: Arial, sans-serif;
      background-color: #fcf7eb; /* sandfarbener Hintergrund */
      color: #333;
      font-family: "Roboto", sans-serif;
      font-style: normal;
      line-height:25.6px;
      font-size: 16px;
      overflow-x:hidden;
    }


    .custom-logo{
      width:200px;
      height:auto;
      margin:25px;
    }

    .custom-logo-link{
      z-index:1000;
    }


    .container.menu{
      background-color: #3bb0db;
    }

    .container {
      max-width: 800px;
      margin: 0 auto;
      position: relative;
    }

    .container.header{
      background-color: #3bb0db;
      position: relative;
      padding:0;
      margin-bottom:0px;
    }
    .container.header img{
      width:100%;
 }
    .header-inner{
      position: absolute;
      top:20px;
      width:60%;
      left:0px;
      text-align:center;
      padding:0 20%;
    }

.sc_img{max-width:100%; height: auto}

    .background{
        background-image:url("assets/background.png");
        position: absolute;
        width:100%;
        width:calc(100% + 300px);
        height:100%;
        top:0;
        left:-150px;
        z-index:-10;

        background-size: 100% auto; /* Breite 100%, Höhe automatisch */

    }


    a{
      text-decoration: none;
      color:#e33e75;
      font-weight: bold;
    }

    h1,h2,h3{
      font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
    }

    h1 {
      color: #e33e75;
      font-size: 3rem;
      text-align: center;
      margin-bottom: 0.5rem;
      line-height:1.2em;
        

    }

    h1 span{
      color:#fff;
    }

    h2 {
      font-size: 1.6rem;
      margin-bottom: 0.5rem;
      color: #e33e75;
    }

    h3 {
      font-size: 1.3rem;
      color: #e33e75;
      margin-bottom: 0.5rem;
    }

    p {
      line-height: 1.6;
    }

.main-event-box{
  text-align:center;
}

.fullscreen-btn{
  z-index:1000;
  position: absolute;
    top: 10px;
    right: 10px;
}

/* Fullscreen-Karte */
.fullscreen-map {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 9999;
    background: #fff;
}

/* Leaflet muss die volle Höhe mitbekommen */
.fullscreen-map .leaflet-container,
.fullscreen-map > div {
    width: 100% !important;
    height: 100% !important;
}

/* Scrollen auf der Seite verhindern, solange Fullscreen aktiv ist */
body.full-map-open {
    overflow: hidden;
}

/* Filter über der Karte positionieren */
.map-filter-fullscreen {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 10000;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Fullscreen-Button über allem halten */
#fullscreen-btn {
    z-index: 10001;
}

.main-event-box h2{
  font-size:2.2em;
	line-height:1.2em;
  margin-bottom:50px;
}

  .anmelde-formular input{
            width:95%;
            font-size:16px;
            border:1px solid rgba(0, 0, 0, 0.25);
            padding:14px;
            border-radius: 3px;
            margin-bottom:25px;
        }

        .anmelde-formular input[type=checkbox]{
            width:25px;
            margin-bottom:0;
            height:25px;
        }

.anmelde-formular label{
  display:block;
}



     .anmelde-formular   span:nth-child(2) {
    flex: 1; /* Nimmt den gesamten verbleibenden Platz ein */
}
    .anmelde-formular   span:nth-child(1){ 
    
            width:25px;
    flex-shrink: 0; /* Verhindert, dass die Checkbox ihre Größe ändert */
    margin-right: 10px; /* Abstand zwischen Checkbox und Text */
}


    .faq-container {
  max-width: 700px;
  margin: 2rem auto;
  font-family: system-ui, sans-serif;
}

.faq-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: rgba(59,176,219,1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.faq-question {
  margin: 0;
  padding: 1rem 1.25rem;
  background: rgba(59,176,219,.05);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1.25rem;    top: 15px;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: "–";
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 1rem 1.25rem;
  border-top: 1px solid #eee;
  line-height: 1.5;
  color: #444;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

    .highlight {
      color: #1ca3a3;
      font-weight: bold;
    }

    .box, .section, .wp-block-rahmengeben-troedel-section {
      position: relative;
      background: #fff;
      padding: 1.5rem;
      padding-bottom:150px !important;   
    }

   .box:not(:has(svg)),
.section:not(:has(svg)),
.wp-block-rahmengeben-troedel-section:not(:has(svg)) {
  padding-bottom: 50px !important;
}

    .section{
      background: #e8f5e9;

    }

    .btn {
      display: inline-block;
      background: #fbc02d;
      color: #333;
      font-weight: bold;
      padding: 0.8rem 1.5rem;
      border-radius: 8px;
      text-decoration: none;
      margin-top: 1rem;
    }

    .btn-purple {
      background: #7b1fa2;
      color: #fff;
    }

    .center {
      text-align: center;
    }

.container.menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer {
  color: #333;
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.footer a:hover {
  text-decoration: underline;
}

.menu {
  display: flex;
  gap: 1.5rem;
}

.menu ul{
    margin-right:25px;
}

.menu li{
    list-style-type: none;
}

.menu a {

  color: white;
  text-decoration: none;
  font-weight: 500;
}

#menu-footer a{
    color:black;
}

.container.menu .menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

/* Mobile Ansicht */
@media (max-width: 768px) {
  .container.menu {
    position: relative;

     
  }

  #menu-footer{
    padding-left:0;
    text-align: center;
  }

  .container .menu{
     margin-top:175px;
     padding-left:10px;
  }


 .container .menu a {
  font-size: 1.4em;
  padding: 0.75rem 0;
  display: block;
  text-decoration: none;
  color: #fff;font-weight: 500;
      font-family: "Poppins", sans-serif;
   letter-spacing: 0.5px;
   position: relative; 
}

.container .menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #ffe600; /* Akzentfarbe */
  transition: width 0.3s ease;
}

.container .menu a:hover {
  color: #ffe600;
}

.container .menu a:hover::after {
  width: 100%;
}

.container .menu li.current-menu-item  a {
  color: #ffe600;
}
.container .menu li.current-menu-item  a::after {
  width: 100%;
}


.menu-toggle {
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle span {
  display: block;
  height: 3px;
  margin-bottom:8px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle span:nth-child(1) {width:90%}
.menu-toggle span:nth-child(2) {width:70%}
.menu-toggle span:nth-child(3) {width:80%}

.menu-toggle:hover span, .menu-toggle.active span{
  width:100%;
}

/* Animation bei aktivem Menü */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(6px) translateX(10px);
}

.menu-toggle.active span:nth-child(2) {
  transform: translateX(1000px);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px) translateX(10px);
}


 .menu-menu-1-container {
  position: fixed;
  left: 0;
  padding: 1rem;
  background: rgba(227, 62, 117, 0.9);

  flex-direction: column;
  display: flex; 
  transform: translateX(-100%); 
  transition: transform 0.5s ease;
  z-index: 100;
  width: 70%;
  max-width: 320px;
  height: 100vh;   
  top: 0;          
}

.menu-menu-1-container.active {
  transform: translateX(0); /* wieder ins Bild */
}

  .menu{
    display:block;
  }

  .container.menu .menu-toggle {
    display: block;
    margin-right:25px;
  }
}


  .wave, .wp-block-rahmengeben-troedel-section svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px; /* feste Höhe der Welle */
}





