/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%; /* Ensure the body and html take the full height */
}

body {
  /*font-family: Arial, sans-serif;*/
  /*font-family: Arial, Helvetica, Geneva, Sans-serif;*/
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  background: linear-gradient(to bottom, #008ba1, white); 
  display: flex;
  flex-direction: column; /* Use flexbox for layout */
  min-height: 100vh; /* Ensure the body takes at least the full viewport height */
}

h1, h2, h3, .menu, .footer-title-block {
  /*font-family: 'Montserrat', sans-serif;*/
}

@media (max-width: 768px) {
  #home-title {
    font-size: 150%;
  } 
}

h2 {
    margin-top: 2%;
}

@media (max-width: 768px) {
  h2 {
    margin-top: 10%;
  }
}

.container {
  width: 90%;
  margin: 0 auto;
}

header {
  background: #f4f4f4;
  /*padding: 20px 0;*/
  text-align: center;
}

header img {
  max-width: 100%;
  height: auto;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  margin: 10px;
}

.hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background: #fff;
  margin: 5px 0;
}

nav {
  background: #007f96;
  text-transform: uppercase;
  font-weight: 100;
}

.nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 10px 0;
  letter-spacing: 0.2em;
  box-shadow: color-mix(in srgb, rgb(0, 0, 0) 30%, transparent) 0 1px 2px 0, color-mix(in srgb, rgb(0, 0, 0) 15%, transparent) 0 2px 6px 2px;
}

.nav-list li {
  margin: 0 10px;
  position: relative;
}

.nav-list a {
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  display: block;
  font-size: large;
}

.nav-list a:hover {
  /*background-color: #575757;*/
  background-color: #005261;
}

.nav-list li a.active {
  font-weight: 900;
  text-shadow: 0 0 13px #a90909;
}

/* Submenu */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  /*background-color: #333;*/
  background-color: #007f96;
  list-style: none;
  padding: 0;
}

.submenu li {
  width: 100%;
}

h1 {
    /*margin-bottom: 1% !important;*/
}
h1.beitraege {
  margin-left: -1%;
}
h2.home {
    margin-left: 8%;
}

.submenu a {
  padding: 10px;
  white-space: nowrap;
}

.nav-list li:hover .submenu {
  display: block;
}

/* Active class for mobile */
.nav-list.active {
  display: flex; /* When active, make sure it's displayed */
}

.center-title {
  text-align: center;
  margin: 0 auto;
}

/* Main Content */
main {
  flex: 1; /* Allow main to take the remaining space */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  background: linear-gradient(to bottom, #a7d9e1, white); /* Linear gradient from #a7d9e1 to white */
}

.intro {
  text-align: left;
  max-width: 600px;
  margin-bottom: 20px;
  width: 90%;
  margin-left: -6%;
}

aside img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
}

/* Centering Text */
.center-text {
  display: flex;
  flex-direction: column;
  /*align-items: center;*/
  justify-content: center;
}

.center-text a {
  font-weight: bold;
  font-size: 1.1em;
  color: #0077cc;
}

.kontakt-info span, .center-text span {
  font-weight: bold;
  font-size: 1.1em;
  color: #0077cc;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 768px) {
  .center-text {
    margin-left: 0%;
  }
}

.center-text {
  margin-left: 8%;
}

footer {
  width: 100%; /* Full width */
  /*background: #f4f4f4;*/
  /*padding: 10px 0;*/
  text-align: center;
  margin-top: auto; /* Push footer to the bottom if the content is small */
}

footer a {
  color: #333;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

p {
  padding-top: 20px;
  margin-top: revert;
  box-sizing: border-box;
  flex: 1;
  /*padding: 10px;*/
  border-radius: 50px;
  text-align: justify;
}

p.vorstand {
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1100px) {
  .nav-list {
    flex-direction: column;
    display: none; /* Initially hidden on smaller screens */
  }

  .nav-list.active {
    display: flex; /* Show when active */
  }

  .nav-list li {
    width: 100%; /* Ensure each list item takes full width */
  }

  .submenu {
    position: static; /* Remove absolute positioning for mobile */
    display: none;
    background-color: #007f96; /* Same background as the nav */
  }

  .nav-list li:hover .submenu {
    display: block;
    padding-left: 20px; /* Add padding to make the submenu distinguishable */
  }

  .submenu a {
    padding-left: 20px; /* Ensure submenu links have padding */
  }

  .hamburger {
    display: block; /* Show hamburger on mobile */
  }

  aside img {
    margin-bottom: 0;
  }

  main {
    flex-direction: column;
    align-items: center;
    /*margin-left: -4%;*/
    width: 100%;
  }
}

@media (min-width: 769px) {
  main {
    flex-direction: column;
    align-items: center;
  }

  .intro {
    text-align: left;
    /*margin-left: -2.7%;*/
    width: 65%;
    max-width: 100%;
    box-sizing: border-box;
  }

  aside img {
    margin-bottom: 20px;
  }
}

#bottom-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 15px 10px;
  background-color: #f0f0f0;
  font-size: 16px;
  border-top: 1px solid #ccc;
  text-align: center;
}

