/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* =========================================================
   QuickCheck – Pflichtteilsrechner Stylesheet
   ========================================================= */

/* -----------------------------
   Buttons
----------------------------- */
#quickcheck-form button {
  position: relative;
  overflow: hidden;
  padding: 10px 25px;
  margin: 0 20px 20px 0;
  border: 1px solid #0f2952;
  background: transparent;
  color: #0f2952;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 22px;
  font-weight: 200;
  cursor: pointer;
  z-index: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.save-register-container button:last-of-type {
  margin-right: 0!important;
}
#quickcheck-form button span {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}
#quickcheck-form button.active {
  background: #0f2952;
  color: #ffffff;
}
#quickcheck-form button::before {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  left: -1px;
  background: #0f2952;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 0.35s cubic-bezier(.21, .6, .35, 1);
  z-index: 1;
}
#quickcheck-form button:hover::before {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
#quickcheck-form button:hover span {
  color: #ffffff;
}
.disabled-btn {
  pointer-events: none;
  cursor: not-allowed;
}

/* -----------------------------
   Datumsfeld
----------------------------- */
#quickcheck-form input[type="date"] {
  position: relative;
  border: 1px solid #0f2952;
  padding: 10px 40px 10px 25px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 22px;
  color: #0f2952;
  cursor: pointer;
  border-radius: 0;
  margin-bottom: 20px;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
}
#quickcheck-form input[type="date"]::after {
  content: "\f133";
  font-family: "Font Awesome 5 Pro";
  font-weight: 300;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #0f2952;
  font-size: 20px;
}
#quickcheck-form input[type="date"]::-webkit-datetime-edit {
  color: #0f2952;
}
#quickcheck-form input[type="date"]::-webkit-calendar-picker-indicator {
  background: none;
  color: transparent;
  opacity: 1;
  position: absolute;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
#quickcheck-form input.date-error {
  border-color: red;
  animation: shake 0.3s;
}
#quickcheck-form input.date-error::after {
  color: red;
}
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

/* -----------------------------
   Checkboxen
----------------------------- */
#quickcheck-form .checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  cursor: pointer;
}
#quickcheck-form .checkbox-wrapper input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 1px solid #0f2952;
  background: transparent;
  border-radius: 0;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}
#quickcheck-form .checkbox-wrapper input[type="checkbox"]:checked {
  background: #0f2952;
}
#quickcheck-form .checkbox-wrapper input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 6px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: none;
}
#quickcheck-form .checkbox-wrapper input[type="checkbox"]:checked::after {
  display: block;
}
#quickcheck-form .checkbox-wrapper label {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 22px;
  line-height: 1.3;
  color: #0f2952;
  cursor: pointer;
}

/* -----------------------------
   Nummern- und Telefonnummernfelder
----------------------------- */
#quickcheck-form input[type="number"],
#quickcheck-form input[type="tel"] {
  background: transparent;
  border: 1px solid #0f2952;
  padding: 10px 25px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 22px;
  font-weight: 200;
  color: #0f2952;
  width: 100px;
  text-align: center;
  border-radius: 0;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  background-color: white;
}
#quickcheck-form input[type="number"]:focus,
#quickcheck-form input[type="tel"]:focus {
  outline: none;
  border-color: #0f2952;
}
#quickcheck-form input[type="number"]::-webkit-inner-spin-button,
#quickcheck-form input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: inner-spin-button;
  opacity: 1;
}

/* -----------------------------
   Zahlen-Auswahl (±)
----------------------------- */
#quickcheck-form .number-wrapper {
  display: flex;
  margin-bottom: 20px;
}
#quickcheck-form .number-wrapper input[type="tel"] {
  background: transparent;
  border: 1px solid #0f2952;
  padding: 10px 0;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 24px;
  font-weight: 200;
  color: #0f2952;
  width: 60px;
  height: 50px;
  text-align: center;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  background-color: white;
  line-height: 1;
  margin-right: 20px;
}
#quickcheck-form .number-wrapper input[type="tel"]:focus {
  outline: none;
  border-color: #0f2952;
}
#quickcheck-form .number-wrapper button {
  width: 50px;
  height: 50px;
  font-size: 28px;
  line-height: 1;
  border: 1px solid #0f2952;
  background: transparent;
  color: #0f2952;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 200;
  cursor: pointer;
  border-radius: 0;
  padding: 0;
  transition: none;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
