@import url("bootstrap-icons/bootstrap-icons.css");
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Segoe UI', sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1; /\* fix for Chrome \*/
  background: #fff;
  }
h1 {
  font-size: 1.4em;
  font-weight: 600;
  color: rgb(74, 43, 150);
}
a {
  color: rgb(74, 43, 150);
  text-decoration: none;
  border-bottom: 1px dotted rgb(74, 43, 150);
  padding-bottom: 1px;
}
a:hover {
  border-bottom: 1px solid rgb(55, 20, 130);
  color: rgb(55, 20, 130);
}
header {
  background: linear-gradient(135deg, rgb(205, 179, 255), rgb(248, 225, 240));
  padding: 10px 20px 60px;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.logo {
  display: block;
  margin: 5px auto 4px;
  height: auto;
  width: 180px;
}
.slogan {
    font-size: 0.9em;
    font-weight: 500;
    font-style: italic;
    color: #4b0082;
    margin-bottom: 10px;
}
.header-buttons {
  margin-top: 20px;
}
.header-buttons button {
  padding: 12px 20px;
  margin: 5px;
  border: none;
  border-radius: 8px;
  background-color: white;
  color: #6a0dad;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}
.header-buttons button:hover {
  background-color: #f5e9ff;
}
.hamburger-icon {
  background: none;
  border: none;
  font-size: 28px;
  color: #4b0082;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 160px;
  height: 100%;
  background: #fdf4ff;
  box-shadow: -2px 0 5px rgba(0,0,0,0.1);
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 10;
}
.menu.show {
  transform: translateX(0%);
}
.menu a {
  text-decoration: none;
  color: #4b0082;
  font-size: 1.1em;
  /* font-weight: bold; */
}
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  line-height: 0;
  z-index: 1;
}
.wave svg {
  display: block;
  width: 100%;
  height: 100%;
}
.wave path {
  fill: #ffffff;
}
main {
  padding: 10px 20px;
  text-align: center;
}
.language-switcher {
  position: absolute;
  top: 20px;
  left: 20px;
  font-weight: bold;
  font-size: 0.9em;
  z-index: 11;
}
.language-switcher a {
  text-decoration: none;
  color: #4b0082;
  background: white;
  border-radius: 4px;
  padding: 4px 8px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  transition: background 0.2s;
}
.language-switcher select {
  padding: 6px 10px;
  margin: 5px;
  border: none;
  border-radius: 8px;
  background-color: white;
  color: #6a0dad;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.3s;
  appearance: none; /* Remove default styling (cross-browser) */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236a0dad' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 36px; /* Space for icon */
}
.language-switcher select:hover {
  background-color: #f5e9ff;
}
.selling-points {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.selling-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 10px 0;
}
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.selling-point .icon-circle {
  position: relative;
  z-index: 1;
  /* Internal animated background */
  background: linear-gradient(135deg, rgb(225, 200, 255), rgb(255, 245, 250));
  background-size: 300% 300%;
  animation: gradient-shift 4s ease-in-out infinite;
  border: 2px solid rgb(74, 43, 150); /* ✅ Static visible border */
  color: rgb(74, 43, 150);
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: transform 0.3s ease;
  overflow: hidden;
}
/* Animated rotating effect behind border */
.selling-point .icon-circle::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  z-index: -1;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgb(205, 179, 255),
    rgb(248, 225, 240),
    rgb(205, 179, 255)
  );
  animation: spin 12s linear infinite;
}
.selling-point .icon-circle:hover {
  transform: scale(1.1);
}
.selling-point .title {
  font-size: 1.1rem;
  font-weight: bold;
  color: rgb(74, 43, 150);
}
.selling-point .detail {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
  max-width: 600px;
}
.selling-points hr {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border: none;
  border-top: 1px solid #ddd;
}
.container {
  max-width: 420px;
  margin: auto;
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
form {
  max-width: 420px;
  margin: 20px auto;
  padding: 30px 25px;
  border: 2px solid transparent;
  border-radius: 16px;
  background-color: rgb(252, 248, 255); /* near-white with a hint of purple */
  background-clip: padding-box;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
}
form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, rgb(205, 179, 255), rgb(248, 225, 240));
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}
form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgb(74, 43, 150);
  text-align: left;
}
form label:not(:first-of-type) {
  margin-top: 20px;
}
form input[type="text"],
form textarea,
form input[type="email"],
form input[type="password"],
form input[type="url"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}
form input[type="text"]:focus,
form textarea:focus,
form input[type="email"]:focus,
form input[type="password"]:focus,
form input[type="url"]:focus {
  outline: none;
  border-color: rgb(205, 179, 255);
  box-shadow: 0 0 0 3px rgba(205, 179, 255, 0.2);
}
form .form-group {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
form .form-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: rgb(205, 179, 255);
  border-radius: 4px;
  cursor: pointer;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
}
form .form-group input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(205, 179, 255, 0.3);
}
form .form-group label {
  margin: 0;
  font-weight: normal;
  color: #444;
  text-align: left;
}
.radio-option {
  display: flex;
  flex-direction: column;       /* Stack radio + label + table vertically */
  align-items: flex-start;      /* Left-align all content */
  gap: 10px;                    /* Space between stacked elements */
  border: 2px solid #d9c9f9;    /* Keep your violet border */
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.radio-option:hover {
  background-color: #f7f4ff;
  border-color: #cbb2ff;
}
.radio-option input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: #cbb2ff;
  margin: 0;
  flex-shrink: 0;
}
.radio-option .radio-option-text {
  font-size: 0.95rem;
  color: #333;
  font-weight: normal;
}
.radio-option input[type="radio"]:checked + input[type="text"] {
  background-color: #f7f4ff;
  border-color: #cbb2ff;
}
.radio-option + .radio-option {
  margin-top: 20px;
}
.radio-option-header {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.quiz-hint-table {
  font-size: 0.8em;
  margin: 0.5em 0 1em 2em;
  color: #555;
  border-collapse: separate;
  border-spacing: 0 10px; /* Adjust as needed */
}
.quiz-hint-table td {
  padding: 2px 8px;
  vertical-align: top;
}
.quiz-hint-table tr:not(:first-child) td:first-child {
    padding: 2px 8px;
    vertical-align: top;
    text-align: right;
}
.quiz-hint-table td:not(:first-child) {
    font-weight: normal;
    padding: 2px 8px;
    vertical-align: top;
}
.quiz-hint-caption {
  font-weight: bold;
  color: #555;
  text-align: center;
  border-bottom: 1px solid #ccc;
  padding-bottom: 4px;
}
.hint-label {
    font-size: inherit;
    background-color: white;
    font-weight: normal;
    padding: 1px 6px;
    text-align: right;
    white-space: nowrap;
    display: inline-block;
}
.quiz-hint-spacer td {
  height: 10px;
  padding: 0;
  margin: 0;
  border: none;
}
form button:not(.btn-icon) {
  margin-top: 25px;
  width: 100%;
  padding: 12px 20px;
  border: 1px solid #b39ddb;
  border-radius: 10px;
  background: linear-gradient(135deg, rgb(205, 179, 255), rgb(248, 225, 240));
  transition: background 0.3s, transform 0.2s;
  color: #4b0082;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
form button:hover {
  transform: scale(1.02);
  background: linear-gradient(135deg, rgb(215, 189, 255), rgb(255, 235, 245));
}
/* Green button */
form button.btn-green {
  background: linear-gradient(135deg, rgb(144, 238, 144), rgb(173, 255, 173)); /* light greens */
  border: 1px solid #81c784;
  color: #1b5e20;
}
form button.btn-green:hover {
  background: linear-gradient(135deg, rgb(160, 250, 160), rgb(200, 255, 200));
}
/* Grey button */
form button.btn-grey {
  background: linear-gradient(135deg, rgb(220, 220, 220), rgb(245, 245, 245)); /* soft grey */
  border: 1px solid #cccccc;
  color: #444;
}
form button.btn-grey:hover {
  background: linear-gradient(135deg, rgb(230, 230, 230), rgb(255, 255, 255));
}
.button-compact button {
  margin-top: 10px !important;
}
.form-button-row {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}
.form-button-row button {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid white;
  border-radius: 10px;
  background: linear-gradient(135deg, rgb(205, 179, 255), rgb(248, 225, 240));
  color: #4b0082;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.form-button-row button:hover {
  transform: scale(1.02);
  background: linear-gradient(135deg, rgb(215, 189, 255), rgb(255, 235, 245));
}
.form-info {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 12px;
  text-align: left;
}
.form-hint {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: #777;
}
.form-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-controls input[type="text"] {
  flex: 1;
  height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 16px;
  line-height: 1;
  box-sizing: border-box;
  vertical-align: middle;
}
form button.btn-purple {
  background: linear-gradient(135deg, #e6d6fa, #f5edff); /* heller lila Verlauf */
  border: 1px solid #d3baf5;
  color: #5c2d91;
  font-weight: normal;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}
form button.btn-purple:hover {
  background: linear-gradient(135deg, #f0e5fc, #faf6ff);
  border-color: #c7a8ec;
}
.btn-icon {
  width: 36px;
  height: 36px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: linear-gradient(135deg, rgb(205, 179, 255), rgb(248, 225, 240));
  color: #5c2d91 !important;
  transition: background 0.3s, transform 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-icon:hover {
  background-color: #e0e0e0;
}
.btn-icon i,
.btn-icon svg {
  color: #5c2d91 !important;
  display: inline-block;
  width: 1.2em;
  text-align: center;
  font-size: 1.1rem;
  vertical-align: middle;
  line-height: 1;
  fill: #5c2d91 !important;
  font-style: normal;
}
.btn-icon * {
  color: inherit !important;
  fill: currentColor !important;
}
.form-textarea {
  width: 100%;
  min-height: 80px;
  padding: 10px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  resize: vertical;
}
.expandable-textarea {
  margin-top: 8px;
}
.message {
  max-width: 420px;
  margin: 20px auto;
  padding: 20px 25px;
  border-radius: 16px;
  background-clip: padding-box;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: left;
}
.message-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.message-content i {
  font-size: 1.4rem;
  font-weight: bold;
  color: inherit;
  flex-shrink: 0;
  margin-top: 0;
}
.message.error {
  background-color: #fce9f1;
  border: 2px solid #e0aac2;
  color: #7a284e;
}
.message.success {
  background-color: #edf4ff;
  border: 2px solid #b0c4f6;
  color: #304176;
}
a.button-link {
  display: inline-block;
  text-align: center;
  margin-top: 25px;
  padding: 12px 20px;
  border: 1px solid white;
  border-radius: 10px;
  background: linear-gradient(135deg, rgb(205, 179, 255), rgb(248, 225, 240));
  color: #4b0082;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  text-decoration: none;
}
a.button-link:hover {
  transform: scale(1.02);
  background: linear-gradient(135deg, rgb(215, 189, 255), rgb(255, 235, 245));
}
.center {
  text-align: center;
}
.left {
  text-align: left;
}
.tile {
  background: #f9f6ff; /* sanftes, helles Lila */
  border: 1px solid #e0d2f7; /* heller Lila-Rahmen */
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  text-decoration: none;
  color: #4b0082;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.tile:hover {
  background: #f1ecff; /* leicht dunkler bei Hover */
  transform: scale(1.02); /* sanfter Zoom-Effekt */
  border-color: #c2a8ec; /* intensiverer Rand bei Hover */
}
.tile-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  color: rgb(74, 43, 150);
}
.tile-label {
  font-size: 1rem;
  font-weight: bold;
}
/* Responsive Anpassung für kleinere Geräte */
@media (max-width: 480px) {
  .tile {
    padding: 20px 12px;
  }
  .tile-icon {
    font-size: 1.6rem;
  }
  .tile-label {
    font-size: 0.95rem;
  }
}
.tile.featured {
  position: relative;
  z-index: 1;
  animation: pulse-border 1.5s ease-in-out infinite;
}
@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 170, 255, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(200, 170, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(200, 170, 255, 0);
  }
}
.user-menu-toggle {
  top: 60px; /* Adjust for placement below hamburger */
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: #4b0082;
  cursor: pointer;
  z-index: 11;
}
.user-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 180px;
  height: 100%;
  background: #fdf4ff;
  box-shadow: -2px 0 5px rgba(0,0,0,0.1);
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 10;
}
.user-menu.show {
  transform: translateX(0%);
}
.user-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #4b0082;
  font-size: 1.1em;
}
.menu-icons {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: row; /* Ensures horizontal layout */
  align-items: center;
  gap: 12px;
  z-index: 11;
}
.user-menu-toggle,
.hamburger-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  color: #4b0082;
}
@media (max-width: 480px) {
  .menu-icons {
    top: 16px;
    right: 16px;
    gap: 10px;
  }
}
.legal-text {
  text-align: left;
  max-width: 800px;
  margin: 5px auto 40px; /* reduced top margin */
  padding: 20px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  border-radius: 12px;
  /* box-shadow removed */
}
.legal-text h1,
.legal-text h2 {
  color: #4b0082;
  font-weight: 600;
}
.legal-text h1 {
  font-size: 1.6em;
  margin-bottom: 0.5em;
  text-align: center;
}
.legal-text h2 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
}
.legal-text p,
.legal-text ul,
.legal-text ol {
  margin-bottom: 1em;
}
.legal-text ul {
  padding-left: 1.2em;
  list-style-type: disc;
}
.legal-text a {
  color: #4b0082;
}
.legal-text a:hover {
  color: #2e005f;
}
/* Responsive spacing */
@media (max-width: 600px) {
  .legal-text {
    padding: 16px;
    font-size: 0.95rem;
  }
}
.label-before-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    max-width: 100%;
}
.label-before-input-group .input-prefix {
    padding: 0 10px;
    background-color: #eee;
    white-space: nowrap;
    font-size: 14px;
    color: #555;
}
.label-before-input-group input[type="text"] {
    flex: 1;
    border: none;
    padding: 10px;
    font-size: 16px;
    outline: none;
    min-width: 0;
}
.wizard-progress {
  margin: 0 0 20px 0;
  padding: 0;
  height: 8px;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  position: relative;
  z-index: 2;
}
.progress-bar {
  width: 100%;
  height: 100%;
  background: rgba(126, 87, 194, 0.1); /* subtle purple background */
  border-radius: 0;
  overflow: hidden;
}
.progress-fill {
  background: #7e57c2; /* purple fill */
  height: 100%;
  width: 0; /* will be set dynamically */
  transition: width 0.3s ease;
  border-radius: 0;
}
/* Optional: only round when fully filled */
.progress-fill.full {
  border-radius: 0 10px 10px 0;
}
.quiz-hint-table {
    font-size: 0.8em;
    margin: 0.5em 0 1em 2em;
    border-collapse: collapse;
    color: #555;
}
.quiz-hint-table td {
    padding: 2px 8px;
    vertical-align: top;
}
#productListContainer {
  display: flex;
  flex-direction: column;
  gap: 22px;
}