@font-face {
  font-family: 'Poppins';
  src: url('/wp-content/fonts/poppins/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('/wp-content/fonts/poppins/Poppins-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('/wp-content/fonts/poppins/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('/wp-content/fonts/poppins/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('/wp-content/fonts/poppins/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('/wp-content/fonts/poppins/Poppins-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

#q-test-container {
  font-family: sans-serif;
  padding: 20px;
  font-weight: 400;
  max-width: 600px;
  margin: auto;
  min-height: 650px;
}

#q-test-container h1 {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 55px;
  /* grÃ¶ÃŸer */
  line-height: 1;
  /* enger Abstand zwischen den Zeilen */
  font-weight: 900;
}

#q-test-container #frage {
  text-align: center;
  font-size: 17px;
  font-family: sans-serif;
  font-weight: 400;
  line-height: 1.2;
  /* neue Schrift */
  margin-top: 60px;
  margin-bottom: 2px;
  color: #000000;
}

#q-test-container #antworten button {
  font-family: 'Inter', sans-serif;
  border-radius: 12px;
  border: none;
  background-color: #fff;
  color: #000;
  cursor: pointer;
  width: 100%;
  padding: 10px 20px;
  margin: 5px 0;
  font-size: 16px;
  outline: none;
  transition: background 0.2s, color 0.2s, border 0.2s;
}

#q-test-container #bestaetigen-container {
  display: flex;
  justify-content: center;
}

#q-test-container #bestaetigen-container button {
  width: 50%;
  /* nicht mehr full width */
  padding: 8px 12px !important;
  margin-top: 20px;
  font-size: 11px !important;
  font-weight: 600;
  text-align: center;
  border-radius: 16px !important;
  text-transform: none !important;
  border: 1px solid #000000bf;
  /* immer vorhanden */
}

#q-test-container #antworten button:hover {
  background-color: #000000;
  color: rgb(255, 255, 255);
}

#q-test-container #fortschritt {
  width: 100%;
  background: #ddd;
  height: 6px;
  border-radius: 5px;
  margin: 20px 0;
  margin-top: 45px;
}

#q-test-container #fortschritt-bar {
  height: 6px;
  width: 0%;
  background-color: #000000;
  border-radius: 5px;
  transition: width 0.3s;
  margin-top: 40px;
}

#q-test-container .ergebnis {
  text-align: center;
  font-size: 24px;
  margin-top: 20px;
}

#q-test-container .confirm-btn {
  width: 50%;
  padding: 8px 12px !important;
  margin-top: 20px;
  font-size: 11px !important;
  text-transform: none !important;
  border-radius: 16px !important;
  font-weight: 600;
  border: 1px solid #000000bf;
  background-color: #ffffff;
  color: #000000;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#q-test-container .confirm-btn:hover {
  transform: scale(0.95);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#q-test-container #antworten {
  width: 100%;
  text-align: center;
}

#q-test-container #antworten>div {
  width: 100%;
  text-align: center;
  color: #000000;
}

#antworten.definition-grid {
  display: grid !important;
  width: 100%;
}

#antworten.definition-grid > button {
  width: 80% !important;
  margin: 0 !important;
  justify-self: center;
  min-height: 70px;
  padding: 12px 10px !important;
  border-radius: 8px !important;
  box-sizing: border-box;
  line-height: 1.2;
}

/* Desktop: drei Buttons pro Reihe */
@media (min-width: 769px) {
  #antworten.definition-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

/* Handy: zwei Buttons pro Reihe */
@media (max-width: 768px) {
  #antworten.definition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}