
/* ==========================================================================
   humbee · Preisformular (Contact Form 7)
   Wrapper-Klasse: .PreisFormStyling
   Grundlage: humbee CI (Farben, Typografie, Pill-Buttons, Hexagon, Icon-Set)
   Einfügen: Zusätzliches CSS des Blocks (oder Customizer)
   ========================================================================== */

.PreisFormStyling {
  /* humbee Tokens: Astra-Globalfarben, wo vorhanden (Fallback in Klammern) */
  --hb-yellow: var(--ast-global-color-0, #FFDD00);
  --hb-purple: var(--ast-global-color-7, #6A5ACD);
  --hb-text: var(--ast-global-color-2, #1A1A1A);
  --hb-gray-1: var(--ast-global-color-4, #F7F6F9);
  --hb-white: var(--ast-global-color-5, #FFFFFF);
  --hb-black: var(--ast-global-color-8, #000000);
  /* CI-Werte ohne Gegenstück in der Astra-Palette */
  --hb-yellow-3: #FFF9C4;
  --hb-purple-deep: #4C1D95;
  --hb-gray-2: #F1F1F1;
  --hb-gray-mid: #E5E5E5;
  --hb-text-2: #5A5A5A;
  --hb-text-3: #8A8A8A;
  --hb-error: #DC2626; /* Annahme: bestehender Fehlerton der Website */
  --hb-font-head: 'Titillium Web', sans-serif;
  --hb-font-body: 'Roboto', sans-serif;
  --hb-radius-card: 14px;
  --hb-radius-field: 10px;
  --hb-radius-pill: 999px;
  --hb-shadow-card: 0 4px 10px rgba(0, 0, 0, 0.08);
  --hb-shadow-btn: 0 2px 8px rgba(0, 0, 0, 0.1);
  --hb-hex: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);

  /* Icons aus dem humbee Icon-Set (Lucide-Basis, Outline, Strich 2) */
  --hb-ic-rechnung: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z'%3E%3C/path%3E%3Cpath d='M8 12h5'%3E%3C/path%3E%3Cpath d='M16 9.5a4 4 0 1 0 0 5.2'%3E%3C/path%3E%3C/svg%3E%0A");
  --hb-ic-anfrage: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'%3E%3C/path%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'%3E%3C/path%3E%3Cpath d='M12 17h.01'%3E%3C/path%3E%3C/svg%3E%0A");
  --hb-ic-dms: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7h-3a2 2 0 0 1-2-2V2'%3E%3C/path%3E%3Cpath d='M9 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h7l4 4v10a2 2 0 0 1-2 2Z'%3E%3C/path%3E%3Cpath d='M3 7.6v12.8A1.6 1.6 0 0 0 4.6 22h9.8'%3E%3C/path%3E%3C/svg%3E%0A");
  --hb-ic-personal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'%3E%3C/path%3E%3Crect width='20' height='14' x='2' y='6' rx='2'%3E%3C/rect%3E%3C/svg%3E%0A");
  --hb-ic-aufgabe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'%3E%3C/rect%3E%3Cpath d='m9 12 2 2 4-4'%3E%3C/path%3E%3C/svg%3E%0A");
  --hb-ic-vertrag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 12h-5'%3E%3C/path%3E%3Cpath d='M15 8h-5'%3E%3C/path%3E%3Cpath d='M19 17V5a2 2 0 0 0-2-2H4'%3E%3C/path%3E%3Cpath d='M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3'%3E%3C/path%3E%3C/svg%3E%0A");
  --hb-ic-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E");
  --hb-ic-check-yellow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFDD00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E");
  --hb-hex-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 115.47'%3E%3Cpolygon fill='white' points='50,0 100,28.87 100,86.6 50,115.47 0,86.6 0,28.87'/%3E%3C/svg%3E");

  container-type: inline-size;
  color-scheme: light;
  font-family: var(--hb-font-body);
  color: var(--hb-text);
  background: var(--hb-white);
  border-radius: var(--hb-radius-card);
  box-shadow: var(--hb-shadow-card);
  padding: clamp(24px, 4vw, 48px);
  accent-color: var(--hb-black);
}

/* --------------------------------------------------------------------------
   Raster: einspaltig mobil, ab 560px Formularbreite gegliedert
   -------------------------------------------------------------------------- */
.PreisFormStyling .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px 20px;
  margin: 0;
}

.PreisFormStyling .wpcf7-form > p,
.PreisFormStyling .wpcf7-form > div {
  grid-column: 1 / -1;
  margin: 0;
}

/* Unternehmen und Mitarbeiterzahl stehen im Template im selben Absatz */
.PreisFormStyling .wpcf7-form > p:has([data-name="text-unternehmen"]) {
  display: grid;
  gap: 22px;
}

/* Zeilenumbrüche aus dem CF7-Template übernimmt das Raster */
.PreisFormStyling .wpcf7-form p > br,
.PreisFormStyling .wpcf7-form label > br {
  display: none;
}

@container (min-width: 560px) {
  /* Unternehmen breit, Mitarbeiterzahl schmal daneben.
     Subgrid: Labels teilen sich eine Zeile, Felder eine zweite.
     So stehen beide Felder bündig, auch bei umbrechendem Label oder Fehlermeldung. */
  .PreisFormStyling .wpcf7-form > p:has([data-name="text-unternehmen"]) {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: 20px;
    row-gap: 8px;
  }
  .PreisFormStyling .wpcf7-form > p:has([data-name="text-unternehmen"]) > label {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    row-gap: 8px;
    align-items: end; /* Labeltext sitzt direkt über dem Feld */
  }
  .PreisFormStyling .wpcf7-form > p:has([data-name="text-unternehmen"]) > label > .wpcf7-form-control-wrap {
    align-self: start;
  }
  .PreisFormStyling .wpcf7-form > p:has([data-name="text-plz"])   { grid-column: span 2; }
  .PreisFormStyling .wpcf7-form > p:has([data-name="text-city"])  { grid-column: span 4; }
  .PreisFormStyling .wpcf7-form > p:has([data-name="your-email"]) { grid-column: span 3; }
  .PreisFormStyling .wpcf7-form > p:has([data-name="tel-561"])    { grid-column: span 3; }
}

/* Lizenzmodell: unsichtbar, wird aber mit abgeschickt
   (display:none entfernt das Feld nur aus der Ansicht, nicht aus dem Formular) */
.PreisFormStyling .wpcf7-form > p:has([data-name="lizenztyp"]) {
  display: none;
}

/* --------------------------------------------------------------------------
   Labels
   -------------------------------------------------------------------------- */
.PreisFormStyling .wpcf7-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--hb-font-body);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--hb-text);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Eingabefelder
   -------------------------------------------------------------------------- */
.PreisFormStyling .wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.PreisFormStyling .wpcf7-form input.wpcf7-form-control:is([type="text"], [type="email"], [type="tel"], [type="number"]),
.PreisFormStyling .wpcf7-form textarea.wpcf7-form-control {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 14px 18px;
  font-family: var(--hb-font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--hb-text);
  background: var(--hb-gray-1);
  border: 1px solid var(--hb-gray-mid);
  border-radius: var(--hb-radius-field);
  box-shadow: none;
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.PreisFormStyling .wpcf7-form textarea.wpcf7-form-control {
  min-height: 140px;
  height: auto;
  resize: vertical;
  field-sizing: content; /* wächst mit dem Text, wo unterstützt */
}

.PreisFormStyling .wpcf7-form .wpcf7-form-control::placeholder {
  color: var(--hb-text-3);
  opacity: 1;
}

.PreisFormStyling .wpcf7-form input.wpcf7-form-control:is([type="text"], [type="email"], [type="tel"], [type="number"]):hover,
.PreisFormStyling .wpcf7-form textarea.wpcf7-form-control:hover {
  border-color: var(--hb-text-3);
}

/* Fokus: schwarzer Rand plus gelber Ring (Kontrast kommt vom Schwarz) */
.PreisFormStyling .wpcf7-form input.wpcf7-form-control:is([type="text"], [type="email"], [type="tel"], [type="number"]):focus,
.PreisFormStyling .wpcf7-form textarea.wpcf7-form-control:focus {
  background: var(--hb-white);
  border-color: var(--hb-black);
  box-shadow: 0 0 0 3px var(--hb-yellow);
  color: var(--hb-text);
  outline: none;
}

/* Zahlenfeld ohne Pfeil-Spinner */
.PreisFormStyling .wpcf7-form input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}
.PreisFormStyling .wpcf7-form input[type="number"]::-webkit-inner-spin-button,
.PreisFormStyling .wpcf7-form input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Autofill des Browsers in hellem humbee-Gelb statt Browser-Blau */
.PreisFormStyling .wpcf7-form input:-webkit-autofill,
.PreisFormStyling .wpcf7-form input:autofill {
  -webkit-text-fill-color: var(--hb-text);
  box-shadow: inset 0 0 0 100vmax var(--hb-yellow-3);
}
.PreisFormStyling .wpcf7-form input:-webkit-autofill:focus,
.PreisFormStyling .wpcf7-form input:autofill:focus {
  box-shadow: inset 0 0 0 100vmax var(--hb-yellow-3), 0 0 0 3px var(--hb-yellow);
}

/* --------------------------------------------------------------------------
   Validierung: erst nach Interaktion bzw. nach dem Absenden (CF7)
   -------------------------------------------------------------------------- */
.PreisFormStyling .wpcf7-form :is(input, textarea).wpcf7-form-control:is(.wpcf7-not-valid, [aria-invalid="true"], :user-invalid) {
  border-color: var(--hb-error);
  background: var(--hb-white);
}

.PreisFormStyling .wpcf7-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-family: var(--hb-font-body);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--hb-error);
}

