:root {
  --primary: #006699;
  --secondary: #0099cc;
  --light-bg: #f5f5f5;
  --dark-text: #333;
  --max-width: 1200px;
}

body {
  font-family: 'Roboto', 'Helvetica Neue', 'Helvetica', sans-serif;
  color: var(--dark-text);
  background-color: #fff;
}

.title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: "Roboto", serif;
  font-style: normal;
}

h3.title {
  font-size: 2rem;
}

h4.title {
  font-size: 1.5rem;
}

/*todo*/
.visible-nav {
  background-color: rgba(244, 244, 244);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* navigation */
.custom-nav {
  transition: opacity 0.9s ease;
  padding: 0;
  background-color: rgba(219, 219, 219, 0.4);
  backdrop-filter: blur(8px); /* optional für Glass-Effekt */
  -webkit-backdrop-filter: blur(8px); /* für Safari */
  opacity: 0;
}

.custom-nav.scrolled {
  background-color: rgba(219, 219, 219, 0.4);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 1;
}

.navbar-brand {
  padding: 1;
}

.nav-logo {
  transition: filter 0.9s ease;
  width: auto; /* Breite: 30% der Bildschirmbreite */
  max-height: 100px; /* maximal 400px auf großen Bildschirmen */
  min-height: 20px; /* minimal 150px auf kleinen Geräten */
  height: 2vw;
}

.custom-nav-link,
.visible-nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.custom-nav-link a:hover,
.visible-nav-link a:hover {
  color: #666; /* leicht dunkler beim Hover */
}

/* hero logo */
.picture-content,
.hero-content {
  display: flex;
  justify-content: center;
}

.hero-logo {
  max-width: 400px; /* maximal 400px auf großen Bildschirmen */
  min-width: 150px; /* minimal 150px auf kleinen Geräten */
  height: auto;
  margin-right: 5;
}

.picture {
  min-width: 150px; /* minimal 150px auf kleinen Geräten */
  max-width: 1024px; /* maximal 400px auf großen Bildschirmen */
  height: auto;
  object-fit: cover;      /* Bild wird passend beschnitten */
  object-position: center;

}

.sub-picture {
  width: 100%;
  min-height: 50px;
  max-height: 600px;
  object-fit: cover;      /* Bild wird passend beschnitten */
  object-position: center;
}

/* section-leistungen */
.section-leistungen {
  display: flex;
  flex-direction: column;
}

.card {
  position: relative;
  max-height: 150px;
  min-height: 50px;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 15px;
}

.card img {
  width: 100%;
  min-height: 50px;
  object-fit: cover;      /* Bild wird passend beschnitten */
  object-position: center;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.overlay h3:hover {
  text-decoration: underline;
}
/* contact */
.contact-logo {
  max-height: 110px;
}

/* opening */
.table-container {
  display: flex;
  justify-content: center;
}

.opening-hours-table {
  max-width: 80%;
  min-width: 250px;
}

.opening-hours-table td {
  background-color: transparent;
  color: #333;
}

/* Linie nur für sichtbare Zeilen */
.opening-hours-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* footer */
footer {
  background-color: rgba(219, 219, 219, 0.3);;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px); /* für Glass-Effekt */
  -webkit-backdrop-filter: blur(8px); /* für Safari */

  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

/* overall */
a {
  color: #000000;
  text-decoration: none; /* Entfernt die Unterstreichung */
}

a:hover {
  color: #666;
  text-decoration: underline;
}

button {
  background-color: #333;
  color: rgb(252, 249, 242);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #555;
}

/* Für dunkle Designs (Dark Mode) */
@media (prefers-color-scheme: dark) {  
  .custom-nav,
  .custom-nav.scrolled {
    background-color: rgba(248, 248, 248, 0.5);
  }

  .visible-nav,
  footer {
    background-color: #ffffff;
  }
}


