/* === Reset & Basics === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Comic Sans MS","Times New Roman", Times, serif; /* Arial, sans-serif;*/
}

html,
body {
  height: 100%;
}


body {
  line-height: 1.6;
  color: #333;
  background: url("images/hintergrund.jpg") no-repeat center center fixed;
  background-size: cover;
  padding: 0 1rem;
  font-weight: bold; /* <=== Hier alles fett */
}

.page-wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* === Header & Navigation === */
.logo-link {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

.logo {
  height: 150px;
  width: auto;
  display: block;
}

.site-header {
  background: transparent;
  padding: 1rem;
  border-bottom: none;
  box-shadow: none;
  position: static;
  top: auto;
  z-index: auto;
  display: flex;
  justify-content: center;
  border-radius: 0;
  margin: 0;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 1.3rem; /* Größer als Standard */
  padding: 0.6rem 1.2rem; /* Etwas mehr Abstand */
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
/* Farben NAV Menü */
.main-nav a:nth-child(2) {
  color: green; /* Praxis – beruhigendes Grün */
  /*font-family: "Comic Sans MS","Times New Roman", Times, serif; /* Arial, sans-serif;*/

}

.main-nav a:nth-child(3) {
  color: blue; /* Zur Person – ruhiges Blau */
}

.main-nav a:nth-child(4) {
  color: violett; /* Therapieangebot – warmes Violett */
}

.main-nav a:nth-child(5) {
  color: orange; /* Kostenübernahme – erdiges Orange */
}

.main-nav a:nth-child(6) {
  color: red; /* Kontakt – weiches Rot */
}

.main-nav a:hover,
.main-nav a:focus {
  background: #6db3a0;
  color: #fff;
  outline: none;
}

/* === Neuer Main Bereich: Bilder links, Text rechts === */
.content-flex {
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 250px; /* Bereich links maximal 250px breit */
}

.left img {
  width: 100%;        /* Bild passt sich der Breite von .left an */
  max-width: 250px;   /* Bild maximal 200px breit */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.right {
  flex: 2;
  min-width: 300px;
}

.right h1 {
  color: #2f7263;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;

}

.right h2 {
  color: #555;
  font-weight: normal;
  margin-bottom: 1rem;
}

.right p {
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: 1rem;
  text-align: justify; /* Blocksatz */
}

/* === Footer === */
footer {
  background: rgba(241, 241, 241, 0.2);
  padding: 0.25rem 2rem;
  width: 85vw;         /* 85% der Viewport-Breite */
  max-width: none;     /* keine max-width mehr */
  margin: 1rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 12px;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(4px);
  height: auto;
  gap: 1rem;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  max-width: 100%;  /* passt sich jetzt der Breite des Footers an */
}

.footer-column {
  flex: 1;
  min-width: 220px;
  margin-bottom: 0.75rem; /* etwas weniger Abstand unten */
}

.footer-column p,
.footer-column small {
  font-size: 0.95rem;
  line-height: 1.4; /* leicht reduziert */
}

footer a {
  color: #007bff;
  text-decoration: none;
}

footer a:hover,
footer a:focus {
  text-decoration: underline;
  outline: none;
}

/* === Focus Style für Barrierefreiheit === */
a:focus {
  outline: 2px dashed #007bff;
  outline-offset: 2px;
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .main-nav {
    flex-direction: column;
    align-items: center;
  }

  .content-flex {
    flex-direction: column;
    margin: 1rem auto;
    padding: 0 1rem;
  }



  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-column {
    margin-bottom: 1rem;
  }
}