/* --------------------------------------------------------------------------
   „Was soll humbee für Sie abdecken?“ als Feature-Pills mit Icon im Hexagon
   -------------------------------------------------------------------------- */
.PreisFormStyling .wpcf7-form > p:has(.wpcf7-checkbox) > label {
  margin-bottom: 12px;
}

.PreisFormStyling .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.PreisFormStyling .wpcf7-checkbox .wpcf7-list-item {
  --pill-pad: 1.3em;
  --tile: 1.9em;
  position: relative;
  display: inline-flex;
  margin: 0;
  font-size: 0.95rem;
  background: var(--hb-white);
  border: 1px solid var(--hb-gray-mid);
  border-radius: var(--hb-radius-pill);
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Die echte Checkbox liegt unsichtbar über der ganzen Pill: ganze Fläche klickbar */
.PreisFormStyling .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"] {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  border-radius: inherit;
}

.PreisFormStyling .wpcf7-checkbox .wpcf7-list-item-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  min-height: 44px;
  padding: 0.4em var(--pill-pad);
  font-family: var(--hb-font-body);
  font-weight: 600;
  line-height: 1.3;
  color: var(--hb-text);
  pointer-events: none;
}

/* Hexagon-Kachel mit Funktions-Icon */
.PreisFormStyling .wpcf7-checkbox .wpcf7-list-item-label::before {
  content: "";
  flex: 0 0 auto;
  width: var(--tile);
  aspect-ratio: 1 / 1.1547;
  clip-path: var(--hb-hex);
  background: var(--hb-gray-2) var(--hb-icon, none) center / 50% no-repeat;
  transition: background-color 0.15s ease;
}

