/* Reset and full-screen styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #222b23;
  font-family: system-ui, sans-serif;
  color: #fff;
}

a[href^="http://"]:not([href*="freundeskreis.online/vorlagen/grün/index.html"]):after,
a[href^="https://"]:not([href*="freundeskreis.online/vorlagen/grün/index.html"]):after {
content: url('freundeskreis.online/vorlagen/grün/images/link.png');
  vertical-align:unset;
  padding-left:4px;

}

canvas#confetti {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  z-index: 1000;
  pointer-events: none;
}

/* CSS */
.button-53 {
  background: rgba(255, 180, 80, 0.4);
  border-color: rgba(255, 180, 80, 0.6);
  box-sizing: border-box;
  color: white;
  display: flex;
  font-size: 0.5rem;
  justify-content: center;
  position: relative;
top:120px;
left: 400px;
  text-align: center;
  text-decoration: none #000000 solid;
  width: 100%;
  max-width: 460px;
  position: relative;
  cursor: pointer;
  transform: rotate(-2deg);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
z-index:1;
}

.button-53:focus {
  outline: 0;
}

.button-53:after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 4px;
  width: calc(100% - 1px);
  height: calc(100% - 1px);
}

.button-53:hover:after {
  bottom: 2px;
  left: 2px;

}



@media (min-width: 768px) {
  .button-53 {
    padding: 0.75rem 3rem;
    font-size: 1.25rem;
  }
}

/* --- HERO SECTION --- */
#haken {
position:absolute;
right: 20px;
top: 60px;
z-index:0;
}
#ordner {
position:absolute;
left: 20px;
top: 50px;
z-index:0;
}

.hero {
  background: linear-gradient( to top,  #222b23, #84dbb1, #222b23);
  position: relative;
margin-top:5px;
  height: 110vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}



/* --- HERO CONTENT --- */

.hero-content {
  z-index: 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 1rem;
text-shadow: 2px 2px 4px #000000;
}

#gruß-start{
text-shadow: 2px 2px 4px #000000;
font-weight: bold;
text-align: center;
width: 100%;
font-size: clamp(2.2rem, 5vw, 4rem);
color: white;
padding: 0;
position:relative;
top:0px; 
left: 0px;
z-index:0;

}

.hero p {
  font-size:35px;
  text-shadow: 2px 2px 2px #000000;
  margin-bottom: 2rem;
  opacity: 0.9;
  z-index:100;

}

.cta {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  background: rgba(255, 180, 80, 0.4);
  border: 1px solid rgba(255, 180, 80, 0.4);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: 0.25s ease;
}

.cta:hover {
  background: rgba(131, 221, 133,0.25);
  border: 1px solid rgba(255, 180, 80, 0.4);
}

.logo{
  padding-top: 5px;
padding-left: 35px;
}


/* --- Navigation Grundlayout --- */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
height: 56px;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(131, 221, 133, 0.25);
  backdrop-filter: blur(6px);
 border-bottom: 1px solid rgba(255, 180, 80, 0.4);
 z-index: 1000;
}

/* Logo */
.logo img {
  max-width: 120px;
  height: auto;
}

/* --- Burger Icon --- */
.burger {
  width: 30px;
  height: 22px;
  display: none; /* wird erst mobil sichtbar */
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 3px;
  transition: 0.3s ease;
}

/* --- Navigation Links Desktop --- */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  font-size: 18px;
  color: white;
  padding: 15px 20px;
  display: block;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  transition: 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  background: rgba(255, 180, 80, 0.4);
  border-color: rgba(255, 180, 80, 0.6);
}

/* --- Mobile Version --- */
@media (max-width: 768px) {

  .burger {
    display: flex;
  
  }

  .nav-links {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 60%;
    height: 50vh;
     background:#447152;

    backdrop-filter: blur(6px);
    flex-direction: column;
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
    border: 1px solid rgba(255, 180, 80, 0.4);
    padding: 60px 0px 60px 80px;
    gap: 20px;
    transition: right 0.3s ease;
  }

  .nav-links.open {
    right: 0;
  }

  /* Burger Animation */
  .burger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .burger.open span:nth-child(2) {
    opacity: 0;
  }
  .burger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}


 h2 {
  font-size: 35px;
  text-align:center;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px #000000;

}

.section {
      padding: 100px 20px;
      margin-top: 150px;
      min-height: 50vh;
      text-align: center;
   position: relative;
 }

#services { background:  #222b23;
            min-height: 50vh;
            margin-top: 150px;
            padding-top: 150px;
 }

