/* CSS Document */


@font-face{
			font-family: "Nunito Black";
			src: url("../schriftarten/nunito/static/Nunito-Black.ttf");
		}
		
@font-face{
	font-family: "Nunito Medium";
	src: url("../schriftarten/nunito/static/Nunito-Medium.ttf");
}

body {
  margin: 0;
  font-family: "Nunito Black";
  font-weight: 900;
  font-style: black;
  background-image: url("../bilder/Hintergrund 1-min.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #004c80;  
}

nav {
	position: sticky;
	top: 0px;
  background: #0077b9;
  padding: 5px 20px;
  color: white;
	height: auto;
  z-index: 1000;
}

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

.main-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 25px;
  position: relative;

}

.main-nav li {
  position: relative;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px;
  display: block;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}



.dropdown {
  display: none;
  position: absolute;
  background-color: #3377cc;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  top: 100%;
  left: 0;
  border-radius: 8px;
  min-width: 160px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 999;
		
}

.dropdown li a {
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown li a:hover {
  background-color: #5599dd;
  border-radius: 5px;
}


.kinder-footer {
  background-color: #f9cd5d;
  
  text-align: center;
  padding: 20px 10px;
  font-size: 1em;
  margin-top: 40px;
  
}

.kinder-footer-content p {
  margin: 5px 0;
  font-family: "Nunito Black", sans-serif;
	color: #004c80;  
}

.kinder-footer a {
  
  text-decoration: none;
  font-weight: bold;
	color: #004c80;  
}

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



.logo-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-img {
  margin-top: 10px;
  height:80px; 
  object-fit: contain;
}




nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 25px;
  font-family: "Nunito Black";
  font-weight: 900;
  font-style: black;

}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1em;
  font-family: "Nunito Black";
  font-weight: 900;
  font-style: black;

}

.main-layout {
	
 
  
  display: flex;
  flex-wrap: nowrap;
  width: 1400px;
  margin: 0 auto;
  gap: 30px;
  padding: 30px;
}


/* Nur auf der Startseite extra Abstand nach oben */
body.startseite .main-layout {
  padding-top: 600px;
}



 .sidebar {
  flex: 0 0 300px;
  position: relative;
  min-height: 600px; 
  display: flex;
  align-items: center;
  justify-content: center;
	  text-decoration-color: #004c80;
}

.seal {
  position: fixed;
  bottom: 20px; 
  left: 10px;   

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.seal-img {
  width: 430px;
  height: auto;
}

/* Sprechblase immer oben über der Robbe */
.speech-bubble {
  background: #fefcec;
  border-radius: 20px;
  padding: 15px;
  width: 180px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
  font-size: 0.9em;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 20;
  position: absolute; 
  bottom: 100%; 
  margin-bottom: 15px; 
 text-decoration-color: #004c80;
	font-family: "Nunito Medium";
  font-weight: 900;
  

}

.speech-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: white transparent transparent;
  font-family: "Nunito Medium";
  font-weight: 900;
  font-style: black;

}

.speech-bubble:hover {
  transform: scale(1.05);
  background-color: #eef;
}


.audio-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.audio-controls img {
  width: 40px; 
  height: auto;
  cursor: pointer;
  transition: transform 0.2s;
}

.audio-controls img:hover {
  transform: scale(1.1); 
}



.content {
 width: 1000px;
  background-color: #fefcec;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	 text-decoration-color: #004c80;
	font-family: "Nunito Medium";
  font-weight: 900;
  margin-left: auto;
  margin-right: 1rem; 
	

}

.content h1 {
  font-family: "Nunito Black", sans-serif;
  font-weight: 900;
  font-size: 2.2rem; 
  color: #004080;    
  margin-bottom: 1.5rem;
}

.content h2 {
	
  font-family: "Nunito Black";
  font-weight: 900;
  
	
}


.content h3 {
  margin-top: 0;
  font-family: "Nunito Black";
  font-weight: 900;
 
}


.content h4 {
  margin-top: 0;
  font-family: "Nunito Black";
  font-weight: 900;
  
}

ul {
  padding-left: 20px;
  font-family: "Nunito Medium";
  font-weight: 900;
  
}

ul li {
  margin-bottom: 5px;
font-family: "Nunito Medium";
  font-weight: 900;
  
}


.filter-container {
  background-color: transparent; 
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  max-width: 900px;
  margin: 0 auto;
  color: #004c80;
  font-family: "Nunito Medium";
  font-weight: 900;
  
	
}

.filter-group {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  flex-wrap: wrap;
color: #004c80;
  font-family: "Nunito Medium";
  font-weight: 900;
  
}