/* Häkchen-Badge, liegt auf der Kachel und verschiebt nichts */
.PreisFormStyling .wpcf7-checkbox .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  left: calc(var(--pill-pad) + var(--tile) - 0.75em);
  top: calc(50% + 0.05em);
  width: 1.05em;
  aspect-ratio: 1 / 1.1547;
  clip-path: var(--hb-hex);
  background: var(--hb-black) var(--hb-ic-check-yellow) center / 70% no-repeat;
  scale: 0;
}

.PreisFormStyling .wpcf7-checkbox input[value="Rechnungsprozess"]     + .wpcf7-list-item-label { --hb-icon: var(--hb-ic-rechnung); }
.PreisFormStyling .wpcf7-checkbox input[value="Anfragenmanagement"]   + .wpcf7-list-item-label { --hb-icon: var(--hb-ic-anfrage); }
.PreisFormStyling .wpcf7-checkbox input[value="Dokumentenmanagement"] + .wpcf7-list-item-label { --hb-icon: var(--hb-ic-dms); }
.PreisFormStyling .wpcf7-checkbox input[value="Personalprozesse"]     + .wpcf7-list-item-label { --hb-icon: var(--hb-ic-personal); }
.PreisFormStyling .wpcf7-checkbox input[value="Aufgabenmanagement"]   + .wpcf7-list-item-label { --hb-icon: var(--hb-ic-aufgabe); }
.PreisFormStyling .wpcf7-checkbox input[value="Vertragsmanagement"]   + .wpcf7-list-item-label { --hb-icon: var(--hb-ic-vertrag); }