#quickcheck-form .number-wrapper button::before {
  display: none !important;
}
#quickcheck-form .number-wrapper button:hover {
  background: transparent;
  color: #0f2952;
}

/* -----------------------------
   Validierung
----------------------------- */
#quickcheck-form .step-error {
  margin: -20px 0 0;
  font-size: 22px;
  line-height: 1.3;
  color: red;
}

#quickcheck-form .number-wrapper input.input-error {
  border-color: red !important;
}

/* -----------------------------
   Schieberegler + Eingabefeld
----------------------------- */
#quickcheck-form .pt-quote-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 25px;
  background-color: #2a7481;
  color: #fff;
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 40px;
  min-height: 71px;
}
#quickcheck-form .pt-quote-banner strong {
  font-weight: 700;
}
#quickcheck-form .pt-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 40px;
}
#quickcheck-form .pt-amount strong {
  width: 255px;
  padding: 10px 25px;
  border: 1px solid #0f2952;
  text-align: right;
}
#quickcheck-form .pt-amount input[type="text"] {
  width: 255px;
  padding: 10px 25px;
  border: 1px solid #0f2952;
  appearance: none;
  font-size: 32px;
  text-align: right;
  height: 71px;
  background: #fff;
  color: #0f2952;
  border-radius: 0;
}
#quickcheck-form .pt-amount input[type="text"]::-webkit-inner-spin-button, 
#quickcheck-form .pt-amount input[type="text"]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}
#quickcheck-form .pt-amount input[type="text"] {
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}
#quickcheck-form .slider-unit input[type="range"] {
  flex: 1;
  width: 100%;
  -webkit-appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 8px;
  background: #99968f;
  border-radius: 4px;
  margin-bottom: 40px;
}
#quickcheck-form .slider-unit input[type="range"]::-webkit-slider-runnable-track {
  background: #99968f;
  height: 8px;
  border-radius: 4px;
}
#quickcheck-form .slider-unit input[type="range"]::-moz-range-track {
  background: #99968f;
  height: 8px;
  border-radius: 4px;
}
#quickcheck-form .slider-unit input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -6px;
  border-radius: 50%;
  background: #0f2952;
  border: 2px solid white;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
#quickcheck-form .slider-unit input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0f2952;
  border: 2px solid white;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  margin-top: 0;
}
#quickcheck-form .pt-hinweis {
    margin-bottom: 40px;
}
#quickcheck-form .quickcheck-disclaimer {
  margin-bottom: 40px;
  padding: 25px;
  background: #fff;
  border: 1px solid #0f2952;
  color: #0f2952;
}
#quickcheck-form .quickcheck-disclaimer p {
  margin: 0 0 20px;
  color: #0f2952;
  font-size: 20px;
  line-height: 1.5;
}
#quickcheck-form .quickcheck-disclaimer p:last-child {
  margin-bottom: 0;
}
#quickcheck-form .quickcheck-disclaimer strong {
  font-weight: 700;
}
@media only screen and (max-width: 640px) {
  #quickcheck-form .pt-quote-banner, #quickcheck-form .pt-amount {
    display: block;
  }
  #quickcheck-form .pt-amount strong,
  #quickcheck-form .pt-amount input[type="text"] {
    width: 100%;
    display: block;
    margin-top: 20px;
  }
}

