:root {
  --primary: #8B0000;
  --accent: #B22222;
  --bg: #f5f5f5;
  --text: #333;
}

/* ===================== Global ===================== */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ===================== Header ===================== */
	  header {
  text-align: center;
  padding: 20px 0;
  background-color: #222;
  position: relative;
}


.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  max-width: 300px;
  height: auto;
}

.menu-toggle {
  font-size: 28px;
  color: white;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1001;
  display: none;
  background: none;
  border: none;
}

.menu-toggle i {
  pointer-events: none;
}

/* Navigation Desktop */
@media (min-width: 769px) {
  nav#mobile-nav {
    position: static;
    height: auto;
    width: auto;
    background: transparent;
    padding-top: 0;
    right: 0 !important;
    display: block;
  }

  nav#mobile-nav ul {
    flex-direction: row;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 10px;
    padding: 0;
    list-style: none;
  }

  nav#mobile-nav a {
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-weight: bold;
  }

  nav#mobile-nav a:hover {
    background: var(--accent);
    border-radius: 4px;
  }

  .menu-toggle {
    display: none;
  }
}

/* Navigation Mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav#mobile-nav {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: var(--primary);
    color: white;
    transition: right 0.3s ease-in-out;
    padding-top: 4rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  nav#mobile-nav.open {
    right: 0;
  }

  nav#mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  nav#mobile-nav li {
    margin: 1rem 0;
    width: 100%;
  }

  nav#mobile-nav a {
    color: white;
    text-decoration: none;
    padding: 1rem;
    display: block;
    font-weight: bold;
    width: 100%;
  }

  nav#mobile-nav a:hover {
    background: var(--accent);
  }
}

/* ===================== Hero Section ===================== */
#hero {
  position: relative;
  height: 80vh;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.hero-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-text a {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

/* ===================== Sections ===================== */
section {
  padding: 2rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

section h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.leistungen ul {
  list-style: none;
  padding-left: 0;
}

.leistungen li::before {
  content: "✓";
  color: var(--accent);
  margin-right: 0.5rem;
}

/* ===================== Formular ===================== */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input,
textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

button {
  background: var(--primary);
  color: white;
  padding: 0.75rem;
  border: none;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background: var(--accent);
}

/* ===================== Footer ===================== */
footer {
  background: #222;
  color: #aaa;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

footer a {
  color: #aaa;
  text-decoration: underline;
}

/* ===================== Cookie-Banner ===================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #222;
  color: white;
  padding: 1rem;
  display: none;
  z-index: 9999;
  text-align: center;
}

#cookie-banner a {
  color: #ddd;
  text-decoration: underline;
}

#cookie-banner button {
  margin-left: 1rem;
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
}