.PreisFormStyling .wpcf7-checkbox .wpcf7-list-item:hover {
  border-color: var(--hb-text);
}

.PreisFormStyling .wpcf7-checkbox .wpcf7-list-item:has(input:checked) {
  background: var(--hb-yellow);
  border-color: var(--hb-yellow);
  box-shadow: var(--hb-shadow-btn);
}
.PreisFormStyling .wpcf7-checkbox .wpcf7-list-item:has(input:checked) .wpcf7-list-item-label {
  color: var(--hb-black);
}
.PreisFormStyling .wpcf7-checkbox .wpcf7-list-item:has(input:checked) .wpcf7-list-item-label::before {
  background-color: var(--hb-white);
}
.PreisFormStyling .wpcf7-checkbox input:checked + .wpcf7-list-item-label::after {
  scale: 1;
}

.PreisFormStyling .wpcf7-checkbox .wpcf7-list-item:has(input:focus-visible) {
  outline: 2px solid var(--hb-black);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .PreisFormStyling .wpcf7-checkbox .wpcf7-list-item-label::after {
    transition: scale 0.15s ease;
  }
}

/* --------------------------------------------------------------------------
   Datenschutz-Zustimmung: Hexagon-Checkbox
   -------------------------------------------------------------------------- */
.PreisFormStyling .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.PreisFormStyling .wpcf7-acceptance label {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding-block: 4px;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.6;
  cursor: pointer;
}

.PreisFormStyling .wpcf7-acceptance input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  display: block;
  width: 1.5em;
  min-width: 1.5em;
  height: auto;
  aspect-ratio: 1 / 1.1547;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  clip-path: var(--hb-hex);
  background: var(--hb-text-2) var(--hb-hex-white) center / 78% no-repeat;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.PreisFormStyling .wpcf7-acceptance input[type="checkbox"]:hover {
  background-color: var(--hb-black);
}
.PreisFormStyling .wpcf7-acceptance input[type="checkbox"]:checked {
  background: var(--hb-black) var(--hb-ic-check-yellow) center / 62% no-repeat;
}
/* clip-path schneidet Outlines ab, deshalb Fokus am Label */
.PreisFormStyling .wpcf7-acceptance label:has(input:focus-visible) {
  outline: 2px solid var(--hb-black);
  outline-offset: 4px;
  border-radius: 6px;
}

