body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #121212;
  color: #f0f0f0;
}

nav {
  background-color: #1e1e1e;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #f0f0f0;
}

.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  position: relative;
}

.menu > li {
  margin: 0 15px;
}

.menu a {
  color: #f0f0f0;
  text-decoration: none;
  padding: 10px;
  display: block;
}

.menu a:hover {
  background-color: #333;
  border-radius: 5px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #2a2a2a;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.4);
  z-index: 1;
  border-radius: 4px;
}

.dropdown-content a {
  padding: 10px 15px;
}

.menu li:hover .dropdown-content {
  display: block;
}

main {
  padding: 40px;
  text-align: center;
}

.btn-darkred {
  display: inline-block;
  padding: 12px 24px;
  margin-top: 20px;
  font-size: 1rem;
  font-weight: bold;
  background-color: #8b0000;
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.btn-darkred:hover {
  background-color: #a60000;
  transform: scale(1.05);
  cursor: pointer;
}

.btn-toggle {
  margin-left: 20px;
  padding: 8px 16px;
  font-size: 0.9rem;
  border-radius: 6px;
  border: none;
  background-color: #444;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-toggle:hover {
  background-color: #666;
}

/* Light Theme Styles */
body.light-mode {
  background-color: #f2f2f2;
  color: #121212;
}

body.light-mode nav {
  background-color: #e0e0e0;
}

body.light-mode .menu a {
  color: #121212;
}

body.light-mode .menu a:hover {
  background-color: #ccc;
}

body.light-mode .btn-darkred {
  background-color: #c62828;
  color: white;
}

body.light-mode .btn-darkred:hover {
  background-color: #e53935;
}

body.light-mode .btn-toggle {
  background-color: #bbb;
  color: #000;
}

body.light-mode .dropdown-content {
  background-color: #e0e0e0;
}

body.light-mode .dropdown-content a {
  color: #121212;
}

body.light-mode .dropdown-content a:hover {
  background-color: #ccc;
}

/* ===== Formular-Stile ===== */

form {
  background: #222;
  padding: 20px 40px;
  border-radius: 12px;
  width: 400px;
  box-shadow: 0 0 10px #000;
  margin: 30px auto;
}

input,
select,
datalist {
  width: 100%;
  padding: 8px;
  margin: 5px 0 15px;
  border: none;
  border-radius: 5px;
}

button {
  background: #4CAF50;
  border: none;
  padding: 10px;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  width: 100%;
}

button:hover {
  background: #45a049;
}

label {
  font-weight: bold;
}
