/* ===================== Allgemein ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Inter', sans-serif;
  height: 100%;
  scroll-behavior: smooth;
  background-color: #163a41c4;
  overflow-x: hidden;
}

/* ===================== Hintergrundvideo ===================== */
.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* ===================== Navigation ===================== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  z-index: 1000;
  padding: 14px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
}

nav a {
  text-decoration: none;
  font-weight: 600;
  color: #222;
  font-size: 16px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #0077cc;
}

/* ===================== Overlay Wrapper ===================== */
.overlay {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 100px 20px 60px;
  max-width: 1200px;
  margin: 80px auto 0;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  position: relative;
}

/* ===================== Logo & Kreise ===================== */
.logo-box {
  text-align: center;
  margin-bottom: 50px;
}

.logo {
  max-width: 500px;
  height: auto;
  margin-bottom: 40px;
}

.circle-container {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  animation: fadeIn 1.2s ease-in;
}

.circle, .square {
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background-color: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.circle img, .square img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 12px;
  transition: transform 0.3s;
}

.circle span, .square span {
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

.circle:hover, .square:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.circle:hover img, .square:hover img {
  transform: scale(1.1);
}

/* ===================== Inhalt ===================== */
main {
  padding: 40px 0;
  text-align: center;
}

h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #111;
}

p, li {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}

ul {
  list-style: none;
  padding-left: 0;
}

/* ===================== Footer ===================== */
footer {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #555;
}

/* ===================== Kontakt ===================== */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: space-between;
  align-items: center;
  margin-top: 80px;
}

.contact-left {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.contact-left h2 {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
}

.contact-left p {
  font-size: 18px;
  line-height: 1.5;
}

.contact-right {
  flex: 1;
  min-width: 320px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form label {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
  color: #111;
}

.name-fields {
  display: flex;
  gap: 12px;
}

.name-fields input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border-radius: 20px;
  border: 1px solid #ccc;
  font-size: 16px;
  width: 100%;
  background: #f9f9f9;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0077cc;
  outline: none;
  background: #fff;
}

.contact-form button {
  align-self: flex-start;
  padding: 12px 28px;
  background-color: #0077cc;
  color: white;
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #005fa3;
}

/* ===================== Info Block ===================== */
.info-block {
  padding: 60px 20px;
  margin-top: 40px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================== Google Map ===================== */
#map {
  text-align: center;
  margin: 80px auto;
  padding: 0 20px;
}

#map h2 {
  font-size: 32px;
  margin-bottom: 24px;
  color: #111;
}

.map-container {
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border-radius: 12px;
  overflow: hidden;
}

/* ===================== Buttons ===================== */
.button-link, .back-button {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 24px;
  background-color: #0077cc;
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}
.button-link:hover, .back-button:hover {
  background-color: #005fa3;
}

/* ===================== Flyer ===================== */
.flyer-button {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: #ff6600;
  color: white;
  padding: 14px 24px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  z-index: 9999;
  transition: background 0.3s ease;
}
.flyer-button:hover {
  background: #e65500;
}

.flyer-popup {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  box-sizing: border-box;
  overflow: auto;
}

.flyer-popup-content {
  background-color: #fff;
  border-radius: 14px;
  padding: 20px 10px;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease;
}

.close-btn {
  position: sticky;
  top: 10px;
  right: 10px;
  font-size: 30px;
  color: #333;
  background: transparent;
  border: none;
  float: right;
  cursor: pointer;
  z-index: 10001;
}
.close-btn:hover {
  color: #ff3300;
}

.flyer-images {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.flyer-images img {
  max-width: 30%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* ===================== Responsive ===================== */
@media (max-width: 768px) {
  .circle-container {
    gap: 30px;
  }

  .circle, .square {
    width: 200px;
    height: 200px;
  }

  .circle img, .square img {
    width: 120px;
    height: 120px;
  }

  .square span, .circle span {
    font-size: 14px;
  }

  .contact-section {
    flex-direction: column;
    gap: 40px;
  }

  .contact-left h2 {
    font-size: 32px;
  }

  .flyer-images img {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .overlay {
    padding: 80px 10px 40px;
    margin-top: 100px;
  }

  .logo {
    max-width: 250px;
    margin-bottom: 20px;
  }

  .circle-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .circle, .square {
    width: 220px;
    height: 220px;
    padding: 16px;
  }

  .circle img, .square img {
    width: 120px;
    height: 120px;
  }

  .circle span, .square span {
    font-size: 14px;
  }

  h2 {
    font-size: 22px;
  }

  p, li {
    font-size: 14px;
  }

  .contact-left h2 {
    font-size: 26px;
  }

  .contact-left p {
    font-size: 16px;
  }

  .name-fields {
    flex-direction: column;
    gap: 10px;
  }

  .contact-form button {
    width: 100%;
    text-align: center;
  }

  .flyer-button {
    padding: 12px 18px;
    font-size: 14px;
    bottom: 20px;
    left: 20px;
  }

  .flyer-images {
    flex-direction: column;
    gap: 12px;
  }

  .flyer-images img {
    max-width: 100%;
  }

  .adresse-block {
    font-size: 14px;
    padding: 0 10px;
  }

  .map-container iframe {
    height: 300px;
  }
}
/* ===================== Dropdown (Select) Styling ===================== */
.contact-form select {
  padding: 12px 16px;
  border-radius: 20px;
  border: 1px solid #ccc;
  font-size: 16px;
  width: 100%;
  background: #f9f9f9;
  transition: border-color 0.3s;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath fill='%23666' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
}

.contact-form select:focus {
  border-color: #0077cc;
  outline: none;
  background: #fff;
}

