:root {
  --primary: #eec591;
  --primary-dark: #157a6e;
  --bg: #c2c5bb;
  --text: #5d2d11;
  --muted: #6b7280;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, sans-serif;
  background: url(hstern_bg.jpg) no-repeat center center fixed;
  background-size: cover;
  color: var(--text);
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* heller Schleier */
  z-index: -1;
}

.header {
  background: var(--primary);
  color: var(--text);
  padding: 1rem 1rem;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding: 1rem;
}
.nav a {
  background: #fff;
  color: var(--text);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
}
.nav a:hover {
  background: var(--primary);
  color: var(--text);
  transform: translateY(-2px);
}
.nav a.active {
  background: var(--primary);
  color: var(--text);
}

.section {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
.card h3 {
  margin-top: 0.2rem;
}
.card p {
  color: var(--muted);
}

.cta {
  display: inline-block;
  background: var(--primary);
  color: var(--text);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.25s ease;
}
.cta:hover {
  background: var(--text);
  color: var(--primary);
}

.footer {
  background: var(--primary);
  color: var(--text);
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

/* Formular */
form {
  max-width: 640px;
  margin: 0 auto;
}
label {
  font-weight: 600;
  display: block;
  margin: 0.5rem 0;
}
input,
textarea,
button {
  width: 100%;
  padding: 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  font-size: 1rem;
}
button {
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
}
button:hover {
  background: var(--primary-dark);
}

@media (max-width: 640px) {
  .container {
    padding: 1.2rem;
  }
}
.responsive-img {
  max-width: 70%; /* Bild passt sich der Containerbreite an */
  height: auto; /* Höhe wird automatisch proportional angepasst */
}
