/* Catalog-only layout: every task has its own focused view. */
.catalog-shell{--catalog-ink:#253025;--catalog-muted:#63705e;--catalog-line:#e0e6db;--catalog-green:#3d6e24;color:var(--catalog-ink);max-width:1240px;margin:0 auto;display:grid;gap:18px;min-width:0;padding:0 0 24px}
.catalog-shell *{box-sizing:border-box}
.catalog-shell h1,.catalog-shell h2,.catalog-shell h3,.catalog-shell p{margin:0}
.catalog-heading{display:grid;gap:6px;max-width:810px}
.catalog-heading h1{font-size:clamp(26px,2.5vw,32px);line-height:1.12;letter-spacing:-.035em;color:#22331c}
.catalog-heading p{font-size:15px;line-height:1.5;color:var(--catalog-muted);max-width:690px}
.catalog-back{font-size:14px;font-weight:650;color:var(--catalog-green);text-decoration:none;min-height:44px;display:inline-flex;align-items:center;justify-self:start}
.catalog-home-actions,.catalog-form-actions,.catalog-next-links{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.catalog-shell .button{min-height:44px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;font-size:15px;line-height:1.3;padding:10px 15px;border-radius:10px;white-space:normal}
.catalog-section{display:grid;gap:12px;min-width:0}
.catalog-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
.catalog-section h2,.catalog-next h2{font-size:19px;letter-spacing:-.02em;line-height:1.3}
.catalog-section-heading p{margin-top:4px;color:var(--catalog-muted);font-size:14px}
.catalog-card-grid,.catalog-style-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.catalog-tile{border:1px solid var(--catalog-line);background:#fff;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;text-decoration:none;color:var(--catalog-ink);min-width:0;box-shadow:0 3px 12px #20371505;transition:box-shadow .16s ease,transform .16s ease,border-color .16s ease}
.catalog-tile:hover{transform:translateY(-3px);border-color:#a9bf96;box-shadow:0 10px 26px #20371512}
.catalog-tile:focus-visible,.catalog-shell a:focus-visible,.catalog-shell summary:focus-visible{outline:3px solid #567b34;outline-offset:4px}
.catalog-picture{position:relative;aspect-ratio:2.8;max-height:148px;overflow:hidden;background:#f0f3ec;display:flex;align-items:center;justify-content:center}
.catalog-picture img{width:100%;height:100%;object-fit:cover;object-position:50% 18%;display:block}
.catalog-picture-ki{position:absolute;top:7px;left:7px;max-width:calc(100% - 14px);font-size:10.5px;line-height:1.25;font-weight:700;background:#fffef4eb;color:#425036;padding:3px 6px;border:1px solid #ffffff94;border-radius:6px}
.catalog-picture-ki b{font-weight:inherit;white-space:nowrap}
.catalog-picture-label{position:absolute;bottom:9px;left:9px;font-size:11px;letter-spacing:.04em;font-weight:750;background:#fffef4eb;color:#425036;padding:5px 9px;border:1px solid #ffffff94;border-radius:6px}
.catalog-picture--type{background:linear-gradient(130deg,#e9efdf,#f6f3e9);flex-direction:column;gap:10px;color:#4a653b}
.catalog-picture--type>span{font-size:40px;font-weight:500;letter-spacing:-.04em;line-height:1}
.catalog-picture--type>i{font-size:13px;font-style:normal;padding:0 18px;text-align:center;color:#56634d}
.catalog-tile-body{padding:14px;display:flex;flex-direction:column;gap:7px;flex:1}
.catalog-tile h3{font-size:19px;line-height:1.25;letter-spacing:-.025em;overflow-wrap:anywhere}
.catalog-tile p{color:var(--catalog-muted);font-size:14px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.catalog-eyebrow{font-size:11px;letter-spacing:.07em;text-transform:uppercase;font-weight:750;color:#69715f;display:block}
.catalog-text-link{display:flex;justify-content:space-between;align-items:center;color:var(--catalog-green);font-size:14px;font-weight:700;gap:12px;padding-top:4px;margin-top:auto;min-height:44px}
.catalog-card-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:11px;color:var(--catalog-muted)}
.catalog-badge{font-size:11px;font-weight:700;line-height:1.5;display:inline-flex;align-items:center;border-radius:30px;padding:5px 10px;background:#f6edd5;color:#776020}
.catalog-badge--ready{background:#e8f1e1;color:#3a651f}.catalog-badge--retired{background:#edf0eb;color:#5d6658}
.catalog-empty{border:1px dashed #bacbad;padding:20px;background:linear-gradient(120deg,#f0f4e9,#fafbf6);border-radius:14px;display:grid;justify-items:start;gap:10px}
.catalog-empty h3{font-size:20px;letter-spacing:-.025em}.catalog-empty p{color:var(--catalog-muted);line-height:1.5;max-width:610px}
.catalog-empty-symbol{width:42px;height:42px;border-radius:12px;background:#e3edd7;color:#49702e;display:grid;place-items:center;font-size:24px}
.catalog-help,.catalog-footnote{font-size:14px;line-height:1.5;color:var(--catalog-muted)}
.catalog-footnote{border-top:1px solid var(--catalog-line);padding-top:14px}
.catalog-workspace{padding:20px;background:#fff;border:1px solid var(--catalog-line);border-radius:18px;min-width:0}
.catalog-workspace--narrow{max-width:860px;width:100%}
.catalog-form{gap:16px!important;min-width:0}
.catalog-form .field{display:grid;gap:6px;margin:0;font-size:15px;font-weight:600;min-width:0}
.catalog-form .field>span{line-height:1.5}
.catalog-form input:not([type=radio]):not([type=checkbox]):not([type=hidden]),.catalog-form select,.catalog-form textarea{width:100%;min-height:44px;border-radius:9px;border:1px solid #cbd4c4;padding:9px 12px;font-size:16px;line-height:1.5;color:#293526;background:#fff;box-shadow:none}
.catalog-form textarea{min-height:92px;resize:vertical}
.catalog-form input:focus-visible,.catalog-form select:focus-visible,.catalog-form textarea:focus-visible{outline:3px solid #c6d9b5;outline-offset:1px;border-color:#567d38}
.catalog-form small{font-weight:400}
.catalog-form-section{display:grid;gap:12px;min-width:0;padding-top:16px;border-top:1px solid var(--catalog-line)}
.catalog-form-section h2{font-size:18px;letter-spacing:-.01em}
.catalog-product-fieldset{border:0;margin:0;padding:0;min-width:0}
.catalog-product-fieldset legend{font-size:18px;font-weight:700;padding:0 0 16px}
.catalog-product-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.catalog-product-option{position:relative;cursor:pointer;min-width:0}
.catalog-product-option>input{position:absolute;top:14px;right:13px;accent-color:#487328;width:17px;height:17px;margin:0;z-index:1}
.catalog-product-option>span{display:flex;flex-direction:column;gap:5px;padding:12px;border:1px solid #dce3d7;border-radius:12px;height:100%;background:#fff;min-height:100px;transition:background .15s,border-color .15s}
.catalog-product-option b{font-size:20px;color:#718265;line-height:1.2;min-height:24px}
.catalog-product-option strong{font-size:14px;line-height:1.4;padding-right:2px;overflow-wrap:anywhere}
.catalog-product-option small{color:var(--catalog-muted);font-size:12px;line-height:1.4}
.catalog-product-option>input:checked+span{border-color:#689542;background:#f0f6e9;box-shadow:inset 0 0 0 1px #689542}
.catalog-product-option>input:focus-visible+span{outline:3px solid #c5d9b3;outline-offset:2px}
.catalog-output-summary{display:grid;gap:6px;padding:14px;background:#f3f6ef;border-radius:12px;border-left:3px solid #88aa69}
.catalog-output-summary strong{font-size:16px;line-height:1.5}
.catalog-output-summary p{font-size:14px;line-height:1.5;color:var(--catalog-muted)}
.catalog-form-actions{padding-top:16px;border-top:1px solid var(--catalog-line)}
.catalog-status-row{margin-top:-8px}
.catalog-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:6px;background:#eaf0e4;border-radius:14px;gap:5px}
.catalog-steps a{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 10px;min-height:44px;border-radius:10px;color:#5a6950;font-size:14px;font-weight:650;text-decoration:none}
.catalog-steps a[aria-current=page]{background:#fff;color:#355e21;box-shadow:0 2px 6px #2637180a}
.catalog-steps a>span{width:22px;height:22px;border:1px solid #c5d2ba;border-radius:50%;display:grid;place-items:center;font-size:11px;flex:none}
.catalog-steps a[aria-current=page]>span{background:#456f29;border-color:#456f29;color:#fff}
.catalog-offer-summary{display:grid;grid-template-columns:minmax(170px,.65fr) minmax(0,1fr);gap:20px;align-items:start}
.catalog-offer-summary>.catalog-picture{aspect-ratio:1.65;max-height:260px;border-radius:12px}
.catalog-offer-summary>.catalog-picture img{object-position:50% 50%}
.catalog-offer-copy{display:grid;gap:12px;justify-items:start}
.catalog-description{font-size:16px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.catalog-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;width:100%}
.catalog-facts>div{display:grid;gap:4px;padding-bottom:9px;border-bottom:1px solid #edf0e8}
.catalog-facts dt{font-size:12px;color:var(--catalog-muted)}.catalog-facts dd{margin:0;font-size:14px;line-height:1.5;font-weight:650;overflow-wrap:anywhere}
.catalog-next{margin-top:18px;padding-top:16px;border-top:1px solid var(--catalog-line);display:grid;gap:10px}
.catalog-history{display:flex;flex-wrap:wrap;gap:10px}
.catalog-history a{min-height:44px;display:inline-flex;align-items:center;line-height:1.4;font-size:13px;padding:10px 13px;border-radius:9px;border:1px solid var(--catalog-line);text-decoration:none;color:#526446}
.catalog-history a[aria-current=page]{background:#edf4e5;font-weight:700}
.catalog-style-editor{display:grid;grid-template-columns:minmax(160px,.45fr) minmax(0,1fr);gap:20px;align-items:start}
.catalog-style-editor>aside{display:grid;gap:12px}.catalog-style-editor .catalog-picture{aspect-ratio:1.25;max-height:240px;border-radius:12px}
.catalog-style-editor .catalog-picture img{object-position:50% 50%}
.catalog-check-list{display:grid;gap:8px}
.catalog-check{border:1px solid var(--catalog-line);border-radius:12px;overflow:hidden;background:#fff}
.catalog-check>summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:10px 12px;font-size:15px;font-weight:650;min-height:48px}
.catalog-check>summary::-webkit-details-marker{display:none}
.catalog-check>summary:after{content:'⌄';margin-left:auto;font-size:19px;color:#6f825f}
.catalog-check[open]>summary{background:#f0f5ea;border-bottom:1px solid var(--catalog-line)}.catalog-check[open]>summary:after{content:'⌃'}
.catalog-step-number{background:#e9f0e0;color:#4d6c38;width:27px;height:27px;display:grid;place-items:center;border-radius:50%;font-size:12px;flex:none}
.catalog-check fieldset{margin:0;border:0;padding:14px;display:grid;gap:12px;min-width:0}
.catalog-check-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}
.catalog-notice{background:#fcf7e9;border:1px solid #e7d9b4;border-radius:10px;padding:14px;color:#675427;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.catalog-notice p{margin:6px 0 10px}.catalog-notice ul{margin:9px 0 0;padding-left:20px}
.catalog-review-check{display:flex;align-items:flex-start;gap:10px;padding:14px;background:#f2f6ed;border-radius:12px;font-size:16px;line-height:1.5;cursor:pointer}
.catalog-review-check input{width:20px;height:20px;flex:none;accent-color:#507730;margin-top:3px}
.catalog-client-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}
.catalog-client-card{border:1px solid var(--catalog-line);border-radius:12px;padding:16px;min-width:0}
.catalog-client-card h2{font-size:18px;margin-bottom:6px}.catalog-client-card>.catalog-help{margin-bottom:14px}
.catalog-client-grid+.catalog-footnote{margin-top:16px}
.catalog-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.catalog-shell [hidden]{display:none!important}
/* Compact wide layouts keep two columns for client actions until phone width. */
@media(max-width:1000px){
 .catalog-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .catalog-style-grid{gap:12px}
 .catalog-tile-body{padding:13px}
 .catalog-offer-summary{grid-template-columns:minmax(150px,.6fr) minmax(0,1fr);gap:16px}
}
/* Phone layout uses image-and-text rows, not scaled-down desktop cards. */
@media(max-width:700px){
 .catalog-shell{gap:16px;padding-bottom:20px}
 .catalog-heading{gap:5px}
 .catalog-heading h1{font-size:26px}
 .catalog-heading p{font-size:15px;line-height:1.5}
 .catalog-card-grid,.catalog-style-grid{grid-template-columns:1fr;gap:10px}
 .catalog-style-card,.catalog-offer-card{display:grid;grid-template-columns:96px minmax(0,1fr)}
 .catalog-tile .catalog-picture{aspect-ratio:auto;max-height:none;min-height:132px;height:100%}
 .catalog-tile .catalog-picture img{object-position:50% 20%}
 .catalog-tile .catalog-picture-label{font-size:11px;left:6px;bottom:7px;padding:3px 5px}
 .catalog-tile .catalog-picture--type>span{font-size:32px}
 .catalog-tile .catalog-picture--type>i{display:none}
 .catalog-tile h3{font-size:17px}
 .catalog-tile-body{padding:12px;gap:5px}
 .catalog-tile p{font-size:14px;line-height:1.45;-webkit-line-clamp:2}
 .catalog-text-link{padding-top:0;min-height:44px}
 .catalog-card-meta{align-items:flex-start;gap:5px}
 .catalog-badge{font-size:12px;padding:3px 8px}
 .catalog-workspace{padding:15px;border-radius:13px}
 .catalog-product-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .catalog-product-option>span{padding:11px;min-height:96px}
 .catalog-product-option strong{font-size:14px;padding-right:5px}
 .catalog-form{gap:14px!important}
 .catalog-form-section{gap:11px;padding-top:14px}
 .catalog-form input:not([type=radio]):not([type=checkbox]):not([type=hidden]),.catalog-form select,.catalog-form textarea{font-size:16px;min-height:44px}
 .catalog-form textarea{min-height:88px}
 .catalog-offer-summary,.catalog-style-editor{grid-template-columns:1fr;gap:14px}
 .catalog-offer-summary>.catalog-picture{aspect-ratio:2.6;max-height:140px}
 .catalog-style-editor>aside{display:grid;grid-template-columns:104px minmax(0,1fr);gap:12px;align-items:center}
 .catalog-style-editor .catalog-picture{aspect-ratio:1;max-height:112px}
 /* Kleine Vorschau: Platz nur für die Pflichtkennzeichnung (104 px, damit „KI-generiertes“ in eine Zeile passt). */
 .catalog-style-editor .catalog-picture-label{display:none}
 .catalog-steps{gap:3px;padding:4px}
 .catalog-steps a{flex-direction:row;gap:0;padding:8px 4px;font-size:13px;min-height:44px}
 .catalog-steps a>span{display:none}
 .catalog-section-heading{align-items:flex-start;gap:10px}
 .catalog-section-heading>.button{padding:8px 10px;font-size:14px;flex:none}
 .catalog-check-fields,.catalog-client-grid{grid-template-columns:1fr}
 .catalog-check fieldset{padding:12px;gap:12px}
 .catalog-check>summary{padding:10px 12px;min-height:48px}
 .catalog-client-card{padding:14px}
 .catalog-output-summary,.catalog-notice{padding:12px}
 .catalog-empty{padding:17px}
 .catalog-next{margin-top:15px;padding-top:14px}
 .catalog-form-actions{align-items:stretch;padding-top:14px}
 .catalog-form-actions>.primary{flex:1;min-width:170px}
 .catalog-home-actions>.primary{flex:1}
}
@media(max-width:380px){
 .catalog-style-card,.catalog-offer-card{grid-template-columns:80px minmax(0,1fr)}
 .catalog-tile-body{padding:10px}
 .catalog-facts{grid-template-columns:1fr;gap:9px}
 .catalog-workspace{padding:12px}
 .catalog-form-actions>.button{width:100%}
}
@media(prefers-reduced-motion:reduce){.catalog-tile,.catalog-product-option>span{transition:none}.catalog-tile:hover{transform:none}}
/* Keep the subject's face visible when a portrait preview is cropped to a wide card. */
.catalog-style-card[href="#catalog/style/klassisch"] .catalog-picture img{object-position:50% 0%}
