:root[data-theme='light'] {
  --bg: #f9fafb;
  --text: #1f2937;
  --card: #ffffff;
  --accent: #1e3a8a;
}
:root[data-theme='dark'] {
  --bg: #0f172a;
  --text: #e2e8f0;
  --card: #1e293b;
  --accent: #facc15;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  border-radius: 8px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: var(--card);
  padding: 20px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  position: relative;
}
.logo-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
}
.nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav-list li a {
  font-weight: 600;
  transition: color 0.3s;
}
.nav-list li a:hover {
  color: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: linear-gradient(to right, var(--accent), #3b82f6);
  color: white;
  text-align: center;
  padding: 100px 20px;
}
.hero h1 {
  font-size: 2.5rem;
}
.hero p {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* Sektionen */
section {
  padding: 60px 20px;
}
h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 30px;
}

/* Über uns & Leistungen */
.about-grid, .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: center;
}
.service-item {
  background: var(--card);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
}

/* Kontakt */
.contact-info {
  text-align: center;
}

/* Footer */
footer {
  background: var(--card);
  text-align: center;
  padding: 25px;
  font-size: 0.9rem;
  color: var(--text);
}
footer a {
  color: var(--accent);
}

/* Dark Mode Icons */
.icon {
  width: 24px;
  height: 24px;
  stroke: var(--text);
  cursor: pointer;
}
.hidden {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background: var(--card);
    width: calc(100% - 40px);
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  nav.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}
