body {
  font-family: 'Quicksand', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.visually-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hinweis {
  background-color: #EDB458;
  color: white;
  text-align: center;
  padding: 10px;
  font-weight: 600;
  font-size: 1em;
}

.header {
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  padding: 20px 40px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-container .logo {
  max-height: 200px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: #33658A;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.main-nav a:hover {
  background-color: #EDB458;
  color: white;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #33658A;
  transition: all 0.3s ease;
}

.header-call {
  text-align: right;
  padding: 5px 0 10px 0;
}

.header-call a {
  color: #33658A;
  font-weight: 600;
  text-decoration: none;
  font-size: 1em;
}

.header-call a:hover {
  text-decoration: underline;
}

.hero {
  background-color: #93B7BE;
  padding: 60px 20px;
  text-align: center;
}

.hero blockquote {
  font-style: italic;
  font-size: 1.5em;
  color: white;
  margin: 0;
}

.hero h1 {
  font-size: 2em;
  color: white;
  margin: 0;
}

.hero-sub {
  font-size: 1.1em;
  color: #fff;
  margin-top: 10px;
}

.hero-image {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.hero-image img {
  width: 25%;
  height: auto;
  display: block;
}

.services {
  padding: 60px 20px;
  background-color: white;
}

.services p,
.services ul,
.services h2 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-size: 1.05em;
  color: #333;
}

.services h2 {
  margin-top: 40px;
  color: #33658A;
  font-size: 1.4em;
  border-bottom: 2px solid #EDB458;
  padding-bottom: 8px;
}

.services ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 10px;
}

.services .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  text-align: center;
}

.service-box {
  flex: 1 1 250px;
  max-width: 300px;
}

.service-box img {
  width: 150px;
  height: auto;
  margin: 0 auto 20px auto;
  display: block;
}

.service-box h3 {
  font-size: 1.3em;
  color: #33658A;
  margin-bottom: 10px;
}

.service-box p {
  font-size: 1em;
  color: #444;
  text-align: left;
}

.container,
.heimhilfe-section,
.beratung-section,
main.container {
  padding: 20px;
}

.impressum {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  padding: 40px 20px;
}

.impressum h1,
.impressum h2 {
  text-align: center;
  color: #33658A;
}

.impressum ul {
  display: inline-block;
  text-align: left;
  margin: 20px auto;
}

.easter-trennlinie {
  border: none;
  border-top: 1px solid #eee;
  margin: 60px 0 30px 0;
}

.easter-egg {
  text-align: left;
  font-size: 0.85em;
  color: #999;
  line-height: 1.6;
}

.beratung-image img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 40px;
}

.beratung-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.6;
  color: #333;
}

.beratung-section h2 {
  margin-top: 40px;
  color: #33658A;
  font-size: 1.4em;
  border-bottom: 2px solid #EDB458;
  padding-bottom: 8px;
}

.heimhilfe-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.6;
  color: #333;
}

.heimhilfe-section h2 {
  margin-top: 40px;
  color: #33658A;
  font-size: 1.4em;
  border-bottom: 2px solid #EDB458;
  padding-bottom: 8px;
}

.heimhilfe-section ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 10px;
}

.heimhilfe-section li {
  margin-bottom: 8px;
}

.site-footer {
  background-color: #33658A;
  color: white;
  padding: 40px 20px 20px 20px;
  font-size: 0.95em;
}

.footer-inner-slim {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-title {
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: lowercase;
  letter-spacing: 0.5px;
}

.footer-subtitle {
  margin-top: 0;
  color: #e0e8ef;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.85em;
  opacity: 0.8;
}

.site-footer a,
.site-footer a:visited {
  color: #ffffff;
  text-decoration: none;
}

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

.kontakt-form label {
  font-weight: 600;
  color: #33658A;
}

.kontakt-form input,
.kontakt-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Quicksand', sans-serif;
  font-size: 1em;
  width: 100%;
}

.kontakt-form button {
  background-color: #33658A;
  color: #ffffff;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Quicksand', sans-serif;
  font-size: 1em;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.kontakt-form button:hover {
  background-color: #EDB458;
}

@media (max-width: 768px) {

  .header {
    padding: 12px 16px 0;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .logo-container .logo {
    max-height: 100px;
  }

  .hamburger {
    display: flex;
  }

  .main-nav {
    width: 100%;
    order: 3;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }

  .main-nav ul.open {
    display: flex;
  }

  .main-nav a {
    display: block;
    padding: 12px 16px;
    border-radius: 0;
    border-bottom: 1px solid #eee;
    font-size: 1em;
  }

  .header-call {
    display: none;
  }

  .hero {
    padding: 30px 16px;
  }

  .hero blockquote {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .hero-image img {
    width: 60%;
  }

  .services {
    padding: 30px 16px;
  }

  .service-box {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .footer-inner-slim {
    gap: 16px;
  }

  .footer-brand,
  .footer-contact,
  .footer-nav {
    padding: 0;
    margin: 0;
  }

  body {
    font-size: 16px;
  }
}