
/* Basis-Styling */
body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  margin: 0;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background-image: url('img/Hintergrund.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 40px;
  position: relative;
  color: white;
}
header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
header h1 {
  position: relative;
  z-index: 2;
  background-color: rgba(201, 76, 76, 0.85);
  padding: 20px 30px;
  border-radius: 10px;
  color: white;
}


/* Logo */
.logo {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
}

.logo img {
  height: 60px;
  width: auto;
}

/* Navigation */
nav {
  background-color: #a83838;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
nav a {
  color: white;
  padding: 15px 25px;
  text-decoration: none;
  font-weight: bold;
}
nav a:hover {
  background-color: #8c2f2f;
}

/* Sektionen */
section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}
h2 {
  color: #a83838;
}
details {
  margin-bottom: 15px;
}
summary {
  font-weight: bold;
  cursor: pointer;
}

/* Footer */
footer {
  background: #c94c4c;
  color: white;
  text-align: center;
  padding: 30px;
  font-size: 0.9rem;
}

/* Cookie-Banner */
#cookie-banner {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  z-index: 9999;
  text-align: center;
  width: 90vw;
  max-width: 420px;
}
#cookie-banner p {
  margin-bottom: 20px;
  font-size: 1rem;
  color: #333;
}
#cookie-banner button {
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  margin: 5px 0;
  width: 100%;
}
#accept-cookies {
  background-color: #a83838;
  color: white;
}
#decline-cookies {
  background-color: #ccc;
  color: #333;
}

/* Responsive */
@media (min-width: 601px) {
  #cookie-banner button {
    width: auto;
    margin: 0 10px;
    display: inline-block;
  }
}
