/* Shared visual system across the application; fields and validation stay unchanged. */
body{background:#fff}
header{border-bottom:1px solid #dce5e1}
main.wrap{padding-top:6px}
body[data-form-page] .layout{max-width:820px}
body[data-form-page] .paper{background:transparent;border:0;box-shadow:none;padding:24px 0 42px}
body[data-form-page] .eyebrow{text-align:left;text-transform:none;letter-spacing:0;font-size:14px;color:#60716c;margin:0 0 28px}
body[data-form-page] h1{text-align:left;font-size:38px;line-height:1.2;letter-spacing:-1.1px;margin:0 0 10px}
body[data-form-page] .intro{text-align:left;font-size:17px;line-height:1.6;max-width:660px;margin:0 0 30px}
.entryProgress{margin:0 0 14px;height:6px;background:#e8efec;border-radius:8px;overflow:hidden}
.entryProgress span{height:100%;display:block;border-radius:8px;background:#247458}
.customer-trust{max-width:820px;margin-inline:auto}
body[data-form-page] .trust-points{display:none}
body[data-form-page="precheck"] .customer-trust{display:none}
body[data-form-page="precheck"] .contact-dock,body[data-form-page="precheck"] .step-help,body[data-form-page="precheck"] .mobileHelp,body[data-form-page="registrationStatus"] .contact-dock,body[data-form-page="registrationStatus"] .mobileHelp{display:none}
.paper .readiness-first{border:0;padding:0;background:transparent;margin-top:0;display:grid;gap:16px}
.paper .readiness-first .readiness-question{border:1px solid #d9e2e5;border-radius:12px;background:#fff;padding:22px 24px;margin:0;min-width:0}
.paper .readiness-question legend{float:left;width:100%;font-size:18px!important;font-weight:650;line-height:1.5;margin:0 0 7px;display:flex;align-items:flex-start;gap:12px;padding:0}
.paper .readiness-number{width:30px;height:30px;margin:0;border-radius:50%;font-size:14px;background:#edf5ef;color:#247458}
.paper .readiness-first .readiness-hint{clear:both;margin:0 0 16px 42px!important;font-size:14px!important;line-height:1.5;color:#596b77}
.paper .readiness-first .readiness-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-left:42px}
.paper .readiness-first .readiness-options button{padding:12px;min-height:48px;border:1px solid #cbd9d1;border-radius:8px;background:#fff;color:#173543;font-size:15px;font-weight:550}
.paper .readiness-first .readiness-options button:hover{background:#f7fbf8;border-color:#247458}
.paper .readiness-first .readiness-options button[aria-pressed=true]{padding:11px;border:2px solid #247458;background:#edf5ef;color:#18563f}
.paper .readiness-first .readiness-feedback{margin:0;padding:16px 20px;border:0;border-radius:10px;background:#f4f7f5;font-size:14px;line-height:1.6}
.paper .readiness-first .readiness-feedback p{margin:0}
.paper .readiness-example{margin:0;border:1px solid #dce5e1;border-radius:10px;padding:14px 20px;font-size:14px}
.paper .readiness-example p{margin-top:12px}
.paper .clickChoices{gap:12px;margin:16px 0 28px}
.paper .compactChoices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.paper .choiceCard{min-height:78px;padding:19px 22px;border:1px solid #d9e2e5;border-radius:12px;background:white;gap:18px;box-shadow:none}
.paper .choiceCard strong{font-size:17px;line-height:1.4}.paper .choiceCard small{font-size:14px;line-height:1.5}
.paper .choiceCard>span:last-child{color:#247458;font-size:20px;flex:none}
.paper .choiceCard:hover{background:#f7fbf8;border-color:#247458}
.paper .choiceCard.selected{background:#edf5ef;border:2px solid #247458;padding:18px 21px}
.paper h2,.paper .sectionLabel{font-size:20px;line-height:1.4;margin:28px 0 12px}
.paper .field label{font-size:15px;margin-bottom:8px}
.paper .field input,.paper .field select{font-size:16px;border:1px solid #afc2b8;border-radius:8px;padding:14px 16px;min-height:50px}
.paper .field small{font-size:13px;line-height:1.6}
.paper .detailInputs,.paper .photoAlternative,.paper .option{border-color:#d9e2e5;border-radius:12px}
.paper .actions{margin-top:30px;border-top:1px solid #e2e9e5;padding-top:22px;gap:16px}
.paper .actions .btn{font-size:16px;min-height:52px;border-radius:9px;padding:13px 26px;background:#247458;border-color:#247458}
.paper .actions .btn.secondary{background:#fff;border-color:#cbd9d1;color:#173543}
.paper .actions .btn:hover{background:#1b6048;color:white}
.paper .actions .btn:disabled{opacity:.45;cursor:not-allowed}
body[data-form-page="service"] .actions{display:none}
.paper .saved{font-size:12px;line-height:1.6;color:#687b71;margin-top:22px}
@media(max-width:600px){
body[data-form-page] .paper{padding:18px 0 30px}
body[data-form-page] h1{font-size:29px;letter-spacing:-.7px}
body[data-form-page] .intro{font-size:15px;margin-bottom:24px}
body[data-form-page] .eyebrow{font-size:12px;margin-bottom:24px}
.paper .readiness-first{gap:12px}
.paper .readiness-first .readiness-question{padding:18px 15px}
.paper .readiness-question legend{font-size:16px!important;gap:10px}
.paper .readiness-number{width:25px;height:25px;font-size:12px}
.paper .readiness-first .readiness-hint{margin:0 0 14px 35px!important;font-size:13px!important}
.paper .readiness-first .readiness-options{margin-left:0;gap:8px}
.paper .readiness-first .readiness-options button{font-size:14px;padding:10px 7px;min-height:46px}
.paper .readiness-first .readiness-options button[aria-pressed=true]{padding:9px 6px}
.paper .compactChoices{grid-template-columns:1fr 1fr;gap:10px}
.paper .choiceCard{padding:15px 13px;min-height:72px;gap:9px}
.paper .choiceCard.selected{padding:14px 12px}
.paper .choiceCard strong{font-size:15px}.paper .choiceCard small{font-size:13px}
.paper .field label{font-size:14px}.paper .field small{font-size:12px}
.paper h2,.paper .sectionLabel{font-size:18px}
.paper .actions{gap:12px;padding-top:18px;margin-top:24px}
.paper .actions .btn{padding:12px 17px;font-size:15px}
}

/* Compact mobile layout, with space reserved for the bottom navigation. */
@media(max-width:600px){
body[data-form-page]{padding-bottom:calc(98px + env(safe-area-inset-bottom,0px));scroll-padding-bottom:calc(98px + env(safe-area-inset-bottom,0px))}
body[data-form-page="service"]{padding-bottom:12px}
body[data-form-page] .demo{font-size:10px;line-height:1.45;padding:5px 12px}
body[data-form-page] .header{padding-block:10px;gap:10px}
body[data-form-page] .brand-with-mark{font-size:16px!important;gap:8px}
body[data-form-page] .brand-with-mark img{width:32px;height:32px}
body[data-form-page] .brand-with-mark small{display:none}
body[data-form-page] main.wrap{padding-top:0;padding-bottom:18px}
body[data-form-page] .paper{padding:14px 0 20px}
body[data-form-page] .eyebrow{font-size:12px;line-height:1.4;margin-bottom:14px}
body[data-form-page] h1{font-size:26px;line-height:1.2;letter-spacing:-.6px;margin-bottom:8px}
body[data-form-page] .intro{font-size:14px;line-height:1.5;margin-bottom:18px}
.entryProgress{height:5px;margin-bottom:10px}
.entryCard{padding:15px 13px;min-height:98px;gap:12px}
.entryIcon{width:44px;height:44px}.entryIcon svg{width:29px;height:29px}
.entryCopy strong{font-size:16px;line-height:1.35}.entryCopy small{font-size:13px;margin-top:3px}
.entryChoices{gap:10px}.entrySupport{margin-top:16px;padding:15px}
.paper .readiness-first{gap:10px}
.paper .readiness-first .readiness-question{padding:12px;border-radius:10px}
.paper .readiness-question legend{font-size:15px!important;gap:8px;line-height:1.4;margin-bottom:5px}
.paper .readiness-number{width:22px;height:22px;font-size:11px}
.paper .readiness-first .readiness-hint{font-size:12px!important;line-height:1.4;margin:0 0 10px 30px!important}
.paper .readiness-first .readiness-options{gap:7px}
.paper .readiness-first .readiness-options button{font-size:14px;min-height:44px;padding:9px 6px}
.paper .readiness-first .readiness-options button[aria-pressed=true]{padding:8px 5px}
.paper .readiness-first .readiness-feedback{padding:12px 14px;font-size:13px}
.paper .readiness-example{font-size:13px;padding:12px 14px}
.paper .compactChoices{gap:9px}.paper .choiceCard{min-height:64px;padding:13px}
.paper .choiceCard.selected{padding:12px}
.paper h2,.paper .sectionLabel{margin:22px 0 10px}
.paper .field{margin-bottom:16px}.paper .field input,.paper .field select{scroll-margin-block:90px 120px}
body[data-form-page] .paper .actions{position:fixed;bottom:0;left:0;right:0;z-index:80;margin:0;width:100%;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));gap:12px;background:#fff;border-top:1px solid #dce5e1;box-shadow:0 -4px 20px #17354308;align-items:stretch}
body[data-form-page] .paper .actions .btn{min-height:48px;flex:1;display:flex;align-items:center;justify-content:center;font-size:15px;line-height:1.3;padding:11px 14px}
body[data-form-page] .paper .actions .btn.secondary{flex:0 0 34%}
body[data-form-page] .paper .actions .btn[hidden]{display:none}
body[data-form-page="service"] .paper .actions{display:none}
/* Keep the navigation in the document while an input or native select is focused. */
body[data-form-page]:has(input:focus,select:focus,textarea:focus) .paper .actions{position:static;width:auto;padding:16px 0 0;box-shadow:none;margin-top:20px;border-top:1px solid #e2e9e5}
body[data-form-page] .mobileHelp{display:none}
body[data-form-page] footer{padding:18px 16px;font-size:12px}
}
@media(max-width:350px){
body[data-form-page] .wrap{padding-inline:12px}
body[data-form-page] .brand-with-mark{font-size:14px!important}
body[data-form-page] h1{font-size:24px}
.entryIcon{width:38px;height:38px}.entryCopy strong{font-size:15px}.entryCopy small{font-size:12px}
}
@media(max-width:350px){body[data-form-page] .header .mzt-language-picker summary{padding-inline:6px}}

.plateCarryover{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 22px;margin:0 0 22px;border:1px solid #d9e2e5;border-radius:12px;background:#f4f7f5}.plateCarryover span{display:block;font-size:13px;color:#596b77}.plateCarryover strong{display:block;font-size:26px;line-height:1.35;letter-spacing:1px;margin:4px 0;color:#173543}.plateCarryover small{display:block;font-size:12px;line-height:1.5;color:#596b77}.plateCarryover .plateStillOpen{font-size:18px;letter-spacing:0}.plateCarryover button{flex:none;min-height:44px;padding:6px 0}.customer-trust[hidden]{display:none!important}@media(max-width:600px){.plateCarryover{padding:15px;gap:14px;margin-bottom:16px}.plateCarryover strong{font-size:23px}.plateCarryover .plateStillOpen{font-size:16px}.plateCarryover small{font-size:12px}}
/* A concise price summary only at the relevant choice stages. */
#trustPrice{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 14px;border:0;padding:0}
#trustPrice>span{align-self:center;font-size:13px}
#trustPrice>strong{font-size:18px;text-align:right}
#trustPrice>small{grid-column:1/-1;font-size:12px}
@media(max-width:600px){.customer-trust{padding:10px 13px}#trustPrice>strong{font-size:17px}#trustPrice>small{font-size:11px}}

/* Optional document photos stay within a compact, touch-friendly row. */
.paper .photoCompact{padding:10px 12px;margin:0 0 14px;border-left-width:2px;border-radius:8px}
.paper .photoCompact>summary{font-size:13px;font-weight:600;line-height:24px;min-height:24px;cursor:pointer}
.paper .photoCompact p,.paper .photoCompact .uploadButton{font-size:12px}
.paper .photoCompact .uploadState:empty{display:none}
@media(max-width:600px){
.paper .compactChoices{gap:8px;margin:10px 0 16px}
.paper .compactChoices .choiceCard{min-height:54px;padding:10px 12px}
.paper .compactChoices .choiceCard.selected{padding:9px 11px}
.paper .compactChoices .choiceCard strong{display:block;font-size:13px;line-height:1.4}
}

/* Mobile fields: compact spacing, readable input text and predictable widths. */
@media(max-width:600px){
.paper .field,.paper .entryBlock,.paper fieldset,.paper .row>*{min-width:0}
.paper .field{margin-bottom:14px}
.paper .field label{font-size:13px;line-height:1.4;margin-bottom:6px;overflow-wrap:break-word}
.paper .field input,.paper .field select{width:100%;max-width:100%;min-width:0;min-height:48px;font-size:16px;line-height:1.4;padding:11px 12px;border-radius:9px}
.paper .field small{display:block;font-size:12px;line-height:1.45;margin-top:5px}
.paper .field small:empty{display:none}
.paper .row{gap:0 10px}
.paper .addressRow{grid-template-columns:minmax(0,1fr) 88px}
.paper .postcodeRow{grid-template-columns:96px minmax(0,1fr)}
.paper .birthDateParts{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr);gap:8px}
.paper .birthDateParts input{text-align:center}
.paper .platePartsGrid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr);gap:8px}
.paper .platePartsGrid label{font-size:12px;white-space:nowrap}
.paper .platePartsGrid input{font-size:16px;text-align:center;padding-inline:7px;letter-spacing:.03em}
.paper .plateParts legend,.paper .birthDate legend{font-size:14px;line-height:1.45;margin-bottom:8px}
.paper .platePartsHint{margin:4px 0 12px;line-height:1.45}
.paper .platePreview{max-width:320px;margin:14px auto 6px}
.paper .previewCaption{max-width:320px;margin:6px auto 14px;font-size:11px;line-height:1.4}
.paper input[name=vin],.paper input[name=evb],.paper input[name=iban]{font-variant-numeric:tabular-nums}
}
#stepTitle:focus{outline:none}
/* Foto als Hauptweg, Eintippen als Alternative. */
.photoFirst{border:1px solid #cfe0d8;border-radius:12px;background:#f5faf7;padding:20px 22px;margin:0 0 16px}
.photoFirst .sectionLabel{margin:0 0 6px}
.photoFirst p{margin:0 0 14px;font-size:15px;line-height:1.55;color:#33454f}
.photoFirst .uploadButton{display:block;text-align:center;padding:16px;border:0;border-radius:10px;background:#1d6a4f;color:#fff;font-size:16px;font-weight:650;cursor:pointer}
.photoFirst .uploadButton input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.photoFirst small{display:block;margin-top:8px;font-size:12px;color:#60716c}
.photoFirst .uploadState:empty{display:none}
.manualEntry{border:1px solid #d9e2e5;border-radius:12px;padding:0 18px;margin:0 0 16px;background:#fff}
.manualEntry>summary{cursor:pointer;padding:16px 0;font-weight:600;color:#1d6a4f}
.manualEntry[open]>summary{border-bottom:1px solid #e8efec;margin-bottom:12px}
.whyNote{background:#f3f7fa;border-radius:8px;padding:12px 14px;font-size:14px;line-height:1.5;color:#33454f;margin:0 0 20px}
.stepTrust{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.5;color:#4f625b;margin:22px 0 0}
.stepTrust svg{width:16px;height:16px;flex:none;margin-top:2px;stroke:#247458;fill:none;stroke-width:1.8}
