:root {
  --lime: #9ad13a;
  --black: #0a0a0a;
  --dark: #161616;
  --text: #e8e8e8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--black);
  color: var(--text);
  scroll-behavior: smooth;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 2rem;
  background: rgba(10, 10, 10, 0.9);
  border-bottom: 1px solid var(--lime);
  z-index: 100;
}

.nav-logo {
  height: 42px;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--lime);
}

.nav-dropdown {
  display: inline-block;
  position: relative;
  margin-left: 1.5rem;
}

.nav-dropdown-toggle {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-dropdown-toggle:hover {
  color: var(--lime);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--dark);
  border: 1px solid var(--lime);
  border-radius: 6px;
  min-width: 180px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  color: var(--lime);
  background: rgba(154, 209, 58, 0.08);
}

section {
  padding: 6rem 2rem 4rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero {
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at center, var(--dark) 0%, var(--black) 70%);
}

.hero-logo {
  width: 220px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--lime);
  margin-bottom: 0.5rem;
}

.hero .subline {
  font-size: 1.1rem;
  color: var(--text);
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.hero .tagline {
  font-size: 1.2rem;
  color: var(--text);
  opacity: 0.8;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background: var(--lime);
  color: var(--black);
  font-weight: 700;
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s, background 0.15s;
}

.btn:hover {
  background: #b3e84e;
  transform: translateY(-2px);
}

.about {
  flex-direction: row;
  align-items: center;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.about-photo img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--lime);
}

.about-text h2 {
  color: var(--lime);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.about-text p {
  line-height: 1.6;
  max-width: 500px;
}

.kurse {
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.kurse h2 {
  color: var(--lime);
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.kurse-intro {
  margin-bottom: 2.5rem;
  opacity: 0.8;
}

.nuetzliches {
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.nuetzliches h1 {
  color: var(--lime);
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.nuetzliches-intro {
  margin-bottom: 2.5rem;
  opacity: 0.8;
}

.nuetzliches-block {
  background: var(--dark);
  border: 1px solid #2a2a2a;
  border-left: 4px solid var(--lime);
  border-radius: 8px;
  padding: 1.8rem;
  margin-bottom: 1.8rem;
  width: 100%;
}

.nuetzliches-block h2 {
  color: var(--lime);
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

.nuetzliches-block p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.nuetzliches-liste {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.nuetzliches-liste a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.nuetzliches-liste a:hover {
  color: var(--lime);
}

.kurs-karte {
  background: var(--dark);
  border: 1px solid #2a2a2a;
  border-left: 4px solid var(--lime);
  border-radius: 8px;
  padding: 1.8rem;
  margin-bottom: 1.8rem;
  width: 100%;
}

.kurs-karte h3 {
  color: var(--lime);
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

.kurs-karte p {
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.kurs-karte ul {
  margin: 0.5rem 0 0.8rem 1.2rem;
  line-height: 1.6;
}

.kurs-karte details {
  margin-top: 1rem;
}

.kurs-karte summary {
  cursor: pointer;
  color: var(--lime);
  font-weight: 600;
  margin-bottom: 1rem;
}

.kurs-karte h4 {
  color: var(--lime);
  margin: 1rem 0 0.4rem;
}

.kontakt {
  align-items: center;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.kontakt h2 {
  color: var(--lime);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.kontakt p {
  margin-bottom: 2rem;
  opacity: 0.85;
}

.kontakt form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.kontakt input,
.kontakt textarea {
  background: var(--dark);
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 0.8rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.kontakt input:focus,
.kontakt textarea:focus {
  outline: none;
  border-color: var(--lime);
}

footer {
  text-align: center;
  padding: 1.5rem;
  background: var(--dark);
  border-top: 1px solid var(--lime);
  font-size: 0.85rem;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .about {
    flex-direction: column;
    text-align: center;
  }

  .about-text p {
    max-width: 100%;
  }

  .nav-links a {
    margin-left: 0.8rem;
    font-size: 0.85rem;
  }
}
