/* iTS Anfrage – Knöpfe, Plakette, Anfrageliste. Farben wie die Website (iTS-Rot), schlicht genug für Enfold und Standard-Themes. */
/* Grundform nur mit :where (keine Gewichtung) – die Knopf-Regeln des Themes gewinnen, hier nur der Rückfall */
:where(.its-anfrage-konfig, .its-anfrage-plus, .its-anfrage-senden) { display: inline-block; padding: .6em 1.2em; border-radius: 3px; font-weight: 600; text-decoration: none; line-height: 1.3; font-size: .95em; }
.its-anfrage-konfig.button, a.button.its-anfrage-konfig { background: #e30615 !important; border-color: #e30615 !important; color: #fff !important; }
.its-anfrage-plus.button { background: #fff !important; color: #e30615 !important; border: 1px solid #e30615 !important; cursor: pointer; }
.its-anfrage-plus.button:hover, .its-anfrage-plus.button:focus-visible { background: #fdecee !important; }
.its-anfrage-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0 18px; }
.its-anfrage-knoepfe .its-anfrage-hinweis { flex-basis: 100%; margin: 0; font-size: .9em; opacity: .8; }
.cart_dropdown, .av-cart-counter { display: none !important; } /* Enfold: Warenkorb im Kopf, ohne Preise nutzlos */

.its-anfrage-plakette { position: fixed; right: 16px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 9990; display: inline-flex; gap: 8px; align-items: center;
  background: #e30615; color: #fff !important; text-decoration: none !important; font-weight: 600; padding: 9px 14px; border-radius: 24px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.its-anfrage-plakette b { background: #fff; color: #e30615; border-radius: 11px; min-width: 22px; text-align: center; padding: 0 6px; font-size: .9em; }
.its-anfrage-plakette[hidden] { display: none !important; }
.its-anfrage-meldung { position: fixed; left: 50%; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 12px); z-index: 9991; background: #232323; color: #fff;
  padding: 8px 14px; border-radius: 6px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); }
.its-anfrage-meldung.sichtbar { opacity: 1; transform: translate(-50%, 0); }

/* Konfigurator im Rahmen: Höhe setzt der Konfigurator selbst; „Vergrößern“ legt den Rahmen über das ganze Fenster */
.its-konfigurator { display: block; width: 100%; min-height: 640px; border: 0; background: transparent; }
.its-konfigurator.its-konfig-voll { position: fixed !important; inset: 0 !important; width: 100vw !important; height: 100vh !important; height: 100dvh !important; min-height: 0; z-index: 100000; background: #fff; }
html.its-konfig-vollbild { overflow: hidden !important; }
html.its-konfig-vollbild #header, html.its-konfig-vollbild #wpadminbar, html.its-konfig-vollbild .its-anfrage-plakette { display: none !important; }

.its-anfrage-bereich { max-width: 860px; margin: 24px auto; }
.its-anfrage-liste { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid #e2e1df; }
.its-anfrage-pos { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid #e2e1df; margin: 0; }
.its-anfrage-pos img, .its-anfrage-ohnebild { width: 56px; height: 56px; object-fit: contain; background: #fff; border: 1px solid #e2e1df; border-radius: 4px; display: block; }
.its-anfrage-mitte { min-width: 0; display: grid; gap: 4px; }
.its-anfrage-mitte small { opacity: .75; }
.its-anfrage-nachr { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: end; padding: 8px 10px; background: #fdecee; border-radius: 4px; font-size: .9em; }
.its-anfrage-nachr-titel { flex-basis: 100%; font-weight: 600; color: #b00010; }
.its-anfrage-nachr label { display: grid; gap: 2px; }
.its-anfrage-nachr select, .its-anfrage-nachr input { font: inherit; }
.its-anfrage-nachr-j { width: 7em; }
.its-anfrage-nachr [aria-invalid="true"] { outline: 2px solid #e30615; }
.its-anfrage-angaben { width: 100%; box-sizing: border-box; font: inherit; font-size: .9em; resize: vertical; }
.its-anfrage-rechts { display: flex; gap: 6px; align-items: center; }
.its-anfrage-anz { width: 4.2em; }
.its-anfrage-weg { border: 1px solid #c9c8c5; background: #fff; border-radius: 4px; width: 32px; height: 32px; font-size: 18px; line-height: 1; cursor: pointer; color: #232323; }
.its-anfrage-leer { padding: 14px 0; opacity: .8; }
.its-anfrage-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.its-anfrage-feld label { display: block; font-weight: 600; font-size: .9em; margin-bottom: 2px; }
.its-anfrage-feld input, .its-anfrage-feld textarea { width: 100%; box-sizing: border-box; }
.its-anfrage-feld [aria-invalid="true"], .its-anfrage-ds [aria-invalid="true"] { outline: 2px solid #e30615; }
.its-anfrage-falle { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.its-anfrage-ds { display: flex; gap: 8px; align-items: flex-start; font-size: .9em; }
.its-anfrage-ds input { margin-top: 4px; }
.its-anfrage-fehler { color: #b00010; font-weight: 600; min-height: 1em; }
.its-anfrage-senden.button { background: #e30615 !important; border-color: #e30615 !important; color: #fff !important; }
.its-anfrage-danke { border-left: 4px solid #1e7a34; padding: 8px 16px; background: #e7f3ea; }
@media (max-width: 600px) { .its-anfrage-raster { grid-template-columns: minmax(0, 1fr); } .its-anfrage-pos { grid-template-columns: 44px minmax(0, 1fr); } .its-anfrage-rechts { grid-column: 2; } .its-anfrage-pos img, .its-anfrage-ohnebild { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .its-anfrage-meldung { transition: none; } }
