/* Anduril.Care – Formular „14 Tage kostenlos testen“ ([anduril_testversion]).
   Ruhig und zurückhaltend, übernimmt die Schrift des Themes. Anpassbar über den Shortcode:
   layout="breit|schmal" info="ja|nein" titel="ja|nein|Text" breite="1200|100%" farbe="#1f2a37" hintergrund="hell|weiss|ohne" */
.acv-test { --acv-akzent: #1f2a37; --acv-tinte: #161b22; --acv-text: #3c434a; --acv-leise: #6b7078; --acv-linie: #e2dfd6; --acv-linie-stark: #cdc9bc;
	--acv-flaeche: #f6f5f1; --acv-karte: #ffffff; --acv-rot: #a3352b; --acv-blau: #0a6f9f; --acv-breite: 1200px;
	width: 100%; max-width: var(--acv-breite); margin: 0 auto; color: var(--acv-text); font-size: 16px; line-height: 1.55; text-align: left; }
.acv-test *, .acv-test *::before, .acv-test *::after { box-sizing: border-box; }
.acv-test-schmal { --acv-breite: 780px; }
.acv-test h3 { color: var(--acv-tinte); font-size: 1.4em; line-height: 1.25; margin: 0 0 .55em; letter-spacing: 0; text-transform: none; }
.acv-test h4 { color: var(--acv-tinte); font-size: .8em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 1.8em 0 .8em; }
.acv-test-kopf p { margin: 0 0 1.4em; }
.acv-test a { color: var(--acv-blau); }

/* Raster: Infospalte + Formular */
.acv-test-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.acv-test-mit-info .acv-test-raster { grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 40px; }
.acv-test-info { position: sticky; top: 24px; }
.acv-test-info-innen { background: var(--acv-flaeche); border-radius: 10px; padding: 30px 28px; }
.acv-test-hg-weiss .acv-test-info-innen { background: var(--acv-karte); border: 1px solid var(--acv-linie); }
.acv-test-hg-ohne .acv-test-info-innen { background: transparent; padding: 0; }
.acv-test-info-text { margin: 0; }
.acv-test-schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.acv-test-schritte li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; margin: 0; }
.acv-test-schritte strong { display: block; color: var(--acv-tinte); }
.acv-test-schritte li span:last-child { font-size: .93em; }
.acv-test-nr, .acv-test-schritt { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--acv-akzent); color: var(--acv-akzent); font-size: .85em; font-weight: 700; line-height: 1; flex: none; }
.acv-test-liste { margin: 0; padding: 0 0 0 1.1em; font-size: .93em; }
.acv-test-liste li { margin: 0 0 .45em; }
.acv-test-kontakt { margin-top: 1.8em; padding-top: 1.4em; border-top: 1px solid var(--acv-linie); font-size: .93em; }
.acv-test-kontakt p { margin: 0 0 .6em; }
.acv-test-kontakt a { text-decoration: none; }
.acv-test-link { font-weight: 600; }

/* Karten */
.acv-test-haupt { container-type: inline-size; min-width: 0; }
.acv-test-karte { display: block; width: 100%; min-width: 0; margin: 0 0 18px; padding: 26px 28px 10px; border: 0; border-radius: 10px; background: var(--acv-karte); box-shadow: 0 0 0 1px var(--acv-linie); }
.acv-test-hg-ohne .acv-test-karte { box-shadow: none; border-radius: 0; padding: 22px 0 6px; border-top: 1px solid var(--acv-linie); }
.acv-test-karte > legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; margin: 0 0 18px; color: var(--acv-tinte); font-weight: 700; font-size: 1.05em; }
.acv-test-karte > legend + * { clear: both; }
.acv-test-abschluss { padding-bottom: 24px; }