/* -----------------------------
   Overlay
----------------------------- */
#quickcheck-overlay, #optout-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--vh, 1vh) * 100);
  display: none;
  z-index: 40011;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
}
body.admin-bar #quickcheck-overlay, body.admin-bar #optout-overlay {
  top: 32px;
  height: calc(var(--vh, 1vh) * 100 - 32px);
}
@media only screen and (max-width: 782px) {
  body.admin-bar #quickcheck-overlay, body.admin-bar #optout-overlay {
    top: 46px;
    height: calc(var(--vh, 1vh) * 100 - 46px);
  }
}
.quickcheck-backdrop {
  display: none;
}
.quickcheck-modal {
  padding: 128px 30px;
  margin: 0 auto;
  max-width: 900px;
  width: 100%;
  position: relative;
  opacity: 0;
  transform: none;
  transition: opacity 0.35s ease-out;
  will-change: opacity;
  z-index: 2;
  overflow: visible;
}
.quickcheck-modal.visible {
  opacity: 1;
  transform: none;
}
.quickcheck-modal .close-overlay {
  position: absolute;
  top: 0;
  right: 30px;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  font-family: 'Font Awesome 5 Pro';
  font-weight: 300;
  color: #0f2952 !important;
  opacity: 1 !important;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 128px;
  padding: 0;
}
.quickcheck-modal .close-overlay:before {
  content: "\f00d";
}
@media only screen and (max-width: 1024px) {  
  .quickcheck-modal {
    padding: 70px 30px 30px;
  }
  .quickcheck-modal .close-overlay {
    height: 70px;
  }
}
@media only screen and (max-width: 640px) {  
  .quickcheck-modal {
    padding: 70px 30px 30px;
  }
  .quickcheck-modal .close-overlay {
    top: 40px;
    right: 30px;
  }
}

/* -----------------------------
   Zusätzliche Overlays (Anspruch + Hilfe)
----------------------------- */
#anspruch-overlay,
#hilfe-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--vh, 1vh) * 100);
  display: none;
  z-index: 40011;
  overflow-y: auto;
  overflow-x: hidden;
  background: rgba(255, 255, 255, 0.95);
}
@media only screen and (max-width: 782px) {
  body.admin-bar #anspruch-overlay,
  body.admin-bar #hilfe-overlay {
    top: 46px;
    height: calc(var(--vh, 1vh) * 100 - 46px);
  }
}
#anspruch-overlay .quickcheck-backdrop,
#hilfe-overlay .quickcheck-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  transition: background 0.4s ease-out;
  z-index: 1;
}

/* -----------------------------
   Admin
----------------------------- */

.wp-list-table th {
  background-color: #f1f1f1;
  font-weight: bold;
  text-align: left;
  padding: 10px;
}
.wp-list-table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}
.wp-list-table a.button {
  background-color: #0073aa;
  color: #fff;
  padding: 5px 10px;
  text-decoration: none;
  border-radius: 3px;
  transition: background-color 0.2s;
}
.wp-list-table a.button:hover {
 background-color: #005177;
}

/* =========================================================
   WP User Manager – Custom Styles
   ========================================================= */

/* -----------------------------
   Formular
----------------------------- */
.wpum-registration-form p {
  display: contents;
}

/* -----------------------------
   Felder
----------------------------- */
.wpum-form input[type="text"],
.wpum-form input[type="email"],
.wpum-form input[type="password"],
.wpum-form select,
.wpum-form textarea {
  width: 100%;
  padding: 10px 20px;
  margin-bottom: 20px;
  border: 1px solid #0f2952;
  background: #ffffff;
  color: #0f2952;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 20px;
  font-weight: 300;
  border-radius: 0;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.3s ease;
}
.wpum-form input:focus,
.wpum-form select:focus,
.wpum-form textarea:focus {
  outline: none;
  border-color: #0a1c3a;
}
.wpum-form input::placeholder,
.wpum-form textarea::placeholder {
  color: #999;
  opacity: 1;
}

