/* styles.css */

/* Farben */
:root {
  --aerztgruen: #2e7d32;
  --hellgruen: #a5d6a7;
  --dunkelgrau: #333;
  --hellgrau: #f5f5f5;
  --weiß: #ffffff;
  --akzent: #4caf50;
  --schrift: "Segoe UI", Roboto, sans-serif;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}

body {
  font-family: var(--schrift);
  font-size:18px;
  margin: 0;
  padding: 0;
  background-color: var(--hellgrau);
  color: var(--dunkelgrau);
  }
#textInhalt {
  font-family: var(--schrift);
  font-size:18px;
  margin: 0;
  padding: 0;
}
#textZeiten {
  font-family: var(--schrift);
  font-size:18px;
  margin: 0;
  padding: 0;
}

div{background-color:#DFFEDE;
	border-radius: 12px; }
.div-klasse {
  border: 1px solid #000; /* 1px dünn, durchgezogen, schwarz */
}	

textarea {
  font-family: inherit;
  font-size: 100%;
}

#nachOben {
      position: fixed;
      bottom: 30px;
      right: 30px;
      display: none;
      background-color:#009900;
      color: white;
      border: none;
      border-radius: 50%;
      padding: 16px 22px;
      font-size: 24px;
      cursor: pointer;
      box-shadow: 0 4px 8px rgba(0,0,0,0.3);
      transition: opacity 0.3s ease;
    }

    #nachOben:hover {
      background-color: #555;
    }

header {
  background-image:url(images/Banner.png);
  background-size: auto 500px;
  background-position: center center;
  background-size: cover; /* oder 'contain' je nach gewünschtem Effekt */
  text-shadow: 1px 1px 0 black;
  background-color: var(--aerztgruen);
  color: var(--weiß);
  padding: 2rem 1rem;
  text-align: center;
}
.flex-ctr {
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center;    /* vertikal */
    height: 10px;          /* z.B. Höhe definieren */
	padding-left:10px;
  }

nav {
  background-color: var(--hellgruen);
  padding: 0.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

nav a {
  text-decoration: none;
  color: var(--dunkelgrau);
  font-weight: bold;
}

nav a:hover {
  color: var(--aerztgruen);
}

main {
  max-width: 900px;
  margin: auto;
  padding: 1.5rem;
  background-color: var(--weiß);
}

section {
  margin-bottom: 3rem;
}

h1, h2 {
  color: var(--aerztgruen);
}

footer {
  background-color: var(--hellgruen);
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/*------------------------------------------------------------*/

.bildstyle {
      border: 1px solid #ccc;        /* Dünner Rahmen */
      border-radius: 12px;           /* Runde Ecken */
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); /* Weicher Schatten */
      max-width: 100%;
      height: auto;
      display: block; margin-left:2%;
	   
    }



.infobox-content {
	display: none;
    margin-top: 10px;
	margin-left:15px;
    }

.infobox.open .infobox-content {
      display: block;
	}

.toggle-btn {
      color:blue;
      border: none;
      padding-left: 15px;
	  margin-bottom:10px;
	  
      cursor: pointer;
	  background-color:#DFFEDE;
	  font-size:15px;
	  margin-left:1px;
      }

/*------------------------------------------------------------*/
#cookie-banner {
      position: fixed;
      bottom: 20px;
      right: 10px;
      width: 400px;
	  margin: auto;
      background-color:#FBFE8B;
      border: 1px solid #ccc;
      border-radius: 10px;
      padding: 15px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.5);
      font-family: Arial, sans-serif;
      font-size: 18px;
      z-index: 1000;
    }

    #cookie-banner button {
      margin-top: 10px;
      padding: 8px 16px;
      background-color: #4CAF50;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }

    #cookie-banner button:hover {
      background-color: #45a049;
    }


/*------------------------------------------------------------*/


@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }
}