/* 12er-Raster der Felder */
.acv-test-felder { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 18px; }
.acv-sp-12 { grid-column: span 12; } .acv-sp-8 { grid-column: span 8; } .acv-sp-6 { grid-column: span 6; } .acv-sp-5 { grid-column: span 5; }
.acv-sp-4 { grid-column: span 4; } .acv-sp-3 { grid-column: span 3; } .acv-sp-2 { grid-column: span 2; }
.acv-test-felder > .acv-test-hilfe { margin: -6px 0 16px; }
.acv-test-feld { margin-bottom: 18px; min-width: 0; }
.acv-test label { display: block; font-weight: 600; font-size: .88em; color: var(--acv-tinte); margin-bottom: .4em; }
.acv-test input[type=text], .acv-test input[type=email], .acv-test input[type=tel], .acv-test select, .acv-test input[type=file] {
	width: 100%; max-width: none; font: inherit; font-size: 1em; color: var(--acv-tinte); background: #fff; border: 1px solid var(--acv-linie-stark); border-radius: 6px; padding: .6em .8em; min-height: 46px; box-shadow: none; margin: 0; }
.acv-test input::placeholder { color: #9a9ea5; }
.acv-test input[type=file] { padding: .55em; background: var(--acv-flaeche); cursor: pointer; }
.acv-test-upload input[type=file] { border-style: dashed; padding: 1.1em; }
.acv-test input:focus, .acv-test select:focus { outline: 2px solid var(--acv-blau); outline-offset: 1px; border-color: var(--acv-blau); }
.acv-test .hat-fehler input, .acv-test .hat-fehler select { border-color: var(--acv-rot); }
.acv-test-hilfe { font-size: .83em; color: var(--acv-leise); margin: .4em 0 0; }
.acv-test-fehler { font-size: .85em; color: var(--acv-rot); margin: .4em 0 0; }

/* Tätigkeitsbereich als Kacheln */
.acv-test-wahl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.acv-test-kachel { display: flex !important; gap: 12px; align-items: flex-start; padding: 16px; margin: 0 !important; border: 1px solid var(--acv-linie-stark); border-radius: 8px; background: #fff; cursor: pointer; font-weight: 400 !important; transition: border-color .15s, background .15s; }
.acv-test-kachel:hover { border-color: var(--acv-akzent); }
.acv-test-kachel strong { display: block; color: var(--acv-tinte); font-size: 1rem; }
.acv-test-kachel small { display: block; color: var(--acv-leise); font-size: .82rem; line-height: 1.4; margin-top: 3px; }
.acv-test-kachel:has(input:checked) { border-color: var(--acv-akzent); background: var(--acv-flaeche); box-shadow: inset 0 0 0 1px var(--acv-akzent); }
.acv-test-wahl.hat-fehler .acv-test-kachel { border-color: var(--acv-rot); }
.acv-test-kachel input, .acv-test-check input { width: 18px; height: 18px; margin: .15em 0 0; flex: none; accent-color: var(--acv-akzent); }
.acv-test-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .93em !important; color: var(--acv-text) !important; cursor: pointer; margin: 0 0 .9em !important; }
.acv-test-check.hat-fehler span { color: var(--acv-rot); }

/* Abschluss: Captcha links, Knopf rechts */
.acv-test-absenden { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 1.2em; padding-top: 1.2em; border-top: 1px solid var(--acv-linie); }
.acv-test-absenden .acv-roboter, .acv-test-absenden .acv-captcha { margin: 0; }
.acv-test-absenden > button[type=submit] { font: inherit; font-weight: 600; font-size: 1.02em; color: #fff; background: var(--acv-akzent); border: 1px solid var(--acv-akzent); border-radius: 6px; padding: .85em 2em; cursor: pointer; margin-left: auto; }
.acv-test-absenden > button[type=submit]:hover, .acv-test-absenden > button[type=submit]:focus { filter: brightness(1.15); }
.acv-test .acv-captcha { margin: .4em 0 1.2em; }
.acv-test .acv-rechnung input { max-width: 140px; }
.acv-test .acv-klein { font-size: .78em; color: var(--acv-leise); }
.acv-test .acv-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Meldungen */
.acv-test-meldung { border: 1px solid #e2c0b9; background: #fbf3f1; color: var(--acv-rot); border-radius: 8px; padding: .9em 1.1em; margin: 0 0 18px; }
.acv-test-danke { max-width: 780px; margin: 0 auto; border: 1px solid #b9d3bf; background: #f3f8f4; border-radius: 10px; padding: 1.6em 1.8em; }
.acv-test-danke p { margin: 0 0 .7em; }
.acv-test-danke p:last-child { margin: 0; }

/* Schmale Formularspalte (Container) und Handy */
@container (max-width: 640px) {
	.acv-test-felder .acv-test-feld { grid-column: span 12; }
	.acv-test-felder .acv-sp-2 { grid-column: span 4; }
	.acv-test-felder .acv-sp-2 + .acv-sp-4, .acv-test-felder .acv-sp-2 + .acv-sp-5 { grid-column: span 8; }
	.acv-test-wahl { grid-template-columns: minmax(0, 1fr); }
	.acv-test-karte { padding: 22px 20px 8px; }
}
@media (max-width: 960px) {
	.acv-test-mit-info .acv-test-raster { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.acv-test-info { position: static; }
	.acv-test-info-innen { padding: 24px 22px; }
}
@media (max-width: 600px) {
	.acv-test-felder .acv-test-feld { grid-column: span 12; }
	.acv-test-wahl { grid-template-columns: minmax(0, 1fr); }
	.acv-test-absenden > button[type=submit] { width: 100%; }
}

/* Eigenes Captcha „Ich bin kein Roboter“ */
.acv-roboter { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 14px; max-width: 360px; padding: 14px 16px; margin: .4em 0 1.3em; border: 1px solid var(--acv-linie-stark); border-radius: 6px; background: var(--acv-flaeche); }
.acv-roboter[hidden] { display: none; }
.acv-test .acv-roboter .acv-roboter-feld { width: 28px; height: 28px; min-width: 0; min-height: 0; padding: 0; margin: 0; border: 2px solid #8b8778; border-radius: 4px; background: #fff; color: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: none; font-size: 0; line-height: 0; text-transform: none; filter: none; }
.acv-roboter-feld:focus-visible { outline: 2px solid var(--acv-blau); outline-offset: 2px; }
.acv-roboter-haken { width: 14px; height: 8px; border-left: 3px solid transparent; border-bottom: 3px solid transparent; transform: translateY(-2px) rotate(-45deg); }
.acv-roboter-text { color: var(--acv-tinte); font-size: .98em; }
.acv-roboter-schutz { display: inline-flex; align-items: center; gap: 5px; font-size: .78em; color: var(--acv-leise); }
.acv-roboter-status { grid-column: 1 / -1; font-size: .8em; color: var(--acv-leise); min-height: 0; }
.acv-roboter-status:empty { display: none; }
.acv-test .acv-roboter.ist-pruefend .acv-roboter-feld { border-color: var(--acv-linie-stark); border-top-color: var(--acv-tinte); border-radius: 50%; animation: acv-dreh .8s linear infinite; cursor: progress; }
.acv-test .acv-roboter.ist-ok .acv-roboter-feld { border-color: #2f6b3c; cursor: default; }
.acv-roboter.ist-ok .acv-roboter-haken { border-color: #2f6b3c; }
.acv-roboter.ist-ok .acv-roboter-status { color: #2f6b3c; }
.acv-roboter.ist-fehler { border-color: #e2c0b9; }
.acv-roboter.ist-fehler .acv-roboter-status { color: var(--acv-rot); }
@keyframes acv-dreh { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .acv-test .acv-roboter.ist-pruefend .acv-roboter-feld { animation: none; border-style: dotted; } }

/* Schritt 5: Auftragsverarbeitungsvertrag */
.acv-test-avv-warum { background: var(--acv-flaeche); border-radius: 8px; padding: 16px 18px; margin: 0 0 18px; font-size: .94em; }
.acv-test-avv-warum p { margin: 0 0 .6em; }
.acv-test-avv-warum p:last-child { margin: 0; }
.acv-test-avv-oeffnen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 16px; }
.acv-test .acv-test-knopf-zweit { display: inline-block; font-weight: 600; color: var(--acv-akzent); background: #fff; border: 1px solid var(--acv-akzent); border-radius: 6px; padding: .65em 1.3em; text-decoration: none; }
.acv-test .acv-test-knopf-zweit:hover, .acv-test .acv-test-knopf-zweit:focus { background: var(--acv-flaeche); }
.acv-test-check input:disabled + span { color: var(--acv-leise); }
.acv-test-signatur { margin: 2px 0 18px; }
.acv-test-signatur-kopf { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: .88em; color: var(--acv-tinte); margin-bottom: .4em; }
.acv-test .acv-test-link-knopf { background: none; border: 0; padding: 0; margin: 0; color: var(--acv-blau); font: inherit; font-weight: 400; cursor: pointer; text-decoration: underline; min-height: 0; }
.acv-test-signatur-feld { display: block; width: 100%; height: 170px; background: #fff; border: 1px dashed var(--acv-linie-stark); border-radius: 6px; touch-action: none; cursor: crosshair; }
.acv-test-signatur.hat-fehler .acv-test-signatur-feld { border-color: var(--acv-rot); }