.PreisFormStyling .wpcf7-form a {
  color: var(--hb-purple);
  font-weight: 700;
  text-decoration: none;
}
.PreisFormStyling .wpcf7-form a:hover,
.PreisFormStyling .wpcf7-form a:focus-visible {
  color: var(--hb-purple-deep);
}

/* --------------------------------------------------------------------------
   Hinweis zum geschätzten Angebot (Absatz ohne Feld)
   -------------------------------------------------------------------------- */
.PreisFormStyling .wpcf7-form > p:not(:has(input, textarea, select, .wpcf7-form-control-wrap)) {
  padding: 16px 20px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--hb-text-2);
  background: var(--hb-gray-1);
  border-radius: 12px;
}

/* --------------------------------------------------------------------------
   hCaptcha und Absenden
   -------------------------------------------------------------------------- */
.PreisFormStyling .wpcf7-form > p:has(.wpcf7-submit) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.PreisFormStyling .wpcf7-form > p:has(.wpcf7-submit) > .wpcf7-form-control-wrap {
  width: auto;
  flex: 0 1 auto;
}

.PreisFormStyling .wpcf7-form input.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 56px;
  margin: 0;
  padding: 1em 2.2em;
  font-family: var(--hb-font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal; /* Sicherheitsnetz für sehr schmale Displays */
  color: var(--hb-black);
  background: var(--hb-yellow);
  border: 2px solid transparent;
  border-radius: var(--hb-radius-pill);
  box-shadow: var(--hb-shadow-btn);
  cursor: pointer;
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}
.PreisFormStyling .wpcf7-form input.wpcf7-submit:hover {
  color: var(--hb-black);
  background: var(--hb-yellow);
  filter: brightness(0.9);
}
.PreisFormStyling .wpcf7-form input.wpcf7-submit:focus-visible {
  outline: 2px solid var(--hb-black);
  outline-offset: 3px;
}
.PreisFormStyling .wpcf7-form input.wpcf7-submit:disabled {
  opacity: 0.45;
  box-shadow: none;
  filter: none;
  cursor: not-allowed;
}

.PreisFormStyling .wpcf7-spinner {
  margin: 0 0 0 4px;
  background-color: var(--hb-text-2);
}

@container (max-width: 559px) {
  .PreisFormStyling .wpcf7-form input.wpcf7-submit {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Rückmeldung nach dem Absenden (ohne farbige Randlinien)
   -------------------------------------------------------------------------- */
.PreisFormStyling .wpcf7 form .wpcf7-response-output {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--hb-text);
  background: var(--hb-gray-1);
  border: 1px solid var(--hb-gray-mid);
  border-radius: 12px;
}
.PreisFormStyling .wpcf7 form.init .wpcf7-response-output,
.PreisFormStyling .wpcf7 form.resetting .wpcf7-response-output,
.PreisFormStyling .wpcf7 form.submitting .wpcf7-response-output {
  display: none;
}
.PreisFormStyling .wpcf7 form.sent .wpcf7-response-output {
  background: var(--hb-yellow);
  border-color: var(--hb-yellow);
  font-weight: 600;
}
.PreisFormStyling .wpcf7 form:is(.invalid, .unaccepted, .payment-required) .wpcf7-response-output {
  background: var(--hb-yellow-3);
  border-color: var(--hb-yellow-3);
}
.PreisFormStyling .wpcf7 form:is(.failed, .aborted, .spam) .wpcf7-response-output {
  color: var(--hb-error);
  background: var(--hb-white);
  border-color: var(--hb-gray-mid);
}

/* Windows-Kontrastmodus: Zustände bleiben erkennbar */
@media (forced-colors: active) {
  .PreisFormStyling .wpcf7-checkbox .wpcf7-list-item:has(input:checked) {
    outline: 3px solid Highlight;
  }
  .PreisFormStyling .wpcf7-acceptance input[type="checkbox"] {
    appearance: auto;
    clip-path: none;
  }
}