.filter-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
	color: #004c80;
  font-family: "Nunito Medium";
  font-weight: 900;
	
  
}

.filter-block label {
  font-size: 18px;
  color: #004c80;
  margin-bottom: 5px;
  
  font-family: "Nunito Medium";
  font-weight: 900;
  
}

.filter-block select {
  padding: 12px 16px;
  border-radius: 10px;
  border: 2px solid #0077b9;
  font-size: 16px;
  width: 250px;
  background-color: #ffffff;
  color: #004c80;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  font-family: "Nunito Medium";
  font-weight: 900;
  
}



.vereins-container {
 
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px;
  align-items: center;
  color: #003366;
}


.verein-card {
  display: flex;
  flex-direction: row;
  align-items: center;

  width: 100%;
  font-family: "Nunito Medium";
  font-weight: 900;
  font-style: black;


  margin-bottom: 10px;
  background-color: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.verein-card:hover {
  transform: translateY(-4px);
}

.verein-card img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  margin-left: 20px;
  border-radius: 12px;
  flex-shrink: 0;
}

.card-content {
  padding: 20px;
  flex: 1;
}

.card-content h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 20px;
  
}

.card-content p {
  margin: 6px 0;
  font-size: 14px;
  
  font-family: "Nunito Medium";
  font-weight: 900;
  font-style: black;

}

.card-content .button {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 20px;
  font-size: 14px;
  color: white;
  background-color: #007acc;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.card-content .button:hover {
  background-color: #005fa3;
}



/* Abenteuerkarte*/
.map-container {
  position: relative;
  
  max-width: 1000px;
  
}

.map-image {
  width: 100%;
  display: block;
  border: 2px solid #ccc;
  border-radius: 12px;
}

.marker-container {
  position: relative;
}

.marker {
  width: 80px;
  height: 80px;
  background-color: transparent;
 
  border-radius: 100%;
  position: absolute;
  cursor: pointer;
  transition: transform 0.2s ease;
	z-index: 10;
}

.marker img {
  width: 100%;
  height: 100%;
  object-fit: contain;
	z-index: 10;
  
}

.marker:hover {
  transform: scale(1.3);
}

.marker:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 12px;
  
  white-space: nowrap;
  z-index: 50;
}

.marker-container:hover .steckbrief {
  display: block;
}

.steckbrief {
  position: absolute;
      display: none;
      background: white;
      border: 2px solid #333;
      border-radius: 10px;
      padding: 1rem;
      max-width: 260px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      z-index: 999;
      font-family: "Nunito Medium", sans-serif;
      font-weight: 700;
}

.steckbrief h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.steckbrief p {
  margin: 0.25rem 0;
}




.steckbrief.hidden {
  display: none;
}



/* FAQ Bereich */
.faq-container {
  width: 1000px;
  margin: 40px auto 20px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background-color: #fff5d6; 
  border: 2px solid #f9cd5d; 
  border-radius: 12px;
  padding: 10px;
}

.faq-question {
  background-color: #f9cd5d;
  color: #004c80;
  border: none;
  border-radius: 8px;
  padding: 10px;
  width: 100%;
  text-align: left;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: "Nunito Black";
  font-weight: 900;
}

.faq-question:hover {
  background-color: #e6b848; 
}

.faq-answer {
  display: none;
  padding: 10px;
  font-size: 14px;
  background-color: #fff9e5; 
  border-radius: 8px;
  margin-top: 10px;
  font-family: "Nunito Medium";
  font-weight: 900;
  color: #004c80; 
}

.arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  margin-right: 8px;
}

.faq-question.open .arrow {
  transform: rotate(90deg);
}

.filter-leiste {
  margin: 20px 0;
  padding: 10px 0;
  display: block;
  text-align: left;
}

.filter-btn {
  background-color: #f0f8ff;
  border: 2px solid #0077b9 ;
  font-family: "Nunito Medium";
  font-weight: 900;
  color: #004c80;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 16px;
  margin-right: 10px;
  cursor: pointer;
}

.filter-btn:hover {
  background-color: #e0efff;
}

.filter-btn.active {
  background-color: #4a90e2;
  color: white;
  border-color: #357ab8;
}











/*Kalender*/

 .calendar-container {
      max-width: 800px;
      margin: 40px auto;
      background: rgba(255, 255, 255, 0.85);
      border-radius: 12px;
      padding: 20px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      text-align: center;
    }

    .calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

/* Stil für einen einzelnen Tag */
.day {
  border: 1px solid #ccc;
  padding: 5px;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: visible;
  min-height: 80px; 
  height: auto; 
  box-sizing: border-box;
}

    .day:hover {
      background-color: #e6f7ff;
    }

