/* lspd-base.css: zentrales CSS für alle LSPD-Webseiten */

:root {
  --primary-color: #0d3b66;
  --secondary-color: #faf0ca;
  --accent-color: #f95738;
  --dark-color: #1e1e24;
  --light-color: #f2f2f2;
  --success-color: #4c9f70;
  --warning-color: #ffbe0b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--light-color);
  color: var(--dark-color);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
header {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo img {
  height: 60px;
  margin-right: 10px;
}

.logo-text h1 {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.logo-text p {
  font-size: 0.8rem;
  opacity: 0.8;
}

.user-panel button {
  background-color: transparent;
  border: 1px solid white;
  color: white;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.user-panel button:hover {
  background-color: white;
  color: var(--primary-color);
}

/* Navigation */
nav {
  background-color: #052c52;
}

.nav-container {
  display: flex;
  justify-content: space-between;
}

.main-menu {
  display: flex;
  list-style: none;
}

.main-menu li {
  position: relative;
}

.main-menu a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 1rem;
  transition: background-color 0.3s ease;
}

.main-menu a:hover {
  background-color: var(--primary-color);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--primary-color);
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  padding: 0.8rem 1rem;
}

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

.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 1rem;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.disclaimer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #444;
  text-align: center;
  font-size: 0.8rem;
  color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .logo {
    margin-bottom: 1rem;
    justify-content: center;
  }

  .hamburger {
    display: block;
  }

  .nav-container {
    flex-direction: column;
  }

  .main-menu {
    flex-direction: column;
    display: none;
  }

  .main-menu.active {
    display: flex;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    width: 100%;
    display: none;
  }

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

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}