/* --- FARBEN --- */
:root {
  --green: #125b55;
  --light-green: #e8f3f2;
  --text-dark: #222;
  --text-light: #555;
}

/* --- GLOBAL --- */
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", Arial, sans-serif;
  background: #fafafa;
  color: var(--text-dark);
}

h1, h2, h3, h4 {
  font-family: "Inter", Arial, sans-serif;
  margin-top: 0;
}

h1 {
  font-size: 2.2rem;
  color: var(--green);
}

h2 {
  font-size: 1.8rem;
  color: var(--green);
}

p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  background: var(--green);
  padding: 0.7rem 1.4rem;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #0e4946;
}

/* --- SUCHE & FILTER --- */
.provider-search {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
}

.provider-search select,
.provider-search input {
  padding: 0.6rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* --- SEITENABSTAND --- */
main {
  margin-top: 2rem;
}
/* --- CONTAINER --- */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* --- NAVIGATION --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #ffffff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar .logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #125b55;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  font-size: 1rem;
}

.nav-links a:hover {
  color: #125b55;
}

/* Mobile Navigation */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
}

/* --- FOOTER --- */
.site-footer {
  background: #125b55;
  color: #ffffff;
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-section h4,
.footer-section h3 {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: #ffffff;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #ffffff;
    padding: 1rem;
    border-top: 1px solid #eee;
  }

  .hamburger {
    display: block;
  }
}
/* --- GRID LAYOUT FÜR DIENSTLEISTER-KARTEN --- */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* --- KARTEN-DESIGN --- */
.provider-card {
  background: #ffffff;
  padding: 1.4rem 1.6rem;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.provider-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
}

.provider-card h4 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
  color: #125b55;
}

.provider-card p {
  margin: 0.25rem 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.provider-card a {
  color: #125b55;
  text-decoration: none;
}

.provider-card a:hover {
  text-decoration: underline;
}

/* Abschnittsüberschriften */
.category-section > h2 {
  margin-top: 3rem;
  color: #125b55;
  font-size: 1.8rem;
}

.category-section > p {
  margin-top: 0.3rem;
  margin-bottom: 1.2rem;
  font-size: 1rem;
  color: #444;
}
