/* ======================
   TECHNIKHILFE LOKAL - STYLE UPDATE (Komplett)
   ====================== */

:root {
  --blue: #3498db;
  --blue-dark: #2c80b4;
  --yellow: #f1c40f;
  --gray-light: #f4f4f4;
  --gray-dark: #333;
  --white: #ffffff;
  --black: #000000;
  --shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: var(--white);
  color: var(--gray-dark);
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  transition: background-color 0.3s, color 0.3s;
}

body.dark {
  --blue: #187bff;
  --blue-dark: #135bcc;
  --yellow: #f4d03f;
  --gray-light: #1c1f24;
  --gray-dark: #e4e4e4;
  --white: #111418;
  --shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  background-color: var(--white);
  color: var(--gray-dark);
}

header {
  background-color: var(--blue);
  color: var(--white);
  padding: 1rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 10;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.nav-links li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.nav-links li button {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.nav-links li a:hover {
  opacity: 0.75;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 25px;
  height: 3px;
  background: white;
  display: block;
  border-radius: 5px;
}

.section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.hero {
  background: linear-gradient(to right, var(--blue), var(--blue-dark));
  color: white;
  text-align: center;
  padding: 6rem 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero .btn {
  background: var(--yellow);
  color: black;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.hero .btn:hover {
  background: #d4ac0d;
}

.card-grid, .price-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card, .price-card {
  background: var(--white);
  color: var(--gray-dark);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover, .price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.price-card .offer-badge {
  background: var(--yellow);
  color: black;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

input, textarea, button {
  width: 100%;
  padding: 0.75rem;
  margin: 0.5rem 0;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 1rem;
}

button {
  background: var(--blue);
  color: white;
  cursor: pointer;
  border: none;
}

button:hover {
  background: var(--blue-dark);
}

.dark-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: white;
  cursor: pointer;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.dark-toggle:hover {
  opacity: 0.7;
  transform: scale(1.2);
}

.nav-links li {
  padding: 0 10px;
  display: flex;
  align-items: center;
}



.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    background: var(--blue);
    border-radius: 10px;
  }
  .nav-links.active {
    display: flex;
  }
  .burger {
    display: flex;
  }
}