/* -----------------------------
   Buttons
----------------------------- */
.wpum-registration-form button.button {
  position: relative;
  overflow: hidden;
  padding: 10px 25px;
  margin: 0 20px 20px 0;
  border: 1px solid #0f2952;
  background: transparent;
  color: #0f2952;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 22px;
  font-weight: 200;
  cursor: pointer;
  z-index: 0;
  -webkit-tap-highlight-color: transparent;
}
.wpum-registration-form button.button span {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}
.wpum-registration-form button.button.active {
  background: #0f2952;
  color: #ffffff;
}
.wpum-registration-form button.button::before {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  left: -1px;
  background: #0f2952;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 0.35s cubic-bezier(.21, .6, .35, 1);
  z-index: 1;
}
.wpum-registration-form button.button:hover::before {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.wpum-registration-form button.button:hover span {
  color: #ffffff;
}
.wpum-form input[type="submit"].button, .mpt-button {
  all: unset;
  padding: 10px 25px;
  border: 1px solid #0f2952;
  background: transparent;
  color: #0f2952;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 22px;
  font-weight: 200;
  cursor: pointer;
  line-height: 1.3;
  text-align: center;
  box-sizing: border-box;
  transition: all 0.3s ease;
  display: inline-block;
}
.wpum-form input[type="submit"].button:hover, .mpt-button:hover {
  background: #0f2952;
  color: #fff;
}
.mpt-button.pdf-icon:before {
  content: "\f1c1";
  font-family: 'Font Awesome 5 Pro';
  font-weight: 9
  00;
  margin-right: .7em;
  color: #0f2952;
}
.mpt-button.pdf-icon:hover:before {
  color: #fff;
}
.frm_style_formidable-style.with_frm_style .frm_compact .frm_dropzone.dz-clickable .dz-message, .frm_style_formidable-style.with_frm_style input[type=submit], .frm_style_formidable-style.with_frm_style .frm_submit input[type=button], .frm_style_formidable-style.with_frm_style .frm_submit button, .frm_form_submit_style, .frm_style_formidable-style.with_frm_style .frm-edit-page-btn {
  line-height: 1.3;
}

/* -----------------------------
   Checkboxen
----------------------------- */
.wpum-form fieldset.fieldset-privacy .wpum-required {
  display: none;
}
.wpum-form fieldset.fieldset-privacy input[type=checkbox]~.description:after {
  content: " *";
  color: red;
}
.wpum-form fieldset {
  margin-bottom: 0;
}
.wpum-form fieldset label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 22px;
  line-height: 1.3;
  color: #0f2952;
  margin-bottom: 10px;
}
.wpum-form fieldset input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 1px solid #0f2952;
  background: transparent;
  border-radius: 0;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
  margin: 0;
}
.wpum-form fieldset input[type="checkbox"]:checked {
  background: #0f2952;
}
.wpum-form fieldset input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 6px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: none;
}
.wpum-form fieldset input[type="checkbox"]:checked::after {
  display: block;
}
.wpum-form fieldset.fieldset-privacy {
  margin: 0 0 0 20px;
  line-height: 1.75;
}
.wpum-form fieldset.fieldset-privacy .required-field {
  display: flex;
}
.wpum-form fieldset.fieldset-privacy .required-field .description {
  opacity: 1;
  font-size: 18px;
  margin: 0 0 0 10px;
  line-height: 1.25em;
}
.wpum-form fieldset.fieldset-privacy input[type="checkbox"] {
  margin-left: -20px;
}

/* -----------------------------
   Scrollbarer Bereich
----------------------------- */
.quickcheck-scroll {
  max-height: 80vh;
  overflow-y: auto;
  padding-right: 10px;
}

/* -----------------------------
   Tooltip
----------------------------- */
.tooltip-container {
  position: static;
  display: inline-block;
  cursor: pointer;
}

#quickcheck-form p {
  position: relative;
}

.icon-tooltip {
  font-size: 28.16px;
  color: #2a7481;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
}

