/* style.css */

body {
  margin: 0;
  padding: 0;
font-family: "Poppins", sans-serif;
  background-color: #f3e8ff; /* sehr helles Lila */
  color: #3a3a3a;
  line-height: 1.75;
}

header {
  background: linear-gradient(135deg, #f9a825, #00bfa5); /* güldes Gelb zu Türkis */
  padding: 70px 20px 50px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-bottom: 4px solid #ffd54f; /* kräftiges Gelb als starke Linie */
}


header img {
  max-width: 280px; /* größer */
  height: auto;
  margin-bottom: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(255, 213, 79, 0.5); /* gelber Glow */
  background-color: white; /* sichert weißen Hintergrund */
  padding: 8px; /* Abstand zwischen Bild und Schatten */
}

header h1 {
  font-size: 3em;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  letter-spacing: 0.03em;
}

header p {
  font-size: 1.3em;
  margin: 0;
  color: #ffd54f;
  font-weight: 600;
  font-style: italic;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

main {
  max-width: 760px;
  margin: 60px auto 100px;
  padding: 30px 28px;
  background-color: #ffffff; /* helles, zartes Lila */
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(142, 36, 170, 0.12);
}

.float-image {
  float: right;
  max-width: 30%;
  margin-left: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

main p {
  margin-bottom: 28px;
  color: #444444;
  font-size: 1.18em;
  line-height: 1.85;
}

/* Hamburger-Menü-Container */
.nav {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

/* Unsichtbares Kontrollkästchen */
.menu-toggle {
  display: none;
}

/* Icon (☰) */
.menu-icon {
  font-size: 2em;
  cursor: pointer;
  color: #ffffff;
  background-color: #8e24aa;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Menüliste (ausgeblendet standardmäßig) */
.menu {
  list-style: none;
  margin: 10px 0 0;
  padding: 12px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: none;
  position: absolute;
  top: 50px;
  right: 0;
  width: 180px;
}

.menu li {
  margin: 10px 0;
}

.menu a {
  text-decoration: none;
  color: #6a1b9a;
  font-weight: 600;
  display: block;
  transition: background 0.2s ease;
}

.menu a:hover {
  background-color: #f3e5f5;
  border-radius: 4px;
  padding: 4px 8px;
}

/* Zeige Menü, wenn Checkbox aktiviert */
.menu-toggle:checked + .menu-icon + .menu {
  display: block;
}


a {
  color: #8e24aa; /* Lila */
  text-decoration: none;
  border-bottom: 2px solid #ffd54f;
  transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

a:hover,
a:focus {
  color: #ffd54f;
  border-bottom-color: #8e24aa;
  outline: none;
}

@media (max-width: 600px) {
  header h1 {
    font-size: 2.5em;
  }
  header img {
    max-width: 200px;
  }
  main {
    margin: 40px 16px 80px;
    padding: 24px 18px;
  }
}