.today {
      border: 2px solid #007acc;
      font-weight: bold;
    }
    .event-entry {
      margin-top: 5px;
      font-size: 12px;
      background-color: #fdd835;
      padding: 2px 4px;
      border-radius: 4px;
      cursor: default;
      position: relative;
    }

    .event-entry:hover .tooltip {
      display: block;
    }

    .tooltip {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #fff;
      color: #333;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.2);
      z-index: 10;
      width: 220px;
    }

    .tooltip button {
      margin-top: 10px;
      padding: 5px 10px;
      background-color: #007acc;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    .tooltip button:hover {
      background-color: #005fa3;
    }

    .nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

    .nav-buttons button {
      padding: 10px 20px;
      background-color: #007acc;
      color: white;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-weight: bold;
    }

    .nav-buttons button:hover {
      background-color: #005fa3;
    }

/*Kalender: Textfeld wächst mit*/
  .event-entry {
    position: relative;
  }

  .tooltip {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    white-space: normal;
    max-width: 250px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    display: none;
    word-wrap: break-word;
  }

  .event-entry:hover .tooltip {
    display: block;
  }

  .tooltip button {
  display: block;
  margin: 10px auto 0 auto;
  padding: 5px 10px;
  background-color: #007acc;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
}
/*Heutiger Tag wird hervorgehoben*/
.today {
      background-color: #007acc; 
      font-weight: bold;
    }

/* Cursor als Hand für alle typischen klickbaren Elemente */
a:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
label:hover,
select:hover,
summary:hover,
.klickbar:hover,
.event-entry:hover {
  cursor: pointer;
}


.klickbar,
.event-entry {
  user-select: none; 
}

/*Navigationsleiste hervorheben*/
.main-nav a.active {
  background-color: #ffffff;
  color: #0072ce;
  border-radius: 5px;
  font-weight: bold;
  padding: 5px 10px;
  box-shadow: 0 0 0 3px #ffdd2d inset;
  text-decoration: none;
}

/* Dropdown automatisch offen, wenn Klasse 'open' gesetzt ist */
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,

/* Titeldesign bleibt gleich, trotz Zurückspringen*/
.logo-title {
  text-decoration: none;
  color: inherit;
  display: block;
}

.logo-title:hover {
  cursor: pointer;
  opacity: 0.9;
}

.main-nav a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}






.hero {
  background-image: url("../bilder/hintergrund_bruecke.jpg"); 
  background-size: cover;
  background-position: center bottom;
  height: 100vh;
  width: 100%;
}



/* Aktives Menüelement */
.main-nav a.active {
  background-color: #ffffff;
  color: #0072ce;
  border-radius: 5px;
  font-weight: bold;
  padding: 5px 10px;
  box-shadow: 0 0 0 3px #ffdd2d inset;
  text-decoration: none;
}


/*Text auf Startseite*/
.hero {
  background-image: url("../bilder/hintergrund_bruecke.jpg");
  background-size: cover;
  background-position: center bottom;
  height: 100vh;
  width: 100%;
  position: relative;
  text-align: center;
  color: white;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  padding-top: 80px;
}


/*Design der Vernetzen Seite und Impressum*/
.content h1 {
	margin-left: 22px;
	
	
}

.info-section {
  background-color: #fffce8;
  padding: 2rem 0;
  font-family: "Nunito Medium", sans-serif;
  color: #004c80;
}

.info-section h2 {
  font-size: 1.8rem;
  color: #004c80;
  margin-bottom: 2rem;
  font-family: "Nunito Black", sans-serif;
}

.info-box {
  display: flex;
  align-items: center;
  background-color: #fcd45c;
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  gap: 1.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.info-img {
  flex-shrink: 0;
  width: 200px;
  height: auto;
  border-radius: 10px;
}

.info-text {
  max-width: 700px;
  font-family: "Nunito Medium";
 
}

.info-text ul li {
  margin: 0.2em 0;
}

.info-text h3 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
font-weight: bold;
  font-family: "Nunito Black";
  color: #004c80;
}


.info-text h3 a {
  font-family: "Nunito Black";
  font-weight: bold;
  color: #004c80;
  text-decoration: none; 
}



.info-text a {
  color: #004c80;
  
  font-family: "Nunito Medium";
  text-decoration: none;

}

.info-text p {
  font-size: 1rem;
  color: #004c80;
  font-family: "Nunito Medium";
  margin: 0.2em 0;

}

li > ul {
  margin-top: 0.5rem;
}