.tooltip-text {
  position: absolute;
  top: calc(100% + 22px);
  left: 0;
  display: block;
  width: min(700px, calc(100vw - 80px));
  max-width: 700px;
  padding: 20px 25px;
  background-color: #0f2952;
  color: #fff;
  font-size: 18px;
  line-height: 1.6;
  white-space: normal;
  overflow-wrap: break-word;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 9999;
  box-sizing: border-box;
}

.tooltip-container:hover .tooltip-text,
.tooltip-container.active .tooltip-text {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media only screen and (max-width: 640px) {
  .tooltip-text {
    left: 0;
    width: calc(100vw - 40px);
    padding: 20px;
    font-size: 16px;
  }
}

/* -----------------------------
   Message
----------------------------- */
.wpum-message {
  padding: 20px!important;
  border-radius: 0!important;
  border-color: #0f2952!important;
  color: #0f2952!important;
  background-color: #fff!important;
}
.wpum-message p:last-child {
  margin-bottom: 0;
}
.wpum-message a {
  color: #0f2952;
}

/* -----------------------------
   Account Page
----------------------------- */
.wpum-account-page h2 {
  font-size: 32px!important;
}

/* -----------------------------
   QuickCheck – Navigation layout
----------------------------- */
#quickcheck-form .nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-top: 60px;
  flex-wrap: wrap;
}

#quickcheck-form .left-buttons,
#quickcheck-form .right-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

#quickcheck-form .right-buttons {
  margin-left: auto;
}

#quickcheck-form .save-register-container {
  display: contents;
}

#quickcheck-form .left-buttons button,
#quickcheck-form .right-buttons button {
  margin: 0;
}

.mpt-button-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

#quickcheck-form .question[style*="display: block"]:not([data-step="50"]) {
  min-height: 400px;
  display: flex !important;
  flex-direction: column;
}

#quickcheck-form .question[style*="display: block"]:not([data-step="50"]) .nav-buttons {
  margin-top: auto;
}

#quickcheck-form .question[data-step="31"],
#quickcheck-form .question[data-step="32"] {
  position: relative;
}

#quickcheck-form .answer-area {
  position: relative;
}

#quickcheck-form .answer-buttons {
  position: relative;
  z-index: 1;
}

#quickcheck-form .inline-hinweis-close {
  position: absolute;
  top: 11px;
  right: 15px;
  cursor: pointer;
  font-family: 'Font Awesome 5 Pro';
  font-weight: 300;
  font-size: 24px;
  line-height: 1;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

#quickcheck-form .inline-hinweis-close::before {
  content: "\f00d";
}

#quickcheck-form .hinweis-overlay-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  pointer-events: none;
}

#quickcheck-form .inline-hinweis {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  background: #0f2952;
  color: #fff;
  box-sizing: border-box;
  pointer-events: auto;
}

#quickcheck-form .inline-hinweis-content p {
  margin: 0 0 20px;
  font-size: 22px;
  line-height: 1.5;
  color: #fff;
}

#quickcheck-form .inline-hinweis-content p:last-child {
  margin-bottom: 0;
}

#quickcheck-form .question.has-inline-hinweis .answer-buttons {
  opacity: 1;
}

@media only screen and (max-width: 640px) {
  #quickcheck-form .inline-hinweis {
    padding: 18px 18px 16px;
  }

  #quickcheck-form .inline-hinweis-content p,
  #quickcheck-form .inline-hinweis-content p strong {
    font-size: 16px;
    line-height: 1.35;
  }
}

