/*body::before {
  content: "demo version";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  font-size: 6rem;
  color: rgba(0, 0, 0, 0.1);
  font-weight: bold;
  pointer-events: none;
  user-select: none;
  z-index: 9999;
  white-space: nowrap;
}
*/
/* Base Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f8f8f8;
  color: #333;
}
#menu-toggle {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
}

h1, h2 {
  margin-top: 0;
}

a {
  color: #9b59b6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header & Navigation */
header {
  background: #9b59b6;
  color: white;
  padding: 20px;
  text-align: center;
  position: relative;
}

#tab-nav {
  list-style: none;
  display: flex;
  gap: 1em;
}


nav ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

nav ul li {
  cursor: pointer;
  background: white;
  color: #9b59b6;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s, transform 0.3s;
}

nav ul li:hover {
  background: #e5d4f5;
  transform: translateY(-2px);
}

/* Main Section Styles */
main {
  padding: 20px;
}

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease-in-out;
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

/* Gallery & Flotte Section */
.gallery {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.gallery img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: transform 0.5s ease;
}

.gallery img:hover {
  transform: scale(1.05) rotate(-1deg);
}

/* Lists */
section ul {
  padding-left: 20px;
  list-style-type: disc;
}

/* Blockquotes */
blockquote {
  font-style: italic;
  border-left: 4px solid #9b59b6;
  padding-left: 10px;
  color: #555;
  margin: 15px 0;
}

/* Footer */
footer {
  background: #9b59b6;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 30px;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links span {
  cursor: pointer;
  color: white;
  font-weight: bold;
  margin: 0 8px;
  text-decoration: underline;
}

.footer-links span:hover {
  color: #dcd0ec;
}

/* Responsive */
@media (max-width: 768px) {
  #menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background-color: #fff;
    padding: 0;
    margin: 0;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    padding: 1em;
    border-bottom: 1px solid #ccc;
  }
}







/* Formularbereich */
.dynamic-form {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(155, 89, 182, 0.15);
  margin: 30px auto;
  max-width: 700px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dynamic-form:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 18px rgba(155, 89, 182, 0.25);
}

.dynamic-form fieldset {
  border: none;
  margin-bottom: 1.8rem;
}

.dynamic-form legend {
  font-weight: bold;
  font-size: 1.2rem;
  color: #9b59b6;
  margin-bottom: 0.5rem;
}

.dynamic-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.dynamic-form input[type="text"],
.dynamic-form input[type="email"],
.dynamic-form input[type="tel"],
.dynamic-form input[type="datetime-local"],
.dynamic-form select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: border-color 0.3s, box-shadow 0.3s;
  font-size: 1rem;
}

.dynamic-form input:focus,
.dynamic-form select:focus {
  border-color: #9b59b6;
  box-shadow: 0 0 5px rgba(155, 89, 182, 0.4);
  outline: none;
}

.dynamic-form select:disabled {
  background-color: #eee;
  color: #888;
}

.dynamic-form .radio-group {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.dynamic-form .radio-group label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dynamic-form button {
  background: #9b59b6;
  color: white;
  padding: 12px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.dynamic-form button:hover {
  background: #8e44ad;
  transform: translateY(-2px);
}


.flex-range {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.flex-range input[type="number"],
.flex-range select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: auto;
  font-size: 1rem;
}

.plusminus {
  font-size: 1.2rem;
  color: #9b59b6;
  font-weight: bold;
}
textarea {
  font-family: inherit;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

textarea:focus {
  border-color: #9b59b6;
  box-shadow: 0 0 5px rgba(155, 89, 182, 0.4);
  outline: none;
}

#flex-section {
  margin-top: 10px;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  user-select: none;
}

/* Responsive styles */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  #tab-nav {
    display: none;
    flex-direction: column;
    background-color: #f0f0f0;
    position: absolute;
    top: 60px; /* adjust based on header height */
    left: 0;
    right: 0;
  }

  #tab-nav.show {
    display: flex;
  }
}
.whatsapp-link {
  background-color: #25D366;
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
}
.wa-icon {
  width: 20px;
  margin-right: 8px;
}
#msg-box {
  position: fixed;            /* IMPORTANT: follows page scroll position */
  left: 50%;
  transform: translateX(-50%);
  background: #4caf50;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

#msg-box.show {
  opacity: 1;
}

#msg-box.hidden {
  display: none;
}
/* SUCCESS (green) */
#msg-box.msg-success {
  background: #4caf50;
}

#msg-box.msg-error {
  background: #d9534f;
}

.whatsapp-float {
    position: fixed;
    top: 50%;
    right: 23%; /* distance from right edge */
    transform: translateY(-50%); /* centers vertically */
    background-color: #25D366;
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 9999;
}

.whatsapp-icon {
    width: 45px;
    height: 45px;
}
