/* styles.css */

/* Basis-Stile */
body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #fff;
  color: #222;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  background-color: #fff;
  border-bottom: 2px solid #eee;
}

header a {
  display: inline-block;
  text-decoration: none;
}

header {
  justify-content: space-between;
  flex-wrap: wrap;
}

.ortshinweis {
  font-size: 1.2rem;
  font-weight: bold;
  margin-left: 1rem;
  flex-grow: 1;
}

.mobile-tel a {
  font-size: 1rem;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
}


header .logo {
  display: block; /* oder inline-block je nach Layout */
  height: auto;
  max-width: 350px;
  width: 350px;
}


nav {
  background: #fff;
  text-align: center;
  padding: 1rem 0;
  border-top: 2px solid #eee;
}

nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

nav a.active {
  text-decoration: underline;
}

main {
  padding: 2rem 2rem;
  max-width: 800px;
  margin: auto;
}

.hero h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.intro h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.5rem;
}

h1 {
  font-size: 2.2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #222;
  line-height: 1.2;
}

h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.5rem;
  color: #333;
}

h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: #444;
}

h4 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #555;
  font-weight: normal;
}

.subline {
  text-align: center;
  font-style: italic;
  font-size: 1.1rem;
  color: #8bba34;
  margin-bottom: 3rem;
  margin-left: 0.5em;
  margin-right: 0.5em;
}

.intro p {
  margin-bottom: 1rem;
}

.tel {
  color: #8bba34;
  font-weight: bold;
}

.zeiten h2,
.kontakt h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

table th,
table td {
  text-align: left;
  padding: 0.5rem;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

table th {
  font-weight: bold;
  width: 40%;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #777;
  border-top: 2px solid #eee;
  margin-top: 4rem;
}
a {
  color: #8bba34;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

a:hover {
  text-decoration: underline;
}

.mobile-tel {
  display: none;
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.mobile-tel a {
  color: #8bba34;
  text-decoration: none;
  font-weight: bold;
}

.ortshinweis {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 0.0rem;
  margin-bottom: 1.0rem;
  color: #333;
}

.google-review {
  margin: 3rem auto;
}

.google-review h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.google-review p,
.google-button {
  text-align: left;
  display: block;
}

.google-button {
  background-color: #8bba34;
  color: white;
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  font-weight: bold;
  border-radius: 5px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.google-button:hover {
  background-color: #739a2a;
  text-decoration: underline;
}

.intro .menu-hinweis {
  margin-bottom: 0.3rem;
}

.menu-button {
  display: inline-block;
  margin: 1em 0;
  padding: 0.7em 1.4em;
  background-color: #8bba34;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.menu-button:hover {
  background-color: #739a2a;
}



/* Responsive Anpassungen */
@media (max-width: 600px) {
  .logo {
    max-width: 300px;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  h1 {
    font-size: 1.7rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.15rem;
  }

  h4 {
    font-size: 1rem;
  }  
  .subline {
    font-size: 1rem;
  }

  main {
    padding: 2rem 2rem;
    flex: 1;

  }
  
  .mobile-tel {
    display: block;
  }

  header {
    flex-direction: column;
  }

  nav {
    order: 2;
    margin-top: 2rem;
  }

  footer {
    order: 3;
  }

  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  footer, header, nav {
    flex-shrink: 0;
  }


}

