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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #1c1c1c;
  background-color: #f8f8f8;
}

/* Layout-Container */

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Header & Navigation */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo a {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #333333;
}

/* Desktop-Navigation */

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-nav a,
.submenu-toggle {
  text-decoration: none;
  color: #333333;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
}

.main-nav a:hover,
.main-nav a.active,
.submenu-toggle:hover {
  background: #e5f0ff;
}

/* Dropdown "Mehr" */

.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 2.2rem;
  right: 0;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  list-style: none;
  padding: 0.4rem 0;
  min-width: 180px;
  display: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.submenu li a {
  display: block;
  padding: 0.4rem 0.8rem;
}

.submenu li a:hover {
  background: #f0f4ff;
}

/* Mobile Menü Button */

.nav-toggle {
  display: none;
  font-size: 1.4rem;
  border: none;
  background: none;
  cursor: pointer;
}

/* Hero-Bereich */

.hero {
  background: linear-gradient(135deg, #ffffff, #edf5ff);
  padding: 3.5rem 0 3rem;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.hero p {
  max-width: 650px;
  margin-bottom: 1.5rem;
}

.button {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background: #496fe4;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.button:hover {
  background: #3656b9;
}

/* Intro & Teaser */

.intro-section {
  padding: 0 0 2rem;
}

.intro-section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.teaser-grid {
  padding: 0 0 3rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid article {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.grid h3 {
  margin-bottom: 0.5rem;
}

.text-link {
  display: inline-block;
  margin-top: 0.5rem;
  text-decoration: none;
  color: #496fe4;
}

.text-link:hover {
  text-decoration: underline;
}

/* Footer */

.site-footer {
  border-top: 1px solid #e0e0e0;
  padding: 1.5rem 0;
  background: #ffffff;
  margin-top: 2rem;
}

.footer-content {
  text-align: center;
  font-size: 0.9rem;
}

.footer-content a {
  color: #496fe4;
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

/* Responsives Design */

@media (min-width: 768px) {
  .hero {
    padding: 4rem 0 3.5rem;
  }

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

  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    width: 100%;
  }

  .main-nav.open {
    display: block;
    margin-top: 0.5rem;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .submenu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
  }
}
