/* Allgemeine Einstellungen */
html {
  font-size: 112.5%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

/* Überschriften */
h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

/* Header */
header {
  background: linear-gradient(90deg, #00D0B4, #5B4EFF);
  padding: 1.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
header .logo img {
  height: 4.5rem;
}
header nav {
  display: flex;
  gap: 1.5rem;
}
header nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  font-size: 1rem;
  transition: color 0.3s ease;
}
header nav a::after {
  content: "";
  display: block;
  width: 0;
  height: 0.125rem;
  background: white;
  transition: width 0.3s;
}
header nav a:hover::after {
  width: 100%;
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 12rem;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown-content a {
  color: black;
  padding: 0.75rem 1rem;
  text-decoration: none;
  display: block;
  font-size: 1rem;
}
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Hero-Section */
.hero {
  background: linear-gradient(135deg, #5B4EFF, #00D0B4);
  color: white;
  text-align: center;
  padding: 4rem 1rem;
}
.hero h1 { font-size: 3rem; }
.hero p { font-size: 1.25rem; margin-bottom: 2rem; }
.hero a {
  display: inline-block;
  background: white;
  color: #5B4EFF;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 1.25rem;
}
.hero a:hover {
  background: #f0f0f0;
}

/* Leistungen */
.leistungen {
  background: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
}
.leistungen ul {
  list-style: none;
  padding: 0;
}
.leistungen li {
  margin: 1rem 0;
  font-size: 1.25rem;
  text-align: left;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.leistungen h2 {
  text-align: center;
  font-size: 2.75em;
  margin-bottom: 60px;
  color: #003366;
}
.leistung-kategorie {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 30px 25px;
  margin: 0 auto 40px;
  max-width: 800px;
}
.leistung-kategorie h3 {
  display: flex;
  align-items: center;
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #333;
}
.leistung-kategorie h3::before {
  content: "♦";
  color: #00D0B4;
  font-size: 1.2em;
  margin-right: 10px;
  transform: translateY(2px);
}
.leistung-kategorie ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.leistung-kategorie li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  font-size: 1.15em;
  line-height: 1.5;
  color: #555;
}
.leistung-kategorie li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #5B4EFF;
  font-size: 1.2em;
  line-height: 1;
}

/* Kontaktformular */
.kontaktformular {
  padding: 4rem 1rem;
  text-align: center;
}
.kontaktformular form {
  display: flex;
  flex-direction: column;
  max-width: 28rem;
  margin: 0 auto;
}
.kontaktformular input,
.kontaktformular select,
.kontaktformular button {
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
}
.kontaktformular button {
  background-color: #5B4EFF;
  color: white;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease-in-out;
}
.kontaktformular button:hover {
  background-color: #3b2d8b;
  transform: scale(1.02);
}

/* Kontaktbereich */
.kontaktbereich {
  padding: 4rem 1rem;
  text-align: center;
}
.kontaktbereich p {
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  font-size: 1.125rem;
}
.kontakt-list {
  list-style: none;
  padding: 0;
  max-width: 40rem;
  margin: 0 auto;
  text-align: left;
}
.kontakt-list li {
  margin: 0.75rem 0;
  font-size: 1.125rem;
}
.kontakt-list a {
  color: #5B4EFF;
  text-decoration: none;
}
.kontakt-list a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: #f9f9f9;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 1rem;
  color: #555;
}
footer a {
  color: #5B4EFF;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
  header { flex-direction: column; }
  header nav { flex-direction: column; gap: 1rem; margin-top: 1rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1.125rem; }
  .leistungen h2 { font-size: 2.2em; margin-bottom: 40px; }
  .leistung-kategorie { padding: 20px; margin-bottom: 30px; }
  .leistung-kategorie h3 { font-size: 1.3em; }
  .leistung-kategorie li { font-size: 1em; }
}
@media (max-width: 480px) {
  html { font-size: 125%; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .leistungen { padding: 50px 10px; }
  .leistung-kategorie { padding: 15px; }
  .leistung-kategorie h3 { font-size: 1.15em; }
  .leistung-kategorie li { font-size: 0.95em; }
  .leistungen li, .kontaktformular input, .kontaktbereich li {
    font-size: 1rem;
  }
}

/* Impressum-Container */
.impressum-container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  color: #333;
  font-size: 1.05rem;
  line-height: 1.7;
}
.impressum-container h1,
.impressum-container h2 {
  color: #333;
  text-align: center;
}
.impressum-container a {
  color: #5B4EFF;
  text-decoration: none;
}
.impressum-container a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .impressum-container {
    padding: 1.5rem;
    margin: 2rem 1rem;
    font-size: 1rem;
    line-height: 1.6;
  }

  .impressum-container h1 {
    font-size: 1.75rem;
  }

  .impressum-container h2 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
  }

  .impressum-container ul {
    padding-left: 1.2rem;
  }

  .impressum-container li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
}