/* -----------------------------
   Formulare (Anspruch & Hilfe)
----------------------------- */
#anspruch-formular,
#hilfe-formular {
  margin: 0 auto;
  max-width: 100%;
}
#anspruch-formular label,
#hilfe-formular label {
  font-size: 22px;
  margin-bottom: 10px;
  display: block;
  color: #0f2952;
}
#anspruch-formular .form-grid,
#hilfe-formular .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
  margin: 0 0 20px;
}
#anspruch-formular .form-step,
#hilfe-formular .form-step {
  padding: 20px 0;
  border-top: 1px solid transparent;
}
#anspruch-formular .form-step h4,
#hilfe-formular .form-step h4 {
  font-size: 24px;
  margin: 0 0 15px 0;
}
#hilfe-formular .step-info-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 20px;
  padding: 20px 15px;
  border: 1px solid #0f2952;
  background: #f4f7fb;
  color: #0f2952;
}
#hilfe-formular .step-info-box p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: #0f2952;
}
#hilfe-formular .step-info-icon {
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
  color: #0f2952;
  flex-shrink: 0;
}
#anspruch-formular input:not([type="checkbox"]),
#anspruch-formular select,
#hilfe-formular input:not([type="checkbox"]),
#hilfe-formular select {
  width: 100%;
  padding: 13px;
  margin-bottom: 10px;
  border: 1px solid #0f2952;
  border-radius: 0;
  font-size: 18px;
  font-weight: 400;
  background-color: transparent;
  color: #0f2952;
}
#anspruch-formular select,
#hilfe-formular select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  border: 1px solid #2a3452;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%232a3452' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'><path d='M4 6l4-4 4 4M4 10l4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  cursor: pointer;
}
#anspruch-formular input::placeholder,
#hilfe-formular input::placeholder {
  color: #636362;
  font-weight: 200;
}
#anspruch-formular input.error,
#anspruch-formular select.error,
#hilfe-formular input.error,
#hilfe-formular select.error {
  border-color: #b91c1c;
}
#anspruch-formular .error-msg,
#hilfe-formular .error-msg {
  font-size: 18px;
  color: #b91c1c;
}
#anspruch-formular .form-nav,
#hilfe-formular .form-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 10px;
}
#hilfe-formular #remove-gegner {
  margin-left: 10px;
}
@media only screen and (max-width: 640px) {
  #hilfe-formular #remove-gegner {
    margin-left: 0;
    margin-top: 10px;
  }
}
.form-step.hidden {
  display: none;
}
.form-step.active {
  display: block;
}
#anspruch-formular h5,
#hilfe-formular h5 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #0f2952;
}
#anspruch-formular .gray,
#hilfe-formular .gray {
  background: #f6f6f6;
  padding: 20px;
}
.mpt-button.pdf-download::before {
  content: "\f1c1";
  font-family: "Font Awesome 5 Pro";
  font-weight: 300;
  margin-right: 14px;
  color: #0f2952;
}
.mpt-button.pdf-download:hover::before {
  color: #fff;
}
.gegner-item:not(:last-child) {
  border-bottom: 2px solid #0f2952;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
}
.gegner-item h5 {
  margin: 0 0 1rem;
  padding: 0;
  border: none;
  font-weight: 600;
  color: #0f2952;
}
#hilfe-formular .checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 0;
  cursor: pointer;
}
#hilfe-formular .checkbox-wrapper input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 1px solid #0f2952;
  background: transparent;
  border-radius: 0;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}
#hilfe-formular .checkbox-wrapper input[type="checkbox"]:checked {
  background: #0f2952;
}
#hilfe-formular .checkbox-wrapper input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 6px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: none;
}
#hilfe-formular .checkbox-wrapper input[type="checkbox"]:checked::after {
  display: block;
}
#hilfe-formular .checkbox-wrapper label {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 20px;
  line-height: 1.5;
  color: #0f2952;
  cursor: pointer;
  margin: 0;
}
#hilfe-formular .checkbox-wrapper a {
  color: #2a7481;
  text-decoration: underline;
}
#hilfe-formular .checkbox-wrapper a:hover {
  text-decoration: none;
}
#hilfe-formular input[type="file"] {
  display: none;
}
.mpt-button.upload-file {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 25px;
  border: 1px solid #0f2952;
  background: transparent;
  color: #0f2952;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 22px;
  font-weight: 200;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.mpt-button.upload-file::before {
  content: "\f07c";
  font-family: "Font Awesome 5 Pro";
  font-weight: 300;
  margin-right: 4px;
  color: #0f2952;
}
.mpt-button.upload-file:hover {
  background: #0f2952;
  color: #fff;
}
.mpt-button.upload-file:hover::before {
  color: #fff;
}
#hilfe-formular .file-name {
  margin-top: 10px;
  font-size: 18px;
  color: #0f2952;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 300;
  line-height: 1.4;
}
#extra-files {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}
#hilfe-formular .checkbox-wrapper + .error-msg {
  display: block;
  margin: 0;
}