#kontakt { background: #222b23;
           margin-top: 150px;
           min-height: 50vh;
           padding-top: 150px;
           padding-bottom:150px;
 }

.card-container {
  display: flex;
  flex-wrap: wrap; /* Make cards wrap on smaller screens */
  gap: 20px;
  justify-content: center;
  perspective: 1000px;
margin-bottom:50px;
}

.card {
  width: 400px;
  height: 290px;
  padding-top: 50px;
  background:#447152;
  border-radius: 20px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 180, 80, 0.4);
 box-shadow: 0 0 50px rgba(33, 139, 115, 0.5), 0 0 100px rgba(33, 139, 115, 0.3);
  overflow: hidden;
  transition: transform 0.5s ease, box-shadow 0.3s ease;
  text-align:center;
}

.card img{
position:relative;
 }
.card-kontakt{
  width: 500px;
  height: 130px;
  padding-top: 50px;
  background:#447152;
  border-radius: 20px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 180, 80, 0.4);
 box-shadow: 0 0 50px rgba(33, 139, 115, 0.5), 0 0 100px rgba(33, 139, 115, 0.3);
  overflow: hidden;
  transition: transform 0.5s ease, box-shadow 0.3s ease;
  text-align:center;
}


.card-kontakt a{
color:white;
font-size: 25px;
}

.kontakt-container {
  display: flex;
  flex-wrap: wrap; /* Make cards wrap on smaller screens */
  gap: 20px;
  justify-content: center;
  width:800px;
 margin:0 auto;

}

.kontakt-container img{
margin-left:50px;
}


/* ✅ Responsive for Tablets and Mobiles */
@media (max-width: 768px) {
  .card-container {
    flex-direction: column; /* Stack cards vertically */
    align-items: center;
  }

  .card {
    width: 90%; /* Take 90% of screen width */
    max-width: 400px;
    height: auto; /* Adjust height */
  }
 }

 

.info-icon {
  margin-left: 8px;
  font-size: 1.2rem;
  color: white;
  position: relative;
  display: inline-block;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 10px 0px 10px 40%;
  display: flex;
  background: rgba(131, 221, 133, 0.25);
  z-index: 1; /* wichtig: niedrig halten */
  overflow: visible;
  gap: 20px;
}

/* Blur-Effekt über ein Pseudo-Element */
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(131, 221, 133, 0.25);
  backdrop-filter: blur(6px);
  z-index: -1; /* liegt hinter dem Footer-Inhalt */
  border-top: 1px solid rgba(255, 180, 80, 0.4);
}

 footer a {
          
            text-decoration: none;
            color: white;
            position: relative;
             border-left: 1px solid transparent;
             border-right: 1px solid transparent;
             padding: 0px 0px 0px 0px;
             margin-left:0px;
        }

footer a:hover {
            background: rgba(255, 180, 80, 0.4);
            border-color: rgba(255, 180, 80, 0.6);
         
}
/* Overlay */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#overlay.show {
  opacity: 1;
}

#modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: white;
  color: black;
  padding: 2rem;
  max-width: 700px;
  width: 90%;
  border-radius: 10px;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#modal.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

#modal h2 {
  font-size: 35px;
  text-align:center;
  margin-bottom: 1rem;
  text-shadow: none;
}

#modal a {
  color:black;
  text-decoration:underline;

}




/* Modal-Inhalt */
#modal-content {
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

/* Schließen-Button */
#close-modal {
  position: fixed;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Versteckt */
.hidden {
  display: none;
}


                                                              @media screen and (max-width: 1440px) {

.nav-links {
  gap: 0px;
 
}

}

                                                              @media screen and (max-width: 800px) {
.hero-content {
  margin-top: 200px;
}

.hero p {
  font-size:25px;
 
}
.card {
  padding: 30px;
 
}


.button-53 {
 top:70px;
left: 50px;
  max-width: 260px;
padding: 20px;
font-size:20px;

}
.card-kontakt{
  width: 90%;
}


.card-kontakt a{
font-size: 18px;
}

.kontakt-container {
  width:100%;

}

.kontakt-container img {
  margin-left:10px;

}


footer { 
padding: 5px 0px 30px 10px;
}
footer a {
padding: 0px 0px 0px 20px;
margin-left:0px;
        }


}


                                                              @media screen and (max-width: 375px) {
.hero p {
  font-size:20px;
}

.hero h1 {
  font-size:25px;
}

#gruß-start{
 font-size:25px;
}



}