#bottom-menu a {
  text-align: center;
  padding: 5px 10px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.bottom-title {
  width: 100%;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: -50px;
  color: #333;
}

/* Мобильная адаптация */
@media (max-width: 600px) {
  #bottom-menu {
    flex-direction: column;
    font-size: 15px;
  }

  .bottom-title {
    font-size: 15px;
    margin-bottom: 8px;
  }
}

.kontakt-info p {
  text-align: center;
}

#termine-container {
    margin-left: 4%;
    width: 100%;
}

@media (min-width: 600px) {
    #termine-container {
        margin-left: 4.8%;
    }
}
@media (min-width: 1900px) {
    .termine p {
        width: 32%;
        margin-left: 34%;
    }
}
.termine p {
  letter-spacing: 0.2em;
  text-align: center;
}
.termine .next {
  background-color: #007f96;
  color: white;
  box-shadow: color-mix(in srgb, rgb(0, 0, 0) 30%, transparent) 0 1px 2px 0, color-mix(in srgb, rgb(0, 0, 0) 15%, transparent) 0 2px 6px 2px;
  /*font-weight: 900;*/
  padding: 10px;

}

.history {
    opacity: 33%;
    padding: 10px;
}

.datenschutz {
    max-width: 1000px;  /* или 1200px – подбери по вкусу */
    margin: 0 auto;
    padding: 1rem;
    font-size: 1.1rem;  /* по желанию: чуть крупнее шрифт */
    line-height: 1.6;   /* более читаемый текст */
}

.bullet {
  /*line-height: 1px;*/
  margin-bottom: -30px;
  margin-top: 1px;
}

span.bold {
  font-weight: 900 !important;
}

.next .bold {
  background: #c9c900;
  /*border-radius: 15px;*/
  color: black;
}
.medien img {
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

.image-row {
  display: flex;
  justify-content: center;
  gap: 1rem; /* расстояние между картинками */
  flex-wrap: wrap; /* картинки переходят на новую строку при малой ширине */
  margin-top: 2rem;
}

.image-row img {
  max-width: 100%;
  height: auto;
  width: 20%; /* или фиксированная ширина, например 300px */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

strong.extra {
  letter-spacing: 0.3em;
  color: black;
  /*font-size: 100%;*/
}
/*strong.price {
  font-size: xx-large;
}
*/
.price {
  position: relative;
  font-weight: bold;
  font-size: 1.4rem;
  color: #222;
  z-index: 1;
  padding: 0.2em 0.6em;
}

.price::before,
.price::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1.2em;
  background: #c9c900;
  border-radius: 40% 60% 50% 30% / 30% 40% 60% 50%; /* неровный край — как мазок */
  z-index: -1;
  filter: blur(1px);
  transform: rotate(-12deg);
}

.price::before {
  top: 0.1em;
}

.price::after {
  top: 0.6em;
  background: rgba(255, 241, 118, 0.6); /* второй мазок — чуть светлее и ниже */
  transform: rotate(2deg);
}

.price-with-strokes {
  position: relative;
  display: inline-block;
  padding: 0.2em 0.6em;
}

.price-with-strokes .stroke {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  filter: blur(1px);
  pointer-events: none;
}

.price-with-strokes .stroke1 {
  transform: translateY(-6px) rotate(-2deg);
}

.price-with-strokes .stroke2 {
  transform: translateY(6px) rotate(3deg);
}

.price-with-strokes .price {
  position: relative;
  font-size: 1.4rem;
  font-weight: bold;
  color: #222;
  z-index: 1;
}
.price-with-strokes {
  position: relative;
  display: inline-block;
  padding: 0.2em 0.6em;
}

.price-with-strokes .stroke {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  filter: blur(1px);
  pointer-events: none;
}

.price-with-strokes .stroke1 {
  transform: translateY(-6px) rotate(-2deg);
}

.price-with-strokes .stroke2 {
  transform: translateY(6px) rotate(3deg);
}

.price-with-strokes .price {
  position: relative;
  font-size: 1.4rem;
  font-weight: bold;
  color: #222;
  z-index: 1;
}
