/* ===========================
  HEADER
   =========================== */

/* Header */
header  {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-family: 'Inter', sans-serif;
  width:90%;
  margin: 0 auto;
  
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-title h1 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
  color: #000;
  text-shadow: none;
  text-decoration: none;
  text-transform: none;
  font-weight: 500;
}

h1 a,
h1 a:visited,
h1 a:hover,
h1 a:focus,
h1 a:active {
  text-decoration: none;
  color: inherit;
}

/* Navigation */
.navbar {
  background: #f9f9f9;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}



.navbar a {
  font-size: 1rem;
  font-weight: 500;
  color: #000;
  text-decoration: none;
}

.navbar a:hover {
 text-decoration: underline;
  text-decoration-thickness: 2px;
    text-decoration-color: #000;
}

/* ===========================
  Body
   =========================== */

/* Body-Stil */
body {
  margin: 0.5rem 2rem 1rem 2rem;
  background-color: #f9f9f9;
  color: #111;
  line-height: 1.7;
   font-size: 1.1rem;
     font-size: 1.1rem;
   font-family: 'Inter', sans-serif;
}

main {
 width: 70%;
  margin: 0 auto;
}

/* Überschriften & Text */
body h2 {
  font-size: 1rem;
  font-weight: 300;
margin-top: 2rem;
margin-bottom: 0rem;
  font-family: 'Inter', serif;
    font-size: 1.8rem;
  color: #222;
  text-transform: none;
}

h2::before {
  content: "";
  display: block;
  width: 60px;     
  height: 1px;
  background-color: #ccc;
  margin: 2rem auto 1rem auto;
}


button {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background-color: #636363;
}

.btn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 2rem auto;
  max-width: 800px;
}

.footer-logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-family: 'Inter', sans-serif;
  width:90%;
  margin: 0 auto;
}

.blog-entry {
  text-indent: -2.5rem;   /* hebt erste Zeile nach links */
  padding-left: 2.5rem;   /* rückt alle Zeilen ein */
  line-height: 1.6;
  max-width: 60ch;        /* optional für bessere Lesbarkeit */
}
.blog-date {
  color: #555;
  font-weight: 400;
  font-size: 1rem;
  font-family: serif;
}

    
    .fehler {
      color: red;
      margin-top: 1rem;
    }

img {
  border-radius: 20px;
   max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer-wrapper {
  font-size: 0.9rem;
  padding: 2rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start; /* sorgt für gleiche Höhe */
  font-family: 'Inter', sans-serif;
  width: 90%;
  margin: 0 auto;
}

.footer-left,
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

footer a, footer p {
  font-size: 1rem;
  font-weight: 350;
  color: #777;
  text-decoration: none;
}

.navbarfooter {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  text-decoration: underline;
}

.burger {
  padding: 1.5rem;
  font-size: 1.5rem;
  color: #000;
  cursor: pointer;
  user-select: none;
  display: none;
}

.kontakt {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

form p {
  margin-bottom: 1rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}





/* Responsive Anpassungen */
@media screen and (max-width: 780px) {
  
  header {
    align-items: flex-start;
      width:100%;
  margin: 0 auto;
  }


.footer-wrapper {
    align-items: flex-start;
      width: 95%;
  margin: 0 auto;
  }
  
  header h1 {
    font-size: 1.5rem;
  }

  .burger {
  display: block;

  }

 .navbar {
     display: none;
    flex-direction: column;
    width: 100%;
    padding-top: 1rem;
    background-color: #fff; 
    border-radius: 20px;
    text-align: center;

  }

  .navbar.show {
    display: flex;
        width:60%;
  margin: 0 auto;

  }


  body {
  margin: 0.5rem 0.5rem 0rem 0.5rem;
  }

  main {
   width: 95%;
  margin: 0 auto;
  }

}


