/* Grundlegende Einstellungen */
html, body {
  height: 100%;
  margin: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
}

body {
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  width: 100%;
  background: linear-gradient(45deg, #00b140, #008c3a);
  color: #fff;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

#logo img {
  width: 60px;
  top: 20px;
  position: fixed;
}

#search-bar {
  flex: 1;
  max-width: 350px;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 5px;
  padding: 5px 10px;
  margin: 5px 0;
}

#search-bar input {
  border: none;
  outline: none;
  padding: 8px;
  font-size: 16px;
  width: 100%;
}

#search-bar button {
  background: transparent;
  border: none;
  cursor: pointer;
}

#search-bar button:hover {
  color: #008c3a;
}

#icons {
  display: flex;
  align-items: center;
  margin-top: 5px;
  margin-right: 30px;
}

.icon-btn {
  background: #fff;
  color: #008c3a;
  padding: 10px;
  margin-left: 10px;
  font-size: 20px;
  border-radius: 50%;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.icon-btn:hover {
  transform: scale(1.1);
}

/* Hauptnavigation */
nav {
  margin-top: 10px;
  text-align: center;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-size: 16px;
  padding: 8px 12px;
  transition: background 0.3s;
}

nav a:hover {
  background: rgba(255,255,255,0.2);
  border-radius: 5px;
}

/* Main Content */
main {
  flex: 1;
  padding: 140px 20px 20px; /* Platz für fixierten Header */
}

/* Slideshow */

.slider-container {
  display: flex;
  transition: transform 0.5s ease;
}

.slider-container img {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: #fff;
  background: rgba(0,0,0,0.5);
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

.arrow:hover {
  background: rgba(0,0,0,0.7);
}

/* Info-Bereiche */
.info {
  display: flex;
  justify-content: space-around;
  margin: 40px 0;
  flex-wrap: wrap;
}

.info-box {
  background: #00b140;
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 28%;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  margin-bottom: 20px;
}

.info-box ul {
  list-style: none;
  padding: 0;
}

.info-box li {
  margin: 5px 0;
}

/* Kontaktformular */
.contact form {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.contact form input,
.contact form textarea {
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.contact form button {
  background: #00b140;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.contact form button:hover {
  background: #008c3a;
}

/* Footer */
footer {
  background: #008c3a;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

footer p {
  margin: 5px 0;
}

/* Container für Inhalte */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* Buttons */
.btn {
  background: #00b140;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition: background 0.3s;
  cursor: pointer;
}

.btn:hover {
  background: #008c3a;
}

/* Zusätzlicher Abstand für Text */
h1, h2, h3, p {
  margin-bottom: 15px;
  line-height: 1.5;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }
  #search-bar {
    width: 100%;
    margin: 10px 0;
  }
  #icons {
    align-self: flex-end;
    margin-top: 0;
  }
  nav a {
    margin: 0 8px;
    padding: 6px 8px;
  }
  .info {
    flex-direction: column;
    align-items: center;
  }
  .info-box {
    width: 90%;
  }
}
