/* Claude's approved public components on the native catalogue/question renderer.
   State, IDs, answers, pricing and history remain owned by the existing modules. */
.tm-ui #schritt-2,.tm-ui #schritt-3{font-family:var(--tm-font);color:var(--tm-ink);max-width:1120px;margin:0 auto;background:transparent;border:0;box-shadow:none;border-radius:0;padding:24px 0 100px}
.tm-ui #schritt-3{--s3-blue:var(--tm-accent);--s3-blue-s:var(--tm-accent-soft);--s3-text:var(--tm-ink);--s3-line:var(--tm-border);--s3-line-s:var(--tm-border-strong);--s3-soft:var(--tm-muted);--s3-green:var(--tm-ink);--s3-green-d:var(--tm-success)}
.tm-ui #schritt-3 *{box-sizing:border-box}
.tm-ui #schritt-3 [hidden]{display:none!important}
.tm-ui #schritt-3 .s3-wrap{display:grid;grid-template-columns:minmax(0,1fr);gap:40px;align-items:start}
.tm-ui #schritt-3 .s3-left{display:flex;flex-direction:column;gap:0;min-width:0}
.tm-ui #schritt-3 .s3-back{margin:0 0 20px;min-height:44px;box-shadow:none}
.tm-ui #schritt-3 .tm-runtime-device{margin-bottom:24px}
.tm-ui #schritt-3 #zustand-titel{font-size:var(--tm-fs-lg);line-height:1.3;font-weight:650;margin:0}
.tm-ui #schritt-3 .tm24-condition-device{font-size:var(--tm-fs-sm);color:var(--tm-muted);margin:4px 0 0}
.tm-ui #schritt-3 .tm-steps{margin-bottom:28px;max-width:720px}
.tm-ui #schritt-3 .tm-steps .tm-lbl{font-size:12px}
.tm-ui #schritt-3 .tm-steps li.is-active .tm-bar,.tm-ui #schritt-3 .tm-steps li.is-done .tm-bar{background:var(--tm-accent)}
.tm-ui #schritt-3 .tm-steps li.is-active .tm-lbl{color:var(--tm-accent-ink)}
.tm-ui #schritt-3 .tm24-condition-basis{font-size:var(--tm-fs-base);line-height:1.55;color:var(--tm-muted);margin:0 0 20px;max-width:60ch}
.tm-ui #schritt-3.tm-questions-active .tm24-condition-basis{display:none}
.tm-ui #schritt-3 .s3-cards,.tm-ui #schritt-3 .s3-cards.has-sealed{display:flex;flex-direction:column;gap:0;border:1px solid var(--tm-border);border-radius:var(--tm-r-md);overflow:hidden;background:var(--tm-surface)}
.tm-ui #schritt-3 .s3-card{position:relative;display:block;border-top:1px solid var(--tm-border);min-width:0}
.tm-ui #schritt-3 .s3-card:first-child{border-top:0}
.tm-ui #schritt-3 #s3-sealed-card{order:2;border-top:1px solid var(--tm-border);background:var(--tm-surface-2)}
.tm-ui #schritt-3 .s3-card>input{position:absolute;opacity:0;width:1px;height:1px}
.tm-ui #schritt-3 .s3-card>label{display:grid;grid-template-columns:22px minmax(0,1fr) auto;column-gap:14px;row-gap:3px;padding:18px 20px;min-height:104px;height:auto;margin:0;border:0;border-radius:0;box-shadow:none;background:transparent;cursor:pointer;transform:none;transition:background var(--tm-t-fast)}
.tm-ui #schritt-3 .s3-card>label:before{content:"";grid-column:1;grid-row:1/3;align-self:center;width:21px;height:21px;border:1.5px solid var(--tm-border-strong);border-radius:50%;background:var(--tm-surface)}
.tm-ui #schritt-3 .s3-card>input:checked+label{background:var(--tm-accent-soft);box-shadow:none}
.tm-ui #schritt-3 .s3-card>input:checked+label:before{border:6px solid var(--tm-accent)}
.tm-ui #schritt-3 .s3-card>label:hover{background:var(--tm-surface-2);transform:none}
.tm-ui #schritt-3 .s3-card>input:focus-visible+label{outline:2px solid var(--tm-accent);outline-offset:-3px}
.tm-ui #schritt-3 .s3-card-top{grid-column:2;grid-row:1;display:flex;align-items:center}
.tm-ui #schritt-3 .s3-card-title{font-size:var(--tm-fs-md);font-weight:650;line-height:1.3;letter-spacing:0}
.tm-ui #schritt-3 .s3-icon-round{display:none}
.tm-ui #schritt-3 .s3-card-desc{grid-column:2;grid-row:2;font-size:var(--tm-fs-sm);line-height:1.45;color:var(--tm-muted)}
.tm-ui #schritt-3 .s3-card-price{grid-column:3;grid-row:1/3;align-self:center;font-size:var(--tm-fs-lg);font-weight:700;color:var(--tm-ink);font-variant-numeric:tabular-nums;margin:0;padding:0;border:0;white-space:nowrap}
.tm-ui #schritt-3 .s3-card .s3-help{grid-column:2/-1}
.tm-ui #schritt-3 .s3-info-btn{display:none}
.tm-ui #schritt-3 .s3-help{display:none}
.tm-ui #schritt-3 .s3-help.is-open{display:block;padding:12px;color:var(--tm-muted);background:var(--tm-surface-2);border-radius:var(--tm-r-sm);font-size:var(--tm-fs-sm)}
.tm-ui #schritt-3 .s3-box{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;min-height:0;overflow:visible}
.tm-ui #schritt-3 .ankauf-fragen-card-titel{font-size:var(--tm-fs-3xl);line-height:1.2;letter-spacing:-.02em;font-weight:650;margin:0 0 8px}
.tm-ui #schritt-3 #tm24-question-group-help{margin:0 0 24px;max-width:58ch;color:var(--tm-muted);font-size:var(--tm-fs-base)}
.tm-ui #schritt-3 .s3-grid{display:flex;flex-direction:column;gap:0;margin:0}
.tm-ui #schritt-3 .s3-item{min-width:0;margin:0 0 26px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;min-height:0}
.tm-ui #schritt-3 .s3-item-head{display:flex;align-items:center;gap:10px;margin:0 0 12px}
.tm-ui #schritt-3 .s3-label-wrap{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
.tm-ui #schritt-3 .s3-label{font-size:var(--tm-fs-md);font-weight:600;line-height:1.45}
.tm-ui #schritt-3 .s3-label-soft,.tm-ui #schritt-3 .s3-answer-hint{font-size:var(--tm-fs-sm);font-weight:400;color:var(--tm-muted);line-height:1.5}
.tm-ui #schritt-3 .s3-seg,.tm-ui #schritt-3 .tm24-answer-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;position:relative;margin:0}
.tm-ui #schritt-3 .s3-seg input,.tm-ui #schritt-3 .tm24-answer-cards input{position:absolute;opacity:0;width:1px;height:1px}
.tm-ui #schritt-3 .s3-seg label,.tm-ui #schritt-3 .tm24-answer-cards label{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;height:auto;padding:12px 14px;background:var(--tm-surface);border:1px solid var(--tm-border);border-radius:var(--tm-r-sm);font-size:var(--tm-fs-base);font-weight:600;color:var(--tm-ink);margin:0;cursor:pointer;line-height:1.4;text-align:center;box-shadow:none;transition:border-color var(--tm-t-fast),background var(--tm-t-fast),transform var(--tm-t-fast) var(--tm-ease-out)}
.tm-ui #schritt-3 .s3-seg label:active,.tm-ui #schritt-3 .tm24-answer-cards label:active{transform:scale(.98)}
.tm-ui #schritt-3 .s3-seg input:checked+label,.tm-ui #schritt-3 .tm24-answer-cards input:checked+label{border-color:var(--tm-accent);background:var(--tm-accent-soft);color:var(--tm-accent-ink);box-shadow:none}
.tm-ui #schritt-3 .s3-seg input:focus-visible+label,.tm-ui #schritt-3 .tm24-answer-cards input:focus-visible+label,.tm-ui #schritt-3 .zubehoer-chip input:focus-visible+.zubehoer-chip-inner{outline:2px solid var(--tm-accent);outline-offset:3px}
.tm-ui #schritt-3 .s3-seg label i{display:none}
.tm-ui #schritt-3 #category-questionnaire{display:grid;gap:10px}
.tm-ui #schritt-3 .tm24-category-question{min-height:0;min-width:0;padding:16px;background:var(--tm-surface);border:1px solid var(--tm-border);box-shadow:none}
.tm-ui #schritt-3 .tm24-category-question fieldset{margin:0;border:0;padding:0;min-width:0;width:100%}
.tm-ui #schritt-3 .tm24-category-question-title{display:block;float:none;width:auto;font-size:var(--tm-fs-base);font-weight:600;margin:0 0 10px;padding:0;line-height:1.4}
/* Kategoriefragen nutzen dieselben Antwortkarten wie Ja/Nein (einheitliche Fragen). */
.tm-ui #schritt-3 .tm-native-seg{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;justify-content:flex-start}
.tm-ui #schritt-3 .tm-native-seg label{min-width:0;min-height:48px;padding:12px 14px;font-size:var(--tm-fs-base);font-weight:600;border-radius:var(--tm-r-sm)}
.tm-ui #schritt-3 .tm24-defect-followup{padding:14px;margin:12px 0 0;border:1px solid var(--tm-border);border-radius:var(--tm-r-sm);background:var(--tm-surface-2);min-width:0}
.tm-ui #schritt-3 .tm24-defect-followup legend{font-size:var(--tm-fs-base);font-weight:600;line-height:1.4;margin:0 0 8px;float:none;width:auto;padding:0}
.tm-ui #schritt-3 .s3-defekt-grid{display:grid;grid-template-columns:1fr;gap:8px;margin-top:12px}
.tm-ui #schritt-3 .s3-defekt-chip{display:flex;align-items:center;gap:12px;min-height:52px;padding:14px;background:var(--tm-surface);border:1px solid var(--tm-border);border-radius:var(--tm-r-sm);font-size:var(--tm-fs-base);line-height:1.4;color:var(--tm-ink);cursor:pointer}
.tm-ui #schritt-3 .s3-defekt-chip:has(input:checked){border-color:var(--tm-accent);background:var(--tm-accent-soft)}
.tm-ui #schritt-3 .s3-defekt-chip input{width:18px;height:18px;accent-color:var(--tm-accent);flex:0 0 auto}
.tm-ui #schritt-3 .s3-defekt-chip input:focus-visible{outline:2px solid var(--tm-accent);outline-offset:3px}
.tm-ui #schritt-3 #defekt-wrap,.tm-ui #schritt-3 #bruch-details-wrap{margin-top:14px;padding:16px;background:var(--tm-surface-2);border:1px solid var(--tm-border);border-radius:var(--tm-r-md)}
.tm-ui #schritt-3 .s3-select,.tm-ui #schritt-3 .s3-textarea{font-family:var(--tm-font);font-size:var(--tm-fs-base);width:100%;min-height:48px;padding:12px 14px;border:1px solid var(--tm-border-strong);border-radius:var(--tm-r-sm);background:var(--tm-surface);color:var(--tm-ink)}
.tm-ui #schritt-3 .s3-select:focus,.tm-ui #schritt-3 .s3-textarea:focus{outline:2px solid var(--tm-accent);outline-offset:2px;box-shadow:none}
.tm-ui #schritt-3 .s3-textarea{resize:vertical;min-height:96px}
.tm-ui #schritt-3 .s3-battery-alt{padding:0!important;border:0!important;background:transparent!important;margin-top:20px!important}
.tm-ui #schritt-3 .s3-akku-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 12px}
.tm-ui #schritt-3 #s3_akku_badge{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:var(--tm-r-pill);background:var(--tm-accent-soft)!important;color:var(--tm-accent-ink)!important;border:0!important;font-size:var(--tm-fs-sm);font-weight:600!important;font-variant-numeric:tabular-nums}
.tm-ui #schritt-3 #s3_akku_status{color:var(--tm-muted)!important;font-size:var(--tm-fs-sm)!important;font-weight:400!important}
.tm-ui #schritt-3 .s3-battery-alt label{display:block;margin:0 0 8px;font-size:var(--tm-fs-base);font-weight:600;color:var(--tm-ink)}
.tm-ui #schritt-3 .s3-battery-alt .s3-battery-alt__help{margin:8px 0 0;color:var(--tm-muted);font-size:var(--tm-fs-sm);line-height:1.5}
.tm-ui #schritt-3 .tm-exact-in{display:flex;align-items:center;gap:8px;max-width:160px}
.tm-ui #schritt-3 .tm-exact input{width:112px;min-height:48px;font-variant-numeric:tabular-nums}
.tm-ui #schritt-3 .zubehoer-grid{display:flex!important;flex-wrap:wrap;gap:8px}
.tm-ui #schritt-3 .zubehoer-chip{position:relative;margin:0;min-width:0}
.tm-ui #schritt-3 .zubehoer-chip input{position:absolute;opacity:0;width:1px;height:1px}
.tm-ui #schritt-3 .zubehoer-chip-inner{min-height:44px;display:flex;align-items:center;gap:8px;padding:10px 15px;border:1px solid var(--tm-border);border-radius:var(--tm-r-pill);background:var(--tm-surface);color:var(--tm-ink-2);font-size:var(--tm-fs-sm);font-weight:500;cursor:pointer;box-shadow:none;line-height:1.3}
.tm-ui #schritt-3 .zubehoer-chip-inner i{display:none}
.tm-ui #schritt-3 .zubehoer-chip input:checked+.zubehoer-chip-inner{background:var(--tm-accent-soft);color:var(--tm-accent-ink);border-color:var(--tm-accent)}
.tm-ui #schritt-3 #s3_foto_grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.tm-ui #schritt-3 .s3-foto-slot{min-height:112px;border-radius:var(--tm-r-sm);border-color:var(--tm-border-strong);background:var(--tm-surface)}
.tm-ui #schritt-3 .s3-foto-slot .slot-label,.tm-ui #schritt-3 .s3-foto-slot .slot-tag{font-size:12px;color:var(--tm-muted);font-weight:500}
.tm-ui #schritt-3 .s3-foto-slot .slot-remove{width:36px;height:36px}
.tm-ui #schritt-3 .tm24-question-flow{display:block;border:0;padding:0;margin:0;background:none}
.tm-ui #schritt-3 .tm24-question-flow__top,.tm-ui #schritt-3 .tm24-question-flow__track{display:none}
.tm-ui #schritt-3 .tm24-question-flow__actions{position:static;display:flex;justify-content:space-between;gap:12px;width:100%;margin:26px 0 0;padding:16px 0 0;border-top:1px solid var(--tm-border);background:transparent;box-shadow:none}
.tm-ui #schritt-3 .tm24-question-flow__actions button{min-height:48px;border-radius:var(--tm-r-pill);font-size:var(--tm-fs-base);font-weight:600;padding:12px 22px}
.tm-ui #schritt-3 #tm24-question-flow-next{background:var(--tm-accent);color:#fff;border-color:var(--tm-accent)}
.tm-ui #schritt-3 #tm24-question-flow-back{background:transparent;border:1px solid transparent;color:var(--tm-ink-2)}
.tm-ui #schritt-3 #tm24-question-flow-error{color:var(--tm-danger);font-size:var(--tm-fs-sm);margin:0}
.tm-ui #schritt-3 #tm24-question-flow-error:not([hidden]){margin:12px 0}
.tm-ui #schritt-3 .s3-right{display:none;position:sticky;top:var(--tm24-question-top-offset,88px);align-self:start}
.tm-ui #schritt-3 .s3-summary{padding:24px;border:1px solid var(--tm-border);border-radius:var(--tm-r-md);background:var(--tm-surface);box-shadow:none;max-height:none;overflow:visible}
.tm-ui #schritt-3 .s3-summary-kicker{font-size:var(--tm-fs-sm);color:var(--tm-muted);font-weight:500;text-align:left;text-transform:none;letter-spacing:0;margin:18px 0 8px}
.tm-ui #schritt-3 .s3-summary-price{font-size:var(--tm-fs-3xl);font-weight:700;line-height:1.15;color:var(--tm-ink);text-align:left;margin:0 0 12px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.tm-ui #schritt-3 .s3-summary-device{text-align:left;font-size:var(--tm-fs-base);font-weight:600;line-height:1.4;color:var(--tm-ink)}
.tm-ui #schritt-3 .s3-summary-state{font-size:var(--tm-fs-sm);color:var(--tm-muted);margin-bottom:10px}
.tm-ui #schritt-3 .s3-summary-state>span{display:inline-flex;gap:6px;background:var(--tm-accent-soft);padding:5px 9px;border-radius:var(--tm-r-pill);font-size:12px;color:var(--tm-accent-ink)}
.tm-ui #schritt-3 .s3-summary-note{font-size:12px;line-height:1.5;color:var(--tm-muted);margin:12px 0}
.tm-ui #schritt-3 .s3-summary-list{list-style:none;margin:18px 0;padding:0;border-top:1px solid var(--tm-border);font-size:var(--tm-fs-sm);color:var(--tm-muted)}
.tm-ui #schritt-3 .s3-summary-list li{display:flex;align-items:flex-start;gap:9px;margin-top:12px}
.tm-ui #schritt-3 .s3-summary-list i{font-size:12px;color:var(--tm-success);margin-top:4px}
.tm-ui #schritt-3 #s3_checklist{font-size:var(--tm-fs-sm);padding-top:16px;border-top:1px solid var(--tm-border)}
.tm-ui #schritt-3 #s3_checklist summary{font-weight:600;cursor:pointer;min-height:44px}
.tm-ui #schritt-3 #s3_checklist_items{padding:0;list-style:none;color:var(--tm-muted);margin:0}
.tm-ui #schritt-3 #s3_checklist_items li{padding:6px 0;line-height:1.4}
.tm-ui #schritt-3 .s3-submit{font-size:var(--tm-fs-base);margin-top:20px;box-shadow:none;min-height:48px;width:100%;background:var(--tm-accent);border:0;transform:none}
.tm-ui #schritt-3 .s3-submit:disabled{opacity:.45;cursor:not-allowed}
.tm-ui #schritt-3 .preisbox-warnung{font-size:var(--tm-fs-sm);padding:12px;background:var(--tm-warn-soft);color:var(--tm-warn);border:0;border-radius:var(--tm-r-sm)}
.tm-ui #schritt-3 .tm-runtime-no-buy{border-color:var(--tm-danger);margin-bottom:24px}
.tm-ui #schritt-3 .tm-runtime-no-buy h3{font-size:var(--tm-fs-xl);margin:0 0 12px}
.tm-ui #schritt-3 .tm-runtime-no-buy p{color:var(--tm-ink-2);line-height:1.55}
.tm-ui #schritt-3 .tm-runtime-no-buy .tm-option{font-size:var(--tm-fs-sm);text-align:left}
.tm-ui #schritt-3 #tm24-repair-readout{margin:0 0 22px}
.tm-ui #schritt-3 #tm24-repair-readout p{margin:0;font-size:var(--tm-fs-sm);line-height:1.5}
.tm-ui #schritt-3 #tm24-repair-readout .tm-skel{height:20px;width:60%}
.tm-ui #ankauf-mobile-footer{border:0;border-top:1px solid var(--tm-border);box-shadow:none;background:rgba(255,255,255,.97);padding:12px 16px calc(12px + env(safe-area-inset-bottom));z-index:30}
.tm-ui #ankauf-mobile-footer .ankauf-mobile-footer-inner{max-width:1120px;display:flex;align-items:center;gap:12px;margin:0 auto}
.tm-ui #ankauf-mobile-footer .ankauf-mobile-footer-inner>div{flex:1;min-width:0}
.tm-ui #ankauf-mobile-footer .ankauf-mobile-footer-label{font-size:12px;color:var(--tm-muted);font-weight:400}
.tm-ui #ankauf-mobile-footer .ankauf-mobile-footer-preis{font-size:20px;font-weight:700;color:var(--tm-ink);line-height:1.15;white-space:normal;overflow-wrap:anywhere}
.tm-ui #ankauf-mobile-footer .tm24-mobile-summary-toggle{display:none}
.tm-ui #ankauf-mobile-footer .ankauf-mobile-footer-cta{font-size:14px;min-height:48px;min-width:112px;padding:12px 18px;background:var(--tm-accent);color:#fff;border:0;border-radius:var(--tm-r-pill);box-shadow:none}
.tm-ui #ankauf-mobile-footer #tm24-mobile-no-buy-reason{font-size:12px;margin:8px 0 0;color:var(--tm-danger)}
/* Native catalogue stages keep their exact hierarchy and browser history. */
.tm-ui #marken-grid.tm-brands{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
.tm-ui #marken-grid .tm-brand-tile{height:64px;border:1px solid var(--tm-border);box-shadow:none;border-radius:var(--tm-r-md);padding:0 18px;min-width:0;transform:none;color:var(--tm-ink);background:var(--tm-surface);font-family:var(--tm-font)}
.tm-ui #modell-bereich .wizard-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tm-ui #modell-bereich .tm-model{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:240px;padding:16px;background:var(--tm-surface);border:1px solid var(--tm-border);border-radius:var(--tm-r-md);box-shadow:none;text-align:left;transition:border-color var(--tm-t-fast)}
.tm-ui #modell-bereich .tm-model:hover{transform:none;border-color:var(--tm-accent)}
.tm-ui #modell-bereich .wizard-card-icon{height:140px;display:flex;align-items:center;justify-content:center;background:var(--tm-surface-2);border-radius:var(--tm-r-sm);margin:0 0 4px;width:100%;color:#c3c8d6}
.tm-ui #modell-bereich .wizard-card-icon .tm-ph{height:100px;width:50px}
.tm-ui #modell-bereich .wizard-card-name{font-size:16px;font-weight:600;line-height:1.4;color:var(--tm-ink);white-space:normal;overflow:visible}
.tm-ui #modell-bereich .wizard-card-preis{font-size:14px;color:var(--tm-accent-ink);font-weight:600;text-align:left;margin:0;background:none;font-variant-numeric:tabular-nums}
.tm-ui #modell-bereich .wizard-card-cta{display:none}
.tm-ui #modell-bereich .wizard-speicher-grid{display:flex;flex-wrap:wrap;gap:10px}
.tm-ui #modell-bereich .wizard-speicher-card{flex:1 1 130px;max-width:240px;background:var(--tm-surface);border:1px solid var(--tm-border);border-radius:var(--tm-r-sm);padding:18px;text-align:left;box-shadow:none;transform:none}
.tm-ui #modell-bereich .wizard-speicher-gb{font-size:18px;color:var(--tm-ink);font-weight:600}
.tm-ui #modell-bereich .wizard-speicher-modell{display:none}
.tm-ui #modell-bereich .wizard-speicher-preis{font-size:13px;font-weight:500;color:var(--tm-muted);margin-top:4px}
.tm-ui #modell-bereich .wizard-back-btn{margin:0 0 24px;background:transparent;color:var(--tm-ink-2);border-color:transparent;box-shadow:none;transform:none}
.tm-ui #modell-bereich .tm24-selected-device{background:transparent;box-shadow:none;border:0;padding:0;font-size:14px;color:var(--tm-muted);line-height:1.6;margin:0 0 24px}
.tm-ui #modell-bereich .tm24-selected-device strong{display:block;font-size:30px;font-weight:650;line-height:1.2;color:var(--tm-ink);margin:6px 0}
.tm-ui #modell-bereich .tm24-choice-question{font-size:16px;margin:26px 0 12px}
.tm-ui #modell-bereich .model-grid.tm-colors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tm-ui #modell-bereich .tm-colors .model-card{display:flex;align-items:center;gap:10px;background:var(--tm-surface);padding:14px;border:1px solid var(--tm-border);border-radius:var(--tm-r-sm);box-shadow:none;min-width:0;transform:none;text-align:left;min-height:72px}
.tm-ui #modell-bereich .tm-colors .model-card:hover{border-color:var(--tm-accent)}
.tm-ui #modell-bereich .tm-colors .model-card-dot{display:block;flex:0 0 24px;width:24px;height:24px;border-radius:50%;border:1px solid rgba(0,0,0,.12)}
.tm-ui #modell-bereich .tm-colors .model-card-bottom{min-width:0;display:flex;flex-direction:column;gap:3px;padding:0;margin:0;background:transparent}
.tm-ui #modell-bereich .tm-colors .model-card-color{font-size:14px;font-weight:600;color:var(--tm-ink);padding:0;overflow-wrap:anywhere}
.tm-ui #modell-bereich .tm-colors .model-card-price{font-size:12px;color:var(--tm-muted);font-weight:500;background:transparent;padding:0;white-space:normal}
.tm-ui #modell-bereich .tm-variant-img{background:var(--tm-surface);border:1px solid var(--tm-border);border-radius:var(--tm-r-md);display:flex;align-items:center;justify-content:center;min-height:0;padding:16px}
.tm-ui #modell-bereich .tm-variant-img img{width:100%;max-width:200px;max-height:200px;object-fit:contain}
.tm-ui #modell-bereich .tm-variant-img .tm-ph{height:120px;width:60px}
/* Kompakter Variantenkopf (ein Hauptbild je Modell als Thumbnail, Name, Kontext) - Markup aus ankauf_live.js */
.tm-ui #modell-bereich .tm-runtime-variant.tm-variant--compact{display:flex;align-items:center;gap:14px;margin:0 0 22px;max-width:none}
.tm-ui #modell-bereich .tm-variant-head{display:block;min-width:0;margin:0}
.tm-ui #modell-bereich .tm-variant-thumb{flex:none;width:72px;height:72px;display:grid;place-items:center;overflow:hidden;padding:6px;background:var(--tm-surface);border:1px solid var(--tm-border);border-radius:var(--tm-r-sm)}
.tm-ui #modell-bereich .tm-variant-thumb img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;mix-blend-mode:multiply}
.tm-ui #modell-bereich .tm-variant-thumb .tm-variant-ph{display:grid;place-items:center;width:100%;height:100%;font-size:24px;font-weight:800;color:var(--tm-ink-2);line-height:1}
.tm-ui #modell-bereich .tm-variant-thumb .tm-ph{height:40px;width:20px;color:#c3c8d6}
.tm-ui #modell-bereich .tm-variant-kicker{display:block;margin:0;font-size:var(--tm-fs-sm);color:var(--tm-muted)}
.tm-ui #modell-bereich .tm-variant-name{display:block;margin:2px 0 0;font-size:var(--tm-fs-xl);font-weight:750;line-height:1.2;color:var(--tm-ink)}
.tm-ui #modell-bereich .tm-variant-meta{display:block;margin:4px 0 0;font-size:var(--tm-fs-sm);color:var(--tm-muted)}
.tm-ui #modell-bereich .tm-runtime-variant-options{max-width:960px}
.tm-ui #modell-bereich .tm-runtime-variant-options{min-width:0}
.tm-ui #schritt-2 :is(button,[role="button"]):focus-visible{outline:2px solid var(--tm-accent);outline-offset:3px}
@media(min-width:640px){.tm-ui #marken-grid.tm-brands{grid-template-columns:repeat(3,minmax(0,1fr))}.tm-ui #schritt-3 #s3_foto_grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:760px){.tm-ui #modell-bereich .wizard-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:960px){.tm-ui #schritt-3 .s3-wrap{grid-template-columns:minmax(0,1fr) 300px}.tm-ui #schritt-3 .s3-right{display:block}.tm-ui #ankauf-mobile-footer{display:none!important}.tm-ui #marken-grid.tm-brands{grid-template-columns:repeat(4,minmax(0,1fr))}.tm-ui #modell-bereich .wizard-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:480px){.tm-ui #schritt-3 .s3-card>label{grid-template-columns:22px minmax(0,1fr);padding:16px}.tm-ui #schritt-3 .s3-card-price{grid-column:2;grid-row:3;justify-self:start;margin-top:7px}.tm-ui #schritt-3 .s3-seg label{padding:12px 8px;font-size:14px}.tm-ui #schritt-3 .ankauf-fragen-card-titel{font-size:24px}.tm-ui #modell-bereich .tm-model{padding:12px;min-height:210px}.tm-ui #modell-bereich .wizard-card-name{font-size:14px}.tm-ui #modell-bereich .wizard-card-icon{height:110px}.tm-ui #modell-bereich .wizard-card-icon img{max-height:100px;max-width:100px}.tm-ui #modell-bereich .tm-variant-img{min-height:180px}.tm-ui #modell-bereich .tm-variant-img img{max-height:210px}.tm-ui #schritt-3 .tm24-question-flow__actions button{padding:12px 15px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.tm-ui #schritt-2 *,.tm-ui #schritt-3 *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Retire the old one-question-panel sizing at its existing specificity. */
body.tm-ui #schritt-3 #ankauf-fragen[data-question-flow="active"]{min-height:0;display:flex;padding:0;overflow-anchor:none}
body.tm-ui #schritt-3 #ankauf-fragen[data-question-flow="active"]>.s3-grid,body.tm-ui #schritt-3 #ankauf-fragen[data-question-flow="active"]>#category-questionnaire{flex:0 0 auto;width:100%;margin:0}
body.tm-ui #schritt-3 #ankauf-fragen[data-question-flow="active"]>.ankauf-fragen-card-titel{font-size:var(--tm-fs-3xl);color:var(--tm-ink);margin-bottom:8px}
body.tm-ui #schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-label{font-size:var(--tm-fs-md);font-weight:600;color:var(--tm-ink);line-height:1.45}
body.tm-ui #schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-item:not([hidden]){padding:0;min-height:0;max-width:none;margin:0 0 26px;border:0;border-radius:0;background:transparent;box-shadow:none}
body.tm-ui #schritt-3 #ankauf-fragen[data-question-flow="active"] .tm24-category-question:not([hidden]){padding:16px;min-height:0}
body.tm-ui #schritt-3 #ankauf-fragen[data-question-flow="active"] .tm24-category-question label{display:flex;align-items:center;justify-content:center;margin:0;font-size:var(--tm-fs-sm);font-weight:600;color:var(--tm-ink-2);line-height:1.4}
body.tm-ui #schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-seg label{font-size:var(--tm-fs-base);border-radius:var(--tm-r-sm);min-height:48px;padding:12px 14px;border:1px solid var(--tm-border);background:var(--tm-surface);color:var(--tm-ink);box-shadow:none}
body.tm-ui #schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-seg input:checked+label,body.tm-ui #schritt-3 #ankauf-fragen[data-question-flow="active"] .tm24-category-question input:checked+label{background:var(--tm-accent-soft);color:var(--tm-accent-ink);border-color:var(--tm-accent)}
body.tm-ui #schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-select,body.tm-ui #schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-textarea{font-size:var(--tm-fs-base);font-weight:400;border:1px solid var(--tm-border-strong);border-radius:var(--tm-r-sm);color:var(--tm-ink);padding:12px 14px}
body.tm-ui #schritt-3 #ankauf-fragen[data-question-flow="active"] .zubehoer-chip{min-height:44px;padding:0;border:0;background:transparent;border-radius:var(--tm-r-pill)}
body.tm-ui #schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-defekt-chip{font-size:var(--tm-fs-base);border-radius:var(--tm-r-sm)}
body.tm-ui #schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-foto-slot{min-height:112px;border-radius:var(--tm-r-sm)}
body.tm-ui #schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-foto-slot .slot-tag{font-size:12px}
body.tm-ui #schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-label:focus-visible{outline:2px solid var(--tm-accent)}
body.tm-ui #schritt-3 #ankauf-fragen .tm-extras-body>.s3-item-head{display:none}
body.tm-ui #schritt-3 #ankauf-fragen .tm-native-battery{display:grid;grid-template-columns:1fr;gap:8px;margin-top:8px}
body.tm-ui #schritt-3 #ankauf-fragen .tm-native-battery .tm-choice{display:flex;align-items:center;gap:10px;min-height:52px;text-align:left;font-size:14px;line-height:1.4;font-weight:500;cursor:pointer}
body.tm-ui #schritt-3 #ankauf-fragen .tm-native-battery .tm-choice input{width:18px;height:18px;accent-color:var(--tm-accent);flex:0 0 auto}
body.tm-ui #schritt-3 #ankauf-fragen .tm-native-battery .tm-choice:has(input:checked){border-color:var(--tm-accent);background:var(--tm-accent-soft);color:var(--tm-accent-ink)}
body.tm-ui #schritt-3 #ankauf-fragen .tm-native-battery .tm-choice:focus-within{outline:2px solid var(--tm-accent);outline-offset:2px}
@media(max-width:959px){
 body.tm-ui.tm24-guided-questions #schritt-3 .s3-wrap{display:grid;grid-template-columns:minmax(0,1fr);padding-bottom:0}
 body.tm-ui.tm24-guided-questions #schritt-3 .s3-right{display:none}
 body.tm-ui.tm24-guided-questions #schritt-3:not([style*="display: none"]):not([style*="display:none"]) + #ankauf-mobile-footer{display:block!important;padding:12px 16px calc(12px + env(safe-area-inset-bottom));box-shadow:none!important;border-top:1px solid var(--tm-border)!important}
 body.tm-ui.tm24-guided-questions #ankauf-mobile-footer .ankauf-mobile-footer-inner>div:first-child{display:block}
 body.tm-ui.tm24-guided-questions #ankauf-mobile-footer .ankauf-mobile-footer-cta{display:inline-flex!important}
 body.tm-ui.tm24-guided-questions #ankauf-mobile-footer .ankauf-mobile-footer-preis{font-size:20px;color:var(--tm-ink)}
 body.tm-ui.tm24-guided-questions #ankauf-mobile-footer .ankauf-mobile-footer-label{font-size:12px;color:var(--tm-muted);font-weight:400}
 body.tm-ui #schritt-3 #tm24-question-flow-next{display:none}
}
@media(max-width:480px){body.tm-ui #schritt-3 #ankauf-fragen[data-question-flow="active"]>.ankauf-fragen-card-titel{font-size:24px}}

body.tm-ui #schritt-3 .s3-no-buy-actions{display:flex;flex-direction:column;gap:8px;margin-top:16px}
body.tm-ui #schritt-3 .s3-no-buy-actions button{min-height:44px;border:1px solid var(--tm-border);border-radius:var(--tm-r-pill);padding:10px 14px;font-family:var(--tm-font);font-size:14px;font-weight:600;background:var(--tm-surface);color:var(--tm-ink);box-shadow:none}

@media(max-width:959px){
 body.tm-ui #schritt-3>.s3-back,body.tm-ui #schritt-3>.tm-runtime-device,body.tm-ui #schritt-3>.tm-steps{margin-left:16px;margin-right:16px}
 body.tm-ui.tm24-guided-questions #ankauf-mobile-footer .ankauf-mobile-footer-cta{min-height:48px;border:1px solid var(--tm-accent);border-radius:var(--tm-r-pill);padding:12px 22px;background:var(--tm-accent)!important;background-image:none!important;border-radius:var(--tm-r-pill)!important;color:#fff;font-family:var(--tm-font);font-size:14px;font-weight:600!important;box-shadow:none;transform:none}
 body.tm-ui.tm24-guided-questions #ankauf-mobile-footer .ankauf-mobile-footer-cta:disabled{opacity:.45;cursor:not-allowed}
}

/* Keep native device/account help reachable without adding another flow. */
body.tm-ui #schritt-3 #ankauf-fragen .s3-info-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;min-width:36px;border:0;border-radius:50%;background:transparent;color:var(--tm-muted);box-shadow:none;font-size:16px;cursor:pointer}
body.tm-ui #schritt-3 #ankauf-fragen .s3-info-btn:hover,body.tm-ui #schritt-3 #ankauf-fragen .s3-info-btn[aria-expanded="true"]{background:var(--tm-accent-soft);color:var(--tm-accent-ink)}
body.tm-ui #schritt-3 #ankauf-fragen .s3-info-btn:focus-visible{outline:2px solid var(--tm-accent);outline-offset:2px}

/* ===== Claude design review 2026-10-12 ====================================================== */

/* FUNCTIONAL: the lock warning is hidden until ankauf_live.js adds .is-open for an active lock.
   Its rule lived in the removed inline <style>, so every customer saw it after answering "Ja". */
body.tm-ui #schritt-3 .s3-lock-warn{display:none;margin-top:10px;padding:12px 14px;border:0;border-radius:var(--tm-r-sm);background:var(--tm-danger-soft);color:var(--tm-danger);font-size:var(--tm-fs-sm);font-weight:500;line-height:1.5}
body.tm-ui #schritt-3 .s3-lock-warn.is-open{display:block}

/* Selection steps: one column, gutter and heading scale with the condition step.
   #schritt-2 had no side padding at all, so cards touched the phone edge. */
body.tm-ui #schritt-1,body.tm-ui #schritt-2{max-width:var(--tm-max);margin:0 auto;padding:28px var(--tm-gutter) 72px}
body.tm-ui :is(#schritt-1,#schritt-2) .section-title{margin:0 0 20px;padding:0;text-align:left}
body.tm-ui :is(#schritt-1,#schritt-2) .section-title h2{margin:0;font-size:var(--tm-fs-3xl)!important;font-weight:650!important;letter-spacing:-.02em;line-height:1.2;color:var(--tm-ink);text-align:left!important}
body.tm-ui :is(#schritt-1,#schritt-2) .section-title h2::after{display:none}
@media(max-width:640px){body.tm-ui :is(#schritt-1,#schritt-2) .section-title h2{font-size:var(--tm-fs-2xl)!important}}

/* Brands: compact rows (name left, arrow right) instead of tall empty cards. */
body.tm-ui #marken-grid.tm-brands{max-width:none;margin:0}
body.tm-ui #marken-grid .brand-card.tm-brand-tile{height:auto;min-height:64px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;padding:8px 14px 8px 10px;text-align:left;font-size:var(--tm-fs-md);font-weight:600;color:var(--tm-ink);background:var(--tm-surface);border:1px solid var(--tm-border);border-radius:var(--tm-r-md);box-shadow:none}
body.tm-ui #marken-grid .brand-card.tm-brand-tile>span:last-child,body.tm-ui #marken-grid .brand-card .tm-brand-arrow{margin-left:auto;color:var(--tm-muted);font-weight:400}
body.tm-ui #marken-grid .brand-card .tm-brand-logo{flex:none;width:44px;height:44px;display:grid;place-items:center;overflow:hidden;background:var(--tm-surface-2);border-radius:10px}
body.tm-ui #marken-grid .brand-card .tm-brand-logo img{width:auto;height:auto;max-width:34px;max-height:30px;object-fit:contain;mix-blend-mode:multiply}
body.tm-ui #marken-grid .brand-card .tm-brand-initial{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--tm-blue-soft);font-weight:800;font-size:var(--tm-fs-md);color:var(--tm-blue);line-height:1}
body.tm-ui #marken-grid .brand-card .tm-brand-name{flex:1;min-width:0;overflow-wrap:anywhere;margin:0}
body.tm-ui #marken-grid .brand-card.tm-brand-tile:hover{border-color:var(--tm-accent);transform:none;box-shadow:none}

/* Models, storage, colour: use the full column; the 700 px cap left them offset under the heading. */
body.tm-ui #modell-bereich{max-width:none;margin:0}
@media(min-width:1000px){body.tm-ui #modell-bereich .wizard-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
body.tm-ui #modell-bereich .wizard-card-preis{color:var(--tm-ink)}
body.tm-ui #modell-bereich .tm-runtime-variant{max-width:960px}
body.tm-ui #modell-bereich .tm-colors .model-card{flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;text-align:left!important}

/* "Gerät nicht dabei?": one quiet row, not a second hero card on every step. */
body.tm-ui #geraet-fallback.geraet-nicht-gefunden{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;max-width:none;margin:32px 0 0;padding:16px 20px;text-align:left;background:var(--tm-surface);border:1px solid var(--tm-border);border-radius:var(--tm-r-md);box-shadow:none}
body.tm-ui #geraet-fallback>i{display:none}
body.tm-ui #geraet-fallback strong{margin:0;font-size:var(--tm-fs-md);font-weight:600;color:var(--tm-ink)}
body.tm-ui #geraet-fallback p{flex:1 1 240px;margin:0;font-size:var(--tm-fs-sm);color:var(--tm-muted)}
body.tm-ui #geraet-fallback .btn-ankauf-small{display:inline-flex;align-items:center;min-height:40px;margin-left:auto;padding:0 16px;border:1px solid var(--tm-border-strong)!important;border-radius:var(--tm-r-pill)!important;background:transparent!important;background-image:none!important;box-shadow:none!important;color:var(--tm-ink)!important;font-size:var(--tm-fs-sm)!important;font-weight:600!important}

/* Condition and question header: a quiet back link, one heading, device context.
   The filled accent "Zurück" competed with the real primary action. */
body.tm-ui #schritt-3 .s3-back.tm-btn{display:inline-flex;align-items:center;gap:6px;min-height:40px;margin-top:0;margin-bottom:10px;padding:0 2px;background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;color:var(--tm-ink-2)!important;font-size:var(--tm-fs-sm)!important;font-weight:600!important;transform:none}
body.tm-ui #schritt-3 .s3-back.tm-btn:hover{color:var(--tm-ink)!important}
body.tm-ui #schritt-3 #zustand-titel{font-size:var(--tm-fs-3xl)!important;font-weight:650!important;letter-spacing:-.02em;line-height:1.2!important;color:var(--tm-ink)!important}
@media(max-width:640px){body.tm-ui #schritt-3 #zustand-titel{font-size:var(--tm-fs-2xl)!important}}
/* On question pages the page title ("Funktion und Schäden" ...) is the heading; the condition
   heading stays for assistive tech only and the device line becomes the context line. */
body.tm-ui #schritt-3.tm-questions-active #zustand-titel{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
body.tm-ui #schritt-3.tm-questions-active .tm24-condition-device{margin:0;font-size:var(--tm-fs-sm);font-weight:600;color:var(--tm-ink-2)}
body.tm-ui #schritt-3.tm-questions-active .tm-runtime-device{margin-bottom:12px}
body.tm-ui #schritt-3 .s3-wrap,body.tm-ui #schritt-3 .s3-left{padding-left:0!important;padding-right:0!important}
@media(max-width:959px){body.tm-ui #schritt-3 .s3-wrap{padding-left:16px!important;padding-right:16px!important}}

/* Questions: one row style. Category questions were boxed while native questions were not. */
body.tm-ui #schritt-3 #category-questionnaire{gap:0}
body.tm-ui #schritt-3 #ankauf-fragen[data-question-flow="active"] .tm24-category-question:not([hidden]){margin:0 0 26px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
body.tm-ui #schritt-3 .tm24-category-question-title{margin:0 0 12px!important;font-size:var(--tm-fs-md)!important;font-weight:600!important;color:var(--tm-ink)!important;line-height:1.45!important}

/* ankauf-wizard.css caps the model grid at 860 px and centres it; card text was centred too. */
body.tm-ui #modell-bereich .wizard-card-grid{max-width:none;margin:0}
body.tm-ui #modell-bereich .tm-model :is(.wizard-card-name,.wizard-card-preis){text-align:left}
/* Short selection pages: keep the footer below the fold instead of jumping up under three tiles. */
body.tm-ui :is(#schritt-1,#schritt-2){min-height:min(620px,62vh)}

/* Question pages: legacy mobile sheets nest 10 + 14 + 12 px of inset and 38 px of top space between the
   progress and the page title; content now starts on the header edge. */
body.tm-ui #schritt-3 .s3-wrap{margin-left:0!important;margin-right:0!important;padding-top:0!important}
body.tm-ui #schritt-3 #ankauf-fragen{padding:0!important;margin:0!important}
body.tm-ui #schritt-3 #ankauf-fragen .s3-item{padding-left:0!important;padding-right:0!important}
/* Model names: legacy mobile weight 800 (prototype 600), and no gradient frame on the fallback row. */
body.tm-ui #modell-bereich .wizard-card-name{font-weight:600!important;letter-spacing:0!important}
body.tm-ui #modell-bereich .wizard-card-preis{font-weight:600!important}
body.tm-ui #geraet-fallback.geraet-nicht-gefunden{border-image:none!important;background-image:none!important}
body.tm-ui #geraet-fallback.geraet-nicht-gefunden::before,body.tm-ui #geraet-fallback.geraet-nicht-gefunden::after{display:none!important}

/* Back link and page title start exactly on the header edge (legacy paddings of 10-20 px). */
body.tm-ui #schritt-3 .s3-back.tm-btn{padding-left:0!important;padding-right:0!important}
body.tm-ui #schritt-3 #ankauf-fragen .ankauf-fragen-card-titel{padding-left:0!important;padding-right:0!important;margin-left:0!important}

/* LIVE-ONLY cascade: templates/NOVAChild/custom.css (shop template; loaded on live, absent from the local
   fixture) sets #schritt-3 10px, .s3-box 14px and .s3-item 12px padding with !important on phones. That
   removed the 100 px space above the fixed price bar and nested the questions. Restore the adapter values. */
@media(max-width:767px){
 body.tm-ui #schritt-3{padding:24px 0 100px!important;border-radius:0!important}
 body.tm-ui #schritt-3 .s3-box{padding:0!important;border-radius:0!important}
 body.tm-ui #schritt-3 .s3-item{padding:0!important;border-radius:0!important}
}

/* Native decision notices must remain readable when the desktop aside is hidden. */
body.tm-ui #tm24-mobile-price-notice{display:none}
@media(max-width:959px){body.tm-ui #schritt-3 #tm24-mobile-price-notice:not([hidden]){display:block;margin:0 0 20px;padding:0;border:0;border-radius:0;background:transparent;color:var(--tm-muted);font-size:var(--tm-fs-sm);line-height:1.5}}
body.tm-ui #schritt-3 #tm24-repair-readout:not([hidden]){margin-top:16px}
body.tm-ui #schritt-3 #tm24-funnel-no-buy{margin:0 0 24px}
/* Fehler direkt an der Frage (question-flow.js setzt .tm-question-error unter die betroffene Frage). */
body.tm-ui #schritt-3 .tm-question-error{margin:10px 0 0;padding:10px 12px;border:0;border-radius:var(--tm-r-sm);background:var(--tm-danger-soft);color:var(--tm-danger);font-size:var(--tm-fs-sm);font-weight:500;line-height:1.5}
body.tm-ui #schritt-3 .tm-question-error[hidden]{display:none!important}
body.tm-ui #schritt-3 #tm24-funnel-solution[hidden]{display:none!important}
body.tm-ui #schritt-4 #tm24-checkout-price-breakdown,body.tm-ui #schritt-4 .tm-checkout-next-steps{margin-top:20px}
body.tm-ui #schritt-4 .tm-price-breakdown{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 20px;margin:16px 0 0;font-size:var(--tm-fs-sm);line-height:1.5}
body.tm-ui #schritt-4 .tm-price-breakdown :is(dt,dd){margin:0;font-weight:400}
body.tm-ui #schritt-4 .tm-price-breakdown dd{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
body.tm-ui #schritt-4 .tm-price-breakdown :is(dt,dd):nth-last-child(-n+2){padding-top:12px;margin-top:2px;border-top:1px solid var(--tm-border);font-weight:650;color:var(--tm-ink)}
body.tm-ui #schritt-4 .tm-checkout-next-steps ol{display:grid;gap:10px;margin:16px 0 0;padding-left:20px;color:var(--tm-ink-2);font-size:var(--tm-fs-sm);line-height:1.6}
body.tm-ui .tm-validation-message{margin:10px 0 16px;padding:10px 12px;border:0;border-radius:var(--tm-r-sm);background:var(--tm-danger-soft);color:var(--tm-danger);font-size:var(--tm-fs-sm);line-height:1.5;overflow-wrap:anywhere}
body.tm-ui .tm-field>.tm-validation-message{margin-bottom:0}

/* Legacy tm24-ankauf-redesign.css targets every [onclick*="zurueck"]
   with !important blue pill styles. Keep the approved full-width action cards. */
body.tm-ui #schritt-3 #tm24-funnel-no-buy .tm-option{display:flex!important;width:100%!important;max-width:none!important;height:auto!important;min-height:56px!important;gap:12px;padding:16px 18px!important;margin:0!important;border:1px solid var(--tm-border)!important;border-radius:var(--tm-r-md)!important;background:var(--tm-surface)!important;background-image:none!important;color:var(--tm-ink)!important;box-shadow:none!important;font-size:var(--tm-fs-sm)!important;font-weight:400!important;line-height:1.5!important;white-space:normal;transform:none!important;text-align:left}
body.tm-ui #schritt-3 #tm24-funnel-no-buy .tm-option.is-primary{border-color:var(--tm-accent)!important;background:var(--tm-accent-soft)!important}
body.tm-ui #schritt-3 #tm24-funnel-no-buy .tm-option[hidden]{display:none!important}
body.tm-ui #schritt-3 #tm24-funnel-no-buy .tm-option>span:first-child{flex:1;min-width:0;margin:0}
body.tm-ui #schritt-3 #tm24-funnel-no-buy .tm-option b{color:var(--tm-ink);font-weight:600}
body.tm-ui #schritt-3 #tm24-funnel-no-buy .tm-option:hover{border-color:var(--tm-accent)!important}
body.tm-ui #schritt-3 #tm24-funnel-no-buy .tm-option:focus-visible{outline:2px solid var(--tm-accent);outline-offset:3px}
body.tm-ui #schritt-3 #tm24-funnel-no-buy.is-unavailable{border-color:var(--tm-border-strong)}

/* Claude review 2 (2026-10-13): while the central decision card is visible, the side panel repeated the
   same reason as a third text block on desktop. The card is the single place for it. */
body.tm-ui #schritt-3:has(#tm24-funnel-no-buy:not([hidden])) #preisbox-warnung{display:none!important}
/* The question-flow toolbar (change-condition link, error, actions) kept a 10 px legacy side margin. */
body.tm-ui #schritt-3 #tm24-question-flow-controls{margin-left:0!important;margin-right:0!important}

/* Claude design implementation 2026-10-13: section headings on selection/condition pages follow the start page scale. */
body.tm-ui :is(#schritt-1,#schritt-2) .section-title h2,body.tm-ui #schritt-3 #zustand-titel,body.tm-ui #schritt-3 #ankauf-fragen[data-question-flow="active"]>.ankauf-fragen-card-titel,body.tm-ui #schritt-3 .ankauf-fragen-card-titel{font-weight:750!important}
body.tm-ui #schritt-3 .s3-card>input:checked+label:before{border:6px solid var(--tm-blue)}
/* Farbkarten: keine Legacy-Trennlinie ueber dem Farbnamen. */
body.tm-ui #modell-bereich .tm-colors .model-card-bottom{border:0!important;padding:0!important;margin:0!important}
body.tm-ui #modell-bereich .tm-colors .model-card-color{border:0!important}

/* Small screens use content height; the measured fixed-action reserve belongs after the footer. */
@media(max-width:767px) {
  body.tm-ui :is(#schritt-1,#schritt-2) { min-height:0; padding-bottom:32px; }
  body.tm-ui #schritt-3 { padding-bottom:32px !important; }
  body.tm-ui #schritt-3 .tm24-question-flow__actions { margin-top:12px; padding-top:12px; }
  body.tm-ui :is(#schritt-1,#schritt-2,#schritt-3,#schritt-4) :is(.wizard-back-btn,.s3-back,#tm24-question-flow-back,.btn-checkout-back) {
    display:inline-flex; align-items:center; justify-content:flex-start; gap:6px;
    width:auto; min-height:44px; padding:0 2px !important; margin-top:0;
    border:0 !important; background:transparent !important; background-image:none !important;
    box-shadow:none !important; color:var(--tm-ink-2) !important;
    font-size:var(--tm-fs-sm) !important; font-weight:600 !important;
  }
  body.tm-ui #modell-bereich .wizard-back-btn { margin-bottom:16px; }
}

/* Active mobile funnel: landing content stays in the DOM for the landing/info
   routes; the existing fixed price actions retain their measured bottom space. */
body.tm-ui .tm24-brand-back { display:none; }
@media(max-width:959px) {
  body.tm-ui .tm24-brand-back { display:flex; width:fit-content; margin-left:0; margin-right:auto; }
  body.tm-ui.tm24-funnel-active :is(#ankauf-footer,#tm24-ankauf-hero,#ankauf-start,#kategorie-auswahl,.tm24-entry-support,.tm24-flyer-hero__process-wrap,.ankauf-info-section,.ankauf-hero,#tm24-ankauf-header,.tm24-info-area) { display:none!important; }
  body.tm-ui.tm24-funnel-active { padding-bottom:var(--tm24-mobile-action-space,0px); }
  body.tm-ui #tm24-question-flow-back,
  body.tm-ui #schritt-4 .btn-checkout-back { display:none!important; }
  body.tm-ui :is(#schritt-1,#schritt-3,#schritt-4) > .wizard-back-btn,
  body.tm-ui #schritt-4 .checkout-content > .wizard-back-btn,
  body.tm-ui #schritt-3 > .s3-back { margin-bottom:16px; }
}

/* =====================================================================
   MOBILE FEINSCHLIFF (Claude, 15.10.2026) – nur Handy/Tablet unter 960 px.
   Desktop ab 960 px bleibt unveraendert. Kein Markup, keine Navigation,
   keine History-, Scroll- oder Antwortlogik geaendert.
   Hinweis: Media-Queries hier bewusst mit Leerzeichen geschrieben. Der Test
   tests/js/mobile_final_navigation_test.cjs sucht den letzten Block in der
   kompakten Schreibweise ohne Leerzeichen (Footer-/Doppel-Zurueck-Regeln oben).
   ===================================================================== */

/* 1) Zurueck: ein ruhiger Link, links an der Inhaltskante, ueber jeder
      Stufenueberschrift, gleicher Pfeil, gleiche Groesse, 44 px Tippflaeche. */
@media (max-width: 959px) {
  body.tm-ui #main-content #schritt-1 > .tm24-brand-back,
  body.tm-ui #main-content #schritt-2 > #modell-bereich > .wizard-back-btn:first-child,
  body.tm-ui #main-content #schritt-3 > .s3-back,
  body.tm-ui #main-content #schritt-4 .checkout-content > .wizard-back-btn {
    display: inline-flex !important; align-items: center; justify-content: flex-start !important; gap: 0;
    width: auto !important; min-width: 0 !important; max-width: none !important;
    min-height: 44px !important; height: auto !important;
    margin-top: 0 !important; margin-bottom: 8px !important; padding: 0 12px 0 0 !important;
    border: 0 !important; border-radius: var(--tm-r-sm) !important;
    background: transparent !important; background-image: none !important; box-shadow: none !important; transform: none !important;
    color: var(--tm-ink-2) !important; font-family: var(--tm-font) !important; font-size: var(--tm-fs-sm) !important;
    font-weight: 600 !important; line-height: 1.5 !important; letter-spacing: 0 !important; text-decoration: none;
  }
  /* Derselbe Textpfeil wie auf Marken- und Zustandsstufe (auch fuer die Ausfuehrungsstufe ohne Symbol). */
  body.tm-ui #main-content #schritt-2 > #modell-bereich > .wizard-back-btn:first-child > i,
  body.tm-ui #main-content #schritt-4 .checkout-content > .wizard-back-btn > i { display: none !important; }
  body.tm-ui #main-content #schritt-2 > #modell-bereich > .wizard-back-btn:first-child::before,
  body.tm-ui #main-content #schritt-4 .checkout-content > .wizard-back-btn::before { content: "\2190\00a0"; }
  body.tm-ui #main-content :is(#schritt-1 > .tm24-brand-back, #schritt-2 > #modell-bereich > .wizard-back-btn:first-child, #schritt-3 > .s3-back, #schritt-4 .checkout-content > .wizard-back-btn):hover { color: var(--tm-ink) !important; }
  body.tm-ui #main-content :is(#schritt-1 > .tm24-brand-back, #schritt-2 > #modell-bereich > .wizard-back-btn:first-child, #schritt-3 > .s3-back, #schritt-4 .checkout-content > .wizard-back-btn):focus-visible { outline: 2px solid var(--tm-accent) !important; outline-offset: 2px !important; }
}
/* Stufe 2 erzeugt Zurueck im Inhaltsbereich unter der Ueberschrift. Mit der Klasse
   html.tm24-back-lift (setzt der JS-Patch, der auch wizardSmartScroll unter 960 px auf die
   Zurueck-Zeile prueft) wird der Link in den reservierten Raum ueber der Ueberschrift gehoben
   (44 px + 8 px). Ohne Klasse oder ohne :has() bleibt er einheitlich gestaltet darunter. */
@supports selector(:has(*)) {
  @media (max-width: 959px) {
    html.tm24-back-lift body.tm-ui #main-content #schritt-2:has(> #modell-bereich > .wizard-back-btn:first-child) { position: relative; }
    html.tm24-back-lift body.tm-ui #main-content #schritt-2 > #modell-bereich > .wizard-back-btn:first-child { position: absolute !important; top: 1.5rem; margin: 0 !important; z-index: 1; }
    html.tm24-back-lift body.tm-ui #main-content #schritt-2:has(> #modell-bereich > .wizard-back-btn:first-child) > .section-title > #modell-titel { padding-top: 52px; }
  }
}

/* 2) Auswahlkarten (Speicher, RAM, Ausfuehrung, Speicher-Chips der Farbstufe):
      Handy zwei gleich hohe Spalten, Tablet gleichmaessiges Raster. */
@media (max-width: 599px) {
  body.tm-ui #modell-bereich .wizard-speicher-grid,
  body.tm-ui #modell-bereich .tm-runtime-variant-options .tm-storage {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important;
    align-items: stretch; max-width: none; margin: 0;
  }
}
@media (min-width: 600px) and (max-width: 959px) {
  body.tm-ui #modell-bereich .wizard-speicher-grid,
  body.tm-ui #modell-bereich .tm-runtime-variant-options .tm-storage {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important; gap: 10px !important;
    align-items: stretch; max-width: none; margin: 0;
  }
  /* Ausfuehrungen (ohne Preis, lange Bezeichnungen) breiter */
  body.tm-ui #modell-bereich .wizard-speicher-grid:not(:has(.wizard-speicher-preis)) { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important; }
}
@media (max-width: 959px) {
  body.tm-ui #modell-bereich .wizard-speicher-card {
    flex: none; height: auto; max-width: none; min-width: 0; min-height: 72px;
    display: flex; flex-direction: column; align-items: stretch; justify-content: center;
    padding: 14px 16px !important; border-radius: var(--tm-r-sm) !important; text-align: left;
  }
  body.tm-ui #modell-bereich .wizard-speicher-card .wizard-speicher-gb {
    font-size: var(--tm-fs-md) !important; flex: 0 0 auto; line-height: 1.35; margin: 0; overflow-wrap: break-word; text-wrap: balance;
  }
  body.tm-ui #modell-bereich .wizard-speicher-card .wizard-speicher-preis {
    font-size: var(--tm-fs-sm) !important; line-height: 1.4; margin: auto 0 0; padding-top: 6px;
  }
  body.tm-ui #modell-bereich .wizard-speicher-card:hover,
  body.tm-ui #modell-bereich .tm-runtime-variant-options .tm-storage > .tm-opt:not([aria-pressed="true"]):hover { border-color: var(--tm-accent); }
  body.tm-ui #modell-bereich .wizard-speicher-card:focus-visible,
  body.tm-ui #modell-bereich .tm-model:focus-visible { outline: 2px solid var(--tm-accent) !important; outline-offset: 3px !important; }
}
/* Ausfuehrungsstufe (einziges Raster ohne Preise, zweiteilige Bezeichnungen wie
   "GPS + Cellular · 46mm Aluminium"): auf kleinen Handys volle Breite, eine Zeile. */
@media (max-width: 479px) {
  body.tm-ui #modell-bereich .wizard-speicher-grid:not(:has(.wizard-speicher-preis)) { grid-template-columns: minmax(0, 1fr) !important; }
  body.tm-ui #modell-bereich .wizard-speicher-grid:not(:has(.wizard-speicher-preis)) .wizard-speicher-card { min-height: 56px; }
}

/* 3) Abstaende: keine leeren Baender, nichts hinter der festen Preisleiste. */
@media (max-width: 959px) {
  body.tm-ui #schritt-2 > .section-title { margin-bottom: 16px !important; }
  body.tm-ui #modell-bereich > .wizard-step-heading {
    margin: 0 0 12px !important; font-size: var(--tm-fs-md) !important; font-weight: 600 !important;
    line-height: 1.35; color: var(--tm-ink-2) !important;
  }
  body.tm-ui #modell-bereich .tm-runtime-variant-options > .tm-opt-label:not(.tm24-choice-question) { margin: 0 0 12px; }
  body.tm-ui #schritt-3 .s3-wrap { padding-bottom: 0; }
  body.tm-ui #schritt-3 { padding-bottom: 32px !important; }
  body.tm-ui #schritt-4 { padding-bottom: 32px !important; min-height: 0; }
  body.tm-ui #schritt-3 #ankauf-fragen > .tm24-question-flow__actions { margin-top: 0 !important; padding-top: 0 !important; border-top: 0 !important; }
  body.tm-ui #schritt-3 #ankauf-fragen .s3-item > details.tm-extras { margin-bottom: 0; }
  body.tm-ui #schritt-4 .checkout-actions { margin-top: 0 !important; }
}
@media (max-width: 479px) {
  body.tm-ui #schritt-4 .checkout-content { margin-left: 0 !important; margin-right: 0 !important; }
}

/* 4) Geraete-Platzhalter: der Telefon-Umriss passt in die kleine Bildbox der
      Handy-Karten; ein Kategoriesymbol (.tm-ph-cat, wird vom kleinen JS-Patch
      ergaenzt) ersetzt ihn unter 960 px. Ohne Patch bleiben diese Regeln wirkungslos.
      Vorhandene Hauptbilder bleiben unberuehrt. */
body.tm-ui #modell-bereich .tm-ph-cat { display: none; }
@media (max-width: 599px) {
  body.tm-ui #modell-bereich .wizard-card--vertical .wizard-card-icon > .tm-ph { width: 22px; height: 44px; }
}
@media (max-width: 959px) {
  body.tm-ui #modell-bereich .wizard-card-icon:has(> .tm-ph-cat) > .tm-ph,
  body.tm-ui #modell-bereich .tm-variant-thumb:has(> .tm-ph-cat) > .tm-variant-ph { display: none; }
  body.tm-ui #modell-bereich .wizard-card-icon > .tm-ph-cat { display: block; width: 64px; height: 64px; flex: none; color: #aab1c3; }
  body.tm-ui #modell-bereich .tm-variant-thumb > .tm-ph-cat { display: block; width: 40px; height: 40px; color: #aab1c3; }
}
@media (min-width: 600px) and (max-width: 767px) {
  body.tm-ui #modell-bereich .wizard-card--vertical .wizard-card-icon:has(> .tm-ph-cat) { width: 100px; height: 100px; display: flex; align-items: center; justify-content: center; }
}
@media (max-width: 599px) {
  body.tm-ui #modell-bereich .wizard-card--vertical .wizard-card-icon > .tm-ph-cat { width: 40px; height: 40px; }
}
@media (max-width: 430px) {
  body.tm-ui #modell-bereich .wizard-card--vertical .wizard-card-icon > .tm-ph-cat { width: 36px; height: 36px; }
}