@media only screen and (max-width: 640px) {
  .quickcheck-modal {
    padding: 50px 20px 20px;
  }

  .quickcheck-modal .close-overlay {
    top: 15px;
    right: 20px;
    height: auto;
    font-size: 28px;
  }

  #quickcheck-form .pt-quote-banner {
    padding: 12px 18px;
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 24px;
    min-height: auto;
  }

  #quickcheck-form .pt-amount {
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 24px;
  }

  #quickcheck-form .pt-amount strong,
  #quickcheck-form .pt-amount input[type="text"] {
    width: 100%;
    padding: 10px 18px;
    font-size: 22px;
    height: auto;
    min-height: 56px;
    margin-top: 12px;
  }

  #quickcheck-form .slider-unit input[type="range"] {
    margin-bottom: 24px;
  }

  #quickcheck-form .checkbox-wrapper {
    margin-bottom: 24px;
    gap: 12px;
  }

  #quickcheck-form .checkbox-wrapper label {
    font-size: 20px;
    line-height: 1.3;
  }

  #quickcheck-form .pt-hinweis {
    margin-bottom: 24px;
    font-size: 18px;
    line-height: 1.4;
  }

  #quickcheck-form .question[style*="display: block"]:not([data-step="50"]) {
    min-height: calc(var(--vh, 1vh) * 100 - 120px);
    display: flex !important;
    flex-direction: column;
  }

  #quickcheck-form .question[style*="display: block"]:not([data-step="50"]) .nav-buttons {
    margin-top: auto;
  }

  #quickcheck-form .nav-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  #quickcheck-form .left-buttons,
  #quickcheck-form .right-buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 0;
  }

  #quickcheck-form .answer-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  #quickcheck-form .left-buttons button,
  #quickcheck-form .right-buttons button,
  #quickcheck-form .answer-buttons button {
    width: 100%;
    margin: 0;
    text-align: left;
  }

  #quickcheck-form button span {
    display: block;
    text-align: left;
  }

  #quickcheck-form .number-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    width: 100%;
  }

  #quickcheck-form .number-wrapper button,
  #quickcheck-form .number-wrapper input[type="tel"] {
    width: 100%;
    margin: 0;
  }

  #quickcheck-form .number-wrapper input[type="tel"] {
    padding: 10px 0;
    text-align: center;
  }
}

/* Numeric-answer notices replace their input while open. */
#quickcheck-form #hinweis-eltern-41,
#quickcheck-form #hinweis-eltern-42 {
  position: relative;
  margin-top: 16px;
}
#quickcheck-form #hinweis-eltern-41,
#quickcheck-form #hinweis-eltern-42 {
  margin-top: 0;
  margin-bottom: 24px;
  padding-right: 56px;
}
#quickcheck-form .question[data-step="41"].has-inline-hinweis > .answer-area,
#quickcheck-form .question[data-step="42"].has-inline-hinweis > .number-wrapper {
  display: none;
}
#quickcheck-form [id^="hinweis-eltern-"] .inline-hinweis-close {
  width: 28px;
  height: 28px;
  font-family: Arial, sans-serif;
  font-size: 32px;
}
#quickcheck-form [id^="hinweis-eltern-"] .inline-hinweis-close::before {
  content: "×";
}
